/* ============================================================================
   World of Pharaos — Landingpage und Rechtstexte (Paket D6, Spec 4.8)

   Quelle der Gestaltung: design/mockups-2026-09/landing-dunkelblau.html +
   landing.css. Uebernommen sind Raster, Masse, Typo-Skala und Aufbau; die
   Farbwerte kommen ausnahmslos aus ui/css/wop-tokens.css — in dieser Datei
   steht kein einziges Farbliteral (tools/test_design_tokens.php, Pruefung a).

   Abweichungen vom Mockup, bewusst:
   1. Akzent ist NUR Gold (Entscheidung D17). Die Tuerkis-Regeln des Mockups
      (Fokusring, Kontrollkaestchen, Akzentvariante "Gold + Tuerkis") sind
      entfernt. Der Fokusring steht in Elfenbein (--text-1) und hebt sich damit
      von der Aktionsfarbe ab.
   2. Abgesenkte Abschnitte: das Mockup faerbt sie dunkler als den Grund. Dafuer
      gibt es seit der D6-Fixrunde --surface-deep in ui/css/wop-tokens.css; die
      Wechselabschnitte sind damit wie im Entwurf eine Stufe TIEFER als
      --surface-0 (vorher behalf sich diese Datei mit --surface-1, also einer
      Stufe nach oben, weil es unterhalb von --surface-0 nichts gab).
   3. Deckungen (Kopfleiste, Hero-Verlauf, Schleier) laufen ueber eigene
      Ebenen mit `opacity` statt ueber rgba(). Gleiches Bild, nur Tokens.
   4. Alle Klassen tragen das Praefix "lp-", damit nichts mit Bootstrap
      kollidiert (Bootstrap-CSS laedt als Verhaltensbasis darunter).

   Kein !important (Budget 0), kein calc(100vh — Hoehen ueber dvh/Flex.
   ========================================================================== */

/* ============================================================================
   1. Masse und Kurven der Landingpage (keine Farben — die stehen in den Tokens)
   ========================================================================== */
