/* ================================================
   KAMMERJÄGER HEINTZ — Design System
   Primär: #0e608a | Akzent: #1a93d0 | CTA: #f47b10
   ================================================ */

/* 1. RESET & BOX MODEL
   ================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { overflow-x: hidden; }
img, video { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
table { border-collapse: collapse; width: 100%; }

/* 2. CSS CUSTOM PROPERTIES
   ================================================ */
:root {
  /* Brand Blues */
  --blue-900: #083d58;
  --blue-800: #0e608a;
  --blue-700: #1277a8;
  --blue-600: #1a93d0;
  --blue-500: #2daae8;
  --blue-200: #a8d9f5;
  --blue-100: #d6edfb;
  --blue-50:  #f0f8ff;

  /* CTA Orange */
  --orange-600: #d4660a;
  --orange-500: #f47b10;
  --orange-400: #f7953a;
  --orange-100: #fef0e0;

  /* Grays */
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50:  #f9fafb;
  --white:    #ffffff;

  /* Semantic */
  --color-primary:    var(--blue-800);
  --color-primary-dk: var(--blue-900);
  --color-accent:     var(--blue-600);
  --color-cta:        var(--orange-500);
  --color-cta-dk:     var(--orange-600);
  --color-text:       var(--gray-900);
  --color-text-muted: var(--gray-600);
  --color-bg:         var(--gray-50);
  --color-border:     var(--gray-200);

  /* Typography */
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --font-size-base: 1rem;
  --line-height: 1.7;

  /* Spacing */
  --s1: 0.25rem;  --s2: 0.5rem;   --s3: 0.75rem;  --s4: 1rem;
  --s5: 1.25rem;  --s6: 1.5rem;   --s8: 2rem;     --s10: 2.5rem;
  --s12: 3rem;    --s14: 3.5rem;  --s16: 4rem;    --s20: 5rem;
  --s24: 6rem;    --s32: 8rem;

  /* Border Radius */
  --r-sm: 0.25rem;
  --r:    0.5rem;
  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow:    0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 8px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.05);
  --shadow-lg: 0 10px 20px rgba(0,0,0,.1), 0 4px 8px rgba(0,0,0,.05);
  --shadow-xl: 0 20px 40px rgba(14,96,138,.18);
  --shadow-blue: 0 4px 20px rgba(26,147,208,.35);

  /* Transitions */
  --t: 0.2s ease;
  --t-md: 0.3s ease;

  /* Layout */
  --container: 1180px;
  --container-sm: 760px;
  --gutter: clamp(1rem, 4vw, 2rem);

  /* Header */
  --header-h: 70px;
}

/* 3. BASE & TYPOGRAPHY
   ================================================ */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  color: var(--color-text);
  background: var(--white);
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--gray-900);
}
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: var(--s4); }
p:last-child { margin-bottom: 0; }

strong { font-weight: 700; color: var(--gray-800); }
em { font-style: italic; }

a:not([class]) {
  color: var(--color-accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:not([class]):hover { color: var(--color-primary); }

/* 4. LAYOUT UTILITIES
   ================================================ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--sm {
  max-width: var(--container-sm);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--s16);
}
.section--lg { padding-block: var(--s20); }
.section--sm { padding-block: var(--s10); }

.section--white  { background: var(--white); }
.section--gray   { background: var(--gray-50); }
.section--blue   { background: var(--blue-800); color: var(--white); }
.section--blue h2, .section--blue h3 { color: var(--white); }
.section--blue-light { background: var(--blue-50); }
.section--dark   { background: var(--gray-900); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s8); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: var(--s10); align-items: start; }
.grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: var(--s10); align-items: start; }

.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-gap { display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; }

.text-center { text-align: center; }
.text-right  { text-align: right; }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--s3);
}
.section-label--white { color: var(--blue-200); }

.section-header {
  margin-bottom: var(--s12);
}
.section-header .sub {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-top: var(--s3);
  max-width: 640px;
}
.section-header--center { text-align: center; }
.section-header--center .sub { margin-inline: auto; }

/* 5. BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.75rem 1.5rem;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--t);
  white-space: nowrap;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--cta {
  background: var(--color-cta);
  color: var(--white);
  border-color: var(--color-cta);
  box-shadow: 0 4px 14px rgba(244,123,16,.4);
}
.btn--cta:hover {
  background: var(--color-cta-dk);
  border-color: var(--color-cta-dk);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(244,123,16,.5);
}

.btn--primary {
  background: var(--color-primary);
  color: var(--white);
  border-color: var(--color-primary);
}
.btn--primary:hover {
  background: var(--blue-700);
  border-color: var(--blue-700);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: var(--white);
}

.btn--white {
  background: var(--white);
  color: var(--color-primary);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--blue-50);
  transform: translateY(-1px);
}

.btn--ghost {
  background: rgba(255,255,255,.15);
  color: var(--white);
  border-color: rgba(255,255,255,.4);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.6);
}

.btn--lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}
.btn--sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* 6. HEADER
   ================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-primary);
  height: var(--header-h);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
  transition: background var(--t);
}
.site-header.scrolled {
  background: var(--blue-900);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: var(--s6);
  width: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: var(--s3);
  flex-shrink: 0;
}
.site-logo img {
  height: 44px;
  width: auto;
}
.site-logo__text {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
}
.site-logo__text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.header-tel {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--s3);
}
.header-tel .btn--cta {
  font-size: 0.95rem;
  padding: 0.6rem 1.25rem;
}

/* 7. MAIN NAVIGATION
   ================================================ */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--s1);
}

