/* EuroPilot Connect, Startseite (Markenauftritt 2026-09).
   Grundlage, Schrift, Knöpfe, Stimmen, Fakten und Fusszeile kommen aus
   /assets/marke.css. Hier stehen nur die Abschnitte der Startseite. */

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; color: #fff; overflow: hidden; background: var(--nacht);
}
.hero-bild { position: absolute; inset: 0; }
.hero-bild img {
  width: 100%; height: 100%; object-fit: cover; object-position: 46% 58%;
  transform-origin: 46% 55%;
}
.js .hero-bild img { animation: landen 2.6s var(--weich) both; }
@keyframes landen { from { transform: scale(1.07); opacity: 0.4; } to { transform: scale(1); opacity: 1; } }
.hero::before, .hero::after { content: ""; position: absolute; left: 0; right: 0; pointer-events: none; z-index: 1; }
.hero::before { top: 0; height: 58%; background: linear-gradient(to bottom, rgba(6, 16, 31, 0.62) 0%, rgba(6, 16, 31, 0.28) 45%, rgba(6, 16, 31, 0) 100%); }
.hero::after { bottom: 0; height: 60%; background: linear-gradient(to top, rgba(6, 16, 31, 0.86) 0%, rgba(6, 16, 31, 0.5) 38%, rgba(6, 16, 31, 0) 100%); }
.hero-inhalt {
  position: relative; z-index: 2; width: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding-top: calc(76px + clamp(40px, 9vh, 110px)); padding-bottom: clamp(32px, 6vh, 64px);
}
.hero h1 { display: flex; flex-direction: column; gap: clamp(18px, 2.4vh, 28px); font-weight: inherit; }
.hero-fuss {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 28px 48px;
  padding-top: 28px; border-top: 1px solid var(--linie-hell);
}
.hero-fuss .lauf { color: rgba(255, 255, 255, 0.86); max-width: 34em; }
@media (max-width: 760px) {
  .hero-fuss { grid-template-columns: 1fr; }
  .hero-fuss .knopf { flex: 1 1 auto; }
  .hero-bild img { object-position: 44% 60%; }
  .hero .anzeige { font-size: 11.5vw; }
}

/* ── Manifest ───────────────────────────────────────────────────── */
.manifest { padding-block: clamp(96px, 12vw, 180px) clamp(72px, 9vw, 130px); }
.manifest-raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: center; }
.manifest-spalte { grid-column: 1 / 8; }
.manifest-text {
  margin-top: 26px;
  font-weight: 300; font-size: clamp(26px, 2.5vw, 40px); line-height: 1.28; letter-spacing: -0.012em;
  color: var(--tinte-3); text-wrap: pretty; max-width: 22em;
}
.manifest-text strong { font-weight: 300; color: var(--tinte); }
.manifest-spalte .textlink { margin-top: 36px; }
.manifest-foto { grid-column: 9 / 13; }
.manifest-foto img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 40% 40%; }
.zahlen {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(72px, 9vw, 128px); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie);
}
.zahlen div { padding: 26px 24px 30px 0; }
.zahlen div + div { padding-left: 24px; border-left: 1px solid var(--linie); }
.zahlen dt { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tinte-2); }
.zahlen dd { margin-top: 12px; font-weight: 300; font-size: clamp(44px, 5.2vw, 84px); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.fussnote { margin-top: 20px; font-size: 13px; color: var(--tinte-3); }
@media (max-width: 900px) {
  .manifest-raster { display: flex; flex-direction: column; align-items: stretch; gap: 48px; }
  .manifest-foto img { aspect-ratio: 4 / 3; }
  .zahlen { grid-template-columns: 1fr 1fr; }
  .zahlen div { padding: 22px 16px 24px 0; }
  .zahlen div + div { padding-left: 0; border-left: 0; }
  .zahlen div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--linie); }
  .zahlen div:nth-child(n+3) { border-top: 1px solid var(--linie); }
  .zahlen div:nth-child(3) { grid-column: 1 / 3; }
}

/* ── Flugtag ────────────────────────────────────────────────────── */
.flugtag { background: var(--navy); color: #fff; padding-bottom: clamp(80px, 10vw, 160px); }
.flugtag-kopf { padding-block: clamp(96px, 12vw, 180px) clamp(56px, 7vw, 110px); display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: end; }
.flugtag-kopf .titel { margin-top: 22px; }
.phasen-leiste { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--linie-hell); }
.phasen-leiste li { border-bottom: 1px solid var(--linie-hell); }
.phasen-leiste li:nth-child(odd) { border-right: 1px solid var(--linie-hell); }
.phasen-leiste a {
  display: flex; align-items: baseline; gap: 14px; padding: 16px 16px 16px 0; text-decoration: none;
  font-size: 15px; font-weight: 600; color: var(--hell-2); transition: color .2s;
}
.phasen-leiste li:nth-child(even) a { padding-left: 18px; }
.phasen-leiste a:hover { color: #fff; }
.phasen-leiste .nr { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--hell-3); font-variant-numeric: tabular-nums; }