:root {
    --lp-maxw: 1200px;
    --lp-nav-h: 72px;           /* Entscheidung D13 */
    --lp-nav-h-scrolled: 56px;
    --lp-logo-w: 120px;         /* Kopfleisten-Logo, Entscheidung D14 */
    --lp-logo-w-scrolled: 96px;
    --lp-radius: 8px;
    --lp-radius-card: 12px;
    --lp-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ============================================================================
   2. Grundlagen
   ========================================================================== */
.lp-page *,
.lp-page *::before,
.lp-page *::after { box-sizing: border-box; }

.lp-page {
    margin: 0;
    background: var(--surface-0);
    color: var(--text-1);
    font-family: var(--font-ui);
    font-size: 1rem;            /* Leitfaden: 16 px mobil … */
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

@media (min-width: 768px) {
    .lp-page { font-size: 1.125rem; }   /* … 18 px ab Tablet */
}

.lp-page img,
.lp-page svg,
.lp-page picture { max-width: 100%; }
.lp-page img { height: auto; display: block; }

.lp-page h1,
.lp-page h2,
.lp-page h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.14;
    color: var(--text-1);
    margin: 0;
    text-wrap: balance;
}
.lp-page p { margin: 0; }

.lp-page a { color: var(--gold); }
.lp-page a:hover { color: var(--gold-hi); }

/* Fokusring in Elfenbein: Gold bleibt der Aktion vorbehalten (D17). */
.lp-page :focus-visible {
    outline: 3px solid var(--text-1);
    outline-offset: 3px;
    border-radius: var(--r-sm);
}

.lp-num { font-variant-numeric: tabular-nums; }

.lp-skip {
    position: absolute; left: 16px; top: -60px; z-index: 200;
    padding: 12px 20px; border-radius: var(--lp-radius);
    background: var(--gold); color: var(--surface-0);
    font-weight: 600; text-decoration: none;
    transition: top 0.2s var(--lp-ease);
}
.lp-skip:focus { top: 16px; color: var(--surface-0); }

.lp-vh {
    position: absolute; width: 1px; height: 1px;
    margin: -1px; padding: 0; overflow: hidden;
    clip-path: inset(50%); white-space: nowrap;
}

.lp-hidden { display: none; }

/* ============================================================================
   3. Raster und Abschnitte
   ========================================================================== */
.lp-wrap {
    width: 100%;
    max-width: var(--lp-maxw);
    margin-inline: auto;
    padding-inline: clamp(16px, 4vw, 32px);
}

.lp-section { padding-block: clamp(56px, 8vw, 104px); }
.lp-section--alt {
    background: var(--surface-deep);
    border-block: 1px solid var(--line-soft);
}
.lp-section-head { max-width: 640px; margin-inline: auto; text-align: center; }

.lp-eyebrow {
    font-family: var(--font-ui);
    font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.lp-h2 { font-size: clamp(1.625rem, 1rem + 1.6vw, 2.5rem); }   /* 26 → 40 px */
.lp-h3 { font-size: clamp(1.1rem, 0.95rem + 0.5vw, 1.375rem); }

.lp-lead {
    color: var(--text-3);
    max-width: 65ch;                 /* Textspalte 62–65 Zeichen */
    margin-inline: auto;
    margin-top: 18px;
}

.lp-ornament {
    display: flex; justify-content: center;
    margin-top: 20px;
    color: var(--gold);
    opacity: 0.85;
}
.lp-ornament svg { width: 170px; height: 14px; }

/* ============================================================================
   4. Schaltflaechen
   ========================================================================== */
.lp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px;
    padding: 12px 26px;
    border: 1px solid transparent;
    border-radius: var(--lp-radius);
    font-family: var(--font-ui);
    font-size: 1rem; font-weight: 600; line-height: 1.3;
    text-decoration: none; cursor: pointer;
    transition: background-color 0.2s var(--lp-ease),
                border-color 0.2s var(--lp-ease),
                color 0.2s var(--lp-ease);
}
.lp-btn svg { width: 20px; height: 20px; flex: none; }

/* Ruhige Goldflaeche, nachtblauer Text, KEIN Dauerleuchten. */
.lp-btn--gold {
    background: linear-gradient(180deg, var(--gold-hi) 0%, var(--gold) 100%);
    color: var(--surface-0);
    border-color: var(--gold);
}
.lp-btn--gold:hover { background: var(--gold-hi); color: var(--surface-0); }

.lp-btn--ghost {
    background: var(--surface-1);
    border-color: var(--gold-line);
    color: var(--text-1);
}
.lp-btn--ghost:hover { background: var(--surface-2); border-color: var(--gold); color: var(--text-1); }

.lp-btn--wide { width: 100%; }
.lp-btn[disabled] { cursor: default; opacity: 0.6; }

.lp-cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ============================================================================
   5. Kopfleiste — 72 px, nach dem Scrollen 56 px (D13)
   ========================================================================== */
.lp-nav {
    position: fixed; inset: 0 0 auto 0; z-index: 90;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--lp-ease);
}
/* Deckung als eigene Ebene: so bleibt die Farbe ein Token und die Deckung
   eine Zahl (statt rgba(…)). */
.lp-nav::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: var(--surface-0);
    opacity: 0.72;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: opacity 0.3s var(--lp-ease);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .lp-nav::before { opacity: 0.96; }
}
.lp-nav.is-scrolled::before { opacity: 0.96; }
.lp-nav.is-scrolled { border-bottom-color: var(--line-soft); }

.lp-nav__inner {
    display: flex; align-items: center; gap: clamp(12px, 3vw, 36px);
    min-height: var(--lp-nav-h);
    padding-block: 8px;
    transition: min-height 0.3s var(--lp-ease);
}
.lp-nav.is-scrolled .lp-nav__inner { min-height: var(--lp-nav-h-scrolled); }

.lp-nav__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.lp-nav__logo { width: var(--lp-logo-w); height: auto; transition: width 0.3s var(--lp-ease); }
.lp-nav.is-scrolled .lp-nav__logo { width: var(--lp-logo-w-scrolled); }
.lp-nav__mark { display: none; align-items: center; gap: 10px; }
.lp-nav__mark img { width: auto; height: 30px; }
.lp-nav__mark span {
    font-family: var(--font-serif); font-weight: 600; font-size: 1.05rem;
    letter-spacing: var(--title-ls); color: var(--text-1); white-space: nowrap;
}