.main-nav__item {
  position: relative;
}

.main-nav__link {
  display: flex;
  align-items: center;
  gap: var(--s1);
  padding: var(--s2) var(--s4);
  color: rgba(255,255,255,.9);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--r);
  transition: var(--t);
  white-space: nowrap;
}
.main-nav__link:hover,
.main-nav__link--active {
  color: var(--white);
  background: rgba(255,255,255,.12);
}

.main-nav__link .chevron {
  width: 14px;
  height: 14px;
  transition: transform var(--t);
}
.main-nav__item:hover .chevron { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;              /* Kein Pixel Lücke — Dropdown ist direktes Kind von .main-nav__item */
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity var(--t), transform var(--t);
  z-index: 100;
  text-align: left; /* M-48 */
}

/* Unsichtbare Hover-Brücke: füllt den Spalt zwischen Header-Unterkante und Dropdown */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -8px;      /* 8px Puffer nach oben — überbrückt jeden Subpixel-Gap */
  left: 0;
  right: 0;
  height: 8px;
}
.main-nav__item:hover .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown--wide {
  min-width: 520px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  padding: var(--s4);
}

.nav-dropdown__link {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) var(--s4);
  color: var(--gray-700);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--r);
  transition: var(--t);
}
.nav-dropdown__link:hover {
  background: var(--blue-50);
  color: var(--color-primary);
}
.nav-dropdown__link svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--s2);
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--t);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav Panel */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--blue-900);
  z-index: 999;
  overflow-y: auto;
  padding: var(--s6) var(--gutter);
  transform: translateX(100%);
  transition: transform var(--t-md);
}
.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav__link {
  display: block;
  padding: var(--s4) 0;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-nav__sub {
  padding: var(--s2) var(--s4);
  color: rgba(255,255,255,.7);
  font-size: 0.95rem;
  display: block;
}

/* 8. CITY NAV (Stadtseiten eigenes Menü)
   ================================================ */
.city-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--color-primary);
  height: var(--header-h);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.city-header .container {
  display: flex;
  align-items: center;
  gap: var(--s6);
  width: 100%;
}
.city-nav {
  display: flex;
  align-items: center;
  gap: var(--s1);
}
.city-nav__link {
  padding: var(--s2) var(--s3);
  color: rgba(255,255,255,.85);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--r);
  transition: var(--t);
}
.city-nav__link:hover,
.city-nav__link--active {
  color: var(--white);
  background: rgba(255,255,255,.12);
}

/* 9. HERO
   ================================================ */
.hero {
  position: relative;
  min-height: clamp(420px, 65vh, 700px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue-900);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8,61,88,.92) 0%,
    rgba(14,96,138,.82) 50%,
    rgba(26,147,208,.4) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: var(--s20);
  max-width: 680px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: var(--s2) var(--s4);
  border-radius: var(--r-full);
  margin-bottom: var(--s4);
}
.hero__badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange-400);
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(1.4); }
}

.hero__h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--white);
  margin-bottom: var(--s4);
  text-shadow: 0 2px 12px rgba(0,0,0,.25);
}

.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,.88);
  margin-bottom: var(--s8);
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  margin-bottom: var(--s8);
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--s2);
  color: rgba(255,255,255,.9);
  font-size: 0.875rem;
  font-weight: 600;
}
.hero__trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--orange-400);
  flex-shrink: 0;
}

/* Hero Compact (Subseiten) */
.hero--compact {
  min-height: clamp(200px, 35vh, 380px);
}
.hero--compact .hero__content {
  padding-block: var(--s14);
}
.hero--compact .hero__h1 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
}

/* 10. STÖRER
   ================================================ */
.stoerer {
  background: linear-gradient(135deg, var(--blue-800), var(--blue-600));
  padding: var(--s10) 0;
}
.stoerer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s8);
  flex-wrap: wrap;
}
.stoerer__text {
  color: var(--white);
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
  flex: 1;
  min-width: 200px;
}

/* 11. CTA BANNER
   ================================================ */
