/* ===========================================================================
   DJ ANDREAS STEFANI — B2B-Onepager für Locations
   ---------------------------------------------------------------------------
   Eine Datei, keine Abhängigkeiten, kein Build-Schritt.
   Aufbau:
     01  Design-Tokens
     02  Reset & Grundlagen
     03  Layout-Bausteine
     04  Typografie
     05  Buttons & Links
     06  Navigation
     07  Hero
     08  Vorteile
     09  Technische Daten
     10  Werdegang (Timeline)
     11  FAQ
     12  Kontakt & Footer
     13  Sticky-Leiste (mobil)
     14  Animationen
     15  Druckansicht
   =========================================================================== */

@import url('../fonts/fonts.css');

/* ===========================================================================
   01  DESIGN-TOKENS
   ---------------------------------------------------------------------------
   Kontrastwerte gegen --bg (#0B0C0E) geprüft:
     --text        16,4:1   AAA
     --text-muted   8,9:1   AAA
     --text-dim     4,9:1   AA
     --brass        8,1:1   AAA
   Reines Schwarz wird bewusst vermieden — auf OLED-Displays schmiert die
   Bewegung sonst sichtbar.
   =========================================================================== */

:root {
  /* Flächen */
  --bg:            #0B0C0E;
  --bg-raised:     #101216;
  --surface:       #16181C;
  --surface-2:     #1C1F24;
  --surface-glass: rgba(22, 24, 28, 0.72);

  /* Linien */
  --line:          rgba(255, 255, 255, 0.08);
  --line-strong:   rgba(255, 255, 255, 0.15);

  /* Text */
  --text:          #F2F4F7;
  --text-muted:    #A8AFB9;
  --text-dim:      #78808B;

  /* Akzent — Messing */
  --brass:         #C9A227;
  --brass-bright:  #E0BE4A;
  --brass-deep:    #8A6E14;
  --brass-wash:    rgba(201, 162, 39, 0.12);
  --brass-glow:    rgba(201, 162, 39, 0.22);

  /* Signalfarben */
  --ok:            #4ADE80;
  --warn:          #FBBF24;

  /* Abstände — 4/8er-Raster */
  --space-1:  0.25rem;   /*  4px */
  --space-2:  0.5rem;    /*  8px */
  --space-3:  0.75rem;   /* 12px */
  --space-4:  1rem;      /* 16px */
  --space-5:  1.5rem;    /* 24px */
  --space-6:  2rem;      /* 32px */
  --space-7:  3rem;      /* 48px */
  --space-8:  4rem;      /* 64px */
  --space-9:  6rem;      /* 96px */
  --space-10: 8rem;      /* 128px */

  /* Radien */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 999px;

  /* Schatten & Leuchten */
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-2: 0 8px 24px -8px rgba(0, 0, 0, 0.6);
  --shadow-3: 0 24px 64px -16px rgba(0, 0, 0, 0.75);
  --shadow-brass: 0 8px 32px -8px var(--brass-glow);

  /* Bewegung — eine Kurve für alles, damit die Seite einen Rhythmus hat */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --t-fast: 160ms;
  --t-base: 240ms;
  --t-slow: 420ms;

  /* Ebenen */
  --z-base: 1;
  --z-sticky: 40;
  --z-nav: 60;
  --z-overlay: 80;

  /* Maße */
  --container: 1200px;
  --container-narrow: 820px;
  --nav-h: 68px;
}

/* ===========================================================================
   02  RESET & GRUNDLAGEN
   =========================================================================== */

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + var(--space-5));
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  min-height: 100dvh;
}

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

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

button { background: none; border: 0; cursor: pointer; }

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

ul, ol { list-style: none; padding: 0; }

/* Tabellenzahlen sollen nicht springen */
table, .tabular { font-variant-numeric: tabular-nums; }

/* Fokus nur für Tastatur — sichtbar und kontraststark */
:focus-visible {
  outline: 2px solid var(--brass-bright);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
:focus:not(:focus-visible) { outline: none; }

/* Sprungmarke für Screenreader und Tastatur */
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 100;
  padding: var(--space-3) var(--space-5);
  background: var(--brass);
  color: #0B0C0E;
  font-weight: 600;
  border-radius: var(--r-md);
  transition: top var(--t-base) var(--ease);
}
.skip-link:focus { top: var(--space-4); }

