/* ─────────────────────────────────────────
   HOME HERO — Fullscreen-Foto-Slideshow
   mit wechselndem Sub-Brand-Wort (PHIL.ST…)
   Nur auf der Startseite via $extra_head.
   Body-Klasse: has-fullscreen-hero (Nav-Overlay)
   ───────────────────────────────────────── */

.hero-home {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--night);
}

/* ── Foto-Bühne (Crossfade) ───────────────── */
.hh-stage { position: absolute; inset: 0; }

.hh-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  will-change: opacity;
}
.hh-slide.is-active {
  opacity: 1;
  z-index: 1;   /* eingehendes Bild liegt oben → sauberer Crossfade */
}

/* ── Lesbarkeits-Overlay (unten dunkler) ──── */
.hh-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(11, 28, 38, 0.55) 0%,
      rgba(11, 28, 38, 0.18) 14%,
      rgba(11, 28, 38, 0.10) 45%,
      rgba(11, 28, 38, 0.80) 100%);
  pointer-events: none;
}

/* ── Inhalt (Eyebrow + Titel) ─────────────── */
.hh-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--layout-gutter) clamp(40px, 8vh, 110px);
}

.hh-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 243, 232, 0.72);
  margin-bottom: clamp(12px, 1.8vh, 22px);
  padding-left: 0.14em;
}

/* ── Der Titel: PHIL.ST (durchsichtig, umrandet) + Suffix (Farbe je Kategorie) */
.hh-title {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 0.86;
  font-size: clamp(52px, 13.5vw, 210px);
  margin: 0;
}

/* PHIL.ST — immer VOLLFARBIG (gefüllt). Farbe folgt der aktiven
   Kategorie (Klasse auf .hh-title). */
.hh-fixed {
  color: var(--cream);
  transition: color 0.32s ease;
}

/* Suffix — nur OUTLINE (durchsichtig gefüllt, Kontur in Kategorie-Farbe) */
.hh-suffix {
  display: inline-block;
  color: transparent;
  -webkit-text-stroke: 2px var(--cream);
  text-stroke: 2px var(--cream);
  paint-order: stroke fill;
  transition: opacity 0.32s ease, transform 0.32s ease, -webkit-text-stroke-color 0.32s ease;
}
.hh-suffix.is-swapping {
  opacity: 0;
  transform: translateX(-0.18em);
}

/* Kategorie-Farbe: PHIL.ST gefüllt + Suffix-Outline in derselben Farbe */
.hhx-street   .hh-fixed { color: var(--teal); }
.hhx-stories  .hh-fixed { color: var(--coral); }
.hhx-studio   .hh-fixed { color: var(--yellow); }
.hhx-stenglin .hh-fixed { color: var(--cream); }   /* Night wäre auf Fotos unlesbar → Cream */

.hhx-street   .hh-suffix { -webkit-text-stroke-color: var(--teal);   text-stroke-color: var(--teal); }
.hhx-stories  .hh-suffix { -webkit-text-stroke-color: var(--coral);  text-stroke-color: var(--coral); }
.hhx-studio   .hh-suffix { -webkit-text-stroke-color: var(--yellow); text-stroke-color: var(--yellow); }
.hhx-stenglin .hh-suffix { -webkit-text-stroke-color: var(--cream);  text-stroke-color: var(--cream); }

/* Dickere Outline auf großen Screens */
@media (min-width: 900px) {
  .hh-suffix { -webkit-text-stroke-width: 3px; }
}

/* ── Scroll-Hinweis unten rechts (Basis in style.css) ── */
.hero-home .hero-scroll-hint { color: rgba(245, 243, 232, 0.6); }

/* ── Logo oben links: im Hero ausgeblendet (der Hero zeigt bereits groß
   PHIL.ST), blendet beim Scrollen ein, sobald die Nav solide wird.
   Nur Startseite (home-hero.css wird nur hier geladen). ── */
.has-fullscreen-hero .site-nav .nav-brand { transition: opacity 0.4s ease; }
.has-fullscreen-hero.nav-hero .site-nav .nav-brand { opacity: 0; pointer-events: none; }

/* ── Tablet / Mobile ──────────────────────── */
@media (max-width: 640px) {
  .hh-content { padding: 0 24px clamp(36px, 7vh, 72px); }
  .hh-eyebrow { font-size: 11px; letter-spacing: 0.14em; }
  .hh-title   { font-size: clamp(44px, 17vw, 96px); }
  .hh-suffix  { -webkit-text-stroke-width: 1.5px; }
}

