/* ============================================================
   Termintool – öffentliche Landing (Spec 2026-08-11).
   Wird NUR auf Plattform-Seiten geladen (layout-platform).
   Akzentfarbe kommt aus custom.css (--brand); alle Neutralen
   werden leicht Richtung Akzent gemischt („aus einem Guss").
   ============================================================ */

/* Landing-Akzent: Nachtblau (Joerns Wahl) – nur auf Plattform-Seiten geladen,
   überschreibt den App-Default aus custom.css */
:root { --brand: #1E3A5F; }

.landing {
    --l-display: "Schibsted Grotesk", Manrope, sans-serif;
    --l-brand-deep: color-mix(in srgb, var(--brand) 78%, #000);
    --l-brand-soft: color-mix(in srgb, var(--brand) 8%, #fff);
    --l-brand-onDark: color-mix(in srgb, var(--brand) 40%, #fff);
    --l-ink:   color-mix(in srgb, var(--brand) 14%, #131A20);
    --l-ink-2: color-mix(in srgb, var(--brand) 8%, #4B565E);
    --l-ink-3: color-mix(in srgb, var(--brand) 5%, #8C979E);
    --l-wash:  color-mix(in srgb, var(--brand) 4%, #FAFBFB);
    --l-line:  color-mix(in srgb, var(--brand) 9%, #E6E9EA);
    --l-dark:  color-mix(in srgb, var(--brand) 22%, #0B1413);
    --l-ok: #1A7F45;

    font-family: Manrope, system-ui, sans-serif;
    color: var(--l-ink);
    background: #fff;
    line-height: 1.65;
}
.landing h1, .landing h2, .landing h3, .landing .l-logo {
    font-family: var(--l-display);
    letter-spacing: -.015em; line-height: 1.12; text-wrap: balance;
    color: var(--l-ink);
}
.l-container { max-width: 1140px; margin-inline: auto; padding-inline: 1.5rem; }
.l-section { padding-block: 5.5rem; }
.l-label { font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); }
.landing .ic { flex-shrink: 0; }
.landing a { text-decoration: none; color: inherit; }
.landing :focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

/* Sektionskopf: Titel links, Lead rechts */
.l-sec-head { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 2rem 4rem; align-items: end; margin-bottom: 3.2rem; }
.l-sec-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; margin: .7rem 0 0; }
.l-sec-head .l-lead { color: var(--l-ink-2); font-size: .98rem; padding-bottom: .3rem; margin: 0; }

/* Buttons */
.l-btn { display: inline-flex; align-items: center; gap: .55rem; font-weight: 700; font-size: .94rem; border-radius: 10px; padding: .78rem 1.4rem; border: 0; cursor: pointer; transition: background .15s, border-color .15s, color .15s; font-family: inherit; }
/* Doppelte Klasse in der Selektorliste: schlägt ".landing a { color:inherit }"
   sicher – sonst erben <a>-Buttons dunkle Textfarbe auf dunklem Grund */
.landing .l-btn-p, .landing a.l-btn-p { background: var(--brand); color: #fff; }
.landing .l-btn-p:hover, .landing a.l-btn-p:hover { background: var(--l-brand-deep); color: #fff; }
.l-btn-ghost { color: var(--l-ink-2); background: transparent; }
.l-btn-ghost:hover { color: var(--l-ink); background: var(--l-wash); }
.l-btn-outline { color: var(--l-ink); background: #fff; border: 1.5px solid var(--l-line); }
.l-btn-outline:hover { border-color: var(--l-ink-3); }

/* Topnav */
.l-nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--l-line); }
.l-nav-inner { display: flex; align-items: center; gap: 1.8rem; height: 66px; }
.l-logo { display: flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.12rem; }
.l-logo-mark { width: 30px; height: 30px; border-radius: 8px; background: var(--brand); display: grid; place-items: center; color: #fff; }
.l-nav-links { display: flex; gap: 1.5rem; margin-inline: auto; }
.l-nav-links a { color: var(--l-ink-2); font-weight: 600; font-size: .9rem; }
.l-nav-links a:hover { color: var(--l-ink); }
.l-lang { display: flex; gap: .1rem; margin-right: .3rem; }
.l-lang a { padding: .28rem .55rem; border-radius: 8px; color: var(--l-ink-3); font-weight: 700; font-size: .78rem; }
.l-lang a[aria-current] { color: var(--l-brand-deep); background: var(--l-brand-soft); }

/* Hero */
.l-hero { padding: 5rem 0 5.5rem; border-bottom: 1px solid var(--l-line); }
.l-hero-grid { display: grid; grid-template-columns: minmax(0,7fr) minmax(0,5fr); gap: 4.5rem; align-items: center; }
.l-hero-note { display: inline-flex; align-items: center; gap: .5rem; color: var(--l-ink-2); font-weight: 700; font-size: .86rem; margin: 0 0 1.5rem; }
.l-hero-note .ic { color: var(--brand); }
.l-hero h1 { font-size: clamp(2.5rem, 5.2vw, 3.7rem); font-weight: 800; margin: 0; }
.l-hero h1 .alt { color: var(--brand); }
.l-hero .l-hero-lead { font-size: 1.12rem; color: var(--l-ink-2); margin: 1.4rem 0 2rem; max-width: 34em; }
.l-hero-ctas { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 2.2rem; }
.l-checks { list-style: none; display: flex; flex-direction: column; gap: .6rem; color: var(--l-ink-2); font-weight: 600; font-size: .93rem; margin: 0; padding: 0; }
.l-checks li { display: flex; gap: .65rem; align-items: center; }
.l-checks .ic { color: var(--brand); }

/* Produkt-Ausschnitt (Buchungsseite im Browser-Rahmen) */
.l-shot { background: #fff; border: 1px solid var(--l-line); border-radius: 14px; box-shadow: 0 40px 70px -45px color-mix(in srgb, var(--l-dark) 55%, transparent); overflow: hidden; }
.l-shot-bar { display: flex; align-items: center; gap: .35rem; background: var(--l-wash); border-bottom: 1px solid var(--l-line); padding: .55rem .85rem; }
.l-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--l-line); }
.l-shot-url { margin-left: .55rem; background: #fff; border: 1px solid var(--l-line); border-radius: 7px; font-size: .67rem; color: var(--l-ink-3); padding: .14rem .7rem; font-weight: 600; }
.l-shot-body { padding: 1.15rem 1.25rem 1.3rem; }
.l-shot-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; }
.l-shot-title { font-family: var(--l-display); font-weight: 700; font-size: .98rem; }
.l-shot-sub { font-size: .72rem; color: var(--l-ink-3); font-weight: 600; margin-top: .1rem; }
.l-badge-mode { background: var(--l-brand-soft); color: var(--l-brand-deep); font-size: .65rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .28rem .65rem; border-radius: 7px; }
.l-slots { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; font-variant-numeric: tabular-nums; }
.l-slot { border: 1.5px solid var(--l-line); border-radius: 9px; padding: .5rem .75rem; font-size: .75rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; }
.l-slot small { font-weight: 700; font-size: .61rem; letter-spacing: .02em; }
.l-slot.free small { color: var(--l-ok); }
.l-slot.sel { border-color: var(--brand); background: var(--l-brand-soft); }
.l-slot.sel small { color: var(--l-brand-deep); }
.l-slot.full { color: var(--l-ink-3); background: var(--l-wash); border-style: dashed; }
.l-slot.full small { color: var(--l-ink-3); }
.l-shot-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1rem; gap: .8rem; }
.l-shot-wl { display: inline-flex; align-items: center; gap: .4rem; font-size: .68rem; font-weight: 700; color: var(--l-ink-2); }
.l-shot-wl .ic { color: var(--l-ink-3); }
.l-shot-cta { background: var(--brand); color: #fff; font-weight: 800; font-size: .78rem; border-radius: 9px; padding: .6rem 1.1rem; }

/* Vertrauensleiste */
.l-trust { padding: 1.3rem 0; border-bottom: 1px solid var(--l-line); }
.l-trust-row { display: flex; justify-content: space-between; gap: 1.2rem 2rem; flex-wrap: wrap; }
.l-trust-item { display: flex; align-items: center; gap: .55rem; color: var(--l-ink-2); font-weight: 700; font-size: .86rem; }
.l-trust-item .ic { color: var(--brand); }

/* Funktionen: Haarlinien-Raster */
.l-features { background: var(--l-wash); border-bottom: 1px solid var(--l-line); }
.l-feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--l-line); border: 1px solid var(--l-line); border-radius: 14px; overflow: hidden; }
.l-feat { background: #fff; padding: 1.9rem 1.8rem; }
.l-feat .ic { color: var(--brand); margin-bottom: 1rem; }
.l-feat h3 { font-size: 1rem; font-weight: 700; margin: 0 0 .4rem; }
.l-feat p { color: var(--l-ink-2); font-size: .89rem; margin: 0; }

/* Ablauf */
.l-steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3rem; }
.l-step { border-top: 2px solid var(--l-line); padding-top: 1.3rem; position: relative; }
.l-step::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; border-top: 2px solid var(--brand); }
.l-step-no { font-family: var(--l-display); font-weight: 800; font-size: .85rem; color: var(--brand); margin-bottom: .6rem; }
.l-step h3 { font-size: 1.06rem; font-weight: 700; margin: 0 0 .4rem; }
.l-step p { color: var(--l-ink-2); font-size: .91rem; margin: 0; }

/* Sicherheit: dunkles Panel */
.l-security { background: var(--l-dark); color: #fff; }
.l-security .l-label { color: var(--l-brand-onDark); }
.l-sec-split { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,7fr); gap: 3rem 5rem; align-items: start; }
.l-sec-split h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; color: #fff; margin: .7rem 0 0; }
.l-sec-split .l-sub { color: rgba(255,255,255,.66); margin: 1rem 0 0; font-size: .96rem; max-width: 30em; }
.l-sec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 3rem; }
.l-sec-item { display: flex; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.14); }
.l-sec-item .ic { color: var(--l-brand-onDark); margin-top: .15rem; }
.l-sec-item h3 { font-size: .96rem; font-weight: 700; color: #fff; margin: 0 0 .25rem; }
.l-sec-item p { color: rgba(255,255,255,.62); font-size: .85rem; margin: 0; }

/* FAQ */
.l-faq-wrap { max-width: 760px; }
.l-faq-item { border-bottom: 1px solid var(--l-line); }
.l-faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; cursor: pointer; font-weight: 700; font-size: 1rem; padding: 1.25rem 0; }
.l-faq-item summary::-webkit-details-marker { display: none; }
.l-faq-item summary .ic { color: var(--l-ink-3); transition: transform .2s; }
.l-faq-item[open] summary .ic { transform: rotate(45deg); color: var(--brand); }
.l-faq-item p { padding: 0 3rem 1.3rem 0; color: var(--l-ink-2); font-size: .94rem; max-width: 60ch; margin: 0; }

/* CTA + Formular */
.l-cta { background: linear-gradient(180deg, #fff 0%, var(--l-wash) 100%); border-top: 1px solid var(--l-line); }
.l-cta-grid { display: grid; grid-template-columns: minmax(0,5fr) minmax(0,6fr); gap: 3rem 5rem; align-items: center; }
.l-cta-grid h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; margin: .7rem 0 0; }
.l-cta-grid .l-sub { color: var(--l-ink-2); margin: 1rem 0 0; font-size: .97rem; }
.l-cta-points { list-style: none; margin: 1.6rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; color: var(--l-ink-2); font-weight: 600; font-size: .92rem; }
.l-cta-points li { display: flex; gap: .6rem; align-items: center; }
.l-cta-points .ic { color: var(--brand); }
.l-form-card { background: #fff; border: 1px solid var(--l-line); border-radius: 16px; padding: 2.4rem; box-shadow: 0 30px 60px -45px color-mix(in srgb, var(--l-dark) 60%, transparent); }
.l-fld { margin-bottom: 1.15rem; }
.l-fld label, .l-fld .form-label { display: block; font-weight: 700; font-size: .86rem; margin-bottom: .4rem; color: var(--l-ink); }
.l-fld input[type=text], .l-fld input[type=email] { width: 100%; border: 1.5px solid var(--l-line); border-radius: 10px; padding: .8rem 1rem; font: inherit; font-size: .96rem; color: var(--l-ink); background: #fff; }
.l-fld input:focus { outline: 3px solid color-mix(in srgb, var(--brand) 22%, transparent); border-color: var(--brand); }
.l-fld input.is-invalid { border-color: var(--danger, #DC2626); }
.l-fld .l-hint { font-size: .79rem; color: var(--l-ink-3); margin-top: .35rem; }
.l-fld .invalid-feedback { display: block; color: var(--danger, #DC2626); font-size: .8rem; margin-top: .3rem; }
.l-chip-preview { display: inline-block; margin-top: .55rem; background: var(--l-brand-soft); color: var(--l-brand-deep); font-weight: 700; font-size: .8rem; border-radius: 8px; padding: .32rem .8rem; font-variant-numeric: tabular-nums; }
.l-consent { display: flex; gap: .6rem; font-size: .81rem; color: var(--l-ink-2); margin: 1.3rem 0; }
.l-consent a { color: var(--l-brand-deep); font-weight: 700; text-decoration: underline; }
.l-form-foot { font-size: .79rem; color: var(--l-ink-3); margin-top: .9rem; text-align: center; }
.l-form-errors { background: #FEF2F2; color: #991B1B; border-radius: 10px; padding: .8rem 1rem; font-size: .88rem; font-weight: 600; margin-bottom: 1.1rem; }

/* Footer */
.l-footer { background: var(--l-dark); color: rgba(255,255,255,.6); padding: 3.2rem 0 2.3rem; font-size: .87rem; }
.l-foot-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.3rem; align-items: center; }
.l-footer .l-logo { color: #fff; }
.l-foot-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.l-foot-links a { color: rgba(255,255,255,.6); font-weight: 600; }
.l-foot-links a:hover { color: #fff; }
.l-foot-base { border-top: 1px solid rgba(255,255,255,.13); padding-top: 1.4rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; align-items: center; }
.l-de-flag { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; }
.l-de-flag svg { border-radius: 2px; display: block; }

/* Kompakte Seiten (confirm etc.) */
.l-page { padding: 3.5rem 0 4rem; min-height: 50vh; }
.l-page-card { max-width: 640px; margin-inline: auto; background: #fff; border: 1px solid var(--l-line); border-radius: 16px; padding: 2.4rem; box-shadow: 0 30px 60px -45px color-mix(in srgb, var(--l-dark) 50%, transparent); }

@media (max-width: 900px) {
    .l-section { padding-block: 3.8rem; }
    .l-hero { padding: 3.2rem 0 4rem; }
    .l-hero-grid, .l-sec-head, .l-sec-split, .l-cta-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .l-feat-grid { grid-template-columns: 1fr; }
    .l-steps-grid { grid-template-columns: 1fr; gap: 2rem; }
    .l-sec-list { grid-template-columns: 1fr; }
    .l-nav-links { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .l-faq-item summary .ic { transition: none; }
}

/* Design-Umschalter (nur mit ?design=1 sichtbar, Werkzeug für die Abstimmung) */
.l-picker { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 99; background: #fff; border: 1px solid var(--l-line); border-radius: 13px; padding: .9rem 1.1rem; box-shadow: 0 16px 40px -16px rgba(11,20,19,.4); max-width: 280px; }
.l-picker b { display: block; font-size: .75rem; margin-bottom: .45rem; color: var(--l-ink); }
.l-picker .l-sw-row { display: flex; gap: .45rem; margin-bottom: .8rem; flex-wrap: wrap; }
.l-sw { width: 28px; height: 28px; border-radius: 50%; border: 2.5px solid #fff; box-shadow: 0 0 0 1.5px var(--l-line); cursor: pointer; padding: 0; }
.l-sw.on { box-shadow: 0 0 0 2.5px var(--l-ink); }
.l-fbtn { display: block; width: 100%; text-align: left; background: none; border: 1px solid var(--l-line); border-radius: 8px; padding: .35rem .6rem; margin-bottom: .3rem; font-size: .82rem; cursor: pointer; font-family: inherit; }
.l-fbtn.on { border-color: var(--l-ink); font-weight: 700; }
.l-picker .l-hexline { font-size: .68rem; color: var(--l-ink-3); font-weight: 600; }
