/*
Theme Name:   HEADVALVE
Theme URI:    https://headvalve.de/
Description:  Dunkles One-Page-Theme für die Rock-Coverband HEADVALVE aus Leipzig. Alle Texte der Startseite sind über Design → Customizer bearbeitbar. Schriften lokal eingebunden (keine Google-Fonts-Verbindung).
Version:      1.3.2
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  headvalve
*/

/* ---------- Schriften (lokal, SIL OFL) ---------- */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/archivo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-style: normal; font-weight: 900; font-display: swap; src: url("assets/fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --surface:    #111113;  /* Grund, durchgehend dunkel */
  --surface-2:  #1A1B1E;  /* Karten, Booking */
  --line:       #2C2D31;
  --text:       #F2F0EB;  /* 16,6:1 auf --surface */
  --text-muted: #ABA9A3;  /* 8,0:1 auf --surface, 7,3:1 auf --surface-2 */
  --accent:     #F0A830;  /* Messing/Ventil – 9,3:1 auf --surface */
  --accent-ink: #111113;  /* Text auf Akzentfläche */
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
  /* Motion: kurz, zielgerichtet, abbrechbar */
  --ease-out: cubic-bezier(.22, 1, .36, 1);     /* sanftes Abbremsen, wie ein gedämpfter Spring */
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-fast: 180ms;   /* Hover, Druck */
  --dur-base: 320ms;   /* Menü, Seitenwechsel */
  --dur-slow: 640ms;   /* Einblenden beim Scrollen */
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}
body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem; /* 17 px */
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ---------- Skip-Link ---------- */
.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 1000;
  background: var(--accent); color: var(--accent-ink);
  padding: 12px 18px; font-weight: 700; text-decoration: none; border-radius: 6px;
}
.skip-link:focus { top: 12px; color: var(--accent-ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(17, 17, 19, .92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px; gap: 16px; position: relative;
}
.brand {
  font-family: var(--display); font-weight: 900; font-size: 1.75rem;
  letter-spacing: .02em; color: var(--text); text-decoration: none; line-height: 1;
  min-height: 44px; display: inline-flex; align-items: center;
}
.brand:hover { color: var(--text); }
.brand span { color: var(--accent); }
.brand img { max-height: 44px; width: auto; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  color: var(--text); text-decoration: none; font-size: .9375rem; font-weight: 600; /* 15 px */
  border-radius: 6px;
}
.nav a:hover, .nav .current-menu-item > a { background: var(--surface-2); color: var(--text); }
.nav .nav-cta > a, .nav a.nav-cta { background: var(--accent); color: var(--accent-ink); margin-left: 8px; }
.nav .nav-cta > a:hover, .nav a.nav-cta:hover { background: var(--text); color: var(--accent-ink); }
.nav .sub-menu { display: none; }

.menu-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line);
  background: var(--surface-2); color: var(--text); border-radius: 8px; cursor: pointer; padding: 0;
}
.menu-toggle svg { width: 22px; height: 22px; }
@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--surface); border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(-8px); visibility: hidden; pointer-events: none;
    transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility 0s linear var(--dur-base);
  }
  .nav.is-open {
    opacity: 1; transform: none; visibility: visible; pointer-events: auto;
    transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), visibility 0s;
  }
  .nav li { opacity: 0; transform: translateY(-4px); transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
  .nav.is-open li { opacity: 1; transform: none; }
  .nav.is-open li:nth-child(2) { transition-delay: 30ms; }
  .nav.is-open li:nth-child(3) { transition-delay: 60ms; }
  .nav.is-open li:nth-child(4) { transition-delay: 90ms; }
  .nav.is-open li:nth-child(5) { transition-delay: 120ms; }
  .nav.is-open li:nth-child(n+6) { transition-delay: 150ms; }
  .nav ul { flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 16px; gap: 2px; }
  .nav a { display: flex; min-height: 48px; font-size: 1.0625rem; }
  .nav .nav-cta > a, .nav a.nav-cta { margin: 8px 0 0; justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(88vh, 820px);
  display: flex; align-items: flex-end;
  background-color: #000;
  background-position: center 30%;
  background-size: cover;
  background-repeat: no-repeat;
}
/* fester Verlauf: Kontrast hängt nicht vom Foto ab */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(17,17,19,.25) 0%, rgba(17,17,19,.55) 45%, rgba(17,17,19,.96) 100%);
}
.hero .wrap { position: relative; width: 100%; padding-bottom: clamp(40px, 8vh, 88px); padding-top: 120px; }
.hero-kicker { margin: 0 0 8px; font-weight: 600; font-size: 1rem; color: var(--accent); letter-spacing: .04em; }
.hero h1 {
  margin: 0; font-family: var(--display); font-weight: 900; line-height: .85;
  font-size: clamp(4.5rem, 17vw, 13rem); letter-spacing: -.005em; overflow-wrap: anywhere;
}
.hero h1 span { color: var(--accent); }
.hero-slogan { margin: 16px 0 28px; font-size: clamp(1.125rem, 2.4vw, 1.375rem); font-weight: 400; max-width: 32ch; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px; border-radius: 8px;
  font-weight: 700; font-size: 1rem; text-decoration: none; font-family: inherit;
  border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--text); color: var(--accent-ink); }
