/* ==========================================================
   neonFREQUENZ · assets/css/style.css (FINAL)
   Basis: NF 2.0 Aura + saubere Modernisierung (Option A)
   - Mobile-first
   - Hamburger/Nav Overlay: stabil + bugfrei
   - CI: Neon Cyan / Pink, dunkle Aura, klare Typo
   ========================================================== */

/* ------------------------------
   0) Root / Theme
------------------------------ */
:root{
  /* CI */
  --color-cyan: #00cfff;
  --color-pink: #ff00b9;
  --color-green: #16ff8a;

  /* Base */
  --bg: #0b0b0e;
  --bg-2: #0f1016;
  --panel: rgba(255,255,255,0.05);
  --panel-2: rgba(255,255,255,0.08);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.70);
  --muted-2: rgba(255,255,255,0.58);

  /* Lines / Shadows */
  --line: rgba(255,255,255,0.12);
  --line-2: rgba(255,255,255,0.18);
  --shadow-cyan: rgba(0, 207, 255, 0.22);
  --shadow-pink: rgba(255, 0, 185, 0.18);
  --shadow-soft: 0 14px 40px rgba(0,0,0,0.35);

  /* Radius / spacing */
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 18px;
  --r-lg: 24px;

  --pad-1: 10px;
  --pad-2: 14px;
  --pad-3: 18px;
  --pad-4: 26px;

  /* Container */
  --container: 1100px;

  /* Type */
  --font-head: "Orbitron", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Noto Sans", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Noto Sans", Arial, sans-serif;

  /* Focus */
  --focus: 0 0 0 3px rgba(0, 207, 255, 0.28);

  /* Header / Nav sizing */
  --header-h: 64px;
  --hamburger-size: 44px;
  --nav-width: min(420px, 86vw);
}

body.theme-light{
  --bg: #f6f7fb;
  --bg-2: #ffffff;
  --panel: rgba(0,0,0,0.04);
  --panel-2: rgba(0,0,0,0.06);
  --text: rgba(0,0,0,0.90);
  --muted: rgba(0,0,0,0.68);
  --muted-2: rgba(0,0,0,0.56);
  --line: rgba(0,0,0,0.10);
  --line-2: rgba(0,0,0,0.16);
  --shadow-soft: 0 12px 40px rgba(0,0,0,0.12);
}

/* ------------------------------
   1) Reset / Base
------------------------------ */
*,
*::before,
*::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: radial-gradient(1200px 700px at 20% -10%, rgba(0,207,255,0.12), transparent 55%),
              radial-gradient(900px 600px at 90% 10%, rgba(255,0,185,0.10), transparent 55%),
              linear-gradient(180deg, var(--bg), var(--bg-2));
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img{ max-width: 100%; display:block; }
svg{ display:block; }
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

button, input, select, textarea{
  font: inherit;
  color: inherit;
}

::selection{
  background: rgba(0,207,255,0.25);
}

hr{
  border: none;
  border-top: 1px solid var(--line);
  margin: 22px 0;
}

.container{
  width: min(var(--container), calc(100% - 2*var(--pad-4)));
  margin: 0 auto;
}
@media (max-width: 700px){
  .container{ width: calc(100% - 2*var(--pad-3)); }
}

/* ------------------------------
   2) Typography helpers
------------------------------ */
h1,h2,h3,h4{
  font-family: var(--font-head);
  letter-spacing: 0.02em;
  margin: 0 0 10px;
  line-height: 1.2;
}
p{ margin: 0 0 12px; color: var(--muted); }

.kicker{
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.glow-cyan{ text-shadow: 0 0 14px var(--shadow-cyan); }
.glow-pink{ text-shadow: 0 0 14px var(--shadow-pink); }

.small{ font-size: 0.92rem; color: var(--muted); }
.tiny{ font-size: 0.82rem; color: var(--muted-2); }

/* ------------------------------
   3) Header / Navigation (FINAL)
------------------------------ */
.site-header{
  position: sticky;
  top: 0;
  z-index: 9997;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,0.48);
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.site-logo{
  font-family: var(--font-head);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  white-space: nowrap;
}
.site-logo span{
  color: var(--color-cyan);
  text-shadow: 0 0 14px rgba(0,207,255,0.25);
}
.site-logo:hover{ text-decoration: none; }

.site-logo img{
  height: 72px;
  width: 100%;
  max-height: 72px; /* FIX: war max-heigt */
  padding: 3px 0;
}

.nav-desktop{
  display: none; /* mobile first */
  align-items: center;
  gap: 14px;
}
.nav-desktop a{
  font-size: 0.92rem;
  color: rgba(255,255,255,0.82);
  padding: 8px 8px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid transparent;
  background: transparent;
  transition: background 0.14s ease, border-color 0.14s ease;
}
.nav-desktop a:hover{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.08);
  text-decoration: none;
}
.nav-desktop a.is-active{
  background: rgba(0,207,255,0.10);
  border-color: rgba(0,207,255,0.22);
  color: rgba(255,255,255,0.95);
}

