/* ============================================================
   rauhnächte.eu · Design-System v2
   Tiefes Tannengrün · Gold · stille Eleganz
   Schriften lokal gehostet (DSGVO)
   ============================================================ */

@import url("../fonts/fonts.css");

:root {
  /* Farben */
  --g-950: #071613;
  --g-900: #0a1f1b;
  --g-850: #0d2723;
  --g-800: #10302a;
  --g-700: #163f37;
  --g-600: #1d4f45;

  --gold-200: #f0ddb0;
  --gold-300: #e6cb8f;
  --gold-400: #d6b673;
  --gold-500: #c2a05a;
  --gold-600: #9a7c41;
  --gold-700: #745c2f;

  --paper: #f5edda;
  --paper-80: rgba(245, 237, 218, 0.8);
  --paper-60: rgba(245, 237, 218, 0.6);
  --paper-40: rgba(245, 237, 218, 0.4);

  --hairline: rgba(194, 160, 90, 0.28);
  --hairline-strong: rgba(214, 182, 115, 0.55);

  --fehler: #e2917e;
  --erfolg: #a9cfa0;

  /* Typografie */
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --script: "Great Vibes", cursive;
  --sans: "Jost", "Segoe UI", system-ui, sans-serif;

  /* Abstände / Radius */
  --rand: clamp(1.1rem, 4vw, 2rem);
  --sektion: clamp(4.5rem, 9vw, 8rem);

  /* Schatten */
  --schatten-karte: 0 20px 50px rgba(2, 10, 9, 0.45);
  --schatten-tief: 0 34px 90px rgba(2, 10, 9, 0.6);
}

/* ---------- Basis ---------- */

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0rem;
  color: var(--paper);
  background: var(--g-950);
  line-height: 1.75;
  letter-spacing: 0.014em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--gold-500); color: var(--g-950); }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--g-950); }
::-webkit-scrollbar-thumb { background: var(--g-700); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-700); }

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

img, svg { max-width: 100%; display: block; }

.icon {
  width: 1.35rem;
  height: 1.35rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Atmosphäre: Hintergrund, Ornament, Bokeh ---------- */

.atmo {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(120% 70% at 50% -10%, rgba(29, 79, 69, 0.5), transparent 60%),
    radial-gradient(90% 60% at 90% 110%, rgba(22, 63, 55, 0.45), transparent 65%),
    var(--g-950);
}

.atmo::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 120 120'%3E%3Cpath d='M60 6c8 0 14 6 14 14 0 4-2 8-5 10 3 1 6 2 10 2 4-4 8-6 13-6 8 0 14 6 14 14s-6 14-14 14c-5 0-9-2-13-6-4 0-7 1-10 2 3 2 5 6 5 10 0 8-6 14-14 14s-14-6-14-14c0-4 2-8 5-10-3-1-6-2-10-2-4 4-8 6-13 6-8 0-14-6-14-14s6-14 14-14c5 0 9 2 13 6 4 0 7-1 10-2-3-2-5-6-5-10 0-8 6-14 14-14z' fill='none' stroke='%23c2a05a' stroke-width='1.2'/%3E%3C/svg%3E");
  background-size: 140px 140px;
}

.atmo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: overlay;
}

.bokeh { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }

.bokeh span {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 203, 143, 0.5), rgba(230, 203, 143, 0) 70%);
  filter: blur(3px);
  opacity: 0;
  animation: bokehFloat 18s ease-in-out infinite;
}

.bokeh span:nth-child(1)  { width: 100px; height: 100px; left: 5%;  top: 14%; animation-delay: 0s; }
.bokeh span:nth-child(2)  { width: 30px;  height: 30px;  left: 17%; top: 66%; animation-delay: 2.5s; }
.bokeh span:nth-child(3)  { width: 56px;  height: 56px;  left: 31%; top: 26%; animation-delay: 5s; }
.bokeh span:nth-child(4)  { width: 20px;  height: 20px;  left: 46%; top: 82%; animation-delay: 1.2s; }
.bokeh span:nth-child(5)  { width: 120px; height: 120px; left: 60%; top: 6%;  animation-delay: 7.5s; }
.bokeh span:nth-child(6)  { width: 38px;  height: 38px;  left: 71%; top: 52%; animation-delay: 3.8s; }
.bokeh span:nth-child(7)  { width: 66px;  height: 66px;  left: 85%; top: 20%; animation-delay: 6.2s; }
.bokeh span:nth-child(8)  { width: 24px;  height: 24px;  left: 91%; top: 72%; animation-delay: 9s; }
.bokeh span:nth-child(9)  { width: 46px;  height: 46px;  left: 11%; top: 44%; animation-delay: 11.5s; }
.bokeh span:nth-child(10) { width: 28px;  height: 28px;  left: 77%; top: 88%; animation-delay: 13.5s; }