.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;
}

/* ===========================================================================
   03  LAYOUT-BAUSTEINE
   =========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-5);
}
@media (min-width: 768px) { .container { padding-inline: var(--space-7); } }

.container--narrow { max-width: var(--container-narrow); }

.section {
  padding-block: var(--space-9);
  position: relative;
}
@media (min-width: 768px) { .section { padding-block: var(--space-10); } }

/* Feine Trennlinie zwischen den Sektionen, die zur Mitte hin ausläuft */
.section + .section::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 30%, var(--line-strong) 70%, transparent);
}

.section__head { margin-bottom: var(--space-7); max-width: 46rem; }
@media (min-width: 768px) { .section__head { margin-bottom: var(--space-8); } }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: var(--space-4);
}
.kicker::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--brass);
  transform-origin: left;
}

/* ===========================================================================
   04  TYPOGRAFIE
   =========================================================================== */

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.h-display {
  font-size: clamp(2.5rem, 7.5vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
}

h2, .h2 {
  font-size: clamp(1.875rem, 4vw, 3rem);
  letter-spacing: -0.028em;
}

h3, .h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }

.lead {
  font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 42ch;
  text-wrap: pretty;
}

.body-muted { color: var(--text-muted); text-wrap: pretty; }
.body-dim { color: var(--text-dim); }

.text-brass { color: var(--brass); }

/* Hervorhebung in Überschriften */
.hl {
  color: var(--brass);
  font-style: normal;
  position: relative;
}

.mono {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

/* ===========================================================================
   05  BUTTONS & LINKS
   =========================================================================== */

.btn {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-line: var(--line-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: var(--space-3) var(--space-5);
  border: 1px solid var(--btn-line);
  border-radius: var(--r-full);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 0.9375rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease),
    color var(--t-base) var(--ease),
    transform var(--t-fast) var(--ease),
    box-shadow var(--t-base) var(--ease);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.btn svg { width: 18px; height: 18px; flex: none; }

.btn:hover { border-color: var(--text-dim); background: rgba(255, 255, 255, 0.04); }
.btn:active { transform: scale(0.975); }

/* Primär — Messing. Dunkler Text darauf: 8,9:1 */
.btn--primary {
  --btn-bg: var(--brass);
  --btn-fg: #0B0C0E;
  --btn-line: var(--brass);
  font-weight: 600;
  box-shadow: var(--shadow-brass);
}
.btn--primary:hover {
  --btn-bg: var(--brass-bright);
  --btn-line: var(--brass-bright);
  box-shadow: 0 12px 40px -8px var(--brass-glow);
}

/* WhatsApp — eigene Signalfarbe, damit der Kanal sofort erkennbar ist */
.btn--whatsapp {
  --btn-bg: #25D366;
  --btn-fg: #06301A;
  --btn-line: #25D366;
  font-weight: 600;
  box-shadow: 0 8px 32px -8px rgba(37, 211, 102, 0.28);
}
.btn--whatsapp:hover {
  --btn-bg: #34E67A;
  --btn-line: #34E67A;
  box-shadow: 0 12px 40px -8px rgba(37, 211, 102, 0.38);
}

.btn--ghost { --btn-line: var(--line-strong); }

.btn--lg { min-height: 56px; padding: var(--space-4) var(--space-6); font-size: 1rem; }

/* Ein Knopf über die volle Breite darf umbrechen. Bliebe hier nowrap stehen,
   wäre seine Mindestbreite die Textlänge — und lange deutsche Beschriftungen
   ("Karten per WhatsApp anfordern") würden auf schmalen Displays das ganze
   Raster auseinanderdrücken. */
.btn--block {
  width: 100%;
  min-width: 0;
  white-space: normal;
  text-align: center;
}

/* Textlink mit unterstrichener Bewegung */
.link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;          /* Rechtstexte werden oft am Handy angetippt */
  color: var(--text-muted);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
  transition: color var(--t-base) var(--ease), text-decoration-color var(--t-base) var(--ease);
}
.link:hover { color: var(--brass); text-decoration-color: var(--brass); }

/* ===========================================================================
   06  NAVIGATION
   =========================================================================== */

.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: var(--z-nav);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background-color var(--t-slow) var(--ease), border-color var(--t-slow) var(--ease);
  border-bottom: 1px solid transparent;
}

