/* ============================================================================
   UNSIGNED — style.css
   ----------------------------------------------------------------------------
   Aufbau dieser Datei:
     1. Theme-Variablen (Dark/Light über CSS Custom Properties)
     2. Reset & Basis
     3. Wiederverwendbares (Container, Buttons, Stern, Section-Köpfe)
     4. Navbar
     5. Hero
     6. Drop of the Week
     7. Roster-Vorschau
     8. Musik-Vorschau
     9. CTA-Band
     10. Footer
     11. Reveal-Animation & Reduced Motion
     12. Responsive (mobile-first wird ergänzt mit Breakpoints)
   ========================================================================== */


/* ============================================================================
   1. THEME-VARIABLEN
   ----------------------------------------------------------------------------
   Alle Farben/Abstände als Custom Properties. Umschalten passiert allein
   über [data-theme="..."] am <html>. So bleibt das Rebranding trivial:
   nur hier oben Werte ändern, der Rest zieht automatisch nach.
   ========================================================================== */

:root {
  /* Abstände (konsistentes Raster) */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;

  /* Layout */
  --container: 1200px;
  --radius: 14px;
  --radius-lg: 22px;

  /* Schriften */
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Manrope', sans-serif;

  /* Navbar-Höhe (für Scroll-Offset etc.) */
  --nav-h: 76px;

  /* Übergänge */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 0.25s var(--ease);
  --t-med: 0.45s var(--ease);
}

/* ----- DARK (Default) ----- */
[data-theme="dark"] {
  --bg:        #0a0a0a;   /* Haupt-Hintergrund */
  --bg-soft:   #131313;   /* leicht abgesetzte Flächen (Cards) */
  --bg-elev:   #1a1a1a;   /* noch eine Stufe höher */
  --line:      #262626;   /* Rahmen/Trennlinien */
  --text:      #f5f5f5;   /* Haupttext */
  --text-soft: #a1a1a1;   /* Sekundärtext */
  --text-mute: #6b6b6b;   /* sehr dezent */
  --invert:    #f5f5f5;   /* "Kontrastfarbe" für Buttons -> hier hell */
  --invert-text: #0a0a0a; /* Text auf der Kontrastfarbe */
  --logo-dark:  block;    /* weißes Logo sichtbar */
  --logo-light: none;     /* schwarzes Logo versteckt */
  --glow:     rgba(255,255,255,0.05); /* weicher Hintergrund-Glow (Dark: heller Schein) */
  --shadow:   none;                   /* Dark hebt Flächen über Kontrast ab, keine Schatten */
}

/* ----- LIGHT ----- */
[data-theme="light"] {
  --bg:        #f4f3f0;   /* gedämpftes, leicht warmes Off-White — wie gutes Papier */
  --bg-soft:   #faf9f7;   /* Cards minimal heller als der Grund -> heben sich ab */
  --bg-elev:   #ffffff;   /* höchste Ebene, fast weiß */
  --line:      rgba(0,0,0,0.06); /* hauchdünne Borders statt harter Linien */
  --text:      #161616;   /* near-black statt pur schwarz */
  --text-soft: #565452;   /* warmer Mittelgrau */
  --text-mute: #8a8884;
  --invert:    #161616;   /* dunkle Buttons */
  --invert-text: #f4f3f0;
  --logo-dark:  none;
  --logo-light: block;
  --glow:     rgba(15,15,20,0.03);  /* Light: zarter grauer Schein für Tiefe */
  --shadow:   0 1px 2px rgba(0,0,0,0.04), 0 10px 30px rgba(0,0,0,0.05); /* sehr weiche Tiefe */
}


/* ============================================================================
   2. RESET & BASIS
   ========================================================================== */

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

html {
  /* Lenis übernimmt smooth scroll per JS; nativ ausschalten, damit es
     sich nicht doppelt. Bei reduced motion greift wieder der Browser. */
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  /* Theme-Wechsel weich animieren */
  transition: background var(--t-med), color var(--t-med);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

ul { list-style: none; }

button { font-family: inherit; cursor: pointer; }

/* Sichtbarer Fokus-Rahmen für Tastatur-Navigation (Accessibility) */
:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
  border-radius: 4px;
}


/* ============================================================================
   3. WIEDERVERWENDBARES
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-md);
}

.section { padding-block: var(--space-xl); }

/* Nur für Screenreader sichtbar (visuell ausgeblendet, bleibt zugänglich) */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Logo-Sichtbarkeit per Theme-Variable (kein JS, kein Flackern) */
.logo--dark  { display: var(--logo-dark); }
.logo--light { display: var(--logo-light); }

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: transform var(--t-fast), background var(--t-fast),
              color var(--t-fast), border-color var(--t-fast), opacity var(--t-fast);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* gefüllt: Kontrastfarbe (hell auf dunkel / dunkel auf hell) */
.btn--primary { background: var(--invert); color: var(--invert-text); }
.btn--primary:hover { opacity: 0.88; }

/* nur Umriss (background explizit transparent -> als <button> kein weißer
   Browser-Standardhintergrund; als <a> ohnehin transparent) */
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); background: var(--bg-soft); }

/* ----- Pfeil-Link (z.B. "Ganzes Roster →") ----- */
.link-arrow {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-soft);
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  transition: color var(--t-fast), gap var(--t-fast);
}
.link-arrow:hover { color: var(--text); gap: 0.7rem; }

/* ----- Stern-Bullet (Signatur-Element) -----
   Nutzt das echte Marken-Favicon als Maske -> exakt der Brand-Stern,
   nimmt aber die aktuelle Textfarbe an und passt sich so dem Theme an. */
.star-bullet {
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  vertical-align: -0.05em;
  background: currentColor;
  -webkit-mask: url('../assets/favicon.png') center / contain no-repeat;
          mask: url('../assets/favicon.png') center / contain no-repeat;
}