@keyframes bokehFloat {
  0%, 100% { opacity: 0; transform: translateY(24px) scale(0.92); }
  25%      { opacity: 0.55; }
  50%      { opacity: 0.28; transform: translateY(-28px) scale(1.06); }
  75%      { opacity: 0.5; }
}

/* ---------- Typo-Bausteine ---------- */

.script { font-family: var(--script); color: var(--gold-300); font-weight: 400; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.eyebrow::before, .eyebrow.mittig::after {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500));
}
.eyebrow.mittig::after { background: linear-gradient(90deg, var(--gold-500), transparent); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; }

.sektions-kopf { text-align: center; max-width: 720px; margin: 0 auto clamp(2.8rem, 6vw, 4.5rem); }
.sektions-kopf .eyebrow { justify-content: center; margin-bottom: 1.3rem; }
.sektions-kopf h2 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  letter-spacing: 0.02em;
  color: var(--paper);
}
.sektions-kopf h2 em { font-style: italic; color: var(--gold-300); }
.sektions-kopf .intro { margin-top: 1.3rem; color: var(--paper-70, var(--paper-60)); font-size: 1.04rem; }

.zier {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-top: 1.6rem;
  color: var(--gold-500);
}
.zier::before, .zier::after {
  content: "";
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-500));
}
.zier::after { background: linear-gradient(90deg, var(--gold-500), transparent); }
.zier .icon { width: 0.85rem; height: 0.85rem; }

/* ---------- Layout ---------- */

.container { width: min(1180px, calc(100% - 2 * var(--rand))); margin-inline: auto; }
.schmal { max-width: 780px; margin-inline: auto; }

section { padding-block: var(--sektion); position: relative; }

.band {
  background: linear-gradient(180deg, rgba(16, 48, 42, 0.0), rgba(16, 48, 42, 0.38) 18%, rgba(16, 48, 42, 0.38) 82%, rgba(16, 48, 42, 0));
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.95rem 2.2rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid var(--gold-500);
  background: transparent;
  color: var(--gold-200);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.btn .icon { width: 1rem; height: 1rem; }

.btn-gold {
  background: linear-gradient(140deg, var(--gold-300), var(--gold-500) 55%, var(--gold-600));
  color: #241a08;
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(194, 160, 90, 0.24);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(194, 160, 90, 0.38); }

.btn-ghost:hover { background: rgba(194, 160, 90, 0.12); transform: translateY(-2px); }

.btn-still {
  border-color: transparent;
  color: var(--paper-60);
  letter-spacing: 0.2em;
  padding: 0.6rem 1rem;
}
.btn-still:hover { color: var(--gold-300); }

.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ---------- Navigation ---------- */

.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding-block: 1.15rem;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease;
  border-bottom: 1px solid transparent;
}

/* Blur liegt auf einem Pseudo-Element: backdrop-filter direkt auf .nav
   würde die Nav zum Containing Block machen und das mobile
   Vollbild-Menü (position: fixed) auf Nav-Höhe beschneiden. */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.nav.fest {
  background: rgba(7, 22, 19, 0.88);
  padding-block: 0.75rem;
  border-bottom-color: var(--hairline);
}
.nav.fest::before { opacity: 1; }

.nav-innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.marke {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  text-decoration: none;
}
.marke .script { font-size: 1.75rem; line-height: 1; }
.marke small {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--paper-40);
}

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }

.nav-links a {
  position: relative;
  color: var(--paper-80);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding-block: 0.3rem;
  transition: color 0.3s;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s ease;
}
.nav-links a:not(.btn):hover { color: var(--gold-300); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }

.nav-links .btn { padding: 0.55rem 1.4rem; font-size: 0.72rem; }

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 38px;
  height: 30px;
  position: relative;
  z-index: 130;
  padding: 4px;
}
.burger span {
  display: block;
  height: 1.5px;
  background: var(--gold-300);
  margin-block: 6px;
  transition: transform 0.35s ease, opacity 0.3s ease;
}
.burger.offen span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.offen span:nth-child(2) { opacity: 0; }
.burger.offen span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: clamp(7rem, 14vh, 9rem) clamp(3rem, 8vh, 5rem);
  overflow: hidden;
}

.hero-gitter {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.hero .eyebrow { margin-bottom: 1.6rem; }

.hero h1 {
  font-size: clamp(2.7rem, 6.2vw, 4.9rem);
  letter-spacing: 0.01em;
  color: var(--paper);
}
.hero h1 .script {
  display: block;
  font-size: clamp(3.2rem, 7.4vw, 6rem);
  line-height: 1.05;
  margin-bottom: 0.35rem;
  text-shadow: 0 6px 40px rgba(194, 160, 90, 0.28);
}

.hero-text {
  margin-top: 1.8rem;
  max-width: 540px;
  color: var(--paper-80);
  font-size: 1.06rem;
}

.hero-fakten {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  border-block: 1px solid var(--hairline);
}

.fakt {
  flex: 1 1 140px;
  padding: 1.1rem 1.4rem 1.1rem 0;
  margin-right: 1.4rem;
  border-right: 1px solid var(--hairline);
}
.fakt:last-child { border-right: none; margin-right: 0; }
.fakt strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--gold-300);
  line-height: 1.2;
}
.fakt span {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--paper-60);
}

.hero-aktionen { margin-top: 2.6rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* Buch-Mockup */

.buch-buehne { display: flex; justify-content: center; perspective: 1400px; position: relative; }

.buch-buehne::after {
  content: "";
  position: absolute;
  bottom: -8%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 40px;
  background: radial-gradient(ellipse, rgba(2, 8, 7, 0.7), transparent 70%);
  filter: blur(6px);
}

.buch {
  width: min(330px, 68vw);
  aspect-ratio: 5 / 7.35;
  position: relative;
  transform: rotateY(-16deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  animation: schweben 8s ease-in-out infinite;
}
.buch:hover { transform: rotateY(-6deg) rotateX(1deg) scale(1.015); }

@keyframes schweben {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

.buch-ruecken {
  position: absolute;
  top: 0; bottom: 0; left: -20px;
  width: 20px;
  background: linear-gradient(180deg, #0d2823, #071a16);
  transform: rotateY(-80deg);
  transform-origin: right;
  border-block: 1px solid rgba(194, 160, 90, 0.3);
}

.buch-deckel {
  position: absolute;
  inset: 0;
  padding: 2.1rem 1.7rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(120% 55% at 50% -12%, rgba(29, 79, 69, 0.95), transparent 62%),
    linear-gradient(158deg, #16443c 0%, #0c2a24 55%, #081d19 100%);
  border: 1px solid rgba(214, 182, 115, 0.55);
  box-shadow: var(--schatten-tief), inset 0 0 70px rgba(2, 10, 9, 0.4);
  overflow: hidden;
}
.buch-deckel::before {
  content: "";
  position: absolute;
  inset: 11px;
  border: 1px solid rgba(214, 182, 115, 0.5);
  pointer-events: none;
}
.buch-deckel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 120 120'%3E%3Cpath d='M60 6c8 0 14 6 14 14 0 4-2 8-5 10 3 1 6 2 10 2 4-4 8-6 13-6 8 0 14 6 14 14s-6 14-14 14c-5 0-9-2-13-6-4 0-7 1-10 2 3 2 5 6 5 10 0 8-6 14-14 14s-14-6-14-14c0-4 2-8 5-10-3-1-6-2-10-2-4 4-8 6-13 6-8 0-14-6-14-14s6-14 14-14c5 0 9 2 13 6 4 0 7-1 10-2-3-2-5-6-5-10 0-8 6-14 14-14z' fill='none' stroke='%23c2a05a' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 84px 84px;
  opacity: 0.07;
  pointer-events: none;
}
.buch-deckel > * { position: relative; z-index: 1; }

.buch-deckel .ober {
  font-size: 0.58rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-400);
}
.buch-deckel .titel-script {
  font-family: var(--script);
  font-size: 2.55rem;
  color: var(--gold-200);
  line-height: 1.1;
  margin: 1rem 0 0.25rem;
}
.buch-deckel .titel-serif {
  font-family: var(--serif);
  font-size: 1.42rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 1.5rem;
}
.buch-deckel .sterne { color: var(--gold-500); letter-spacing: 0.6em; font-size: 0.75rem; }
.buch-deckel .autorin {
  margin-top: 1.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--paper-80);
}

/* ---------- Zitat ---------- */

.zitat { text-align: center; padding-block: clamp(3.5rem, 7vw, 5.5rem); }

.zitat blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.45rem, 3.1vw, 2.15rem);
  font-weight: 400;
  color: var(--paper);
  max-width: 800px;
  margin-inline: auto;
  line-height: 1.4;
}
.zitat blockquote::before {
  content: "\201E";
  display: block;
  font-size: 4.6rem;
  line-height: 0.4;
  font-style: normal;
  color: var(--gold-500);
  margin-bottom: 1.6rem;
}
.zitat cite {
  display: block;
  margin-top: 1.6rem;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-400);
}