.lp-nav__links { display: flex; align-items: center; gap: 4px; }
.lp-nav__links a,
.lp-nav__links .lp-soon {
    display: inline-flex; align-items: center; min-height: 44px;
    padding: 0 14px; border-radius: var(--lp-radius);
    color: var(--text-1); text-decoration: none;
    font-size: 0.95rem; font-weight: 500;
    opacity: 0.86;
    transition: opacity 0.2s var(--lp-ease), background-color 0.2s var(--lp-ease);
}
.lp-nav__links a:hover { opacity: 1; background: var(--surface-2); color: var(--text-1); }

/* Community: sichtbarer Platzhalter ohne Ziel (Entscheidung D15). */
.lp-soon { cursor: default; opacity: 0.55; gap: 8px; }
.lp-soon__tag {
    padding: 2px 8px; border-radius: 999px;
    border: 1px solid var(--line); background: var(--surface-1);
    color: var(--text-3); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
}

.lp-nav__actions { display: flex; align-items: center; gap: 10px; }

/* Sprachwahl als Klappmenue (D6-Fixrunde V2). Markup: wop_lang_switcher() in
   startseite/_layout.php, Liste: includes/lang/languages.php — eine dritte
   Sprache braucht hier keine Zeile.

   Ohne JavaScript oeffnet :focus-within das Menue (die Rechtsseiten muessen
   ohne JS bedienbar bleiben). startseite/js/lang-menu.js setzt .is-js; ab dann
   entscheidet allein aria-expanded — deshalb stehen die .is-js-Regeln HINTER
   der :focus-within-Regel (gleiche Spezifitaet, die spaetere gewinnt). */
.lp-lang { position: relative; display: inline-flex; }
.lp-lang__btn {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 0 12px;
    border: 1px solid var(--line); border-radius: var(--lp-radius);
    background: var(--surface-0); color: var(--text-1);
    font-family: var(--font-ui); font-size: 0.78rem; font-weight: 600;
    line-height: 1; letter-spacing: 0.06em; cursor: pointer;
    transition: border-color 0.2s var(--lp-ease), background-color 0.2s var(--lp-ease);
}
.lp-lang__btn:hover { border-color: var(--gold-line); background: var(--surface-1); }
.lp-lang__caret {
    width: 7px; height: 7px; margin-left: 2px;
    border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 0.2s var(--lp-ease);
}
.lp-lang__btn[aria-expanded="true"] .lp-lang__caret {
    transform: rotate(-135deg) translate(-2px, -2px);
}

.lp-lang__menu {
    display: none;
    position: absolute; top: calc(100% + 6px); right: 0; z-index: 95;
    min-width: 190px; padding: 4px;
    border: 1px solid var(--line); border-radius: var(--lp-radius);
    background: var(--surface-2);
    box-shadow: var(--shadow-float);
}
.lp-lang:focus-within .lp-lang__menu { display: block; }
.lp-lang.is-js .lp-lang__menu { display: none; }
.lp-lang.is-js .lp-lang__btn[aria-expanded="true"] + .lp-lang__menu { display: block; }

.lp-lang__menu a {
    display: flex; align-items: center; gap: 10px;
    min-height: 40px; padding: 0 10px;
    border-radius: var(--r-md);
    color: var(--text-3); text-decoration: none;
    font-family: var(--font-ui); font-size: 0.92rem; font-weight: 500;
    transition: background-color 0.2s var(--lp-ease), color 0.2s var(--lp-ease);
}
.lp-lang__menu a:hover { background: var(--surface-3); color: var(--text-1); }
.lp-lang__menu a.is-active { background: var(--gold-soft); color: var(--text-1); }
.lp-lang img { width: 21px; height: 14px; border-radius: 2px; flex: none; }

/* Genau EINE Goldflaeche je Bildhoehe: die Kopf-Aktion erscheint erst, wenn
   der Hero-Knopf aus dem Bild gescrollt ist, und tritt im Abschluss-Abschnitt
   wieder zurueck, weil dort schon eine Goldflaeche steht. */
.lp-nav__cta {
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity 0.25s var(--lp-ease), transform 0.25s var(--lp-ease), visibility 0.25s;
}
.lp-nav.is-past-hero .lp-nav__cta { opacity: 1; visibility: visible; transform: none; }
.lp-nav.is-final .lp-nav__cta { opacity: 0; visibility: hidden; transform: translateY(-6px); }

