/* =====================================================================
   Hero Variante E „Studio“: das Büro im Vordergrund – auf großen Bildern.
   Referenzen: knippershelbig.com (ein großer Satz, wer wir sind),
   bollinger-grohmann.com / davidchipperfield.com (Ruhe, wenig Elemente).
   Der Kunde mag große Bilder: vollflächige Fotos, die langsam überblenden;
   darauf nur Firmenzeile, Statement, ein Link und die Bildunterschrift.
   ===================================================================== */
.fhero { display: none; }
.hero-e .xhero, .hero-e .ehero, .hero-e .chero, .hero-e .dhero { display: none; }
.hero-e .fhero { display: block; }
/* Studio-Abschnitt direkt darunter würde denselben Text wiederholen */
.hero-e .variants[data-group="studio"], .hero-e .v-switch .studio-row { display: none; }

.fhero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: #0b0d0f; color: #fff; }

/* Bilder: Überblenden mit langsamem Zoom */
.fh-stage { position: absolute; inset: 0; }
.fh-s { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.8s ease; }
.fh-s.is-active { opacity: 1; z-index: 1; }
.fh-s img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.fh-s.is-active img { animation: fhZoom 9s linear forwards; }
@keyframes fhZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.fh-stage::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.58) 0%, rgba(0,0,0,.18) 14%, rgba(0,0,0,0) 24%, rgba(0,0,0,0) 38%, rgba(0,0,0,.72) 78%, rgba(0,0,0,.82) 100%),
              linear-gradient(90deg, rgba(0,0,0,.3) 0%, rgba(0,0,0,0) 60%); }

/* Inhalt unten */
.fh-in { position: absolute; inset: 0; z-index: 3; display: flex; align-items: flex-end; padding-bottom: clamp(28px, 5vh, 56px); }
.fh-in .container { width: 100%; }

.fh-kicker { display: flex; justify-content: space-between; gap: 16px; margin: 0 0 clamp(18px, 3vh, 32px); padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.28); font-size: 13px; letter-spacing: .02em; color: rgba(255,255,255,.75);
  animation: fhUp 1.1s cubic-bezier(.2, .8, .2, 1) .1s both; }
.fh-kicker span:first-child { color: #fff; font-weight: 600; }

.fh-statement { margin: 0; max-width: 27em; font-size: clamp(26px, 2.5vw, 44px); font-weight: 300; line-height: 1.16; letter-spacing: -.022em;
  color: rgba(255,255,255,.86); hyphens: manual; -webkit-hyphens: manual; text-wrap: pretty; text-shadow: 0 1px 24px rgba(0,0,0,.25);
  animation: fhUp 1.2s cubic-bezier(.2, .8, .2, 1) .25s both; }
.fh-statement b { font-weight: 600; color: #fff; }

.fh-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 48px; margin-top: clamp(22px, 3.6vh, 40px);
  animation: fhUp 1.2s cubic-bezier(.2, .8, .2, 1) .45s both; }
.fh-link { display: inline-flex; gap: 10px; padding: 13px 22px; background: var(--blue); color: #fff; font-weight: 600; transition: background .2s; }
.fh-link:hover { background: var(--blue-dark); }
.fh-link span { transition: transform .3s; }
.fh-link:hover span { transform: translateX(4px); }
@keyframes fhUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* aktuelles Bild: Name + Fortschrittsbalken */
.fh-now { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.fh-cap { display: flex; flex-direction: column; gap: 1px; }
.fh-cap b { font-size: 15px; }
.fh-cap span { font-size: 13px; color: rgba(255,255,255,.72); }
.fh-cap:hover b { text-decoration: underline; text-underline-offset: 3px; }
.fh-cap.swap > * { animation: fhIn .7s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes fhIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.fh-bars { display: flex; gap: 6px; }
.fh-bars button { width: 36px; height: 14px; padding: 6px 0; background: none; }
.fh-bars i { display: block; height: 2px; background: rgba(255,255,255,.35); position: relative; overflow: hidden; }
.fh-bars .is-active i::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: fhBar var(--fh-dur, 7s) linear forwards; }
@keyframes fhBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Handy / Tablet ---------- */
@media (max-width: 760px) {
  .fhero { min-height: 560px; }
  .fh-kicker { flex-direction: column; gap: 2px; }
  .fh-foot { flex-direction: column; align-items: flex-start; }
  .fh-now { align-items: flex-start; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  .fh-s, .fh-s img, .fh-kicker, .fh-statement, .fh-foot { animation: none; transition: none; }
  .fh-s img { transform: none; }
}
