/* ==========================================================================
   NEBRAVIA — Design-System v3
   Systematik nach der dope.security-Referenz:
   · Near-Black-Leinwand, ein einziges chromatisches Signal
   · Italic-Display-Serif für die zwei, drei grossen Momente
   · Monospace-Stempel mit 0.2em Tracking als Sektionsmarken
   · KEINE Kacheln: Layout und Haarlinien schaffen die Grenze, nicht Flächen
   · Schattenlos. Trennung entsteht durch Linienstärke und Weissraum.
   ========================================================================== */

@font-face { font-family: 'Grotesk'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/grotesk-300.woff2') format('woff2'); }
@font-face { font-family: 'Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/grotesk-400.woff2') format('woff2'); }
@font-face { font-family: 'Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/grotesk-500.woff2') format('woff2'); }
@font-face { font-family: 'Display'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/serif-italic.woff2') format('woff2'); }
@font-face { font-family: 'Stamp'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/mono.woff2') format('woff2'); }

:root {
  /* ---- Flächen ---- */
  --void:      #090909;   /* Die einzige Hintergrundfarbe */
  --iron:      #423738;   /* Sehr sparsame Waschung */

  /* ---- Text ---- */
  --white:     #f7f9fa;   /* Primärtext */
  --soft:      #f0f0f0;   /* Sektionsstempel */
  --steel:     #828384;   /* Sekundärtext */
  --ash:       #6b6b6b;   /* Hilfstext */
  --graphite:  #474747;   /* Tertiär */

  /* ---- Das eine Signal — themebar (Nachtviolett / Nebra-Gold) ---- */
  --signal:      #af50ff;
  --signal-ink:  #140722;                          /* Text auf Signal-Fläche */
  --signal-tint: #e1bdff;                          /* helle Signal-Variante */
  --signal-soft: rgba(175, 80, 255, 0.05);
  --sel-bg:      #16101f;                          /* Kalender-Hover */
  --sel-bg-str:  #1b1226;                          /* Kalender-Auswahl */

  /* ---- Linien: das Trennmittel des Systems ---- */
  --line:      rgba(247, 249, 250, 0.12);
  --line-str:  rgba(247, 249, 250, 0.22);

  /* ---- Raster (Basis 4) ---- */
  --s4: 4px; --s8: 8px; --s12: 12px; --s16: 16px; --s20: 20px; --s24: 24px;
  --s32: 32px; --s40: 40px; --s48: 48px; --s64: 64px; --s80: 80px;
  --s96: 96px; --s120: 120px; --s160: 160px;

  --r-btn: 8px; --r-card: 19.2px; --r-pill: 999px;
  --page: 1200px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --sans: 'Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Display', Georgia, 'Times New Roman', serif;
  --mono: 'Stamp', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---- Theme "Nebra-Gold": dieselbe Systematik, warmes Signal ---- */
html[data-theme="gold"] {
  --signal:      #e3b662;
  --signal-ink:  #1c1204;
  --signal-tint: #f2dcae;
  --signal-soft: rgba(227, 182, 98, 0.06);
  --sel-bg:      #191307;
  --sel-bg-str:  #221a09;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--void); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: transparent;
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px; font-weight: 400; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--white); outline-offset: 4px; }
::selection { background: var(--signal); color: var(--void); }

/* ==========================================================================
   Galaxie-Leinwand
   ========================================================================== */
/* Standbild-Ebene: das beim Build gerenderte Foto, mit sehr langsamem Drift.
   260 Sekunden pro Richtung — Bewegung an der Wahrnehmungsschwelle. */
.bg { position: fixed; inset: 0; z-index: -3; overflow: hidden; background: #08080b; }
.bg__img {
  position: absolute; inset: -5%;
  background: url('bg/spiral.jpg') center / cover no-repeat;
  transform-origin: 60% 40%;
  animation: bgDrift 260s ease-in-out infinite alternate;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
body[data-bg="deepfield"] .bg__img { background-image: url('bg/deepfield.jpg'); }
body[data-bg="live"] .bg__img { display: none; }
@keyframes bgDrift {
  from { transform: scale(1.0) translate(0, 0); }
  to   { transform: scale(1.055) translate(-1.2%, 0.9%); }
}
body.bg-pulse .bg__img { transform: scale(1.035); }
/* Warmes Licht im Gold-Theme — legt sich über das Standbild */
.bg__tint { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s; pointer-events: none;
  background: radial-gradient(90% 70% at 74% 28%, rgba(227,182,98,.16) 0%, rgba(227,182,98,.04) 45%, transparent 70%); }
html[data-theme="gold"] .bg__tint { opacity: 1; }

#galaxy { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; }
.veil {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(80% 60% at 20% 78%, rgba(9,9,9,.86) 0%, transparent 68%),
    linear-gradient(to bottom, rgba(9,9,9,.28) 0%, transparent 18%, rgba(9,9,9,.55) 72%, rgba(9,9,9,.9) 100%);
}

/* ==========================================================================
   Typografie
   ========================================================================== */
h1, h2, h3, h4 { font-weight: 300; }

/* Der Italic-Serif ist der Markenmoment — nie unter 32px, nie für Fliesstext */
.display-serif {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(56px, 8.2vw, 118px);
  line-height: 0.82; letter-spacing: -0.03em; color: var(--white);
}
.display {
  font-size: clamp(30px, 4.0vw, 54px);
  font-weight: 300; line-height: 1.0; letter-spacing: -0.035em;
  color: var(--white);
}
.h-lg { font-size: clamp(30px, 3.9vw, 56px); font-weight: 300; line-height: 1.1; letter-spacing: -0.03em; }
.h-md { font-size: clamp(24px, 2.7vw, 34px); font-weight: 300; line-height: 1.2; letter-spacing: -0.025em; }
.h-sm { font-size: clamp(18px, 1.7vw, 22px); font-weight: 400; line-height: 1.3; letter-spacing: -0.015em; }

.lead { font-size: clamp(18px, 1.5vw, 20px); font-weight: 300; line-height: 1.45; color: var(--steel); max-width: 58ch; }
.body { font-size: 16px; line-height: 1.5; color: var(--steel); }
.body-sm { font-size: 14px; line-height: 1.5; color: var(--steel); }

/* Der gestempelte Sektionsmarker — die Sperrung IST die Gestaltung */
.stamp {
  font-family: var(--mono); font-weight: 400; text-transform: uppercase;
  font-size: clamp(19px, 3.2vw, 44px); line-height: 1.15;
  letter-spacing: 0.2em; color: var(--soft);
  /* Umbruch nur an Wortgrenzen — sonst zerreisst der Stempel Wörter */
  word-break: normal; overflow-wrap: normal; hyphens: none;
}
.stamp--sm {
  font-size: 11px; letter-spacing: 0.18em; color: var(--steel);
  line-height: 1.4; display: inline-block;
}
.stamp--violet { color: var(--signal); }

.mark { font-family: var(--mono); font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--steel); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
em.serif { font-family: var(--serif); font-style: italic; font-weight: 400; }

/* ==========================================================================
   Layout — grosszügig, links ausgerichtet, keine mehrspaltigen Textblöcke
   ========================================================================== */
.wrap { width: 100%; max-width: var(--page); margin-inline: auto; padding-inline: var(--s24); }
.wrap--text { max-width: 780px; }
.section { padding-block: clamp(64px, 9vw, var(--s120)); }
.rule { height: 1px; background: var(--line); border: 0; }

/* Zwischenruf: ein einzelner Serif-Satz mit viel Raum — der Atemzug der Seite */
.interlude { padding-block: clamp(48px, 8vw, 110px); }
.interlude p {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(26px, 3.6vw, 46px); line-height: 1.15;
  letter-spacing: -0.02em; color: var(--white); max-width: 24ch;
}
.interlude .stamp--sm { display: block; margin-bottom: 18px; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.skip { position: absolute; left: var(--s16); top: -100px; z-index: 999; background: var(--white); color: var(--void); padding: 10px 18px; border-radius: var(--r-btn); font-size: 14px; transition: top .2s var(--ease); }
.skip:focus { top: var(--s16); }

.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 200;
  background: rgba(12, 11, 18, 0.55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .5s var(--ease), background-color .5s var(--ease);
}
.nav[data-scrolled="true"] { border-bottom-color: var(--line); background: rgba(9, 9, 9, 0.82); }
.nav__in { max-width: var(--page); margin-inline: auto; padding: var(--s16) var(--s24); display: flex; align-items: center; gap: var(--s40); }

.brand { display: flex; align-items: baseline; gap: 9px; white-space: nowrap; }
.brand__n { font-size: 17px; font-weight: 500; letter-spacing: -0.02em; }
.brand__d { font-family: var(--mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ash); }

.nav__links { display: flex; align-items: center; gap: var(--s32); list-style: none; padding: 0; margin-left: var(--s16); }
.nav__links a { font-family: var(--mono); font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; color: var(--steel); position: relative; padding: 4px 0; transition: color .3s var(--ease); }
.nav__links a:hover { color: var(--white); }
.nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--white); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); background: var(--signal); }

.nav__right { margin-left: auto; display: flex; align-items: center; gap: var(--s12); }
.nav__burger { display: none; background: none; border: 1px solid var(--line); border-radius: var(--r-btn); width: 40px; height: 40px; align-items: center; justify-content: center; cursor: pointer; }
.nav__burger span { display: block; width: 15px; height: 1px; background: var(--white); position: relative; }
.nav__burger span::before, .nav__burger span::after { content: ''; position: absolute; left: 0; width: 15px; height: 1px; background: var(--white); transition: transform .3s var(--ease); }
.nav__burger span::before { top: -5px; } .nav__burger span::after { top: 5px; }
.nav__burger[aria-expanded="true"] span { background: transparent; }
.nav__burger[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }

/* ==========================================================================
   Buttons — nur zwei Radien: 8px für Steuerung, Pille für CTAs
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 15px; font-weight: 400; cursor: pointer;
  border: 1px solid transparent; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn--out { background: rgba(247,249,250,.04); border-color: var(--line-str); color: var(--white); border-radius: var(--r-btn); padding: 14px 22px; }
.btn--out:hover { background: var(--white); color: var(--void); border-color: var(--white); }
.btn--pill { background: rgba(247,249,250,.06); color: var(--white); border-radius: var(--r-pill); padding: 17px 34px; }
.btn--pill:hover { background: rgba(247,249,250,.13); }
.btn--violet { background: var(--signal); color: var(--signal-ink); border-radius: var(--r-pill); padding: 17px 34px; font-weight: 500; }
.btn--violet:hover { filter: brightness(1.12); }
.btn--sm { padding: 10px 17px; font-size: 13px; }
.btn--block { width: 100%; }
.btn__a { transition: transform .35s var(--ease); }
.btn:hover .btn__a { transform: translateX(4px); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; padding-top: clamp(120px, 17vh, 190px); padding-bottom: clamp(64px, 9vw, 120px); }
.hero__title { max-width: 22ch; }
.hero__title .display-serif { display: block; }
.hero__title .display { display: block; margin-top: -0.06em; }
.hero__lead { margin-top: var(--s32); }
.hero__cta { display: flex; gap: var(--s12); flex-wrap: wrap; margin-top: var(--s40); }

/* Heute-Nacht-Zeile: täglich aktueller Blick an den Abendhimmel */
.tonight { display: flex; align-items: center; gap: 13px; margin-top: var(--s32);
  padding: 13px 0; border-block: 1px solid var(--line); flex-wrap: wrap; }
.tonight svg { width: 20px; height: 20px; flex: none; }
.tonight__t { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--steel); }
.tonight__t b { color: var(--white); font-weight: 400; }

/* Boarding-Pass-Karte: die eine Fläche, die es im System gibt */
.pass {
  border: 1px solid var(--line-str); border-radius: var(--r-card);
  /* Deckend genug, dass die Galaxie die Zahlen nicht überlagert */
  background: rgba(11, 10, 16, .72);
  backdrop-filter: blur(14px) saturate(130%); -webkit-backdrop-filter: blur(14px) saturate(130%);
  padding: var(--s32); display: flex; flex-direction: column; gap: var(--s24);
}
.pass__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s16); padding-bottom: var(--s16); border-bottom: 1px solid var(--line); }
.pass__route { display: flex; align-items: center; gap: var(--s16); }
.pass__leg { display: flex; flex-direction: column; gap: 5px; }
.pass__leg-v { font-family: var(--mono); font-size: 19px; color: var(--white); letter-spacing: 0.02em; }
.pass__arrow { color: var(--signal); font-size: 15px; }
.pass__big { font-family: var(--mono); font-size: clamp(30px, 4vw, 46px); line-height: 1; letter-spacing: -0.01em; color: var(--white); font-variant-numeric: tabular-nums; }
.pass__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: var(--s20); }
.pass__cell { display: flex; flex-direction: column; gap: 6px; }
.pass__bar { display: flex; gap: 2px; align-items: flex-end; height: 34px; margin-top: auto; }
.pass__bar i { display: block; width: 2px; background: var(--white); opacity: .5; }