/* Desktop nav sichtbar, Hamburger weg */
@media (min-width: 980px){
  .nav-desktop{ display: inline-flex; }
  .hamburger, #hamburgerBtn{ display: none; }
}

/* ------------------------------
   3.1) Header Stats – LCD Display (ein Feld)
   (einzige Quelle, keine Duplikate)
------------------------------ */
.header-stats{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "DSEG14 Classic", monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
  padding: 3px 6px;
  border-radius: 7px;

background: rgba(140, 255, 255, 0.7); /* hell */
border: 1px solid rgba(40, 160, 170, 0.85);


  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,0.35),
    inset 0 6px 10px rgba(255,255,255,0.08),
    0 0 12px rgba(0,207,255,0.25);

  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.05em;

  color: rgba(0,0,0,0.92);
  user-select: none;
  white-space: nowrap;
}

/* Neutralisiert alte "pill span" Regeln (falls noch HTML: <span>) */
.header-stats span{
  min-width: 0;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  transition: none;

  display: inline-flex;
  align-items: center;
  gap: 3px;

  color: rgba(0,0,0,0.92);
  font-weight: 800;
  letter-spacing: 0.06em;
}

/* Optional separator */
.header-stats .stat-sep{
  margin: 0 4px;
  opacity: 0.55;
  color: rgba(0,0,0,0.6);
}

/* Auf sehr kleinen Screens nicht zu voll */
@media (max-width: 520px){
  .header-stats{ display: none; }
}

/* ------------------------------
   4) Buttons / Controls
------------------------------ */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 10px 14px;
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: var(--text);

  cursor: pointer;
  user-select: none;

  transition: transform 0.14s ease, background 0.14s ease, border-color 0.14s ease;
}

.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.20);
  text-decoration: none;
}
.btn:active{ transform: translateY(0px); }

.btn:focus-visible{
  outline: none;
  box-shadow: var(--focus);
}

.btn-primary{
  border-color: rgba(0,207,255,0.55);
  background: linear-gradient(180deg, rgba(0,207,255,0.22), rgba(0,207,255,0.08));
  box-shadow: 0 10px 26px rgba(0,207,255,0.10);
}
.btn-primary:hover{
  border-color: rgba(0,207,255,0.75);
}

.btn-pink{
  border-color: rgba(255,0,185,0.55);
  background: linear-gradient(180deg, rgba(255,0,185,0.18), rgba(255,0,185,0.06));
}

.btn-ghost{
  background: transparent;
  border-color: rgba(255,255,255,0.12);
}

.btn-slim{
  padding: 8px 12px;
  font-size: 0.92rem;
}

/* Toggle */
.toggle{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.toggle input{
  width: 42px;
  height: 24px;
  appearance: none;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.10);
  position: relative;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}
.toggle input::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 3px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(255,255,255,0.85);
  transition: left 0.18s ease, background 0.18s ease;
}
.toggle input:checked{
  background: rgba(0,207,255,0.22);
  border-color: rgba(0,207,255,0.50);
}
.toggle input:checked::after{
  left: 20px;
  background: rgba(255,255,255,0.95);
}
.toggle input:focus-visible{ outline: none; box-shadow: var(--focus); }

/* ------------------------------
   5) Cards / Sections
------------------------------ */
.card{
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  width: 100%;
}
.card .card-inner{ padding: var(--pad-4); }
@media (max-width: 700px){
  .card .card-inner{ padding: var(--pad-3); }
}

.section{ margin: 22px 0; }