/* ---------- Karten ---------- */

.karte {
  position: relative;
  background: linear-gradient(165deg, rgba(26, 71, 63, 0.5), rgba(10, 31, 27, 0.82));
  border: 1px solid var(--hairline);
  padding: 2.1rem 1.9rem;
  backdrop-filter: blur(5px);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.45s ease, box-shadow 0.45s ease;
}

.karte::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(194, 160, 90, 0.14);
  pointer-events: none;
  transition: border-color 0.45s ease;
}

.karte::after {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.karte:hover, .karte:focus-within {
  transform: translateY(-7px);
  border-color: var(--hairline-strong);
  box-shadow: var(--schatten-karte);
}
.karte:hover::before { border-color: rgba(194, 160, 90, 0.32); }
.karte:hover::after { opacity: 1; }

.icon-kreis {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-600);
  border-radius: 50%;
  color: var(--gold-300);
  background: rgba(194, 160, 90, 0.07);
  margin-bottom: 1.2rem;
}
.icon-kreis .icon { width: 1.4rem; height: 1.4rem; }

/* ---------- Über das Buch ---------- */

.drei-spalten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.drei-spalten h3 { font-size: 1.4rem; color: var(--gold-200); margin-bottom: 0.65rem; }
.drei-spalten p { color: var(--paper-80); font-size: 0.97rem; }

/* ---------- Die 12 Nächte ---------- */

.naechte-gitter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.35rem; }

.nacht-karte { display: block; text-decoration: none; color: inherit; cursor: pointer; }

.nacht-kopf {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--hairline);
}
.nacht-nr { font-family: var(--serif); font-size: 2.7rem; font-weight: 400; color: var(--gold-400); line-height: 0.9; }
.nacht-datum { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--paper-60); }

.nacht-monat {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 0.35rem;
}
.nacht-karte h3 { font-size: 1.28rem; color: var(--paper); }
.nacht-karte .kurz { margin-top: 0.65rem; font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: var(--paper-60); line-height: 1.5; }

.nacht-mehr {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-400);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.nacht-mehr .icon { width: 0.9rem; height: 0.9rem; }
.nacht-karte:hover .nacht-mehr { opacity: 1; transform: translateY(0); }

/* ---------- Wissen ---------- */

.wissen-gitter { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.35rem; }

.wissen-karte h3 { font-size: 1.3rem; color: var(--paper); margin-bottom: 0.45rem; }
.wissen-karte .kurz { font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: var(--paper-60); }
.wissen-karte .lang {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s ease, opacity 0.5s ease, margin 0.5s ease;
  color: var(--paper-80);
  font-size: 0.96rem;
}
.wissen-karte.offen .lang { max-height: 560px; opacity: 1; margin-top: 1rem; }

.wissen-karte .umschalter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.wissen-karte .umschalter .icon { width: 0.85rem; height: 0.85rem; transition: transform 0.4s ease; }
.wissen-karte.offen .umschalter .icon { transform: rotate(180deg); }

/* ---------- Autorin ---------- */

