/* freihafen Text-Hero – Würfel hoch + Amboss + Kran */
@font-face {
  font-family: 'InterHero';
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-var-latin.woff2') format('woff2');
}
.hero-stage.th { flex-direction: column; height: auto; overflow: visible; padding-top: 110px; box-sizing: border-box; }
.fh-hero {
  --fh-size: clamp(40px, min(10.5vw, 14vh), 168px);
  --fh-ink: var(--fg); /* Farbe des Krans */
  box-sizing: border-box;
  width: 100%;
  padding: 0 16px;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  align-items: center;
}
:root[data-theme=dark] .fh-hero { --fh-ink: var(--fg); }
.th .crane { --cw: clamp(40px, min(4.4vw, 7vh), 62px); height: auto; margin-bottom: calc(var(--cw) * .45); opacity: 0; pointer-events: none; }
.fh-hero .fh-claim {
  width: 100%;
  margin: 0;
  color: var(--fh-ink);
  font-family: 'InterHero', Inter, system-ui, sans-serif;
  font-size: var(--fh-size);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.14;
  text-align: center;
  text-transform: none;
  opacity: 0;
}
.fh-slot { display: flex; justify-content: center; align-items: center; height: 1.14em; position: relative; z-index: 2; }
.fh-slot.fh-falling { z-index: 20; } /* Amboss fällt vor Logo und Menü vorbei */
.fh-word, .fh-victim { display: inline-block; white-space: nowrap; }
.fh-victim { position: absolute; transform-origin: 50% 82%; }
.fh-since { display: block; white-space: nowrap; }
.fh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.fh-dust { position: fixed; z-index: 9999; border-radius: 50%; background: #8a8580; pointer-events: none; }
@media (min-width: 768px) { .hero-stage.th { height: auto; padding-top: 140px; min-height: max(590px, calc(100svh - 150px)); } }
@media (max-width: 767px) { .hero-stage.th { padding-top: 80px; min-height: calc(min(128vw, 92vh) - 30px); } }
.fh-hero .fh-since { letter-spacing: -.02em; } /* eigener Wert, sonst klebt die kleinere Zeile */
.th .crane { position: relative; top: 10px; }
.fh-hero .fh-since { margin-top: 5px; font-weight: 400; }
.fh-word, .fh-face { backface-visibility: hidden; }
.fh-face { position: absolute; white-space: nowrap; }
/* Kran der Live-Seite (Vektor) */
.th .crane { width: var(--cw); height: auto; color: var(--fg); }
/* Segeltour: Text-Hero macht Platz */
.hero-stage.th.sailing { margin-bottom: 0 !important; }
.hero-stage.th.sailing .fh-hero { visibility: hidden; position: absolute; top: 0; left: 0; }
/* beim Segeln wieder die Hero-Höhe der Live-Seite */
@media (min-width: 768px) { .hero-stage.th.sailing { padding-top: 0 !important; overflow: hidden; height: calc((100vh - 120px) * .8); height: calc((100svh - 120px) * .8); min-height: 416px !important; } }
/* Umschalter im Sandkasten: .th = Text-Hero, ohne .th = Tiles (alter Hero) */
.hero-stage.th .hero-gl, .hero-stage.th .hero-load, .hero-stage.th .hero-over > .crane, .hero-stage.th .hero-over > .claim { display: none; }
.hero-stage:not(.th) .fh-hero { display: none; }
.fx-pop [hidden] { display: none !important; }
