/* seite.css · STOLLENLICHT (Beispiel), kinematische Seite nach dem Plugin motionsites web builder.
 * Übernommen sind Handwerk und Technik der Beispiele: Medien tragen die Gestaltung, die Oberfläche bleibt still,
 * ein Wiedererkennungsmerkmal (die Stirnlampe unter der Maus), Mega Schrift in Großbuchstaben, Einlauf in fester Reihenfolge,
 * Körnung, ruhige Fassung. Nicht übernommen: Markennamen, Texte, CDN, fremde Schriften, Tailwind, Videos von fremden Servern. */

@font-face { font-family: "Saira Condensed"; src: url("../fonts/saira-condensed-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Saira Condensed"; src: url("../fonts/saira-condensed-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Saira Condensed"; src: url("../fonts/saira-condensed-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito Sans"; src: url("../fonts/nunito-sans-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --aus: cubic-bezier(0.22, 1, 0.36, 1);
  --rund-feld: 6px;
  --abstand: clamp(80px, 11vw, 168px);
  --kopf-hoehe: 72px;
  --tief: #000000;
}
::selection { background: var(--akzent); color: var(--auf-akzent); }
body { font-size: 17px; line-height: 1.6; font-weight: 400; }

/* Körnung über der ganzen Seite: vereint Foto und Fläche, ruhig, ohne Bewegung */
body::after { content: ""; position: fixed; inset: 0; z-index: 70; pointer-events: none; opacity: 0.07; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* ---------- Kopfzeile: Marke links, drei Links, ein Knopf; transparent auf dem Bild, später ruhig dunkel */
.kopfzeile { z-index: 60; }
.marke { font-family: var(--schrift-display); font-weight: 700; font-size: 1.5rem; letter-spacing: 0.2em; text-transform: uppercase; }
.menue a { font-size: 0.8125rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 600; }
.knopf { font-size: 0.9375rem; letter-spacing: 0.02em; transition: transform 0.2s var(--aus), background-color 0.3s ease, box-shadow 0.4s var(--aus); }
.knopf:hover { background: #c4f1ff; }
.knopf--rahmen { background: transparent; color: var(--text); }
.knopf--rahmen:hover { background: transparent; }
.kopf-fest .kopfzeile { backdrop-filter: none; background: rgba(6, 9, 12, 0.94); }
@media (max-width: 860px) { .js .menue a { font-size: 1.25rem; } }

/* ---------- Erster Bildschirm: die Mitte des Stollens liegt im Dunkeln, die Maus ist die Stirnlampe */
.anfang { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: #06090c; padding: 0; touch-action: pan-y; }
.hero-bild { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 52%; transform: translateY(calc(var(--p, 0) * 7%)) scale(1.04); animation: heroZoom 2.6s var(--aus) both; will-change: transform; }
@keyframes heroZoom { from { transform: scale(1.14); } to { transform: translateY(calc(var(--p, 0) * 7%)) scale(1.04); } }
.dunkel { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
html:not(.js) .dunkel, .anfang.ohne-licht .dunkel { display: none; }
html:not(.js) .hero-bild, .anfang.ohne-licht .hero-bild { filter: brightness(0.5); }
.anfang-inhalt { position: relative; z-index: 2; padding-top: 120px; padding-bottom: clamp(24px, 5vh, 56px); display: block; }
.eyebrow { margin: 0 0 8px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--akzent); animation: rein 0.9s var(--aus) 0.2s both; }
.titel { font-family: var(--schrift-display); font-weight: 700; font-size: clamp(5.5rem, 21vw, 21rem); line-height: 0.8; letter-spacing: -0.012em; text-transform: uppercase; color: var(--text); margin: 0; text-shadow: 0 0 40px rgba(0, 0, 0, 0.6); }
.zeile { display: inline-block; overflow: hidden; vertical-align: top; padding-top: 0.06em; margin-top: -0.06em; }
.zeile > span { display: inline-block; transform: translateY(112%); animation: hoch 1.2s var(--aus) forwards; }
.zeile:nth-of-type(1) > span { animation-delay: 0.35s; }
.zeile:nth-of-type(2) > span { animation-delay: 0.5s; }
@keyframes hoch { to { transform: none; } }
@keyframes rein { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.anfang-unten { display: grid; gap: 28px; margin-top: clamp(20px, 3.5vh, 36px); }
@media (min-width: 900px) { .anfang-unten { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 64px; } }
.unterzeile { max-width: 36rem; margin: 0; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.5; color: var(--text); animation: rein 0.9s var(--aus) 0.85s both; }
.beleg { margin: 14px 0 0; font-size: 0.9375rem; color: var(--text-2); animation: rein 0.9s var(--aus) 1s both; }
.beleg strong { color: var(--akzent); font-weight: 700; }
.anfang .handlung { margin: 0; animation: rein 0.9s var(--aus) 1.1s both; align-items: flex-start; flex-direction: column; flex-wrap: nowrap; gap: 10px; }
.beruhigung { flex-basis: auto; margin: 0; max-width: 22rem; color: var(--text-2); font-size: 0.875rem; }
.hinweis { position: absolute; z-index: 3; right: var(--kante); top: 92px; margin: 0; display: flex; align-items: center; gap: 8px; font-size: 0.875rem; font-weight: 600; color: var(--text-2); animation: rein 1s var(--aus) 1.4s both; }
.hinweis i { color: var(--akzent); font-size: 1rem; }
.hinweis-finger { display: none; }
@media (hover: none) { .hinweis-maus { display: none; } .hinweis-finger { display: inline; } }
@media (max-width: 719px) { .hinweis { left: var(--kante); right: var(--kante); top: 84px; justify-content: flex-start; } .anfang-inhalt { padding-top: 140px; } }

/* ---------- Der Weg: angeheftete Bühne, drei Szenen, die Tür schiebt sich als Vorhang weg (nur transform) */
.tiefe { position: relative; height: 520svh; background: var(--tief); --w2: clamp(0, calc((var(--p, 1) - 0.30) / 0.20), 1); --w3: clamp(0, calc((var(--p, 1) - 0.64) / 0.20), 1); }
.buehne { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.szene { position: absolute; inset: 0; overflow: hidden; background: var(--tief); }
.szene--2 { transform: translate3d(calc((1 - var(--w2)) * 100%), 0, 0); }
.szene--3 { transform: translate3d(calc((1 - var(--w3)) * 100%), 0, 0); }
.szene--2 .szene-innen { transform: translate3d(calc((1 - var(--w2)) * -100%), 0, 0); }
.szene--3 .szene-innen { transform: translate3d(calc((1 - var(--w3)) * -100%), 0, 0); }
.szene--2::after, .szene--3::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--akzent); opacity: 0.8; z-index: 3; }
.szene--2:not(:hover)::after { opacity: calc(var(--w2) * (1 - var(--w2)) * 3.2); }
.szene--3:not(:hover)::after { opacity: calc(var(--w3) * (1 - var(--w3)) * 3.2); }
.szene-innen { position: absolute; inset: 0; will-change: transform; }
.szene-innen img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(calc(1.05 + var(--p, 1) * 0.07)); }
.szene--1 img { transform: scale(calc(1.02 + clamp(0, calc(var(--p, 1) / 0.3), 1) * 0.2)); }
.szene-innen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4, 6, 9, 0.9), rgba(4, 6, 9, 0.45) 38%, rgba(4, 6, 9, 0) 70%); pointer-events: none; }
.kapitel { position: absolute; z-index: 2; left: var(--kante); right: var(--kante); bottom: clamp(48px, 12svh, 120px); max-width: 44rem; }
.kapitel--2 { left: auto; margin-left: auto; text-align: right; }
.kapitel--2 .kap-text { margin-left: auto; }
.kapitel--1 { opacity: calc(1 - clamp(0, calc((var(--p, 1) - 0.20) / 0.10), 1)); transform: translateY(calc(clamp(0, calc((var(--p, 1) - 0.20) / 0.10), 1) * -24px)); }
.kapitel--2 { opacity: calc(clamp(0, calc((var(--p, 1) - 0.46) / 0.06), 1) - clamp(0, calc((var(--p, 1) - 0.58) / 0.06), 1)); }
.kapitel--3 { opacity: clamp(0, calc((var(--p, 1) - 0.84) / 0.06), 1); }
.kap-nr { margin: 0 0 12px; font-size: 0.9375rem; font-weight: 700; color: var(--akzent); }
.kap-titel { font-family: var(--schrift-display); font-weight: 700; font-size: clamp(2.5rem, 6.2vw, 6rem); line-height: 0.92; letter-spacing: -0.005em; text-transform: uppercase; text-shadow: 0 0 32px rgba(0, 0, 0, 0.55); }
.kap-text { margin: 18px 0 0; max-width: 30rem; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem); color: var(--text); }
.tiefenmesser { position: absolute; z-index: 4; top: 92px; left: var(--kante); margin: 0; font-family: var(--schrift-display); font-weight: 700; font-size: clamp(1.5rem, 3vw, 2.25rem); letter-spacing: 0.04em; text-transform: uppercase; color: var(--text); }
.tz { font-variant-numeric: tabular-nums; color: var(--akzent); display: inline-block; min-width: 2.2ch; }
.tiefenleiste { position: absolute; z-index: 4; right: var(--kante); top: 96px; bottom: 96px; width: 2px; background: rgba(232, 238, 242, 0.18); }
.tiefenleiste span { display: block; width: 100%; height: 100%; background: var(--akzent); transform-origin: top; transform: scaleY(clamp(0, calc(var(--p, 1) / 0.84), 1)); }
@media (max-width: 719px) { .kapitel { bottom: 56px; } .kapitel--2 { text-align: left; margin-left: 0; } .tiefenleiste { display: none; } }
html:not(.js) .tiefe { height: auto; }
html:not(.js) .buehne { position: static; height: auto; overflow: visible; }
html:not(.js) .szene { position: relative; height: 80svh; transform: none; }
html:not(.js) .szene-innen { transform: none; }
html:not(.js) .kapitel { opacity: 1; transform: none; }
html:not(.js) .tiefenmesser, html:not(.js) .tiefenleiste { display: none; }

/* ---------- Gemeinsame Teile */
.abschnitt { padding-block: var(--abstand); }
.abschnitt--tief { background: var(--tief); }
.label { margin: 0 0 16px; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--akzent); }
.gross { font-family: var(--schrift-display); font-weight: 700; font-size: clamp(3rem, 7.2vw, 7rem); line-height: 0.9; letter-spacing: -0.008em; text-transform: uppercase; max-width: 14ch; }
.js .reveal { opacity: 0; transform: translateY(32px); }
.js .reveal.da { opacity: 1; transform: none; transition: opacity 0.8s var(--aus), transform 0.8s var(--aus); }

/* ---------- Ausrüstung: ein großes Foto, rechts die Liste */
.ausruestung-raster { display: grid; gap: clamp(32px, 5vw, 96px); }
@media (min-width: 960px) { .ausruestung-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; } }
.ausruestung-bild { margin: 0; }
.ausruestung-bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 38% 50%; border-radius: 0; }
.bild-text { margin-top: 12px; font-size: 0.8125rem; letter-spacing: 0.04em; color: var(--text-3); }
.liste { list-style: none; margin: clamp(28px, 4vw, 56px) 0 0; padding: 0; border-bottom: 1px solid var(--linie); }
.liste li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 20px; padding: 24px 0; border-top: 1px solid var(--linie); }
.liste i { font-size: 32px; line-height: 1; color: var(--akzent); }
.zeilen-titel { font-family: var(--schrift-text); font-weight: 700; font-size: 1.1875rem; letter-spacing: 0; line-height: 1.3; margin-bottom: 6px; text-wrap: balance; }
.liste p { margin: 0; color: var(--text-2); max-width: 30rem; }

