/* ===========================
  CSS RESET & NORMALIZE
=========================== */
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, main, 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 {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  line-height: 1.5;
  background: #f8fafc;
  color: #222;
  font-family: 'Roboto', Arial, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}
img, picture {
  max-width: 100%;
  display: block;
}
ul, ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
  border-radius: 0;
}

/* ===========================
  BRAND COLORS & FONTS
=========================== */
:root {
  --primary: #274681;
  --primary-rgb: 39,70,129;
  --secondary: #D1DDE6;
  --accent: #EFAF43;
  --accent-dark: #c3841b;
  --danger: #e14343;
  --white: #fff;
  --black: #222;
  --gray: #f8fafc;
  --dark-gray: #606a74;
  --brand-bg: #e5f3ff;

  --shadow: 0 4px 24px 0 rgba(39,70,129,0.10), 0 2px 4px 0 rgba(0,0,0,0.04);
  --radius: 18px;
  --transition: 0.22s cubic-bezier(.75,-0.23,.64,1.74);
}

@import url('https://fonts.googleapis.com/css?family=Montserrat:700,800&display=swap');
@import url('https://fonts.googleapis.com/css?family=Roboto:400,500,700&display=swap');

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--primary);
  font-weight: 800;
}
h1 {
  font-size: 2.5rem;
  line-height: 1.12;
  margin-bottom: 16px;
  letter-spacing: -1.2px;
}
h2 {
  font-size: 2rem;
  line-height: 1.13;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
h3 {
  font-size: 1.375rem;
  line-height: 1.22;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
h4 { font-size: 1.125rem; }

p, li, span {
  font-family: 'Roboto', Arial,sans-serif;
  font-size: 1rem;
  color: var(--black);
}
p.subheadline {
  font-size: 1.25rem;
  color: var(--accent-dark);
  font-weight: 500;
  margin-bottom: 1.5em;
  font-family: 'Montserrat', Arial, sans-serif;
  letter-spacing: -0.25px;
}

strong {
  font-weight: 700;
  color: var(--primary);
}


/* ===========================
  LAYOUT CONTAINERS
=========================== */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  position: relative;
  padding: 28px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .14s cubic-bezier(.41,1.33,.73,1.04);
}
.card:hover {
  transform: translateY(-6px) scale(1.025) rotate(-1deg);
  box-shadow: 0 8px 40px 0 rgba(39,70,129,0.13), 0 4px 8px 0 rgba(0,0,0,0.05);
}

.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;
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  flex-direction: row;
  position: relative;
  min-height: 80px;
  color: var(--black);
  font-size: 1.1rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  box-shadow: 0 6px 32px 0 rgba(239,175,67, 0.12), 0 2px 8px 0 rgba(39,70,129,0.09);
  transform: translateY(-4px) scale(1.04) rotate(1deg);
}
.testimonial-card span {
  font-family: 'Montserrat', Arial,sans-serif;
  color: var(--dark-gray);
  font-size: 1em;
  font-weight: 600;
  margin-left: auto;
  text-align: right;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

/* FAQ CARDS IN FAQ UND STADTTEILE */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 16px;
}
.faq-list > div {
  flex: 1 1 280px;
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.faq-list > div:hover {
  box-shadow: 0 6px 32px 0 rgba(39,70,129,0.13), 0 2px 8px 0 rgba(239,175,67,0.09);
  transform: translateY(-2px) scale(1.018);
}

/* SERVICE CARDS (DIVS) IN .service-list */
.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.service-list > div {
  background: var(--brand-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  flex: 1 1 210px;
  min-width: 190px;
  padding: 22px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  margin-bottom: 20px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.service-list > div:hover, .faq-list > div:focus {
  transform: scale(1.05) rotate(-1deg);
  box-shadow: 0 12px 40px 0 rgba(239,175,67, 0.09), 0 2px 8px 0 rgba(39,70,129,0.15);
}
.service-list h3, .faq-list h3 {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 1.13rem;
  color: var(--primary);
  margin-bottom: 0.4em;
  font-weight: 700;
}
.service-list h3 span {
  color: var(--accent-dark);
  font-size: 0.95em;
  font-weight: 500;
  margin-left: 8px;
}
.service-list img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 6px 0 rgba(239,175,67,0.09);
  margin-right: 3px;
}

/* ===========================
  HERO SECTION
=========================== */
.hero {
  background: linear-gradient(120deg, #fefefe 60%, var(--secondary) 100%);
  border-bottom-left-radius: 70px;
  border-bottom-right-radius: 46px;
  box-shadow: 0 6px 24px 0 rgba(39,70,129,0.06);
  margin-bottom: 40px;
  min-height: 220px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero .container {
  padding-top: 42px;
  padding-bottom: 29px;
}

.hero h1 {
  color: var(--accent);
  text-shadow: 2px 2px 0 #fff6d8, 0 1px 0 #ffd07f;
  font-size: 2.3rem;
  animation: bounceInDown 1.2s cubic-bezier(.5,2.2,.3,1);
}
@keyframes bounceInDown {
  0% { transform: scale(.92) translateY(-40px); opacity:0; }
  60% { transform: scale(1.05) translateY(9px); opacity:1; }
  80% { transform: scale(.97) translateY(-4px); }
  100% { transform: scale(1) translateY(0); }
}
.hero .subheadline {
  animation: fadeinup 1.25s .2s ease backwards;
}
@keyframes fadeinup {
  0% { opacity: 0; transform: translateY(32px) scale(.95); }
  100% { opacity: 1; transform: translateY(0); }
}


/* ===========================
  HEADER & NAVIGATION
=========================== */
header {
  background: var(--white);
  width: 100%;
  box-shadow: 0 1px 13px 0 rgba(39,70,129,0.04);
  position: relative;
  z-index: 1000;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 14px 20px;
}
header nav {
  display: flex;
  flex-direction: row;
  gap: 18px;
  align-items: center;
}
header nav a {
  font-family: 'Montserrat', Arial,sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  position: relative;
  padding: 4px 9px;
  border-radius: 15px;
  transition: background .13s, color .13s;
}
header nav a:hover, header nav a:focus {
  background: var(--accent);
  color: var(--white);
  outline: none;
}

header .cta.primary {
  margin-left: 18px;
}

header img {
  height: 38px;
  width: auto;
  margin-right: 17px;
}

@media (max-width: 768px) {
  header .container {
    flex-direction: row;
    padding: 14px 8px 14px 10px;
  }
  header nav {
    display: none; /* Hide main nav */
  }
  header .cta.primary {
    display: none;
  }
}

/* --- Mobile Burger Menu --- */
.mobile-menu-toggle {
  display: none;
  background: var(--accent);
  border-radius: 50%;
  width: 48px; height: 48px;
  font-size: 2rem;
  color: var(--white);
  justify-content: center;
  align-items: center;
  border: none;
  cursor: pointer;
  margin-left: auto;
  z-index: 1300;
  box-shadow: 0 2px 8px 0 rgba(239,175,67,0.13);
  transition: background .11s;
}
.mobile-menu-toggle:hover { background: var(--primary); color: var(--accent); }

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39,70,129,0.98);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  z-index: 1600;
  transition: transform 0.40s cubic-bezier(.66,-0.12,.51,1.24), opacity 0.32s;
  transform: translateX(100vw);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 8px 32px 0 rgba(39,70,129,0.38);
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-menu-close {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 2.2rem;
  font-weight: 700;
  position: absolute;
  top: 18px; 
  right: 22px;
  cursor: pointer;
  z-index: 1801;
  padding: 6px 9px;
  transition: color .13s;
}
.mobile-menu-close:hover { color: var(--white); background: var(--accent); border-radius: 50%; }

.mobile-nav {
  margin-top: 82px;
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 18px;
  align-items: flex-start;
  padding-left: 36px;
}
.mobile-nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.19rem;
  color: var(--white);
  font-weight: 700;
  padding: 12px 0 12px 8px;
  border-radius: 13px 13px 0 0;
  transition: background .13s, color .13s;
  margin-bottom: 8px;
}
.mobile-nav a:hover {
  color: var(--primary);
  background: var(--accent);
}

@media (min-width: 769px) {
  .mobile-menu, .mobile-menu-toggle { display: none !important; }
}

/* ===========================
  BUTTONS, CTAs
=========================== */
.cta, .cta.primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  padding: 11px 30px 12px 30px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 62px;
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 2px 12px 0 rgba(239,175,67,0.07);
  border: none;
  cursor: pointer;
  text-transform: none;
  transition: background .13s, color .13s, transform .14s;
  margin-top: 18px;
  margin-bottom: 7px;
  outline: none;
}
.cta.primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 15px 0 rgba(39,70,129,0.08);
}
.cta:hover,
.cta:focus {
  background: var(--primary);
  color: var(--accent);
  transform: scale(1.04) rotate(-2deg);
  box-shadow: 0 4px 16px 0 rgba(39,70,129,0.20);
}
.cta.primary:hover, .cta.primary:focus {
  background: var(--accent);
  color: var(--primary);
  box-shadow: 0 6px 28px 0 rgba(239,175,67,0.17);
}