.cta-banner {
  background: var(--orange-100);
  border-top: 4px solid var(--color-cta);
  padding: var(--s12) 0;
  text-align: center;
}
.cta-banner__headline {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: var(--s3);
  color: var(--gray-900);
}
.cta-banner__sub {
  color: var(--gray-600);
  font-size: 1.05rem;
  margin-bottom: var(--s6);
  max-width: 520px;
  margin-inline: auto;
}

/* 12. CARDS
   ================================================ */
.card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: var(--s6);
  transition: transform var(--t), box-shadow var(--t);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card--bordered {
  border: 1px solid var(--color-border);
  box-shadow: none;
}
.card--blue-top {
  border-top: 4px solid var(--color-accent);
}
.card--icon {
  text-align: center;
}
.card__icon {
  width: 56px;
  height: 56px;
  background: var(--blue-50);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--s4);
  color: var(--color-primary);
}
.card--icon .card__icon { /* already centered */ }
.card__icon svg { width: 28px; height: 28px; }
.card__title { font-size: 1.1rem; margin-bottom: var(--s2); }
.card__text { color: var(--gray-600); font-size: 0.925rem; line-height: 1.6; margin: 0; }

/* 13. FAQ ACCORDION
   ================================================ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  max-width: 820px;
}
.faq-list--wide { max-width: 100%; }

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t), box-shadow var(--t);
}
.faq-item.open {
  border-color: var(--blue-200);
  box-shadow: 0 0 0 3px rgba(26,147,208,.08);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s5) var(--s6);
  background: var(--white);
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-800);
  transition: background var(--t);
  width: 100%;
  text-align: left;
}
.faq-question:hover { background: var(--blue-50); }
.faq-item.open .faq-question { background: var(--blue-50); color: var(--color-primary); }

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--r-full);
  background: var(--blue-100);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--t), transform var(--t);
}
.faq-icon svg { width: 14px; height: 14px; }
.faq-item.open .faq-icon {
  background: var(--color-primary);
  color: var(--white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
}
.faq-item.open .faq-answer {
  max-height: 800px;
}
.faq-answer__inner {
  padding: 0 var(--s6) var(--s5);
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.75;
  border-top: 1px solid var(--blue-100);
}
.faq-answer__inner p { margin-bottom: var(--s3); }
.faq-answer__inner p:last-child { margin-bottom: 0; }

/* 14. HOWTO STEPS
   ================================================ */
.howto-steps {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}
.howto-steps--horizontal {
  flex-direction: row;
  flex-wrap: wrap;
  counter-reset: steps;
}

.step {
  display: flex;
  gap: var(--s5);
  align-items: flex-start;
}
.step__num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--r-full);
  background: var(--color-primary);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-blue);
}
.step__body {}
.step__name {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: var(--s2);
  color: var(--gray-900);
}
.step__text {
  font-size: 0.925rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
}

/* Horizontal step (cards) */
.step--card {
  flex-direction: column;
  flex: 1;
  min-width: 160px;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--s6);
  box-shadow: var(--shadow-md);
  position: relative;
}
.step--card .step__num {
  margin-bottom: var(--s4);
  width: 48px;
  height: 48px;
  font-size: 1.1rem;
}

/* 15. BEWERTUNGEN (Facebook Rating)
   ================================================ */
.rating-widget {
  display: inline-flex;
  align-items: center;
  gap: var(--s4);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: var(--s4) var(--s6);
  box-shadow: var(--shadow-md);
}
.rating-stars {
  display: flex;
  gap: 2px;
}
.rating-stars svg {
  width: 18px;
  height: 18px;
  color: #f5b502;
}
.rating-score {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
}
.rating-meta {
  font-size: 0.8rem;
  color: var(--gray-500);
  line-height: 1.3;
}
.rating-meta strong { display: block; color: var(--gray-700); font-size: 0.875rem; }

/* HERO TRUST — größere Icons ────────────────────────────────── */
.hero__trust--lg .hero__trust-item {
  font-size: 1rem;
  font-weight: 700;
  gap: var(--s3);
}
.hero__trust--lg .hero__trust-item svg {
  width: 22px;
  height: 22px;
}

/* TRUST STRIP ───────────────────────────────────────────────── */
.trust-strip {
  background: var(--blue-50);
  padding: var(--s8) 0;
  border-top: 1px solid var(--blue-100);
  border-bottom: 1px solid var(--blue-100);
}
.trust-strip__inner {
  display: flex;
  align-items: center;
  gap: var(--s8);
  flex-wrap: wrap;
}
.trust-strip__divider {
  width: 1px;
  height: 56px;
  background: var(--blue-200);
  flex-shrink: 0;
}
@media (max-width: 900px) { .trust-strip__divider { display: none; } }

/* Legacy — für andere Templates die noch trust-items nutzen */
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--s3);
  color: var(--gray-700);
  font-weight: 600;
  font-size: 0.9rem;
}
.trust-item svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
}