.phase { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; column-gap: clamp(16px, 2vw, 32px); }
.phase + .phase { margin-top: clamp(150px, 17vw, 260px); }
.phase-bild { grid-column: 1 / 5; grid-row: 1; position: relative; height: min(88vh, 900px); min-height: 520px; overflow: hidden; background: var(--nacht); }
.phase-bild img, .phase-bild video { position: absolute; left: 0; width: 100%; height: 118%; top: -9%; object-fit: cover; will-change: transform; }
.phase-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 16, 31, 0.35), rgba(6, 16, 31, 0) 40%); pointer-events: none; }
.phase-text { grid-column: 9 / 13; grid-row: 1; align-self: center; padding-right: var(--rand); }
/* Gerät so gross und so gesetzt wie in „03 Im Flug“, für alle vier Phasen
   (Tim, 23.09.2026): fünf Spalten breit, eine Spalte über der Fotokante,
   senkrecht mittig zum Text. Das Foto ist dafür vier Spalten breit. */
.phase-geraet {
  grid-column: 4 / 9; grid-row: 1; align-self: center; position: relative; z-index: 2;
  /* kein filter:drop-shadow: Safari (iPhone) malt ihn als eckigen Kasten */
}
.phase-geraet img { width: 100%; height: auto; }
/* iPad mit laufender Aufnahme: Video unter dem Rahmen. Masse aus dem
   Mockup gemessen (Bildschirm 101/102 bis 2632/1997 von 2732 x 2098),
   3 px grösser, damit die Blende die Kante deckt. */
.geraet-rahmen { position: relative; z-index: 1; display: block; pointer-events: none; }
.geraet-schirm {
  position: absolute; z-index: 0; left: 3.587%; top: 4.719%; width: 92.862%; height: 90.610%;
  object-fit: cover; border-radius: 2.48% / 3.31%; background: #0b1627;
}

/* gespiegelt: Bild rechts, Text links */
.phase.rechts .phase-bild { grid-column: 9 / 13; }
.phase.rechts .phase-text { grid-column: 1 / 5; padding-right: 0; padding-left: var(--rand); }
.phase.rechts .phase-geraet { grid-column: 5 / 10; }

.phase-nr { display: flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--hell-2); }
.phase-nr .wpt { width: 14px; height: 14px; flex: none; }
.phase-nr .zahl { font-variant-numeric: tabular-nums; color: #fff; }
.phase-text .titel-klein { margin-top: 22px; color: #fff; }
.phase-text .lauf { margin-top: 20px; }
.phase-text .hinweis { margin-top: 14px; font-size: 13.5px; color: var(--hell-3); }
.phase-text .merkmale { margin-top: 30px; }

/* Phase mit Hochkant-Film: Lage wie alle Phasen (oben), nur etwas höher */
.phase.film .phase-bild { height: min(90vh, 900px); }

@media (max-width: 1000px) {
  .flugtag-kopf { grid-template-columns: 1fr; }
  .phase, .phase.rechts, .phase.film { display: flex; flex-direction: column; align-items: stretch; }
  .phase-bild, .phase.film .phase-bild { width: 100%; height: 72vh; min-height: 440px; max-height: 720px; }
  .phase.film .phase-bild { width: min(100%, 520px); margin-inline: auto; }
  .phase-geraet, .phase.film .phase-geraet { width: 88%; margin: -22vw auto 0; }
  .phase-text, .phase.rechts .phase-text { padding: 44px var(--rand) 0; }
}

/* ── Filmband ───────────────────────────────────────────────────── */
.band { position: relative; height: 92vh; min-height: 560px; overflow: hidden; background: var(--nacht); color: #fff; display: flex; align-items: flex-end; }
.band video, .band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 16, 31, 0.8), rgba(6, 16, 31, 0.1) 55%, rgba(6, 16, 31, 0.3)); }
.band .rahmen { position: relative; z-index: 1; padding-bottom: clamp(40px, 7vh, 80px); }
.band .anzeige { font-size: clamp(44px, 7.4vw, 124px); }
.band .anzeige span { display: block; overflow-wrap: break-word; hyphens: auto; }
.band .anzeige span + span { color: rgba(255, 255, 255, 0.55); }
/* Im letzten Clip zeigt der Film selbst Logo und Werbespruch: die Zeile
   blendet vorher aus (home.js setzt .logo-an), damit sich nichts überlagert. */
.js .band.logo-an .anzeige, .band.logo-an .anzeige { opacity: 0; transition: opacity .8s ease; }

