/* ============================================================
   MeinNorderney — norderney-records.de
   Design: „Nachtfahrt" — dunkle Nordsee, Leuchtturm-Strahl
   ============================================================ */

:root {
  --nacht: #050B14;
  --tiefe: #0A1626;
  --panel: #0D1B2E;
  --gischt: #E9F1F4;
  --nebel: #8FA3B0;
  --leucht: #FFC66B;
  --linie: rgba(233, 241, 244, 0.1);
  --fehler: #FF6B6B;
  --ok: #7BE0A2;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--nacht);
  color: var(--gischt);
  font-family: "Instrument Sans", system-ui, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: "Bricolage Grotesque", "Instrument Sans", sans-serif; line-height: 1.05; }
img { max-width: 100%; height: auto; }
a { color: inherit; }

.mono { font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }

/* ---------- Navigation ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(5, 11, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 1.25rem; max-width: 1100px; margin: 0 auto; }
.marke { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.05rem; text-decoration: none; display: flex; flex-direction: column; gap: 2px; }
.marke svg { width: 132px; height: 7px; }
.nav-links { display: flex; gap: 1.6rem; align-items: center; list-style: none; }
.nav-links a { text-decoration: none; font-size: 0.9rem; color: var(--nebel); transition: color 0.2s; padding: 0.5rem 0; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--gischt); }
.nav-cta { color: var(--nacht) !important; background: var(--leucht); padding: 0.55rem 1.1rem !important; border-radius: 999px; font-weight: 600; }
.nav-toggle { display: none; background: none; border: 1px solid var(--linie); border-radius: 8px; color: var(--gischt); padding: 0.45rem 0.65rem; font-size: 1.05rem; cursor: pointer; line-height: 1; }
@media (max-width: 700px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: rgba(5, 11, 20, 0.97); border-bottom: 1px solid var(--linie);
    display: none; padding: 0.5rem 1.25rem 1rem;
  }
  .nav-links.offen { display: flex; }
  .nav-links a { padding: 0.85rem 0.25rem; font-size: 1rem; border-bottom: 1px solid var(--linie); }
  .nav-links .cta-li a { border-bottom: none; text-align: center; margin-top: 0.75rem; }
}

/* ---------- Hero mit Leuchtturm-Strahl ---------- */
header {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  background: linear-gradient(180deg, #030710 0%, var(--nacht) 55%, #071120 100%);
}
.strahl { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.strahl::before {
  content: ""; position: absolute;
  left: -12%; top: 18%;
  width: 130vmax; height: 130vmax;
  transform-origin: 0 0;
  background: conic-gradient(from 0deg,
    transparent 0deg,
    rgba(255, 198, 107, 0.16) 5deg,
    rgba(255, 198, 107, 0.05) 11deg,
    transparent 15deg);
  animation: kreisen 14s ease-in-out infinite alternate;
}
@keyframes kreisen {
  from { transform: rotate(8deg); }
  to   { transform: rotate(52deg); }
}
@media (prefers-reduced-motion: reduce) {
  .strahl::before { animation: none; transform: rotate(24deg); }
}
.hero-inhalt { position: relative; padding: 7rem 0 4rem; }
.hero-inhalt .mono { color: var(--leucht); }
h1 {
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  font-weight: 800; letter-spacing: -0.02em;
  margin: 0.9rem 0 0.4rem; max-width: 14ch;
}
.welle-svg { display: block; width: min(560px, 88%); margin: 0.4rem 0 1.6rem; }
.hero-sub { color: var(--nebel); font-size: clamp(1rem, 2.2vw, 1.2rem); max-width: 46ch; margin-bottom: 2.2rem; }
.knopfreihe { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.knopf {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 0.85rem 1.6rem; border-radius: 999px; border: none; cursor: pointer; font-family: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}
.knopf:hover { transform: translateY(-2px); }
.knopf-gold { background: var(--leucht); color: var(--nacht); box-shadow: 0 0 32px rgba(255, 198, 107, 0.25); }
.knopf-gold:hover { box-shadow: 0 0 44px rgba(255, 198, 107, 0.4); }
.knopf-rand { border: 1px solid rgba(233, 241, 244, 0.28); color: var(--gischt); background: transparent; }
.knopf-rand:hover { border-color: var(--gischt); }

/* ---------- Sektionen ---------- */
section { padding: 5.5rem 0; border-top: 1px solid var(--linie); }
.kicker { color: var(--leucht); margin-bottom: 0.9rem; display: block; }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); font-weight: 800; letter-spacing: -0.015em; margin-bottom: 1.2rem; }

/* Label-Story */
.story-raster { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 820px) { .story-raster { grid-template-columns: 1fr; } }
.story-text p { color: var(--nebel); margin-bottom: 1rem; max-width: 58ch; }
.story-text strong { color: var(--gischt); font-weight: 600; }
.werte { display: grid; gap: 0.9rem; }
.wert { background: var(--panel); border: 1px solid var(--linie); border-radius: 12px; padding: 1.2rem 1.3rem; }
.wert h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 0.25rem; }
.wert p { color: var(--nebel); font-size: 0.9rem; }