/* ============================================================================
   6. Hero — das Bild traegt die Seite, die Lesetafel steht NUR hinter dem Text

   Entscheidung der D6-Fixrunde (Klicktest V1): das Hintergrundbild der alten
   Startseite soll wieder dominieren. Deshalb volle Bildschirmhoehe wie frueher
   (min-height: 100svh statt gedeckelt), Grundabdunklung nur noch 10 % statt
   28 %, kein seitenbreiter Leseverlauf mehr — die Deckung sitzt als Tafel
   ausschliesslich hinter der Textspalte.

   Kontrast (gerechnet gegen den ungueltigsten Fall, ein WEISSES Bild;
   Formel WCAG 2.1: L = 0.2126 R + 0.7152 G + 0.0722 B auf linearisiertem
   sRGB, Kontrast = (L1 + 0.05) / (L2 + 0.05)):

     Grund   = 0.75 * --surface-0 + 0.25 * (0.9 * #fff + 0.1 * --surface-0)
             = rgb(64, 72, 83)  -> relative Leuchtdichte 0.063
     --text-1 (#f5eedc, Ueberschrift/Fliesstext) 0.857 -> 8.00:1
     --text-2 (#cbd6e3, Hinweiszeile)            0.663 -> 6.29:1
     --gold   (#d6ae57, Unterzeile)              0.453 -> 4.43:1

   Fliesstext braucht 4.5:1, grosse Schrift (>= 24 px, bzw. >= 18.66 px fett)
   3:1. Die Hinweiszeile lag mit --text-3 bei 2.87:1 und traegt deshalb seit
   der Fixrunde 2 --text-2 (Befund B1); die goldene Unterzeile ist mit
   18.4 -> 28 px die grosse Schrift und haelt 4.43:1, also deutlich mehr als
   die geforderten 3:1. Ueber dem echten Motiv sind alle Werte hoeher — die
   Zahlen oben sind die untere Schranke.
   ========================================================================== */
.lp-hero {
    position: relative;
    display: flex; align-items: center;
    min-height: 100svh;
    padding-block: calc(var(--lp-nav-h) + 48px) 72px;
    overflow: hidden;
}
.lp-hero__media {
    position: absolute; inset: 0;
    background-image: var(--lp-hero-fallback);
    background-image: var(--lp-hero-img);
    background-size: cover;
    background-position: center;    /* wie die alte Seite: Pyramiden mittig */
}
/* Grundabdunklung: nur so viel, dass Elfenbein-Text ueberall ruhig bleibt */
.lp-hero__media::after {
    content: ""; position: absolute; inset: 0;
    background: var(--surface-0);
    opacity: 0.1;
}
/* Unterkante geht in die Seitenflaeche ueber — erst im letzten Fuenftel */
.lp-hero::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, transparent 82%, var(--surface-0) 100%);
}
.lp-hero__inner { position: relative; z-index: 2; width: 100%; }

/* Lesetafel: 75 % Nachtblau ueber dem weichgezeichneten Bildausschnitt.
   Die Deckung laeuft als eigene Ebene (opacity) statt ueber rgba() — so
   bleibt die Farbe ein Token. Der Weichzeichner sitzt auf der Spalte selbst,
   damit er unter der Deckungsebene wirkt und nicht von ihr verdeckt wird.

   60 % reichten nur fuer --text-1: die Hinweiszeile lag bei 2.87:1, die
   goldene Unterzeile bei 2.70:1 (Befund B1). Die Tafel steht NUR hinter der
   Textspalte, das Bild bleibt also auch bei 75 % die dominante Flaeche. */
.lp-hero__col {
    position: relative;
    max-width: 640px;
    padding: clamp(22px, 3vw, 32px);
    border-radius: var(--lp-radius-card);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.lp-hero__col::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    border-radius: inherit;
    background: var(--surface-0);
    opacity: 0.75;
}

.lp-pill {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 16px; margin-bottom: 26px;
    border: 1px solid var(--gold-line); border-radius: 999px;
    background: var(--surface-1);
    color: var(--text-1); font-size: 0.84rem; letter-spacing: 0.02em;
}
.lp-pill::before {
    content: ""; width: 8px; height: 8px; border-radius: 50%;
    background: var(--gold); flex: none;
}

