/* ============================================================
   Carplus Web-Framework — Maße, Schrift und Bewegung nach apple.com (gemessen 29.10.2026),
   Farben/Schrift aus carplus/tokens.css. Doku: docs/website-framework.md
   Stufen: L ≥ 1069 px (Desktop) · M 735–1068 px (iPad) · S ≤ 734 px (Handy)
   ============================================================ */

:root {
  /* Inhaltsbreite: 87,5 % der Fensterbreite, höchstens 1260 px */
  --fw-wrap: min(87.5vw, 1260px);
  --fw-narrow: 760px;
  /* Abstände */
  --fw-section: 144px;
  --fw-section-after-gallery: 216px;
  --fw-head-gap: 56px;
  --fw-gap-row: 24px;
  --fw-gap-col: 20px;
  --fw-tile-pad: 40px;
  --fw-radius: 28px;
  --fw-radius-sm: 18px;
  --fw-subnav-h: 52px;
  /* Schrift: Größe / Zeilenhöhe */
  --fw-hero: 80px;      --fw-hero-lh: 84px;
  --fw-headline: 48px;  --fw-headline-lh: 52px;
  --fw-card-title: 28px; --fw-card-title-lh: 32px;
  --fw-eyebrow: 24px;   --fw-eyebrow-lh: 28px;
  --fw-lead: 21px;      --fw-lead-lh: 29px;
  --fw-body: 17px;      --fw-body-lh: 25px;
  --fw-small-head: 17px; --fw-small-head-lh: 21px;
  --fw-caption: 14px;   --fw-caption-lh: 18px;
  --fw-fine: 12px;      --fw-fine-lh: 16px;
  /* Bewegung */
  --fw-ease: cubic-bezier(.4, 0, .2, 1);
  --fw-reveal-y: 30px;
  --fw-reveal-dur: 800ms;
  --fw-stagger: 80ms;
  /* Flächen */
  --fw-gray: #F5F5F7;
  --fw-dark: #111214;
  --fw-dark-tile: #1D1D20;
  --fw-dark-text: #A1A1A6;
  --fw-header-h: 76px;
}
@media (max-width: 1068px) {
  :root {
    --fw-section: 120px; --fw-section-after-gallery: 206px; --fw-head-gap: 48px; --fw-tile-pad: 36px;
    --fw-hero: 64px; --fw-hero-lh: 68px;
    --fw-headline: 40px; --fw-headline-lh: 44px;
    --fw-card-title: 24px; --fw-card-title-lh: 28px;
    --fw-eyebrow: 21px; --fw-eyebrow-lh: 25px;
    --fw-lead: 19px; --fw-lead-lh: 27px;
  }
}
@media (max-width: 734px) {
  :root {
    --fw-section: 112px; --fw-section-after-gallery: 196px; --fw-head-gap: 40px; --fw-tile-pad: 28px;
    --fw-gap-row: 16px; --fw-gap-col: 16px;
    --fw-hero: 48px; --fw-hero-lh: 52px;
    --fw-headline: 32px; --fw-headline-lh: 36px;
    --fw-card-title: 21px; --fw-card-title-lh: 25px;
    --fw-lead: 17px; --fw-lead-lh: 25px;
    --fw-small-head: 14px; --fw-small-head-lh: 20px;
  }
}

/* ---------- Grundlagen ---------- */
.fw-wrap, .topic > .wrap, .hero2 > .wrap, .fw-page .wrap { max-width: none; width: var(--fw-wrap); padding: 0; margin: 0 auto; }
.fw-narrow { max-width: var(--fw-narrow); }
.fw-center { text-align: center; margin-left: auto; margin-right: auto; }
[id] { scroll-margin-top: calc(var(--fw-header-h) + var(--fw-subnav-h) + 12px); }

/* Knöpfe: Carplus-Farben, Apple-Pillenform */
.btn { border-radius: 980px; }
.btn--lg { padding: 16px 30px; font-size: 17px; }