/* ==========================================================================
   Sektionsmarke
   ========================================================================== */
.stamp-row { border-top: 1px solid var(--line); padding-top: var(--s32); margin-bottom: var(--s64); }
.stamp-row__meta { display: flex; justify-content: space-between; gap: var(--s24); margin-bottom: var(--s24); flex-wrap: wrap; }

/* ==========================================================================
   Zeilen statt Kacheln — das Layout schafft die Grenze
   ========================================================================== */
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: var(--s32); align-items: start;
  padding-block: var(--s32);
  border-bottom: 1px solid var(--line);
  transition: background-color .4s var(--ease);
}
.row:hover { background: rgba(247,249,250,.018); }
.row__idx { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; color: var(--graphite); padding-top: 6px; }
.row__t { font-size: clamp(19px, 2vw, 26px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.25; transition: color .3s var(--ease); display: inline-block; }
a.row__t:hover { color: var(--signal); }
.row__d { font-size: 15px; line-height: 1.5; color: var(--steel); margin-top: 10px; max-width: 62ch; }
.row__aside { display: flex; flex-direction: column; align-items: flex-end; gap: 7px; text-align: right; white-space: nowrap; padding-top: 5px; }
.row__when { font-family: var(--mono); font-size: 14px; color: var(--white); }
.row__cat { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--graphite); }
.row--peak .row__idx { color: var(--signal); }

