/* ------ CSS RESET & BASE ------ */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em,
img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u,
i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table,
caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details,
embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *::before, *::after {
  box-sizing: inherit;
}
body {
  min-height: 100vh;
  font-family: 'Roboto', Arial, sans-serif;
  background: #fff;
  color: #223045;
  line-height: 1.6;
  font-size: 16px;
}
a {
  color: #2166A6;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:hover, a:focus {
  color: #4CAF50;
  outline: none;
}
img {
  max-width: 100%;
  display: block;
}
ul, ol {
  padding-left: 1.2em;
  margin-bottom: 16px;
}
li {
  margin-bottom: 6px;
}
strong {
  font-weight: 700;
}

/* ------ BRAND FONTS (Google, fallback below) ------ */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;600;700&family=Roboto:wght@400;500;700&display=swap');
h1, h2, h3, h4, .brand, .cta-primary {
  font-family: 'Baloo 2', 'Comic Sans MS', cursive, 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: #2166A6;
  text-shadow: 1px 1px 0 #F7E49B44;
}
h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: 0.025em;
}
h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

p, ul, li, span, a, body {
  font-family: 'Roboto', Arial, sans-serif;
}
p {
  font-size: 1rem;
  margin-bottom: 16px;
  color: #2E3649;
}

/* ------ CONTAINERS, SECTION, UTILITY FLEX ------ */
.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 18px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 24px 24px 8px 8px;
  box-shadow: 0 4px 24px 0 #2166A610;
  /* creative edge underline effect */
  position: relative;
}
.section::after {
  content: '';
  display: block;
  position: absolute;
  left: 32px;
  bottom: 0;
  width: 80px;
  height: 5px;
  background: #F7E49B;
  border-radius: 10px;
  z-index: 0;
}

@media (max-width: 600px) {
  .container {
    padding: 0 6px;
  }
  .section {
    padding: 24px 6px;
  }
}

/* Flex patterns */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: #F7E49B;
  color: #222;
  border-radius: 22px 40px 20px 20px;
  box-shadow: 0 2px 14px 0 #2166A628;
  font-size: 1.05rem;
  position: relative;
  flex: 1 1 260px;
  max-width: 100%;
  min-width: 220px;
}
.testimonial-card span {
  font-family: 'Baloo 2', cursive;
  font-size: 1rem;
  color: #2166A6;
  margin-left: auto;
  font-weight: 600;
  letter-spacing: .03em;
}
.testimonial-card .stars {
  font-size: 1.6rem;
  line-height: 1;
  color: #4CAF50;
  margin-left: 10px;
  letter-spacing: 2px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}
/* Specific content wrappers */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 16px 0 0 0;
  justify-content: flex-start;
}
.feature-card {
  flex: 1 1 220px;
  max-width: 260px;
  background: #fff;
  border-radius: 28px 16px 10px 32px;
  box-shadow: 0 4px 24px 0 #4caf5055;
  padding: 28px 22px 21px 22px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  margin-bottom: 20px;
  position: relative;
}
.feature-card img {
  width: 54px;
  margin-bottom: 10px;
  aspect-ratio: 1 / 1;
}
.feature-card:hover {
  box-shadow: 0 10px 32px 0 #2166A655, 0 1px 10px #F7E49B88;
  transform: translateY(-6px) scale(1.03) rotate(-1.2deg);
  z-index: 2;
}
.feature-card h3 {
  font-size: 1.19rem;
  margin-bottom: 8px;
  color: #4CAF50;
}

/* ----- Service List Styles (angebote.html) ----- */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.service-item {
  background: #fff;
  border-radius: 22px 16px 28px 16px;
  box-shadow: 0 4px 18px 0 #2166A619;
  padding: 24px 20px 18px 20px;
  min-width: 220px;
  flex: 1 1 220px;
  margin-bottom: 20px;
  transition: box-shadow .18s, transform .18s;
  border-left: 4px solid #2166A6;
}
.service-item:hover {
  box-shadow: 0 8px 24px 0 #4CAF5065, 0 1px 10px #F7E49B88;
  transform: translateY(-5px) scale(1.025) rotate(.8deg);
}
.service-item h3 {
  color: #2166A6;
  margin-bottom: 8px;
  font-family: 'Baloo 2', cursive;
}
.service-item strong {
  margin-top: 8px;
  display: block;
  color: #4CAF50;
  font-size: 1rem;
}