/* CITY SEARCH ───────────────────────────────────────────────── */
.city-search { flex: 1; min-width: 280px; }

.city-search__label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: var(--s2);
}

.city-search__row {
  display: flex;
  gap: var(--s2);
  align-items: center;
}

.city-search__wrap {
  position: relative;
  flex: 1;
}

.city-search__icon {
  position: absolute;
  left: var(--s4);
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--gray-400);
  pointer-events: none;
  transition: color var(--t);
  z-index: 1;
}
.city-search__wrap:focus-within .city-search__icon { color: var(--color-primary); }

.city-search__input {
  width: 100%;
  padding: .8rem var(--s4) .8rem 2.75rem;
  border: 2px solid var(--blue-200);
  border-radius: var(--r-full);
  font: inherit;
  font-size: .95rem;
  color: var(--gray-900);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t), box-shadow var(--t);
  outline: none;
}
.city-search__input::placeholder { color: var(--gray-400); }
.city-search__input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(26,147,208,.15);
}

.city-search__btn {
  flex-shrink: 0;
  padding: .8rem 1.4rem;
  border-radius: var(--r-full);
  font-size: .9rem;
  white-space: nowrap;
}

/* Autocomplete-Dropdown */
.city-search__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1.5px solid var(--blue-200);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-xl);
  z-index: 500;
  overflow: hidden;
  max-height: 300px;
  overflow-y: auto;
}
.city-search__dropdown[hidden] { display: none; }

.city-search__result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--s3) var(--s5);
  color: var(--gray-800);
  font-size: .9rem;
  transition: background var(--t), color var(--t);
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px solid var(--gray-100);
}
.city-search__result:last-child { border-bottom: none; }
.city-search__result:hover,
.city-search__result[aria-selected="true"] {
  background: var(--blue-50);
  color: var(--color-primary);
}
.city-search__result:hover span { color: var(--blue-600); }
.city-search__result strong { font-weight: 700; }
.city-search__result span   { font-size: .78rem; color: var(--gray-400); }

.city-search__empty {
  padding: var(--s4) var(--s5);
  font-size: .875rem;
  color: var(--gray-500);
  text-align: center;
}

@media (max-width: 640px) {
  .city-search__row { flex-direction: column; align-items: stretch; }
  .city-search__btn { justify-content: center; }
}

/* 16. TABELLEN
   ================================================ */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.925rem;
}
.data-table thead {
  background: var(--color-primary);
  color: var(--white);
}
.data-table th {
  padding: var(--s4) var(--s5);
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}
.data-table td {
  padding: var(--s3) var(--s5);
  border-bottom: 1px solid var(--gray-100);
  vertical-align: middle;
}
.data-table tbody tr:hover { background: var(--blue-50); }
.data-table tbody tr:last-child td { border-bottom: none; }

/* 17. SCHÄDLINGS-GRID
   ================================================ */
.pest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: var(--s4);
}

.pest-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: var(--s5) var(--s4);
  text-align: center;
  transition: var(--t);
  display: block;
  color: var(--gray-800);
}
.pest-card:hover {
  border-color: var(--color-accent);
  background: var(--blue-50);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--color-primary);
}
.pest-card__icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: var(--s2);
}
.pest-card__icon svg {
  width: 48px;
  height: 48px;
  margin: 0 auto var(--s2);
  color: var(--color-primary);
}
.pest-card__name {
  font-weight: 700;
  font-size: 0.9rem;
}

/* 18. QUIZ (Schädlings-Diagnose)
   ================================================ */
.quiz {
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  padding: var(--s8) var(--s10);
  max-width: 680px;
  margin: 0 auto;
}
.quiz__header {
  text-align: center;
  margin-bottom: var(--s8);
}
.quiz__step { display: none; }
.quiz__step.active { display: block; }
.quiz__question {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: var(--s6);
  color: var(--gray-900);
}
.quiz__options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s3);
}
.quiz__option {
  border: 2px solid var(--gray-200);
  border-radius: var(--r-md);
  padding: var(--s4);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-700);
  text-align: center;
  transition: var(--t);
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s2);
}
.quiz__option:hover,
.quiz__option.selected {
  border-color: var(--color-accent);
  background: var(--blue-50);
  color: var(--color-primary);
}
.quiz__option svg { width: 24px; height: 24px; }
.quiz__progress {
  height: 4px;
  background: var(--gray-100);
  border-radius: var(--r-full);
  margin-bottom: var(--s6);
  overflow: hidden;
}
.quiz__progress-bar {
  height: 100%;
  background: var(--color-accent);
  border-radius: var(--r-full);
  transition: width 0.4s ease;
}
.quiz__result {
  text-align: center;
  padding: var(--s8) 0;
}
.quiz__result-pest {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--s4);
}
.quiz__nav {
  display: flex;
  justify-content: space-between;
  margin-top: var(--s6);
}

