/* ============================================================
   FONT-PAKET — Handover DESIGN, eingebaut 28.07.2026 (T-001)
   Entscheidung Pina: Google Fonts als Interimsloesung, Selbst-Hosting
   folgt mit T-030. Datenschutzerklaerung Abschnitt 6 wurde entsprechend
   angepasst — RECHT ist informiert.

   "Liv Signature" ist ein Komposit aus zwei Schriften. Statt jedes kleine
   "a" von Hand in ein <span> zu packen (Handover Punkt 3/4), uebernimmt das
   `unicode-range`: der zweite Block gilt NUR fuer U+0061. Reihenfolge ist
   entscheidend — bei ueberlappenden Bereichen gewinnt die spaetere Regel,
   deshalb steht Annie unten. Nicht vertauschen.
   ============================================================ */
@font-face {
  font-family: 'Liv Signature';
  src: url(https://fonts.gstatic.com/s/labelleaurore/v23/RrQIbot8-mNYKnGNDkWlocovHeIIGw.ttf) format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Liv Signature';
  src: url(https://fonts.gstatic.com/s/annieuseyourtelescope/v20/daaLSS4tI2qYYl3Jq9s_Hu74xwktnlKxH6osGVGjlA.ttf) format('truetype');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0061;            /* nur das kleine a */
}

/* ============================================================
   GERÜST-STYLES — Palette G1 (DESIGN-Handover 19.07., von HQ
   übernommen 27.07.). Finale Typo folgt (T-001/T-004).
   ============================================================ */
:root {
  /* PALETTE G1 — FINAL (WCAG-Kontraste vom Design-Chat gemessen) */
  --ivory:      #F6EFE1;  /* heller Grund (Coaching) · Text auf Blautönen */
  --midnight:   #0A0B4A;  /* dunkler Grund (Escorting) · Text auf Ivory & Camel */
  --klein:      #002FA7;  /* FÜHRT: Headlines, Links, Akzente */
  --deep:       #010091;  /* Hover/Active von Klein */
  --greige:     #C2BCAE;  /* ruhige Flächen, Divider, Sekundärtext auf Midnight */
  --camel:      #AD7D4C;  /* NUR Fläche/Button — nie Textfarbe auf Ivory */
  --camel-text: #7A5C33;  /* warmer TEXT-Akzent auf Ivory (ersetzt #8a6d3b) */
  --spark:      #DE5426;  /* Mikrodosen: Focus/Hover-Detail, max. 1×/Seite */

  --text: var(--midnight);
  --muted: #666;
  --line: #ddd;
  --bg: #fdfdfd;
  --accent: var(--klein);
}
/* Gespiegelte Themes (Zuordnung aus DESIGN-Handover 2b):
   Coaching: Grund Ivory, Text Midnight, Akzent Klein, Warmakzent Camel-Text.
   Escorting: Grund Midnight, Text Ivory, Sekundärtext Greige, Akzent Camel. */
body.theme-coa { --bg: var(--ivory); --text: var(--midnight); --accent: var(--klein);
  --muted: var(--camel-text); --line: #d9d2c2; }
body.theme-esc { --bg: var(--midnight); --text: var(--ivory); --accent: var(--camel);
  --muted: var(--greige); --line: rgba(246,239,225,.28); }

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Jost', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
main { max-width: 720px; margin: 0 auto; padding: 2rem 1.25rem 4rem; }
h1, h2, h3 {
  font-family: 'Liv Signature', Georgia, serif;
  line-height: 1.25; font-weight: 400; font-style: normal;
  letter-spacing: normal; text-transform: none;
}
/* Farbzuordnung aus dem Handover, Punkt 6 */
body.theme-coa h1, body.theme-coa h2, body.theme-coa h3 { color: var(--klein); }
body.theme-esc h1, body.theme-esc h2, body.theme-esc h3 { color: var(--ivory); }

/* Signatur am Textende — dieselbe Schrift, warmer Akzent */
.signatur { font-family: 'Liv Signature', Georgia, serif; font-size: 1.35rem; line-height: 1.4; }
body.theme-coa .signatur { color: var(--camel-text); }
body.theme-esc .signatur { color: var(--greige); }
a { color: var(--accent); }
body.theme-coa a { color: var(--klein); }
body.theme-esc a { color: var(--camel); }

/* --- Landingpage: Split (wird mit Page 0 / T-005 ersetzt) --- */
/* --- Page 0 / Landing (Foyer-Bild) — Stand 28.07.2026, Rev. 2 ---
   Die Klickflaechen der Tueren duerfen NICHT in Viewport-Prozent liegen
   (Auflage T-028). Sie sitzen in `.p0-frame`, einer Box mit exakt dem
   Bild-Seitenverhaeltnis, die sich wie object-fit:cover verhaelt.
   REV. 2: Auf schmalen Schirmen bekommt der Footer einen eigenen Sockel in
   der Wandfarbe. Vorher lag er ueber den Tueren — Impressum/Datenschutz
   standen auf den Tuerflaechen, die Beschriftungen darunter. */
.landing {
  --p0-ar: 1.7922;                 /* Desktop 2880x1607 */
  --p0-foot: 0px;                  /* Hoehe der Sockelleiste (Desktop: keine) */
  position: relative;
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  background: #0d0e19;
  color: var(--ivory);
}
.p0-stage {
  position: relative; flex: 1 1 auto; overflow: hidden;
  min-height: calc(100svh - var(--p0-foot));
}
.p0-frame {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width:  max(100vw, calc((100svh - var(--p0-foot)) * var(--p0-ar)));
  height: max(calc(100svh - var(--p0-foot)), calc(100vw / var(--p0-ar)));
}
.p0-frame picture, .p0-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Ganze Tuerflaeche ist der Button (Pina-Vorgabe: Lesbarkeit schlaegt Stil). */
.door {
  position: absolute; display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 5%; text-decoration: none;
}
.door span {
  background: var(--camel); color: var(--midnight);
  padding: .55rem 1.3rem; font-size: .95rem;
  letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  font-weight: 500;
}
.door:hover span { background: var(--ivory); }
.door:focus-visible { outline: 3px solid var(--ivory); outline-offset: -3px; }
.door-coa { left: 11%;   width: 23%;   top: 15%; height: 74%; }
.door-esc { left: 66.5%; width: 24.5%; top: 15%; height: 74%; }

/* Bedienelemente ueber dem Bild. pointer-events aus, damit die Tueren
   darunter klickbar bleiben; Links schalten es wieder ein. */
.p0-ui {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  display: flex; flex-direction: column;
}
.p0-ui a { pointer-events: auto; }
.p0-ui .topbar { border: none; }
.p0-ui .topbar a { color: var(--ivory); }
.landing-name { text-align: center; padding: 5vh 1rem 0; }
.landing-name h1 {
  font-size: clamp(2.2rem, 8vw, 4.2rem); letter-spacing: normal; margin: 0;
  color: var(--ivory); text-shadow: 0 2px 18px rgba(10,11,74,.75);
}

/* Footer: auf breiten Schirmen ueber dem Foto, auf schmalen als Sockel. */
.p0-foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; gap: 1.5rem; flex-wrap: wrap;
  padding: 1rem 1.25rem; font-size: .85rem; border: none; background: none;
}
.p0-foot a { color: var(--ivory); }

@media (max-width: 760px) {
  .landing { --p0-ar: 0.5685; --p0-foot: 4.25rem; }  /* Mobil 1440x2533 */
  .p0-foot {
    position: static; background: #0d0e19;
    justify-content: center; gap: 2rem;
    min-height: var(--p0-foot); align-items: center;
  }
  .door-coa { left: 5%;  width: 41%; top: 47%; height: 50%; }
  .door-esc { left: 53%; width: 41%; top: 47%; height: 50%; }
  .door { padding-bottom: 8%; }
  .door span { font-size: .85rem; padding: .5rem 1rem; letter-spacing: .12em; }
}

.split { flex: 1; display: flex; }
.split a {
  flex: 1; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; letter-spacing: .08em; text-decoration: none;
  border-top: 1px solid var(--line); padding: 3rem 1rem;
}
.split a + a { border-left: 1px solid var(--line); }
.split a:hover { background: #f2f2f2; }
@media (max-width: 600px) { .split { flex-direction: column; } .split a + a { border-left: none; } }

/* --- Unterseiten --- */
.topbar { font-weight: 400; display: flex; justify-content: space-between; align-items: center;
  padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); font-size: .9rem; }
.topbar .home { text-decoration: none; letter-spacing: .1em; color: var(--text); }
.btn {
  display: inline-block; padding: .9rem 2rem; margin: 1rem 0 2rem;
  background: var(--camel); color: var(--midnight); text-decoration: none;
  border: none; font-size: 1rem; font-weight: 500; cursor: pointer;
}
.btn:hover { background: var(--deep); color: var(--ivory); }
/* ACHTUNG (Live-Fund 27.07.2026): `body.theme-esc a` hat höhere Spezifität als
   `a.btn` — dadurch war die Buttonschrift camel auf camel, also unsichtbar.
   Die Theme-Selektoren müssen hier mitgeführt werden, sonst kippt es zurück. */
body.theme-esc a.btn, body.theme-coa a.btn { color: var(--midnight); }
body.theme-esc a.btn:hover, body.theme-coa a.btn:hover { color: var(--ivory); }

/* Focus-Ringe pro Theme (a11y-Regel aus DESIGN-Handover) */
body.theme-coa :focus-visible { outline: 3px solid var(--klein); outline-offset: 2px; }
body.theme-esc :focus-visible { outline: 3px solid var(--ivory); outline-offset: 2px; }

/* --- Drei Grundsätze (ESC-WELCOME) — deutlich hervorgehoben.
       Eigene Schriftart folgt von DESIGN (T-001). --- */
.grundsaetze { margin: 1.5rem 0; padding-left: 1rem; border-left: 3px solid var(--accent); }
.grundsaetze p { font-size: 1.2rem; line-height: 1.5; margin: .6rem 0; }

figure.placeholder {
  margin: 1.5rem 0; padding: 3rem 1rem; text-align: center;
  border: 1px dashed var(--line); color: var(--muted); font-size: .9rem;
}
/* Seitenfotos (Coaching/Escorting). Hochformat, deshalb in der Breite begrenzt —
   sonst fuellt ein Portraet den halben Bildschirm. Eingebaut 27.07.2026. */
figure.foto { margin: 2rem 0; }
figure.foto img { display: block; width: 100%; max-width: 520px; height: auto; margin: 0 auto; }
figure.zert { margin: 1rem 0; }
figure.zert img { width: 120px; height: auto; max-height: 120px; border: 1px solid var(--line); }

/* --- FAQ --- */
details { border-top: 1px solid var(--line); padding: .8rem 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-size: 1.05rem; letter-spacing: .04em; }
.faq-frage { font-size: 1.05rem; margin: 1rem 0 .5rem; }
details table { width: 100%; border-collapse: collapse; margin: .8rem 0; }
details td, details th { padding: .35rem .5rem .35rem 0; border-bottom: 1px solid var(--line);
  text-align: left; vertical-align: top; }
details tr:last-child td { border-bottom: none; }

.note { color: var(--muted); font-size: .85rem; }
footer { border-top: 1px solid var(--line); margin-top: 3rem; padding: 1.5rem 1.25rem;
  font-size: .85rem; color: var(--muted); display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* --- Formular --- */
form fieldset { border: 1px solid var(--line); margin: 0 0 1.5rem; padding: 1rem 1.25rem; }
form legend { padding: 0 .5rem; letter-spacing: .05em; }
form label { display: block; margin: .8rem 0 .25rem; }
form input[type=text], form input[type=email], form input[type=date],
form select, form textarea {
  width: 100%; padding: .55rem; border: 1px solid #bbb;
  font: inherit; background: #fff; color: #1a1a1a;
}
form textarea { min-height: 120px; }
.checkrow { display: flex; gap: .6rem; align-items: flex-start; margin: .8rem 0; }
.checkrow input { margin-top: .3rem; }
.conditional { display: none; margin: .5rem 0 0; padding: .8rem; }
body.theme-coa .conditional { background: rgba(0,47,167,.06); }
body.theme-esc .conditional { background: rgba(246,239,225,.08); }
.conditional.visible { display: block; }
.charcount { font-size: .8rem; color: var(--muted); text-align: right; }
.form-msg { padding: 1rem; margin-top: 1rem; display: none;
  border: 1px solid var(--accent); }
/* Fehlermeldung: muss auffallen, ohne aus der Palette zu fallen */
.form-err { border-width: 2px; font-weight: 600; }
body.theme-coa .form-err { border-color: #a11; color: #a11; background: rgba(170,17,17,.05); }
body.theme-esc .form-err { border-color: #ffb4b4; color: #ffd9d9; background: rgba(255,120,120,.12); }

/* Honeypot (Spamschutz T-003c): für Menschen unsichtbar, für Bots vorhanden.
   Kein display:none — manche Bots überspringen ausgeblendete Felder. */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px;
  overflow: hidden; }

/* --- 18+ Overlay --- */
.age-gate {
  position: fixed; inset: 0; background: rgba(10,11,74,.97); color: var(--ivory);
  display: flex; align-items: center; justify-content: center; z-index: 100;
  padding: 1.5rem; text-align: center;
}
.age-gate .box { max-width: 420px; }
.age-gate .btn { margin: .5rem; }
body.gate-open { overflow: hidden; }