/* ----- CTA PRIMARY BUTTONS ----- */
.cta-primary {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Baloo 2', cursive;
  font-weight: 700;
  color: #fff !important;
  background: #2166A6;
  border: none;
  border-radius: 30px 22px 12px 32px;
  padding: 14px 36px;
  font-size: 1.17rem;
  cursor: pointer;
  box-shadow: 0 2px 8px #2166A629, 0 1px 10px #F7E49B33;
  text-shadow: 0px 1px 2px #2166A633;
  margin: 10px 0 7px 0;
  transition: background .15s, box-shadow .2s, transform .18s;
  outline: none;
}
.cta-primary:hover, .cta-primary:focus {
  background: #4CAF50;
  color: #fff;
  box-shadow: 0 6px 26px #4CAF5088, 0 1px 13px #F7E49B55;
  transform: translateY(-2px) scale(1.03) rotate(-1.2deg);
}

/* ----- HEADER & NAVIGATION ----- */
header {
  background: #F7E49B;
  box-shadow: 0 4px 20px 0 #4CAF5022, 0 1px 7px #2166A611;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 10;
}
header > a img {
  height: 56px;
  margin: 12px 16px 12px 8px;
}
.main-nav {
  display: flex;
  flex: 1;
  gap: 18px;
  align-items: center;
  font-size: 1.06rem;
}
.main-nav a {
  padding: 8px 18px;
  border-radius: 16px 8px 18px 10px;
  font-family: 'Baloo 2', cursive;
  color: #2166A6;
  font-weight: 600;
  transition: background 0.19s, color 0.19s, transform .14s;
  position: relative;
}
.main-nav a:hover, .main-nav a:focus {
  background: #4CAF50;
  color: #fff;
  outline: none;
}
.main-nav .cta-primary {
  margin-left: 14px;
  background: #4CAF50;
  color: #fff;
  padding: 10px 26px;
  box-shadow: 0 2px 10px #2166A633;
  border-radius: 22px 28px 12px 22px;
}
.main-nav .cta-primary:hover {
  background: #2166A6;
  color: #fff;
}
/* MOBILE HEADER NAV */
.mobile-menu-toggle {
  display: none;
  background: #2166A6;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 2.1rem;
  width: 48px;
  height: 48px;
  margin: 0 10px 0 0;
  align-self: center;
  cursor: pointer;
  position: relative;
  transition: background .17s;
  z-index: 101;
}
.mobile-menu-toggle:hover, .mobile-menu-toggle:focus {
  background: #4CAF50;
}
.mobile-menu {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #F7E49B;
  box-shadow: 0 2px 28px #2166A689;
  z-index: 1500;
  transform: translateX(-100%);
  transition: transform 0.34s cubic-bezier(.22,1,.36,1), opacity 0.19s;
  opacity: 0;
  pointer-events: none;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  margin: 18px 0 24px 18px;
  align-self: flex-start;
  background: #2166A6;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 2rem;
  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: background .13s;
  outline: none;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  background: #4CAF50;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  padding: 0 34px 34px 38px;
}
.mobile-nav a {
  color: #2166A6;
  font-family: 'Baloo 2', cursive;
  font-size: 1.19rem;
  font-weight: 600;
  background: none;
  border-radius: 18px;
  padding: 14px 0 10px 0;
  outline: none;
  transition: color .17s, background .16s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #fff;
  background: #4CAF50;
}

@media (max-width: 1050px) {
  .main-nav {
    gap: 8px;
    font-size: 0.99rem;
  }
  .main-nav .cta-primary {
    padding: 8px 18px;
    margin-left: 6px;
  }
}
@media (max-width: 880px) {
  header > a img { height: 40px; margin: 12px 8px 12px 6px; }
  .main-nav { gap: 0px; }
}
@media (max-width: 820px) {
  .main-nav { display: none !important; }
  .mobile-menu-toggle { display: block; }
}
@media (min-width: 821px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ----- FOOTER ----- */
footer {
  margin-top: 40px;
  background: #2166A6;
  color: #fff;
  padding: 38px 0 22px 0;
  border-radius: 48px 48px 0 0;
  box-shadow: 0 -4px 16px 0 #4CAF5055;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  position: relative;
  z-index: 2;
}
.footer-logo img {
  height: 44px;
  margin-bottom: 6px;
}
.footer-nav {
  display: flex;
  gap: 16px;
}
.footer-nav a {
  color: #F7E49B;
  font-family: 'Baloo 2', cursive;
  font-size: 1.07rem;
  padding: 5px 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.13);
	transition: background .15s, color .13s;
  letter-spacing: .01em;
}
.footer-nav a:hover, .footer-nav a:focus {
  background: #4CAF50;
  color: #fff;
}
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: 0.96rem;
  opacity: 0.96;
  color: #F7E49B;
  max-width: 700px;
  text-align: center;
  justify-content: center;
}
.footer-contact img {
  height: 1.1em;
  width: auto;
  margin-right: 4px;
  vertical-align: middle;
}