/* Acts als Positionslichter (aus data/acts.json gerendert) */
.acts-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; }
@media (max-width: 820px) { .acts-raster { grid-template-columns: 1fr; } }
.act {
  position: relative; display: flex; flex-direction: column; text-decoration: none;
  background: var(--panel); border: 1px solid var(--linie); border-radius: 14px;
  padding: 1.8rem 1.5rem 1.5rem; overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.act::before {
  content: ""; position: absolute; top: 0; left: 1.5rem; right: 1.5rem; height: 3px;
  background: var(--act-licht, var(--leucht)); border-radius: 0 0 3px 3px;
  opacity: 0.75; transition: opacity 0.25s;
}
.act:hover, .act:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(233, 241, 244, 0.2);
  box-shadow: 0 14px 44px -18px var(--act-schein, rgba(255, 198, 107, 0.5));
}
.act:hover::before { opacity: 1; }
.act .mono { color: var(--nebel); }
.act-logo { height: 56px; width: auto; max-width: 70%; object-fit: contain; object-position: left center; margin: 0.9rem 0 0.2rem; }
.act h3 { font-size: 1.5rem; font-weight: 800; margin: 0.6rem 0 0.4rem; }
.act p { color: var(--nebel); font-size: 0.92rem; flex-grow: 1; }
.act-ziel { display: inline-block; margin-top: 1.1rem; font-size: 0.85rem; color: var(--gischt); font-weight: 600; }
.act-ziel::after { content: " →"; }

