/* fokus.css – NUR Startseiten-spezifisch: Landung + Fokus-Intro.
   Ersetzt tiefenflug.css. Geteilte Basis-Styles (Topbar, Dock, Typo, Buttons,
   Footer …) stehen weiterhin in site.css. index.html bindet beide Dateien ein.

   Hinweis: Der LANDUNG-Block ist 1:1 aus tiefenflug.css übernommen, damit die
   normale Startseite unter dem Intro unverändert aussieht. Neu ist nur der
   FOKUS-INTRO-Block (ersetzt den früheren TIEFENFLUG-INTRO-Block). */

/* ==================== LANDUNG (normale Startseite) ==================== */

.landung .hero { padding: 90px 0 40px; }
.landung .hero h1 {
	font-size: clamp(40px, 6vw, 72px);
	font-weight: 600;
	letter-spacing: -0.05em;
	line-height: 1.05;
	margin: 18px 0 18px;
}
.landung .hero .gedaempft { max-width: 560px; }

.zeilen { padding-bottom: 90px; }
.zeile {
	display: flex; justify-content: space-between; align-items: baseline;
	border-top: 1px solid var(--linie);
	padding: 22px 0;
	color: var(--text-leise);
	font-size: 16px;
	transition: color 0.2s ease-out;
}
.zeile b { color: var(--text); font-size: 20px; font-weight: 600; letter-spacing: -0.04em; }
.zeile:hover { color: var(--text); }

/* ==================== FOKUS-INTRO ====================
   Vollbild-Heldenbild, das beim Laden in die Schärfe zieht; beim Scrollen
   wechselt die Bildserie (Schärfeverlagerung). Monochrome HUD-Schicht über
   dem Foto – Farbe kommt nur aus den Bildern. Logik in custom/fokus.js. */

.fokus-strecke { height: 560vh; position: relative; }

.fokus-buehne {
	position: sticky; top: 0;
	height: 100vh;
	overflow: hidden;
	background: #0a0a0a; /* hinter dem Foto; Foto deckt komplett */
}

/* Foto + Wrapper (Wrapper trägt die dezente Eigenbewegung, Foto die Schärfe) */
.fokus-bildwrap { position: absolute; inset: 0; will-change: transform; }
.fokus-bild {
	position: absolute; inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	filter: blur(16px); /* Startzustand vor dem ersten Scharfziehen (JS übernimmt) */
	will-change: filter, transform, opacity;
}

/* Leichte Abdunklung an den Rändern – hält die weiße HUD-Schrift lesbar */
.fokus-vignette {
	position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(125% 125% at 50% 42%, transparent 50%, rgba(0, 0, 0, 0.55) 100%);
}

.fokus-hud {
	position: absolute; inset: 0;
	pointer-events: none;
	color: #fff;
	will-change: opacity;
}