/* ----- SPECIAL: TEXT-IMAGE FLEX & MAP EMBED ----- */
.map-embed {
  background: #F7E49B38;
  border-radius: 14px 18px 16px 13px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 14px 0 14px 0;
}
.text-image-section img {
  border-radius: 22px 14px 18px 10px;
  box-shadow: 0 2px 12px #2166A61c;
  width: 180px;
}

/* ----- ANIMATION/MICRO-INTERACTIONS ----- */
.section, .feature-card, .testimonial-card, .service-item {
  transition: box-shadow .18s, transform .16s;
}
.section:hover, .card:hover, .testimonial-card:hover {
  box-shadow: 0 8px 36px #4CAF5028;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 900px) {
  .container { max-width: 98vw; }
  .feature-grid, .card-container, .service-list { gap: 15px; }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.4rem; }
  .feature-grid, .service-list, .card-container, .content-grid {
    flex-direction: column;
    gap: 12px;
  }
  .footer-contact {
    flex-direction: column;
    gap: 10px;
  }
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    font-size: 1rem;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
  }
}
@media (max-width: 500px) {
  h1 { font-size: 1.32rem; }
  h2 { font-size: 1.13rem; }
  .section { padding: 13px 2px 28px 2px; border-radius: 10px; }
  .testimonial-card, .service-item, .feature-card {
    padding: 14px 7px 11px 10px;
    border-radius: 13px;
    min-width: 0;
  }
}