/* ---------- Termine: Fahrplan */
.fahrplan { list-style: none; margin: clamp(32px, 5vw, 64px) 0 0; padding: 0; border-bottom: 1px solid var(--linie); }
.fahrplan li { display: grid; gap: 8px 24px; align-items: center; padding: 22px 0; border-top: 1px solid var(--linie); }
@media (min-width: 860px) { .fahrplan li { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr) minmax(0, 1fr) auto; } }
.f-datum { font-family: var(--schrift-display); font-weight: 700; font-size: clamp(1.875rem, 3.4vw, 3rem); line-height: 1; text-transform: uppercase; letter-spacing: 0.01em; }
.f-zeit { color: var(--text-2); font-variant-numeric: tabular-nums; }
.f-platz { color: var(--text); font-weight: 600; }
.preise-zeile { margin: 28px 0 0; color: var(--text-2); }
.preise-zeile strong { color: var(--text); }

/* ---------- Anfrage */
.kontakt .abschnitt-satz { margin: 20px 0 clamp(32px, 4vw, 56px); max-width: 34rem; color: var(--text-2); font-size: 1.1875rem; }
.kontakt .gross { max-width: 11ch; }

/* ---------- Ruhige Fassung: Stollen als drei stehende Bilder, Lampe aus, nichts bewegt sich */
@media (prefers-reduced-motion: reduce) {
  .hero-bild { animation: none; transform: none; filter: brightness(0.5); }
  .dunkel { display: none; }
  .eyebrow, .unterzeile, .beleg, .anfang .handlung, .hinweis { animation: none; }
  .zeile > span { animation: none; transform: none; }
  .tiefe { height: auto; }
  .buehne { position: static; height: auto; overflow: visible; }
  .szene { position: relative; height: 80svh; transform: none; }
  .szene-innen { transform: none; }
  .szene-innen img { transform: none; }
  .szene--2::after, .szene--3::after { display: none; }
  .kapitel { opacity: 1; transform: none; }
  .tiefenmesser, .tiefenleiste { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Szenen, die noch nicht dran sind, bleiben unsichtbar (kein Text hinter dem Vorhang, nichts zum Anfassen) */
.tiefe:not([data-s2]) .szene--2, .tiefe:not([data-s3]) .szene--3 { visibility: hidden; }
html:not(.js) .szene--2, html:not(.js) .szene--3 { visibility: visible !important; }
@media (prefers-reduced-motion: reduce) { .szene--2, .szene--3 { visibility: visible !important; } }
@media (max-width: 719px) { .hero-bild { object-position: 68% 50%; } }
