@font-face {
  font-family: "DM Serif Display";
  src: url("dm-serif-display-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("jost-variabel-latin.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --elfenbein: #F6F1E7;
  --tinte: #2B2622;
  --text: #3D352E;
  --champagner: #A88A5C;       /* Deko: "&", Linien, Unterstreichungen */
  --champagner-text: #7A5F37;  /* kleine Schrift auf Elfenbein (Kontrast >= 4.5:1) */
  --gedaempft: #6B5F52;
  --linie: #E2D9C8;
  --kino: #1F1B18;
  --warnung: #B3261E;

  --serif: "DM Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --spalte: 30rem;
  color-scheme: light;
}

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

[hidden] { display: none !important; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--elfenbein);
  color: var(--tinte);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

svg { width: 1.25em; height: 1.25em; fill: currentColor; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg path[fill="none"] { fill: none; }

button { font: inherit; color: inherit; cursor: pointer; }

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

/* ---------- Entwurf-Schild ---------- */
.entwurf {
  position: fixed;
  top: calc(8px + env(safe-area-inset-top));
  left: 8px;
  z-index: 50;
  margin: 0;
  padding: 4px 10px;
  background: var(--warnung);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  border-radius: 2px;
}

/* ---------- Video ---------- */
.video-bereich { background: var(--kino); }

.video-rahmen {
  position: relative;
  max-width: 35rem;
  margin: 0 auto;
}

.video-rahmen video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 720 / 896;
  background: var(--kino);
  object-fit: cover;
}

.ton-start {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  border: 0;
  border-radius: 2px;
  background: rgba(246, 241, 231, 0.94);
  color: var(--tinte);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: atmen 2.6s ease-in-out infinite;
}

@keyframes atmen {
  0%, 100% { box-shadow: 0 0 0 0 rgba(246, 241, 231, 0.45); }
  50% { box-shadow: 0 0 0 10px rgba(246, 241, 231, 0); }
}

.steuerung {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: flex;
  gap: 0.5rem;
}

.rund {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(31, 27, 24, 0.55);
  color: var(--elfenbein);
}

.rund svg { width: 20px; height: 20px; }

#knopfTon .aus, #knopfTon.stumm .an { display: none; }
#knopfTon.stumm .aus { display: block; }
#knopfPause .play, #knopfPause.pausiert .pause { display: none; }
#knopfPause.pausiert .play { display: block; }

.sprache {
  position: absolute;
  top: calc(0.75rem + env(safe-area-inset-top));
  right: 0.75rem;
  display: flex;
  align-items: center;
  padding: 0 0.25rem;
  border-radius: 2px;
  background: rgba(31, 27, 24, 0.45);
  color: rgba(246, 241, 231, 0.7);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
}

.sprache button {
  min-width: 44px;
  min-height: 36px;
  padding: 0 0.5rem;
  border: 0;
  background: none;
  color: inherit;
  letter-spacing: inherit;
}

.sprache button[aria-pressed="true"] { color: var(--elfenbein); font-weight: 500; }

/* ---------- Titel ---------- */
.titel {
  padding: 2.5rem 1.5rem 3rem;
  text-align: center;
}

.anrede {
  margin: 0 0 0.25rem;
  color: var(--gedaempft);
  font-size: 1.0625rem;
}

.hook {
  margin: 0.35rem 0 0.6rem;
  color: var(--champagner-text);
  font-family: var(--serif);
  font-size: 2.125rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.einleitung {
  max-width: 22rem;
  margin: 0 auto 2rem;
  color: var(--text);
  font-size: 1.0625rem;
  line-height: 1.55;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 15vw, 4.75rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

h1 span { display: block; }
h1 .und { margin: 0.05em 0; color: var(--champagner); font-size: 0.8em; }

.datum {
  margin: 1.5rem 0 0.1rem;
  font-size: 1rem;
  letter-spacing: 0.24em;
}

.ort {
  margin: 0;
  color: var(--gedaempft);
  font-size: 0.9375rem;
}

.countdown {
  margin: 1.25rem 0 0;
  color: var(--gedaempft);
  font-size: 0.875rem;
}

.countdown:empty { display: none; }

.mehr {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-top: 2rem;
  padding: 0.5rem 1rem;
  color: var(--champagner-text);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}

.mehr svg { width: 1.5rem; height: 1.5rem; stroke-width: 1.4; }

/* ---------- Info-Abschnitte ---------- */
.abschnitte {
  max-width: var(--spalte);
  margin: 0 auto;
  padding: 0 1.5rem;
  scroll-margin-top: 1rem;
}

.abschnitt {
  padding: 2.25rem 0;
  border-top: 1px solid var(--linie);
}

.nummer {
  margin: 0 0 0.5rem;
  color: var(--champagner-text);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.abschnitt h2,
.zusage h2 {
  margin: 0 0 0.5rem;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.abschnitt .text {
  margin: 0;
  color: var(--text);
}

.ablauf {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.ablauf li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--linie);
}

.ablauf li:last-child { border-bottom: 0; }

.ablauf time {
  color: var(--champagner-text);
  font-variant-numeric: tabular-nums;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  margin-top: 0.75rem;
}

.links a {
  display: inline-block;
  padding: 0.6rem 0;
  color: var(--tinte);
  font-size: 0.9375rem;
  text-decoration: underline;
  text-decoration-color: var(--champagner);
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

/* ---------- Zusage ---------- */
.zusage {
  max-width: var(--spalte);
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  border-top: 1px solid var(--linie);
  text-align: center;
}

.zusage p {
  margin: 0 0 1.75rem;
  color: var(--text);
}

.knopf {
  display: block;
  width: 100%;
  max-width: 20rem;
  margin: 0 auto 0.75rem;
  padding: 1rem;
  border: 1px solid var(--tinte);
  background: var(--tinte);
  color: var(--elfenbein);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}

.knopf.zweit {
  background: transparent;
  color: var(--tinte);
}

/* ---------- Abschluss ---------- */
.abschluss {
  padding: 2.5rem 1.5rem 7rem;
  text-align: center;
  color: var(--gedaempft);
}

.siegel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem;
  border: 1px solid var(--champagner);
  border-radius: 50%;
  color: var(--champagner);
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.abschluss p { margin: 0; }

.abschluss .ps {
  max-width: 22rem;
  margin: 1.5rem auto 0;
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* ---------- Feste Zusage-Leiste ---------- */
.zusage-leiste {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom));
  z-index: 40;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
  max-width: 28rem;
  margin: 0 auto;
  padding: 0.95rem;
  background: var(--tinte);
  color: var(--elfenbein);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(calc(100% + 2rem));
  transition: transform 0.4s ease-out;
}

.zusage-leiste.sichtbar { transform: none; }

/* ---------- Einblenden ---------- */
.einblenden {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.einblenden.da { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ton-start { animation: none; }
  .einblenden { opacity: 1; transform: none; transition: none; }
  .zusage-leiste { transition: none; }
}

/* ---------- Größere Bildschirme ---------- */
@media (min-width: 48rem) {
  .titel { padding-top: 3.5rem; }
  .video-rahmen video { max-height: 88vh; object-fit: contain; }
}