.lp-hero__title { font-size: clamp(2.25rem, 1.2rem + 4.2vw, 4.5rem); margin: 0; }  /* 36 → 72 px */
/* Der Titelschein der alten Startseite (--shadow-title). Die Ueberschrift ist
   hier das Logo-Lockup, also traegt ihn das Bild per drop-shadow und die
   Unterzeile als text-shadow. */
.lp-hero__logo {
    width: min(86%, 560px); height: auto;
    filter: drop-shadow(var(--shadow-title));
}

.lp-hero__tagline {
    font-family: var(--font-serif); font-weight: 500;
    /* Untergrenze 1.5rem = 24 px: ab dieser Groesse gilt fuer --gold auf der
       Lesetafel die WCAG-Schwelle fuer grosse Schrift (3:1, gemessen 4,43:1).
       Mit 1.15rem lag die Zeile auf dem Handy bei 18,5 px unter 4,5:1. */
    font-size: clamp(1.5rem, 0.9rem + 1.1vw, 1.75rem);
    text-wrap: balance; /* Handy: kein einzelnes "Nil" in der zweiten Zeile */
    color: var(--gold);
    margin-top: 18px;
    text-shadow: var(--shadow-title);
}
.lp-hero__lead { color: var(--text-1); max-width: 62ch; margin-top: 20px; }
/* --text-2 statt --text-3 (Fixrunde 2, Befund B1): ueber der Lesetafel kam
   --text-3 gegen ein weisses Bild nur auf 2.87:1, --text-2 haelt 6.29:1. */
.lp-hero__note { color: var(--text-2); font-size: 0.92rem; margin-top: 22px; }
.lp-hero .lp-cta-row { margin-top: 32px; }

/* Hinweisband (Konto geloescht / Passwort geaendert) */
.lp-notice {
    position: relative; z-index: 80;
    margin-top: var(--lp-nav-h);
    padding: 14px clamp(16px, 4vw, 32px);
    background: var(--surface-2);
    border-bottom: 1px solid var(--gold-line);
    color: var(--text-1); text-align: center; font-size: 0.95rem;
}
.lp-notice + .lp-hero { padding-block-start: 48px; }

/* ============================================================================
   7. Spielprinzip — drei Karten, zwei Hinweisfelder
   min(…, 100%) in jedem Raster: keine Spalte wird breiter als der Platz,
   auch nicht bei 375 px — dadurch entsteht nirgends waagerechtes Scrollen.
   ========================================================================== */
.lp-cards {
    display: grid; gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
    margin-top: 56px;
}
.lp-card {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--lp-radius-card);
    padding: 28px;
    transition: border-color 0.25s var(--lp-ease), transform 0.25s var(--lp-ease);
}
.lp-card:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.lp-card__icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 52px; height: 52px; margin-bottom: 20px;
    border: 1px solid var(--gold-line); border-radius: var(--r-lg);
    background: var(--gold-soft);
    color: var(--gold);
}
.lp-card__icon svg { width: 26px; height: 26px; }
.lp-card h3 { margin-bottom: 10px; }
.lp-card p { color: var(--text-3); font-size: 0.97rem; }

.lp-notes {
    display: grid; gap: 20px; margin-top: 20px;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}
.lp-note {
    display: flex; gap: 18px; align-items: flex-start;
    padding: 24px 26px;
    border: 1px solid var(--line-soft); border-radius: var(--lp-radius-card);
    background: var(--surface-0);
}
.lp-note > svg { width: 28px; height: 28px; flex: none; color: var(--gold); }
.lp-note h3 { margin-bottom: 8px; }
.lp-note p { color: var(--text-3); font-size: 0.95rem; }

/* ============================================================================
   8. Einblicke — vier echte Screenshots
   Die Bildquellen stehen im Markup (landing.php, Feld $shots): fuer neue
   Aufnahmen werden nur die Dateien in img/screens/ getauscht.
   ========================================================================== */
