/* Recap Visuals — dunkles Bühnenlicht-Design.
   Grund fast schwarz, Signalgelb als Akzent (greift das gelbe Schild
   im Hero-Foto auf), Archivo Variable als plakative Display-Schrift. */

/* Kein size-adjust: Die Messung zeigt CLS 0,000-0,022 und Lighthouse
   identifiziert kein Element, das zum Layout-Shift beitraegt. Die Schrift wird
   stattdessen im <head> vorgeladen, damit der Wechsel frueh passiert. */
@font-face {
  font-family: 'Archivo Variable';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62.5% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin-wdth-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
@font-face {
  font-family: 'Archivo Variable';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62.5% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo-latin-ext-wdth-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02AF, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --grund: #0a0a0e;
  --flaeche: #14141a;
  --flaeche-hell: #1c1c24;
  --linie: #2a2a34;
  --text: #f4f1ea;
  --text-gedimmt: #b8b4ac;
  --akzent: #ffd233;
  --akzent-tinte: #141005;
  --schrift: 'Archivo Variable', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --breite: 72rem;
}

* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--grund);
  color: var(--text);
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--akzent); color: var(--akzent-tinte);
  padding: .6rem 1rem; font-weight: 700;
}
.skip:focus { left: 0; }

/* ---------- Typo ---------- */
.display {
  font-weight: 880;
  font-stretch: 108%;
  text-transform: uppercase;
  line-height: .96;
  letter-spacing: -.01em;
  text-wrap: balance;
  /* Notbremse gegen horizontalen Ueberlauf: greift nur, wenn ein Wort
     wirklich nicht passt — ohne Trennstrich, damit Plakat-Zeilen wie
     "KONZERTRECAPS" nicht unnoetig getrennt werden. */
  overflow-wrap: break-word;
}
/* Fuer Textseiten (Impressum, Datenschutz): dort ist die Ueberschrift ein
   langes Einzelwort ohne Plakatwirkung. hyphens: auto trennt sie sauber mit
   Trennstrich (wirkt, weil <html lang="de"> gesetzt ist).
   Selektor bewusst mit h1: sonst gewinnt h1.display die Spezifitaet und die
   Groesse hier bliebe wirkungslos. */
h1.display.display-text { font-size: clamp(1.8rem, 5vw, 2.9rem); }
.display-text { hyphens: auto; }
/* Zwei Groessen, weil zwei Spaltenbreiten:
   - Unterseiten: die H1 steht in .kopfzone (max. 46rem = 736px). Lange
     Komposita wie "KONZERTFILME" brauchen bei 83px rund 780px und wurden
     mitten im Wort umgebrochen ("KONZERTFILM" + "E"). Daher hier kleiner.
   - Hero: nutzt die volle Seitenbreite und darf plakativ gross sein.
   Die Untergrenze muss so klein bleiben, dass das laengste Wort auf
   320px-Geraeten noch in die Spalte passt — sonst erzwingt seine
   min-content-Breite einen horizontalen Ueberlauf. */