/* 19. KOSTENRECHNER
   ================================================ */
.cost-calc {
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  padding: var(--s8) var(--s10);
}
.cost-calc__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s6);
  margin-bottom: var(--s6);
}
.form-field label {
  display: block;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--gray-700);
  margin-bottom: var(--s2);
}
.form-field select,
.form-field input[type=range] {
  width: 100%;
}
.form-field select {
  padding: var(--s3) var(--s4);
  border: 1.5px solid var(--gray-300);
  border-radius: var(--r);
  font: inherit;
  font-size: 0.95rem;
  color: var(--gray-800);
  background: var(--white);
  cursor: pointer;
  transition: border-color var(--t);
}
.form-field select:focus { outline: none; border-color: var(--color-accent); }

.range-labels { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--gray-500); margin-top: var(--s1); }

.cost-result {
  background: var(--blue-50);
  border: 2px solid var(--blue-200);
  border-radius: var(--r-lg);
  padding: var(--s6);
  text-align: center;
}
.cost-result__label { font-size: 0.875rem; color: var(--gray-600); margin-bottom: var(--s2); }
.cost-result__price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--s4);
}
.cost-result__note { font-size: 0.8rem; color: var(--gray-500); margin-bottom: var(--s4); }

/* 20. LEAFLET KARTE
   ================================================ */
/*
  WICHTIG: Kein overflow:hidden auf der Karte oder ihren Eltern!
  overflow:hidden blockiert Leaflet-Pointer-Events vollständig.
  border-radius direkt auf #einzugsgebiet-map — kein Wrapper nötig.
*/
#einzugsgebiet-map {
  height: 520px;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  /* Kein overflow:hidden, kein position:relative nötig */
}
.leaflet-container { cursor: grab; }
.leaflet-container:active { cursor: grabbing; }

/* Marker Hover-Effekt */
.kj-marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #1a93d0;
  border: 2.5px solid #0e608a;
  box-shadow: 0 2px 6px rgba(14,96,138,.45);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.kj-marker:hover {
  transform: scale(2);
  background: #0e608a;
  box-shadow: 0 4px 14px rgba(14,96,138,.65);
}

/* 21. BREADCRUMB
   ================================================ */
.breadcrumb {
  padding: var(--s3) 0;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.breadcrumb__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s2);
  font-size: 0.825rem;
}
.breadcrumb__item { display: flex; align-items: center; gap: var(--s2); }
.breadcrumb__item:not(:last-child)::after {
  content: '';
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%239ca3af'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
  background-size: contain;
  flex-shrink: 0;
}
.breadcrumb__link { color: var(--gray-500); transition: color var(--t); }
.breadcrumb__link:hover { color: var(--color-primary); }
.breadcrumb__current { color: var(--gray-800); font-weight: 600; }

/* 22. ORTSCHAFTEN
   ================================================ */
.ortschaften-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}
.ortschaften-list__item {
  background: var(--blue-50);
  color: var(--color-primary);
  border: 1px solid var(--blue-200);
  border-radius: var(--r-full);
  padding: var(--s1) var(--s4);
  font-size: 0.875rem;
  font-weight: 600;
}

/* 23. BLOG / NEWS
   ================================================ */
.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--s6);
}
.post-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: transform var(--t), box-shadow var(--t);
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.post-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.post-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.post-card:hover .post-card__img img { transform: scale(1.04); }
.post-card__body {
  padding: var(--s5);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.post-card__date {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-bottom: var(--s2);
}
.post-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: var(--s3);
  line-height: 1.4;
  color: var(--gray-900);
}
.post-card:hover .post-card__title { color: var(--color-primary); }
.post-card__excerpt {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  flex: 1;
}

/* Article (Blog post) */
.article-header { margin-bottom: var(--s10); }
.article-meta { color: var(--gray-500); font-size: 0.875rem; margin-bottom: var(--s4); }
.article-body {
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: var(--container-sm);
}
.article-body h2 { margin: var(--s10) 0 var(--s4); }
.article-body h3 { margin: var(--s8) 0 var(--s3); }
.article-body ul, .article-body ol {
  margin: var(--s4) 0 var(--s4) var(--s6);
  list-style: disc;
}
.article-body li { margin-bottom: var(--s2); }

/* 24. ICON-LISTEN (bessere Aufzählungen)
   ================================================ */
.icon-list {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.icon-list__item {
  display: flex;
  gap: var(--s3);
  align-items: flex-start;
}
.icon-list__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 2px;
}
.icon-list__icon--orange { color: var(--color-cta); }
.icon-list__text {
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* 25. CONTENT-ABSCHNITTE
   ================================================ */
.content-section {
  padding-block: var(--s16);
}
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s12);
  align-items: center;
}
.content-split--reverse .content-split__img { order: -1; }