/* ----- Section-Köpfe ----- */
.section__head { margin-bottom: var(--space-lg); }
.section__head--row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.section__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: var(--space-sm);
}
.section__title { font-size: clamp(2rem, 5vw, 3.25rem); }
.section__lead {
  max-width: 58ch;
  margin-top: var(--space-sm);
  color: var(--text-soft);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

/* Dekorativer Stern (Hero/CTA): leicht schräg = "Shooting Star"-Feel */
[id="star-shape"] { /* nur Definition, sichtbar gemacht über .*-star Klassen */ }


/* ============================================================================
   4. NAVBAR
   ========================================================================== */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  /* leicht durchscheinend mit Blur, wirkt premium */
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), background var(--t-med);
}
/* Klasse wird per JS gesetzt, sobald gescrollt wird */
.nav.is-scrolled { border-bottom-color: var(--line); }

.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  height: var(--nav-h);
  padding-inline: var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.nav__logo { display: flex; align-items: center; }
.nav__logo .logo { height: 30px; width: auto; }

.nav__links { display: flex; gap: var(--space-md); }
.nav__links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-soft);
  position: relative;
  padding-block: 0.3rem;
  transition: color var(--t-fast);
}
.nav__links a::after { /* feiner Unterstrich beim Hover */
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-fast);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); }
/* aktive Seite hervorheben (per aria-current="page") */
.nav__links a[aria-current="page"] { color: var(--text); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: var(--space-sm); }

/* Theme-Toggle */
.theme-toggle {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}
.theme-toggle:hover { border-color: var(--text); background: var(--bg-soft); }
.theme-toggle:active { transform: scale(0.92); }
.theme-toggle .icon { width: 19px; height: 19px; }

/* Im Dark Mode Mond zeigen, im Light Mode Sonne */
[data-theme="dark"]  .icon--sun  { display: none; }
[data-theme="light"] .icon--moon { display: none; }

/* Burger nur auf Mobile sichtbar (siehe Media Query) */
.nav__burger { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 50%; background: transparent;
  align-items: center; justify-content: center; }
.nav__burger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform var(--t-fast), opacity var(--t-fast); }
/* X-Animation, wenn offen */
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile-Menü (eingeklappt per max-height) */
.nav__mobile {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--line);
  background: var(--bg);
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--t-med);
}
.nav__mobile a {
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-head);
  color: var(--text-soft);
  border-bottom: 1px solid var(--line);
}
.nav__mobile a:hover { color: var(--text); background: var(--bg-soft); }


/* ============================================================================
   5. HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

/* großer Hintergrund-Stern, dezent, leicht schräg */
.hero__star {
  position: absolute;
  top: 50%; right: -6%;
  width: min(60vw, 720px);
  transform: translateY(-50%) rotate(14deg);
  fill: var(--text);
  opacity: 0.04;
  pointer-events: none;
}

.hero__content { position: relative; z-index: 1; padding-block: var(--space-lg); }

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  margin-bottom: var(--space-md);
}

.hero__title {
  font-size: clamp(3rem, 11vw, 7.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: var(--space-md);
}
.hero__title .line { display: block; }
/* zweite Zeile etwas zurückgenommen für Hierarchie */
.hero__title .line:nth-child(2) { color: var(--text-soft); }

.hero__lead {
  max-width: 46ch;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: var(--text-soft);
  margin-bottom: var(--space-lg);
}

.hero__cta { display: flex; gap: var(--space-sm); flex-wrap: wrap; }


/* ============================================================================
   5b. HINTERGRUND-TIEFE & LOGO-INTRO
   ----------------------------------------------------------------------------
   - .bg-depth liegt fix hinter allem (z-index:-1): feines Sternenfeld
     (SVG-Kreise, per JS gesetzt) + weicher radialer Glow für Tiefe.
     Die Kreise nutzen fill="currentColor"; .bg-depth__stars erbt color
     vom Theme -> passt sich Dark/Light automatisch an.
   - .hero__intro zeigt beim Laden das große Logo zentriert; GSAP lässt es
     beim Scrollen exakt auf das Navbar-Logo wandern (siehe script.js).
   ========================================================================== */

/* ----- Hintergrund-Tiefe ----- */
.bg-depth {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.bg-depth__glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(55% 45% at 50% 26%, var(--glow), transparent 72%);
}
/* Dark Mode: zufälliges Sternenfeld (helle Punkte auf dunkel = Nachthimmel).
   Im Light Mode ausgeblendet — dunkle Zufallspunkte würden wie Schmutz wirken. */
.bg-depth__stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--text);            /* Kreise erben das per fill="currentColor" */
  opacity: 0.55;
  transition: opacity var(--t-med);
}
[data-theme="light"] .bg-depth__stars { opacity: 0; }

/* Light Mode: KEINE Zufallspunkte, sondern ein gleichmäßiges, sehr dezentes
   Punkt-Raster in hellem Grau. Regelmäßig statt zufällig -> liest sich als
   bewusstes Design-Grid, nicht als Schmutz. Im Dark Mode ausgeblendet.
   Der Crossfade beim Theme-Wechsel passiert über die opacity-Transition. */
.bg-depth__grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(15,15,15,0.05) 0.9px, transparent 1px);
  background-size: 30px 30px;
  background-position: center;
  opacity: 0;
  transition: opacity var(--t-med);
}
[data-theme="light"] .bg-depth__grid { opacity: 1; }