/* ===========================
  LISTS
=========================== */
ul, ol {
  margin-left: 22px;
  margin-bottom: 1.4em;
}
li {
  margin-bottom: 8px;
  font-size: 1.07rem;
  line-height: 1.65;
  position: relative;
  padding-left: 24px;
  color: var(--primary);
}
ul li:before {
  content: "\2739";
  font-size: 1.08em;
  color: var(--accent);
  font-family: 'Montserrat', Arial, sans-serif;
  position: absolute;
  left: 0;
  top: 1px;
}
.service-list li:before, .faq-list li:before {
  content: '';
}
.service-list li,
.faq-list li,
ul li img {
  padding-left: 0;
}

/* For icon list in stadtteile & dienstleistungen */
ul li img {
  vertical-align: middle;
  width: 1.11em;
  height: 1.11em;
  margin-right: 8px;
  box-shadow: 0 1px 5px 0 rgba(239,175,67,0.10);
  border-radius: 8px;
  background: var(--white);
}


/* ===========================
  TEXT SECTIONS, ADDRESS, ETC
=========================== */
.text-section, .address-block, .opening-hours, .email-block {
  background: var(--secondary);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 19px 17px 13px;
  margin-bottom: 16px;
  font-size: 1rem;
  color: var(--primary);
}
.text-section strong, .address-block strong, .opening-hours strong, .email-block strong {
  color: var(--accent-dark);
}