/* ── Reduced Motion: kein Auto-Wechsel, kein Zoom ── */
@media (prefers-reduced-motion: reduce) {
  .hh-slide { transition: opacity 0.3s ease; }
  .hh-suffix { transition: none; }
}

/* ═════════════════════════════════════════════
   UNTER DEM HERO — Startseiten-Inhalt
   Reihenfolge: Dialog → Vorstellung →
   Drei Welten → Anfrage-Signal → Newsletter (Footer).
   ═════════════════════════════════════════════ */

/* ── Dialog (Blank-Slot): mittig gesetzt, Lead-in-Linie von links ── */
.home-section--dialog {
  max-width: none;          /* volle Breite — Block wird selbst zentriert */
  align-items: center;      /* zentriert .home-dialog horizontal */
  overflow: hidden;         /* beschneidet die überstehende Lead-in-Linie links */
}
.home-dialog {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
}
.home-dialog-line {
  position: absolute;
  top: 0.85em;                     /* auf Höhe der ersten Zeile („Schön") */
  right: calc(100% + 28px);        /* endet 28px links vor dem Text */
  width: 100vw;                    /* läuft nach links bis zum Rand (Überhang geclippt) */
  height: 1px;
  background: rgba(11, 28, 38, 0.32);
}
@media (max-width: 600px) {
  .home-dialog-line { display: none; }   /* auf Handys ausblenden (zu kurz) */
}

.home-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.home-textlink {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--night);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.home-textlink:hover { opacity: 0.6; }

/* ── Vorstellung ──────────────────────────── */
.home-intro {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px var(--layout-gutter) 24px;
}
.home-intro-inner {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.home-intro-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--night);
  margin-bottom: 18px;
}
.home-intro-lead {
  font-size: 18px;
  line-height: 1.65;
  color: var(--night);
  max-width: 46ch;
  margin-bottom: 22px;
}
.home-intro-portrait { display: flex; justify-content: center; }
.home-portrait {
  aspect-ratio: 4 / 5;
  width: 100%;
  height: auto;
  max-width: 300px;
  object-fit: cover;
  display: block;
  background: var(--surface);
}

/* ── Drei Welten ──────────────────────────── */
.home-worlds {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px var(--layout-gutter);
}
.home-worlds-head { margin-bottom: 24px; }
.home-worlds-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.world-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--night);
  background: var(--surface);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.world-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(11, 28, 38, 0.10);
}
.world-card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.world-card-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s ease;
}
.world-card:hover .world-card-img img { transform: scale(1.04); }
.world-card-foot {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.world-card-label {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 24px;
  line-height: 1;
}
.world-card-line { font-size: 15px; line-height: 1.5; color: var(--night); opacity: 0.72; }
.world-card-cta {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.55;
}
.wc-street  .world-card-label { color: var(--teal); }
.wc-stories .world-card-label { color: var(--coral); }
.wc-studio  .world-card-label { color: var(--yellow); }

/* ── Anfrage-Signal ───────────────────────── */
.home-hire { border-top: 1px solid var(--border); }
.home-hire-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px var(--layout-gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 22px;
}
.home-hire-line {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--night);
}

/* ── Mobile ───────────────────────────────── */
@media (max-width: 760px) {
  .home-intro-inner { grid-template-columns: 1fr; gap: 28px; }
  .home-intro-portrait { order: -1; }
  .home-portrait { max-width: 220px; }

  /* Welten-Kacheln stehen untereinander → Bild | Text 50:50, Seite wechselt */
  .home-worlds-grid { grid-template-columns: 1fr; }
  .world-card { flex-direction: row; align-items: stretch; min-height: 172px; }
  .world-card:nth-child(even) { flex-direction: row-reverse; }   /* Bild rechts */
  .world-card-img { flex: 0 0 50%; width: 50%; aspect-ratio: auto; }
  .world-card-foot { width: 50%; justify-content: center; gap: 6px; padding: 18px 20px; }
  .world-card:hover { transform: none; box-shadow: none; }        /* kein Lift auf Touch */
}
@media (max-width: 640px) {
  .home-intro { padding: 24px 24px 12px; }
  .home-worlds { padding: 40px 24px; }
  .home-hire-inner { padding: 44px 24px; }
}