.section-title{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.section-title h2{
  font-size: 1.2rem;
  margin: 0;
}
.section-title .hint{
  font-size: 0.9rem;
  color: var(--muted-2);
}

.grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.col-6{ grid-column: span 6; }
.col-4{ grid-column: span 4; }
.col-3{ grid-column: span 3; }
.col-12{ grid-column: span 12; }

@media (max-width: 900px){
  .col-6{ grid-column: span 12; }
  .col-4{ grid-column: span 6; }
  .col-3{ grid-column: span 6; }
}
@media (max-width: 560px){
  .col-4, .col-3{ grid-column: span 12; }
}

.article-card{
  display: flex;
  flex-direction: column;
  height: 100%;
}
.article-card .thumb{
  aspect-ratio: 16/9;
  background: rgba(0,0,0,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.article-card .meta{ padding: var(--pad-3); }
.article-card .meta h3{
  margin: 0 0 8px;
  font-size: 1.05rem;
}
.article-card .meta p{ margin: 0; color: var(--muted); }

/* ------------------------------
   6) Badges / Tags / Alerts
------------------------------ */
.badge, .tag{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.86rem;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: var(--text);
}
.badge-cyan{ border-color: rgba(0,207,255,0.45); background: rgba(0,207,255,0.12); }
.badge-pink{ border-color: rgba(255,0,185,0.40); background: rgba(255,0,185,0.10); }
.badge-green{ border-color: rgba(22,255,138,0.40); background: rgba(22,255,138,0.10); }

.alert{
  padding: 12px 14px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: var(--text);
}
.alert-info{ border-color: rgba(0,207,255,0.34); background: rgba(0,207,255,0.10); }
.alert-warn{ border-color: rgba(255,176,0,0.35); background: rgba(255,176,0,0.10); }
.alert-danger{ border-color: rgba(255,70,70,0.35); background: rgba(255,70,70,0.10); }

/* ------------------------------
   7) Like / Follow UI
------------------------------ */
.reactions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.reaction-btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  transition: transform 0.14s ease, background 0.14s ease, border-color 0.14s ease;
}
.reaction-btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.20);
}
.reaction-btn:focus-visible{ outline: none; box-shadow: var(--focus); }
.reaction-btn .count{
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--text);
}
.reaction-like{ border-color: rgba(0,207,255,0.34); }
.reaction-dislike{ border-color: rgba(255,0,185,0.26); }
.reaction-follow{ border-color: rgba(22,255,138,0.30); }

/* ------------------------------
   8) NAV: Hamburger + Overlay + Slide-in
------------------------------ */

/* Backdrop Overlay */
#nav-overlay,
#navBackdrop{
  position: fixed;
  inset: 0;
  z-index: 9996;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms ease;
}
#nav-overlay.active,
#navBackdrop.active{
  opacity: 1;
  pointer-events: auto;
}

/* Body lock when nav open */
body.nav-open{
  overflow: hidden;
  touch-action: none;
}

/* Hamburger (mobile) */
.hamburger,
#hamburgerBtn{
  width: var(--hamburger-size);
  height: var(--hamburger-size);
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}
.hamburger:hover,
#hamburgerBtn:hover{
  transform: translateY(-1px);
  background: rgba(0,0,0,0.32);
  border-color: rgba(255,255,255,0.22);
}
.hamburger:focus-visible,
#hamburgerBtn:focus-visible{
  outline: none;
  box-shadow: var(--focus);
}

/* 3-span icon (passt zu deinem Header) */
.hamburger span,
#hamburgerBtn span{
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-cyan);
  box-shadow: 0 0 14px rgba(0,207,255,0.22);
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.hamburger span:nth-child(2),
#hamburgerBtn span:nth-child(2){
  margin: 4px 0;
}

/* Active -> X */
.hamburger.active span:nth-child(1),
.hamburger.is-active span:nth-child(1),
#hamburgerBtn.active span:nth-child(1),
#hamburgerBtn.is-active span:nth-child(1){
  transform: translateY(6px) rotate(45deg);
}
.hamburger.active span:nth-child(2),
.hamburger.is-active span:nth-child(2),
#hamburgerBtn.active span:nth-child(2),
#hamburgerBtn.is-active span:nth-child(2){
  opacity: 0;
}
.hamburger.active span:nth-child(3),
.hamburger.is-active span:nth-child(3),
#hamburgerBtn.active span:nth-child(3),
#hamburgerBtn.is-active span:nth-child(3){
  transform: translateY(-6px) rotate(-45deg);
}