.address-block, .opening-hours, .email-block {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}


/* ===========================
  FOOTER
=========================== */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 32px 0 16px 0;
  box-shadow: 0 -8px 32px 0 rgba(39,70,129,0.11);
  border-top-left-radius: 38px;
  border-top-right-radius: 19px;
  margin-top: 40px;
}
footer .container {
  flex-direction: row;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
footer nav a {
  color: var(--accent);
  font-family: 'Montserrat', Arial,sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: color .13s, border .13s;
}
footer nav a:hover {
  color: var(--white);
  border-bottom: 1px solid var(--accent);
}
.contact-info {
  font-size: 1rem;
  color: var(--secondary);
  line-height: 1.45;
  min-width: 220px;
  font-family: 'Roboto', Arial,sans-serif;
}
footer .branding img {
  height: 41px;
  margin-top: 14px;
  display: block;
}

@media (max-width: 900px) {
  footer .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  footer .branding {
    margin-top: 8px;
  }
}


/* ===========================
  RESPONSIVE LAYOUT
=========================== */
@media (max-width: 1024px) {
  .container, .section {
    padding-left: 10px; padding-right: 10px;
  }
  .card-container, .service-list, .faq-list, .content-grid {
    gap: 16px;
  }
  .content-wrapper {
    gap: 18px;
  }
}
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  .hero {
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 20px;
    min-height: 120px;
  }
  .hero h1 {
    font-size: 1.35rem;
  }
  .section {
    margin-bottom: 36px;
    padding: 24px 7px;
  }
  .content-wrapper, .content-grid, .card-container, .service-list, .faq-list {
    flex-direction: column;
    gap: 12px;
  }
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .testimonial-card, .service-list > div, .faq-list > div, .card {
    min-width: 0;
    width: 100%;
    padding: 13px 7px 10px;
  }
  .container {
    padding-left: 3px; padding-right: 3px;
  }
  .address-block, .opening-hours, .email-block {
    font-size: 0.99rem;
    padding: 8px 5px 5px;
    flex-direction: column;
    align-items: flex-start;
  }
}

/*  Fix: Ensure no cards overlap */
.card-container > *, .service-list > *, .faq-list > *, .content-grid > * {
  min-width: 0;
  box-sizing: border-box;
}

