/* ===== Farben und Grundwerte ===== */
:root {
  --bg: #141114;
  --bg-band: #1c181c;
  --surface: #2a2328;
  --line: #3a3238;
  --line-strong: #5a5056;
  --text: #f4ede6;
  --text-muted: #cfc6be;
  --text-soft: #a89ca3;
  --accent: #ff8a4c; /* Akzentfarbe – hier ändern */
  --accent-ink: #141114;
  --radius: 24px;
  --font-display: "Syne", "Inter Display", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--text); }
a:hover { color: #ffb38a; }
h1, h2 { font-family: var(--font-title, var(--font-display)); margin: 0; }
h2 { font-weight: 700; font-size: calc(clamp(32px, 4vw, 44px) * var(--h2-scale, 1)); line-height: 1.1; }
p { margin: 0; }

.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.stack-lg { display: flex; flex-direction: column; gap: 40px; }
.muted { color: var(--text-muted); }
.small { font-size: 15px; }
.note { color: var(--text-soft); font-size: 15px; }
.band { background: var(--bg-band); padding: 96px 0; }

.eyebrow {
  font-size: 14px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 10px;
}

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 10; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ===== Buttons ===== */
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; border: none;
}
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { color: var(--accent-ink); filter: brightness(1.08); }
.btn-outline { border: 1.5px solid var(--line-strong); color: var(--text); background: transparent; }
.btn-light { background: var(--text); color: var(--bg); }
.btn-light:hover { color: var(--bg); }
.btn-dark { background: var(--bg); color: var(--text); }
.btn-dark:hover { color: var(--text); }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* ===== Header ===== */
.site-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 28px; padding-bottom: 28px;
}
.logo {
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  letter-spacing: .08em; text-decoration: none; color: var(--text);
}
.site-nav { display: flex; flex-wrap: wrap; gap: 28px; font-size: 15px; font-weight: 500; }
.site-nav a { text-decoration: none; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); width: 44px; height: 44px; cursor: pointer; }

/* Sprachwahl */
.header-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.site-header .logo { margin-right: auto; }
.lang-switch { display: inline-flex; border: 1.5px solid var(--line-strong); border-radius: 999px; padding: 3px; }
.lang-switch button {
  min-width: 44px; min-height: 36px; border: none; border-radius: 999px; background: transparent;
  color: var(--text-muted); font: inherit; font-size: 13px; font-weight: 600; letter-spacing: .06em; cursor: pointer;
}
.lang-switch button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.site-header { flex-wrap: wrap; }
.site-nav { order: 2; }
.header-right { order: 3; }
@media (min-width: 721px) {
  .site-header { flex-wrap: nowrap; }
  .site-nav { margin-left: auto; }
  .header-right { margin-left: 28px; }
}

/* ===== Hero ===== */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 64px; padding-bottom: 96px; }
.hero-text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-weight: 800; font-size: calc(clamp(44px, 6vw, 84px) * var(--hero-scale, 1)); line-height: 1.08; letter-spacing: var(--title-tracking, -.02em); }
.lead { max-width: 540px; font-size: calc(19px * var(--lead-scale, 1)); color: var(--text-muted); }
.hero-photo { flex: 1 1 360px; min-width: 0; aspect-ratio: 4 / 5; max-height: 560px; border-radius: var(--radius); overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.placeholder {
  background: var(--surface); border: 1.5px dashed var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-soft); font-size: 15px; text-align: center; padding: 24px;
}