/* Nav panel */
#main-nav{
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: var(--nav-width);
  z-index: 9998;

  padding: calc(var(--header-h) + 16px) 14px 18px;
  overflow-y: auto;

  display: flex;
  flex-direction: column;
  gap: 10px;

  background: rgba(0,0,0,0.78);
  backdrop-filter: blur(14px);
  border-left: 1px solid rgba(0,207,255,0.22);
  box-shadow: -18px 0 44px rgba(0,0,0,0.42);

  transform: translateX(110%);
  transition: transform 0.22s ease;
  will-change: transform;
}

#main-nav.active{ transform: translateX(0); }

#main-nav .nav-title{
  font-family: var(--font-head);
  font-size: 0.98rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.82);
  padding: 6px 8px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  margin-bottom: 6px;
}

/* Nav close */
#main-nav .nav-close{
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(0,207,255,0.45);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.92);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: grid;
  place-items: center;
  backdrop-filter: blur(10px);
}
#main-nav .nav-close:hover{
  border-color: rgba(0,207,255,0.9);
}

/* Nav links: ohne Rahmen, kleiner, linksbündig */
#main-nav a{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;

  width: 100%;
  padding: 10px 12px;

  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;

  font-size: 0.98rem;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.88);

  transition: background 0.14s ease, border-color 0.14s ease, transform 0.14s ease;
  text-decoration: none;
}
#main-nav a:hover{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.08);
  transform: translateX(-1px);
  text-decoration: none;
}
#main-nav a.is-active,
#main-nav a.active,
#main-nav a[aria-current="page"]{
  background: rgba(0,207,255,0.10);
  border-color: rgba(0,207,255,0.22);
  color: rgba(255,255,255,0.95);
  box-shadow: 0 0 0 1px rgba(0,207,255,0.10) inset;
}

/* ------------------------------
   9) Forms
------------------------------ */
.field{ display: grid; gap: 8px; }
.label{ font-size: 0.90rem; color: var(--muted-2); }

.input, select, textarea{
  width: 100%;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  outline: none;
}
.input:focus, select:focus, textarea:focus{
  box-shadow: var(--focus);
  border-color: rgba(0,207,255,0.40);
}
textarea{ min-height: 110px; resize: vertical; }

/* ------------------------------
   10) Utilities
------------------------------ */
.row{ display:flex; gap: 12px; align-items:center; flex-wrap: wrap; }
.space-between{ justify-content: space-between; }
.center{ display:flex; align-items:center; justify-content:center; }

.mt-1{ margin-top: 10px; }
.mt-2{ margin-top: 16px; }
.mt-3{ margin-top: 24px; }
.mb-1{ margin-bottom: 10px; }
.mb-2{ margin-bottom: 16px; }
.mb-3{ margin-bottom: 24px; }

.muted{ color: var(--muted); }
.muted-2{ color: var(--muted-2); }

.divider{ height: 1px; background: var(--line); margin: 14px 0; }

.pill{
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
}

.hidden{ display:none !important; }

/* ------------------------------
   11) Accessibility / Tap targets
------------------------------ */
.tap{ min-height: 44px; min-width: 44px; }

/* ------------------------------
   12) Optional: Scrollbar (subtle)
------------------------------ */
*{
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.22) transparent;
}
*::-webkit-scrollbar{ width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,0.18);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover{
  background: rgba(255,255,255,0.24);
  border: 2px solid transparent;
  background-clip: padding-box;
}
*::-webkit-scrollbar-track{ background: transparent; }

/* ==========================================================
   HOME (Startseite) · 5 Module / Option B
   - Hero / Credit / Ticker / Featured / Categories / Issue
   ========================================================== */

/* 1) HERO */
.home-hero{
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,0.10);
  background:
    radial-gradient(900px 420px at 10% -10%, rgba(0,207,255,0.14), transparent 60%),
    radial-gradient(820px 420px at 90% 0%, rgba(255,0,185,0.10), transparent 60%),
    rgba(255,255,255,0.04);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.home-hero-inner{
  padding: clamp(18px, 3.6vw, 34px);
}

.home-hero h1{
  font-size: clamp(1.25rem, 3.2vw, 2.1rem);
  margin: 0 0 10px;
  text-shadow: 0 0 14px rgba(0,207,255,0.12);
}

.home-hero-sub{
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 64ch;
}

