/* ============================================================
   Features-Bereichsseiten (Detail) · gemeinsames Stylesheet
   Öffentliche Seiten, light-only. Nutzt die App-Tokens aus
   style.css und ergänzt – analog zu pages/features.php – einige
   seiten-eigene Akzent-Tokens (Verlauf, Tints, Chips).
   Alles unter .fdp gescoped, damit es die App-Styles nicht stört.
   ============================================================ */

body { background: var(--bg-app); }

/* Kleinen horizontalen Rest (Tabellen etc.) an der Wurzel abschneiden. */
html { overflow-x: hidden; }
/* Wrapper exakt wie AGB/Datenschutz: max. 960px, zentriert. Die Nav bleibt
   wrapper-breit (margin:0 -1.25rem, wie AGB). Farbband-HINTERGRÜNDE sind dagegen
   vollflächig (calc(50% - 50vw)); ihr Inhalt wird per Padding wieder bei 960px
   zentriert und liegt damit bündig unter dem Nav-Inhalt. */
.fdp {
    max-width: 960px; margin: 0 auto; padding: 0 1.25rem;
    --grad: linear-gradient(120deg, #3B82F6 0%, #8B5CF6 100%);
    --grad-soft: linear-gradient(135deg, #EFF4FA 0%, #F3E8FF 100%);
    --violet: #8B5CF6;
    --accent-ink: #2563EB;
    --card-2: #FAFCFF;
    --border-2: #EDF2F9;
    --feat-alt: #EAF0F8;
    --neu-bg: rgba(59,130,246,.12);
    --neu-fg: #1D4ED8;
    --pro-bg: linear-gradient(135deg, #3B82F6, #8B5CF6);
    --r: 18px;
    --maxw: 960px;   /* wie die übrigen öffentlichen Seiten (home, über-uns, adaptive-info) */
    color: var(--text-primary);
    font-family: var(--font);
}
.fdp h1, .fdp h2, .fdp h3 { font-family: var(--font); line-height: 1.15; text-wrap: balance; margin: 0; }
/* Inhalts-Container: Breite/Innenabstand kommen jetzt vom .fdp-Wrapper. */
.fdp-wrap { max-width: none; margin: 0; padding: 0; }
@media (max-width: 640px) { .fdp { padding: 0 1rem; } }

/* Eyebrow – Stil wie auf /home (schlicht, ohne Strich) */
.fdp-eyebrow {
    display: inline-block; font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .13em; color: #64748B; margin: 0 0 .5rem;
}
.fdp .grad-text { color: #2563EB; }

/* ── Chips ── */
.fdp-chip {
    display: inline-flex; align-items: center; gap: .3rem; font-size: .68rem; font-weight: 700;
    letter-spacing: .02em; padding: .16rem .5rem; border-radius: 999px; line-height: 1.4; white-space: nowrap;
}
.fdp-chip-neu,
.fdp-chip-upd  { background: var(--neu-bg); color: var(--neu-fg); }
.fdp-chip-pro  { background: var(--pro-bg); color: #fff; }
.fdp-chip-free { background: rgba(34,197,94,.16); color: #15803D; }
.fdp-chip-role { background: rgba(249,115,22,.14); color: #B45309; }
/* Chip als Link (z. B. Version → Changelog-Eintrag) */
a.fdp-chip { text-decoration: none; cursor: pointer; transition: filter .12s, transform .12s; }
a.fdp-chip:hover { filter: brightness(.95); transform: translateY(-1px); }

/* ── Scroll-Fortschritt (wie die übrigen öffentlichen Seiten) ── */
#scrollProgress {
    position: fixed; top: 0; left: 0; height: 3px; z-index: 9999;
    background: linear-gradient(90deg, var(--primary) 0%, #818CF8 55%, var(--accent) 100%);
    width: 0%; pointer-events: none; box-shadow: 0 0 8px rgba(99,102,241,.6);
}

/* ── Nav (exakt wie AGB/Datenschutz: sticky, wrapper-breit) ──
   Bricht nur per margin:0 -1.25rem bis an die Wrapper-Ränder aus (kein
   bildschirmbreiter Hintergrund), damit Header und Inhalt gleich breit sind. */
.about-nav {
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    position: sticky; top: 0; z-index: 100; background: var(--bg-app);
    padding: 1rem 1.25rem; margin: 0 -1.25rem;
}
/* Bildschirmbreiter, deckender Hintergrund hinter der Nav: der Nav-Kasten ist
   nur wrapper-breit, die fdp-section.alt-Bänder brechen aber full-bleed aus –
   sonst scheinen sie beim Scrollen links/rechts über dem Header durch. */
.about-nav::before {
    content: ''; position: absolute; top: 0; bottom: 0;
    left: calc(50% - 50vw); right: calc(50% - 50vw);
    background: var(--bg-app); z-index: -1;
}
.about-nav-brand { font-size: 1.1rem; font-weight: 800; color: var(--primary); text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.about-nav-links { display: flex; align-items: center; gap: .5rem; flex-shrink: 1; min-width: 0; }
.about-nav-links a {
    font-size: .85rem; font-weight: 600; color: var(--text-muted); text-decoration: none; white-space: nowrap;
    padding: .45rem .9rem; border-radius: var(--radius); transition: background var(--transition), color var(--transition);
}
.about-nav-links a:hover { background: var(--accent-light); color: var(--accent); }
.about-nav-links a.btn-nav { background: var(--primary); color: #fff; border: 1.5px solid transparent; }
.about-nav-links a.btn-nav:hover { background: var(--primary-light); color: #fff; }
.about-nav-links a.btn-nav-ghost { border: 1.5px solid var(--primary); color: var(--primary); }
.about-nav-links a.btn-nav-ghost:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ── Zurück-Link ── */
.fdp-back {
    display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; font-weight: 700;
    color: var(--accent-ink); text-decoration: none; margin: clamp(1rem, 3vw, 1.6rem) 0 0;
}
.fdp-back:hover { text-decoration: underline; }
.fdp-hero .fdp-back { display: block; width: fit-content; margin-bottom: .5rem; }
/* Brotkrümel (Unterseiten): „← Alle Features › <Bereich>". */
.fdp-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; font-size: .85rem; font-weight: 700; margin: clamp(1rem, 3vw, 1.6rem) 0 .5rem; }
.fdp-crumbs a { color: var(--accent-ink); text-decoration: none; }
.fdp-crumbs a:hover { text-decoration: underline; }
.fdp-crumb-sep { color: var(--text-muted); font-weight: 400; }

/* ── Hero (2 Spalten: Inhalt links, Vorschaukarte rechts) ── */
.fdp-hero { position: relative; padding: clamp(1.6rem, 5vw, 2.8rem) 0 clamp(1.6rem, 4vw, 2.6rem); }
.fdp-hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.fdp-hero h1 { font-size: clamp(1.5rem, 4vw, 1.9rem); font-weight: 800; color: var(--text-primary); letter-spacing: -.01em; margin: .7rem 0 0; line-height: 1.25; }
.fdp-hero-sub { margin: 1rem 0 0; max-width: 600px; font-size: 1.05rem; color: var(--text-muted); line-height: 1.6; }
/* Vorschaukarte (rechte Spalte) */
.fdp-hero-visual { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-lg); padding: 1.2rem 1.25rem; position: relative; }
.fdp-hero-visual::before {
    content: ""; position: absolute; inset: 0; border-radius: var(--r); padding: 1.5px; pointer-events: none;
    background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55;
}
.fdp-hv-title { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.fdp-hv-rows { display: flex; flex-direction: column; gap: .55rem; margin-top: .8rem; }
.fdp-hv-row { display: flex; align-items: center; gap: .6rem; font-size: .85rem; color: var(--text-secondary); }
.fdp-hv-ic { width: 30px; height: 30px; flex: 0 0 auto; border-radius: 9px; display: grid; place-items: center; font-size: .95rem; background: var(--grad-soft); border: 1px solid var(--border-2); }
.fdp-hv-bar { height: 8px; border-radius: 999px; background: var(--feat-alt); overflow: hidden; flex: 1 1 auto; }
.fdp-hv-bar > span { display: block; height: 100%; border-radius: 999px; background: var(--grad); }
/* Kennzahl-Kacheln in der Vorschaukarte (z. B. Schulhaus-Übersicht) */
.fdp-hv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: .8rem; }
.fdp-hv-stat { text-align: center; background: var(--grad-soft); border: 1px solid var(--border-2); border-radius: 10px; padding: .7rem .3rem; }
.fdp-hv-num { display: block; font-size: 1.2rem; font-weight: 800; color: var(--primary); line-height: 1.1; }
.fdp-hv-lbl { display: block; font-size: .68rem; color: var(--text-muted); margin-top: .2rem; }
/* Bewertungsskala in der Vorschaukarte (z. B. Beurteilen): Kompetenz + 4-Stufen-Skala */
.fdp-hv-scale-rows { display: flex; flex-direction: column; gap: .55rem; margin-top: .85rem; }
.fdp-hv-scale-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; font-size: .85rem; }
.fdp-hv-scale-label { color: var(--text-primary); font-weight: 600; }
/* Bewertungs-Level als farbiges Badge (reale Bewertungsstufen) */
.fdp-hv-lvl { display: inline-block; font-size: .68rem; font-weight: 700; padding: .12rem .55rem; border-radius: 999px; color: #fff; white-space: nowrap; }
/* Punktzahl + Level rechts (fachliche Lernstandserfassung: Punkte → Stufe) */
.fdp-hv-scale-val { display: inline-flex; align-items: center; gap: .5rem; flex: 0 0 auto; }
.fdp-hv-score { font-weight: 800; font-size: .82rem; color: var(--text-primary); }
.fdp-hv-scale-legend { font-size: .62rem; color: var(--text-muted); margin-top: .75rem; text-align: center; letter-spacing: .01em; }
/* Prozent-Wert rechts neben einem Balken (Chart „% erreicht") */
.fdp-hv-name { color: var(--text-primary); font-weight: 600; flex: 0 0 auto; width: 92px; }
.fdp-hv-pct { flex: 0 0 auto; width: 34px; text-align: right; font-weight: 700; color: var(--text-primary); }
/* Berichts-Vorschau (druckfertige PDF-Seite): Unterzeile + Fusszeile mit Pagination */
.fdp-hv-doc-sub { font-size: .74rem; color: var(--text-muted); margin-top: .15rem; }
.fdp-hv-doc-foot { margin-top: .9rem; padding-top: .55rem; border-top: 1px dashed var(--border); font-size: .62rem; color: var(--text-muted); text-align: center; letter-spacing: .01em; }
/* Berichts-Konfiguration (reale Optionen als Toggle-Schalter + Diagramm-Chips) */
.fdp-hv-cfg { display: flex; flex-direction: column; gap: .5rem; margin-top: .85rem; }
.fdp-hv-cfg-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; font-size: .82rem; color: var(--text-secondary); }
.fdp-hv-sw { width: 32px; height: 18px; border-radius: 999px; background: var(--border); position: relative; flex: 0 0 auto; }
.fdp-hv-sw::after { content: ''; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.fdp-hv-sw.on { background: #22C55E; }
.fdp-hv-sw.on::after { left: 16px; }
.fdp-hv-chips { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .6rem; }
.fdp-hv-chip { font-size: .66rem; font-weight: 600; padding: .14rem .55rem; border-radius: 999px; background: var(--grad-soft); border: 1px solid var(--border-2); color: var(--text-secondary); }
/* ── Interaktive Flip-Vorschau (Berichte & Export) ── */
.fdp-hero-visual--flip { background: none; border: none; box-shadow: none; padding: 0; perspective: 1200px; overflow: hidden; transition: height .5s cubic-bezier(.4,0,.2,1); }
.fdp-hero-visual--flip::before { display: none; }
.fdp-flip-inner { display: grid; height: 100%; transform-style: preserve-3d; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.fdp-hero-visual--flip.is-flipped .fdp-flip-inner { transform: rotateY(180deg); }
.fdp-flip-face {
    grid-area: 1 / 1; align-self: start; -webkit-backface-visibility: hidden; backface-visibility: hidden; position: relative;
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r);
    box-shadow: var(--shadow-lg); padding: 1.2rem 1.25rem;
}
.fdp-flip-face::before {
    content: ""; position: absolute; inset: 0; border-radius: var(--r); padding: 1.5px; pointer-events: none;
    background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55;
}
.fdp-flip-back { transform: rotateY(180deg); }
/* Interaktive Steuerelemente (Buttons) */
button.fdp-hv-cfg-row { width: 100%; background: none; border: none; padding: 0; font-family: inherit; cursor: pointer; text-align: left; }
.fdp-hv-sw { transition: background .2s; }
.fdp-hv-sw::after { transition: left .2s; }
button.fdp-hv-chip { cursor: pointer; font-family: inherit; transition: opacity .15s, border-color .15s; }
button.fdp-hv-chip[aria-pressed="false"] { opacity: .4; }
button.fdp-hv-rec-btn { border: none; font-family: inherit; cursor: pointer; }
.fdp-flip-meta { font-size: .72rem; color: var(--text-secondary); margin-top: .7rem; line-height: 1.45; }
/* Kleines Verlauf-Diagramm im erzeugten Bericht */
.fdp-hv-spark-wrap { margin-top: .8rem; }
.fdp-hv-spark-label { font-size: .62rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: .25rem; }
.fdp-hv-spark { display: block; width: 100%; height: 52px; overflow: visible; }
.fdp-flip-back-btn { display: inline-block; margin-top: .8rem; padding: 0; background: none; border: none; font-family: inherit; font-size: .74rem; font-weight: 700; color: var(--accent-ink); cursor: pointer; }
.fdp-flip-back-btn:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .fdp-flip-inner { transition: none; } }
/* Empfehlungs-Karte (reales „Empfehlung für dich") */
.fdp-hv-rec { display: flex; gap: .55rem; align-items: flex-start; margin-top: .8rem; background: linear-gradient(135deg,#eff6ff 0%,#f5f3ff 100%); border: 1px solid #c7d2fe; border-radius: 12px; padding: .7rem .8rem; }
.fdp-hv-rec-ic { font-size: 1.05rem; line-height: 1.3; }
.fdp-hv-rec-name { font-size: .88rem; font-weight: 700; color: var(--text-primary); }
.fdp-hv-rec-help { font-size: .74rem; color: var(--text-muted); margin-top: .15rem; }
.fdp-hv-rec-help strong { color: var(--text-secondary); }
.fdp-hv-rec-meta { font-size: .72rem; color: var(--text-muted); margin-top: .35rem; }
.fdp-hv-rec-actions { margin-top: .6rem; text-align: right; }
.fdp-hv-rec-btn { display: inline-block; background: var(--primary); color: #fff; font-size: .74rem; font-weight: 700; padding: .35rem .85rem; border-radius: 8px; }

/* Überfachliche-Mockup: eine Kompetenz, ganze Klasse antippen (Skala-Pills). */
.fdp-hv-ueb-focus { font-size: .72rem; color: var(--text-muted); margin-top: .2rem; line-height: 1.35; }
.fdp-hv-ueb-rows { display: flex; flex-direction: column; margin-top: .85rem; }
.fdp-hv-ueb-row { display: flex; align-items: center; gap: .7rem; padding: .5rem 0; border-top: 1px solid var(--border); }
.fdp-hv-ueb-row:first-child { border-top: none; }
.fdp-hv-ueb-who { flex: 0 0 84px; min-width: 0; }
.fdp-hv-ueb-name { font-size: .82rem; font-weight: 600; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fdp-hv-ueb-last { font-size: .64rem; color: var(--text-muted); margin-top: .1rem; }
.fdp-hv-ueb-pills { display: flex; gap: .3rem; flex: 1 1 auto; }
.fdp-hv-ueb-pill { flex: 1 1 0; text-align: center; padding: .32rem .2rem; border-radius: 7px; font-size: .68rem; font-weight: 700; white-space: nowrap; border: 1.5px solid var(--border); color: var(--text-muted); background: var(--bg-card); }
.fdp-hv-ueb-pill.on { color: #fff; border-color: transparent; }
.fdp-hv-ueb-legend { font-size: .62rem; color: var(--text-muted); margin-top: .8rem; text-align: center; }

/* ── Section ── */
.fdp-section { padding: clamp(2.2rem, 5.5vw, 3.6rem) 0; }
/* Farbband: Hintergrund vollflächig (bis an die Bildschirmränder), Inhalt bleibt
   bei 960px zentriert – ausgerichtet an Nav/Wrapper. Auf Mobile (≤640) wird der
   Inhalt per Override auf den 1rem-Gutter gebracht (siehe unten). */
.fdp-section.alt {
    background: var(--feat-alt);
    margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
    padding-left: max(1.25rem, calc(50vw - 460px)); padding-right: max(1.25rem, calc(50vw - 460px));
}
.fdp-section-head { display: flex; flex-direction: column; gap: .55rem; margin-bottom: 1.6rem; }
.fdp-section-head h2 { font-size: 1.5rem; letter-spacing: -.01em; }
.fdp-section-head p { color: var(--text-secondary); line-height: 1.6; }
.fdp-head-row { display: flex; align-items: center; gap: .7rem; flex-wrap: wrap; }

/* Feature-Grid + Karte */
.fdp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.fdp-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
/* Karte: Icon links, Titel + Beschreibung im rechten Body (Beschreibung direkt
   unter dem Titel) – Struktur wie .complement-feature auf /home. */
.fdp-card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 1.3rem 1.35rem;
    box-shadow: var(--shadow-sm); display: flex; align-items: flex-start; gap: .85rem; position: relative;
    transition: transform .14s, box-shadow .14s, border-color .14s; overflow: hidden;
}
.fdp-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #93B4E8; }
/* Ganze Karte klickbar (Stretched-Link-Overlay); Chip-Links bleiben darüber klickbar. */
.fdp-card-link { position: absolute; inset: 0; z-index: 1; border-radius: var(--r); }
.fdp-card-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.fdp-card a:not(.fdp-card-link) { position: relative; z-index: 2; }
.fdp-ic {
    flex: 0 0 auto; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
    font-size: 1.35rem; background: var(--grad-soft); border: 1px solid var(--border-2);
}
.fdp-card-body { flex: 1; min-width: 0; }
/* Titel links (umbricht bei Bedarf), Badge oben rechts – als 2-Spalten-Grid,
   damit der Titel schrumpfen/umbrechen kann und der Badge nie auf eine eigene
   Zeile fällt (kein Überlauf). */
/* Badge als float:right zuoberst rechts (im Markup VOR dem Titel), der Titel
   fliesst darum herum: erste Zeile neben dem Badge, weitere Zeilen volle Breite.
   overflow-wrap:normal → ein langes Wort rutscht ganz in die nächste Zeile statt
   mitten im Wort zu brechen. */
.fdp-card-body h3 { font-size: 1rem; font-weight: 700; margin: 0 0 .3rem; overflow-wrap: normal; }
.fdp-card-body h3::after { content: ""; display: block; clear: both; }
.fdp-card-body h3 > .fdp-chip { float: right; margin: -.15rem 0 .15rem .5rem; }
/* Mit Pro-Banderole rückt der Versions-Badge nach links, sonst deckt die
   Banderole ihn ab. */
.fdp-card-body h3:has(> .fdp-chip-pro) > .fdp-chip:not(.fdp-chip-pro) { margin-right: 2.6rem; }
/* Pro als schräge Eck-Banderole: entkoppelt vom Titelfluss, sodass der Titel die
   volle Breite bekommt (kein Leerraum, kein Wort-Bruch). Nur für den Pro-Badge –
   die übrigen Badges bleiben oben rechts im Titel (float). */
.fdp-card-body h3 > .fdp-chip-pro {
    float: none; position: absolute; top: 15px; right: -33px; z-index: 3;
    width: 130px; justify-content: center; text-align: center;
    transform: rotate(45deg); border-radius: 0; padding: .2rem 0; margin: 0;
    font-size: .62rem; box-shadow: 0 1px 3px rgba(0,0,0,.18); pointer-events: none;
}
.fdp-card-body p { margin: 0; font-size: .85rem; color: var(--text-secondary); line-height: 1.55; }
.fdp-card-body p + p { margin-top: .5rem; }
.fdp-more { margin-top: .7rem; font-size: .82rem; font-weight: 700; color: var(--accent-ink); display: inline-flex; gap: .3rem; align-items: center; text-decoration: none; }
.fdp-more:hover { text-decoration: underline; }

/* Tag-Wolke (z. B. Aufgabentypen) */
.fdp-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.fdp-tag {
    display: inline-flex; align-items: center; gap: .4rem; background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 999px; padding: .45rem .85rem; font-size: .85rem; font-weight: 600; color: var(--text-secondary); box-shadow: var(--shadow-sm);
}
.fdp-tag .fdp-tag-ic { font-size: .95rem; }

/* Nummerierte Schrittliste */
.fdp-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: step; }
.fdp-step {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r); padding: 1.2rem 1.3rem;
    box-shadow: var(--shadow-sm); position: relative;
}
.fdp-step-num {
    width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800;
    color: #fff; background: var(--grad); box-shadow: 0 6px 16px rgba(59,130,246,.25); margin-bottom: .7rem;
}
.fdp-step h3 { font-size: .98rem; font-weight: 700; }
.fdp-step p { margin-top: .35rem; font-size: .87rem; color: var(--text-secondary); line-height: 1.55; }

/* Mini-Vergleichstabelle (Free/Pro) */
.fdp-mini-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow-sm); background: var(--bg-card); }
table.fdp-mini { border-collapse: collapse; width: 100%; min-width: 480px; font-size: .9rem; }
.fdp-mini th, .fdp-mini td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--border-2); }
.fdp-mini thead th { font-size: .95rem; font-weight: 700; background: var(--card-2); }
.fdp-mini thead th.plan { text-align: center; width: 110px; }
.fdp-mini thead th.hl { color: var(--violet); }
.fdp-mini td.c { text-align: center; font-weight: 700; }
.fdp-mini td.plan-hl { background: color-mix(in srgb, var(--violet) 8%, transparent); }
.fdp-mini .yes { color: var(--success); }
.fdp-mini .no { color: var(--text-muted); }
.fdp-mini tbody tr:last-child td { border-bottom: none; }

/* Info-Streifen (z. B. Hinweis auf Admin-Freischaltung) */
.fdp-note {
    display: flex; gap: .7rem; align-items: flex-start; background: color-mix(in srgb, var(--warning) 10%, var(--bg-card));
    border: 1px solid color-mix(in srgb, var(--warning) 32%, var(--border)); border-radius: 12px;
    padding: .9rem 1.1rem; font-size: .87rem; color: var(--text-secondary); line-height: 1.55;
}
.fdp-note strong { color: var(--text-primary); }
.fdp-note .fdp-note-ic { font-size: 1.1rem; line-height: 1.3; }

/* ── CTA (satt-navy, wie features.php) ── */
.fdp-cta {
    margin: clamp(2.4rem, 6vw, 4rem) 0; border-radius: var(--r);
    padding: clamp(2.2rem, 5vw, 3.4rem); background: var(--primary); color: #fff; text-align: center;
    position: relative; overflow: hidden; box-shadow: 0 8px 30px rgba(30,58,95,.3);
}
.fdp-cta > * { position: relative; }
.fdp-cta h2 { color: #fff; font-size: 1.35rem; }
.fdp-cta p { color: rgba(255,255,255,.88); margin: .8rem auto 0; }
.fdp-cta-btns { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; margin-top: 1.6rem; }
/* Buttons wie in der features.php-CTA (.btn-white / .btn-outline-white) */
.fdp-btn-white {
    background: #fff; color: var(--primary); border: none; border-radius: var(--radius);
    padding: .7rem 1.5rem; font-family: var(--font); font-size: .9rem; font-weight: 700; cursor: pointer;
    text-decoration: none; display: inline-block; transition: opacity var(--transition);
}
.fdp-btn-white:hover { opacity: .9; }
.fdp-btn-outline-white {
    background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); border-radius: var(--radius);
    padding: .65rem 1.5rem; font-family: var(--font); font-size: .9rem; font-weight: 700; cursor: pointer;
    text-decoration: none; display: inline-block; transition: border-color var(--transition);
}
.fdp-btn-outline-white:hover { border-color: #fff; }
.fdp-cta-secondary { display: inline-block; margin-top: 1rem; color: rgba(255,255,255,.85); font-size: .9rem; font-weight: 700; text-decoration: none; }
.fdp-cta-secondary:hover { color: #fff; text-decoration: underline; }
@media (max-width: 480px) {
    .fdp-cta-btns { flex-direction: column; align-items: stretch; }
    .fdp-btn-white, .fdp-btn-outline-white { text-align: center; }
}

/* ── Responsive ── */
@media (max-width: 860px) {
    .fdp-hero-grid { grid-template-columns: minmax(0, 1fr); }
    .fdp-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
    /* Nav: Textlinks ausblenden, sobald die volle Leiste nicht mehr passt –
       nur Marke + Buttons bleiben (kein Umbruch, kein seitlicher Überlauf). */
    .about-nav-links a:not(.btn-nav) { display: none; }
}
@media (max-width: 760px) {
    .fdp-grid, .fdp-grid.cols-3 { grid-template-columns: 1fr; }
    .fdp-steps { grid-template-columns: 1fr; }
}
/* Marke + Buttons auf dem Smartphone kompakter (Logo-SVG bleibt 28px wie auf
   den übrigen öffentlichen Seiten). */
@media (max-width: 640px) {
    /* Nav + Farbband-Ausbruch an den 1rem-Innenabstand des Wrappers angleichen. */
    .about-nav { margin-left: -1rem; margin-right: -1rem; padding-left: 1rem; padding-right: 1rem; }
    .fdp-section.alt { margin-left: -1rem; margin-right: -1rem; padding-left: 1rem; padding-right: 1rem; }
    .about-nav-brand { font-size: 1rem; }
    .about-nav-brand img { width: 24px; height: 24px; }
    .about-nav-links { gap: .25rem; }
    .about-nav-links a { padding: .35rem .5rem; font-size: .75rem; }
    /* Free-/Pro-Vergleich: Plan-Spalten schmaler, damit die Funktionsspalte
       mehr Platz bekommt und weniger seitlich gescrollt werden muss (wie /features). */
    table.fdp-mini { min-width: 380px; font-size: .82rem; }
    .fdp-mini th, .fdp-mini td { padding: .6rem .5rem; }
    .fdp-mini thead th.plan { width: 56px; font-size: .8rem; }
}
/* Sehr schmale Geräte (≤380px): Ränder und Buttons weiter straffen. */
@media (max-width: 380px) {
    /* Nav-Grössen bleiben exakt wie AGB (kein Verkleinern der Buttons). */
    /* Überfachliche-Mockup: Namensspalte + Pills schmaler, damit die Karte passt. */
    .fdp-hv-ueb-who { flex-basis: 62px; }
    .fdp-hv-ueb-pill { padding: .3rem .12rem; font-size: .62rem; }
}
@media (prefers-reduced-motion: reduce) { .fdp * { animation: none !important; transition: none !important; } }