/* ---------- Schrift ---------- */
.fw-hero, .hero2__title { font-size: var(--fw-hero); line-height: var(--fw-hero-lh); font-weight: var(--fw-bold); letter-spacing: -0.03em; color: var(--ink); }
.fw-headline, .topic__title { font-size: var(--fw-headline); line-height: var(--fw-headline-lh); font-weight: var(--fw-bold); letter-spacing: -0.02em; color: var(--ink); margin: 0 0 18px; }
.fw-eyebrow-lg, .hero2__eyebrow { font-size: var(--fw-eyebrow); line-height: var(--fw-eyebrow-lh); font-weight: var(--fw-bold); color: var(--ink-2); }
.fw-lead, .topic__lead { font-size: var(--fw-lead); line-height: var(--fw-lead-lh); color: var(--ink-3); max-width: var(--fw-narrow); margin: 0 0 var(--fw-head-gap); }
.fw-body { font-size: var(--fw-body); line-height: var(--fw-body-lh); color: var(--ink-2); }
.fw-caption { font-size: var(--fw-caption); line-height: var(--fw-caption-lh); color: var(--ink-3); }
.fw-fine { font-size: var(--fw-fine); line-height: var(--fw-fine-lh); color: var(--ink-3); }
.eyebrow { margin-bottom: 14px; }