/* ===========================
  MICRO-INTERACTIONS & EFFECTS
=========================== */
.testimonial-card, .service-list > div, .faq-list > div, .card {
  will-change: transform, box-shadow;
}
.card, .testimonial-card, .service-list > div {
  animation: cardPop .85s cubic-bezier(.5,2,.37,0.71);
}
@keyframes cardPop {
  0% { opacity:0; transform: scale(.94) translateY(24px) rotate(3deg); }
  60% { opacity:1; transform: scale(1.06) translateY(-8px) rotate(-3deg); }
  100% { opacity:1; transform: scale(1) translateY(0) rotate(0deg); }
}

.cta, .cta.primary, .mobile-menu-toggle {
  animation: buttonEntrance .9s .4s cubic-bezier(.35,1.2,.35,.98) backwards;
}
@keyframes buttonEntrance {
  0% { opacity:0; transform: scale(.7) rotate(-6deg); }
  100% { opacity:1; transform: scale(1) rotate(0deg); }
}

/* ===========================
  COOKIE BANNER & MODAL
=========================== */
.cookie-consent-banner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  background: var(--white);
  box-shadow: 0 -6px 28px 0 rgba(39,70,129,0.13), 0 -1.5px 8px 0 rgba(239,175,67,0.09);
  border-top-left-radius: 26px;
  border-top-right-radius: 8px;
  z-index: 9000;
  padding: 27px 14px 16px 22px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 18px;
  font-size: 1rem;
  animation: cookieBannerSlideIn .56s cubic-bezier(.6,1.64,.61,1.02);
}
@keyframes cookieBannerSlideIn {
  0% { transform: translateY(80px); opacity:0 }
  100%{ transform: translateY(0); opacity:1 }
}
.cookie-consent-banner p {
  flex: 1 1 60%;
  color: var(--primary);
  font-size: 1.02rem;
}
.cookie-consent-banner .cookie-btn {
  padding: 9px 22px;
  font-size: 0.97rem;
  border-radius: 29px;
  font-weight: 700;
  font-family: 'Montserrat', Arial, sans-serif;
  margin-right: 10px;
  border: none;
  cursor: pointer;
  background: var(--accent);
  color: var(--primary);
  transition: background .13s, color .13s, box-shadow .12s;
  box-shadow: 0 1.5px 6px 0 rgba(239,175,67,0.11);
}
.cookie-consent-banner .cookie-btn.accept {
  background: var(--primary);
  color: var(--white);
}
.cookie-consent-banner .cookie-btn.reject {
  background: var(--danger);
  color: var(--white);
}
.cookie-consent-banner .cookie-btn.settings {
  background: var(--secondary);
  color: var(--primary);
}
.cookie-consent-banner .cookie-btn:hover {
  background: var(--accent-dark);
  color: var(--white);
  box-shadow: 0 3px 22px 0 rgba(239,175,67,0.09);
}
@media (max-width: 768px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 7px 9px 12px;
    font-size: 0.999rem;
  }
  .cookie-consent-banner .cookie-btn {
    margin-right: 5px;
    font-size: 0.96rem;
    padding: 9px 12px;
  }
}