/* ── Heimatplatz ────────────────────────────────────────────────── */
.heimat { padding-block: clamp(96px, 12vw, 180px); }
.heimat-raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: center; }
.heimat-foto { grid-column: 1 / 7; }
.heimat-foto img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 62%; }
.heimat-text { grid-column: 8 / 13; }
.heimat-text .titel { margin-top: 22px; }
.heimat-text .lauf { margin-top: 22px; }
.platzblatt { margin-top: 40px; border-top: 1px solid var(--tinte); }
.platzblatt .icao { font-weight: 300; font-size: clamp(56px, 5.6vw, 92px); line-height: 0.9; letter-spacing: 0.02em; padding: 20px 0 16px; }
.platzdaten { border-top: 1px solid var(--linie); }
.platzdaten div { display: grid; grid-template-columns: 92px 1fr; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--linie); }
.platzdaten dt { font-size: 11.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tinte-3); }
.platzdaten dd { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.heimat-text .textlink { margin-top: 34px; }
@media (max-width: 900px) {
  .heimat-raster { display: flex; flex-direction: column; align-items: stretch; gap: 44px; }
}

/* ── Galerie ────────────────────────────────────────────────────── */
.galerie { padding-bottom: clamp(96px, 12vw, 180px); }
.galerie-kopf { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(36px, 4vw, 60px); }
.galerie-kopf .titel { margin-top: 18px; }
.mosaik { display: grid; grid-template-columns: 6fr 3fr 3fr; grid-template-rows: repeat(2, clamp(220px, 24vw, 380px)); gap: clamp(8px, 1vw, 14px); }
.mosaik figure { position: relative; overflow: hidden; background: var(--papier); }
.mosaik figure:first-child { grid-row: 1 / 3; }
.mosaik img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--weich); }
.mosaik figure:hover img { transform: scale(1.035); }
@media (max-width: 760px) {
  .galerie-kopf { flex-direction: column; align-items: flex-start; }
  .mosaik { grid-template-columns: 1fr 1fr; grid-template-rows: 64vw 40vw 40vw; }
  .mosaik figure:first-child { grid-row: auto; grid-column: 1 / 3; }
}

/* ── Preis ──────────────────────────────────────────────────────── */
.preis { background: var(--navy); color: #fff; padding-block: clamp(96px, 12vw, 180px); }
.preis-raster { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(40px, 6vw, 120px); align-items: end; }
.preis-betrag { display: flex; align-items: baseline; gap: 18px; margin-top: 22px; }
.preis-betrag .v { font-weight: 300; font-size: clamp(96px, 14vw, 232px); line-height: 0.86; letter-spacing: -0.05em; }
.preis-betrag .per { font-size: clamp(20px, 1.8vw, 28px); font-weight: 300; color: var(--hell-2); }
.preis-sub { margin-top: 26px; font-size: 15px; font-weight: 600; color: var(--hell-2); }
.preis-liste { border-top: 1px solid rgba(255, 255, 255, 0.5); }
.preis-liste li { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--linie-hell); font-size: 16px; font-weight: 600; }
.preis-liste li span:last-child { color: var(--hell-3); font-weight: 400; font-size: 14px; text-align: right; }
.preis .knoepfe { margin-top: 36px; }
.preis-fuss { margin-top: 16px; font-size: 13px; color: var(--hell-3); }
@media (max-width: 900px) { .preis-raster { grid-template-columns: 1fr; } }

/* ── Support und Wuensche ───────────────────────────────────────── */
.hilfe { padding-block: clamp(96px, 12vw, 180px); }
.hilfe-kopf { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.hilfe-kopf .titel { margin-top: 18px; }
.hilfe-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--tinte); border-bottom: 1px solid var(--linie); }
.hilfe-card { position: relative; padding: 34px 40px 40px 0; }
.hilfe-card + .hilfe-card { padding-left: 40px; padding-right: 0; border-left: 1px solid var(--linie); }
.hilfe-card h3 { font-weight: 300; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.1; letter-spacing: -0.012em; }
.hilfe-sub { margin-top: 12px; font-size: 15.5px; color: var(--tinte-2); max-width: 32em; }
.hilfe-form { margin-top: 28px; display: flex; flex-direction: column; gap: 6px; }
.hilfe-form input, .hilfe-form textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--tinte);
  background: transparent; border: 0; border-bottom: 1px solid var(--linie); border-radius: 0;
  padding: 14px 0; resize: vertical; transition: border-color .2s;
}
.hilfe-form input::placeholder, .hilfe-form textarea::placeholder { color: var(--tinte-3); }
.hilfe-form input:focus, .hilfe-form textarea:focus { outline: none; border-bottom-color: var(--tinte); }
.hilfe-form .knopf { align-self: flex-start; margin-top: 22px; }
.hf-err { min-height: 1em; font-size: 14px; color: #b3261e; }
.wl-note { font-size: 12.5px; color: var(--tinte-3); }
.wl-note a { color: var(--tinte-2); }
.hilfe-done { display: none; margin-top: 28px; padding: 22px 0; border-top: 1px solid var(--linie); font-size: 16px; color: var(--tinte-2); }
.hilfe-card.sent .hilfe-form { display: none; }
.hilfe-card.sent .hilfe-done { display: block; }
@media (max-width: 900px) {
  .hilfe-kopf { grid-template-columns: 1fr; }
  .hilfe-grid { grid-template-columns: 1fr; border-bottom: 0; }
  .hilfe-card, .hilfe-card + .hilfe-card { padding: 30px 0 40px; border-left: 0; border-bottom: 1px solid var(--linie); }
}