.home-hero-cta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* Credit unterhalb */
.home-hero-credit{
  margin-top: 10px;
  padding: 0 4px;
  font-size: 0.92rem;
  color: var(--muted-2);
  opacity: 0.95;
}

/* 2) TICKER */
.home-ticker{
  margin-top: 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;

  padding: 10px 12px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
}

.home-ticker-label{
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.80);
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,207,255,0.26);
  background: rgba(0,207,255,0.08);
  white-space: nowrap;
}

.home-ticker-items{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.home-ticker-items a{
  font-size: 0.95rem;
  color: rgba(255,255,255,0.86);
  opacity: 0.92;
}

.home-ticker-items a:hover{
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 560px){
  .home-ticker{
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* 3) FEATURED */
.home-featured{
  margin-top: 22px;
}

.home-featured h2{
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.home-cards{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.home-card{
  grid-column: span 4;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;

  display: flex;
  flex-direction: column;
  min-height: 100%;
}

@media (max-width: 900px){
  .home-card{ grid-column: span 6; }
}
@media (max-width: 560px){
  .home-card{ grid-column: span 12; }
}

.home-card-img{
  display: block;
  aspect-ratio: 16 / 9;
  background: rgba(0,0,0,0.35);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.home-card-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.home-card:hover .home-card-img img{
  transform: scale(1.02);
}

.home-card-body{
  padding: var(--pad-3);
  display: grid;
  gap: 8px;
}

.home-card-body h3{
  font-size: 1.02rem;
  margin: 0;
}

.home-card-body h3 a{
  color: rgba(255,255,255,0.92);
  text-decoration: none;
}
.home-card-body h3 a:hover{
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-card-body p{
  margin: 0;
  color: var(--muted);
}

.home-card-meta{
  margin-top: 2px;
  font-size: 0.90rem;
  color: var(--muted-2);
}
.home-card-meta a{
  color: rgba(0,207,255,0.92);
  text-decoration: none;
}
.home-card-meta a:hover{
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 4) CATEGORIES GRID */
.home-categories{
  margin-top: 22px;
}

.home-categories h2{
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.home-cat-grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}

.home-cat{
  grid-column: span 4;
  min-height: 54px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);

  font-family: var(--font-head);
  letter-spacing: 0.03em;
  font-size: 0.98rem;

  transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease;
}

.home-cat:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.06);
  border-color: rgba(0,207,255,0.22);
  text-decoration: none;
}

@media (max-width: 900px){
  .home-cat{ grid-column: span 6; }
}
@media (max-width: 560px){
  .home-cat{ grid-column: span 12; }
}

/* 5) ISSUE BLOCK */
.home-issue{
  margin-top: 22px;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.04);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.home-issue-inner{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: clamp(16px, 3vw, 26px);
}

@media (min-width: 860px){
  .home-issue-inner{
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }
}

.home-issue-cover{
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.35);
}
.home-issue-cover img{
  width: 100%;
  height: auto;
  display: block;
}

.home-issue-body h2{
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.home-issue-body p{
  margin: 0 0 14px;
  color: var(--muted);
  max-width: 70ch;
}

/* ==============================
   HOME HERO SLIDESHOW
============================== */
.home-hero{
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 54vh;
  display: grid;
  place-items: center;
}

/* Bild-Layer */
.home-hero-slides{
  position: absolute;
  inset: 0;
  z-index: 0;
}

.home-hero-slide{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  opacity: 0;
  transform: scale(1.02);
  transition: opacity 900ms ease, transform 1200ms ease;
  filter: contrast(1.05) saturate(1.08);
}

.home-hero-slide.is-active{
  opacity: 1;
  transform: scale(1);
}

/* Aura Overlay */
.home-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background:
    radial-gradient(60% 60% at 50% 35%, rgba(0,207,255,0.18), transparent 60%),
    linear-gradient(to bottom, rgba(0,0,0,0.10), rgba(0,0,0,0.72));
}

/* Inhalt über allem */
.home-hero-inner{
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 84px 18px 64px;
  max-width: 860px;
}

/* Credit unter Hero */
.home-hero-credit{
  margin-top: 10px;
  font-size: 0.92rem;
  opacity: 0.78;
}

.btn--icon {
  font-size: 1.1rem;
  padding: 6px 10px;
  line-height: 1;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  opacity: 0.85;
}

/* ==============================
   HERO ZOOM (5s: Detail -> Gesamt)
============================== */
.home-hero-slide{
  transform-origin: center center;
  will-change: transform, opacity;
}

/* aktiver Slide: Zoom-Out in 5 Sekunden */
.home-hero-slide.is-active{
  animation: heroZoomOut 5s ease-out forwards;
}

@keyframes heroZoomOut{
  from { transform: scale(1.18); }
  to   { transform: scale(1.00); }
}

/* ==========================================================
   Rubrik Layout
   ========================================================== */
.rubrik-hero{
  background: var(--panel);
  border: 1px solid rgba(0,207,255,0.18);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 34px rgba(0,207,255,0.08);
}

.rubrik-hero-inner{
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

.rubrik-hero-text h1{
  margin: 0 0 8px;
  font-family: "Orbitron", system-ui, sans-serif;
  letter-spacing: 0.6px;
}

.rubrik-hero-text p{
  margin: 0;
  color: var(--text);
  opacity: 0.92;
  line-height: 1.65;
}

.accent-cyan{ color: var(--color-cyan); }

.rubrik-mini-stats{
  display: flex;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
}

.rubrik-mini-stats span{
  white-space: nowrap;
  opacity: 0.95;
}

.rubrik-panel{
  margin-top: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 18px;
}

.rubrik-panel h2{
  margin: 0 0 10px;
  font-family: "Orbitron", system-ui, sans-serif;
}

.rubrik-panel ul{
  margin: 0;
  padding-left: 18px;
  line-height: 1.8;
  opacity: 0.95;
}

.rubrik-community{
  margin-top: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,0,185,0.18);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 12px 34px rgba(255,0,185,0.06);
}

.rubrik-community h2{
  margin: 0 0 10px;
  font-family: "Orbitron", system-ui, sans-serif;
}

.rubrik-community p{
  margin: 0 0 14px;
  opacity: 0.9;
  line-height: 1.65;
}

.community-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 900px){
  .community-grid{
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================
   Footer (Shop-Style)
   ========================================================== */
.site-footer {
  margin-top: 40px;
  padding: 22px 16px;
  border-top: 1px solid rgba(0, 207, 255, 0.25);
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.footer-copy,
.footer-meta,
.footer-visitors {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.92;
}

.footer-meta a,
.footer-nav a,
.footer-social a {
  text-decoration: none;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.footer-nav a {
  font-size: 0.95rem;
  opacity: 0.9;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(0, 207, 255, 0.2);
}

.footer-nav a:hover {
  opacity: 1;
  border-color: rgba(0, 207, 255, 0.55);
  box-shadow: 0 0 12px rgba(0, 207, 255, 0.18);
}

.footer-youtube {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 0, 185, 0.35);
  opacity: 0.95;
}

.footer-youtube:hover {
  opacity: 1;
  box-shadow: 0 0 14px rgba(255, 0, 185, 0.18);
}

@media (min-width: 860px) {
  .footer-inner {
    grid-template-columns: 1.2fr 1.6fr 0.6fr;
    align-items: start;
  }

  .footer-social {
    display: flex;
    justify-content: flex-end;
  }
}

/* Legal / FAQ text widths */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 30px 18px;
  line-height: 1.6;
  font-size: 1rem;
}

.legal-content p {
  margin-bottom: 1rem;
}

.faq-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 18px;
  line-height: 1.6;
}

.faq-content p {
  margin-bottom: 1rem;
}

/* Store-Link im Desktop: Pink */
.nav-desktop a[href*="store.intuitionorbit.de"] {
  border: 1px solid var(--color-pink);
  border-radius: 14px;
  padding: 6px 12px;
}

/* ==========================================================
   Cards Grid (global)
   ========================================================== */
.cards-grid,
.home-cards {
  display: grid;
  gap: 16px;
}

.cards-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   Article Content – 3 Column Editorial Layout
   ========================================================== */
.article-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  line-height: 1.65;
}

.article-content h2,
.article-content blockquote {
  grid-column: 1 / -1;
}

@media (max-width: 1100px) {
  .article-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .article-content {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   FAQ – details.faq + summary + faq-body
   ========================================================== */
details.faq{
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  background: rgba(0,0,0,0.22);
  overflow: hidden;
}

details.faq + details.faq{
  margin-top: 10px;
}

details.faq summary{
  list-style: none;
  cursor: pointer;
  user-select: none;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 12px 14px;

  font-family: var(--font-head);
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.92);
}

details.faq summary::-webkit-details-marker{
  display: none;
}

details.faq summary::after{
  content: "▾";
  font-size: 18px;
  opacity: 0.85;
  transform: rotate(0deg);
  transition: transform 160ms ease, opacity 160ms ease;
}

details.faq[open] summary::after{
  transform: rotate(180deg);
  opacity: 1;
}

details.faq summary:hover{
  background: rgba(255,255,255,0.04);
}

details.faq .faq-body{
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 12px 14px;
}

details.faq .faq-body p:last-child{
  margin-bottom: 0 !important;
}

/* FAQ Sektionen (optional) */
.page-pages .card h2{
  font-size: 1.15rem;
}
/* ==========================================================
   NF3 · Quartz Drawer Navigation (Mobile)
   - kompatibel mit script.js:
       #main-nav.active  +  #nav-overlay.active
   ========================================================== */

#nav-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.66);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  z-index: 9998;
}
#nav-overlay.active{
  opacity: 1;
  pointer-events: auto;
}