/* ----- COOKIE CONSENT BANNER + MODAL ----- */
.cookie-consent-banner {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  background: #2166A6;
  color: #fff;
  padding: 18px 14px;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 24px #2166A666;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 20000;
  font-size: 1.08rem;
  animation: fadeincon 0.7s;
}
@keyframes fadeincon {
  from { opacity:0; bottom: -60px; }
  to { opacity:1; bottom: 0; }
}
.cookie-consent-banner span {
  flex: 1;
  max-width: 450px;
}
.cookie-consent-actions {
  display: flex;
  gap: 10px;
}
.cookie-btn {
  font-family: 'Baloo 2', cursive;
  padding: 7px 20px;
  border: none;
  border-radius: 14px 12px 12px 20px;
  margin: 0;
  cursor: pointer;
  background: #F7E49B;
  color: #223045;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 2px 6px #2166A61a;
  transition: background 0.2s, color .2s, box-shadow .17s;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #4CAF50;
  color: #fff;
  box-shadow: 0 6px 18px #4caf5095;
}
.cookie-btn.settings {
  background: #fff;
  color: #2166A6;
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: #F7E49B;
  color: #2166A6;
}
/* Cookie Modal */
.cookie-modal {
  position: fixed;
  left: 50%; top: 50%;
  transform: translate(-50%, -60%) scale(0.98);
  background: #fff;
  color: #222;
  border-radius: 24px;
  box-shadow: 0 12px 32px #2166A664, 0 2px 8px #4CAF5040;
  z-index: 21000;
  width: 92vw;
  max-width: 380px;
  padding: 34px 28px 25px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: cookiemodal .27s cubic-bezier(.38,1,.56,1);
}
@keyframes cookiemodal {
  from { opacity: 0; transform: translate(-50%, -80%) scale(.93); }
  to { opacity: 1; transform: translate(-50%, -60%) scale(1); }
}
.cookie-modal h2 {
  font-size: 1.29rem;
  color: #2166A6;
  margin-bottom: 8px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.cookie-category label {
  flex: 1;
  font-size: 1.05rem;
}
.cookie-toggle {
  width: 40px;
  height: 22px;
  background: #F7E49B;
  border-radius: 14px;
  position: relative;
  transition: background .13s;
  cursor: pointer;
  outline: none;
  border: none;
}
.cookie-toggle[aria-checked="true"] {
  background: #4CAF50;
}
.cookie-toggle .circle {
  position: absolute;
  left: 3px;
  top: 2.3px;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: left 0.15s;
}
.cookie-toggle[aria-checked="true"] .circle {
  left: 19px;
}
.cookie-modal-actions {
  display: flex;
  gap: 14px;
  margin-top: 14px;
  justify-content: flex-end;
}
/* Cookie backdrop */
.cookie-modal-backdrop {
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: #223045de;
  z-index: 20999;
  animation: fadeincookiebg .18s linear;
}
@keyframes fadeincookiebg {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ----- ARTISTIC VISUALS & DECORATIVE ELEMENTS ----- */
.section {
  background: linear-gradient(107deg, #F7E49B 0%, #fff 75%);
  border-radius: 28px 64px 18px 18px;
  border: 2px solid #2166A608;
  box-shadow: 0 8px 24px #2166A614, 0 0px 8px #4CAF5044;
}
.section::after {
  content: '';
  left: 33px;
  width: 78px; height: 5px;
  background: #4CAF50;
  opacity: .51;
  border-radius: 14px;
}
@media (max-width: 700px) {
  .section {
    border-radius: 16px 28px 10px 10px;
  }
  .section::after {
    left: 16px;
    width: 40px;
  }
}

/* ----- TYPOGRAPHY ARTISTIC DETAILS ----- */
h1, h2, h3, .brand, .cta-primary {
  letter-spacing: .017em;
}
h1 {
  line-height: 1.13;
  background: linear-gradient(93deg,#2166A6 55%,#4CAF50 100%, #F7E49B 130%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
h2, h3 {
  letter-spacing: .03em;
}

/* --------------- ARTISTIC UNIQUE ELEMENTS --------------- */
.feature-card::before {
  content: '';
  display: block;
  width: 45px; height: 12px;
  background: #F7E49B;
  border-radius: 100px 0 80px 0 / 100px 0 30px 10px;
  position: absolute;
  top: -10px; right: 10px;
  z-index: 0;
  opacity: .39;
}

/* ------ ACCORDION / DETAILS STYLES ------ */
details {
  border-radius: 10px 18px;
  background: #F7E49B44;
  color: #223045;
  margin-bottom: 12px;
  padding: 10px 12px;
  box-shadow: 0 1px 4px #4caf501c;
}
details summary {
  cursor: pointer;
  font-family: 'Baloo 2', cursive;
  font-size: 1.07rem;
  color: #2166A6;
}
details[open] {
  box-shadow: 0 4px 10px #2166A621;
}

/* ------ FORMS / INPUTS ------ */
input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
  border: 2px solid #F7E49B;
  border-radius: 8px 12px 11px 9px;
  padding: 9px 13px;
  margin-bottom: 12px;
  outline: none;
  transition: border .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus {
  border: 2px solid #4CAF50;
  box-shadow: 0 0 3px 2px #4caf5029;
}

button, .cookie-btn, .cta-primary {
  cursor: pointer;
}

/* ------ ARTISTIC BULLETS ------ */
ul {
  list-style: none;
}
ul > li::before {
  content: '\2022';
  color: #4CAF50;
  margin-right: 8px;
  font-size: 1.2em;
  font-family: 'Baloo 2', cursive;
  vertical-align: baseline;
}

/* ------ HIGH CONTRAST FOR ACCESSIBILITY IN TESTIMONIALS ------ */
.testimonial-card {
  color: #222;
  background: #F7E49B;
}

/* ------ MISC/SMALL ------ */
::-webkit-input-placeholder { color: #2166A6cc; }
::-moz-placeholder { color: #2166A6cc; }
:-ms-input-placeholder { color: #2166A6cc; }
::placeholder { color: #2166A6cc; }

hr {
  border: none;
  border-top: 2.5px dashed #F7E49B;
  margin: 35px 0 23px 0;
}

/* ------ PRINT FRIENDLY ------ */
@media print {
  header, footer, .cookie-consent-banner, .mobile-menu { display: none !important; }
  body { color: #222 !important; background: #fff !important; }
  a { color: #2166A6 !important; text-decoration: underline; }
}

/* ------ VISIBILITY HELPERS ------ */
.hide { display: none !important; }

/* ------ END CSS ------ */