/* Glas erst, wenn gescrollt wird — über dem Hero bleibt es offen */
.nav.is-stuck {
  background: var(--surface-glass);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
}

.nav__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
@media (min-width: 768px) { .nav__inner { padding-inline: var(--space-7); } }

.nav__brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
  margin-right: auto;
  min-height: 44px;          /* Trefferfläche, nicht nur Text */
  touch-action: manipulation;
}
.nav__brand-name {
  font-size: 0.9375rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.nav__brand-role {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
}

.nav__links { display: none; gap: var(--space-5); align-items: center; }
@media (min-width: 1024px) { .nav__links { display: flex; } }

.nav__link {
  position: relative;
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-block: var(--space-2);
  transition: color var(--t-base) var(--ease);
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 2px;
  width: 100%;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-base) var(--ease);
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { color: var(--text); }
.nav__link.is-active::after { transform: scaleX(1); }

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

/* Sehr schmale Geräte (iPhone SE und Ähnliches).
   Marke, Sprachumschalter und Menüknopf zusammen brauchen mehr Platz, als
   320 px hergeben — dann würde der Menüknopf aus dem Bild geschoben. Die
   Trefferflächen bleiben unangetastet; stattdessen weicht die Zeile unter
   dem Namen und der Schriftgrad wird kleiner. */
@media (max-width: 380px) {
  .nav__inner { gap: var(--space-3); padding-inline: var(--space-4); }
  .nav__brand-role { display: none; }
  .nav__brand-name { font-size: 0.8125rem; letter-spacing: 0; }
}

.nav .btn--primary { display: none; }
@media (min-width: 768px) { .nav .btn--primary { display: inline-flex; min-height: 42px; padding-inline: var(--space-4); font-size: 0.875rem; } }

/* Sprachumschalter */
.lang {
  display: flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  padding: 2px;
  background: rgba(255, 255, 255, 0.03);
}
.lang__btn {
  /* Die Polsterung des Rahmens zählt nicht zur Trefferfläche — der Knopf
     selbst muss die 44 px mitbringen. */
  min-width: 44px;
  min-height: 44px;
  padding-inline: var(--space-3);
  touch-action: manipulation;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  transition: color var(--t-base) var(--ease), background-color var(--t-base) var(--ease);
}
.lang__btn:hover { color: var(--text); }
.lang__btn[aria-pressed='true'] {
  background: var(--brass);
  color: #0B0C0E;
}

/* Menü-Schalter (mobil) */
.nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  color: var(--text);
}
@media (min-width: 1024px) { .nav__toggle { display: none; } }

.nav__toggle-bars { position: relative; width: 18px; height: 12px; }
.nav__toggle-bars span {
  position: absolute;
  left: 0;
  width: 100%; height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav__toggle-bars span:nth-child(1) { top: 0; }
.nav__toggle-bars span:nth-child(2) { top: 5.25px; }
.nav__toggle-bars span:nth-child(3) { top: 10.5px; }
.nav__toggle[aria-expanded='true'] .nav__toggle-bars span:nth-child(1) { transform: translateY(5.25px) rotate(45deg); }
.nav__toggle[aria-expanded='true'] .nav__toggle-bars span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded='true'] .nav__toggle-bars span:nth-child(3) { transform: translateY(-5.25px) rotate(-45deg); }

/* Menü-Overlay */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(11, 12, 14, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-8) var(--space-5) var(--space-7);
  opacity: 0;
  transition: opacity var(--t-base) var(--ease);
}
/* Sichtbarkeit steuert das hidden-Attribut über JavaScript. Ein zusätzlicher
   visibility-Übergang würde sich damit nur ins Gehege kommen. */