@media (max-width: 780px) {
  .row { grid-template-columns: 1fr; gap: var(--s12); }
  .row__aside { align-items: center; text-align: left; flex-direction: row; flex-wrap: wrap; white-space: normal; gap: 8px var(--s16); padding-top: 0; }
}

/* Feature-Zeilen */
.feat { display: grid; grid-template-columns: 1fr 1.5fr; gap: var(--s48); padding-block: var(--s40); border-bottom: 1px solid var(--line); }
.feat:first-child { border-top: 1px solid var(--line); }
.feat__k { font-size: clamp(20px, 2.2vw, 26px); font-weight: 300; letter-spacing: -0.02em; line-height: 1.25; }
.feat__v { font-size: 17px; line-height: 1.6; color: var(--steel); font-weight: 300; }
@media (max-width: 780px) { .feat { grid-template-columns: 1fr; gap: var(--s16); } }

/* ==========================================================================
   KALENDER
   ========================================================================== */
.cal { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
  background: rgba(10,10,14,.86); backdrop-filter: blur(16px) saturate(120%); -webkit-backdrop-filter: blur(16px) saturate(120%); }
.cal__top { display: flex; align-items: center; gap: var(--s16); padding: var(--s20) var(--s24); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.cal__month { font-size: 20px; font-weight: 400; letter-spacing: -0.02em; min-width: 172px; }
.cal__nav { display: flex; gap: 6px; }
.cal__arrow { width: 34px; height: 34px; border-radius: var(--r-btn); border: 1px solid var(--line); background: transparent; color: var(--steel); cursor: pointer; display: grid; place-items: center; transition: all .3s var(--ease); }
.cal__arrow:hover:not(:disabled) { border-color: var(--line-str); color: var(--white); }
.cal__arrow:disabled { opacity: .28; cursor: not-allowed; }

.tabs { display: flex; gap: var(--s20); margin-left: auto; }
.tab { padding: 6px 0; border: 0; background: transparent; color: var(--graphite); font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; cursor: pointer; position: relative; transition: color .3s var(--ease); }
.tab:hover { color: var(--steel); }
.tab::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--signal); transform: scaleX(0); transition: transform .4s var(--ease); }
.tab[aria-selected="true"] { color: var(--white); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }

.cal__filters { display: flex; gap: var(--s20); padding: var(--s12) var(--s24); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.chip { padding: 5px 0; border: 0; background: transparent; color: var(--graphite); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; transition: color .3s var(--ease); }
.chip:hover { color: var(--steel); }
.chip[aria-pressed="true"] { color: var(--signal); }

.cal__panel { display: none; }
.cal__panel[data-active="true"] { display: block; }

.cal__body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; }
.cal__gw { padding: var(--s20) var(--s24) var(--s24); min-width: 0; }
.cal__dow { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 1px; margin-bottom: var(--s12); }
.cal__dow span { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--graphite); text-align: center; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }

.day { position: relative; background: rgba(13,13,17,.9); min-height: 74px; padding: 8px; display: flex; flex-direction: column; gap: 5px; border: 0; text-align: left; font: inherit; color: inherit; transition: background-color .3s var(--ease); }
.day--out { opacity: .22; }
.day--has { cursor: pointer; }
.day--has:hover { background: var(--sel-bg); }
.day--sel { background: var(--sel-bg-str) !important; }
.day--sel::after { content: ''; position: absolute; inset: 0; border: 1px solid var(--signal); pointer-events: none; }
.day--today .day__n { color: var(--white); }
.day--today::before { content: ''; position: absolute; left: 8px; top: 8px; width: 3px; height: 3px; border-radius: 50%; background: var(--white); }
.day__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 4px; }
.day__n { font-family: var(--mono); font-size: 12px; color: var(--graphite); line-height: 1; padding-left: 7px; }
.day--has .day__n { color: var(--steel); }
.day__moon { width: 15px; height: 15px; flex: none; }
.day__ev { font-size: 10.5px; line-height: 1.25; color: var(--steel); margin-top: auto; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.day--peak .day__ev { color: var(--signal-tint); }

.cal__side { border-left: 1px solid var(--line); padding: var(--s24); display: flex; flex-direction: column; gap: var(--s16); min-height: 440px; }
.side__empty { display: flex; flex-direction: column; justify-content: center; height: 100%; gap: 10px; }
.side__date { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--signal); }
.side__moon { display: flex; align-items: center; gap: 13px; padding-bottom: var(--s16); border-bottom: 1px solid var(--line); }
.side__moon svg { width: 36px; height: 36px; flex: none; }
.side__ev { padding-block: var(--s16); border-bottom: 1px solid var(--line); }
.side__ev:last-child { border-bottom: 0; }
.side__ev-t { font-size: 17px; font-weight: 400; letter-spacing: -0.015em; line-height: 1.3; display: block; margin-bottom: 6px; transition: color .3s var(--ease); }
a.side__ev-t:hover { color: var(--signal); }
.side__ev-s { font-size: 13.5px; line-height: 1.45; color: var(--steel); }
.side__ev-m { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--graphite); margin-top: 9px; display: block; }