/* Basis: hidden/aria bleibt bei dir via JS – wir stylen Animation */
#main-nav.qnav{
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
}
#main-nav.qnav.active{
  pointer-events: auto;
}

/* Drawer-Schublade */
#main-nav.qnav .qnav-shell{
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(420px, calc(100% - 18px));
  transform: translateX(110%);
  transition: transform 320ms cubic-bezier(.2,.9,.2,1);

  display: flex;
  flex-direction: column;

  border-radius: 22px 0 0 22px;
  border: 1px solid rgba(0,0,0,0.18);

  background:
    radial-gradient(circle at 25% 18%, rgba(255,255,255,0.42), rgba(255,255,255,0.10) 48%),
    linear-gradient(180deg, rgba(145,255,245,0.96), rgba(60,220,215,0.92));

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.22) inset,
    -12px 0 60px rgba(0,0,0,0.55),
    0 0 28px rgba(0,207,255,0.22);

  color: rgba(10,20,30,0.94);
  overflow: hidden;
}

#main-nav.qnav.active .qnav-shell{
  transform: translateX(0);
}

#main-nav.qnav .qnav-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.16);
}

#main-nav.qnav .qnav-title{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#main-nav.qnav .qnav-badge{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.18);
  background: rgba(255,255,255,0.20);
  font-size: 0.74rem;
}

