/* Auszeit · auszeit.nxtchange.app
   Gemeinsames Stylesheet der Startseite (tools/build_site.py), der 404-Seite und der Rechtstexte (_layouts/default.html).
   Farben aus store/screenshots.swift im App-Repo: hell = Theme „abend-hell“ (Hauptfassung), dunkel = „abend-dunkel“,
   nur nach Systemeinstellung oder data-theme="dark". Keine Webfonts, keine externen Dateien. */

:root {
  --text: #1A1614;
  --accent: #804A12;        /* Gold-Braun: zweite Überschriftzeile, Etikett, Links. Kleiner Text nur auf hellem Grund. */
  --muted: #504036;
  --bg: #FAF3E6;
  --surface: #FFFBF3;
  --line: rgba(128, 74, 18, .16);
  --g1: #FAF3E6;            /* Abendverlauf von links oben nach rechts unten */
  --g2: #F7DBA8;
  --g3: #EEAC7A;
  --sun: rgba(255, 246, 222, .9);   /* Abendlicht, weich, radial */
  --glow: rgba(255, 236, 200, .35); /* warmer Schein hinter Geräten */
  --frame: #181A20;
  --device-shadow: 0 24px 56px rgba(0, 0, 0, .30), 0 6px 16px rgba(0, 0, 0, .12);
  --card-shadow: 0 1px 2px rgba(80, 64, 54, .06), 0 12px 32px rgba(80, 64, 54, .08);
  --pill: #1A1614;
  --pill-text: #FAF0DE;
  --pill-border: transparent;
  --gold: #E2C692;          /* helles Gold auf dunklem Grund */
  --foot-bg: #1A1614;
  --foot-text: #FAF0DE;
  --foot-muted: #CDBFAE;
  --serif: ui-serif, "New York", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --maxw: 1120px;
  --gutter: 16px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --text: #F8F5EE; --accent: #E2C692; --muted: #BEC2D2;
    --bg: #101424; --surface: #171C33; --line: rgba(226, 198, 146, .18);
    --g1: #101424; --g2: #202848; --g3: #462C42;
    --sun: rgba(214, 186, 128, .10); --glow: rgba(214, 186, 128, .22);
    --frame: rgba(226, 198, 146, .6);
    --device-shadow: 0 0 0 1.5px rgba(226, 198, 146, .6), 0 24px 56px rgba(0, 0, 0, .35);
    --card-shadow: 0 12px 32px rgba(0, 0, 0, .25);
    --pill: rgba(226, 198, 146, .18); --pill-text: #F0DEBA; --pill-border: rgba(226, 198, 146, .6);
    --foot-bg: #0B0E1A; --foot-text: #F8F5EE; --foot-muted: #BEC2D2;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --text: #F8F5EE; --accent: #E2C692; --muted: #BEC2D2;
  --bg: #101424; --surface: #171C33; --line: rgba(226, 198, 146, .18);
  --g1: #101424; --g2: #202848; --g3: #462C42;
  --sun: rgba(214, 186, 128, .10); --glow: rgba(214, 186, 128, .22);
  --frame: rgba(226, 198, 146, .6);
  --device-shadow: 0 0 0 1.5px rgba(226, 198, 146, .6), 0 24px 56px rgba(0, 0, 0, .35);
  --card-shadow: 0 12px 32px rgba(0, 0, 0, .25);
  --pill: rgba(226, 198, 146, .18); --pill-text: #F0DEBA; --pill-border: rgba(226, 198, 146, .6);
  --foot-bg: #0B0E1A; --foot-text: #F8F5EE; --foot-muted: #BEC2D2;
  color-scheme: dark;
}

/* Grundlagen */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--pill); color: var(--pill-text);
  padding: 10px 16px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }

/* Typografie wie auf den Store-Bildern: Etikett in Versalien, Serifen-Überschrift, zweite Zeile im Akzent */
.label {
  margin: 0 0 12px; color: var(--accent);
  font: 700 12.5px/1.35 var(--sans); letter-spacing: .18em; text-transform: uppercase;
}
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 600; letter-spacing: -.012em; }
h1 { font-size: clamp(36px, 4.6vw, 54px); line-height: 1.05; margin: 0 0 22px; }
h2 { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.04; margin: 0 0 14px; }
h3 { font-size: 22px; line-height: 1.2; margin: 0 0 8px; }
.lines > span { display: block; }
.accent { color: var(--accent); }
.sub { margin: 0; color: var(--muted); font-size: clamp(17px, 1.9vw, 20px); font-weight: 500; line-height: 1.45; max-width: 36em; }
.lead { margin: 0 0 28px; color: var(--muted); font-size: clamp(18px, 2vw, 20px); line-height: 1.55; max-width: 36em; }
p { margin: 0 0 14px; }

