* { box-sizing: border-box; overflow-wrap: anywhere; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Work Sans', system-ui, sans-serif; color: #22242A; background: #FBF7F0; }
h1, h2, h3 { font-family: 'Sora', system-ui, sans-serif; margin: 0; }
p { margin: 0; }
a { color: #1B3A3F; text-decoration: none; }
a:hover { color: #9CC61E; }
img { max-width: 100%; }
.btn-primary { background: #9CC61E; color: #1B3A3F; font-weight: 600; padding: 14px 28px; border-radius: 8px; display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer; font-size: 15px; font-family: inherit; }
.btn-primary:hover { background: #8ab41a; }
.btn-outline { border: 1.5px solid #FBF7F0; color: #FBF7F0; font-weight: 600; padding: 12px 26px; border-radius: 8px; display: inline-flex; align-items: center; }
.btn-outline:hover { background: rgba(251,247,240,0.1); color: #FBF7F0; }
.section { padding: 88px 120px; }
.container { max-width: 1200px; margin: 0 auto; }
.card { background: #FFFFFF; border-radius: 16px; box-shadow: 0 4px 24px rgba(27,58,63,0.08); }
.eyebrow { font-weight: 600; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #9CC61E; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.row { display: flex; align-items: center; gap: 64px; }
.container-nav { display: flex; align-items: center; justify-content: space-between; padding: 0 120px; height: 92px; background: #FBF7F0; border-bottom: 1px solid rgba(27,58,63,0.08); position: relative; }
.nav-links { display: flex; align-items: center; gap: 40px; font-size: 15px; font-weight: 500; color: #22242A; }

/* Mobile-Menü (reines CSS, kein JS): Checkbox steuert Sichtbarkeit per Sibling-Selektor */
.nav-toggle { display: none; }
.nav-toggle-label { display: none; width: 28px; height: 22px; flex-direction: column; justify-content: space-between; cursor: pointer; flex-shrink: 0; order: 3; }
.nav-toggle-label span { display: block; height: 2.5px; border-radius: 2px; background: #1B3A3F; }
.nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) { transform: translateY(9.5px) rotate(45deg); }
.nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) { transform: translateY(-9.5px) rotate(-45deg); }

.hero-section { padding: 88px 60px 96px 120px; position: relative; overflow: hidden; }
.hero-visual { position: relative; width: 100%; max-width: 480px; margin-right: auto; }
.hero-blob-bg { position: absolute; top: -36px; right: -36px; width: 320px; height: 320px; background: rgba(156,198,30,0.16); border-radius: 63% 37% 54% 46% / 43% 47% 53% 57%; z-index: 0; }
.hero-photo { position: relative; z-index: 1; overflow: hidden; height: 500px; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; box-shadow: 0 24px 60px rgba(27,58,63,0.2); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.hero-badge-secondary { position: absolute; top: -16px; left: -20px; background: #1B3A3F; color: #FBF7F0; padding: 12px 18px; border-radius: 14px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; box-shadow: 0 10px 26px rgba(27,58,63,0.28); z-index: 2; white-space: nowrap; }
.hero-badge-rating { position: absolute; bottom: 22px; left: 22px; right: 22px; z-index: 2; }
.hero-wave { position: absolute; left: 0; right: 0; bottom: -2px; line-height: 0; z-index: 1; }

/* Mittlere Breiten (Tablet/kleine Laptops): Nav und Hero brauchen weniger Platz,
   damit nichts umbricht, bevor der Mobile-Breakpoint bei 900px greift. */
@media (max-width: 1180px) {
  .container-nav { padding: 0 32px; }
  .nav-links { gap: 22px; font-size: 14px; }
  .hero-section { padding: 64px 32px 80px 32px; }
  .hero-badge-rating { padding: 12px 14px !important; }
  .hero-badge-rating > div > div:first-child { font-size: 13px !important; }
  .hero-badge-rating > div > div:last-child { font-size: 11px !important; }
}

/* Dropdown-Navigation "Leistungen" */
.nav-item-dropdown { position: relative; }
.nav-dropdown-trigger { display: flex; align-items: center; gap: 6px; cursor: pointer; background: none; border: none; font: inherit; color: inherit; padding: 0; }
/* Äußere Box beginnt direkt am Button (kein Lücke) und überbrückt den Abstand per transparentem padding-top,
   damit der Hover-Bereich beim Runterfahren zur Maus lückenlos bleibt (kein Verschwinden mehr). */
.nav-dropdown-menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 14px; z-index: 20; }
.nav-dropdown-menu-inner { background: #FFFFFF; border-radius: 20px; box-shadow: 0 24px 60px rgba(27,58,63,0.22); padding: 10px 20px 0; width: 600px; overflow: hidden; }
.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu { display: block; }

.nav-dropdown-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #9CC61E; padding: 14px 10px 6px; }
.nav-dropdown-grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 8px; position: relative; }
.nav-dropdown-grid::before { content: ""; position: absolute; left: 50%; top: 4px; bottom: 4px; width: 1px; background: rgba(27,58,63,0.08); }
.nav-dropdown-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 10px; border-radius: 12px; white-space: normal; transition: background 0.15s ease, transform 0.15s ease; }
.nav-dropdown-item:nth-child(-n+4) { border-bottom: 1px solid rgba(27,58,63,0.08); }
.nav-dropdown-item:hover { background: #FBF7F0; transform: translateX(2px); }
.nav-dropdown-item .icon-tile { width: 40px; height: 40px; border-radius: 11px; flex-shrink: 0; margin-bottom: 0; box-shadow: 0 4px 10px rgba(27,58,63,0.12); }
.nav-dropdown-item-title { font-weight: 700; font-size: 14px; color: #1B3A3F; line-height: 1.35; overflow-wrap: normal; word-break: normal; hyphens: auto; }
.nav-dropdown-item-desc { font-size: 12px; color: #6B6F76; margin-top: 3px; line-height: 1.4; }
.nav-dropdown-footer { margin: 4px -20px 0; padding: 14px 20px; background: #FBF7F0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.nav-dropdown-footer span { font-size: 13px; color: #6B6F76; }
.nav-dropdown-footer .btn-primary { padding: 9px 18px; font-size: 13px; white-space: nowrap; }

/* Platzhalter-Unterseiten */
.placeholder-hero { padding: 56px 120px 0; }
.breadcrumb { font-size: 13px; color: #6B6F76; margin-bottom: 24px; }
.breadcrumb a { color: #6B6F76; }
.breadcrumb a:hover { color: #1B3A3F; }
.placeholder-badge { border: 1px dashed #6B6F76; border-radius: 10px; padding: 16px 20px; font-size: 14px; color: #6B6F76; margin-top: 28px; max-width: 640px; }
.related-link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: #1B3A3F; margin-top: 20px; }

/* Ausgebaute Leistungsseiten (z. B. Private Krankenversicherung) */
.note-illustrative { display: flex; align-items: center; gap: 12px; border-left: 4px solid #9CC61E; background: rgba(156,198,30,0.1); border-radius: 0 12px 12px 0; padding: 16px 20px; font-size: 13px; line-height: 1.5; color: #1B3A3F; margin-top: 20px; max-width: 640px; }
.note-illustrative svg { flex-shrink: 0; align-self: center; display: block; }
.note-illustrative span { display: block; }
.author-byline { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #6B6F76; margin-top: 18px; }
.author-byline .author-dot { width: 4px; height: 4px; border-radius: 50%; background: #6B6F76; flex-shrink: 0; }

.persona-card { background: #FFFFFF; border-radius: 16px; padding: 26px; box-shadow: 0 4px 24px rgba(27,58,63,0.08); }
.persona-card h3 { font-size: 17px; font-weight: 700; color: #1B3A3F; }
.persona-card p { font-size: 14px; color: #6B6F76; margin-top: 10px; line-height: 1.55; }
.persona-card a.related-link { margin-top: 14px; font-size: 13px; }

.compare-table-section { position: relative; overflow: hidden; }
.compare-table-wrap { position: relative; overflow-x: auto; margin-top: 28px; border-radius: 20px; padding: 3px; background: linear-gradient(135deg, #9CC61E, #1B3A3F); }
.compare-table { width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0; background: #FFFFFF; border-radius: 18px; overflow: hidden; }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; font-size: 14px; border-bottom: 1px solid rgba(27,58,63,0.08); }
.compare-table th { background: #1B3A3F; color: #FBF7F0; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; }
.compare-table th.col-highlight { background: #9CC61E; color: #1B3A3F; position: relative; text-align: center; }
.compare-table th.col-highlight .badge-empfehlung { display: inline-block; margin-top: 6px; background: #1B3A3F; color: #9CC61E; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 8px; text-transform: none; letter-spacing: 0.02em; }
.compare-table td.col-highlight { background: rgba(156,198,30,0.08); text-align: center; }
.compare-table tr:nth-child(even) td:not(.col-highlight) { background: #FBF7F0; }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table tr:hover td { background: rgba(156,198,30,0.14); transition: background 0.2s; }
.compare-table td:first-child { font-weight: 600; color: #1B3A3F; }

.advantage-list { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.advantage-item { background: #FFFFFF; border-radius: 12px; padding: 16px 20px; display: flex; align-items: center; gap: 14px; box-shadow: 0 2px 12px rgba(27,58,63,0.06); }
.advantage-item span { font-size: 15px; font-weight: 600; color: #1B3A3F; }

.faq-item { background: #FFFFFF; border-radius: 12px; padding: 4px 22px; margin-bottom: 12px; box-shadow: 0 2px 12px rgba(27,58,63,0.06); }
.faq-item summary { cursor: pointer; font-weight: 700; color: #1B3A3F; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 15px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; color: #9CC61E; flex-shrink: 0; transition: transform 0.2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 18px; margin-top: -6px; color: #444A50; font-size: 14px; line-height: 1.65; }

.section-lead { font-size: 16px; color: #6B6F76; margin-top: 14px; line-height: 1.6; max-width: 680px; }

/* Hover-Effekte & farbige Akzente für ausgebaute Leistungsseiten */
.card { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(27,58,63,0.14); }
a.card:hover h3 { color: #1B3A3F; }

.persona-card { transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; border-top: 3px solid transparent; }
.persona-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(27,58,63,0.14); border-top-color: #9CC61E; }

.advantage-item { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.advantage-item:hover { transform: translateX(4px); box-shadow: 0 6px 20px rgba(27,58,63,0.1); }

.icon-tile { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; box-sizing: border-box; }
.icon-tile.tile-lime { background: rgba(156,198,30,0.12); border: 1px solid rgba(156,198,30,0.4); }
.icon-tile.tile-petrol { background: rgba(27,58,63,0.05); border: 1px solid rgba(27,58,63,0.16); }
.icon-tile.tile-petrol svg path, .icon-tile.tile-petrol svg rect, .icon-tile.tile-petrol svg circle { stroke: #1B3A3F; }

/* Auf dunklen Karten braucht die Icon-Kachel einen hellen, dezenten Hintergrund statt der petrolfarbenen Fläche */
.card-dark .icon-tile.tile-lime { background: rgba(156,198,30,0.14); border-color: rgba(156,198,30,0.5); }
.card-dark .icon-tile.tile-petrol { background: rgba(251,247,240,0.08); border-color: rgba(251,247,240,0.25); }
.card-dark .icon-tile.tile-petrol svg path, .card-dark .icon-tile.tile-petrol svg rect, .card-dark .icon-tile.tile-petrol svg circle { stroke: #FBF7F0; }

.stat-card { background: #1B3A3F; border-radius: 16px; padding: 22px 24px; color: #FBF7F0; display: flex; flex-direction: column; gap: 4px; }
.stat-card .stat-number { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 26px; color: #9CC61E; }
.stat-card .stat-label { font-size: 13px; color: rgba(251,247,240,0.75); }

.link-card { position: relative; overflow: hidden; border-top: 4px solid #9CC61E; }

.process-step { position: relative; }
.process-connector { position: absolute; top: 27px; left: calc(50% + 45px); width: calc(100% - 90px); height: 2px; background: repeating-linear-gradient(90deg, #9CC61E 0 8px, transparent 8px 16px); }

.quote-mark { font-family: 'Sora', sans-serif; font-size: 40px; line-height: 1; color: #9CC61E; font-weight: 800; }

.cta-decor { position: absolute; border-radius: 50%; background: #9CC61E; opacity: 0.12; pointer-events: none; }

@media (max-width: 900px) {
  .process-connector { display: none; }
}

/* Dunkle Sektionen (mehr Petrol-Fläche) */
.section-dark { background: #1B3A3F; position: relative; overflow: hidden; }
.section-dark .section-lead { color: rgba(251,247,240,0.75); }

.persona-card.card-dark { background: #22424A; border-top-color: transparent; }
.persona-card.card-dark h3 { color: #FBF7F0; }
.persona-card.card-dark p { color: rgba(251,247,240,0.7); }
.persona-card.card-dark .related-link { color: #9CC61E; }
.persona-card.card-dark:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.35); border-top-color: #9CC61E; }

.card.card-dark { background: #22424A; box-shadow: 0 4px 24px rgba(0,0,0,0.3); }
.card.card-dark p { color: rgba(251,247,240,0.7) !important; }
.card.card-dark span:not(.quote-mark) { color: #FBF7F0 !important; }
.card.card-dark:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.4); }

.section-wave { position: absolute; left: 0; right: 0; bottom: -2px; line-height: 0; z-index: 2; pointer-events: none; }

.compare-table tr.row-highlight td { background: rgba(156,198,30,0.12); font-weight: 600; }

.framed-photo { background: #1B3A3F; border-radius: 24px; padding: 14px; box-shadow: 0 20px 50px rgba(27,58,63,0.25); }
.framed-photo img { border-radius: 16px; display: block; width: 100%; height: 100%; object-fit: cover; }

/* Persona-Icon-Reihe: leichte, horizontale Alternative zu den dunklen Zielgruppen-Karten */
.persona-row-list { display: flex; flex-wrap: wrap; gap: 32px; margin-top: 32px; }
.persona-row-item { flex: 1 1 240px; text-align: center; padding: 0 12px; }
.persona-row-item .icon-tile { margin: 0 auto 16px; width: 56px; height: 56px; border-radius: 50%; }
.persona-row-item h3 { font-size: 16px; font-weight: 700; color: #1B3A3F; }
.persona-row-item p { font-size: 14px; color: #6B6F76; margin-top: 8px; line-height: 1.55; }
.persona-row-item .related-link { margin-top: 10px; font-size: 13px; justify-content: center; }

/* Vollflächiger Bild-Banner als Hero-Alternative */
.hero-banner { position: relative; min-height: 480px; display: flex; align-items: center; overflow: hidden; }
.hero-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(27,58,63,0.94) 0%, rgba(27,58,63,0.82) 42%, rgba(27,58,63,0.35) 75%, rgba(27,58,63,0.1) 100%); z-index: 1; }
.hero-banner-content { position: relative; z-index: 2; }

/* Timeline (z. B. Gesetzgebungs-Meilensteine) */
.timeline { display: flex; gap: 0; margin-top: 40px; position: relative; }
.timeline-item { flex: 1; text-align: center; position: relative; padding-top: 34px; }
.timeline-item::before { content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 18px; height: 18px; border-radius: 50%; background: #9CC61E; border: 4px solid #FBF7F0; box-shadow: 0 0 0 2px rgba(27,58,63,0.15); z-index: 2; }
.timeline-item::after { content: ''; position: absolute; top: 16px; left: 0; right: 0; height: 2px; background: rgba(27,58,63,0.15); z-index: 1; }
.timeline-item:first-child::after { left: 50%; }
.timeline-item:last-child::after { right: 50%; }
.timeline-item .timeline-date { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 14px; color: #1B3A3F; }
.timeline-item .timeline-label { font-size: 13px; color: #6B6F76; margin-top: 6px; line-height: 1.5; padding: 0 8px; }
.timeline-item.timeline-active .timeline-date { color: #6b8f1a; }
.timeline-item.timeline-active::before { background: #1B3A3F; }

/* Badge-Grid (z. B. Rechtsschutz-Bausteine statt Tabelle) */
.baustein-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.baustein-badge { background: #FFFFFF; border-radius: 16px; padding: 24px; box-shadow: 0 4px 24px rgba(27,58,63,0.08); border-left: 4px solid #9CC61E; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.baustein-badge:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(27,58,63,0.14); }
.baustein-badge .baustein-title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 16px; color: #1B3A3F; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.baustein-badge .baustein-wait { font-size: 11px; font-weight: 700; color: #9CC61E; background: rgba(156,198,30,0.12); padding: 4px 10px; border-radius: 8px; white-space: nowrap; }
.baustein-badge p { font-size: 14px; color: #6B6F76; margin-top: 10px; line-height: 1.55; }

/* Vorteile als alternierende Zeilen statt Karten-Grid */
.vorteile-rows { display: flex; flex-direction: column; gap: 4px; margin-top: 28px; }
.vorteile-row { display: flex; align-items: center; gap: 24px; padding: 22px 8px; border-bottom: 1px solid rgba(27,58,63,0.08); }
.vorteile-row:last-child { border-bottom: none; }
.vorteile-row .icon-tile { margin-bottom: 0; flex-shrink: 0; }
.vorteile-row h3 { font-size: 16px; font-weight: 700; color: #1B3A3F; }
.vorteile-row p { font-size: 14px; color: #6B6F76; margin-top: 4px; line-height: 1.55; }

@media (max-width: 900px) {
  .baustein-grid { grid-template-columns: 1fr; }
  .timeline { flex-direction: column; gap: 20px; }
  .timeline-item::after { display: none; }
  .timeline-item { padding-top: 0; padding-left: 34px; text-align: left; }
  .timeline-item::before { top: 2px; left: 8px; transform: none; }
  .hero-banner { min-height: 380px; }
}

@media (max-width: 900px) {
  .section { padding: 56px 24px; }
  .hero-section { padding: 56px 24px 72px 24px; }
  .placeholder-hero { padding: 40px 24px 0; }
  .hero-visual { max-width: 320px; margin: 0 auto; }
  .hero-photo { height: 380px; }
  .hero-badge-secondary { left: 0; top: -14px; font-size: 12px; padding: 10px 14px; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 32px !important; }
  .container-nav { padding: 12px 24px; height: auto; flex-wrap: wrap; gap: 16px 12px; }
  .container-nav > a:first-child { order: 1; }
  .container-nav > .btn-primary { order: 2; margin-left: auto; }
  .nav-toggle-label { display: flex; order: 3; }
  .nav-links { display: none; order: 4; flex-basis: 100%; flex-direction: column; align-items: flex-start; gap: 4px; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-links a, .nav-links .nav-dropdown-trigger { width: 100%; padding: 12px 4px; border-top: 1px solid rgba(27,58,63,0.08); }
  .nav-dropdown-menu { position: static; padding-top: 0; transform: none; }
  .nav-dropdown-menu-inner { width: 100%; box-shadow: none; padding: 8px 0 8px 16px; }
  .nav-dropdown-grid { grid-template-columns: 1fr; }
  .row { flex-direction: column; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  h1 { font-size: 32px !important; }
  h2 { font-size: 26px !important; }
}

/* Partner-Marquee: automatisch durchlaufender Streifen der Versicherungspartner */
.partner-marquee-section { background: #FFFFFF; padding: 64px 0; overflow: hidden; }
.partner-marquee-header { text-align: center; max-width: 640px; margin: 0 auto 40px; padding: 0 24px; }
.partner-marquee { position: relative; width: 100%; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%); }
.partner-track { display: flex; align-items: center; gap: 20px; width: max-content; animation: partner-scroll 48s linear infinite; }
.partner-marquee:hover .partner-track { animation-play-state: paused; }
.partner-chip { flex-shrink: 0; width: 148px; height: 76px; display: flex; align-items: center; justify-content: center; background: #FFFFFF; border: 1px solid rgba(27,58,63,0.08); border-radius: 14px; padding: 14px 20px; box-shadow: 0 2px 10px rgba(27,58,63,0.05); transition: box-shadow 0.2s ease, transform 0.2s ease; }
.partner-chip:hover { box-shadow: 0 8px 24px rgba(27,58,63,0.12); transform: translateY(-2px); }
.partner-chip img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(100%) opacity(0.65); transition: filter 0.25s ease; }
.partner-chip:hover img { filter: grayscale(0%) opacity(1); }
.partner-marquee-caption { text-align: center; font-size: 12px; color: #6B6F76; margin-top: 24px; }
@keyframes partner-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .partner-track { animation: none; }
}
@media (max-width: 900px) {
  .partner-marquee-section { padding: 48px 0; }
  .partner-chip { padding: 12px 20px; font-size: 14px; }
}

/* Kontaktformular */
.contact-form { display: flex; flex-direction: column; gap: 20px; max-width: 560px; padding: 40px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 14px; font-weight: 600; color: #1B3A3F; }
.form-field input, .form-field textarea { font: inherit; font-size: 15px; padding: 12px 16px; border: 1.5px solid rgba(27,58,63,0.15); border-radius: 8px; background: #FBF7F0; color: #22242A; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: #9CC61E; }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; line-height: 1.5; color: #444A50; }
.form-consent input[type="checkbox"] { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; accent-color: #9CC61E; }
.form-consent a { font-weight: 600; }
.form-hidden { position: absolute; left: -9999px; }

/* ==========================================================================
   MOBILE-OPTIMIERUNG (Smartphone)
   Steht bewusst am Ende der Datei, damit diese Regeln die älteren Breakpoints
   oben überschreiben. Desktop (>900px) bleibt unverändert.
   ========================================================================== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

@media (max-width: 900px) {
  /* --- Typografie: Silbentrennung statt Bruch mitten im Wort --- */
  h1, h2, h3, h4, h1 *, h2 *, h3 *, h4 * { overflow-wrap: break-word; word-break: normal; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 22 6 6; }
  .compare-table th, .compare-table td { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }

  /* --- Header: einzeilig, großes Hamburger-Menü; CTA erscheint im geöffneten Menü --- */
  .container-nav { padding: 10px 20px; gap: 0; }
  .container-nav > :first-child img { height: 30px !important; }
  .container-nav [style*="font-size: 11px"] { font-size: 12px !important; }
  .container-nav > .btn-primary { display: none; }
  .nav-toggle-label { width: 44px; height: 44px; padding: 11px 8px; box-sizing: border-box; margin-left: auto; margin-right: -8px; }
  .nav-toggle:checked ~ .nav-links { margin-top: 8px; }
  .nav-toggle:checked ~ .btn-primary { display: inline-flex; order: 5; flex-basis: 100%; justify-content: center; margin: 14px 0 6px; padding: 15px 22px !important; font-size: 16px !important; }

  /* --- Hero --- */
  .hero-section { padding: 32px 20px 60px; }
  .hero-section .row { gap: 28px; }
  .hero-section h1 { font-size: 28px !important; line-height: 1.38 !important; }
  .hero-section h1 span { padding: 2px 6px !important; }
  .hero-section p { font-size: 16px !important; }
  .hero-visual { max-width: 300px; }
  .hero-photo { height: 320px; }
  .hero-blob-bg { width: 220px; height: 220px; top: -20px; right: -20px; }
  .hero-badge-rating { left: 12px; right: 12px; bottom: 12px; }
  .hero-badge-rating > div > div:last-child { font-size: 12px !important; }

  /* --- Abschnitte und Karten: kompakter --- */
  .section { padding: 44px 20px; }
  .section [style*="margin-bottom: 48px"] { margin-bottom: 28px !important; }
  .container > * { min-width: 0; }
  .grid-2, .grid-3, .grid-4 { gap: 16px !important; }
  .grid-3[style*="gap: 40px"] { gap: 32px !important; }
  /* Inline gesetzte Spaltenaufteilung (z. B. Kontaktseite) schlägt sonst die Einspaltigkeit */
  .grid-2[style*="grid-template-columns"], .grid-3[style*="grid-template-columns"], .grid-4[style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 24px !important; }
  .card[style*="padding: 32px"], .card[style*="padding: 28px"] { padding: 22px !important; }
  .related-link { padding: 10px 0; margin-top: 6px; }
  [style*="font-size: 11px"], [style*="font-size: 10px"], [style*="font-size: 11.5px"] { font-size: 12px !important; }
  a[href^="tel:"], a[href^="mailto:"] { display: inline-block; padding: 8px 0; }

  /* --- Wisch-Reihen (Bewertungen, Ratgeber-Teaser): nebeneinander statt endlos untereinander --- */
  .m-swipe { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 20px; gap: 14px !important; margin: 0 -20px; padding: 6px 20px 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .m-swipe::-webkit-scrollbar { display: none; }
  .m-swipe > * { flex: 0 0 84%; scroll-snap-align: start; min-width: 0; }

  /* --- Vergleichstabellen: passen auf den Schirm statt seitlich zu wischen --- */
  .compare-table { min-width: 0; }
  .compare-table th, .compare-table td { padding: 12px 10px; font-size: 13px; }
  .compare-table th { font-size: 11px; letter-spacing: 0.02em; }

  /* --- Formulare: 16px verhindert das ungewollte Hineinzoomen auf dem iPhone --- */
  .form-field input, .form-field textarea, .form-field select { font-size: 16px; padding: 13px 14px; }
  .contact-form { padding: 24px; max-width: 100%; width: 100%; }
  .contact-form-col { width: 100%; min-width: 0; }

  /* --- Footer: Link-Listen zweispaltig, größere Tippflächen --- */
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 28px 20px !important; }
  .footer-grid > div:first-child, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-grid > div:nth-child(2), .footer-grid > div:nth-child(3) { gap: 2px !important; }
  .footer-grid > div:nth-child(2) > div:first-child, .footer-grid > div:nth-child(3) > div:first-child { margin-bottom: 8px; }
  footer a { padding-top: 9px; padding-bottom: 9px; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 20 6 6; }
  .footer-grid a[aria-label] { width: 44px !important; height: 44px !important; }

  /* --- Leistungskarten: die ganze Karte ist der Link (statt nur einer 17px hohen Textzeile) --- */
  .grid-3 > .card { position: relative; }
  .grid-3 > .card > a:only-of-type::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
  .card > a { padding: 10px 0; }

  /* --- Einwilligungs-Checkbox: größere Tippfläche --- */
  .form-consent { padding: 4px 0; gap: 12px; }
  .form-consent input[type="checkbox"] { width: 24px; height: 24px; margin-top: 0; }
}

@media (max-width: 360px) {
  .hero-section h1 { font-size: 26px !important; }
  h2 { font-size: 23px !important; }
  .container-nav > :first-child { gap: 10px !important; }
  .container-nav > :first-child img { height: 26px !important; }
  .container-nav > :first-child > div[style*="width: 1px"] { display: none; }
  .container-nav [style*="letter-spacing: 0.06em"] { letter-spacing: 0.02em !important; }
}

/* Leistungs-Icons (PNG) */
.service-icon { display: block; object-fit: contain; }
.icon-tile:has(> .service-icon) { background: none; border: none; box-shadow: none; width: fit-content; height: auto; border-radius: 0; }
.icon-tile > .service-icon { width: 56px; height: 56px; }
.nav-dropdown-item .icon-tile > .service-icon { width: 42px; height: 42px; }
.vorteile-row .icon-tile > .service-icon { width: 44px; height: 44px; }
.card-dark .icon-tile:has(> .service-icon), .persona-card.card-dark .icon-tile:has(> .service-icon) { background: #FBF7F0; border-radius: 14px; padding: 6px; }
.card-dark .icon-tile > .service-icon { width: 44px; height: 44px; }
.persona-row-item .icon-tile:has(> .service-icon) { margin: 0 auto 16px; }
.link-card .service-icon, .card .service-icon { width: 56px; height: 56px; }
.card .icon-tile > .service-icon, .nav-dropdown-item .service-icon { }
.nav-dropdown-item .icon-tile > .service-icon { width: 42px; height: 42px; }

/* Ablauf-Karten (Startseite) */
.ablauf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ablauf-card { position: relative; background: #FFFFFF; border: 1.5px solid #1B3A3F; border-radius: 16px; padding: 34px 14px 30px; text-align: center; box-shadow: 0 4px 24px rgba(27,58,63,0.08); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.ablauf-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(27,58,63,0.14); }
.ablauf-card img { width: 108px; height: 108px; display: block; margin: 18px auto 20px; }
.ablauf-num { position: absolute; top: 16px; left: 16px; width: 32px; height: 32px; border-radius: 50%; background: #1B3A3F; color: #9CC61E; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; }
.ablauf-card h3 { color: #1B3A3F; font-size: 18px; font-weight: 700; padding: 0 12px; margin-bottom: 10px; }
.ablauf-card p { color: #6B6F76; font-size: 14px; line-height: 1.6; padding: 0 12px; }
@media (max-width: 1024px) { .ablauf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ablauf-grid { grid-template-columns: 1fr; } }

/* Telefon in der Kopfleiste */
.nav-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #1B3A3F; white-space: nowrap; margin-left: 20px; margin-right: 14px; }
.nav-phone:hover { color: #6e8f12; }
@media (max-width: 1180px) { .nav-phone span { display: none; } .nav-phone { margin: 0 10px 0 16px; width: 40px; height: 40px; justify-content: center; border: 1.5px solid #1B3A3F; border-radius: 50%; } }
@media (max-width: 900px) { .container-nav > .nav-phone { display: none !important; } }

/* Vertrauensleiste im Hero */
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 12px; padding-top: 20px; border-top: 1px solid rgba(27,58,63,0.12); }
.hero-trust-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #444A50; }
.hero-trust-item strong { color: #1B3A3F; }
.hero-stars { color: #9CC61E; letter-spacing: 2px; font-size: 15px; }
@media (max-width: 900px) { .hero-br { display: none; } .hero-trust { gap: 8px 16px; } .hero-trust-item { font-size: 13px; } }
@media (max-width: 1400px) and (min-width: 901px) { .container-nav { padding: 0 56px; } }


/* Hero: dezente Bewegung */
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes heroFadeIn { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.hero-section .container.row > div:first-child > * { animation: heroFadeUp 0.7s ease-out both; }
.hero-section .container.row > div:first-child > *:nth-child(2) { animation-delay: 0.1s; }
.hero-section .container.row > div:first-child > *:nth-child(3) { animation-delay: 0.2s; }
.hero-section .container.row > div:first-child > *:nth-child(4) { animation-delay: 0.3s; }
.hero-photo { animation: heroFadeIn 0.9s ease-out 0.15s both; }
.hero-blob-bg { animation: heroFadeIn 1s ease-out 0s both; }
.hero-badge-secondary { animation: heroFadeUp 0.7s ease-out 0.6s both, heroFloat 5s ease-in-out 1.4s infinite; }
.hero-badge-rating { animation: heroFadeUp 0.7s ease-out 0.75s both, heroFloat 6s ease-in-out 1.8s infinite; }
@media (prefers-reduced-motion: reduce) { .hero-section *, .hero-section *::before { animation: none !important; } }

/* Ablauf-Karten: lebhafter */
.ablauf-card { border: 1.5px solid #1B3A3F; border-top: 5px solid #9CC61E; padding: 44px 14px 30px; background: linear-gradient(180deg, rgba(156,198,30,0.09) 0%, #FFFFFF 46%); }
.ablauf-card:hover { border-color: #1B3A3F; border-top-color: #9CC61E; }
.ablauf-num { top: -20px; left: 50%; transform: translateX(-50%); width: 38px; height: 38px; background: #9CC61E; color: #1B3A3F; font-size: 17px; box-shadow: 0 0 0 5px #FFFFFF, 0 6px 14px rgba(27,58,63,0.18); }
.ablauf-card img { width: 124px; height: 124px; box-sizing: border-box; padding: 24px; margin: 4px auto 22px; background: #FFFFFF; border-radius: 50%; box-shadow: 0 0 0 8px rgba(156,198,30,0.16), 0 8px 22px rgba(27,58,63,0.10); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.ablauf-card:hover img { transform: scale(1.06) rotate(-3deg); box-shadow: 0 0 0 10px rgba(156,198,30,0.3), 0 10px 26px rgba(27,58,63,0.14); }
.ablauf-card h3::after { content: ''; display: block; width: 32px; height: 3px; border-radius: 2px; background: #9CC61E; margin: 12px auto 0; }
.ablauf-card p { margin-top: 12px; }
.ablauf-grid { gap: 36px 24px; padding-top: 20px; }
.ablauf-card.reveal { opacity: 0; transform: translateY(24px); }
.ablauf-card.reveal.in { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; transition-delay: var(--d, 0s); }
@media (prefers-reduced-motion: reduce) { .ablauf-card.reveal { opacity: 1; transform: none; } }

/* Leistungskarten: lebhafter */
.leistung-card { border-top: 5px solid #9CC61E !important; background: linear-gradient(180deg, rgba(156,198,30,0.09) 0%, #FFFFFF 42%); padding-top: 36px !important; }
.leistung-card .service-icon { width: 84px; height: 84px; box-sizing: border-box; padding: 14px; background: #FFFFFF; border-radius: 50%; box-shadow: 0 0 0 6px rgba(156,198,30,0.16), 0 6px 16px rgba(27,58,63,0.10); transition: transform 0.3s ease, box-shadow 0.3s ease; margin: 4px 0 6px 6px; }
.leistung-card:hover .service-icon { transform: scale(1.07) rotate(-3deg); box-shadow: 0 0 0 8px rgba(156,198,30,0.3), 0 8px 20px rgba(27,58,63,0.14); }
.leistung-card h3 { margin-top: 12px; }
.leistung-card a svg { transition: transform 0.2s ease; }
.leistung-card:hover a svg { transform: translateX(5px); }
.leistung-card.reveal { opacity: 0; transform: translateY(24px); }
.leistung-card.reveal.in { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; transition-delay: var(--d, 0s); }
@media (prefers-reduced-motion: reduce) { .leistung-card.reveal { opacity: 1; transform: none; } }
.leistung-card h3 { hyphens: manual !important; -webkit-hyphens: manual !important; }

/* Leistungskarten: eigener Look (Kachel-Icon, Eck-Pfeil, dunkles Hover) */
.leistung-card { position: relative; background: #FFFFFF; border-top: 1.5px solid #1B3A3F !important; padding-top: 32px !important; transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease; }
.leistung-card[style*="9CC61E"] { border-top-color: #9CC61E !important; }
.leistung-card .service-icon { width: 72px; height: 72px; padding: 12px; border-radius: 18px; background: rgba(156,198,30,0.14); box-shadow: none; margin: 0 0 8px 0; }
.leistung-card:hover .service-icon { background: #FBF7F0; transform: none; box-shadow: none; }
.leistung-card::after { content: ''; position: absolute; top: 24px; right: 24px; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid rgba(27,58,63,0.25); background: no-repeat center/16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B3A3F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E"); transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease; }
.leistung-card:hover { background: #1B3A3F; }
.leistung-card:hover::after { background-color: #9CC61E; border-color: #9CC61E; transform: rotate(45deg); }
.leistung-card:hover h3 { color: #FBF7F0 !important; }
.leistung-card:hover p { color: rgba(251,247,240,0.78) !important; }
.leistung-card:hover > a, .leistung-card:hover > a svg path { color: #9CC61E !important; stroke: #9CC61E; }
.leistung-card:hover > a svg path { stroke: #9CC61E !important; }
@media (min-width: 901px) { .hero-visual { transform: translateY(-32px); } }

/* Leistungen-Dropdown: aufgeräumt */
.nav-dropdown-menu-inner { width: 740px; }
.nav-dropdown-grid { row-gap: 4px; grid-auto-rows: 1fr; }
.nav-dropdown-item { position: relative; align-items: center; padding: 14px 40px 14px 12px; border-bottom: none !important; }
.nav-dropdown-item:hover { background: rgba(156,198,30,0.09); transform: none; }
.nav-dropdown-item::after { content: '→'; position: absolute; right: 14px; top: 50%; transform: translate(-6px, -50%); opacity: 0; color: #1B3A3F; font-weight: 700; transition: opacity 0.2s ease, transform 0.2s ease; }
.nav-dropdown-item:hover::after { opacity: 1; transform: translate(0, -50%); }
.nav-dropdown-item .icon-tile:has(> .service-icon) { width: 54px; height: 54px; flex-shrink: 0; background: rgba(156,198,30,0.14); border-radius: 14px; display: flex; align-items: center; justify-content: center; box-shadow: none; transition: background 0.2s ease; }
.nav-dropdown-item:hover .icon-tile:has(> .service-icon) { background: #FFFFFF; }
.nav-dropdown-item .icon-tile > .service-icon { width: 40px; height: 40px; }
.nav-dropdown-item-title { hyphens: manual; -webkit-hyphens: manual; }
.nav-pill { display: inline-block; background: #9CC61E; color: #1B3A3F; font-size: 10.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 2px 9px; border-radius: 999px; }
.nav-dropdown-footer span { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.nav-dropdown-phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #1B3A3F; font-size: 13px; white-space: nowrap; }
.nav-dropdown-phone:hover { color: #6e8f12; }
@media (max-width: 900px) { .nav-dropdown-menu-inner { width: 100%; } .nav-dropdown-item { padding-right: 12px; } .nav-dropdown-item::after { display: none; } }


/* ===== Smartphone-Optimierung ===== */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (max-width: 900px) {
  .hero-trust-item:nth-child(n+2) { display: none; }
  .hero-badge-secondary, .hero-badge-rating { display: none !important; }
  .hero-photo { max-height: 340px; }
  .hero-section p { font-size: 16px !important; }
  [style*="font-size: 12px"], [style*="font-size: 13px"] { font-size: 14px !important; }
  .hero-trust-item { font-size: 14px; }
  footer a { display: inline-block; padding: 10px 0; }
  footer .footer-grid a[aria-label] { padding: 0; }
  .related-link { padding: 12px 0; }
  .exit-popup-close { width: 44px !important; height: 44px !important; }
  .btn-primary, .btn-outline { min-height: 48px; }
  .faq-item summary { min-height: 48px; }
  .container-nav a, .nav-links a { min-height: 44px; display: flex; align-items: center; }
}
@media (max-width: 900px) {
  .partner-marquee-caption, .rv-note, .rv-chips span, .rv-card figcaption small, .exit-popup-disclaimer, #map-consent p, #map-consent a, .form-consent span, .cb-box .d { font-size: 14px !important; }
  a[style*="margin-top: 14px"], a[style*="margin-top: 18px"], footer a, #map-consent a, #map-consent button, .related-link { min-height: 44px; display: inline-flex; align-items: center; }
  footer .footer-grid a[aria-label] { min-height: 0; }
}
@media (max-width: 900px) { .breadcrumb a { display: inline-block; padding: 12px 2px; } .breadcrumb { line-height: 1.2; } }