.content-split__img {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
}
.content-split__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.content-split__text {}
.content-split__text h2 { margin-bottom: var(--s5); }
.content-split__text .icon-list { margin-bottom: var(--s6); }

/* 26. FOOTER
   ================================================ */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding-top: var(--s16);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s10);
  padding-bottom: var(--s12);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .site-logo__text { color: var(--white); }
.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  margin-top: var(--s4);
  margin-bottom: 0;
  max-width: 280px;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: var(--s5);
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.footer-links a {
  color: var(--gray-400);
  font-size: 0.875rem;
  transition: color var(--t);
}
.footer-links a:hover { color: var(--white); }
.footer-tel {
  display: flex;
  align-items: center;
  gap: var(--s2);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: var(--s3);
}
.footer-tel svg { width: 18px; height: 18px; color: var(--color-cta); }

.footer-bottom {
  padding: var(--s5) 0;
}
.footer-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s3);
  font-size: 0.8rem;
  margin-bottom: var(--s4);
}
.footer-meta-links {
  display: flex;
  gap: var(--s5);
}
.footer-meta-links a {
  color: var(--gray-500);
  transition: color var(--t);
}
.footer-meta-links a:hover { color: var(--gray-300); }

.footer-disclaimer {
  font-size: 0.75rem;
  color: var(--gray-600);
  line-height: 1.7;
  padding: var(--s5);
  background: rgba(0,0,0,.2);
  border-radius: var(--r-md);
  border-left: 3px solid rgba(255,255,255,.1);
  margin-bottom: var(--s4);
}

/* 27. FLOATING CALL BUTTON (Mobile)
   ================================================ */
.mobile-call-btn {
  position: fixed;
  bottom: var(--s6);
  right: var(--s5);
  z-index: 900;
  display: none; /* JS shows on mobile */
  align-items: center;
  gap: var(--s2);
  background: var(--color-cta);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: var(--s4) var(--s5);
  border-radius: var(--r-full);
  box-shadow: 0 4px 24px rgba(244,123,16,.55);
  animation: float 3s ease-in-out infinite;
}
.mobile-call-btn svg { width: 20px; height: 20px; }
.mobile-call-btn:hover { background: var(--orange-600); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* 28. 404
   ================================================ */
.page-404 {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--s20) var(--gutter);
}
.page-404__num {
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 900;
  color: var(--blue-100);
  line-height: 1;
  margin-bottom: var(--s4);
}
.page-404 h1 { color: var(--gray-800); margin-bottom: var(--s4); }
.page-404 p { color: var(--gray-600); max-width: 440px; margin: 0 auto var(--s8); }

/* 29. RESPONSIVE
   ================================================ */

/* Tablet */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .footer-brand { grid-column: 1 / -1; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: block; }
  .cost-calc__grid { grid-template-columns: 1fr; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { --header-h: 62px; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-2-1, .grid-1-2 { grid-template-columns: 1fr; }
  .content-split { grid-template-columns: 1fr; }
  .content-split--reverse .content-split__img { order: 0; }
  .quiz__options { grid-template-columns: 1fr; }

  .hero__content { padding-block: var(--s14); }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }

  .stoerer .container { flex-direction: column; text-align: center; }
  .stoerer .btn { width: 100%; justify-content: center; }

  .howto-steps--horizontal { flex-direction: column; }

  .trust-strip__inner { gap: var(--s5); }
  .city-search { min-width: 100%; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--s8); }
  .footer-meta { flex-direction: column; text-align: center; }

  .mobile-call-btn { display: flex; }

  .city-nav { display: none; }

  .header-tel .btn--cta span { display: none; }
  .header-tel .btn--cta { padding: 0.6rem 0.9rem; }

  .quiz { padding: var(--s6) var(--s5); }
}

/* Very Small */
@media (max-width: 480px) {
  .pest-grid { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: 1fr; }
  .section { padding-block: var(--s10); }
  .section--lg { padding-block: var(--s14); }
}

/* 30. LEXIKON-ELEMENTE
   ================================================ */

/* STECKBRIEF — Fakten-Grid */
.steckbrief {
  background: var(--white);
  border: 1.5px solid var(--blue-200);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.steckbrief__header {
  background: var(--color-primary);
  color: var(--white);
  padding: var(--s5) var(--s6);
}
.steckbrief__header .section-label { color: var(--blue-200); }
.steckbrief__header h2 { color: var(--white); font-size: 1.2rem; margin: 0; }

.steckbrief__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.steckbrief__item {
  padding: var(--s4) var(--s5);
  border-right: 1px solid var(--blue-100);
  border-bottom: 1px solid var(--blue-100);
  display: flex;
  flex-direction: column;
  gap: var(--s1);
}
.steckbrief__item:nth-child(4n) { border-right: none; }
.steckbrief__item:nth-last-child(-n+4) { border-bottom: none; }

.steckbrief__label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-500);
}
.steckbrief__value {
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-800);
  line-height: 1.4;
}