/* Kopfzeile */
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none;
  font: 600 19px/1 var(--serif); letter-spacing: -.01em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
.top nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 20px; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; padding: 6px 0; }
.top nav a:hover { color: var(--text); text-decoration: underline; }
@media (max-width: 860px) { .top nav .wide { display: none; } .top nav { gap: 4px 16px; } }

/* Abendverlauf hinter Hero und Kopf der Unterseiten */
.band {
  overflow: hidden;
  background:
    linear-gradient(to bottom, transparent 72%, var(--bg)),
    radial-gradient(60% 75% at 20% 12%, var(--sun), transparent 70%),
    linear-gradient(115deg, var(--g1) 0%, var(--g1) 12%, var(--g2) 56%, var(--g3) 100%);
}
@media (max-width: 760px) {
  .band {
    background:
      linear-gradient(to bottom, transparent 80%, var(--bg)),
      radial-gradient(90% 45% at 25% 8%, var(--sun), transparent 70%),
      linear-gradient(168deg, var(--g1) 0%, var(--g2) 52%, var(--g3) 92%);
  }
}

/* Hero */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 40px 56px; align-items: center;
  padding-top: 40px; padding-bottom: 72px; }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; margin: 0 0 18px; }
.stores a { display: inline-block; line-height: 0; border-radius: 10px; }
.stores img { display: block; width: auto; }
.badge-apple { height: 54px; }
/* Google-Play-Abzeichen offiziell und unverändert; die PNGs haben Rand. Sichtbare Fläche (gemessen) auf 54 px Höhe
   wie das Apple-Abzeichen: deutsch 646 × 192 von 646 × 250, englisch 564 × 168 ab (41, 41). */
.badge-play-de { height: 70px; margin: -8px 0; }
.badge-play-en { height: 80px; margin: -13px; }
@media (max-width: 420px) { /* nebeneinander bis 360 px Breite: sichtbar 46 px hoch */
  .stores { gap: 12px; }
  .badge-apple { height: 46px; }
  .badge-play-de { height: 60px; margin: -7px 0; }
  .badge-play-en { height: 68px; margin: -11px; }
}
.price { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; max-width: 34em; }

.hero-video { position: relative; margin: 0; justify-self: center; width: 100%; max-width: 300px; }
.hero-video::before {
  content: ""; position: absolute; inset: -18% -45%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, var(--glow), transparent);
}
.screen { position: relative; z-index: 1; border-radius: 30px; overflow: hidden; box-shadow: var(--device-shadow);
  background: var(--g2); aspect-ratio: 554 / 1200; }
.screen video { display: block; width: 100%; height: 100%; object-fit: cover; background: transparent; }
/* Knopf auf der freien dunklen Fläche des Bildschirms im Standbild, hell wie die Knöpfe der App */
.play {
  position: absolute; left: 50%; top: 61%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 13px 22px 13px 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--gold); color: #1A1614; font: 600 16px/1 var(--sans);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .35); transition: transform .2s ease, box-shadow .2s ease;
}
.play:hover { transform: translateX(-50%) translateY(-1px); box-shadow: 0 10px 26px rgba(0, 0, 0, .3); }
.play svg { width: 22px; height: 22px; flex: none; }
.play[hidden] { display: none; }
.hero-video figcaption { position: relative; z-index: 1; margin-top: 14px; text-align: center; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); padding-top: 16px; padding-bottom: 48px; }
  .hero-video { max-width: 260px; }
}

/* Galerie der sechs Store-Bilder */
.gallery-band { padding: 8px 0 24px; }
.gallery {
  list-style: none; margin: 0; padding: 12px max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter))) 26px;
  display: flex; gap: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--gutter), calc((100% - var(--maxw)) / 2 + var(--gutter)));
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.gallery li { flex: 0 0 auto; width: min(64vw, 262px); scroll-snap-align: start; }
.gallery img { display: block; width: 100%; border-radius: 22px; box-shadow: var(--card-shadow); background: var(--g2); }
.gallery:focus-visible { outline-offset: -3px; }