.btn-secondary { border-color: var(--text); color: var(--text); background: transparent; }
.btn-secondary:hover { background: var(--text); color: var(--accent-ink); }

/* ---------- Signatur: Live-Streifen ---------- */
.live-strip {
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.5rem, 4vw, 2.25rem); letter-spacing: .03em; line-height: 1;
}
.live-strip .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; padding-block: 18px; }

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(64px, 10vw, 112px); }
.section--tight { padding-top: 0; }
.section-head { margin-bottom: 36px; max-width: 60ch; }
.eyebrow { margin: 0 0 6px; color: var(--accent); font-weight: 700; font-size: .9375rem; }
h2, .h2 {
  margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.5rem, 6vw, 4rem); line-height: .95;
}
h3 { margin: 0 0 6px; font-size: 1.1875rem; font-weight: 700; line-height: 1.3; }
.lead { color: var(--text-muted); margin: 14px 0 0; }

.bands { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.bands li { border: 1px solid var(--line); background: var(--surface-2); padding: 10px 16px; border-radius: 999px; font-weight: 600; }
.bands-note { margin: 18px 0 0; color: var(--text-muted); }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card { background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.card p { margin: 0; color: var(--text-muted); }

/* Über uns: Foto + illustrierte Zeitleiste */
.about-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 72px); align-items: start;
}
.about-visual { position: sticky; top: 96px; }
.about-photo {
  position: relative; margin: 0; aspect-ratio: 4 / 5;
  border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.about-photo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(17,17,19,0) 55%, rgba(17,17,19,.6) 100%);
}
.about-badge {
  position: absolute; left: 20px; bottom: 20px; z-index: 1;
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 18px 14px; border-radius: 14px;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}
.about-badge-label { font-size: .8125rem; font-weight: 700; line-height: 1; }
.about-badge-year { font-family: var(--display); font-weight: 900; font-size: 2.75rem; line-height: .9; }

.about-story .section-head { margin-bottom: 32px; }

.story { list-style: none; margin: 0; padding: 0; }
.story-step {
  position: relative;
  display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px;
  padding-bottom: 24px;
}
.story-step:last-child { padding-bottom: 0; }

/* Verbindungslinie von Station zu Station */
.story-step::before,
.story-step::after {
  content: ""; position: absolute; left: 27px; top: 28px; width: 2px; height: 100%;
  border-radius: 2px;
}
.story-step::before { background: var(--line); }
.story-step::after  { background: var(--accent); transform-origin: top; transform: scaleY(0); }
.story-step:last-child::before,
.story-step:last-child::after { display: none; }