/* Fokus-Klammern in der Mitte (rasten beim Laden ein) */
.fokus-rahmen {
	position: absolute; top: 50%; left: 50%;
	width: clamp(130px, 28vmin, 420px);
	height: clamp(130px, 28vmin, 420px);
	transform: translate(-50%, -50%);
	animation: fokusKlammer 1.4s 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.fokus-rahmen span {
	position: absolute; width: 18%; height: 18%;
	border: 0 solid rgba(255, 255, 255, 0.95);
}
.fokus-rahmen .tl { top: 0; left: 0;  border-top-width: 2px; border-left-width: 2px; }
.fokus-rahmen .tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.fokus-rahmen .bl { bottom: 0; left: 0;  border-bottom-width: 2px; border-left-width: 2px; }
.fokus-rahmen .br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
@keyframes fokusKlammer {
	from { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
	to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

/* Marke oben links */
.fokus-marke {
	position: absolute;
	top: clamp(22px, 5vmin, 52px); left: clamp(22px, 5vmin, 56px);
	animation: fokusHoch 0.9s 1s both;
}
.fokus-marke .name {
	font-weight: 600; /* wie die Seiten-Überschriften; Inter 700 ist nicht eingebunden */
	font-size: clamp(20px, 4.6vmin, 54px);
	line-height: 1; letter-spacing: 0.004em;
}
.fokus-marke .sub {
	margin-top: 1.6vmin;
	font-family: "Fragment Mono", monospace;
	font-size: clamp(8px, 1.5vmin, 13px);
	letter-spacing: 0.26em;
	color: rgba(255, 255, 255, 0.82);
}

/* Belichtungsdaten + Bildunterschrift unten links */
.fokus-meta {
	position: absolute;
	left: clamp(22px, 5vmin, 56px); bottom: clamp(26px, 6vmin, 56px);
	animation: fokusHoch 0.9s 1.15s both;
}
.fokus-meta .expo {
	font-family: "Fragment Mono", monospace;
	font-size: clamp(9px, 1.8vmin, 15px);
	letter-spacing: 0.12em;
}
.fokus-meta .cap {
	margin-top: 1.4vmin;
	font-family: "Fragment Mono", monospace;
	font-size: clamp(8px, 1.45vmin, 12px);
	line-height: 1.4; letter-spacing: 0.07em;
	color: rgba(255, 255, 255, 0.66);
	max-width: 62vw;
}

/* „Fokus gesetzt" unten rechts */
.fokus-lock {
	position: absolute;
	right: clamp(22px, 5vmin, 56px); bottom: clamp(26px, 6vmin, 56px);
	display: flex; align-items: center; gap: 1.5vmin;
	animation: fokusEin 1s 1.35s both;
}
.fokus-lock .punkt {
	width: 1.4vmin; height: 1.4vmin; min-width: 7px; min-height: 7px;
	border-radius: 50%; background: #fff;
	box-shadow: 0 0 9px rgba(255, 255, 255, 0.9);
	animation: fokusBlinken 1.7s infinite;
}
.fokus-lock .text {
	font-family: "Fragment Mono", monospace;
	font-size: clamp(8px, 1.5vmin, 13px);
	letter-spacing: 0.18em;
}

/* Scroll-Hinweis unten Mitte */
.fokus-hinweis {
	position: absolute; left: 50%; bottom: clamp(18px, 3.5vmin, 40px);
	transform: translateX(-50%);
	display: flex; flex-direction: column; align-items: center; gap: 0.9vmin;
	color: rgba(255, 255, 255, 0.85);
	transition: opacity 0.4s ease-out;
	animation: fokusScroll 1.9s ease-in-out infinite;
}
.fokus-hinweis .wort {
	font-family: "Fragment Mono", monospace;
	font-size: clamp(7px, 1.3vmin, 11px);
	letter-spacing: 0.34em;
}
.fokus-hinweis .pfeil { font-size: clamp(12px, 2.2vmin, 18px); line-height: 1; }

/* Dünne Fortschrittslinie am unteren Rand */
.fokus-fortschritt {
	position: absolute; left: 0; bottom: 0;
	width: 100%; height: 2px;
	background: rgba(255, 255, 255, 0.16);
}
.fokus-fortschritt span {
	display: block; height: 100%; width: 0;
	background: #fff;
}

@keyframes fokusHoch  { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fokusEin   { from { opacity: 0; } to { opacity: 1; } }
@keyframes fokusBlinken { 0%, 48% { opacity: 1; } 50%, 100% { opacity: 0.12; } }
@keyframes fokusScroll {
	0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.55; }
	50%      { transform: translateX(-50%) translateY(7px); opacity: 1; }
}

/* ==================== FALLBACKS ====================
   - .kein-js: steht im HTML, fokus.js entfernt sie; ohne JS bleibt sie stehen
     und das Intro wird ausgeblendet (Besucher sieht direkt die Startseite).
   - .ohne-intro: setzt fokus.js bei prefers-reduced-motion. */

.kein-js .fokus-strecke,
.ohne-intro .fokus-strecke { display: none; }

@media (prefers-reduced-motion: reduce) {
	.fokus-rahmen, .fokus-marke, .fokus-meta, .fokus-lock,
	.fokus-hinweis, .fokus-lock .punkt { animation: none; }
	.fokus-bild { filter: none; }
}

@media (max-width: 760px) {
	.fokus-strecke { height: 480vh; }
}