/* Aktuell / Promo (aus data/promo.json gerendert) */
.promo-liste { display: grid; gap: 1rem; margin-top: 2rem; }
.promo {
  display: grid; grid-template-columns: auto auto 1fr auto; gap: 1.3rem; align-items: center;
  background: var(--panel); border: 1px solid var(--linie); border-radius: 14px; padding: 1.2rem 1.4rem;
}
.promo.ohne-cover { grid-template-columns: auto 1fr auto; }
@media (max-width: 640px) {
  .promo, .promo.ohne-cover { grid-template-columns: 1fr; gap: 0.6rem; }
  .promo-cover { width: 100%; height: 160px; }
}
.promo-typ {
  font-family: "IBM Plex Mono", monospace; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--leucht); border: 1px solid rgba(255, 198, 107, 0.35);
  padding: 0.3rem 0.65rem; border-radius: 999px; white-space: nowrap; justify-self: start;
}
.promo-cover { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.promo h3 { font-size: 1.15rem; font-weight: 700; }
.promo .von { color: var(--nebel); font-size: 0.88rem; }
.promo-aktion { font-size: 0.88rem; font-weight: 600; text-decoration: none; color: var(--gischt); white-space: nowrap; background: none; border: none; cursor: pointer; font-family: inherit; }
.promo-aktion::after { content: " →"; color: var(--leucht); }

/* Video-Einbettung (2-Klick / MP4) */
.video-buehne { grid-column: 1 / -1; margin-top: 0.4rem; }
.video-facade {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: linear-gradient(160deg, var(--tiefe), #04101e);
  border: 1px solid var(--linie); border-radius: 10px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
  cursor: pointer; overflow: hidden; color: var(--nebel); font: inherit; text-align: center; padding: 1rem;
}
.video-facade img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.45; }
.video-facade .abspielen {
  position: relative; width: 64px; height: 64px; border-radius: 50%;
  background: var(--leucht); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 32px rgba(255, 198, 107, 0.35); transition: transform 0.2s;
}
.video-facade:hover .abspielen { transform: scale(1.08); }
.video-facade .abspielen::before { content: ""; border-style: solid; border-width: 11px 0 11px 19px; border-color: transparent transparent transparent var(--nacht); margin-left: 4px; }
.video-facade .datenschutz-hinweis { position: relative; font-size: 0.78rem; max-width: 40ch; }
.video-facade .datenschutz-hinweis strong { color: var(--gischt); display: block; font-size: 0.9rem; }
.video-buehne iframe, .video-buehne video { width: 100%; aspect-ratio: 16 / 9; border: none; border-radius: 10px; display: block; background: #000; }

/* Audio-Player (MP3-Songs) */
.audio-buehne { grid-column: 1 / -1; margin-top: 0.4rem; display: grid; gap: 0.55rem; }
.audio-buehne audio { width: 100%; height: 44px; border-radius: 10px; }
.audio-extern { font-size: 0.85rem; color: var(--nebel); text-decoration: none; }
.audio-extern:hover { color: var(--leucht); }

/* Einreichen */
.einreichen-kasten {
  background: linear-gradient(160deg, var(--panel), var(--tiefe));
  border: 1px solid rgba(255, 198, 107, 0.25); border-radius: 18px;
  padding: 2.6rem 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2.4rem;
}
@media (max-width: 820px) { .einreichen-kasten { grid-template-columns: 1fr; padding: 1.8rem 1.3rem; } }
.einreichen-kasten p { color: var(--nebel); max-width: 42ch; }
form { display: grid; gap: 0.9rem; }
label { font-size: 0.82rem; color: var(--nebel); display: grid; gap: 0.35rem; }
input, textarea {
  background: var(--nacht); border: 1px solid var(--linie); border-radius: 10px;
  color: var(--gischt); font: inherit; padding: 0.75rem 0.9rem; width: 100%;
}
input:focus, textarea:focus { outline: 2px solid var(--leucht); outline-offset: 1px; border-color: transparent; }
form .knopf { justify-self: start; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-meldung { display: none; padding: 0.85rem 1.1rem; border-radius: 10px; font-size: 0.92rem; }
.form-meldung.sichtbar { display: block; }
.form-meldung.ok { background: rgba(123, 224, 162, 0.12); color: var(--ok); border: 1px solid rgba(123, 224, 162, 0.35); }
.form-meldung.fehler { background: rgba(255, 107, 107, 0.1); color: var(--fehler); border: 1px solid rgba(255, 107, 107, 0.3); }

/* Footer */
footer { border-top: 1px solid var(--linie); padding: 2.4rem 0 3rem; }
.fuss { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.fuss .mono { color: var(--nebel); }
.fuss-links { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.fuss-links a { color: var(--nebel); font-size: 0.85rem; text-decoration: none; }
.fuss-links a:hover { color: var(--gischt); }

/* Rechtsseiten (Impressum / Datenschutz) */
.rechtsseite { padding: 8rem 0 4rem; max-width: 760px; }
.rechtsseite h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 2rem; }
.rechtsseite h2 { font-size: 1.25rem; margin: 2.2rem 0 0.7rem; }
.rechtsseite p, .rechtsseite li { color: var(--nebel); margin-bottom: 0.8rem; }
.rechtsseite ul { padding-left: 1.2rem; }
.rechtsseite a { color: var(--leucht); }
.zurueck { display: inline-block; margin-bottom: 2rem; color: var(--nebel); text-decoration: none; font-size: 0.9rem; }
.zurueck:hover { color: var(--gischt); }