/* Risikostufe hervorheben */
.steckbrief__item--risk-high { background: #fff5f5; }
.steckbrief__item--risk-high .steckbrief__value { color: #c53030; }
.steckbrief__item--risk-mid  { background: #fffbf0; }
.steckbrief__item--risk-mid  .steckbrief__value { color: #b7791f; }
.steckbrief__item--risk-low  { background: #f0fff4; }
.steckbrief__item--risk-low  .steckbrief__value { color: #276749; }

@media (max-width: 900px) { .steckbrief__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .steckbrief__grid { grid-template-columns: 1fr; } }

/* RISIKO-BADGE auf Bild */
.risk-badge {
  position: absolute;
  top: var(--s4);
  left: var(--s4);
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s4);
  border-radius: var(--r-full);
  font-size: .8rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.3);
}
.risk-badge--high { background: rgba(197,48,48,.85); color: white; }
.risk-badge--mid  { background: rgba(183,121,31,.85); color: white; }
.risk-badge--low  { background: rgba(39,103,73,.85);  color: white; }

/* content-split__img braucht position:relative für den Badge */
.content-split__img { position: relative; }

/* LEXIKON-PROSE
   Grundregel: Fließtext sauber, Listen als strukturierte Definition-Cards
   ──────────────────────────────────────────────────────────────────────── */
.lexikon-prose p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: var(--s4);
  max-width: 72ch;
}
.lexikon-prose p:last-child { margin-bottom: 0; }
.lexikon-prose strong { color: var(--gray-900); font-weight: 700; }

/* ── UL: 2-spaltige Definition-Cards ────────────────────────────
   Jedes <li> = eine Kachel. <strong> wird zum Kachel-Label oben.
   Kein Checkmark — sauber, klar, Lexikon-style.                  */
.lexikon-prose ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s3);
  list-style: none;
  padding: 0;
  margin: var(--s5) 0;
}
.lexikon-prose ul li {
  background: var(--white);
  border: 1px solid var(--blue-100);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--r-md);
  padding: var(--s4);
  font-size: .9rem;
  line-height: 1.6;
  color: var(--gray-700);
  display: block;        /* kein flex — strong muss Block sein */
}
.lexikon-prose ul li::before { display: none; } /* kein Pseudo-Element */

/* <strong> in ul li = Kategorie-Label */
.lexikon-prose ul li strong {
  display: block;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-primary);
  margin-bottom: var(--s2);
  line-height: 1.3;
}

/* ── OL: Nummerierte Schritte — vertikal, volle Breite ──────────
   Kein Grid — jeder Schritt braucht Platz für den Text.          */
.lexikon-prose ol {
  list-style: none;
  padding: 0;
  margin: var(--s5) 0;
  counter-reset: lexikon-steps;
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}
.lexikon-prose ol li {
  counter-increment: lexikon-steps;
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--blue-100);
  border-radius: var(--r-md);
  padding: var(--s4) var(--s5);
  font-size: .95rem;
  color: var(--gray-700);
  line-height: 1.7;
}
.lexikon-prose ol li::before {
  content: counter(lexikon-steps);
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-size: .85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.lexikon-prose ol li strong {
  display: block;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: var(--s1);
}

/* Mobile: ul-Grid 1-spaltig */
@media (max-width: 640px) {
  .lexikon-prose ul { grid-template-columns: 1fr; }
}

/* prose--wide: <ul> ohne max-width-Begrenzung auf p */
.lexikon-prose--wide p { max-width: none; }

/* ── LEXIKON-SPEZIFISCHE LAYOUT-KOMPONENTEN ──────────────────── */

/* Section-Header mit Inline-CTA */
.lx-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s6);
  margin-bottom: var(--s6);
  flex-wrap: wrap;
}

/* Inline-CTA (Telefon-Pille neben H2) */
.lx-inline-cta {
  display: flex;
  align-items: center;
  gap: var(--s3);
  background: var(--white);
  border: 2px solid var(--blue-200);
  border-radius: var(--r-xl);
  padding: var(--s3) var(--s5);
  text-decoration: none;
  flex-shrink: 0;
  transition: var(--t);
  box-shadow: var(--shadow-sm);
}
.lx-inline-cta:hover {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-blue);
  transform: translateY(-1px);
}
.lx-inline-cta svg {
  width: 20px;
  height: 20px;
  color: var(--color-cta);
  flex-shrink: 0;
}
.lx-inline-cta span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.lx-inline-cta strong {
  font-size: .95rem;
  font-weight: 800;
  color: var(--color-primary);
}
.lx-inline-cta small {
  font-size: .72rem;
  color: var(--gray-500);
  font-weight: 500;
}

