/* ---------- Hero: Schere, Haarsträhnen, der Schnitt, Kamerafahrt in die Goldschraube ---------- */
.hero { position: relative; background: var(--ink-950); }

.hero__stage {
  --shears-w: min(70vw, 70rem);
  --shears-right: -5vw;
  --shears-top: 50%;
  --bar-h: clamp(1.75rem, 6svh, 4rem);
  --cut-y: 50%;

  position: relative;
  height: 100svh;
  min-height: 36rem;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink-950);
}

/* Warmes Spotlicht über der Schere, wie die Lampe über dem Stuhl */
.hero__light {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 46% 60% at 66% 46%, rgb(201 154 75 / 0.2) 0%, rgb(171 127 49 / 0.07) 42%, transparent 72%),
    radial-gradient(ellipse 120% 80% at 50% 120%, var(--ink-800) 0%, transparent 60%);
}

.hero__set { position: absolute; inset: 0; }

.hero__hair {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  overflow: visible;
}
.strand {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.js:not(.reduced-motion) .strand {
  transform-box: fill-box;
  transform-origin: 50% 0;
  animation: sway var(--sway-dur, 6s) ease-in-out var(--sway-delay, 0s) infinite alternate;
}
@keyframes sway {
  from { transform: rotate(calc(var(--sway, 0.6deg) * -1)); }
  to { transform: rotate(var(--sway, 0.6deg)); }
}

.shears {
  position: absolute;
  right: var(--shears-right);
  top: var(--shears-top);
  width: var(--shears-w);
  max-width: none;
  height: auto;
  translate: 0 -50%;
  overflow: visible;
  filter: drop-shadow(0 30px 40px rgb(0 0 0 / 0.55)) drop-shadow(0 0 1px rgb(255 255 255 / 0.2));
}

/* Schnittlinie: blitzt beim Zuschnappen quer durchs Bild */
.hero__cut {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--cut-y);
  height: 2px;
  margin-top: -1px;
  background: linear-gradient(90deg, transparent, var(--gold-hot) 30%, #fff 70%, transparent);
  box-shadow: 0 0 18px 2px rgb(232 194 124 / 0.6);
  transform: scaleX(0);
  transform-origin: right;
  opacity: 0;
}

/* ---------- Text ---------- */
.hero__copy {
  position: absolute;
  inset: auto 0 calc(var(--bar-h) + clamp(3rem, 9svh, 6.5rem));
  z-index: 4;
}
.hero__kicker { margin-bottom: 1.4rem; }
.hero__title {
  max-width: 11ch;
  font-size: var(--text-hero);
  text-shadow: 0 2px 30px rgb(11 9 7 / 0.6);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .line > span { display: block; }
.hero__lede {
  max-width: min(30rem, 34vw);
  margin-top: 1.5rem;
  color: var(--sand-300);
  font-size: var(--text-lg);
  line-height: 1.5;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* Satz, den der Schnitt teilt: zwei gleiche Ebenen, oben und unten abgeschnitten */
.hero__statement {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: var(--cut-y);
  z-index: 4;
  display: grid;
  font-size: var(--text-3xl);
  translate: 0 -50%;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.hero__statement-half { grid-area: 1 / 1; }
.hero__statement-half--top { clip-path: inset(0 0 50% 0); }
.hero__statement-half--bottom { clip-path: inset(50% 0 0 0); }

/* Silberscheibe: deckt sich anfangs genau mit der Schraube, dann fährt die Kamera hinein */
.hero__disc {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #ffffff 0%, #d9d9d6 30%, #a9a9a6 65%, #6c6c69 100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.hero__disc i {
  position: absolute;
  left: 22%;
  right: 22%;
  top: 50%;
  height: 9%;
  margin-top: -4.5%;
  border-radius: 99px;
  background: #3e3e3c;
  rotate: 28deg;
}

.hero__finale {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 0.6rem;
  padding: var(--gutter);
  color: var(--ink-950);
  text-align: center;
  opacity: 0;
  visibility: hidden;
}
.hero__finale-mark { width: clamp(4.5rem, 3rem + 5vw, 7.5rem); }
.hero__finale-mark rect { fill: none; stroke: var(--ink-950); stroke-width: 2.2; }
.hero__finale-mark text { font-family: var(--font-display); font-size: 25px; fill: var(--ink-950); }
.hero__finale-name { font-size: var(--text-3xl); }
.hero__finale-tag {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

/* ---------- HUD ---------- */
.hud {
  position: absolute;
  inset: calc(var(--bar-h) + 4.5rem) var(--gutter) calc(var(--bar-h) + 1rem);
  z-index: 3;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(241 233 220 / 0.72);
}
.hud__corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 0 solid rgb(201 154 75 / 0.65);
}
.hud__corner--tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.hud__corner--tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.hud__corner--bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.hud__corner--br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.hud__row {
  position: absolute;
  left: 2rem;
  right: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.hud__row--top { top: 0.2rem; }
.hud__row--bottom { bottom: 0.2rem; }
.hud__status::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.6em;
  border-radius: 50%;
  background: var(--status-color, var(--gold));
  box-shadow: 0 0 8px var(--status-color, var(--gold));
  vertical-align: 0.05em;
}
.hud__status.is-open { --status-color: var(--open); }
.hud__status.is-closed { --status-color: var(--closed); }
.hud__scroll i {
  display: inline-block;
  width: 1px;
  height: 1.4em;
  margin-left: 0.7em;
  vertical-align: -0.35em;
  background: linear-gradient(var(--gold-hot), transparent);
  animation: scroll-cue 1.8s var(--ease-in-out) infinite;
  transform-origin: top;
}
@keyframes scroll-cue {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(1); opacity: 0; }
}

/* Breitbild-Balken: schließen sich beim Intro */
.hero__bar {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 7;
  height: var(--bar-h);
  background: #000;
  pointer-events: none;
}
.hero__bar--top { top: 0; transform-origin: top; }
.hero__bar--bottom { bottom: 0; transform-origin: bottom; }

.hero__flash {
  position: absolute;
  inset: 0;
  z-index: 8;
  background: #fff7e6;
  opacity: 0;
  pointer-events: none;
}

/* Vor dem Intro nichts aufblitzen lassen (boot.js setzt die Klasse, Notfall-Timeout dort) */
.intro-pending .hero__copy,
.intro-pending .hud,
.intro-pending .shears,
.intro-pending .hero__hair { visibility: hidden; }

/* ---------- Schmale Bildschirme: Schere oben, Text unten ---------- */
@media (max-width: 47.99rem) {
  .hero__stage {
    --shears-w: 132vw;
    --shears-right: -24vw;
    --shears-top: 36%;
  }
  .hero__light {
    background:
      radial-gradient(ellipse 80% 40% at 60% 36%, rgb(201 154 75 / 0.22) 0%, rgb(171 127 49 / 0.07) 45%, transparent 75%),
      radial-gradient(ellipse 120% 60% at 50% 110%, var(--ink-800) 0%, transparent 60%);
  }
  .hero__copy { bottom: calc(var(--bar-h) + 2.6rem); }
  .hero__kicker { margin-bottom: 1rem; }
  .hero__lede { max-width: 30rem; font-size: var(--text-base); margin-top: 1rem; }
  .hero__actions { margin-top: 1.4rem; }
  .hud { inset: calc(var(--bar-h) + 4rem) var(--gutter) calc(var(--bar-h) + 0.6rem); }
  .hud__row { left: 1.6rem; right: 1.6rem; font-size: 0.625rem; }
  .hud__row--bottom .hud__scroll { display: none; }
  .hero__statement { font-size: clamp(2.6rem, 11vw, 4rem); }
}

@media (max-height: 40rem) and (min-width: 48rem) {
  .hero__lede { display: none; }
}

/* ---------- Färben: Pinsel und warmer Farbschimmer ---------- */
.hero__tint {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 36% 55% at 58% 42%, rgb(240 205 130 / 0.2), rgb(201 154 75 / 0.08) 50%, transparent 75%);
  opacity: 0;
  pointer-events: none;
}
.hero__brush, .hero__comb {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 3;
  max-width: none;
  height: auto;
  visibility: hidden;
  filter: drop-shadow(0 22px 28px rgb(0 0 0 / 0.6));
  pointer-events: none;
}
/* Drehpunkt an der Spitze der Borsten bzw. an der Mitte der Zinken, damit das Kippen natürlich wirkt */
.hero__brush { transform-origin: 50% 96%; }
.hero__comb { transform-origin: 50% 90%; }

/* Schritt-Anzeige im HUD */
.hud__steps { display: inline-flex; gap: 1.1rem; }
.hud__steps b {
  font-weight: 400;
  color: rgb(241 233 220 / 0.38);
  transition: color var(--duration-normal);
}
.hud__steps b.is-active { color: var(--gold-hot); }
.hud__steps b.is-active::before { content: "● "; font-size: 0.7em; vertical-align: 0.15em; }
@media (max-width: 47.99rem) {
  .hud__row--top > span:first-child { display: none; }
  .hud__row--top { justify-content: flex-end; }
  .hud__steps { gap: 0.7rem; }
}

/* Die Kennzeile steht für Suchmaschinen im h1, sieht aber aus wie vorher */
.hero__title .hero__kicker {
  display: flex;
  max-width: none;
  margin-bottom: 1.4rem;
  font-weight: 400;
  line-height: 1.4;
  text-shadow: none;
}
@media (max-width: 47.99rem) {
  .hero__title .hero__kicker { margin-bottom: 1rem; }
}