.list { padding: 0 var(--s24) var(--s16); max-height: 560px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--graphite) transparent; }
.list::-webkit-scrollbar { width: 6px; }
.list::-webkit-scrollbar-thumb { background: var(--graphite); }

.year { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 1px; background: var(--line); }
.ymon { background: var(--void); border: 0; padding: var(--s16); cursor: pointer; text-align: left; transition: background-color .3s var(--ease); }
.ymon:hover { background: var(--sel-bg); }
.ymon__h { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 11px; }
.ymon__n { font-size: 13px; font-weight: 400; }
.ymon__c { font-family: var(--mono); font-size: 10px; color: var(--signal); }
.ymon__mini { display: grid; grid-template-columns: repeat(7, minmax(0,1fr)); gap: 2px; }
.ymon__d { aspect-ratio: 1; background: rgba(247,249,250,.06); }
.ymon__d--has { background: var(--steel); }
.ymon__d--peak { background: var(--signal); }

.cal__legend { display: flex; gap: var(--s24); flex-wrap: wrap; padding: var(--s12) var(--s24); border-top: 1px solid var(--line); font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite); }

@media (max-width: 1000px) { .cal__body { grid-template-columns: 1fr; } .cal__side { border-left: 0; border-top: 1px solid var(--line); min-height: 0; } }
@media (max-width: 620px) {
  .cal__gw { padding: var(--s12) var(--s16) var(--s16); }
  .day { min-height: 52px; padding: 5px; }
  .day__ev { display: none; }
  .day__moon { width: 12px; height: 12px; }
  .day__n { font-size: 11px; padding-left: 6px; }
  .cal__top, .cal__filters, .cal__legend { padding-inline: var(--s16); }
  .cal__month { min-width: 0; font-size: 17px; }
  .tabs { margin-left: 0; }
  .cal__filters { gap: var(--s16); overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .cal__filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
}

/* ==========================================================================
   Countdown
   ========================================================================== */
.count { display: flex; gap: var(--s40); flex-wrap: wrap; }
.count__u { display: flex; flex-direction: column; gap: 8px; }
.count__v { font-family: var(--mono); font-size: clamp(32px, 5.4vw, 62px); line-height: .9; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--white); }

/* ==========================================================================
   Newsletter — kein Kasten, nur Linien
   ========================================================================== */
.news { border-top: 1px solid var(--line); padding-top: var(--s48); }
.news__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s64); align-items: start; }
.news__form { display: flex; flex-direction: column; gap: var(--s16); max-width: 440px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--graphite); }
.input { width: 100%; padding: 14px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line-str); color: var(--white); font-size: 17px; font-weight: 300; transition: border-color .3s var(--ease); }
.input::placeholder { color: var(--graphite); }
.input:focus { outline: none; border-bottom-color: var(--signal); }
.input[aria-invalid="true"] { border-bottom-color: #ff6b6b; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 13px; color: var(--steel); line-height: 1.5; }
.consent input { margin-top: 3px; accent-color: var(--signal); width: 15px; height: 15px; flex: none; }
.consent a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
.form-error { color: #ff8080; font-size: 13px; min-height: 1.2em; }
.form-ok { color: var(--signal-tint); font-size: 16px; font-weight: 300; }
@media (max-width: 860px) { .news__grid { grid-template-columns: 1fr; gap: var(--s32); } }

/* ==========================================================================
   Fließtext
   ========================================================================== */
.prose { max-width: 68ch; }
.prose p { color: var(--steel); margin-bottom: var(--s20); font-size: 17px; line-height: 1.65; font-weight: 300; }
.prose h2 { font-size: clamp(22px, 2.5vw, 30px); font-weight: 300; letter-spacing: -0.025em; margin: var(--s48) 0 var(--s16); color: var(--white); }
.prose ul { color: var(--steel); padding-left: 1.1em; margin-bottom: var(--s20); font-weight: 300; }
.prose li { margin-bottom: 9px; }
.prose strong { color: var(--white); font-weight: 400; }
.prose a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--graphite); transition: text-decoration-color .3s; }
.prose a:hover { text-decoration-color: var(--signal); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: var(--s24); padding-block: var(--s24); border-block: 1px solid var(--line); margin-block: var(--s32); }
.fact { display: flex; flex-direction: column; gap: 7px; }
.fact__v { font-family: var(--mono); font-size: 17px; color: var(--white); line-height: 1.2; }