/* Linie füllt sich beim Scrollen (scroll-gesteuert, ohne JS) */
@supports (animation-timeline: view()) {
  .story-step::after {
    animation: hv-grow linear both;
    animation-timeline: view();
    animation-range: cover 30% cover 70%;
  }
}
@supports not (animation-timeline: view()) {
  .story-step::after { transform: none; }
}
@keyframes hv-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.story-node {
  position: relative; z-index: 1;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--accent);
}
.story-node svg { width: 30px; height: 30px; }
.story-step.is-now .story-node {
  background: var(--accent); border-color: var(--accent); color: var(--accent-ink);
  box-shadow: 0 0 0 6px rgba(240, 168, 48, .15);
}

.story-body {
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 24px;
}
.story-year {
  display: block; margin-bottom: 8px;
  font-family: var(--display); font-weight: 900; font-size: 2rem; line-height: 1; color: var(--accent);
}
.story-body h3 { margin-bottom: 4px; }
.story-body p { margin: 0; color: var(--text-muted); }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { position: static; }
  .about-photo { aspect-ratio: 4 / 3; }
}
@media (max-width: 560px) {
  .story-step { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding-bottom: 16px; }
  .story-step::before, .story-step::after { left: 21px; top: 22px; }
  .story-node { width: 44px; height: 44px; }
  .story-node svg { width: 24px; height: 24px; }
  .story-body { padding: 16px 18px; }
  .story-year { font-size: 1.75rem; }
  .about-photo { aspect-ratio: 1 / 1; }
  .about-badge { left: 14px; bottom: 14px; padding: 10px 14px 12px; }
  .about-badge-year { font-size: 2.25rem; }
}

.media { display: grid; gap: 24px; grid-template-columns: 1.2fr 1fr; align-items: center; }
@media (max-width: 820px) { .media { grid-template-columns: 1fr; } }
.media-frame {
  position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 1px solid var(--line);
  background-color: var(--surface-2); background-position: center; background-size: cover;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 16px; text-align: center;
}
.media-frame::before { content: ""; position: absolute; inset: 0; background: rgba(17,17,19,.7); }
.media-frame > * { position: relative; }
.media-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.media-frame.is-playing::before { display: none; }
.play {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text);
  font: 700 1rem var(--body); padding: 14px 22px; border-radius: 999px; background: rgba(17,17,19,.8);
  border: 2px solid var(--text); min-height: 48px; cursor: pointer;
}
.play:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.play svg { width: 18px; height: 18px; }
.media-note { margin: 0; font-size: .875rem; color: var(--text-muted); max-width: 46ch; }
.media-note a { color: var(--text); }

.booking { background: var(--surface-2); border-block: 1px solid var(--line); }
.booking-grid { display: grid; gap: 40px; grid-template-columns: 1.1fr 1fr; align-items: start; }
@media (max-width: 820px) { .booking-grid { grid-template-columns: 1fr; } }
.checklist { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; align-items: baseline; }
.checklist li::before { content: ""; flex: none; width: 10px; height: 10px; background: var(--accent); border-radius: 2px; transform: translateY(-1px); }
.mail { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 700; color: var(--text); overflow-wrap: anywhere; }

