/* Vinquando – eine Stilvorlage für alle Seiten.
   Systemschriften, keine Webfonts, keine externen Quellen (siehe CSP in vercel.json).
   Dunkles Design ist fest; Kontraste auf Deep Grape: Ivory 17:1, Ivory 2 ≈ 9:1,
   Ivory 3 ≈ 5,6:1, Gold ≈ 8,5:1 (auf Surface jeweils etwas weniger, alle ≥ 4,5:1). */

:root {
  --grape: #1B0B0E;
  --surface: #271218;
  --ivory: #F5EFE9;
  --ivory-2: #BFB4AF;
  --ivory-3: #968C89;
  --gold: #C9A96A;
  --red: #6B0F1A;
  --hairline: rgba(245, 239, 233, 0.12);
  --gold-line: rgba(201, 169, 106, 0.4);

  --serif: ui-serif, "New York", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 5vw, 24px);
  --page: 68rem;
  --measure: 34rem;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--grape);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--grape);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

/* Ab Tablet-Breite etwas größer, damit Zeilen um 65 Zeichen bleiben. */
@media (min-width: 48rem) {
  body { font-size: 1.125rem; }
}

main { flex: 1 0 auto; }

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

::selection { background: var(--red); color: var(--ivory); }

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover { color: var(--ivory); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  a { transition: color 0.15s ease; }
}

/* Layout */

.wrap {
  width: min(calc(100% - 2 * var(--gutter)), var(--page));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  background: var(--ivory);
  color: var(--grape);
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
}

.skip:focus { top: 12px; }
.skip:hover { color: var(--grape); }

/* Kopfzeile */

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--ivory);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 7px;
}

.brand:hover { color: var(--ivory); }

.lang-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 4px;
  color: var(--ivory-2);
  font-size: 0.9375rem;
  text-decoration: none;
}

.lang-link:hover { color: var(--ivory); text-decoration: underline; }

/* Startseite: Hero */

.hero {
  padding-block: clamp(48px, 11vw, 120px) clamp(64px, 12vw, 136px);
  text-align: center;
}

.hero-emblem {
  width: 96px;
  height: 96px;
  margin: 0 auto 36px;
  border-radius: 22.5%;
  box-shadow: 0 0 0 1px rgba(201, 169, 106, 0.18), 0 20px 48px rgba(0, 0, 0, 0.45);
}

.hero h1 {
  font-size: clamp(2.75rem, 11vw, 5.25rem);
  letter-spacing: -0.015em;
}

.slogan {
  margin-top: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.25rem, 4.2vw, 1.75rem);
  color: var(--ivory-2);
}

.lead {
  max-width: 32rem;
  margin: 40px auto 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 3.6vw, 1.5rem);
  line-height: 1.4;
  text-wrap: balance;
}

.sub {
  max-width: 32rem;
  margin: 18px auto 0;
  color: var(--ivory-2);
  text-wrap: pretty;
}

/* Statuszeile, bewusst kein Button: Rahmen/Pille erst mit dem echten
   App-Store-Link (Apple-Badge). */
.soon {
  display: block;
  margin-top: 40px;
  color: var(--ivory-2);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Schmal untereinander, breit in einer Zeile mit Mittelpunkten
   (so hängt nie ein Trennpunkt am Zeilenanfang). */
.facts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  color: var(--ivory-3);
  font-size: 0.875rem;
}

@media (min-width: 36rem) {
  .facts { flex-direction: row; justify-content: center; gap: 0; }
  .facts li + li::before {
    content: "·";
    content: "·" / "";
    padding-inline: 10px;
  }
}

/* Startseite: Abschnitte */

.section {
  padding-block: clamp(64px, 11vw, 120px);
  border-top: 1px solid var(--hairline);
}