/* ---------- Abschnitte ---------- */
.topic { padding: var(--fw-section) 0; }
.topic--gray { background: var(--fw-gray); }
.topic--dark { background: var(--fw-dark); color: #f5f5f7; }
.topic--dark .topic__title, .topic--dark .fw-headline { color: #fff; }
.topic--dark .topic__lead, .topic--dark .fw-lead { color: var(--fw-dark-text); }
.topic--dark .eyebrow { color: var(--cp-green); }
.topic--tight { padding-top: calc(var(--fw-section) / 2); }
.topic--after-gallery { padding-bottom: var(--fw-section-after-gallery); }
.topic__head--center { text-align: center; }
.topic__head--center .topic__lead { margin-left: auto; margin-right: auto; }

/* ---------- Sprungleiste (Local Nav) ---------- */
.subnav { position: sticky; top: var(--fw-header-h); z-index: 50; height: var(--fw-subnav-h); background: rgba(255,255,255,.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); }
.subnav__inner { width: var(--fw-wrap); margin: 0 auto; height: 100%; display: flex; align-items: center; justify-content: flex-start; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 0; }
.subnav__inner::-webkit-scrollbar { display: none; }
/* mittig, solange alles passt; sonst links beginnend scrollbar (kein abgeschnittener erster Eintrag) */
.subnav__inner > a:first-child { margin-left: auto; }
.subnav__inner > a:last-child { margin-right: auto; }
.subnav a { flex: 0 0 auto; font-size: 14px; font-weight: var(--fw-semibold); color: var(--ink-2); padding: 6px 14px; border-radius: 980px; transition: background-color .25s ease, color .25s ease; }
.subnav a:hover { background: var(--fw-gray); color: var(--ink); }
.subnav a.is-current { background: var(--ink); color: #fff; }
@media (max-width: 734px) { .subnav__inner { justify-content: flex-start; width: 100%; padding: 0 6.25vw; } }

/* ---------- Kopfbereich mit Geräten ---------- */
.hero2 { background: linear-gradient(#fff 55%, var(--fw-gray)); padding: 72px 0 64px; overflow: hidden; }
.hero2__text { text-align: center; }
.hero2__eyebrow { margin-bottom: 8px; }
.hero2__sub { font-size: calc(var(--fw-headline) * .75); line-height: 1.2; font-weight: var(--fw-light); color: var(--ink-3); margin-top: 10px; letter-spacing: -0.01em; }
.hero2__cta { justify-content: center; margin: 32px 0 56px; }
.devices { position: relative; width: 100%; max-width: 1100px; margin: 0 auto; aspect-ratio: 1100 / 640; }
.device { position: absolute; }
.device__bezel { background: #1d1d1f; overflow: hidden; position: relative; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35), 0 0 0 1px rgba(0,0,0,.06); }
.device__bezel img { width: 100%; height: auto; display: block; }
.device--desktop { left: 13%; width: 74%; top: 0; z-index: 1; }
.device--desktop .device__bezel { padding: 1.1%; border-radius: 1.6% / 2.6%; }
.device--desktop .device__bezel img { border-radius: .4% / .6%; }
.device__neck { width: 16%; height: 0; padding-bottom: 6.5%; margin: 0 auto; background: linear-gradient(90deg, #c7c7cc, #e5e5ea 50%, #c7c7cc); clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%); }
.device__foot { width: 30%; height: 0; padding-bottom: 1.2%; margin: 0 auto; background: #d1d1d6; border-radius: 0 0 40% 40% / 0 0 100% 100%; box-shadow: 0 12px 20px -10px rgba(0,0,0,.35); }
.device--ipad { left: 0; bottom: 3%; width: 41%; z-index: 2; }
.device--ipad .device__bezel { padding: 2.2%; border-radius: 4.8% / 6.8%; }
.device--ipad .device__bezel img { border-radius: 2.4% / 3.4%; }
.device--iphone { right: 3%; bottom: 0; width: 17%; z-index: 3; }
.device--iphone .device__bezel { padding: 4.5%; border-radius: 17% / 7.8%; display: flex; flex-direction: column; }
.device__status { background: #fff; display: flex; align-items: center; justify-content: space-between; padding: 0 9%; aspect-ratio: 390 / 46; font-size: clamp(6px, .9vw, 12px); font-weight: var(--fw-bold); color: #111; border-radius: 13% 13% 0 0 / 60% 60% 0 0; position: relative; }
.device--iphone .device__bezel img { border-radius: 0 0 13% 13% / 0 0 6% 6%; }
.device__island { position: absolute; top: 22%; left: 50%; transform: translateX(-50%); width: 32%; height: 62%; background: #000; border-radius: 999px; }
.device__icons { width: 14%; height: 34%; border-radius: 3px; border: 1.5px solid #111; position: relative; }
.device__icons::after { content: ""; position: absolute; inset: 1.5px; right: 25%; background: #111; border-radius: 1px; }
@media (max-width: 734px) { .hero2 { padding: 48px 0 40px; } .hero2__cta { margin: 24px 0 36px; } }

/* ---------- Seitenkopf für Unterseiten ---------- */
.fw-pagehero { padding: calc(var(--fw-section) * .66) 0 calc(var(--fw-section) * .5); text-align: center; }
.fw-pagehero .eyebrow { display: block; }
.fw-pagehero h1 { font-size: var(--fw-hero); line-height: var(--fw-hero-lh); font-weight: var(--fw-bold); letter-spacing: -0.03em; max-width: 980px; margin: 0 auto; }
.fw-pagehero p { font-size: var(--fw-lead); line-height: var(--fw-lead-lh); color: var(--ink-3); max-width: var(--fw-narrow); margin: 20px auto 0; }
.fw-pagehero .btn-row { justify-content: center; margin-top: 32px; }

/* ---------- Kacheln ---------- */
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--fw-gap-row) var(--fw-gap-col); }
.tile { grid-column: span 2; position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--fw-radius); padding: var(--fw-tile-pad) var(--fw-tile-pad) 0; overflow: hidden; min-height: 280px; transition: background-color .344s ease; }
.topic:not(.topic--gray):not(.topic--dark) .tile { background: var(--fw-gray); }
.topic--dark .tile { background: var(--fw-dark-tile); }
.tile--3 { grid-column: span 3; }
.tile--4 { grid-column: span 4; }
.tile--6 { grid-column: span 6; }
.tile__t { font-size: var(--fw-lead); line-height: var(--fw-lead-lh); color: var(--ink-3); padding-bottom: var(--fw-tile-pad); max-width: 560px; }
.tile__t b { color: var(--ink); font-weight: var(--fw-bold); }
.topic--dark .tile__t { color: var(--fw-dark-text); }
.topic--dark .tile__t b { color: #fff; }
.tile__ic { width: 44px; height: 44px; color: var(--cp-green-pressed); margin-bottom: 22px; }
.topic--dark .tile__ic { color: var(--cp-green); }
.tile__ic svg { width: 100%; height: 100%; }
.tile__img { margin-top: auto; margin-right: calc(var(--fw-tile-pad) * -1); }
.tile__img img { width: 100%; display: block; border-radius: 14px 0 0 0; border: 1px solid var(--line); border-right: 0; border-bottom: 0; box-shadow: 0 -6px 30px -14px rgba(0,0,0,.25); }
/* kleine Kacheln + Galerie: App-Seitenleiste abschneiden, Inhalt größer */
.tile--2 .tile__img, .tile--3 .tile__img, .hl__img { overflow: hidden; border-radius: 14px 0 0 0; border: 1px solid var(--line); border-right: 0; border-bottom: 0; box-shadow: 0 -6px 30px -14px rgba(0,0,0,.25); background: #fff; }
.tile--2 .tile__img, .tile--3 .tile__img { height: 250px; }
.tile--2 .tile__img img, .tile--3 .tile__img img, .hl__img img { max-width: none; border: 0; border-radius: 0; box-shadow: none; }
.tile--2 .tile__img img, .tile--3 .tile__img img { width: 170%; margin-left: -29%; }
.tag { align-self: flex-start; display: inline-block; margin-bottom: 16px; font-size: 12px; line-height: 16px; font-weight: var(--fw-bold); letter-spacing: .02em; padding: 4px 10px; border-radius: 980px; }
.tag--pro { background: var(--cp-green-soft); color: var(--cp-green-pressed); }
.tag--mod { background: #EEF0F3; color: var(--ink-2); }
.topic--dark .tag--pro { background: rgba(132,189,63,.18); color: var(--cp-green); }
@media (max-width: 1068px) {
  .tile, .tile--2 { grid-column: span 3; }
  .tile--4, .tile--6 { grid-column: span 6; }
}
@media (max-width: 734px) {
  .tile, .tile--2, .tile--3, .tile--4 { grid-column: span 6; min-height: 0; }
  .tile--2 .tile__img, .tile--3 .tile__img { height: 210px; }
}

/* ---------- Galerie (Highlights) ---------- */
.hl__track { display: grid; grid-auto-flow: column; grid-auto-columns: min(82vw, 600px); gap: var(--fw-gap-col); overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 6.25vw 12px; scroll-padding: 0 6.25vw; scrollbar-width: none; }
@media (min-width: 1441px) { .hl__track { padding-inline: calc((100vw - 1260px) / 2); scroll-padding: 0 calc((100vw - 1260px) / 2); } }
.hl__track::-webkit-scrollbar { display: none; }
.hl__card { scroll-snap-align: start; display: flex; flex-direction: column; height: 620px; background: var(--fw-gray); border-radius: var(--fw-radius); overflow: hidden; }
.hl__text { padding: var(--fw-tile-pad) var(--fw-tile-pad) 0; }
.hl__eyebrow { display: block; font-size: var(--fw-small-head); line-height: var(--fw-small-head-lh); font-weight: var(--fw-bold); color: var(--cp-green-pressed); margin-bottom: 10px; }
.hl__card h3 { font-size: var(--fw-card-title); line-height: var(--fw-card-title-lh); font-weight: var(--fw-bold); letter-spacing: -0.02em; color: var(--ink); }
.hl__card p { font-size: var(--fw-body); line-height: var(--fw-body-lh); color: var(--ink-3); margin-top: 12px; }
.hl__img { margin-top: auto; margin-left: var(--fw-tile-pad); }
.hl__img img { width: 128%; margin-left: -22%; }
.hl__card--dark { background: var(--fw-dark); }
.hl__card--dark h3 { color: #fff; }
.hl__card--dark p { color: var(--fw-dark-text); }
.hl__card--dark .hl__eyebrow { color: var(--cp-green); }
.hl__big { margin: auto var(--fw-tile-pad) 48px; display: flex; flex-direction: column; gap: 6px; font-size: calc(var(--fw-headline) * .95); line-height: 1.1; color: #6e6e73; }
.hl__big b { font-weight: var(--fw-bold); color: #f5f5f7; }
.hl__big b.green { color: var(--cp-green); }
.hl__nav { display: flex; justify-content: flex-end; gap: 14px; margin-top: 20px; }
.hl__btn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(210,210,215,.64); color: rgba(0,0,0,.56); font-size: 22px; line-height: 1; cursor: pointer; padding-bottom: 3px; transition: opacity .2s ease-out, background-color .2s ease-out; }
.hl__btn:hover { background: rgba(223,223,227,.7); color: rgba(0,0,0,.64); }
.hl__btn[disabled] { opacity: .42; cursor: default; }
@media (max-width: 734px) { .hl__card { height: 520px; } }

/* ---------- Kleine Kacheln „Und noch so viel mehr“ ---------- */
.more { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--fw-gap-row) var(--fw-gap-col); }
.more__item { position: relative; background: var(--fw-gray); border-radius: var(--fw-radius-sm); padding: 28px 24px 26px; }
.topic--gray .more__item { background: #fff; }
.more__ic { width: 34px; height: 34px; color: var(--cp-green-pressed); margin-bottom: 16px; }
.more__ic svg { width: 100%; height: 100%; }
.more__item h3 { font-size: var(--fw-small-head); line-height: var(--fw-small-head-lh); font-weight: var(--fw-bold); color: var(--ink); margin-bottom: 6px; overflow-wrap: anywhere; hyphens: auto; }
.more__item p { font-size: var(--fw-caption); line-height: 1.45; color: var(--ink-3); }
.more__item .tag { margin: 12px 0 0; }
@media (max-width: 1068px) { .more { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 734px) { .more__item { padding: 22px 18px; } }

/* ---------- Schritte ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--fw-gap-col); }
.step { background: #fff; border-radius: var(--fw-radius); padding: var(--fw-tile-pad); }
.topic:not(.topic--gray) .step { background: var(--fw-gray); }
.step__n { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cp-green); color: #fff; font-weight: var(--fw-bold); font-size: 20px; margin-bottom: 20px; }
.step h3 { font-size: var(--fw-card-title); line-height: var(--fw-card-title-lh); font-weight: var(--fw-bold); margin-bottom: 8px; }
.step p { font-size: var(--fw-body); line-height: var(--fw-body-lh); color: var(--ink-3); }
.steps__note { margin-top: 28px; font-size: var(--fw-caption); color: var(--ink-3); }
@media (max-width: 734px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Text + Bild nebeneinander (Funktionsseite) ---------- */
.fw-split { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.fw-split--rev { grid-template-columns: 7fr 5fr; }
.fw-split--rev .fw-split__media { order: -1; }
.fw-split__media img { width: 100%; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgba(0,0,0,.3); }
.fw-list { margin-top: 24px; display: grid; gap: 12px; }
.fw-list li { font-size: var(--fw-body); line-height: var(--fw-body-lh); color: var(--ink-2); padding-left: 28px; position: relative; }
.fw-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 8px; border-left: 2px solid var(--cp-green); border-bottom: 2px solid var(--cp-green); transform: rotate(-45deg); }
.fw-list li b { color: var(--ink); }
.topic--dark .fw-list li { color: var(--fw-dark-text); }
.topic--dark .fw-list li b { color: #fff; }
@media (max-width: 1068px) { .fw-split, .fw-split--rev { grid-template-columns: 1fr; gap: 36px; } .fw-split--rev .fw-split__media { order: 0; } }

/* ---------- Preise ---------- */
.billing-toggle { display: flex; width: max-content; margin: 0 auto 40px; padding: 4px; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 980px; }
.billing-toggle button { border: 0; background: transparent; font: inherit; font-size: 15px; font-weight: var(--fw-bold); color: var(--ink-2); padding: 10px 22px; border-radius: 980px; cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.billing-toggle button.is-active { background: var(--ink); color: #fff; }
.billing-toggle__save { font-size: 12px; margin-left: 4px; color: var(--cp-green-pressed); }
.billing-toggle button.is-active .billing-toggle__save { color: var(--cp-green); }
.fw-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--fw-gap-col); align-items: stretch; }
.fw-plan { background: #fff; border-radius: var(--fw-radius); padding: var(--fw-tile-pad); display: flex; flex-direction: column; position: relative; }
.topic:not(.topic--gray) .fw-plan { background: var(--fw-gray); }
.fw-plan--feature { box-shadow: 0 0 0 2px var(--cp-green); }
.fw-plan__flag { position: absolute; top: -13px; left: var(--fw-tile-pad); background: var(--cp-green); color: #fff; font-size: 12px; font-weight: var(--fw-bold); padding: 5px 12px; border-radius: 980px; }
.fw-plan__name { font-size: var(--fw-card-title); line-height: var(--fw-card-title-lh); font-weight: var(--fw-bold); }
.fw-plan__desc { font-size: var(--fw-body); line-height: var(--fw-body-lh); color: var(--ink-3); margin-top: 8px; min-height: 50px; }
.fw-plan__price { font-size: var(--fw-headline); line-height: var(--fw-headline-lh); font-weight: var(--fw-bold); letter-spacing: -0.02em; margin-top: 24px; }
.fw-plan__price span { display: inline-block; font-size: var(--fw-body); font-weight: var(--fw-regular); color: var(--ink-3); letter-spacing: 0; }
.fw-plan__year { font-size: var(--fw-caption); color: var(--ink-3); margin-top: 6px; }
.fw-plan__offer { margin-top: 14px; padding: 10px 14px; border-radius: 14px; background: var(--cp-green-soft); color: var(--ink-2); font-size: var(--fw-caption); line-height: 1.4; }
.fw-plan .fw-list { margin: 24px 0 28px; flex: 1; align-content: start; }
.fw-plan .btn { justify-content: center; }
.fw-compare { width: 100%; border-collapse: collapse; font-size: var(--fw-body); }
.fw-compare th, .fw-compare td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.fw-compare th:first-child, .fw-compare td:first-child { text-align: left; }
.fw-compare thead th { font-size: var(--fw-small-head); position: sticky; top: calc(var(--fw-header-h) + var(--fw-subnav-h)); background: #fff; z-index: 1; }
.fw-compare .fw-compare__group td { padding-top: 32px; font-weight: var(--fw-bold); font-size: var(--fw-small-head); border-bottom: 2px solid var(--ink); }
.fw-compare .yes { color: var(--cp-green-pressed); font-weight: var(--fw-bold); }
.fw-compare .no { color: #C7C7CC; }
.fw-compare .addon { font-size: var(--fw-caption); color: var(--ink-3); }
.fw-compare-wrap { overflow-x: auto; }
.fw-price-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--fw-gap-col); }
.fw-price-list > div { background: #fff; border-radius: var(--fw-radius); padding: var(--fw-tile-pad); }
.topic:not(.topic--gray) .fw-price-list > div { background: var(--fw-gray); }
.fw-price-list h3 { font-size: var(--fw-card-title); line-height: var(--fw-card-title-lh); font-weight: var(--fw-bold); margin-bottom: 18px; }
.fw-price-list li { display: flex; justify-content: space-between; gap: 16px; font-size: var(--fw-body); line-height: var(--fw-body-lh); color: var(--ink-2); padding: 12px 0; border-bottom: 1px solid var(--line); }
.fw-price-list li b { white-space: nowrap; color: var(--ink); }
@media (max-width: 1068px) { .fw-plans { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
@media (max-width: 734px) { .fw-price-list { grid-template-columns: 1fr; } .fw-compare { font-size: 14px; } .fw-compare th, .fw-compare td { padding: 12px 6px; } }

/* ---------- Fragen und Antworten ---------- */
.fw-faq { max-width: 860px; margin: 0 auto; }
.fw-faq details { border-bottom: 1px solid var(--line); }
.fw-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-size: var(--fw-lead); line-height: var(--fw-lead-lh); font-weight: var(--fw-bold); color: var(--ink); }
.fw-faq summary::-webkit-details-marker { display: none; }
.fw-faq summary::after { content: "+"; font-weight: var(--fw-light); font-size: 28px; line-height: 1; color: var(--ink-3); transition: transform .3s var(--fw-ease); }
.fw-faq details[open] summary::after { transform: rotate(45deg); }
.fw-faq details p { font-size: var(--fw-body); line-height: var(--fw-body-lh); color: var(--ink-2); padding: 0 0 24px; max-width: 760px; }

/* ---------- Abschlussband ---------- */
.fw-cta { background: var(--fw-dark); color: #fff; text-align: center; padding: var(--fw-section) 0; }
.fw-cta h2 { font-size: var(--fw-hero); line-height: var(--fw-hero-lh); font-weight: var(--fw-bold); letter-spacing: -0.03em; color: #fff; }
.fw-cta p { font-size: var(--fw-lead); line-height: var(--fw-lead-lh); color: var(--fw-dark-text); max-width: var(--fw-narrow); margin: 18px auto 0; }
.fw-cta .btn-row { justify-content: center; margin-top: 36px; }
.fw-cta .btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.5); background: transparent; }
.fw-cta .btn--ghost-light:hover { background: #fff; color: var(--ink); }

/* ---------- Formular ---------- */
.fw-form { display: grid; gap: 18px; }
.fw-form label { display: grid; gap: 8px; font-size: var(--fw-caption); font-weight: var(--fw-bold); color: var(--ink-2); }
.fw-form input, .fw-form select, .fw-form textarea { font: inherit; font-size: var(--fw-body); padding: 14px 16px; border: 1px solid #D2D2D7; border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
.fw-form input:focus, .fw-form select:focus, .fw-form textarea:focus { outline: none; border-color: var(--cp-green); box-shadow: 0 0 0 4px rgba(132,189,63,.2); }
.fw-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 734px) { .fw-form__row { grid-template-columns: 1fr; } }

/* ---------- Einblenden beim Scrollen (Apple „staggered“): 30 px, ~800 ms, gestaffelt ---------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(var(--fw-reveal-y)); transition: opacity var(--fw-reveal-dur) var(--fw-ease), transform calc(var(--fw-reveal-dur) * .8) var(--fw-ease); transition-delay: calc(var(--fw-i, 0) * var(--fw-stagger)); will-change: opacity, transform; }
  .reveal.in { opacity: 1; transform: none; }
}

/* ---------- Bildergalerie je Modul (Funktionsseite) ---------- */
.hl--shots { margin-top: var(--fw-head-gap); }
.hl--shots .hl__track { grid-auto-columns: min(84vw, 860px); }
.shot { scroll-snap-align: start; margin: 0; }
.shot img { width: 100%; display: block; border-radius: var(--fw-radius-sm); border: 1px solid var(--line); box-shadow: 0 24px 50px -28px rgba(0,0,0,.35); }
.shot figcaption { font-size: var(--fw-caption); line-height: var(--fw-caption-lh); color: var(--ink-3); margin-top: 14px; max-width: 640px; }
.shot figcaption b { color: var(--ink); }
.topic .eyebrow + .tag { margin: 0 0 14px 10px; vertical-align: 1px; }

/* ---------- Kleinteile in Framework-Abschnitten ---------- */
.topic .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.topic .team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--fw-gap-col); }
.topic .team__card { background: var(--fw-gray); border-radius: var(--fw-radius-sm); padding: 28px 20px; text-align: center; }
@media (max-width: 734px) { .topic .team { grid-template-columns: 1fr; } }

/* ---------- Menü auf Handy und iPad (Kopfzeile) ---------- */
.site-menu-btn { display: none; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; padding: 8px; margin-left: 4px; }
.site-menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; margin: 6px 0; transition: transform .3s var(--fw-ease), opacity .2s ease; }
@media (max-width: 960px) {
  .site-menu-btn { display: block; }
  body.nav-open .site-nav { display: flex; position: absolute; top: var(--fw-header-h); left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 6.25vw 20px; background: rgba(255,255,255,.97); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0,0,0,.2); }
  body.nav-open .site-nav a { font-size: 20px; font-weight: var(--fw-bold); padding: 14px 0; border-bottom: 1px solid var(--line-2, #eee); }
  body.nav-open .site-nav a::after { display: none; }
  body.nav-open .site-menu-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  body.nav-open .site-menu-btn span:nth-child(2) { opacity: 0; }
  body.nav-open .site-menu-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* ---------- Rechtsseiten (Impressum, Datenschutz) ---------- */
.fw-pagehero--compact { padding-bottom: 0; }
.fw-pagehero--compact h1 { font-size: var(--fw-headline); line-height: var(--fw-headline-lh); }
.fw-legal { max-width: var(--fw-narrow); margin: 0 auto; font-size: var(--fw-body); line-height: var(--fw-body-lh); color: var(--ink-2); }
.fw-legal h2 { font-size: var(--fw-card-title); line-height: var(--fw-card-title-lh); font-weight: var(--fw-bold); color: var(--ink); margin: 56px 0 14px; letter-spacing: -0.01em; }
.fw-legal h2:first-child { margin-top: 0; }
.fw-legal h3 { font-size: var(--fw-small-head); line-height: var(--fw-small-head-lh); font-weight: var(--fw-bold); color: var(--ink); margin: 24px 0 6px; }
.fw-legal p, .fw-legal ul { margin: 0 0 14px; }
.fw-legal ul { padding-left: 22px; }
.fw-legal a { color: var(--cp-green-pressed); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.fw-legal code { font-size: .9em; background: var(--fw-gray); padding: 1px 6px; border-radius: 6px; }
.fw-legal__stand { font-size: var(--fw-caption); color: var(--ink-3); }
.fw-legal__toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 48px; }
.fw-legal__toc a { font-size: var(--fw-caption); line-height: 1; padding: 9px 14px; border-radius: 980px; background: var(--fw-gray); color: var(--ink-2); text-decoration: none; }
.fw-legal__toc a:hover { background: var(--cp-green-soft); color: var(--ink); }

/* ---------- Einwilligung (Google Analytics nur nach Zustimmung) ---------- */
.consent-open { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.consent-open:hover { color: #fff; }
.consent { position: fixed; z-index: 200; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(640px, calc(100vw - 32px));
  background: #fff; color: var(--ink-2); border-radius: var(--fw-radius-sm); box-shadow: 0 12px 40px rgba(17,18,20,.22); padding: 24px 26px; }
.consent[hidden] { display: none; }
.consent h2 { font-size: 19px; line-height: 24px; font-weight: var(--fw-bold); color: var(--ink); margin: 0 0 8px; }
.consent p { font-size: 15px; line-height: 22px; margin: 0 0 18px; }
.consent a { color: var(--cp-green-pressed); text-decoration: underline; }
.consent__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.consent__btns .btn { flex: 1 1 200px; justify-content: center; }
@media (max-width: 734px) { .consent { bottom: 12px; padding: 20px; } }

/* ---------- Funktionsseiten (/funktionen/<slug>/) ---------- */
.crumbs { padding-top: 20px; font-size: var(--fw-caption); color: var(--ink-3); }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-current] { color: var(--ink-2); }
.fw-pagehero .tag { margin: 0 0 0 8px; vertical-align: 2px; }
.fw-benefits .tile { min-height: 0; padding-bottom: var(--fw-tile-pad); }
.fw-benefits .tile__t { padding-bottom: 0; font-size: var(--fw-body); line-height: var(--fw-body-lh); }
.fw-know { max-width: var(--fw-narrow); }
.fw-know p { font-size: var(--fw-lead); line-height: var(--fw-lead-lh); color: var(--ink-2); margin: 0 0 18px; }
.fw-know p.fw-fine { font-size: var(--fw-fine); line-height: var(--fw-fine-lh); color: var(--ink-3); }
a.more__item { display: block; color: inherit; text-decoration: none; transition: background-color .344s ease; }
a.more__item:hover { background: var(--cp-green-soft); }
a.more__item h3::after { content: " ›"; color: var(--cp-green-pressed); }
.more--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fw-more-links { margin-top: 22px; font-size: var(--fw-body); color: var(--ink-3); }
.fw-more-links a { color: var(--cp-green-pressed); font-weight: var(--fw-bold); margin-right: 18px; white-space: nowrap; }
@media (max-width: 1068px) { .fw-benefits .tile { grid-column: span 3; } .more--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 734px) { .fw-benefits .tile { grid-column: span 6; } .more--3 { grid-template-columns: 1fr; } .fw-more-links a { white-space: normal; display: inline-block; margin-bottom: 6px; } }
/* Lange Komposita („Differenzbesteuerung“) in großen Überschriften trennen statt seitlich überlaufen */
.fw-pagehero h1, .topic__title { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
/* Vertrauenszeile unter den Knöpfen der Startseite */
.hero2__trust { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; margin: 0 auto 8px; font-size: var(--fw-body); line-height: var(--fw-body-lh); color: var(--ink-2); font-weight: var(--fw-bold); text-align: left; }
.hero2__cta:has(+ .hero2__trust) { margin-bottom: 22px; }
.hero2__trust svg { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--cp-green-soft); fill: none; stroke: var(--cp-green-pressed); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 734px) { .hero2__trust { font-size: var(--fw-caption); line-height: 1.4; max-width: 330px; } }

/* ---------- Über uns: Ansprechpartner + Referenz ---------- */
.topic .about-side { display: grid; gap: var(--fw-gap-col); align-content: start; }
.topic .contact-card { display: flex; gap: 20px; align-items: center; background: var(--fw-gray); border-radius: var(--fw-radius-sm); padding: 28px; }
.topic .contact-card__avatar { flex: 0 0 72px; height: 72px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 30px; color: var(--cp-green); }
.topic .contact-card__label { font-size: 13px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
.topic .contact-card__name { font-size: 22px; font-weight: var(--fw-bold); margin: 2px 0 6px; }
.topic .contact-card__links { margin: 0; font-size: 16px; line-height: 1.6; }
.topic .ref-card { display: block; border: 1px solid var(--line); border-radius: var(--fw-radius-sm); padding: 28px; color: var(--ink); text-decoration: none; transition: border-color .2s ease, box-shadow .2s ease; }
.topic .ref-card:hover { border-color: var(--cp-green); box-shadow: 0 18px 40px -28px rgba(0,0,0,.35); }
.topic .ref-card img { display: block; width: 160px; height: auto; margin-bottom: 16px; }
.topic .ref-card p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-2, var(--ink)); }
.topic .ref-card__more { display: inline-block; margin-top: 6px; color: var(--cp-green-d, var(--cp-green)); font-weight: var(--fw-bold); }

/* ---------- Einführungsangebot: Angebotspreis groß, Normalpreis klein ---------- */
.fw-plan__was { margin-top: 24px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: var(--fw-body); color: var(--ink-3); }
.fw-plan__was s { text-decoration-thickness: 1.5px; }
.fw-plan__badge { display: inline-block; padding: 4px 10px; border-radius: 980px; background: var(--cp-green-soft); color: var(--cp-green-pressed); font-size: 13px; font-weight: var(--fw-bold); }
.fw-plan__was + .fw-plan__price--offer { margin-top: 6px; color: var(--cp-green-pressed); }
.fw-plan__then { margin: 6px 0 0; font-size: var(--fw-caption); color: var(--ink-3); }