.menu.is-open { opacity: 1; }
/* Ohne diese Zeile gewinnt display:flex gegen das hidden-Attribut und das
   Menü läge schon vor dem ersten Klick über der Seite. */
.menu[hidden] { display: none; }
@media (min-width: 1024px) { .menu { display: none; } }

.menu__list { display: flex; flex-direction: column; gap: var(--space-1); }
.menu__link {
  display: block;
  padding: var(--space-4) 0;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(14px);
}
.menu.is-open .menu__link {
  opacity: 1;
  transform: none;
  transition: opacity var(--t-slow) var(--ease) calc(var(--i, 0) * 45ms),
              transform var(--t-slow) var(--ease) calc(var(--i, 0) * 45ms);
}
.menu__link .num {
  font-size: 0.75rem;
  color: var(--brass);
  margin-right: var(--space-3);
  vertical-align: 0.6em;
  letter-spacing: 0.1em;
}
.menu__foot { margin-top: var(--space-7); display: grid; gap: var(--space-3); }

/* ===========================================================================
   07  HERO
   =========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-h) + var(--space-7));
  padding-bottom: var(--space-8);
  overflow: hidden;
  isolation: isolate;
}

/* -----------------------------------------------------------------------
   Titelbild
   -----------------------------------------------------------------------
   Das Foto liegt als eigene Ebene hinter dem Text. Die Höhe kommt von der
   Sektion, nicht vom Bild — deshalb object-fit: cover statt einer festen
   Bildhöhe. Breite und Höhe stehen trotzdem im <img>, damit der Browser vor
   dem Laden Platz reservieren kann und nichts springt.

   Der langsame Zoom ist bewusst winzig (4 %). Alles darüber wirkt bei einem
   Foto, das ohnehin schon Bewegung zeigt, unruhig.
   ----------------------------------------------------------------------- */
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: var(--bg-raised);   /* sichtbar, solange das Bild lädt */
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1.04);
  animation: hero-zoom 24s var(--ease) infinite alternate;
}
@keyframes hero-zoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12); }
}

/* Der Verlauf über dem Foto. Ohne ihn stünde die Überschrift auf den hellen
   Reglern und wäre dort nicht mehr lesbar — Kontrast geht vor Bildwirkung.
   Unten läuft das Bild zusätzlich in die Seitenfarbe aus, damit der Übergang
   zur nächsten Sektion keine harte Kante bekommt. */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11,12,14,.88) 0%, rgba(11,12,14,.30) 22%, rgba(11,12,14,.30) 45%, rgba(11,12,14,.92) 82%, var(--bg) 100%),
    radial-gradient(120% 80% at 12% 62%, rgba(11,12,14,.94) 0%, rgba(11,12,14,.72) 38%, transparent 76%);
}

/* Ab Tablet steht der Text links, das Bild darf rechts durchatmen. */
@media (min-width: 768px) {
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(11,12,14,.72) 0%, transparent 28%, transparent 62%, rgba(11,12,14,.90) 92%, var(--bg) 100%),
      linear-gradient(100deg, rgba(11,12,14,.97) 0%, rgba(11,12,14,.93) 34%, rgba(11,12,14,.66) 58%, rgba(11,12,14,.34) 100%);
  }
  .hero__media img { object-position: center 45%; }
}

/* Ein Hauch Messing über dem Blau des Fotos, damit Bild und Marke
   zusammenklingen. */
.hero__scrim::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 50% at 8% 50%, var(--brass-wash), transparent 70%);
}

.hero__inner { position: relative; width: 100%; }

.hero__title { margin-bottom: var(--space-5); max-width: 16ch; }
/* Zwei Zeilen, jede für sich — die zweite trägt den Akzent */
.hero__line { display: block; }

.hero__lead { margin-bottom: var(--space-7); max-width: 52ch; }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.hero__note {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.875rem;
  color: var(--text-dim);
  margin-bottom: var(--space-8);
}
.hero__note .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--ok);
  flex: none;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* Scroll-Hinweis */
.hero__scroll {
  position: absolute;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
  display: none;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
@media (min-width: 1024px) and (min-height: 760px) { .hero__scroll { display: flex; } }
.hero__scroll .rail {
  width: 1px; height: 40px;
  background: linear-gradient(var(--brass), transparent);
  animation: rail 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes rail {
  0%   { transform: scaleY(0); opacity: 0; }
  40%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1) translateY(40px); opacity: 0; }
}