/* Split-Layout Abschnitt 2 — gleiche Höhe durch CSS Grid */
.lx-split {
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: var(--s10);
  align-items: start;   /* NICHT stretch — kein overflow */
}

.lx-split__img {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  /* Feste Höhe — Bild füllt, Text scrollt unabhängig */
  max-height: 520px;
}
.lx-split__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lx-split__text {}
.lx-split__text h2 { margin-bottom: var(--s4); }
.lx-split__text .section-label { margin-bottom: var(--s2); display: block; }

/* Abschluss-Paragraph nach ul als Callout-Box */
.lexikon-prose ul + p {
  background: var(--blue-50);
  border-left: 4px solid var(--color-accent);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--s4) var(--s5);
  font-size: .925rem;
  color: var(--gray-700);
  max-width: none !important;
  margin-top: var(--s3);
}
.lexikon-prose ol + p {
  background: var(--blue-50);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--s4) var(--s5);
  font-size: .925rem;
  color: var(--gray-700);
  max-width: none !important;
  margin-top: var(--s3);
}

/* Bottom-Grid: Download + Links */
.lx-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s10);
  align-items: start;
}
.lx-bottom-grid h3 { font-size: 1.1rem; margin-bottom: var(--s3); }

.lx-pest-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-top: var(--s3);
}
.lx-pest-link {
  display: inline-block;
  padding: var(--s2) var(--s4);
  background: var(--white);
  border: 1.5px solid var(--blue-200);
  border-radius: var(--r-full);
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: var(--t);
}
.lx-pest-link:hover {
  background: var(--color-primary);
  color: var(--white);
  border-color: var(--color-primary);
}

/* Responsive */
@media (max-width: 900px) {
  .lx-split { grid-template-columns: 1fr; }
  .lx-split__img { max-height: 320px; }
  .lx-bottom-grid { grid-template-columns: 1fr; gap: var(--s8); }
  .lx-section-header { flex-direction: column; }
  .lx-inline-cta { align-self: flex-start; }
}

/* ── HowTo im Lexikon-Kontext: 2×2 statt 4-Spalten ─────────────
   Scoped auf .lexikon-steckbrief ~ section um HowTo-Partial      */
.lexikon-howto .howto-steps--horizontal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s5);
}
.lexikon-howto .step--card {
  font-size: .95rem;
}
@media (max-width: 640px) {
  .lexikon-howto .howto-steps--horizontal {
    grid-template-columns: 1fr;
  }
}

/* 30b. CONTENT-MAIN + SIDEBAR LAYOUT (Langtext + schlanke Sidebar)
   ================================================ */

/*
  Hauptinhalt nimmt 68% der Breite ein (statt 66.7% bei grid-2-1).
  Sidebar ist schmal (290px), läuft sticky neben dem Langtext mit.
  Gibt dem Fließtext deutlich mehr Platz als das alte grid-2-1.
*/
.content-main-sidebar {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--s10);
  align-items: start;
}

.content-sidebar .sidebar-card {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
}

/* PROSE — Langer Fließtext (1500+ Wörter)
   Optimale Lesbarkeit: max 75 Zeichen / Zeile */
.prose {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-700);
}
.prose p { margin-bottom: var(--s5); }
.prose p:last-child { margin-bottom: 0; }
.prose h3 { margin: var(--s8) 0 var(--s3); color: var(--gray-900); }
.prose h4 { margin: var(--s6) 0 var(--s2); }
.prose strong { color: var(--gray-800); }
.prose ul, .prose ol {
  margin: var(--s4) 0 var(--s5) var(--s6);
}
.prose li { margin-bottom: var(--s2); line-height: 1.7; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

/* PROSE-SECTION — Volle Breite, prose-optimierte Breite */
.prose-section {
  max-width: 820px; /* ~75-80 Zeichen — optimale Lesbarkeit */
}
.prose-section h2 { margin-bottom: var(--s5); }
.prose-section > .section-label { margin-bottom: var(--s2); }

/* LOKALER BEZUG BOX */
.lokaler-bezug-box {
  display: flex;
  gap: var(--s4);
  align-items: flex-start;
  background: var(--blue-50);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--r-md);
  padding: var(--s5) var(--s6);
  margin-top: var(--s8);
}
.lokaler-bezug-box__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  color: var(--color-accent);
}
.lokaler-bezug-box .prose { font-size: .95rem; }

/* Tablet: Sidebar unter den Haupttext */
@media (max-width: 900px) {
  .content-main-sidebar {
    grid-template-columns: 1fr;
  }
  .content-sidebar .sidebar-card {
    position: static;
  }
}

/* Print */
@media print {
  .site-header, .mobile-call-btn, .stoerer, .cta-banner { display: none !important; }
}