h1.display { font-size: clamp(1.75rem, 6vw, 3.6rem); }
.held h1.display { font-size: clamp(1.65rem, 8.5vw, 5.2rem); }
h2.display { font-size: clamp(1.7rem, 4.2vw, 2.9rem); }
.vorzeile {
  color: var(--akzent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .85rem;
  margin-bottom: .9rem;
}
.gedimmt { color: var(--text-gedimmt); }
.fliesstext { max-width: 44rem; }
.fliesstext h2 { margin: 2.2rem 0 .7rem; font-size: 1.35rem; }
.fliesstext p, .fliesstext ul { margin-bottom: 1rem; color: var(--text-gedimmt); }
.fliesstext strong { color: var(--text); }
.fliesstext a { color: var(--akzent); }

/* ---------- Kopf ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1rem;
  padding: .8rem clamp(1rem, 4vw, 2.5rem);
  background: color-mix(in srgb, var(--grund) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--linie);
}
.marke { margin-right: auto; display: flex; }
.marke img { height: 40px; width: auto; }
.fuss-logo { height: 52px; width: auto; }
.navi { display: flex; align-items: center; gap: clamp(.8rem, 2vw, 1.6rem); flex-wrap: wrap; }
.navi a {
  text-decoration: none; font-weight: 640; font-size: .95rem;
  color: var(--text-gedimmt);
}
.navi a:hover, .navi a[aria-current] { color: var(--text); }
.menu-schalter, .menu-knopf { display: none; }

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-block;
  background: var(--akzent); color: var(--akzent-tinte) !important;
  font-weight: 800; text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none; border: 0; cursor: pointer;
  padding: .95rem 1.8rem; font-size: 1rem; font-family: var(--schrift);
  transition: transform .15s ease, box-shadow .15s ease;
}
.knopf:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255, 210, 51, .25); }
.knopf-klein { padding: .55rem 1.1rem; font-size: .85rem; }
.knopf-zweit {
  background: transparent; color: var(--text) !important;
  border: 1px solid var(--linie);
}
.knopf-zweit:hover { border-color: var(--text-gedimmt); box-shadow: none; }

/* ---------- Brotkrumen ----------
   Muss sichtbar sein, weil BreadcrumbList im JSON-LD steht: strukturierte
   Daten muessen den sichtbaren Seiteninhalt abbilden. Der Linktext ist
   deshalb wortgleich mit dem name-Feld im Markup. Die aktuelle Seite ist
   bewusst NICHT verlinkt. */
.brotkrume {
  max-width: var(--breite);
  margin: 0 auto;
  padding: 1.1rem clamp(1rem, 4vw, 2.5rem) 0;
  font-size: .85rem;
}
.brotkrume ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .5rem;
  color: var(--text-gedimmt);
}
.brotkrume li { display: flex; gap: .5rem; align-items: center; min-width: 0; }
.brotkrume li + li::before { content: '›'; opacity: .5; }
.brotkrume a { color: var(--text-gedimmt); text-decoration: none; }
.brotkrume a:hover { color: var(--akzent); }
.brotkrume [aria-current] { color: var(--text); }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(3.2rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem); }
.abschnitt-innen { max-width: var(--breite); margin: 0 auto; }
.abschnitt-flaeche { background: var(--flaeche); }
.kopfzone { max-width: 46rem; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.kopfzone p { color: var(--text-gedimmt); margin-top: 1rem; }

/* ---------- Hero ---------- */
.held {
  position: relative; display: grid; align-content: end;
  /* minmax(0, 1fr): ohne die 0 waechst die Spalte auf die min-content-Breite
     der Ueberschrift und schiebt die ganze Seite horizontal auf. */
  grid-template-columns: minmax(0, 1fr);
  min-height: min(88svh, 54rem);
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem);
}
.held-bild {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.55) saturate(1.05);
}
.held::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  /* Abdunkler unter dem Text. Auf schmalen Geraeten ist der Hero hoch und der
     Text landet mitten im hellen Bildbereich (Publikum, gelbes Schild) —
     deshalb bis 80 % Hoehe abdunkeln, nicht nur bis 55 %.
     rgba statt color-mix, damit es in aelteren Browsern nicht ausfaellt. */
  background: linear-gradient(to top,
    rgba(10, 10, 14, 1) 6%,
    rgba(10, 10, 14, .78) 42%,
    rgba(10, 10, 14, .35) 80%,
    rgba(10, 10, 14, 0) 100%);
}
.held-innen { max-width: var(--breite); margin: 0 auto; width: 100%; min-width: 0; }
.held p { max-width: 34rem; margin: 1.2rem 0 1.8rem; color: var(--text); font-size: 1.15rem; }
.held .knopfreihe { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Karten ---------- */
.karten { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); }
.karten > * { min-width: 0; }
.karte {
  background: var(--flaeche); border: 1px solid var(--linie);
  display: flex; flex-direction: column;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease;
}
.karte:hover { transform: translateY(-4px); border-color: var(--akzent); }
.karte img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.karte-text { padding: 1.3rem 1.4rem 1.5rem; }
.karte-text h3 { font-size: 1.2rem; text-transform: uppercase; letter-spacing: .02em; margin-bottom: .5rem; }
.karte-text p { color: var(--text-gedimmt); font-size: .97rem; }
.karte-mehr { margin-top: auto; padding: 0 1.4rem 1.3rem; color: var(--akzent); font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Videogitter ---------- */
.videos { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr)); }
.videos > * { min-width: 0; }
.video {
  position: relative; display: block; text-decoration: none;
  border: 1px solid var(--linie); background: var(--flaeche);
  transition: transform .18s ease, border-color .18s ease;
}
.video:hover { transform: translateY(-4px); border-color: var(--akzent); }
.video img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.video-titel { padding: .9rem 1rem 1rem; font-weight: 700; font-size: .98rem; }
.video-titel span { display: block; color: var(--text-gedimmt); font-weight: 400; font-size: .85rem; margin-top: .15rem; }
.video-abspielen {
  position: absolute; top: .9rem; right: .9rem;
  background: var(--akzent); color: var(--akzent-tinte);
  font-weight: 800; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em;
  padding: .3rem .6rem;
}
.reels { grid-template-columns: repeat(auto-fill, minmax(min(11rem, 100%), 1fr)); }
.reels .video img { aspect-ratio: 9 / 16; }