/* ===========================================================================
   08  VORTEILE
   =========================================================================== */

.cards {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .cards { grid-template-columns: repeat(2, 1fr); gap: var(--space-5); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }

.card {
  position: relative;
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color var(--t-slow) var(--ease), background-color var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}

/* Weicher Messing-Schimmer, der beim Überfahren von oben einblendet */
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 50% 0%, var(--brass-wash), transparent 70%);
  opacity: 0;
  transition: opacity var(--t-slow) var(--ease);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { border-color: var(--line-strong); background: var(--surface-2); transform: translateY(-3px); }
  .card:hover::after { opacity: 1; }
}

.card__icon {
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--brass-wash);
  border: 1px solid rgba(201, 162, 39, 0.22);
  color: var(--brass);
  margin-bottom: var(--space-5);
}
.card__icon svg { width: 22px; height: 22px; }

.card__title { margin-bottom: var(--space-3); }
.card__text { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.65; }

/* ===========================================================================
   09  TECHNISCHE DATEN
   =========================================================================== */

.spec { position: relative; }

.spec__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}

/* Reiter — auf Mobilgeräten horizontal scrollbar, aber ohne Scrollbalken */
.tabs {
  display: flex;
  gap: var(--space-2);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: var(--space-1);
  margin-right: auto;
}
.tabs::-webkit-scrollbar { display: none; }

.tab {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  padding: var(--space-2) var(--space-5);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color var(--t-base) var(--ease), background-color var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
  touch-action: manipulation;
}
.tab svg { width: 16px; height: 16px; }
.tab:hover { color: var(--text); border-color: var(--text-dim); }
.tab[aria-selected='true'] {
  background: var(--brass);
  border-color: var(--brass);
  color: #0B0C0E;
  font-weight: 600;
}

.spec__panel { display: none; }
.spec__panel.is-active { display: block; }

.spec__table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}

.spec__table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }

.spec__table thead th {
  text-align: left;
  padding: var(--space-4) var(--space-5);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--bg-raised);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

.spec__table tbody th {
  text-align: left;
  font-weight: 550;
  color: var(--text);
  width: 26%;
}

.spec__table td, .spec__table tbody th {
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.spec__table tbody tr:last-child td,
.spec__table tbody tr:last-child th { border-bottom: 0; }

.spec__table tbody tr { transition: background-color var(--t-base) var(--ease); }
@media (hover: hover) { .spec__table tbody tr:hover { background: rgba(255, 255, 255, 0.02); } }

.spec__value { color: var(--text); }
.spec__hint { color: var(--text-muted); font-size: 0.875rem; }

/* Auf schmalen Displays wird aus jeder Zeile eine Karte */
@media (max-width: 767px) {
  .spec__table, .spec__table tbody, .spec__table tr, .spec__table td, .spec__table tbody th { display: block; width: 100%; }
  .spec__table thead { display: none; }
  .spec__table tbody tr {
    padding: var(--space-4) var(--space-5);
    border-bottom: 1px solid var(--line);
  }
  .spec__table tbody tr:last-child { border-bottom: 0; }
  .spec__table tbody th {
    padding: 0 0 var(--space-2);
    border: 0;
    font-size: 0.9375rem;
  }
  .spec__table td { padding: 0; border: 0; }
  .spec__table td + td { margin-top: var(--space-2); }
  /* Beschriftung der zweiten Spalte, damit der Kontext nicht verloren geht */
  .spec__table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.625rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 2px;
  }
}

/* Hinweis-Marker in der Tabelle */
.flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 550;
  padding: 2px 10px;
  border-radius: var(--r-full);
  border: 1px solid;
  white-space: nowrap;
}
.flag--warn { color: var(--warn); border-color: rgba(251, 191, 36, 0.3); background: rgba(251, 191, 36, 0.08); }
.flag--ok   { color: var(--ok);   border-color: rgba(74, 222, 128, 0.3); background: rgba(74, 222, 128, 0.08); }