/* ===== Musik ===== */
.section-pad { padding-top: 96px; padding-bottom: 96px; }
.band > .split { padding-top: 0; padding-bottom: 0; }
.split-top { align-items: flex-start; }
.list-title { margin: 12px 0 0; font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-soft); }
.release-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.release { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.release-title { font-weight: 600; font-size: 18px; text-decoration: none; }
.release-title:hover { text-decoration: underline; }
.release-meta { font-size: 14px; color: var(--text-soft); }
.player {
  min-height: 452px; border-radius: var(--radius); background: var(--surface); border: 1.5px dashed var(--line-strong);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 32px; text-align: center;
}
.player p { max-width: 340px; }
.player.loaded { padding: 0; border: none; background: transparent; display: block; }
.player iframe { width: 100%; height: 452px; border: 0; border-radius: 12px; display: block; }

/* ===== Kontakt ===== */
.contact-block { padding-top: 96px; padding-bottom: 24px; max-width: 760px; margin-left: 0; }
@media (min-width: 1248px) { .contact-block { margin-left: calc((100% - 1200px) / 2); } }

/* ===== Beats ===== */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; }
.section-head > .muted { max-width: 420px; font-size: 16px; }
.beat-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.beat {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.play {
  width: 48px; height: 48px; flex: 0 0 48px; border-radius: 999px; border: none;
  background: var(--text); color: var(--bg); display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.play:disabled { opacity: .35; cursor: not-allowed; }
.play[aria-pressed="true"] { background: var(--accent); }
.beat-info { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; }
.beat-title { font-weight: 600; font-size: 18px; }
.beat-style { font-size: 14px; color: var(--text-soft); }
.beat-meta { flex: 0 0 90px; font-size: 14px; color: var(--text-muted); }

/* ===== Sound-Paket ===== */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.split > * { flex: 1 1 420px; min-width: 0; }
.pack-card {
  aspect-ratio: 1 / 1; max-height: 460px; border-radius: var(--radius);
  background: var(--accent); color: var(--accent-ink);
  display: flex; flex-direction: column; justify-content: space-between; padding: 40px;
}
.pack-label { font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.pack-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 4vw, 56px); line-height: 1.02; }
.pack-sub { font-size: 15px; font-weight: 500; }
.ticks { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--text-muted); }

/* ===== Musik / Spotify ===== */
.spotify-box {
  min-height: 352px; border-radius: var(--radius); background: var(--surface); border: 1.5px dashed var(--line-strong);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 32px; text-align: center;
}
.spotify-box p { max-width: 360px; }
.spotify-box.loaded { border: none; padding: 0; background: transparent; }
.spotify-box iframe { width: 100%; height: 352px; border: 0; border-radius: 12px; }

/* ===== Videos ===== */
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.video { display: flex; flex-direction: column; gap: 12px; }
.video-frame { aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.video-title { font-weight: 600; }

/* ===== Über mich ===== */
.about { align-items: flex-start; }
.about > h2 { flex: 1 1 320px; }
.about-text { flex: 2 1 520px; font-size: 18px; color: var(--text-muted); }

/* ===== Newsletter ===== */
.newsletter {
  border-radius: 28px; background: var(--accent); color: var(--accent-ink);
  padding: 56px 48px; display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between;
}
.newsletter h2 { font-weight: 800; font-size: calc(clamp(30px, 3.5vw, 40px) * var(--h2-scale, 1)); }
.newsletter > * { flex: 1 1 380px; min-width: 0; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.newsletter-form label { flex: 1 1 220px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.newsletter-form input {
  min-height: 52px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--accent-ink);
  background: #fff6ef; color: var(--accent-ink); font: inherit; font-size: 16px; font-weight: 400;
}
.form-msg { flex-basis: 100%; font-size: 15px; font-weight: 500; min-height: 1em; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-top: 56px; padding-bottom: 56px; font-size: 15px; }
.footer-title { font-weight: 600; }

/* ===== Unterseiten (Impressum, Datenschutz) ===== */
.legal { padding-top: 32px; padding-bottom: 96px; max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); margin-bottom: 24px; }
.legal h2 { font-size: 24px; margin: 32px 0 8px; }
.legal p { color: var(--text-muted); margin-bottom: 12px; }

/* ===== Handy ===== */
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .site-nav { display: none; flex-basis: 100%; flex-direction: column; gap: 4px; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 0; font-size: 18px; }
  .hero { padding-top: 24px; padding-bottom: 64px; gap: 40px; }
  .band, .split, .section-pad { padding-top: 64px; padding-bottom: 64px; }
  .band > .split { padding-top: 0; padding-bottom: 0; }
  .site-nav { order: 4; }
  .contact-block { padding-top: 64px; }
  .newsletter { padding: 40px 24px; }
  .beat-meta { flex: 0 0 auto; }
}