/* ----- Logo-Intro ----- */
.intro-layer {
  position: fixed;
  inset: 0;
  z-index: 300;                  /* über der Navbar (100) -> Logo bleibt vorn */
  pointer-events: none;
  display: none;                 /* nur aktiv, wenn intro-active gesetzt ist */
}
html.intro-active .intro-layer { display: block; }
.hero__intro {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.hero__intro .intro-logo { display: inline-flex; will-change: transform; }
.hero__intro .logo { height: clamp(64px, 17vw, 150px); width: auto; }

/* Solange der Intro läuft: Navbar ausblenden (GSAP faded sie ein).
   So bleibt der erste Eindruck nur das große Logo — ohne Flash beim Laden. */
html.intro-active .nav { opacity: 0; }

/* ----- Sternschnuppe (Signatur-Moment) -----
   Heller Kopf vorne (::after), Schweif als Verlauf nach hinten.
   Position/Bewegung steuert GSAP; CSS legt nur das Aussehen fest. */
.shooting-star {
  position: absolute;
  top: 44%; left: 0;
  width: clamp(180px, 32vw, 480px);
  height: 2px;
  z-index: 150;
  pointer-events: none;
  opacity: 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--text));
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--text) 35%, transparent));
}
.shooting-star::after {            /* heller Kopf an der Spitze */
  content: '';
  position: absolute;
  right: -2px; top: 50%;
  width: 6px; height: 6px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--text);
}
/* kleinerer Trail beim Laden, etwas tiefer angesetzt */
.shooting-star--load { top: 53%; width: clamp(120px, 20vw, 260px); }

/* ----- Scroll-Hinweis auf dem Intro-Screen -----
   Mittig unten: kleines "Scroll"-Label + sanft wippender Chevron. Start
   unsichtbar (opacity:0) — GSAP blendet ein, sobald das Logo steht, und beim
   Scrollen wieder aus. Liegt in der Intro-Ebene (z-index 300), also über allem. */
.intro-scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(1.5rem, 5vh, 3rem);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  color: var(--text-mute);
  opacity: 0;                    /* GSAP übernimmt das Einblenden */
}
.intro-scroll__label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.intro-scroll__chevron {
  width: 20px;
  height: 20px;
  animation: introChevron 1.8s var(--ease) infinite;
}
/* Sanftes Auf-und-Ab mit leichtem Pulsieren der Deckkraft. Bei reduzierter
   Bewegung greift die globale reduced-motion-Regel -> Chevron steht still. */
@keyframes introChevron {
  0%, 100% { transform: translateY(-2px); opacity: 0.5; }
  50%      { transform: translateY(3px);  opacity: 1; }
}


/* ============================================================================
   6. DROP OF THE WEEK
   ========================================================================== */

.drop__card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--space-lg);
  align-items: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow);   /* weiche Tiefe im Light Mode (Dark: none) */
}

.drop__cover {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background:
    radial-gradient(120% 120% at 30% 20%, var(--bg-elev), var(--bg));
  border: 1px solid var(--line);
  display: grid; place-items: center;
  overflow: hidden;
}
.drop__cover-star { width: 55%; fill: var(--text); opacity: 0.12; transform: rotate(-10deg); }
.drop__cover-tag {
  position: absolute; top: 1rem; left: 1rem;
  font-family: var(--font-head); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.16em; padding: 0.35rem 0.7rem; border-radius: 100px;
  background: var(--invert); color: var(--invert-text);
}

.drop__meta { font-family: var(--font-head); font-size: 0.85rem; letter-spacing: 0.05em;
  color: var(--text-mute); margin-bottom: var(--space-xs); }
.drop__track { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 0.4rem; }
.drop__artists { font-family: var(--font-head); font-size: 1.1rem; color: var(--text-soft);
  margin-bottom: var(--space-md); }
.drop__desc { max-width: 42ch; color: var(--text-soft); margin-bottom: var(--space-md); }
.drop__actions { display: flex; gap: var(--space-sm); flex-wrap: wrap; }


/* ============================================================================
   7. ROSTER-VORSCHAU
   ========================================================================== */

.roster__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.member { cursor: pointer; }
.member__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: var(--space-sm);
  display: grid; place-items: center;
  box-shadow: var(--shadow);   /* weiche Tiefe im Light Mode (Dark: none) */
  transition: transform var(--t-med), border-color var(--t-fast), box-shadow var(--t-fast);
}
/* Platzhalter: Initialen groß im Hintergrund */
.member__photo::before {
  content: attr(data-initials);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 3.5rem;
  color: var(--text-mute);
  opacity: 0.35;
  transition: opacity var(--t-fast);
}
/* Stern, der beim Hover über die Karte „schießt" (Signatur-Hover) */
.member__photo::after {
  content: '';
  position: absolute;
  width: 42%; aspect-ratio: 1;
  background: currentColor;
  color: var(--text);
  -webkit-mask: url('../assets/favicon.png') center / contain no-repeat;
          mask: url('../assets/favicon.png') center / contain no-repeat;
  opacity: 0;
  transform: translate(-30px, 30px) rotate(-12deg) scale(0.8);
  transition: opacity var(--t-med), transform var(--t-med);
}
.member:hover .member__photo { transform: translateY(-6px); border-color: var(--text); }
.member:hover .member__photo::before { opacity: 0.12; }
.member:hover .member__photo::after { opacity: 0.9; transform: translate(0,0) rotate(-12deg) scale(1); }

.member__name { font-size: 1.15rem; margin-bottom: 0.15rem; }
.member__role { font-family: var(--font-head); font-size: 0.85rem; color: var(--text-soft); }

/* Auf der Roster-Seite ist jede Karte klickbar: ein unsichtbarer Link legt
   sich über die ganze Karte (Stretched-Link). So bleiben alle .member-Styles
   unverändert und der ganze Bereich ist anklickbar + per Tastatur erreichbar. */
.member { position: relative; }
.member__link {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: var(--radius);
}
.member__link:focus-visible { outline-offset: -2px; }


/* ----- Wiederverwendbarer Seiten-Kopf (Unterseiten) -----
   Schafft Abstand zur fixen Navbar und gibt Titel/Lead einheitlichen Look. */
.page-intro {
  padding-top: calc(var(--nav-h) + var(--space-lg));
  padding-bottom: var(--space-md);   /* zum folgenden Grid hin straffen */
}
.page-intro__title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  letter-spacing: -0.03em;
  margin: var(--space-sm) 0;
}
.page-intro__lead {
  max-width: 52ch;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--text-soft);
}


/* ============================================================================
   8. MUSIK-VORSCHAU
   ========================================================================== */