.spec__foot {
  margin-top: var(--space-5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  justify-content: space-between;
}

/* ===========================================================================
   10  MUSIK
   =========================================================================== */

.genres {
  padding: var(--space-6);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  margin-bottom: var(--space-5);
}
@media (min-width: 768px) { .genres { padding: var(--space-6) var(--space-7); } }

.genres__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: var(--space-4);
}

.genre-list { display: flex; flex-wrap: wrap; gap: var(--space-2); }

/* Reine Auszeichnung, kein Bedienelement — deshalb bewusst kein
   Zeigefinger-Cursor und kein Hover-Zustand, der Klickbarkeit verspricht. */
.genre {
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  font-size: 0.875rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.proof { display: grid; gap: var(--space-4); }
@media (min-width: 900px) { .proof { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); } }

.proof__item {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding: var(--space-6);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color var(--t-slow) var(--ease), background-color var(--t-slow) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .proof__item:hover { border-color: var(--line-strong); background: var(--surface-2); }
}

.proof__icon {
  flex: none;
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--r-md);
  background: var(--brass-wash);
  border: 1px solid rgba(201, 162, 39, 0.22);
  color: var(--brass);
}
.proof__icon svg { width: 19px; height: 19px; }

.proof__title { margin-bottom: var(--space-2); font-size: 1.0625rem; }
.proof__text { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.65; text-wrap: pretty; }

/* ===========================================================================
   11  FAQ
   =========================================================================== */

.faq { border-top: 1px solid var(--line); }

.faq__item { border-bottom: 1px solid var(--line); }

.faq__trigger {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-5);
  padding: var(--space-5) 0;
  text-align: left;
  min-height: 56px;
  color: var(--text);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  font-weight: 550;
  letter-spacing: -0.015em;
  line-height: 1.4;
  transition: color var(--t-base) var(--ease);
  touch-action: manipulation;
}
.faq__trigger:hover { color: var(--brass); }

.faq__sign {
  position: relative;
  flex: none;
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--brass);
  margin-top: 2px;
  transition: transform var(--t-slow) var(--ease), background-color var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.faq__sign::before,
.faq__sign::after {
  content: '';
  position: absolute;
  width: 11px; height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-slow) var(--ease), opacity var(--t-base) var(--ease);
}
.faq__sign::after { transform: rotate(90deg); }
.faq__trigger[aria-expanded='true'] .faq__sign {
  background: var(--brass);
  border-color: var(--brass);
  color: #0B0C0E;
  transform: rotate(180deg);
}
.faq__trigger[aria-expanded='true'] .faq__sign::after { transform: rotate(90deg) scaleX(0); opacity: 0; }

/* Auf- und Zuklappen über grid-template-rows — animiert sauber ohne
   Höhenberechnung in JavaScript und ohne Layout-Sprung. */
.faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-slow) var(--ease);
}
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }

.faq__panel-inner { overflow: hidden; }

.faq__answer {
  padding-bottom: var(--space-6);
  padding-right: var(--space-7);
  color: var(--text-muted);
  max-width: 68ch;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
  text-wrap: pretty;
}
.faq__item.is-open .faq__answer {
  opacity: 1;
  transform: none;
  transition-delay: 80ms;
}
.faq__answer p + p { margin-top: var(--space-3); }
.faq__answer strong { color: var(--text); font-weight: 600; }

/* ===========================================================================
   12  KONTAKT & FOOTER
   =========================================================================== */

.contact {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.contact::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  aspect-ratio: 2 / 1;
  background: radial-gradient(ellipse at center, var(--brass-wash), transparent 62%);
  pointer-events: none;
}

.contact__grid {
  display: grid;
  gap: var(--space-5);
  align-items: start;
}
/* Raster-Kinder dürfen schmaler werden als ihr Inhalt — sonst gewinnt
   immer der längste Text. */
.contact__grid > * { min-width: 0; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 1.25fr 1fr; gap: var(--space-6); } }