.lp-shots {
    display: grid; gap: 20px; margin-top: 48px;
    grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
}
.lp-shot { margin: 0; }
.lp-shot__btn {
    display: block; width: 100%; padding: 0;
    border: 1px solid var(--line); border-radius: var(--lp-radius-card);
    overflow: hidden; background: var(--surface-1); cursor: pointer;
    transition: border-color 0.25s var(--lp-ease), transform 0.25s var(--lp-ease);
}
.lp-shot__btn img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.lp-shot__btn:hover { border-color: var(--gold); transform: translateY(-3px); }
.lp-shot figcaption {
    color: var(--text-3); font-size: 0.92rem; line-height: 1.5;
    padding: 12px 4px 0;
}
.lp-swipe { display: none; text-align: center; color: var(--text-4); font-size: 0.8rem; margin-top: 12px; }

/* ============================================================================
   8b. App-Hinweis — Muster der Hinweisfelder (.lp-note), Klicktest V3
   Die Store-Platzhalter sind bewusst KEINE Links und KEINE offiziellen
   Abzeichen: neutrale Flaechen in Elfenbein/Gold, nicht anklickbar.
   ========================================================================== */
.lp-app { align-items: center; max-width: 860px; margin-inline: auto; }
.lp-app__icon {
    width: 72px; height: 72px; flex: none;
    border: 1px solid var(--gold-line); border-radius: var(--r-lg);
    background: var(--surface-1);
}
.lp-app__body { min-width: 0; }
.lp-app__head {
    display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px;
    margin-bottom: 8px;
}
.lp-app__pill {
    padding: 4px 12px; border-radius: 999px;
    border: 1px solid var(--gold-line); background: var(--gold-soft);
    color: var(--gold); font-size: 0.78rem; font-weight: 600;
    letter-spacing: 0.06em; white-space: nowrap;
}
.lp-app__stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.lp-app__store {
    display: inline-flex; align-items: center; gap: 10px;
    min-height: 48px; padding: 10px 18px;
    border: 1px solid var(--line); border-radius: var(--lp-radius);
    background: var(--surface-1); color: var(--text-3);
    font-family: var(--font-ui); font-size: 0.95rem; font-weight: 600;
    cursor: default;
}

@media (max-width: 560px) {
    .lp-app { flex-direction: column; }
    .lp-app__stores .lp-app__store { width: 100%; justify-content: center; }
}

/* ============================================================================
   9. Einstieg in drei Schritten
   ========================================================================== */
.lp-steps {
    display: grid; gap: 32px; margin-top: 56px;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
}
.lp-step { text-align: center; }
.lp-step__num {
    display: flex; align-items: center; justify-content: center;
    width: 58px; height: 58px; margin: 0 auto 18px;
    border: 2px solid var(--gold); border-radius: 50%;
    font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600;
    color: var(--gold);
}
.lp-step h3 { margin-bottom: 8px; }
.lp-step p { color: var(--text-3); font-size: 0.97rem; }

/* ============================================================================
   10. Fragen — <details>/<summary>, funktioniert ohne JavaScript
   ========================================================================== */
.lp-faq { max-width: 780px; margin: 48px auto 0; }
.lp-faq details {
    border: 1px solid var(--line-soft); border-radius: var(--lp-radius-card);
    background: var(--surface-2);
    margin-bottom: 12px;
}
.lp-faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    min-height: 60px; padding: 14px 22px;
    font-family: var(--font-serif); font-weight: 600;
    font-size: clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
    color: var(--text-1);
    cursor: pointer; list-style: none;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after {
    content: ""; flex: none;
    width: 12px; height: 12px;
    border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
    transform: rotate(45deg) translate(-3px, -3px);
    transition: transform 0.25s var(--lp-ease);
}
.lp-faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.lp-faq details[open] { border-color: var(--line); }
.lp-faq p { color: var(--text-3); padding: 0 22px 22px; max-width: 65ch; }

/* ============================================================================
   11. Abschluss und Fusszeile
   ========================================================================== */
.lp-final { text-align: center; }
.lp-final .lp-cta-row { justify-content: center; margin-top: 32px; }
.lp-final .lp-hero__note { margin-top: 20px; }

.lp-foot {
    border-top: 1px solid var(--line-soft);
    background: var(--surface-1);
    padding-block: 40px;
    text-align: center;
}
.lp-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; }
.lp-foot nav a {
    display: inline-flex; align-items: center; min-height: 44px;
    color: var(--text-3); text-decoration: none; font-size: 0.95rem;
}
.lp-foot nav a:hover { color: var(--gold); }
.lp-foot small { display: block; margin-top: 14px; color: var(--text-4); font-size: 0.85rem; }