/* ---------- Streifen (Bild + Text) ---------- */
.streifen {
  display: grid; gap: clamp(1.5rem, 4vw, 3.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr));
  align-items: center;
}
.streifen > * { min-width: 0; }
.streifen img { border: 1px solid var(--linie); }
.streifen h2 { margin-bottom: 1rem; }
.streifen p { color: var(--text-gedimmt); margin-bottom: 1rem; }
.streifen .knopf { margin-top: .5rem; }
/* Hochformat-Bilder: min() statt fester Breite, sonst ueberragen die
   24rem auf 320px-Geraeten den Viewport. */
.bild-hoch { max-width: min(24rem, 100%); justify-self: center; }

/* ---------- Gelbes Band (Support-Programm) ---------- */
.band {
  background: var(--akzent); color: var(--akzent-tinte);
  padding: clamp(3rem, 7vw, 5rem) clamp(1rem, 4vw, 2.5rem);
}
.band-innen { max-width: var(--breite); margin: 0 auto; }
.band .display { color: var(--akzent-tinte); }
.band p { max-width: 40rem; margin: 1.2rem 0 1.6rem; font-weight: 500; }
.band .knopf { background: var(--akzent-tinte); color: var(--akzent) !important; }

/* ---------- Merkmalliste ---------- */
.merkmale { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); margin-top: 2rem; }
.merkmale > * { min-width: 0; }
.merkmal { border-top: 2px solid var(--akzent); padding-top: 1rem; }
.merkmal h3 { font-size: 1.05rem; text-transform: uppercase; margin-bottom: .4rem; }
.merkmal p { color: var(--text-gedimmt); font-size: .97rem; }

/* ---------- FAQ ----------
   <details>/<summary> statt JavaScript. Der Antworttext steht immer im DOM,
   auch eingeklappt — sonst waere das FAQPage-Markup nicht durch sichtbaren
   Inhalt gedeckt. */
.faq { max-width: 48rem; display: grid; gap: .7rem; }
.faq details {
  background: var(--flaeche); border: 1px solid var(--linie);
  padding: 0 1.2rem;
}
.faq details[open] { border-color: color-mix(in srgb, var(--akzent) 45%, var(--linie)); }
.faq summary {
  cursor: pointer; padding: 1.05rem 0; font-weight: 700;
  list-style: none; display: flex; gap: .8rem; align-items: flex-start;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: '+'; color: var(--akzent); font-weight: 800;
  flex: 0 0 1rem; line-height: 1.5;
}
.faq details[open] summary::before { content: '–'; }
.faq summary:hover { color: var(--akzent); }
.faq details > p, .faq details > ul { color: var(--text-gedimmt); padding-bottom: 1.1rem; margin: 0; }
.faq details > p + p { padding-top: .8rem; }
.faq details > ul { padding-left: 2.6rem; }
.faq details > ul li { margin-bottom: .4rem; }

/* ---------- Ablauf (nummerierte Schritte) ---------- */
.ablauf { counter-reset: schritt; display: grid; gap: 1.6rem; max-width: 48rem; }
.ablauf > li { counter-increment: schritt; list-style: none; display: grid; gap: .4rem; }
.ablauf > li::before {
  content: counter(schritt);
  font-weight: 880; font-size: 1.6rem; color: var(--akzent);
  font-stretch: 108%; line-height: 1;
}
.ablauf h3 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .02em; }
.ablauf p { color: var(--text-gedimmt); }