.box {
  padding: var(--space-6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
}
@media (min-width: 768px) { .box { padding: var(--space-7); } }

.box--accent {
  border-color: rgba(201, 162, 39, 0.28);
  background:
    linear-gradient(180deg, rgba(201, 162, 39, 0.06), transparent 55%),
    var(--surface);
  box-shadow: var(--shadow-3);
}

.box__title { margin-bottom: var(--space-3); }
.box__text { color: var(--text-muted); margin-bottom: var(--space-6); text-wrap: pretty; }

.box__actions { display: grid; gap: var(--space-3); }
.box__actions > * { min-width: 0; }
@media (min-width: 560px) { .box__actions { grid-template-columns: 1fr 1fr; } }
.box__actions .btn--block { width: 100%; }

/* Direkte Kontaktdaten als Liste */
.contact__list { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--line); display: grid; gap: var(--space-4); }
.contact__row { display: flex; align-items: center; gap: var(--space-4); }
.contact__row svg { width: 18px; height: 18px; color: var(--brass); flex: none; }
.contact__row-label { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); }
.contact__row-value { font-size: 0.9375rem; }

/* QR-Karten-Box */
.qr__vis {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-md);
  margin-bottom: var(--space-5);
  background: rgba(255, 255, 255, 0.02);
}
.qr__code { width: 56px; height: 56px; flex: none; color: var(--brass); }
.qr__vis-text { font-size: 0.8125rem; color: var(--text-dim); line-height: 1.5; }

/* Stückzahl-Auswahl */
.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-5); }
.chip {
  min-height: 44px;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  font-size: 0.875rem;
  font-weight: 550;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  transition: all var(--t-base) var(--ease);
  touch-action: manipulation;
}
.chip:hover { color: var(--text); border-color: var(--text-dim); }
.chip[aria-pressed='true'] {
  background: var(--brass-wash);
  border-color: var(--brass);
  color: var(--brass-bright);
}

.chips__label { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-dim); margin-bottom: var(--space-3); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding-block: var(--space-7) var(--space-6); }

.footer__grid {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}
@media (min-width: 768px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr; gap: var(--space-7); } }

.footer__brand-name { font-size: 1rem; font-weight: 650; margin-bottom: var(--space-1); }
.footer__brand-role { font-size: 0.625rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--brass); margin-bottom: var(--space-4); }
.footer__addr { font-style: normal; color: var(--text-muted); font-size: 0.875rem; line-height: 1.7; }

.footer__head { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: var(--space-4); }
.footer__list { display: grid; gap: var(--space-1); }
.footer__list a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color var(--t-base) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;          /* Telefon und WhatsApp werden hier angetippt */
  touch-action: manipulation;
}
.footer__list a:hover { color: var(--brass); }
.footer__list svg { width: 15px; height: 15px; }

.footer__bottom {
  padding-top: var(--space-5);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.to-top {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  color: var(--text-dim);
  transition: color var(--t-base) var(--ease);
}
.to-top:hover { color: var(--brass); }
.to-top svg { width: 16px; height: 16px; }

/* ===========================================================================
   13  STICKY-LEISTE (MOBIL)
   ---------------------------------------------------------------------------
   Erscheint erst, wenn der Hero durchgescrollt ist. Damit ist der
   Haupt-Kontaktweg auf dem Handy immer einen Daumen weit entfernt.
   =========================================================================== */

.dock {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: var(--z-sticky);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4) calc(var(--space-3) + env(safe-area-inset-bottom));
  background: var(--surface-glass);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform var(--t-slow) var(--ease);
}
.dock.is-visible { transform: none; }
@media (min-width: 768px) { .dock { display: none; } }

/* Platz schaffen, damit die Leiste nichts verdeckt */
@media (max-width: 767px) {
  body { padding-bottom: 84px; }
}

/* ===========================================================================
   14  ANIMATIONEN
   ---------------------------------------------------------------------------
   Alles läuft über transform und opacity — beides erzeugt kein Neu-Layout
   und bleibt damit auch auf schwachen Geräten bei 60 fps.
   =========================================================================== */

/* Grund-Reveal: wird per IntersectionObserver mit .is-in freigeschaltet */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 700ms var(--ease) calc(var(--i, 0) * 70ms),
    transform 700ms var(--ease) calc(var(--i, 0) * 70ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; will-change: auto; }