.band {
  background: var(--surface);
  border-top: 0;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section h2 {
  max-width: 22ch;
  font-size: clamp(1.875rem, 6vw, 2.75rem);
}

.intro {
  max-width: var(--measure);
  margin-top: 20px;
  color: var(--ivory-2);
}

.steps,
.pillars {
  display: grid;
  gap: 40px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.steps li,
.pillars li {
  padding-top: 20px;
  border-top: 1px solid var(--gold-line);
}

.pillars li { border-top-color: var(--hairline); }

.step-num {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 1rem;
}

.steps h3 { font-size: 1.625rem; }
.pillars h3 { font-size: 1.375rem; }

.steps p,
.pillars p {
  margin-top: 10px;
  color: var(--ivory-2);
  text-wrap: pretty;
}

@media (min-width: 48rem) {
  .steps, .pillars { grid-template-columns: repeat(3, 1fr); gap: 48px; }
}

.evening {
  display: grid;
  gap: 48px;
}

.evening .intro + .intro { margin-top: 16px; }

@media (min-width: 60rem) {
  .evening { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
  .plan { margin-top: 4px; }
}

.plan { margin: 0; }

.plan figcaption {
  color: var(--ivory-3);
  font-size: 0.875rem;
  letter-spacing: 0.02em;
}

.timeline {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--gold-line);
}

.timeline li {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 16px;
  align-items: baseline;
  padding-block: 18px;
  border-bottom: 1px solid var(--hairline);
}

.timeline time {
  font-size: 1.375rem;
  line-height: 1.2;
}

/* Ziffern in der Systemschrift: Der Serif-Ersatz Georgia (Chrome, Edge,
   Firefox) kennt nur Mediävalziffern, „01“ läse sich als „o1“. */
.step-num,
.timeline time {
  font-family: var(--sans);
  font-weight: 300;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.timeline li:last-child time { color: var(--gold); }

.timeline .what { display: block; font-size: 1.0625rem; }

.timeline .why {
  display: block;
  margin-top: 2px;
  color: var(--ivory-3);
  font-size: 0.9375rem;
}

.plan .note {
  margin-top: 16px;
  color: var(--ivory-3);
  font-size: 0.875rem;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 36px;
  text-decoration: none;
}

.more:hover { text-decoration: underline; }

/* Unterseiten */

.prose {
  max-width: 34rem;
  padding-block: clamp(40px, 9vw, 88px) clamp(64px, 11vw, 112px);
}

.prose h1 {
  font-size: clamp(2.25rem, 8vw, 3.25rem);
}

.prose .updated,
.prose .standfirst {
  margin-top: 16px;
  color: var(--ivory-2);
}

.prose .standfirst {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--ivory);
}

.prose .updated { color: var(--ivory-3); font-size: 0.9375rem; }

.prose .part {
  margin-top: 64px;
  padding-top: 16px;
  border-top: 1px solid var(--gold-line);
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.prose h2 {
  margin-top: 48px;
  font-size: clamp(1.4375rem, 4.5vw, 1.75rem);
}

.prose h3 {
  margin-top: 32px;
  font-size: 1.25rem;
}

/* Nach „Teil A/B/C“ (h2) tragen die nummerierten Abschnitte h3, sehen aber
   aus wie die h2 davor. */
.prose .part ~ h3 { margin-top: 48px; font-size: clamp(1.4375rem, 4.5vw, 1.75rem); }
.prose .part + h3 { margin-top: 24px; }

.prose p,
.prose ul,
.prose address {
  margin-top: 16px;
  color: var(--ivory-2);
}

.prose ul { padding-left: 1.25em; }
.prose li + li { margin-top: 6px; }
.prose li::marker { color: var(--gold); }

.prose address { font-style: normal; }

.prose .contact { list-style: none; padding-left: 0; }
.prose .contact li + li { margin-top: 0; }
.contact a { display: inline-flex; align-items: center; min-height: 44px; }

.prose strong { color: var(--ivory); font-weight: 600; }

.prose a { overflow-wrap: anywhere; }

.notice {
  margin-top: 24px;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--gold);
}

.notice p:first-child { margin-top: 0; }

.mail {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 20px;
  padding: 10px 22px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  color: var(--ivory);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.mail:hover { border-color: var(--gold); color: var(--ivory); }

.faq h3 { margin-top: 40px; }

/* Fußzeile */

.site-footer {
  border-top: 1px solid var(--hairline);
  padding-block: 48px 40px;
  color: var(--ivory-3);
  font-size: 0.9375rem;
}

.site-footer .cols {
  display: grid;
  gap: 28px;
}

@media (min-width: 48rem) {
  .site-footer .cols { grid-template-columns: 1fr auto; align-items: start; }
}

.foot-brand {
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.25rem;
}

.foot-slogan { margin-top: 4px; font-family: var(--serif); font-style: italic; color: var(--ivory-2); }

.foot-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ivory-2);
  text-decoration: none;
}

.foot-nav a:hover { color: var(--ivory); text-decoration: underline; }

.foot-nav a[aria-current="page"] { color: var(--ivory); }

.fine {
  margin-top: 28px;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.fine p + p { margin-top: 4px; }

/* 404 */

.lost {
  padding-block: clamp(64px, 14vw, 160px);
  text-align: center;
}

.lost h1 { font-size: clamp(2.25rem, 8vw, 3.25rem); }
.lost p { margin-top: 16px; color: var(--ivory-2); }
.lost .alt { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--hairline); }
.lost .alt h2 { font-size: 1.5rem; }
.lost .more { margin-top: 0; }

@media (min-width: 40rem) {
  .hero-emblem { width: 112px; height: 112px; }
}

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

@media print {
  :root { --grape: #fff; --surface: #fff; --ivory: #111; --ivory-2: #222; --ivory-3: #444; --gold: #5a4520; }
  .skip, .site-header nav, .hero-emblem { display: none; }
  body { background: #fff; }
}