.autorin-gitter {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.autorin-rahmen {
  aspect-ratio: 4 / 5;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid var(--hairline-strong);
  background:
    radial-gradient(80% 55% at 50% 25%, rgba(29, 79, 69, 0.85), transparent 70%),
    linear-gradient(160deg, #143a33, #081d19);
  overflow: hidden;
}
.autorin-rahmen::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(194, 160, 90, 0.3); }
.autorin-rahmen .script { font-size: clamp(2.6rem, 6vw, 3.6rem); }
.autorin-rahmen figcaption {
  position: absolute;
  bottom: 1.6rem;
  font-size: 0.66rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--paper-60);
}

.autorin-inhalt h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin: 1.2rem 0 1.4rem; }
.autorin-inhalt p { color: var(--paper-80); margin-bottom: 1.1rem; max-width: 560px; }
.autorin-inhalt .widmung {
  margin-top: 1.6rem;
  padding-left: 1.4rem;
  border-left: 1px solid var(--gold-600);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.08rem;
  color: var(--paper-60);
}

/* ---------- CTA-Schluss ---------- */

.cta-schluss { text-align: center; }
.cta-schluss .script { display: block; font-size: clamp(2.6rem, 5.6vw, 4rem); margin-bottom: 1.1rem; }
.cta-schluss p { max-width: 520px; margin: 0 auto 2.4rem; color: var(--paper-80); }
.cta-schluss .aktionen { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */

.fuss {
  border-top: 1px solid var(--hairline);
  padding: clamp(2.5rem, 6vw, 4rem) 0 1.6rem;
  background: rgba(7, 22, 19, 0.6);
}

.fuss-gitter {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.2rem;
}

.fuss .marke { margin-bottom: 0.9rem; }
.fuss-claim { max-width: 320px; color: var(--paper-60); font-size: 0.92rem; }

.fuss h4 {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1.1rem;
}

.fuss ul { list-style: none; display: grid; gap: 0.55rem; }
.fuss ul a { color: var(--paper-80); text-decoration: none; font-size: 0.93rem; transition: color 0.3s; }
.fuss ul a:hover { color: var(--gold-300); }

.fuss-unten {
  border-top: 1px solid var(--hairline);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--paper-40);
}

/* ============================================================
   BEGLEITER (App)
   ============================================================ */

.app-haupt { padding-top: clamp(6.5rem, 12vh, 8rem); min-height: 100vh; }

.app-kopf { text-align: center; max-width: 680px; margin: 0 auto 2.6rem; }
.app-kopf .eyebrow { justify-content: center; margin-bottom: 1.2rem; }
.app-kopf h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); }
.app-kopf h1 .script { display: block; font-size: clamp(2.7rem, 5.6vw, 3.9rem); margin-bottom: 0.2rem; }
.app-kopf p { margin-top: 1.1rem; color: var(--paper-80); }

/* --- Zugangs-/Login-Bereich --- */

.zugang {
  max-width: 460px;
  margin: 0 auto 4rem;
}

.zugang-karte {
  position: relative;
  background: linear-gradient(168deg, rgba(26, 71, 63, 0.55), rgba(8, 26, 22, 0.9));
  border: 1px solid var(--hairline-strong);
  padding: 2.6rem clamp(1.5rem, 5vw, 2.6rem);
  box-shadow: var(--schatten-tief);
}
.zugang-karte::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(194, 160, 90, 0.22); pointer-events: none; }
.zugang-karte > * { position: relative; }

.tab-leiste {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--hairline);
  margin-bottom: 2rem;
}
.tab-leiste button {
  padding: 0.8rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--paper-60);
  transition: background 0.3s, color 0.3s;
}
.tab-leiste button.aktiv {
  background: linear-gradient(140deg, var(--gold-300), var(--gold-500) 60%, var(--gold-600));
  color: #241a08;
}

.feld { margin-bottom: 1.3rem; }
.feld label {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 0.5rem;
}
.feld input {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(7, 22, 19, 0.65);
  border: 1px solid var(--hairline);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.feld input:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(194, 160, 90, 0.14);
}
.feld .hinweis { margin-top: 0.4rem; font-size: 0.78rem; color: var(--paper-40); }