/* Wort-Maske für die Hero-Überschrift */
.word { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.word > span {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 900ms var(--ease) calc(var(--i, 0) * 60ms);
}
.is-loaded .word > span { transform: none; }

/* Einfaches Einblenden für Hero-Elemente unterhalb der Überschrift */
.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 800ms var(--ease) calc(300ms + var(--i, 0) * 90ms),
    transform 800ms var(--ease) calc(300ms + var(--i, 0) * 90ms);
}
.is-loaded .fade-up { opacity: 1; transform: none; }

/* Linie, die sich aufzieht */
.rule {
  height: 1px;
  background: var(--line-strong);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 900ms var(--ease);
}
.rule.is-in { transform: scaleX(1); }

/* -----------------------------------------------------------------------
   Reduzierte Bewegung — Pflicht, nicht Kür.
   Alles wird sofort sichtbar, nichts bewegt sich von allein.
   ----------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  .reveal, .fade-up { opacity: 1 !important; transform: none !important; }
  .word > span { transform: none !important; }
  .rule { transform: scaleX(1) !important; }
  .hero__media img { animation: none !important; transform: none !important; }
  .hero__scroll .rail { animation: none !important; opacity: 0.6; }
  .hero__note .dot { animation: none !important; }
}

/* Schwache Geräte: Blur ist teuer. Wird per JS über .is-lite abgeschaltet.
   Der Bildzoom entfällt dort ebenfalls — er kostet auf jedem Frame eine
   Neuberechnung der Bildskalierung. */
.is-lite .hero__media img { animation: none; transform: none; }
.is-lite .nav.is-stuck,
.is-lite .dock,
.is-lite .menu { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(11, 12, 14, 0.97); }

/* ===========================================================================
   15  DRUCKANSICHT
   ---------------------------------------------------------------------------
   Die Technik-Sektion soll als Datenblatt taugen: Ein Klick auf "Datenblatt
   drucken" liefert eine saubere Seite auf Papier oder als PDF — genau das,
   was ein Veranstaltungsleiter an die Haustechnik weitergibt.
   =========================================================================== */

@media print {
  :root { --bg: #fff; --text: #000; }

  body { background: #fff; color: #000; padding: 0; font-size: 11pt; }

  .nav, .menu, .dock, .hero, .hero__scroll,
  .benefits, .music, .faq-section, .contact,
  .spec__bar, .spec__foot, .skip-link { display: none !important; }

  .section { padding: 0; }
  .section::before { display: none; }

  /* Im Druck werden alle Reiter gezeigt, nicht nur der aktive */
  .spec__panel { display: block !important; page-break-inside: avoid; margin-bottom: 18pt; }
  .spec__panel::before {
    content: attr(data-print-title);
    display: block;
    font-size: 13pt;
    font-weight: 700;
    margin-bottom: 6pt;
    padding-bottom: 3pt;
    border-bottom: 1.5pt solid #000;
  }

  .spec__table-wrap { border: 1pt solid #999; border-radius: 0; background: #fff; }
  .spec__table { display: table !important; }
  .spec__table thead { display: table-header-group !important; }
  .spec__table tbody { display: table-row-group !important; }
  .spec__table tr { display: table-row !important; padding: 0 !important; }
  .spec__table th, .spec__table td { display: table-cell !important; padding: 5pt 8pt !important; border-bottom: 0.5pt solid #ccc !important; color: #000 !important; }
  .spec__table thead th { background: #eee; }
  .spec__table td[data-label]::before { display: none !important; }

  .flag { border: 0.5pt solid #666; color: #000 !important; background: none !important; }

  .reveal, .fade-up { opacity: 1 !important; transform: none !important; }

  .print-head { display: block !important; margin-bottom: 14pt; padding-bottom: 8pt; border-bottom: 2pt solid #000; }
  .print-foot { display: block !important; margin-top: 14pt; padding-top: 8pt; border-top: 0.5pt solid #999; font-size: 9pt; color: #333; }

  a[href^='http']::after { content: ''; }
}

/* Kopf- und Fußzeile nur auf Papier */
.print-head, .print-foot { display: none; }