.music__list { display: flex; flex-direction: column; }

.release {
  display: grid;
  grid-template-columns: 56px 1fr auto auto 44px;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-sm) var(--space-sm);
  border-top: 1px solid var(--line);
  transition: background var(--t-fast), padding-left var(--t-fast);
}
.release:last-child { border-bottom: 1px solid var(--line); }
.release:hover { background: var(--bg-soft); padding-left: calc(var(--space-sm) + 8px); }

.release__cover {
  width: 56px; height: 56px;
  border-radius: 10px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  overflow: hidden;
}
.release__cover svg { width: 60%; fill: var(--text); opacity: 0.18; }

.release__main { min-width: 0; }
.release__title { font-size: 1.1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.release__by { font-family: var(--font-head); font-size: 0.85rem; color: var(--text-soft); }

.release__type {
  font-family: var(--font-head); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-soft);
  border: 1px solid var(--line); border-radius: 100px;
  padding: 0.25rem 0.7rem;
}
.release__date { font-family: var(--font-head); font-size: 0.85rem; color: var(--text-mute); }

.release__play {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  display: grid; place-items: center;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.release__play svg { width: 16px; height: 16px; margin-left: 2px; }
.release__play:hover { background: var(--invert); color: var(--invert-text); transform: scale(1.06); }


/* ============================================================================
   8b. ARTIST-DETAILSEITE
   ----------------------------------------------------------------------------
   Großes Foto links, Infos rechts. Darunter Galerie und die Releases des
   Artists (letztere nutzen die .release-Komponente von der Musik-Vorschau).
   ========================================================================== */

.artist-hero { padding-top: calc(var(--nav-h) + var(--space-lg)); }

/* Zurück-Link zum Roster */
.artist__back {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-head); font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: var(--space-md);
  transition: color var(--t-fast), gap var(--t-fast);
}
.artist__back:hover { color: var(--text); gap: 0.7rem; }

.artist-hero__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: var(--space-lg);
  align-items: start;
}

/* Großes Foto (Platzhalter: Initialen + dezenter Stern) */
.artist__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  background: radial-gradient(120% 120% at 30% 20%, var(--bg-elev), var(--bg-soft));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid; place-items: center;
}
.artist__photo::before {
  content: attr(data-initials);
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(4rem, 12vw, 7rem);
  color: var(--text-mute); opacity: 0.25;
}
.artist__photo-star {
  position: absolute; bottom: -8%; right: -6%;
  width: 55%; fill: var(--text); opacity: 0.05;
  transform: rotate(-10deg); pointer-events: none;
}

.artist__name { font-size: clamp(2.5rem, 7vw, 4.5rem); margin: var(--space-sm) 0 var(--space-md); }

.artist__bio {
  max-width: 56ch; color: var(--text-soft);
  display: flex; flex-direction: column; gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}
.artist__bio p { font-size: 1.05rem; }

.artist__cta { margin-bottom: var(--space-lg); }

/* Social-Links als dezente Pills (Text wie im Footer, keine Emojis) */
.artist__socials { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.social-link {
  font-family: var(--font-head); font-size: 0.9rem; font-weight: 500;
  color: var(--text-soft);
  border: 1px solid var(--line); border-radius: 100px;
  padding: 0.55rem 1.1rem;
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast);
}
.social-link:hover { color: var(--text); border-color: var(--text); background: var(--bg-soft); }

/* Galerie (Platzhalter-Kacheln mit Stern) */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.gallery__item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid; place-items: center;
}
.gallery__item svg { width: 42%; fill: var(--text); opacity: 0.1; transform: rotate(-8deg); }


/* ============================================================================
   8c. MUSIK-SEITE
   ----------------------------------------------------------------------------
   Grid aus Track-Cards. Jede Karte: Cover-Platzhalter, Titel, Artist(s),
   Datum und ein Embed-/Player-Platzhalter (sieht aus wie ein Mini-Player).
   Der echte Spotify/SoundCloud-Embed kommt in einer späteren Phase rein.
   ========================================================================== */

.music-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-md);
}

.track-card {
  display: flex; flex-direction: column;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--t-med), border-color var(--t-fast);
}
.track-card:hover { transform: translateY(-4px); border-color: var(--text); }

.track-card__cover {
  position: relative;
  aspect-ratio: 1 / 1;
  background: radial-gradient(120% 120% at 30% 20%, var(--bg-elev), var(--bg-soft));
  border-bottom: 1px solid var(--line);
  display: grid; place-items: center;
  overflow: hidden;
}
.track-card__cover svg { width: 48%; fill: var(--text); opacity: 0.1; transform: rotate(-8deg); }
.track-card__tag {
  position: absolute; top: 1rem; left: 1rem;
  font-family: var(--font-head); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 0.3rem 0.65rem; border-radius: 100px;
  background: var(--invert); color: var(--invert-text);
}

.track-card__body { padding: var(--space-md); display: flex; flex-direction: column; gap: var(--space-sm); }
.track-card__meta { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-sm); }
.track-card__title { font-size: 1.35rem; }
.track-card__date { font-family: var(--font-head); font-size: 0.8rem; color: var(--text-mute); white-space: nowrap; }
.track-card__by { font-family: var(--font-head); font-size: 0.9rem; color: var(--text-soft); margin-top: -0.6rem; }

/* Embed-/Player-Platzhalter: angedeuteter Mini-Player (Play + Wellenform +
   Quelle). Echtes Embed (Spotify/SoundCloud) ersetzt das später 1:1. */
.embed-ph {
  display: flex; align-items: center; gap: var(--space-sm);
  margin-top: var(--space-xs);
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-elev);
}
.embed-ph__play {
  flex: none;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line); background: transparent; color: var(--text);
  display: grid; place-items: center;
  transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.embed-ph__play svg { width: 14px; height: 14px; margin-left: 2px; }