/* ---------- Unterseiten (Datenschutz, Impressum …) ---------- */
.page-main { padding-block: clamp(48px, 8vw, 96px); }
.page-header { margin-bottom: 32px; }
.page-header h1 { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.75rem, 7vw, 4.5rem); line-height: .95; overflow-wrap: anywhere; }
.entry-content { max-width: 72ch; }
.entry-content h2 { font-size: clamp(1.75rem, 4vw, 2.25rem); margin: 2em 0 .5em; }
.entry-content h3 { margin: 1.6em 0 .4em; }
.entry-content p, .entry-content li { color: var(--text); }
.entry-content table { border-collapse: collapse; width: 100%; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 8px 12px; text-align: left; }
.entry-content blockquote { margin: 1.5em 0; padding-left: 20px; border-left: 3px solid var(--accent); color: var(--text-muted); }
.entry-content .wp-block-button__link { background: var(--accent); color: var(--accent-ink); border-radius: 8px; font-weight: 700; }
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.post-list article { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.post-list h2 { font-size: 2rem; }
.post-list h2 a { color: var(--text); text-decoration: none; }
.post-list h2 a:hover { color: var(--accent); }
.alignwide { max-width: var(--wrap); }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }

/* ---------- Footer (nach Apple-Muster: Verzeichnis + Rechtsleiste) ---------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  color: var(--text-muted);
  font-size: .9375rem;            /* 15 px */
  line-height: 1.5;
  padding-block: 56px 24px;
}
.site-footer a { text-decoration: none; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }

/* Verzeichnis */
.footer-directory {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  grid-template-areas: "brand band social contact";
  gap: 40px 32px;
  padding-bottom: 40px;
}
.footer-brand          { grid-area: brand; }
.footer-col--band      { grid-area: band; }
.footer-col--social    { grid-area: social; }
.footer-col--contact   { grid-area: contact; }

.footer-wordmark {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--display); font-weight: 900; font-size: 1.75rem; line-height: 1;
  letter-spacing: .02em; color: var(--text);
}
.footer-wordmark span { color: var(--accent); }
.footer-wordmark:hover { color: var(--text); }
.footer-tagline { margin: 4px 0 12px; color: var(--text-muted); }
.footer-cta {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px;
  color: var(--accent); font-weight: 600;
}
.footer-cta:hover { color: var(--text); }
.footer-cta .chevron { font-size: 1.25em; line-height: 1; transform: translateY(-1px); }

.footer-heading {
  margin: 0 0 8px;
  font-family: var(--body); font-size: .875rem; font-weight: 700; /* 14 px */
  text-transform: none; letter-spacing: 0; line-height: 1.4;
  color: var(--text);
}
.footer-col li + li { margin-top: 2px; }
.footer-col a,
.footer-col span {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 32px;               /* Desktop: Zeiger, ≥ 28 px */
  color: var(--text-muted);
  overflow-wrap: anywhere;
}
.footer-col a:hover { color: var(--text); }
.footer-col svg { width: 18px; height: 18px; flex: none; }

/* Rechtsleiste */
.footer-legal {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 4px 24px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .875rem;             /* 14 px */
}
.footer-copyright { margin: 0; color: var(--text-muted); }
.footer-legal-nav { margin-left: auto; }   /* bleibt rechts – auch wenn sie auf dem Handy in eine eigene Zeile rutscht */
.footer-legal-nav ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; }
.footer-legal-nav li { display: flex; align-items: center; }
.footer-legal-nav li + li::before {           /* Trennstrich statt Text-„|“ – wird nicht vorgelesen */
  content: ""; width: 1px; height: 14px; background: var(--line); margin: 0 4px;
}
.footer-legal-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  color: var(--text-muted); text-decoration: none;
}
.footer-legal-nav li:first-child a { padding-left: 0; }
.footer-legal-nav li:last-child a  { padding-right: 0; }
.footer-legal-nav a:hover { color: var(--text); }

/* Touch-Geräte: alle Footer-Links ≥ 44 px */
@media (pointer: coarse) {
  .footer-col a { min-height: 44px; }
}

/* Tablet */
@media (max-width: 900px) {
  .footer-directory {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "brand brand brand"
      "band social contact";
  }
}

/* Smartphone */
@media (max-width: 560px) {
  .site-footer { padding-block: 40px 16px; }
  .footer-directory {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "brand brand"
      "band social"
      "contact contact";
    gap: 32px 24px;
    padding-bottom: 32px;
  }
}