.callout { border-left: 1px solid var(--signal); padding: var(--s16) var(--s24); margin-block: var(--s32); background: var(--signal-soft); }
.callout p { color: var(--white); font-size: 15px; line-height: 1.55; font-weight: 300; margin-top: 8px; }

.crumbs { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: var(--s24); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite); }
.crumbs a { transition: color .3s var(--ease); }
.crumbs a:hover { color: var(--white); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { list-style: none; cursor: pointer; padding: var(--s24) 34px var(--s24) 0; font-size: clamp(17px, 1.8vw, 20px); font-weight: 300; letter-spacing: -0.015em; position: relative; transition: color .3s var(--ease); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--signal); }
.faq__q::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--graphite); font-weight: 300; transition: transform .35s var(--ease), color .3s; }
.faq__item[open] .faq__q::after { transform: translateY(-50%) rotate(45deg); color: var(--signal); }
.faq__a { color: var(--steel); padding-bottom: var(--s24); font-size: 16px; line-height: 1.65; max-width: 64ch; font-weight: 300; }

h2[id], h3[id], section[id] { scroll-margin-top: 100px; }

/* ==========================================================================
   Shop
   ========================================================================== */
.prints { border-top: 1px solid var(--line); }
.print { display: grid; grid-template-columns: 200px minmax(0,1fr) auto; gap: var(--s32); padding-block: var(--s32); border-bottom: 1px solid var(--line); align-items: center; }
.print__f { aspect-ratio: 3/4; border: 1px solid var(--line); display: grid; place-items: center; }
.print__t { font-size: clamp(20px, 2.2vw, 26px); font-weight: 300; letter-spacing: -0.02em; }
.print__d { font-size: 15px; color: var(--steel); margin-top: 10px; line-height: 1.55; max-width: 56ch; font-weight: 300; }
.print__c { font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--graphite); margin-top: 12px; line-height: 1.5; }
@media (max-width: 780px) { .print { grid-template-columns: 1fr; gap: var(--s16); } .print__f { max-width: 200px; } }

.note { border: 1px dashed var(--line-str); border-radius: var(--r-btn); padding: var(--s16) var(--s20); font-size: 14px; color: var(--steel); font-weight: 300; }
.note strong { color: var(--white); font-weight: 400; }

/* ==========================================================================
   Footer — Koordinatenstempel als Signatur
   ========================================================================== */
.footer { border-top: 1px solid var(--line); padding-block: var(--s80) var(--s32); margin-top: var(--s120); }
.footer__grid { display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: var(--s40); margin-bottom: var(--s64); }
.footer__col h3 { font-family: var(--mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; color: var(--graphite); font-weight: 400; margin-bottom: var(--s20); }
.footer__col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__col a { font-size: 14px; color: var(--steel); transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--white); }
.footer__sig { display: flex; justify-content: space-between; gap: var(--s24); flex-wrap: wrap; padding-top: var(--s24); border-top: 1px solid var(--line); align-items: center; }
.footer__coord { font-family: var(--mono); font-size: 12px; color: var(--steel); letter-spacing: 0.05em; display: flex; align-items: center; gap: 10px; }
.footer__coord b { color: var(--white); font-weight: 400; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--s32); } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Bewegung
   ========================================================================== */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-1 { transition-delay: .09s; } .rv-2 { transition-delay: .18s; } .rv-3 { transition-delay: .27s; }

/* Seitenübergang: Inhalt blendet, die Galaxie bleibt stehen */
main, .nav, .footer { animation: pageIn .7s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: none; } }
body[data-leaving="true"] main,
body[data-leaving="true"] .footer { opacity: 0; transform: translateY(-9px); transition: opacity .34s var(--ease), transform .34s var(--ease); }

.preview-flag { position: fixed; left: var(--s16); bottom: var(--s16); z-index: 150; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line-str); background: rgba(9,9,9,.8); backdrop-filter: blur(10px); color: var(--steel); border-radius: var(--r-pill); padding: 8px 16px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; }