.embed-ph__play:hover { background: var(--invert); color: var(--invert-text); transform: scale(1.06); }
/* angedeutete Wellenform aus feinen Balken */
.embed-ph__wave {
  flex: 1 1 auto; height: 20px;
  background-image: repeating-linear-gradient(90deg, currentColor 0 2px, transparent 2px 7px);
  color: var(--text); opacity: 0.18;
  border-radius: 2px;
}
.embed-ph__src {
  flex: none;
  font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 0.08em;
  color: var(--text-mute); white-space: nowrap;
}

/* ----- Dynamische Medien: echte Cover + eingebettete Player -----
   .cover-img legt das echte Bild randscharf über den Stern-Platzhalter
   (gleiche Box-Maße, beschnitten). Die Cover-Boxen sind bereits relative /
   overflow:hidden — bei .release__cover ergänzen wir position:relative. */
.cover-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.release__cover { position: relative; }
.release__play { text-decoration: none; }  /* gilt auch für die <a>-Variante */

/* Eingebetteter Player (Spotify/SoundCloud) */
.embed { margin-top: var(--space-xs); }
.embed-frame {
  display: block; width: 100%;
  border: 0; border-radius: var(--radius);
}
.drop__embed { margin-bottom: var(--space-sm); }


/* ============================================================================
   8d. ABOUT-SEITE
   ----------------------------------------------------------------------------
   Story-Prosa + Eckdaten, drei Säulen (Artists/Producer/Engineers) und ein
   Kontakt-Block. Der "Join the Collective"-Teaser nutzt das .cta-band.
   ========================================================================== */

/* Story-Prosa (gut lesbare Spaltenbreite) */
.about-story { max-width: 62ch; }
.about-story p { color: var(--text-soft); font-size: 1.15rem; margin-bottom: var(--space-md); }
.about-story p:last-child { margin-bottom: 0; }
.about-story strong { color: var(--text); font-weight: 600; }


/* ============================================================================
   8c. NEWS  (news.html Karten + post.html Einzelansicht)
   ----------------------------------------------------------------------------
   Karten nutzen das vorhandene .music-grid als Raster. Stil im selben Sleek-
   Look wie .track-card; das echte Bild liegt über .cover-img randscharf.
   ========================================================================== */

/* ----- News-Karte (ganze Karte ist ein Link) ----- */
.news-card {
  display: flex; flex-direction: column;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--t-med), border-color var(--t-fast);
}
.news-card:hover { transform: translateY(-4px); border-color: var(--text); }
.news-card__cover {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--line);
  display: grid; place-items: center; overflow: hidden;
}
.news-card__cover svg { width: 38%; fill: var(--text); opacity: 0.1; transform: rotate(-8deg); }
.news-card__body { padding: var(--space-md); display: flex; flex-direction: column; gap: 0.5rem; }
.news-card__date {
  font-family: var(--font-head); font-size: 0.78rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-mute);
}
.news-card__title { font-size: 1.3rem; }
.news-card__excerpt { color: var(--text-soft); font-size: 0.95rem; line-height: 1.6; }

/* ----- Post-Einzelansicht ----- */
/* Eigene, schmalere Lesespalte (wie .container, aber für Fließtext angenehmer) */
.post {
  width: 100%; max-width: 760px;
  margin-inline: auto;
  padding-inline: var(--space-md);
}
.post .page-intro__title { margin-top: var(--space-sm); }
.post__image {
  margin: var(--space-md) 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.post__image img { width: 100%; height: auto; display: block; }

/* Eckdaten-Reihe */
.stats { display: flex; flex-wrap: wrap; gap: var(--space-lg); margin-top: var(--space-lg); }
.stat__num {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.02em; line-height: 1;
}
.stat__label { font-family: var(--font-head); font-size: 0.85rem; color: var(--text-soft); margin-top: 0.3rem; }

/* Rollen-Gruppen (z.B. "Sound", "Visual & Reach").
   Erweiterbar: einfach eine weitere .role-group ergänzen oder weitere
   .pillar in eine bestehende .pillars-Grid legen. */
.role-group + .role-group { margin-top: var(--space-lg); }
.role-group__title {
  display: flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-head); font-weight: 600;
  font-size: 1.25rem; letter-spacing: -0.01em;
  margin-bottom: var(--space-md);
}

/* Rollen-Karten. auto-fit + minmax -> passt Spaltenzahl automatisch an die
   Breite UND an die Anzahl der Karten an, ganz ohne feste Spaltenzahl.
   (1 Spalte auf Phone, 2 auf Tablet, 3 auf Desktop.) */
.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-md);
}
.pillar {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: var(--space-md);
}
.pillar__star { width: 30px; height: 30px; fill: var(--text); opacity: 0.85; margin-bottom: var(--space-sm); }
.pillar__title { font-size: 1.3rem; margin-bottom: var(--space-xs); }
.pillar__text { color: var(--text-soft); }

/* "Offen für mehr" — angedeuteter offener Slot (gestrichelter Rahmen) */
.role-open {
  margin-top: var(--space-lg);
  display: flex; align-items: center; gap: var(--space-md); flex-wrap: wrap;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
}
.role-open .pillar__star { margin: 0; flex: none; opacity: 0.6; }
.role-open p { flex: 1 1 280px; color: var(--text-soft); }

/* Kontakt */
.contact__mail {
  display: inline-block;
  font-family: var(--font-head); font-weight: 600;
  font-size: clamp(1.6rem, 5vw, 2.75rem); letter-spacing: -0.02em;
  border-bottom: 2px solid var(--line);
  padding-bottom: 0.2rem;
  transition: border-color var(--t-fast), opacity var(--t-fast);
}
.contact__mail:hover { border-color: var(--text); opacity: 0.85; }
.contact__loc {
  font-family: var(--font-head); color: var(--text-soft);
  margin: var(--space-md) 0;
}

/* Manifest-Block: plakatives Credo mit Shooting-Star-Akzent.
   Hairline-Border oben/unten setzt die Sektion bewusst ab. */