/* =====================================================================
   Motion – nach Apple HIG: Bewegung hat einen Zweck, ist kurz,
   unterbricht nichts und entfällt bei „Bewegung reduzieren“.
   ===================================================================== */

/* ---------- Seitenwechsel (View Transitions zwischen Startseite und Unterseiten) ---------- */
@view-transition { navigation: auto; }

.site-header { view-transition-name: site-header; }   /* Kopfzeile bleibt stehen */
.site-footer { view-transition-name: site-footer; }

::view-transition-group(root) { animation-duration: var(--dur-base); }
::view-transition-old(root) {
  animation: var(--dur-base) var(--ease-in-out) both hv-page-out;
}
::view-transition-new(root) {
  animation: var(--dur-base) var(--ease-out) both hv-page-in;
}
::view-transition-group(site-header),
::view-transition-group(site-footer) { animation-duration: var(--dur-base); animation-timing-function: var(--ease-out); }

@keyframes hv-page-out { to { opacity: 0; transform: translateY(-12px); } }
@keyframes hv-page-in  { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Kopfzeile: Zustand beim Scrollen ---------- */
.site-header {
  transition: background-color var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }

/* ---------- Bedienelemente: Hover und Druck ---------- */
.btn, .nav a, .play, .footer-cta, .footer-col a, .footer-legal-nav a, .footer-wordmark, .brand, .menu-toggle, .mail, .bands li, .card {
  transition: color var(--dur-fast) var(--ease-out), background-color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
.btn:active, .play:active, .menu-toggle:active, .nav a:active { transform: scale(.97); }
.footer-cta .chevron { display: inline-block; transition: transform var(--dur-fast) var(--ease-out); }
.footer-cta:hover .chevron { transform: translate(3px, -1px); }
@media (hover: hover) {
  .card:hover { border-color: #3d3e44; transform: translateY(-2px); }
  .bands li:hover { border-color: var(--accent); }
}
.menu-toggle .bar {
  transform-box: view-box; transform-origin: 12px 12px;
  transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast) var(--ease-out);
}
.menu-toggle[aria-expanded="true"] .bar-1 { transform: rotate(45deg) translateY(5px); }
.menu-toggle[aria-expanded="true"] .bar-2 { opacity: 0; transform: scaleX(.2); }
.menu-toggle[aria-expanded="true"] .bar-3 { transform: rotate(-45deg) translateY(-5px); }

/* ---------- Hero: Auftritt beim Laden ---------- */
.hero { isolation: isolate; overflow: hidden; }
.hero::after {                       /* eigene Bildebene, damit nur transform animiert wird (GPU) */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: inherit;
  animation: hv-hero-settle 1600ms var(--ease-out) both;
  will-change: transform;
}
.hero-kicker, .hero h1, .hero-slogan, .hero .actions {
  animation: hv-rise 800ms var(--ease-out) both;
}
.hero h1          { animation-delay: 80ms; }
.hero-slogan      { animation-delay: 180ms; }
.hero .actions    { animation-delay: 260ms; }
.live-strip span  { animation: hv-fade 700ms var(--ease-out) 420ms both; }

@keyframes hv-rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes hv-fade { from { opacity: 0; } }
@keyframes hv-hero-settle { from { transform: scale(1.06); } }

/* Unterseiten: Titel und Inhalt kommen gestaffelt */
.page-header h1 { animation: hv-rise 700ms var(--ease-out) both; }
.page-main .entry-content, .post-list { animation: hv-rise 700ms var(--ease-out) 90ms both; }

/* ---------- Einblenden beim Scrollen (nur mit JavaScript aktiv) ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Video: nach Klick sanft einblenden */
.media-frame iframe { animation: hv-fade var(--dur-base) var(--ease-out) both; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .story-step::after { transform: none; }
  .site-header.is-scrolled { box-shadow: none; }
}