/* ===== Ausblenden ===== */
[hidden] { display: none !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ===== EP-Karte im Hero (solange kein Foto da ist) ===== */
.ep-card {
  width: 100%; height: 100%; min-height: 360px; box-sizing: border-box;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 40px;
  border-radius: var(--radius); text-decoration: none; color: var(--accent-ink);
  background:
    radial-gradient(circle at 78% 22%, rgba(255,255,255,.28) 0 14%, transparent 14.5%),
    radial-gradient(circle at 78% 22%, transparent 0 24%, rgba(20,17,20,.14) 24.5% 25.5%, transparent 26%),
    radial-gradient(circle at 78% 22%, transparent 0 34%, rgba(20,17,20,.10) 34.5% 35.5%, transparent 36%),
    var(--accent);
}
.ep-card:hover { color: var(--accent-ink); filter: brightness(1.05); }
.ep-label { font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.ep-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(64px, 9vw, 128px); line-height: .9; letter-spacing: -.02em; }
.ep-artist { font-size: 16px; font-weight: 500; }
.ep-cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; font-weight: 600; }

/* ===== Leere Bereiche ===== */
.empty-state {
  border: 1.5px dashed var(--line-strong); border-radius: var(--radius); padding: 32px;
  display: flex; flex-direction: column; gap: 20px; color: var(--text-muted); max-width: 760px;
}

/* ===== Kontaktformular ===== */
.contact-form { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; position: relative; }
.form-row { display: flex; flex-wrap: wrap; gap: 16px; }
.form-row > label { flex: 1 1 240px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text); }
.contact-form input, .contact-form select, .contact-form textarea {
  min-height: 52px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid var(--line-strong);
  background: var(--surface); color: var(--text); font: inherit; font-size: 16px; font-weight: 400;
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--accent); outline: none; }
.contact-form .small a { color: var(--text-muted); }
.contact-form .form-msg { color: var(--text); }

/* ===== Fotos ===== */
.hero-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.about-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; max-width: 440px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 45% 35%; display: block; }
.about > .stack:first-child { gap: 28px; }

/* Galerie: Raster mit festen Höhen, Bilder füllen ihre Kachel */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px;
  grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 220px; }
.gallery-item:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 2; }
.gallery-item:nth-child(3) { grid-column: span 2; }
.gallery-item:nth-child(4) { grid-column: span 2; grid-row: span 2; }
.gallery-item:nth-child(5) { grid-column: span 4; grid-row: span 2; }
.gallery-item:nth-child(n+6) { grid-column: span 3; grid-row: span 2; }
.gallery-item:nth-child(n+6):nth-child(even):last-child { grid-column: span 6; }
.gallery-btn { all: unset; display: block; width: 100%; height: 100%; border-radius: 16px; overflow: hidden; cursor: zoom-in; }
.gallery-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.gallery-btn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.gallery-btn:hover img { transform: scale(1.03); }
@media (max-width: 720px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; gap: 10px; }
  .gallery-item:nth-child(n), .gallery-item:nth-child(n+6):nth-child(even):last-child { grid-column: span 1; grid-row: span 1; }
  .gallery-item:nth-child(1), .gallery-item:nth-child(5) { grid-column: span 2; grid-row: span 2; }
  .about-photo { max-width: none; }
}

/* Vergrößerte Ansicht */
.lightbox { padding: 0; border: none; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(10, 8, 10, .9); }
.lightbox img { display: block; max-width: 94vw; max-height: 92vh; object-fit: contain; border-radius: 8px; }
.lightbox-close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 999px; border: none;
  background: var(--text); color: var(--bg); display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* Hero-Bild erst zeigen, wenn die Inhalte geladen sind (kein Aufblitzen der EP-Karte) */
html:not(.content-ready) [data-hero-media] > * { opacity: 0; }
[data-hero-media] > * { transition: opacity .25s ease; }

.video-gate { flex-direction: column; gap: 14px; padding: 20px; }
.video-gate p { max-width: 260px; }

/* Play als Link (Hörprobe auf BeatStars o. Ä.) und Fehlerzustand */
a.play { text-decoration: none; }
a.play:hover { color: var(--bg); filter: brightness(1.1); }
.play.play-error { background: var(--surface); color: var(--text-soft); outline: 1.5px solid #c0564b; }