.manifesto {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
}
.manifesto .container { position: relative; z-index: 1; }
.manifesto__credo {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.2rem, 8vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 18ch;
  margin: var(--space-sm) 0 var(--space-md);
}
.manifesto__credo .soft { color: var(--text-soft); }   /* zweite Zeile zurückgenommen */
.manifesto__sub {
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  color: var(--text-soft);
  max-width: 50ch;
}

/* Shooting Star als Akzent: statischer Trail mit dem Brand-Stern als Kopf.
   Liegt hinter dem Text (z-index 0) und ist in Dark wie Light sichtbar. */
.manifesto__star {
  position: absolute;
  top: 14%; right: 7%;
  width: clamp(160px, 24vw, 340px);
  height: 2px;
  transform: rotate(-18deg);
  transform-origin: right center;
  background: linear-gradient(90deg, transparent, var(--text));
  opacity: 0.5;
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--text) 30%, transparent));
  pointer-events: none;
}
.manifesto__star::after {        /* Brand-Stern als heller Kopf vorne */
  content: '';
  position: absolute; right: -9px; top: 50%;
  width: 18px; height: 18px; transform: translateY(-50%);
  background: var(--text);
  -webkit-mask: url('../assets/favicon.png') center / contain no-repeat;
          mask: url('../assets/favicon.png') center / contain no-repeat;
}


/* ============================================================================
   9. CTA-BAND
   ========================================================================== */

.cta-band__inner {
  position: relative;
  text-align: center;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-md);
  overflow: hidden;
  box-shadow: var(--shadow);   /* weiche Tiefe im Light Mode (Dark: none) */
}
.cta-band__star {
  position: absolute;
  top: 50%; left: 50%;
  width: 480px; max-width: 90%;
  transform: translate(-50%, -50%) rotate(-12deg);
  fill: var(--text); opacity: 0.04; pointer-events: none;
}
.cta-band__title { position: relative; font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: var(--space-sm); }
.cta-band__text { position: relative; color: var(--text-soft); max-width: 40ch;
  margin: 0 auto var(--space-md); }
.cta-band .btn { position: relative; }


/* ============================================================================
   10. FOOTER
   ========================================================================== */

.footer { border-top: 1px solid var(--line); padding-top: var(--space-lg); }
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
  padding-bottom: var(--space-lg);
}
.footer__logo { height: 26px; margin-bottom: var(--space-sm); }
.footer__tag { font-family: var(--font-head); color: var(--text-soft); font-size: 0.95rem; }

.footer__nav, .footer__social { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__nav a, .footer__social a {
  font-family: var(--font-head); font-size: 0.95rem; color: var(--text-soft);
  transition: color var(--t-fast);
}
.footer__nav a:hover, .footer__social a:hover { color: var(--text); }

.footer__bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-sm);
  padding-block: var(--space-md);
  border-top: 1px solid var(--line);
  font-size: 0.85rem; color: var(--text-mute);
}


/* ============================================================================
   11. REVEAL-ANIMATION & REDUCED MOTION
   ----------------------------------------------------------------------------
   Elemente mit [data-reveal] starten leicht versetzt/transparent.
   GSAP setzt sie beim Scrollen sichtbar. Falls JS fehlt oder der Nutzer
   "reduzierte Bewegung" will, sind sie trotzdem sofort sichtbar.
   ========================================================================== */

[data-reveal] { opacity: 0; transform: translateY(24px); }

/* Wenn JS aktiv ist, markiert es <html> mit .js -> dann darf versteckt werden.
   Ohne JS bleibt alles sichtbar (Fallback unten). */
html:not(.js) [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}


/* ============================================================================
   11b. DATEN-ZUSTÄNDE  (Laden / Fehler / Leer) + echte Fotos
   ----------------------------------------------------------------------------
   js/data.js setzt diese dezenten Meldungen in die Container, solange geladen
   wird bzw. wenn etwas schiefgeht oder nichts da ist — statt leerer Fläche.
   grid-column: 1 / -1 sorgt dafür, dass die Meldung in Grids volle Breite
   einnimmt (in Nicht-Grids wird die Regel ignoriert).
   ========================================================================== */
.data-state {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 120px;
  padding: var(--space-md);
  font-family: var(--font-head);
  font-size: 0.9rem;
  color: var(--text-mute);
  text-align: center;
}
.data-state a { color: var(--text-soft); text-decoration: underline; }
.data-state--error { color: var(--text-soft); }

/* Pulsierender Punkt fürs Laden (steht bei reduzierter Bewegung still). */
.data-state__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-mute);
  animation: dataPulse 1.1s var(--ease) infinite;
}
@keyframes dataPulse {
  0%, 100% { opacity: 0.25; transform: scale(0.85); }
  50%      { opacity: 1;    transform: scale(1); }
}

/* Echte Fotos (sobald photo_url gesetzt ist): decken den Initialen-Platzhalter
   ab. Liegen absolut über der Kachel, randscharf wie der Container. */
.member__img,
.artist__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}


/* ============================================================================
   12. RESPONSIVE  (mobile-first: Defaults oben gelten für klein, hier ab Breite)
   ========================================================================== */

/* ---- Tablet & kleiner: Desktop-Links durch Burger ersetzen ---- */
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__mobile { display: flex; }
  .nav__mobile.is-open { max-height: 320px; }

  .drop__card { grid-template-columns: 1fr; gap: var(--space-md); }

  .roster__grid { grid-template-columns: repeat(2, 1fr); }

  /* Artist-Detail: Foto über die Infos stapeln, Galerie auf 2 Spalten */
  .artist-hero__grid { grid-template-columns: 1fr; }
  .artist__photo { max-width: 420px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ---- Phone ---- */
@media (max-width: 560px) {
  :root { --space-xl: 5rem; --space-lg: 3rem; }

  .container { padding-inline: var(--space-sm); }

  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1; }

  /* Track-Cards einspaltig (verhindert Überlauf auf schmalen Phones) */
  .music-grid { grid-template-columns: 1fr; }

  /* Musik-Zeile: Typ-Badge ausblenden, Datum behalten -> bleibt lesbar */
  .release { grid-template-columns: 48px 1fr auto 40px; gap: var(--space-sm); }
  .release__cover { width: 48px; height: 48px; }
  .release__type { display: none; }
  .release__play { width: 40px; height: 40px; }

  .footer__inner { flex-direction: column; gap: var(--space-md); }
}