/* Abschnitte */
.section { padding-top: 72px; padding-bottom: 24px; }
.section-head { margin-bottom: 32px; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding-top: 40px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px 26px 30px; box-shadow: var(--card-shadow); }
.tile h3 { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.06; margin-bottom: 12px; }
.tile .sub { font-size: 17px; }
@media (max-width: 900px) { .trio { grid-template-columns: minmax(0, 1fr); } }

.intro { max-width: 40em; font-size: 18px; margin-bottom: 28px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px 28px 30px; box-shadow: var(--card-shadow);
  display: flex; flex-direction: column; }
.card h3 { font-size: 28px; margin-bottom: 2px; }
.req { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.card .stores { margin: auto 0 0; padding-top: 22px; }
ol.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
ol.steps li { counter-increment: step; position: relative; padding: 0 0 14px 44px; }
ol.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -1px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font: 600 15px/1 var(--sans); color: var(--accent); border: 1.5px solid var(--accent);
}
@media (max-width: 760px) { .cards { grid-template-columns: minmax(0, 1fr); } .card { padding: 24px 20px 26px; } }

/* YouTube erst nach Klick: lokales Standbild, dann youtube-nocookie.com */
.film { margin: 28px 0 0; max-width: 760px; }
.yt-box { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #181A20; box-shadow: var(--device-shadow); }
.yt-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt { position: absolute; inset: 0; display: block; color: #FAF0DE; text-decoration: none; }
.yt img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease, filter .4s ease; }
.yt:hover img { transform: scale(1.015); filter: brightness(.92); }
.yt .yt-play { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
  background: rgba(26, 22, 20, .82); display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.yt .yt-play svg { width: 30px; height: 30px; margin-left: 4px; }
.yt .yt-note { position: absolute; left: 12px; bottom: 12px; right: 12px; display: flex; }
.yt .yt-note span { background: rgba(26, 22, 20, .86); color: #FAF0DE; font-size: 13.5px; line-height: 1.3; padding: 7px 12px; border-radius: 999px; }
.film figcaption { margin-top: 12px; color: var(--muted); font-size: 15px; }
.film-row { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 16px 32px; align-items: end; max-width: none; }
.film-row figcaption { margin: 0 0 6px; font-size: 16px; }
.film-row figcaption strong { display: block; color: var(--text); font: 600 clamp(22px, 2.4vw, 28px)/1.15 var(--serif); margin-bottom: 8px; }
@media (max-width: 760px) { .film-row { grid-template-columns: minmax(0, 1fr); } }

/* Preise */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.plans > div { display: grid; gap: 20px; }
.plan { border-radius: 24px; padding: 28px 28px 30px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.plan h3 { font-size: 26px; margin-bottom: 6px; }
.plan .amount { font: 600 clamp(28px, 3.4vw, 36px)/1.1 var(--serif); margin: 6px 0 14px; }
.plan .amount small { display: block; font: 500 16px/1.4 var(--sans); color: var(--muted); margin-top: 4px; }
.plan.plus { background: var(--pill); color: var(--pill-text); border-color: var(--pill-border); }
.plan.plus h3, .plan.plus .amount { color: var(--pill-text); }
.plan.plus .amount small { color: var(--foot-muted); }
.plan.plus .label { color: var(--gold); }
.plan ul { margin: 0; padding: 0; list-style: none; }
.plan li { position: relative; padding: 0 0 9px 22px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.plan.plus li::before { background: var(--gold); }
.fine { color: var(--muted); font-size: 15px; max-width: 52em; margin-top: 22px; }
.honest { padding: 24px 28px; border-left: 3px solid var(--accent); background: var(--surface); border-radius: 0 20px 20px 0; }
.honest h3 { font-size: 22px; }
.honest p { margin: 0; }
@media (max-width: 760px) {
  .plans { grid-template-columns: minmax(0, 1fr); }
  .plans > div { display: contents; }
  .plans .plan { order: 1; } .plans .plus { order: 2; } .plans .honest { order: 3; }
  .plan { padding: 24px 20px 26px; }
}

/* Privatsphäre: Tafel wie Bild 6, Verlauf gespiegelt */
.quiet {
  margin-top: 72px; padding: 80px 0 72px;
  background:
    radial-gradient(55% 70% at 80% 20%, var(--sun), transparent 70%),
    linear-gradient(245deg, var(--g1) 8%, var(--g2) 72%, var(--g3) 150%);
}
.quiet a { color: var(--text); text-decoration-color: var(--accent); }
.quiet .hourglass { width: 44px; height: 60px; color: var(--accent); margin-bottom: 26px; display: block; }
.quiet h2 { font-size: clamp(36px, 5.6vw, 64px); }
.quiet .rule { width: 72px; height: 2px; background: var(--accent); opacity: .6; margin: 26px 0; border: 0; }
.columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; margin-top: 28px; max-width: 980px; }
.columns h3 { font-size: 20px; }
.columns p { margin: 0; }
@media (max-width: 760px) { .columns { grid-template-columns: minmax(0, 1fr); } .quiet { padding: 56px 0 52px; } }

/* Fragen */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 20px 44px 20px 0; font-weight: 600; font-size: 18px; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--accent), var(--accent)) center / 14px 2px no-repeat,
              linear-gradient(var(--accent), var(--accent)) center / 2px 14px no-repeat;
  transition: transform .25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--accent); }