.formular-meldung {
  min-height: 1.4rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  text-align: center;
}
.formular-meldung.fehler { color: var(--fehler); }
.formular-meldung.erfolg { color: var(--erfolg); }

.zugang .btn { width: 100%; }

.zugang-trenner {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.8rem 0;
  color: var(--paper-40);
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.zugang-trenner::before, .zugang-trenner::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hairline);
}

.datenschutz-notiz {
  margin-top: 1.6rem;
  font-size: 0.78rem;
  color: var(--paper-40);
  text-align: center;
  line-height: 1.6;
}
.datenschutz-notiz a { color: var(--gold-400); }

/* --- Demo-Hinweis --- */

.demo-band {
  position: sticky;
  top: 64px;
  z-index: 90;
  background: linear-gradient(140deg, var(--gold-300), var(--gold-500) 60%, var(--gold-600));
  color: #241a08;
  padding: 0.65rem 1rem;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  box-shadow: 0 10px 30px rgba(2, 10, 9, 0.4);
}
.demo-band a { color: inherit; font-weight: 600; text-decoration: underline; }

/* --- Benutzer-Leiste --- */

.benutzer-leiste {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  border: 1px solid var(--hairline);
  background: rgba(16, 48, 42, 0.4);
  padding: 0.8rem 1.3rem;
  margin-bottom: 2.6rem;
}
.benutzer-leiste .wer { display: flex; align-items: center; gap: 0.7rem; font-size: 0.92rem; color: var(--paper-80); }
.benutzer-leiste .wer .icon { color: var(--gold-400); }
.benutzer-leiste .wer strong { color: var(--gold-200); font-weight: 500; }
.benutzer-leiste .aktionen { display: flex; gap: 0.4rem; flex-wrap: wrap; }

.sync-status { font-size: 0.78rem; color: var(--paper-40); transition: color 0.3s; }
.sync-status.aktiv { color: var(--erfolg); }

/* --- Countdown --- */

.countdown { display: flex; justify-content: center; gap: 1rem; margin-bottom: 2.6rem; flex-wrap: wrap; }

.count-zelle {
  min-width: 96px;
  padding: 1.2rem 0.7rem 1rem;
  text-align: center;
  border: 1px solid var(--hairline);
  background: linear-gradient(170deg, rgba(26, 71, 63, 0.4), rgba(8, 26, 22, 0.7));
}
.count-zelle strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 500;
  color: var(--gold-200);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.count-zelle span { font-size: 0.64rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--paper-60); }

.heute-band {
  max-width: 640px;
  margin: 0 auto 2.6rem;
  text-align: center;
  border: 1px solid var(--gold-500);
  background: linear-gradient(140deg, rgba(194, 160, 90, 0.18), rgba(194, 160, 90, 0.05));
  padding: 1.5rem 1.8rem;
}
.heute-band .eyebrow { justify-content: center; margin-bottom: 0.6rem; }
.heute-band strong { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--gold-200); }
.heute-band p { font-family: var(--serif); font-style: italic; color: var(--paper-80); margin-top: 0.4rem; }

/* --- Fortschritt --- */

.fortschritt { max-width: 640px; margin: 0 auto 3.4rem; }
.fortschritt-zeile {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--paper-60);
  margin-bottom: 0.7rem;
}
.fortschritt-balken { height: 3px; background: rgba(194, 160, 90, 0.16); position: relative; overflow: visible; }
.fortschritt-balken .fuellung {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-300));
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.fortschritt-balken .fuellung::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 12px rgba(230, 203, 143, 0.8);
}

/* --- Nächte im Begleiter --- */

.app-naechte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.35rem; margin-bottom: 4.5rem; }

.app-nacht { cursor: pointer; }

.app-nacht .status {
  position: absolute;
  top: 1.15rem;
  right: 1.15rem;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-600);
  border-radius: 50%;
  font-size: 0.78rem;
  color: var(--gold-300);
  background: rgba(7, 22, 19, 0.55);
  z-index: 1;
  transition: background 0.35s, color 0.35s;
}
.app-nacht .status .icon { width: 0.85rem; height: 0.85rem; }