/* ---- sehr kleine Phones: Roster einspaltig wirkt zu lang -> 2 bleibt,
        aber Initialen etwas kleiner ---- */
@media (max-width: 380px) {
  .member__photo::before { font-size: 2.6rem; }
}


/* ============================================================================
   13. ADMIN  (Login & Dashboard — Phase 2)
   ----------------------------------------------------------------------------
   Eigene Klassen nur für login.html / dashboard.html. Die öffentlichen Seiten
   nutzen davon nichts — hier ändert sich für sie nichts. Greift auf dieselben
   Design-Variablen (Farben/Spacing/Fonts) zurück wie der Rest.
   ========================================================================== */

/* ----- Mini-Topbar (nur Logo links, Aktionen rechts) ----- */
.admin-top {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-sm);
  height: var(--nav-h);
  padding-inline: var(--space-md);
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.admin-top__logo .logo { height: 26px; width: auto; }
.admin-top__actions { display: flex; align-items: center; gap: var(--space-sm); }
.admin-top__user { font-family: var(--font-head); font-size: 0.9rem; color: var(--text-soft); }
.admin-top__user strong { color: var(--text); font-weight: 600; }

/* ----- Formular-Felder (wiederverwendbar) ----- */
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: var(--space-sm); }
.field__label {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--text-soft);
}
.field__input {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--t-fast), background var(--t-fast);
}
.field__input::placeholder { color: var(--text-mute); }
.field__input:focus { outline: none; border-color: var(--text); }

/* ----- Login-Seite ----- */
.auth {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: var(--space-md);
}
.auth__card {
  width: 100%;
  max-width: 400px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  box-shadow: var(--shadow);
}
.auth__brand { display: flex; justify-content: center; margin-bottom: var(--space-sm); }
.auth__brand .logo { height: 30px; width: auto; }
.auth__title { font-size: 1.5rem; text-align: center; margin-bottom: 0.3rem; }
.auth__lead {
  text-align: center; color: var(--text-soft);
  font-size: 0.92rem; margin-bottom: var(--space-md);
}
.auth__submit { width: 100%; margin-top: 0.4rem; }
.auth__back {
  display: block; text-align: center; margin-top: var(--space-sm);
  font-family: var(--font-head); font-size: 0.85rem; color: var(--text-mute);
}
.auth__back:hover { color: var(--text-soft); }

/* Dezente Fehlermeldung (rot-neutral, nicht grell) */
.auth__error {
  display: none;
  margin-bottom: var(--space-sm);
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
  color: #ff8a8a;
  background: rgba(255,80,80,0.08);
  border: 1px solid rgba(255,80,80,0.25);
  border-radius: var(--radius);
}
.auth__error.is-visible { display: block; }

/* Button im Ladezustand */
.btn[aria-busy="true"] { opacity: 0.6; pointer-events: none; }

/* ----- Dashboard ----- */
/* Anti-Flash: Inhalt bleibt versteckt, bis der Admin-Check bestätigt ist.
   Bis dahin zeigt .auth-gate "Zugang wird geprüft …". */
.dash { display: none; }
html.auth-ok .dash { display: block; }
.auth-gate {
  min-height: 100svh; display: grid; place-items: center;
  font-family: var(--font-head); color: var(--text-mute);
}
html.auth-ok .auth-gate { display: none; }

.dash__main { max-width: var(--container); margin-inline: auto; padding: var(--space-md); }
.dash__welcome { margin-bottom: var(--space-md); }
.dash__welcome h1 { font-size: 1.8rem; margin-bottom: 0.3rem; }
.dash__welcome p { color: var(--text-soft); }

/* Tab-Navigation der Bereiche */
.dash__tabs {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--space-md);
}
.dash__tab {
  padding: 0.7rem 1.1rem;
  font-family: var(--font-head); font-size: 0.95rem;
  color: var(--text-soft);
  background: transparent; border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.dash__tab:hover { color: var(--text); }
.dash__tab.is-active { color: var(--text); border-bottom-color: var(--text); }

/* Bereich-Panels (nur das aktive sichtbar) */
.dash__panel { display: none; }
.dash__panel.is-active { display: block; }

/* Platzhalter-Kachel für noch leere Bereiche */
.dash__placeholder {
  display: grid; place-items: center; gap: 0.5rem;
  min-height: 240px;
  padding: var(--space-md);
  text-align: center;
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
}
.dash__placeholder h2 { font-size: 1.2rem; }
.dash__placeholder p { color: var(--text-soft); font-size: 0.92rem; max-width: 36ch; }
.dash__placeholder svg { width: 34px; height: 34px; color: var(--text-mute); opacity: 0.6; }

/* ----- Bereichs-Kopf (Titel + Aktion) ----- */
.dash__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-sm); margin-bottom: var(--space-md);
}
.dash__h { font-size: 1.3rem; }