#main-nav.qnav .qnav-text{ font-size: 0.92rem; }

#main-nav.qnav .qnav-close{
  border: 1px solid rgba(0,0,0,0.18);
  background: rgba(255,255,255,0.18);
  border-radius: 14px;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 900;
}

/* Touch-Buttons */
#main-nav.qnav .qnav-grid{
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  overflow: auto;
}

#main-nav.qnav .qnav-item{
  display:flex;
  align-items:center;
  gap: 12px;

  text-decoration: none;
  color: inherit;

  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.18);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18) inset;

  padding: 14px 14px;

  user-select: none;
  -webkit-tap-highlight-color: transparent;

  transform: translateZ(0);
  transition: transform 120ms ease, filter 120ms ease;
}

#main-nav.qnav .qnav-item:hover{
  transform: translateY(-1px);
  filter: brightness(1.02);
}
#main-nav.qnav .qnav-item:active{
  transform: translateY(1px) scale(0.99);
  filter: brightness(0.98);
}

#main-nav.qnav .qnav-ico{
  width: 42px;
  height: 42px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.18);
  font-size: 1.05rem;
}

#main-nav.qnav .qnav-label{
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Aktiver Link */
#main-nav.qnav .qnav-item.is-active{
  border-color: rgba(0,0,0,0.22);
  background: rgba(255,255,255,0.26);
}

/* Footer */
#main-nav.qnav .qnav-foot{
  margin-top: auto;
  padding: 12px 16px 16px 16px;
  display:flex;
  gap: 10px;
  border-top: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.12);
}

#main-nav.qnav .qnav-mini{
  flex: 1;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.14);
  background: rgba(255,255,255,0.16);
  padding: 10px 12px;
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.16) inset;
}

#main-nav.qnav .qnav-mini .k{
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  opacity: 0.9;
}
#main-nav.qnav .qnav-mini .v{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
  font-weight: 900;
  letter-spacing: 0.10em;
}