@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 66px var(--s16) auto var(--s16);
    flex-direction: column; align-items: stretch; gap: 0; margin-left: 0;
    background: #0c0c10; backdrop-filter: blur(22px);
    border: 1px solid var(--line-str); border-radius: var(--r-card);
    padding: var(--s8); opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    z-index: 140;                       /* über Hero-Text und Stamps */
    box-shadow: 0 24px 80px rgba(0,0,0,.6);
  }
  .nav__links[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
  .nav__links li + li { border-top: 1px solid var(--line); }
  .nav__links a { display: block; padding: 16px 12px; font-size: 12px; }
  .nav__links a::after { display: none; }
  .nav__links a[aria-current="page"] { color: var(--signal); }
  .nav__links .nav__soon { vertical-align: baseline; font-size: 9px; margin-left: 8px; }
  .nav__burger { display: inline-flex; }
  .nav__right .btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .bg__img { animation: none; }
  .rv { opacity: 1; transform: none; transition: none; }
  main, .nav, .footer { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (max-width: 1020px) {
  .hero__grid { grid-template-columns: 1fr !important; gap: 48px !important; }
}

/* ==========================================================================
   Kalender-Power: Highlight-Zeile, Standort, Dunkelheit, Panel-Details
   ========================================================================== */
.cal__hl {
  display: flex; align-items: center; gap: var(--s16);
  padding: 11px var(--s24); border-bottom: 1px solid var(--line);
  flex-wrap: wrap; background: var(--signal-soft);
}
.cal__hl-t { font-size: 15px; font-weight: 400; letter-spacing: -0.01em; transition: color .3s var(--ease); }
.cal__hl-t:hover { color: var(--signal); }
.cal__hl-c { margin-left: auto; font-family: var(--mono); font-size: 13px; color: var(--signal-tint); white-space: nowrap; }

.loc { display: flex; align-items: center; gap: 9px; }
.loc__sel {
  background: transparent; border: 1px solid var(--line); border-radius: var(--r-btn);
  color: var(--white); font-family: var(--mono); font-size: 11.5px;
  padding: 6px 9px; cursor: pointer; max-width: 170px;
}
.loc__sel:focus { outline: none; border-color: var(--signal); }
.loc__sel option { background: #101016; color: var(--white); }

.side__dark { display: flex; align-items: center; gap: 9px; margin-top: 6px; }
.darkmeter { display: inline-flex; gap: 3px; }
.darkmeter i { width: 10px; height: 4px; background: rgba(247,249,250,.12); display: inline-block; border-radius: 1px; }
.darkmeter i.on { background: var(--signal); }

.side__sky { padding: 13px 0; border-bottom: 1px solid var(--line); }
.side__sky-grid {
  display: grid; grid-template-columns: 1fr auto; gap: 5px 18px; margin-top: 9px;
  font-size: 13px; color: var(--steel);
}
.side__sky-grid b { color: var(--white); font-weight: 400; font-size: 13.5px; }

.side__ev-foot { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 9px; }
.side__ics { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--graphite); white-space: nowrap; transition: color .3s var(--ease); }
.side__ics:hover { color: var(--signal); }

/* ==========================================================================
   Abo-Block
   ========================================================================== */
.subscribe {
  display: grid; grid-template-columns: 1.7fr 1fr; gap: var(--s64);
  border-top: 1px solid var(--line); padding-top: var(--s48); align-items: start;
}
.subscribe__btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: var(--s32); }
.subscribe__help { margin-top: var(--s24); }
.subscribe__help summary { cursor: pointer; list-style: none; }
.subscribe__help summary::-webkit-details-marker { display: none; }
.subscribe__help summary::after { content: ' +'; color: var(--graphite); }
.subscribe__help[open] summary::after { content: ' –'; }
.subscribe__aside { border-left: 1px solid var(--line); padding-left: var(--s32); }
@media (max-width: 860px) {
  .subscribe { grid-template-columns: 1fr; gap: var(--s32); }
  .subscribe__aside { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: var(--s24); }
}

/* ==========================================================================
   Shop: Motiv-Rahmen mit Nummer und Fakt, Varianten, Kauf-Spalte
   ========================================================================== */
.print__f { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 9px;
  background: linear-gradient(155deg, rgba(175,80,255,.05), transparent 55%), #0b0b0f; }
.print__num { position: absolute; top: 10px; left: 12px; font-family: var(--mono); font-size: 11px; color: var(--graphite); letter-spacing: 0.14em; }
.print__fact { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--graphite); text-align: center; padding: 0 14px; line-height: 1.6; }
.print__vars { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 14px; }
.print__buy { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; white-space: nowrap; }
@media (max-width: 780px) { .print__buy { align-items: flex-start; } }

/* ==========================================================================
   Shop-Hero: Produkt links erklärt, rechts als technische Zeichnung
   ========================================================================== */
.shop-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--s64); align-items: center; }
.shop-hero__price { display: flex; align-items: baseline; gap: var(--s16); margin-top: var(--s32); }
.shop-hero__amount { font-family: var(--mono); font-size: clamp(26px, 3vw, 36px); color: var(--white); letter-spacing: -0.02em; }
.shop-hero__opts { display: flex; gap: var(--s48); flex-wrap: wrap; margin-top: var(--s24); }
.shop-hero__group { display: flex; flex-direction: column; gap: 10px; }
.sizes { display: flex; gap: 7px; }
.size { width: 40px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; color: var(--steel); border-radius: var(--r-btn); }
.swatches { display: flex; gap: 14px; flex-wrap: wrap; }
.swatch { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--steel); }
.swatch i { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--line-str); display: inline-block; }
.shop-hero__fig { position: relative; }
.hoodie { width: 100%; max-width: 430px; margin-inline: auto; filter: drop-shadow(0 20px 60px rgba(0,0,0,.45)); }
.shop-hero__specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s16) var(--s24); margin-top: var(--s24); padding-top: var(--s20); border-top: 1px solid var(--line); }
@media (max-width: 1000px) {
  .shop-hero { grid-template-columns: 1fr; gap: var(--s40); }
  .shop-hero__fig { max-width: 420px; }
}