/* ----- Dezentes Feedback (Laden / Erfolg / Fehler) ----- */
.dash__feedback {
  display: none;
  margin-bottom: var(--space-sm);
  padding: 0.7rem 0.9rem;
  font-size: 0.88rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
}
.dash__feedback.is-visible { display: block; }
.dash__feedback--loading { color: var(--text-soft); background: var(--bg-soft); border-color: var(--line); }
.dash__feedback--success { color: #8ee6a8; background: rgba(80,200,120,0.08); border-color: rgba(80,200,120,0.25); }
.dash__feedback--error   { color: #ff8a8a; background: rgba(255,80,80,0.08); border-color: rgba(255,80,80,0.25); }

/* ----- Listen-Zeilen (Artists etc.) ----- */
.admin-list { display: flex; flex-direction: column; gap: 0.5rem; }
.admin-row {
  display: flex; align-items: center; gap: var(--space-sm);
  padding: 0.7rem 0.9rem;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color var(--t-med), box-shadow var(--t-med), background var(--t-med);
}
/* Kurzes Aufleuchten nach Anlegen/Bearbeiten (von js/admin-artists.js gesetzt) */
.admin-row--flash {
  border-color: var(--text);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--text) 28%, transparent);
}
.admin-row__photo {
  flex: none; width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--bg-elev); border: 1px solid var(--line);
  display: grid; place-items: center; overflow: hidden; position: relative;
  font-family: var(--font-head); font-size: 0.85rem; color: var(--text-mute);
}
.admin-row__photo::before { content: attr(data-initials); }
.admin-row__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.admin-row__main { display: flex; flex-direction: column; gap: 0.15rem; flex: 1; min-width: 0; }
.admin-row__name { font-family: var(--font-head); font-weight: 600; display: flex; align-items: center; gap: 0.5rem; }
.admin-row__role { font-size: 0.85rem; color: var(--text-soft); }
.admin-row__actions { display: flex; gap: 0.4rem; flex: none; }

.badge {
  font-family: var(--font-head); font-size: 0.65rem; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 0.15rem 0.45rem;
  border-radius: 100px; border: 1px solid var(--line); color: var(--text-soft);
}
/* gedämpfte Variante (z.B. „Entwurf" in der Posts-Liste) */
.badge--muted { color: var(--text-mute); opacity: 0.85; }

/* ----- Kleine Buttons (Bearbeiten/Löschen) ----- */
.btn-sm {
  font-family: var(--font-head); font-size: 0.82rem;
  padding: 0.4rem 0.75rem; border-radius: 100px;
  border: 1px solid var(--line); background: transparent; color: var(--text);
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.btn-sm:hover { border-color: var(--text); background: var(--bg-elev); }
.btn-sm--danger { color: #ff8a8a; }
.btn-sm--danger:hover { border-color: #ff6b6b; color: #ff6b6b; background: rgba(255,80,80,0.06); }

/* ----- Formular ----- */
.admin-form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--space-sm); }
.admin-form__actions { display: flex; gap: 0.6rem; margin-top: var(--space-sm); }
.field__hint { font-size: 0.78rem; color: var(--text-mute); }
textarea.field__input { min-height: 110px; resize: vertical; line-height: 1.5; }

/* Featured-Switch */
.switch { display: inline-flex; align-items: center; gap: 0.6rem; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch__track {
  flex: none; position: relative; width: 44px; height: 26px;
  border-radius: 100px; background: var(--bg-elev); border: 1px solid var(--line);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.switch__thumb {
  position: absolute; top: 2px; left: 2px; width: 20px; height: 20px;
  border-radius: 50%; background: var(--text-mute);
  transition: transform var(--t-fast), background var(--t-fast);
}
.switch input:checked + .switch__track { background: var(--invert); border-color: var(--invert); }
.switch input:checked + .switch__track .switch__thumb { transform: translateX(18px); background: var(--invert-text); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--text); outline-offset: 2px; }
.switch__text { font-size: 0.9rem; color: var(--text-soft); }

/* Foto-Upload mit Vorschau */
.admin-photo { display: flex; gap: var(--space-sm); align-items: flex-start; }
.admin-photo__preview {
  flex: none; width: 96px; height: 120px;
  border-radius: var(--radius);
  background: var(--bg-elev); border: 1px solid var(--line);
  overflow: hidden; position: relative; display: grid; place-items: center;
}
.admin-photo__preview[data-empty="true"]::before {
  content: 'Kein Foto'; font-family: var(--font-head); font-size: 0.7rem; color: var(--text-mute);
}
.admin-photo__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.admin-photo__input { font-family: var(--font-body); font-size: 0.85rem; color: var(--text-soft); max-width: 100%; }

/* Galerie-Verwaltung: Thumbnail-Raster mit „×" zum Entfernen */
.admin-gallery { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.admin-gallery:empty { display: none; }
.admin-gallery:not(:empty) { margin-bottom: 0.6rem; }
.admin-gallery__item {
  position: relative; width: 84px; height: 84px;
  border-radius: 10px; overflow: hidden;
  border: 1px solid var(--line); background: var(--bg-elev);
}
.admin-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.admin-gallery__del {
  position: absolute; top: 3px; right: 3px;
  width: 22px; height: 22px; border-radius: 50%;
  border: 0; background: rgba(0,0,0,0.6); color: #fff;
  font-size: 15px; line-height: 1; display: grid; place-items: center;
  cursor: pointer; transition: background var(--t-fast);
}
.admin-gallery__del:hover { background: rgba(220,50,50,0.9); }

/* Select wie ein normales Feld (eigener Pfeil, damit es zum Dark-Stil passt) */
select.field__input {
  appearance: none; -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238a8a8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center;
  padding-right: 2.4rem;
}
/* Kalender-Icon im Dark Mode sichtbar machen */
[data-theme="dark"] input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.7); }

/* Artist-Mehrfachauswahl als Chips */
.admin-checks { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.admin-check {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem; color: var(--text-soft);
  border: 1px solid var(--line); border-radius: 100px;
  cursor: pointer;
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
}
.admin-check input { position: absolute; opacity: 0; width: 0; height: 0; }
.admin-check:hover { border-color: var(--text); color: var(--text); }
.admin-check:has(input:checked) { border-color: var(--text); color: var(--text); background: var(--bg-elev); }
.admin-check:has(input:focus-visible) { outline: 2px solid var(--text); outline-offset: 2px; }
.admin-checks__empty { font-size: 0.85rem; color: var(--text-mute); }

/* Admin-Formular/Listen auf schmalen Screens */
@media (max-width: 560px) {
  .admin-form__grid { grid-template-columns: 1fr; }
  .admin-row { flex-wrap: wrap; }
  .admin-row__actions { width: 100%; }
}