.app-nacht.erledigt { border-color: var(--hairline-strong); }
.app-nacht.erledigt .status { background: linear-gradient(140deg, var(--gold-300), var(--gold-500)); color: #241a08; border-color: transparent; }

.app-nacht.heute { border-color: var(--gold-400); box-shadow: 0 0 40px rgba(194, 160, 90, 0.18); }

.heute-etikett {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #241a08;
  background: linear-gradient(140deg, var(--gold-200), var(--gold-400));
  padding: 0.22rem 0.75rem;
  margin-bottom: 0.8rem;
}

.notiz-punkt {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.9rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--paper-40);
}
.notiz-punkt .icon { width: 0.85rem; height: 0.85rem; color: var(--gold-500); }

/* --- Modal --- */

.schleier {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(4, 13, 12, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: none;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: clamp(1rem, 4vh, 3.5rem) 1rem;
}
.schleier.aktiv { display: flex; }

.modal {
  width: min(780px, 100%);
  background: linear-gradient(168deg, #133c34, #0a211c 55%);
  border: 1px solid var(--gold-500);
  position: relative;
  padding: clamp(2.2rem, 5vw, 3.2rem) clamp(1.3rem, 5vw, 3.2rem);
  animation: modalAuf 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal::before { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(194, 160, 90, 0.26); pointer-events: none; }
.modal > * { position: relative; }

@keyframes modalAuf {
  from { opacity: 0; transform: translateY(30px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-zu {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: none;
  border: none;
  color: var(--gold-300);
  cursor: pointer;
  z-index: 2;
  transition: transform 0.3s ease;
}
.modal-zu:hover { transform: rotate(90deg); }
.modal-zu .icon { width: 1.2rem; height: 1.2rem; }

.modal-nr { font-family: var(--serif); font-size: 4.2rem; font-weight: 400; color: var(--gold-400); line-height: 1; text-align: center; }
.modal-datum { text-align: center; font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--paper-60); margin: 0.5rem 0 0.7rem; }
.modal h2 { text-align: center; font-size: clamp(1.7rem, 4vw, 2.4rem); color: var(--paper); margin-bottom: 0.7rem; }
.modal-zitat {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.14rem;
  color: var(--gold-200);
  max-width: 500px;
  margin: 0 auto 2.4rem;
  line-height: 1.5;
}

.modal .abschnitt { margin-bottom: 2.1rem; }
.modal .abschnitt .eyebrow { margin-bottom: 0.8rem; }
.modal .abschnitt > p { color: var(--paper-80); }

.frage { margin-bottom: 1.5rem; }
.frage label {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.14rem;
  color: var(--paper);
  margin-bottom: 0.55rem;
}
.frage textarea {
  width: 100%;
  min-height: 88px;
  padding: 0.85rem 1rem;
  background: rgba(7, 22, 19, 0.6);
  border: 1px solid var(--hairline);
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.98rem;
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.frage textarea:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(194, 160, 90, 0.12);
}
.frage textarea::placeholder { color: var(--paper-40); font-style: italic; }
.frage textarea[readonly] { opacity: 0.75; }

.ritual-kasten {
  border: 1px solid var(--hairline);
  border-left: 2px solid var(--gold-500);
  background: rgba(194, 160, 90, 0.06);
  padding: 1.4rem 1.6rem;
}
.ritual-kasten p { font-family: var(--serif); font-style: italic; font-size: 1.08rem; color: var(--paper-80); line-height: 1.6; }

.modal-aktionen {
  margin-top: 2.4rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.speicher-status { font-size: 0.8rem; color: var(--erfolg); opacity: 0; transition: opacity 0.4s; display: inline-flex; gap: 0.4rem; align-items: center; }
.speicher-status.sichtbar { opacity: 1; }
.speicher-status .icon { width: 0.9rem; height: 0.9rem; }

/* --- 13 Wünsche --- */

.wuensche { max-width: 780px; margin: 0 auto 4.5rem; }

.wuensche-liste { display: grid; gap: 0.65rem; margin-top: 2.4rem; }

.wunsch {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border: 1px solid var(--hairline);
  background: rgba(16, 48, 42, 0.35);
  padding: 0.6rem 1.1rem;
  transition: opacity 0.5s, border-color 0.3s, background 0.3s;
}
.wunsch:focus-within { border-color: var(--gold-400); background: rgba(16, 48, 42, 0.55); }
.wunsch .nr { font-family: var(--serif); font-size: 1.2rem; color: var(--gold-400); min-width: 1.7rem; text-align: center; }
.wunsch input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  color: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 0.98rem;
  padding-block: 0.35rem;
}
.wunsch input:focus { outline: none; }
.wunsch input::placeholder { color: var(--paper-40); font-style: italic; }

.wunsch.verbrannt { opacity: 0.45; }
.wunsch.verbrannt input { text-decoration: line-through; }
.wunsch .flamme { color: var(--gold-400); opacity: 0; transition: opacity 0.4s; }
.wunsch.verbrannt .flamme { opacity: 1; }
.wunsch .flamme .icon { width: 1rem; height: 1rem; }

.wuensche-aktionen { margin-top: 1.8rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.wuensche-status { margin-top: 1.2rem; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--paper-60); }

/* --- Export / Konto --- */

.werkzeuge {
  max-width: 780px;
  margin: 0 auto;
  padding-bottom: 5rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   Rechtliche Seiten (Impressum / Datenschutz)
   ============================================================ */

.recht { max-width: 760px; margin-inline: auto; padding-block: clamp(7rem, 14vh, 9rem) 5rem; }
.recht h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 0.6rem; }
.recht .stand { font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--paper-40); margin-bottom: 2.8rem; }
.recht h2 { font-size: 1.55rem; color: var(--gold-200); margin: 2.6rem 0 0.9rem; }
.recht h3 { font-size: 1.2rem; color: var(--paper); margin: 1.8rem 0 0.6rem; }
.recht p, .recht li { color: var(--paper-80); margin-bottom: 0.9rem; }
.recht ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.recht a { color: var(--gold-300); }
.recht .platzhalter {
  border: 1px dashed var(--gold-600);
  background: rgba(194, 160, 90, 0.06);
  padding: 1rem 1.3rem;
  font-size: 0.92rem;
  color: var(--gold-200);
  margin-bottom: 1.4rem;
}

/* ============================================================
   Einblendungen & Bewegung
   ============================================================ */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.da { opacity: 1; transform: translateY(0); }

.versteckt { display: none !important; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1080px) {
  .naechte-gitter { grid-template-columns: repeat(3, 1fr); }
  .drei-spalten, .wissen-gitter { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero { min-height: auto; }
  .hero-gitter { grid-template-columns: 1fr; gap: 3.2rem; }
  .buch-buehne { order: -1; }
  .buch { width: min(250px, 60vw); }

  .naechte-gitter, .app-naechte { grid-template-columns: repeat(2, 1fr); }
  .autorin-gitter { grid-template-columns: 1fr; }
  .autorin-rahmen { max-width: 400px; margin-inline: auto; }

  .fuss-gitter { grid-template-columns: 1fr 1fr; }

  .burger { display: block; }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2.1rem;
    background: rgba(5, 15, 13, 0.97);
    backdrop-filter: blur(16px);
    transform: translateY(-102%);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 120;
  }
  .nav-links.offen { transform: translateY(0); }
  .nav-links a { font-size: 1rem; }
  .nav-links .btn { padding: 0.85rem 2.2rem; font-size: 0.85rem; }

  .demo-band { top: 56px; }
}

@media (max-width: 560px) {
  body { font-size: 0.97rem; }

  .naechte-gitter, .app-naechte, .drei-spalten, .wissen-gitter { grid-template-columns: 1fr; }

  .fakt { flex-basis: 100%; border-right: none; border-bottom: 1px solid var(--hairline); margin-right: 0; padding-right: 0; }
  .fakt:last-child { border-bottom: none; }

  .count-zelle { min-width: 72px; padding: 0.9rem 0.5rem 0.8rem; }
  .count-zelle strong { font-size: 1.9rem; }

  .fuss-gitter { grid-template-columns: 1fr; gap: 1.8rem; }
  .fuss-unten { justify-content: center; text-align: center; }

  .hero-aktionen .btn, .cta-schluss .btn { width: 100%; }
  .wuensche-aktionen .btn { width: 100%; }
  .werkzeuge .btn { width: 100%; }

  .benutzer-leiste { flex-direction: column; align-items: flex-start; }

  .modal-aktionen { flex-direction: column; align-items: stretch; }
  .modal-aktionen .btn { width: 100%; }
}

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