.nav__soon { font-family: var(--mono); font-size: 8px; letter-spacing: 0.14em; color: var(--signal); vertical-align: super; margin-left: 2px; text-transform: uppercase; }

/* ==========================================================================
   Wallpaper-Streifen im Shop: sechs Motive, Hairline-gerahmt, kein Kachel-Grid
   ========================================================================== */
.wp-strip { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.wp-strip__it { margin: 0; background: var(--bg); position: relative; overflow: hidden; }
.wp-strip__it img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; opacity: .92; transition: opacity .4s var(--ease), transform .8s var(--ease); }
.wp-strip__it:hover img { opacity: 1; transform: scale(1.04); }
@media (max-width: 900px) { .wp-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 540px) { .wp-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ==========================================================================
   Journal: Artikelbild und Quellenblock
   ========================================================================== */
.article__fig { margin: clamp(28px, 4vw, 44px) 0 0; border: 1px solid var(--line); }
.article__fig img { display: block; width: 100%; height: auto; }
.article__fig figcaption { padding: 10px 14px; border-top: 1px solid var(--line); color: var(--graphite); }
.sources { border-top: 1px solid var(--line-str); padding-top: var(--s24); }
.sources__list { list-style: none; counter-reset: src; margin: var(--s20) 0 0; padding: 0; }
.sources__list li { counter-increment: src; display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.sources__list li::before { content: counter(src, decimal-leading-zero); font-family: var(--mono); font-size: 11px; color: var(--graphite); letter-spacing: .1em; }
.sources__list a { color: var(--steel); text-decoration: none; border-bottom: 1px solid transparent; transition: color .3s var(--ease), border-color .3s var(--ease); }
.sources__list a:hover { color: var(--white); border-color: var(--signal); }
.sources__u { font-family: var(--mono); font-size: 10.5px; letter-spacing: .08em; color: var(--graphite); margin-left: auto; white-space: nowrap; }
@media (max-width: 640px) { .sources__u { display: none; } }

/* ==========================================================================
   Mobile-Kalender: Punkt-Indikatoren machen Event-Tage sichtbar & tappbar
   ========================================================================== */
.day__dots { display: none; gap: 3px; margin-top: auto; padding-left: 7px; align-items: center; }
.day__dots i { width: 4px; height: 4px; border-radius: 50%; background: var(--steel); display: inline-block; }
.day__dots .day__dot--peak, .day__dots i.day__dot--peak { width: 5px; height: 5px; background: var(--signal); }
.day--sel { background: rgba(175,80,255,.10); }
.day--sel .day__n { color: var(--white); }

@media (max-width: 700px) {
  .day__ev { display: none; }
  .day__dots { display: flex; }
  .day { min-height: 56px; }
  .day--has { background: rgba(20,17,28,.94); }
  .day--has .day__n { color: var(--white); }
  .day--today { box-shadow: inset 0 0 0 1.5px var(--signal); }
  .cal__taphint { display: block; }
}
.cal__taphint { display: none; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); padding: 10px var(--s16) 0; }
.shop-hero__amount { white-space: nowrap; }
@media (max-width: 700px) { .shop-hero__price { flex-wrap: wrap; row-gap: 6px; } }