/* ============================================================================
   12. Dialoge und Formulare — native <dialog>
   ========================================================================== */
.lp-modal {
    width: min(460px, calc(100vw - 32px));
    padding: 0; border: 1px solid var(--line);
    border-radius: var(--lp-radius-card);
    background: var(--surface-2);
    color: var(--text-1);
    box-shadow: var(--shadow-modal);
}
.lp-modal::backdrop { background: var(--surface-0); opacity: 0.82; }
.lp-modal--wide { width: min(1100px, calc(100vw - 32px)); }

.lp-modal__head {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line-soft);
}
.lp-modal__head h2 { font-size: 1.3rem; }
.lp-modal__close {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-right: -8px;
    border: 0; border-radius: var(--lp-radius);
    background: transparent; color: var(--text-3);
    font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.lp-modal__close:hover { background: var(--surface-3); color: var(--text-1); }
.lp-modal__body { padding: 24px; max-height: min(72dvh, 620px); overflow-y: auto; }
.lp-modal__hint {
    margin-top: 18px; padding-top: 16px;
    border-top: 1px solid var(--line-soft);
    color: var(--text-3); font-size: 0.85rem; text-align: center;
}

.lp-field { margin-bottom: 18px; }
.lp-field > label {
    display: block; margin-bottom: 8px;
    font-size: 0.92rem; font-weight: 500; color: var(--text-1);
}
.lp-input {
    width: 100%; min-height: 48px;
    padding: 12px 16px;
    border: 1px solid var(--line-strong); border-radius: var(--lp-radius);
    background: var(--surface-0); color: var(--text-1);
    font-family: var(--font-ui); font-size: 1rem; font-weight: 400; line-height: 1.4;
}
.lp-input::placeholder { color: var(--text-4); }
.lp-input:focus-visible { border-color: var(--gold); }
.lp-hint { margin-top: 7px; color: var(--text-3); font-size: 0.82rem; }

.lp-check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.lp-check input {
    width: 20px; height: 20px; margin: 2px 0 0;
    accent-color: var(--gold); flex: none;
}
.lp-check label { font-size: 0.92rem; color: var(--text-1); }
.lp-check-hint { margin: -8px 0 20px 32px; }
/* Befund E5: der Verweis "Passwort vergessen" stand VOR dem Absendeknopf und
   nur versteckt (lp-hidden). Er steht jetzt fest unter dem Formular — leise in
   --fs-12/--text-3, damit er die Hauptaktion nicht ueberstrahlt, und erst beim
   Anfahren in Gold. Kontrast --text-3 auf --surface-2 (Modalflaeche): 7.2:1. */
.lp-forgot-row { margin-top: 14px; text-align: center; }
.lp-forgot { display: inline-block; font-size: var(--fs-12); background: none; border: 0; padding: 0; cursor: pointer; color: var(--text-3); text-decoration: underline; }
.lp-forgot:hover, .lp-forgot:focus-visible { color: var(--gold); }
.lp-honeypot { position: absolute; left: -9999px; top: -9999px; }

/* Meldungen: Antworten der Endpunkte landen ueber textContent hier. */
.lp-alert {
    margin-bottom: 18px; padding: 12px 16px;
    border: 1px solid var(--line); border-radius: var(--lp-radius);
    background: var(--surface-0); color: var(--text-1); font-size: 0.92rem;
}
.lp-alert--error { border-color: var(--error); }
.lp-alert--ok { border-color: var(--success); }

/* Galerie-Dialog */
.lp-gal__frame { background: var(--surface-0); border-radius: var(--lp-radius); overflow: hidden; }
.lp-gal__frame img { width: 100%; height: auto; }
.lp-gal__cap {
    color: var(--text-1); font-family: var(--font-serif);
    text-align: center; padding: 14px 8px 0;
}
.lp-gal__nav { display: flex; justify-content: space-between; gap: 12px; padding: 18px 0 4px; }

/* ============================================================================
   13. Rechtsseiten — nur das GERUEST der eigenstaendigen Seite /legal/*

   Die Regeln fuer den Inhalt der Fragmente (.lp-legal …) stehen seit der
   D6-Fixrunde in css/views/legal.css: dieselben Fragmente zeigt das Spiel per
   openGlobalModal, und dort wird css/landing.css nicht geladen — die Texte
   kamen im Modal roh heraus. Kopf und Rahmen unten gibt es nur auf der Seite.
   ========================================================================== */

/* Eigenstaendige Rechtsseite: Kopf mit Zurueck-Link und Sprachumschalter */
.lp-legal-top {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
    padding: 14px clamp(16px, 4vw, 32px);
    border-bottom: 1px solid var(--line-soft);
    background: var(--surface-1);
}
.lp-legal-top__back {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
    font-family: var(--font-serif); font-weight: 600;
    color: var(--gold); text-decoration: none; letter-spacing: var(--title-ls);
}
.lp-legal-main {
    max-width: 65rem; margin-inline: auto;
    padding: clamp(32px, 6vw, 64px) clamp(16px, 4vw, 32px);
}

/* ============================================================================
   14. Einblenden (nur mit JS und ohne "weniger Bewegung")
   ========================================================================== */
.lp-page.has-js .lp-reveal {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.6s var(--lp-ease), transform 0.6s var(--lp-ease);
}
.lp-page.has-js .lp-reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .lp-page.has-js .lp-reveal { opacity: 1; transform: none; transition: none; }
    .lp-card:hover, .lp-shot__btn:hover { transform: none; }
    .lp-btn, .lp-nav, .lp-nav::before, .lp-nav__inner, .lp-nav__logo,
    .lp-nav__cta, .lp-lang__btn, .lp-lang__caret, .lp-lang__menu a,
    .lp-faq summary::after, .lp-skip { transition: none; }
}

