/* ¡Yo? Startseite Deutsch (/de/), aus dem Gestaltungsentwurf vom 2.11.2026 (docs/website-neugestaltung-de-2026-11-02).
   Farben: Tokens aus app/src/theme/tokens.ts und website/quelle/stil.css (Designsystem Website 3.0).
   ENTWURFSWERTE OHNE TOKEN sind markiert und für Cora aufzulisten (Entscheidung 5.16). */
@font-face { font-family: 'EB Garamond'; src: url('/schriften/eb-garamond.woff') format('woff'); font-weight: 400 800; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/schriften/inter-400.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/schriften/inter-600.woff') format('woff'); font-weight: 600; font-display: swap; }

:root {
  --bg: #FDF6F0; --surface: #FFFFFF; --brand: #E8734A; --accent: #3E6B8C;
  --text: #2B211C; --text-muted: #7E6E64; --line: #E8DCD2; --outline: #9A8D7E;
  --bg-deep: #100D0B; --star: #FFF4E8;
  /* Nacht (immer dunkel, Dunkel-Palette der App) */
  --n-text: #F2EAE4; --n-muted: #A89A90; --n-line: #382E28; --n-brand: #F0885F; --n-outline: #7E6E60;
  --n-grund: #0C0908; /* Entwurfswert yo-universum.html */
  --n-flaeche: #17120F; /* ENTWURFSWERT OHNE TOKEN: Grund der Demo-Endkarte (marketing/screens) */
  /* App hell (Frage- und Detailansicht) */
  --a-bg: #FDF6F0; --a-text: #2B211C; --a-muted: #7E6E64; --a-line: #E8DCD2; --a-outline: #9A8D7E;
  --a-ja: #EE8B66; --a-nein: #8FA9C4; --a-leer: #E5DFD6; --a-wahl: #FDF0E9;
  --rad-s: 8px; --rad-m: 16px; --rad-l: 24px;
  --soft: 360ms; --breath: 600ms; --ease-out: cubic-bezier(.22, .9, .28, 1);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #1A1512; --surface: #241D19; --brand: #F0885F; --accent: #6F97B8;
          --text: #F2EAE4; --text-muted: #A89A90; --line: #382E28; --outline: #7E6E60; }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 64px; }
body { background: var(--bg); color: var(--text); font-family: Inter, -apple-system, 'Segoe UI', sans-serif;
       font-size: 17px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
h1, h2 { font-family: 'EB Garamond', Georgia, serif; font-weight: 400; letter-spacing: -.005em; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.4vw, 48px); line-height: 1.15; margin: 8px 0 20px; }
h3 { font-size: 22px; font-weight: 600; line-height: 1.3; margin-bottom: 10px; }
p { text-wrap: pretty; }
.breite { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.breite.schmal { max-width: 760px; }
.oberzeile { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.dunkel .oberzeile { color: var(--n-brand); }
.einleitung { font-size: 18px; line-height: 1.6; }
.hell { background: var(--bg); color: var(--text); }
.dunkel { background: var(--n-flaeche); color: var(--n-text); }
section { position: relative; }


/* Kopfleiste */
.leiste { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; padding: 10px 16px;
          background: rgba(23, 18, 15, .88); color: var(--n-text); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.wortmarke { font-family: 'EB Garamond', Georgia, serif; font-size: 28px; line-height: 1; text-decoration: none; letter-spacing: .03em; }
.wortmarke .z { color: var(--n-brand); }
.wortmarke.klein { font-size: 20px; }
.navi { display: none; gap: 4px; margin-left: auto; }
.navi a { text-decoration: none; font-size: 15px; color: var(--n-muted); padding: 10px 12px; border-radius: 999px; }
.navi a:hover { color: var(--n-text); }
.bewegung-knopf { margin-left: auto; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--n-outline);
                  background: transparent; color: var(--n-text); font: 600 14px/1.2 Inter, -apple-system, sans-serif; cursor: pointer; }
.bewegung-knopf[hidden] { display: none; }
.bewegung-knopf[aria-pressed="true"] { border: 2px solid var(--n-brand); background: #F0885F1F; }
@media (min-width: 860px) { .navi { display: flex; } .navi + .bewegung-knopf { margin-left: 8px; } }

/* 1 · Einstieg */
.held { overflow: hidden; padding: 40px 0 56px; background: radial-gradient(120% 90% at 85% 40%, #3A2219 0%, var(--n-flaeche) 55%, var(--bg-deep) 100%); }
.held-falte { position: absolute; top: 0; bottom: 0; right: 0; width: 100%; pointer-events: none; opacity: .55; transform-origin: 100% 50%; }
.held-falte img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 100% 30%;
                  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 80%); mask-image: linear-gradient(90deg, transparent 35%, #000 80%); }
.held-innen { position: relative; max-width: 1160px; margin: 0 auto; padding: 0 16px; display: grid; gap: 40px; }
.held h1 { font-size: clamp(36px, 8vw, 48px); line-height: 1.08; margin: 10px 0 18px; }
.held .einleitung { color: var(--n-text); opacity: .92; max-width: 34em; font-size: 17px; }
@media (min-width: 900px) { .held .einleitung { font-size: 19px; } }
.beispiel-frage { margin: 26px 0 26px; padding: 16px 18px 18px; border-left: 3px solid var(--n-brand); background: rgba(240, 136, 95, .08); border-radius: 0 var(--rad-m) var(--rad-m) 0; max-width: 32em; }
.beispiel-frage figcaption { font-size: 13px; color: var(--n-muted); }
.beispiel-frage blockquote p { font-family: 'EB Garamond', Georgia, serif; font-size: clamp(24px, 3.4vw, 30px); line-height: 1.25; margin-top: 4px; }
.laden-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.store-badge { display: inline-block; padding: 10px; margin: -10px 0; line-height: 0; border-radius: var(--rad-s); }
.store-badge img { display: block; height: 40px; width: auto; }
.laden-info { font-size: 14px; line-height: 1.45; color: var(--n-muted); }
.fakten { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.fakten li { font-size: 14px; padding: 8px 14px; border: 1px solid var(--n-line); border-radius: 999px; color: var(--n-text); }
.held-bild { display: flex; flex-direction: column; align-items: center; }


/* 2 · Anlässe: Text führt, Telefon steht frei, keine Kästen und Trennlinien */
.anlaesse { padding: 96px 0 48px; overflow-x: clip; }
.anlaesse > .breite:first-child { margin-bottom: 8px; }
.anlaesse > .breite:first-child h2 { max-width: 14em; }
.anlass { display: grid; gap: 36px; padding-top: 48px; padding-bottom: 48px; }
.anlass-nr { font-family: 'EB Garamond', Georgia, serif; font-size: 20px; color: var(--brand); margin-bottom: 6px; }
.anlass h3 { font-family: 'EB Garamond', Georgia, serif; font-weight: 400; font-size: clamp(28px, 3.2vw, 36px); line-height: 1.15; margin-bottom: 14px; }
.anlass-satz { font-size: 18px; max-width: 30em; }
.anlass-heute { font-size: 17px; max-width: 30em; margin-top: 12px; color: var(--text-muted); }
.anlass-mehr { font-size: 16px; max-width: 30em; margin-top: 22px; color: var(--text-muted); }
.anlass-mehr-titel { display: block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 2px; }
.anlass-bild { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 0; }
/* weicher Kupferschein hinter dem Telefon statt dunklem Kasten */
.anlass-bild::before { content: ''; position: absolute; left: 50%; top: 46%; width: min(125%, 100vw); max-width: 520px; aspect-ratio: 1; transform: translate(-50%, -50%);
                       background: radial-gradient(closest-side, rgba(232, 115, 74, .16), rgba(232, 115, 74, 0)); pointer-events: none; }
.anlass-bild .telefon { position: relative; }
.anlass-bild .t-rahmen { box-shadow: 0 28px 64px rgba(43, 33, 28, .30), inset 0 0 0 1px rgba(255, 244, 232, .12); }
.anlass-bild .aufnahme-notiz { position: relative; color: var(--text-muted); }

/* 3 · Vergleich */
.vergleich { padding: 88px 0; background: radial-gradient(80% 70% at 75% 50%, #2E1C15, var(--n-flaeche) 65%); }
.vergleich-raster { display: grid; gap: 44px; align-items: center; }
.blickwinkel { list-style: none; display: grid; gap: 10px; margin: 22px 0; }
.blickwinkel li { border: 1px solid var(--n-line); border-radius: var(--rad-m); padding: 4px 16px 14px; transition: border-color var(--soft) var(--ease-out), background-color var(--soft) var(--ease-out); }
.blickwinkel p { color: var(--n-muted); font-size: 16px; }
.bw-knopf { display: block; width: 100%; min-height: 44px; text-align: left; background: none; border: 0; color: var(--n-text); cursor: pointer;
            font: 600 18px/1.3 Inter, -apple-system, sans-serif; padding: 10px 0 2px; }
.bw-titel::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--n-outline); margin-right: 10px; vertical-align: 1px; }
.blickwinkel li.aktiv { border: 2px solid var(--n-brand); background: #F0885F1F; padding: 3px 15px 13px; }
.blickwinkel li.aktiv p { color: var(--n-text); }
.blickwinkel li.aktiv .bw-titel::before { background: var(--n-brand); border-color: var(--n-brand); }
.ehrlich { font-size: 15px; color: var(--n-muted); border-top: 1px solid var(--n-line); padding-top: 16px; }
.vergleich-bild { display: flex; flex-direction: column; align-items: center; }
/* 4 · Wachsen */
.wachsen { padding: 88px 0; }
.wachsen-raster { display: grid; gap: 36px; align-items: center; }
.wachsen-text p { margin-bottom: 14px; max-width: 34em; font-size: 18px; }
.wachsen-bild { border-radius: var(--rad-l); background: radial-gradient(80% 80% at 50% 50%, #2E1C15, var(--bg-deep) 75%); padding: 16px; }
.sternbild { display: block; width: 100%; height: auto; }
.sternbild .linie { stroke: #FFF4E8; stroke-opacity: .22; stroke-width: 1; fill: none; }
.sternbild .stern { fill: #FFF4E8; }
.sternbild .eigen { fill: #F0885F; }
.wachsen-bild figcaption { text-align: center; font-size: 12px; color: var(--n-muted); margin-top: 6px; }

/* 5 · Entdecken */
.entdecken { padding: 80px 0 28px; background: var(--n-grund); }
.entdecken-kopf { display: grid; gap: 28px; margin-bottom: 32px; }
.schritte { list-style: none; display: grid; gap: 12px; align-content: start; }
.schritte li { display: flex; gap: 14px; align-items: flex-start; }
.schritt-nr { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--n-outline); display: flex; align-items: center; justify-content: center;
              font-family: 'EB Garamond', Georgia, serif; font-size: 19px; color: var(--n-brand); }
.schritte p { padding-top: 4px; }
.universum-rahmen { max-width: 1240px; margin: 0 auto; }
.universum-rahmen .universum { border-radius: 0; }
@media (min-width: 900px) { .universum-rahmen { padding: 0 16px; } .universum-rahmen .universum { border-radius: var(--rad-l); border: 1px solid var(--n-line); } }
.entdecken-fuss { font-size: 14px; color: var(--n-muted); text-align: center; padding-top: 16px; }

/* 6 · FAQ */
.faq { padding: 88px 0; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative; font-weight: 600; font-size: 18px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 10px; top: 14px; width: 26px; line-height: 26px; text-align: center; font-size: 26px; font-weight: 400; color: var(--brand); transition: transform var(--soft) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--text); max-width: 40em; }

/* 7 · Abschluss */
.abschluss { overflow: hidden; padding: 96px 0; text-align: center; background: var(--bg-deep); }
.abschluss-falte { position: absolute; inset: 0; opacity: .35; pointer-events: none; display: flex; justify-content: flex-end; align-items: center; }
.abschluss-falte img { width: 140%; max-width: none; height: auto; transform: translateX(18%); -webkit-mask-image: linear-gradient(90deg, transparent 55%, #000 85%); mask-image: linear-gradient(90deg, transparent 55%, #000 85%); }
.abschluss-innen { position: relative; }
.abschluss p { color: var(--n-muted); margin: -6px 0 24px; }
.fuss { padding: 28px 16px 40px; text-align: center; font-size: 13px; color: var(--text-muted); }
.fuss p + p { margin-top: 6px; }
.fuss a { display: inline-block; padding: 6px 2px; }

/* Breite Ansicht: Bild und Text nebeneinander, abwechselnd */
@media (min-width: 900px) {
  .held { padding: 40px 0 72px; }
  .held h1 { font-size: 48px; }
  .telefon.gross { width: 290px; }
  .held-innen { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; }
  .held-falte { width: 62%; opacity: .7; }
  .held-falte img { object-position: 92% 40%; }
  .anlass { grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
  .anlass.gespiegelt { grid-template-columns: .95fr 1.05fr; }
  .anlass.gespiegelt .anlass-text { order: 2; }
  .anlass-bild .telefon { width: 290px; }
  .vergleich-raster { grid-template-columns: 1fr 1fr; gap: 80px; }
  .vergleich-bild { order: -1; }
  .wachsen-raster { grid-template-columns: 1fr 1fr; gap: 72px; }
  .entdecken-kopf { grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: end; }
}

/* Bewegung: nur mit JavaScript und ohne „Bewegung reduzieren“. Ohne JavaScript ist alles sofort sichtbar. */
@media (prefers-reduced-motion: no-preference) {
  .js:not(.bewegung-aus) .held-falte { animation: entfalten 1.8s var(--ease-out) both; }
  .js:not(.bewegung-aus) .held .telefon { animation: auftauchen 1.2s .25s var(--ease-out) both; }
  .js:not(.bewegung-aus) .einblenden.unsichtbar .anlass-bild,
  .js:not(.bewegung-aus) .einblenden.unsichtbar.wachsen-bild { opacity: 0; transform: translateY(24px); }
  .js .einblenden .anlass-bild, .js .einblenden.wachsen-bild { transition: opacity var(--breath) var(--ease-out), transform var(--breath) var(--ease-out); }
}
@keyframes entfalten {
  from { opacity: 0; transform: perspective(900px) rotateY(-38deg) scaleX(.55); clip-path: inset(0 0 0 70%); }
  to { opacity: .55; transform: none; clip-path: inset(0 0 0 0); }
}
@media (min-width: 900px) { @keyframes entfalten { from { opacity: 0; transform: perspective(900px) rotateY(-38deg) scaleX(.55); clip-path: inset(0 0 0 70%); } to { opacity: .7; transform: none; clip-path: inset(0 0 0 0); } } }
@keyframes auftauchen { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .blickwinkel li, .aufnahme-wechsel img { transition: none !important; }
}
html:not(.js) .wachsen-bild { display: none; }
/* Handy: App-Ansicht direkt über den vier Blickwinkeln, damit der Wechsel beim Tippen sichtbar ist */
@media (max-width: 899px) {
  .vergleich-raster { display: flex; flex-direction: column; gap: 0; }
  .vergleich-text { display: contents; }
  .vergleich-text > * { order: 1; }
  .vergleich-bild { order: 2; margin: 8px 0 4px; }
  .vergleich-text > .blickwinkel, .vergleich-text > .ehrlich { order: 3; }
}
/* Detailansicht: so hoch wie ihr Inhalt, damit nichts abgeschnitten wird (in der App scrollt diese Ansicht) */

/* Echte App-Aufnahmen (deutsches App-Vorschauvideo vom 31.10.2026, Originalkomponenten, Beispieldaten im Bild gekennzeichnet) */
.telefon { width: min(100%, 300px); margin: 0 auto; }
.telefon.gross { width: min(100%, 330px); }
.t-rahmen { border-radius: 46px; padding: 9px; background: linear-gradient(145deg, #3A302A, #120E0C); /* ENTWURFSWERT OHNE TOKEN: Gerätrahmen */
            box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 0 0 1px rgba(255,244,232,.12); }
.t-rahmen img { display: block; width: 100%; height: auto; aspect-ratio: 664 / 1440; border-radius: 38px; background: #17120F; }
.aufnahme-notiz { margin-top: 12px; font-size: 12px; line-height: 1.45; color: var(--n-muted); text-align: center; max-width: 330px; margin-left: auto; margin-right: auto; }
.anlass-bild .telefon { width: min(78%, 270px); }
.aufnahme-wechsel { position: relative; }
.aufnahme-wechsel img + img { position: absolute; inset: 0; }
.js .aufnahme-wechsel img { transition: opacity var(--soft) var(--ease-out); }
.js .aufnahme-wechsel img:not(.an) { opacity: 0; }
html:not(.js) .aufnahme-wechsel img + img { display: none; }
.bewegung-aus .aufnahme-wechsel img { transition: none; }
/* Lokale Prüfansicht (nur in Entwurfsbauten) */
.pruefansicht { background: #FFF1B8; color: #2B211C; font-size: 13px; text-align: center; padding: 6px 16px; }
@media (max-width: 899px) { .vergleich .telefon { width: min(100%, 300px); } }
/* Sprachwahl */
.sprachen { display: flex; flex-wrap: wrap; gap: 2px; font-size: 12px; letter-spacing: .04em; margin-bottom: 18px; }
.sprachen a { padding: 10px 8px; border-radius: 6px; color: var(--n-muted); text-decoration: none; }
.sprachen a:hover { color: var(--n-text); }
.sprachen a[aria-current="page"] { color: var(--n-text); font-weight: 600; }
.fuss-sprachen { justify-content: center; margin: 6px 0 0; }
.fuss-sprachen a { color: var(--text-muted); }
.fuss-sprachen a[aria-current="page"] { color: var(--text); }

/* Handy: Falte nur als Andeutung am Rand, damit Titel und Text vollen Kontrast behalten */
@media (max-width: 899px) {
  .held-falte { opacity: .3; }
  .held-falte img { -webkit-mask-image: linear-gradient(90deg, transparent 60%, #000 95%); mask-image: linear-gradient(90deg, transparent 60%, #000 95%); }
}
@media (max-width: 899px) and (prefers-reduced-motion: no-preference) {
  @keyframes entfalten { from { opacity: 0; transform: perspective(900px) rotateY(-38deg) scaleX(.55); clip-path: inset(0 0 0 70%); } to { opacity: .3; transform: none; clip-path: inset(0 0 0 0); } }
}