/* Desktop: Drawer unsichtbar lassen */
@media (min-width: 980px){
  #main-nav.qnav, #nav-overlay{ display:none !important; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  #main-nav.qnav .qnav-shell,
  #nav-overlay{ transition: none; }
}
/* ==========================================================
   FIX: Hamburger nur Mobile + Click-Layer sauber
   ========================================================== */

.site-header{
  position: sticky; /* falls nicht schon */
  top: 0;
  z-index: 2000;
}

#hamburgerBtn{
  position: relative;
  z-index: 2100;         /* über Stats/anderen Layern */
  pointer-events: auto;
}

/* Desktop: Hamburger aus (weil nav-desktop sichtbar) */
@media (min-width: 980px){
  #hamburgerBtn{ display: none !important; }
}

/* Mobile: Desktop-Navi aus (falls nicht bereits) */
@media (max-width: 979px){
  .nav-desktop{ display: none !important; }
}

/* Overlay + Drawer z-index garantiert unter Header-Button? */
#nav-overlay{ z-index: 2050; }
#main-nav.qnav{ z-index: 2060; }

/* Wenn Stats im Mobile den Button überdecken könnten */
.header-stats{ position: relative; z-index: 2080; }
/* ==========================================================
   FIX: Header-Stats nur im Header anzeigen
   ========================================================== */

/* Header-Stats korrekt im Header platzieren */
#site-header .header-stats{
  position: relative !important;
  top: auto !important;
  left: auto !important;
  inset: auto !important;
  z-index: 2100;
}

/* Falls irgendwo im Content noch eine header-stats existiert:
   nicht fixieren, nicht oben links */
#page-content .header-stats{
  position: static !important;
  top: auto !important;
  left: auto !important;
  inset: auto !important;
  z-index: auto !important;
}
.site-logo {
  display: flex;
  align-items: center;
  height: 72px; /* MUSS zur Headerhöhe passen */
}

.site-logo img {
  display: block;
  height: 48px;   /* kontrollierte Logo-Höhe */
  width: auto;
  max-width: 100%;
}
.article-columns {
  column-count: 3;
  column-gap: 2.2rem;
}

.article-columns h3 {
  break-after: avoid;
  break-inside: avoid;
  margin-top: 0;
}

.article-columns p {
  break-inside: avoid;
}

@media (max-width: 1100px) {
  .article-columns { column-count: 2; }
}

@media (max-width: 700px) {
  .article-columns { column-count: 1; }
}
/* =========================================
   Einheitliche Card-Bildgrößen (NF3)
========================================= */

.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;        /* empfohlene Ratio */
  overflow: hidden;
  border-radius: 16px;
  background: #0a0a0a;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* wichtig */
  object-position: center;
  display: block;
}
.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.0),
    rgba(0,0,0,0.35)
  );
  pointer-events: none;
}
/* =========================================
   Fix: Text-Innenabstand in Cards (NF3)
   verhindert "Text klebt am Rand"
========================================= */

/* Standard-Card */
.card-body {
  padding: 16px;
}

/* Home/Featured-Card (dein start.php nutzt .home-card-body) */
.home-card-body {
  padding: 16px;
}

/* Falls es Cards gibt, wo der Link direkt die Card ist */
.card-link {
  display: block;
}

/* Optional: etwas mehr Luft auf Desktop */
@media (min-width: 900px) {
  .card-body,
  .home-card-body {
    padding: 18px;
  }
}

/* Sicherheit: Titel/Teaser sollen nicht "collapsen" */
.card-title,
.home-card-body h3,
.home-card-body h3 a {
  margin: 0;
}

.card-teaser,
.home-card-body p {
  margin-top: 10px;
  margin-bottom: 0;
}
.footer-payments{
  margin-top: .6rem;
  font-size: .85rem;
  opacity: .7;
}

.footer-payments span{
  white-space: nowrap;
}
.nova-quote {
  border-left: 4px solid var(--nf-accent, #00cfff);
  padding: 14px 18px;
  margin: 16px 0;
  background: rgba(0,0,0,0.04);
  font-style: italic;
  break-inside: avoid;
}

.nova-quote p {
  margin: 0;
}
.spotify-embed {
  margin: 16px 0;
  break-inside: avoid;
}

.btn-spotify {
  border-color: #1db954;
  color: #1db954;
}

.btn-spotify:hover {
  background: rgba(29,185,84,0.12);
}