.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(39,70,129,.50);
  z-index: 11000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: cookieBackdropIn .37s cubic-bezier(.39,1.33,.75,0.98);
}
@keyframes cookieBackdropIn {
  0%{ opacity:0; }
  100%{ opacity:1; }
}
.cookie-modal {
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 10px 60px 0 rgba(39,70,129,0.23);
  max-width: 96vw;
  width: 418px;
  padding: 32px 28px 24px;
  position: relative;
  font-family: 'Roboto', Arial, sans-serif;
  animation: cookieModalIn .48s cubic-bezier(.29,0,1,.41);
}
@keyframes cookieModalIn {
  0%{ transform: scale(.89) translateY(68px); opacity:0 }
  70%{ transform: scale(1.02) translateY(-4px); opacity:1 }
  100%{ transform: scale(1) translateY(0); }
}
.cookie-modal h2 {
  margin-bottom: 11px;
  color: var(--accent-dark);
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1.36rem;
  letter-spacing: -0.3px;
}
.cookie-modal .cookie-close-modal {
  position: absolute;
  top: 22px; right: 26px;
  color: var(--danger);
  background: none;
  font-size: 1.9rem;
  border: none;
  cursor: pointer;
  padding: 0 7px;
  border-radius: 50%;
  transition: background .1s, color .13s;
}
.cookie-modal .cookie-close-modal:hover { color: var(--primary); background: var(--secondary); }
.cookie-categories {
  margin: 19px 0 22px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.07rem;
}
.cookie-category label {
  font-weight: 700;
  margin-right: 6px;
  color: var(--primary);
}
.cookie-category input[type=checkbox] {
  appearance:none;
  display:inline-block;
  width:22px; height:22px;
  border:2px solid var(--accent);
  border-radius:9px;
  background:var(--secondary);
  outline:none;
  transition:border .14s, background .14s;
  cursor:pointer;
  margin-right: 6px;
  position: relative;
}
.cookie-category input[type=checkbox]:checked {
  background: var(--accent);
  border-color: var(--primary);
}
.cookie-category input[type=checkbox]:checked:after {
  content: '✔';
  color: var(--primary);
  position: absolute;
  left: 2px; top: 0px;
  font-size: 1em;
  font-weight: bold;
}
.cookie-category.disabled label, .cookie-category.disabled input[type=checkbox]{ opacity: 0.6; cursor: not-allowed; }
.cookie-category.disabled input[type=checkbox]:after { content: ''; }
.cookie-modal .modal-actions {
  display: flex;
  gap: 13px;
  margin-top: 9px;
}
.cookie-modal .cookie-btn {
  padding: 10px 23px;
  font-size: 1rem;
}

@media (max-width: 500px) {
  .cookie-modal { width: 98vw; padding: 13px 7px 15px; }
}

/* ===========================
  PLAYFUL, DYNAMIC THEME EXTRAS
=========================== */
section, .section {
  background: var(--white);
  border-radius: 32px;
  box-shadow: 0 2px 13px 0 rgba(239,175,67,0.05), 0 1px 3px 0 rgba(39,70,129,0.04);
  margin-bottom: 40px;
}
section:nth-child(odd), .section:nth-child(odd) {
  background: var(--brand-bg);
}

/* Fun bouncy effect for accent color elements */
.cta, .cta.primary, .service-list > div {
  animation: funPulse 3.7s cubic-bezier(.42,1.69,.73,.94) infinite alternate-reverse;
}
@keyframes funPulse {
  0%,100%{ box-shadow:0 2px 20px 0 rgba(239,175,67,0.13); transform: scale(1) rotate(0deg); }
  38%{ box-shadow:0 6px 36px 0 rgba(239,175,67,0.19); transform: scale(1.035) rotate(1.5deg); }
  60%{ box-shadow:0 11px 55px 0 rgba(239,175,67,0.10); transform: scale(.98) rotate(-1.8deg); }
}

/* Distinctive playful color pop for icons (SVG/images inside feature/service cards) */
.card img, .service-list img, ul li img {
  background: var(--secondary);
  border: 2px solid var(--accent);
  border-radius: 9px;
  padding: 4px;
  transition: border .12s, box-shadow .11s;
  box-shadow: 0 2px 12px 0 rgba(239,175,67,0.09);
}
.card img:hover, .service-list img:hover, ul li img:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 22px 0 rgba(39,70,129,0.10);
}

/* Fun font for section headings (accent color) */
section h2, .section h2 {
  color: var(--accent-dark);
  text-shadow: 1px 1px 0 #fff6e3, 0.5px 1px 0 #ffd07f;
  font-family: 'Montserrat', Arial, sans-serif;
}


/*****************************
 *   UTILITY & OVERRIDES     *
 *****************************/
 .hide { display: none !important; }
 .text-center { text-align: center; }
 .text-right { text-align: right; }
 .mt-1 { margin-top: 8px; }
 .mt-2 { margin-top: 16px; }
 .mb-1 { margin-bottom: 8px; }
 .mb-2 { margin-bottom: 16px; }
 .mb-3 { margin-bottom: 24px; }
 .fw-bold { font-weight: bold !important; }
 .w-100 { width: 100%; }

@media (max-width: 500px) {
  section, .section {
    border-radius: 13px;
    margin-bottom: 18px;
    padding: 11px 0;
  }
  .hero {
    min-height: 65px;
    margin-bottom: 12px;
  }
}