.faq .answer { padding: 0 0 22px; max-width: 46em; }
.faq .answer p:last-child { margin-bottom: 0; }
.faq .film { margin-top: 18px; max-width: 640px; }

/* Presse */
.press-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 56px; }
.press h3 { font-size: 22px; margin-top: 6px; }
dl.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 10px 20px; margin: 0; }
dl.facts dt { color: var(--muted); font-size: 15px; padding-top: 1px; }
dl.facts dd { margin: 0; }
.kit { display: inline-flex; align-items: center; gap: 12px; margin: 10px 0 8px; padding: 14px 22px; border-radius: 999px;
  background: var(--pill); color: var(--pill-text); border: 1px solid var(--pill-border); text-decoration: none; font-weight: 600; }
.kit:hover { text-decoration: underline; }
.kit svg { width: 20px; height: 20px; flex: none; }
.files { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; margin-top: 28px; }
.files h4 { margin: 0 0 8px; font: 700 12.5px/1.35 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.files ul { list-style: none; margin: 0; padding: 0; }
.files li { padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.4; }
.files li small { display: block; color: var(--muted); font-size: 13.5px; }
@media (max-width: 1000px) { .files { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .press-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .files { grid-template-columns: minmax(0, 1fr); } }

/* Gründer: Foto im Querformat mit Bildnachweis, Geschichte mit Zitat (Aufhänger der Presse-Pitches) */
.founder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 28px 48px; align-items: start;
  margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.founder-photo { margin: 0; }
.founder-photo img { display: block; width: 100%; border-radius: 22px; box-shadow: var(--card-shadow); background: var(--g2); }
.founder-photo figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.founder-text h3 { font-size: 28px; margin-bottom: 2px; }
.founder-text .req { margin-bottom: 16px; }
.founder-text blockquote { margin: 18px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); }
.founder-text blockquote p { margin: 0 0 8px; color: var(--text); font: 600 clamp(21px, 2.2vw, 26px)/1.3 var(--serif); letter-spacing: -.012em; }
.founder-text blockquote footer { color: var(--muted); font-size: 15px; }
.founder-text .fine { margin-top: 12px; }
@media (max-width: 860px) { .founder { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* Fußzeile */
.site-footer { margin-top: 88px; background: var(--foot-bg); color: var(--foot-muted); padding: 44px 0 52px; font-size: 14.5px; line-height: 1.6; }
.site-footer a { color: var(--foot-text); }
.site-footer .brand { color: var(--foot-text); }
.site-footer :focus-visible { outline-color: var(--gold); }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-bottom: 26px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.site-footer address { font-style: normal; margin: 0 0 14px; }
.site-footer .note { margin: 0; }

/* Unterseiten (Rechtstexte, Support, 404) */
.page-band { padding-bottom: 28px; }
.prose { padding-top: 24px; }
.prose > * { max-width: 760px; }
.prose h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.08; margin: 0 0 18px; }
.prose h2 { font-size: clamp(24px, 3vw, 30px); line-height: 1.15; margin: 44px 0 12px; }
.prose h3 { font-size: 20px; margin: 28px 0 8px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 14px; }
.prose li { margin: 4px 0; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 48px 0; }
.prose code { font-size: .9em; background: var(--surface); padding: .1em .35em; border-radius: 5px; }
.prose table { border-collapse: collapse; width: 100%; margin: 0 0 18px; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.prose a { overflow-wrap: anywhere; }
.notfound { padding-top: 40px; }
.notfound > * { max-width: 760px; }
.notfound .links { display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 18px; margin: 22px 0 36px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