/* ============================================================================
   15. Schmale Ansichten
   ========================================================================== */
@media (max-width: 1100px) {
    .lp-nav__links { display: none; }
}

@media (max-width: 900px) {
    :root { --lp-nav-h: 64px; --lp-nav-h-scrolled: 56px; }
    .lp-nav__logo { display: none; }
    .lp-nav__mark { display: flex; }
    .lp-nav__mark span { font-size: 0.95rem; }

    .lp-hero {
        min-height: min(100svh, 720px);
        padding-block: calc(var(--lp-nav-h) + 40px) 56px;
    }
    /* Mobil kommt ein senkrechter Verlauf dazu — aber nur so stark, dass
       Kopfleiste und Unterkante sich absetzen. Die Lesbarkeit des Textes
       leistet weiterhin die Tafel hinter der Spalte. */
    .lp-hero__media::before {
        content: ""; position: absolute; inset: 0; z-index: 1;
        background: linear-gradient(180deg,
            var(--surface-0) 0%, transparent 30%, transparent 72%, var(--surface-0) 100%);
        opacity: 0.45;
    }
    .lp-hero__col { max-width: none; }
    .lp-hero__logo { width: min(100%, 420px); }
}

/* Paket D5c: die Grenze stand hier auf 700 px — eine sechste Zahl neben 1100,
   900, 768, 560. Sie ist auf 767 px gerueckt, die Telefongrenze der Shell
   (ui/js/wop-shell.js, PHONE_QUERY) und die Gegenzahl zum min-width: 768 px
   weiter oben. Zwischen 701 und 767 px stand die Galerie bisher als
   einspaltiges Raster (auto-fit, minmax(380px, 1fr)) — sie bricht dort also
   nicht, sie wischt jetzt genauso wie eine Zeile tiefer. */
@media (max-width: 767px) {
    /* Galerie wird zur wischbaren Reihe (ohne jQuery, reines Scroll-Snapping). */
    .lp-shots {
        display: flex; gap: 12px;
        overflow-x: auto; scroll-snap-type: x mandatory;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }
    .lp-shot { flex: 0 0 260px; scroll-snap-align: start; }
    .lp-swipe { display: block; }
}

@media (max-width: 560px) {
    .lp-nav__actions .lp-btn--ghost { display: none; }  /* "Anmelden" steckt im Hero */
    .lp-nav__mark span { display: none; }
    .lp-lang__btn { padding: 0 9px; gap: 6px; }
    .lp-cta-row .lp-btn { width: 100%; }
    .lp-modal__body { padding: 20px 18px; }
    .lp-legal-top { gap: 10px; }
}