/* ---------- Preistabelle (Ratgeber) ---------- */
.tabelle-huelle { overflow-x: auto; margin: 1.4rem 0; }
.preistabelle { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: .95rem; }
.preistabelle th, .preistabelle td {
  text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--linie);
  vertical-align: top;
}
.preistabelle th { color: var(--text); font-weight: 800; text-transform: uppercase; font-size: .8rem; letter-spacing: .06em; }
.preistabelle td { color: var(--text-gedimmt); }
.preistabelle td strong { color: var(--text); white-space: nowrap; }
.preistabelle tbody tr:hover td { background: var(--flaeche); }

/* ---------- Hinweiskasten ---------- */
.hinweis {
  border-left: 3px solid var(--akzent);
  background: var(--flaeche);
  padding: 1.1rem 1.3rem; margin: 1.6rem 0;
  color: var(--text-gedimmt);
}
.hinweis strong { color: var(--text); }

/* ---------- Formulare ---------- */
.formular { max-width: 38rem; display: grid; gap: 1.1rem; }
.feld { display: grid; gap: .35rem; }
.feld label { font-weight: 700; font-size: .92rem; }
.feld small { color: var(--text-gedimmt); }
.feld input, .feld textarea, .feld select {
  background: var(--flaeche-hell); color: var(--text);
  border: 1px solid var(--linie); padding: .8rem .9rem;
  font: inherit; width: 100%;
}
.feld input:focus, .feld textarea:focus, .feld select:focus {
  outline: 2px solid var(--akzent); outline-offset: 1px; border-color: transparent;
}
.versteckt { display: none; }

/* ---------- Fußzeile ---------- */
.fuss { border-top: 1px solid var(--linie); padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 2.5rem) 2rem; }
.fuss-innen {
  max-width: var(--breite); margin: 0 auto;
  display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr));
}
.fuss-innen > * { min-width: 0; }
.fuss-spalte { display: grid; gap: .45rem; align-content: start; justify-items: start; }
.fuss-spalte p { color: var(--text-gedimmt); font-size: .95rem; }
.fuss-spalte a { color: var(--text-gedimmt); text-decoration: none; font-size: .95rem; }
.fuss-spalte a:hover { color: var(--akzent); }
.fuss-logo { opacity: .9; margin-bottom: .4rem; height: 52px; width: auto; }
.fuss-titel { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; color: var(--text) !important; }
.fuss-zeile {
  max-width: var(--breite); margin: 2.5rem auto 0;
  padding-top: 1.2rem; border-top: 1px solid var(--linie);
  color: var(--text-gedimmt); font-size: .85rem;
  display: flex; flex-wrap: wrap; gap: .8rem 2rem; align-items: center; justify-content: space-between;
}
.fuss-erfolgio a {
  display: inline-flex; align-items: center; gap: .45rem;
  color: var(--text-gedimmt); text-decoration: none; white-space: nowrap;
}
.fuss-erfolgio a:hover { color: var(--akzent); }
.fuss-erfolgio img { height: 18px; width: 18px; opacity: .85; }

/* ---------- Sanftes Einblenden beim Scrollen ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .karte, .video, .merkmal, .streifen img {
      animation: einblenden linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 34%;
    }
  }
}
@keyframes einblenden {
  from { opacity: .25; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Mobil ---------- */
@media (max-width: 47rem) {
  .menu-knopf {
    /* Mindestens 44x44 px Touchflaeche (gemessen waren vorher 41x51). */
    display: grid; gap: 5px; cursor: pointer;
    width: 44px; height: 44px;
    place-content: center; justify-items: center;
  }
  .menu-knopf span { width: 22px; height: 2px; background: var(--text); transition: transform .2s, opacity .2s; }
  .navi {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--grund); border-bottom: 1px solid var(--linie);
  }
  .navi a { padding: .95rem clamp(1rem, 4vw, 2.5rem); border-top: 1px solid var(--linie); font-size: 1.05rem; }
  .navi .knopf { margin: 1rem clamp(1rem, 4vw, 2.5rem) 1.2rem; text-align: center; }
  .menu-schalter:checked ~ .navi { display: flex; }
  .menu-schalter:checked ~ .menu-knopf span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-schalter:checked ~ .menu-knopf span:nth-child(2) { opacity: 0; }
  .menu-schalter:checked ~ .menu-knopf span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
