/* jotape.es · Werkbank, Kino
   Dunkle Werkstatt, Fotografie trägt, Archivo Expanded in Übergröße, Newsreader für Erzähltext.
   Ein Akzent: Rost (Ruhr-Stahl). Messing nur für Hinweise. */

:root {
  --kohle: #121110;
  --russ: #1b1917;
  --kreide: #e9e3d5;
  --rauch: #a39b8f;
  --rost: #b4512a;
  --messing: #d6a84b;

  --display: "Archivo", "Arial Black", system-ui, sans-serif;
  --text: "Newsreader", "Iowan Old Style", Georgia, serif;
  --ui: "Archivo", system-ui, sans-serif;

  --t-0: clamp(1.05rem, 0.35vw + 0.95rem, 1.2rem);
  --t-1: clamp(1.25rem, 0.8vw + 1rem, 1.6rem);
  --t-2: clamp(1.6rem, 1.6vw + 1.1rem, 2.4rem);
  --t-3: clamp(2.2rem, 3.2vw + 1.2rem, 4rem);
  --t-4: clamp(2.6rem, 5vw + 0.8rem, 6.4rem);
  --warm: #1e1915;
  --warm-2: #262019;
  --t-5: clamp(3.4rem, 11.5vw, 13rem);

  --rand: clamp(20px, 4vw, 64px);
  --abstand: clamp(72px, 9vw, 140px); /* ein Mass fuer alle Abschnitte */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --dauer: 480ms;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--kohle); }
body {
  margin: 0; background: var(--kohle); color: var(--kreide);
  font-family: var(--ui); font-size: var(--t-0); line-height: 1.5;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body.zeiger-an, body.zeiger-an a, body.zeiger-an button { cursor: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--messing); outline-offset: 4px; }
.visuell-versteckt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.springen { position: fixed; left: 16px; top: 16px; z-index: 60; padding: 10px 16px; background: var(--messing); color: var(--kohle); text-decoration: none; transform: translateY(-200%); }
.springen:focus { transform: none; }

.titel {
  font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase;
  font-size: var(--t-4); line-height: .9; letter-spacing: -.03em; text-wrap: balance; color: color-mix(in oklab, var(--kreide) 88%, var(--rauch));
}
.titel--klein { font-size: var(--t-3); }
.kapitel__kopf { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 48px; align-items: end; margin-bottom: clamp(40px, 6vw, 88px); }
.kapitel__unter { font-family: var(--text); font-size: var(--t-1); line-height: 1.4; color: var(--rauch); max-width: 40ch; font-variation-settings: "opsz" 24; }

.ph-text { color: var(--rauch); font-family: var(--text); font-size: var(--t-0); line-height: 1.55; }
.ph-text::before { content: "⌁ "; color: var(--messing); }
.ph-link { text-decoration-style: dashed; text-underline-offset: .22em; }

/* Fortschritt */
.fortschritt { position: fixed; left: 0; top: 0; right: 0; height: 2px; z-index: 55; pointer-events: none; }
.fortschritt i { display: block; height: 100%; background: var(--rost); transform: scaleX(0); transform-origin: left; }

/* Korn */
.korn {
  position: fixed; inset: 0; pointer-events: none; z-index: 70; opacity: .5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

/* Vorhang */
.vorhang {
  position: fixed; inset: 0; z-index: 80; background: var(--kohle); display: flex; align-items: center; justify-content: center;
  gap: .3em; font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(1rem, 2.2vw, 1.6rem); letter-spacing: .02em;
}
.vorhang__wort { opacity: 0; }
.vorhang.weg { pointer-events: none; }

/* Zeiger */
.zeiger { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; display: none; }
body.zeiger-an .zeiger { display: block; }
.zeiger__punkt { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: var(--rost); box-shadow: 0 0 0 1px rgba(18,17,16,.35); } /* kein difference: wurde ueber hellen Buchstaben schwarz */
.zeiger__ring { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--kreide); opacity: .5; transform: scale(.6); transition: transform 280ms var(--ease), opacity 280ms var(--ease), background 280ms var(--ease); mix-blend-mode: difference; }
.zeiger.gross .zeiger__ring { transform: scale(1.5); opacity: .9; }
.zeiger.voll .zeiger__ring { transform: scale(2); background: var(--kreide); opacity: 1; }
.zeiger.voll .zeiger__punkt { opacity: 0; } /* im gefuellten Kreis (Wischen, Ziehen) kein Punkt: der war die schwarze Stelle */
.zeiger__wort { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--kohle); opacity: 0; transition: opacity 200ms; white-space: nowrap; }
.zeiger.voll .zeiger__wort { opacity: 1; }

/* Kopf */
.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 28px;
  padding: 14px var(--rand); color: var(--kreide);
  background: rgba(18,17,16,.42); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid rgba(233,227,213,.08); /* Glasbalken; die Totzone darunter rechnet app.js */
  transition: transform var(--dauer) var(--ease);
}
.kopf.versteckt { transform: translateY(-110%); }
.kopf:focus-within { transform: none; }
.kopf__marke { font-family: var(--display); font-stretch: 125%; font-weight: 800; text-decoration: none; letter-spacing: .02em; font-size: .95rem; display: inline-flex; align-items: center; min-height: 44px; justify-self: start; }
.kopf__marke span { opacity: .6; }
.kopf__nav { display: flex; gap: 24px; font-size: .85rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.kopf__nav a { text-decoration: none; position: relative; padding: 8px 0; }
.kopf__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--ease); }
.kopf__nav a:hover::after, .kopf__nav a[aria-current="true"]::after { transform: scaleX(1); }
.sprachen { display: flex; gap: 0; }
.sprachen button { font: 700 .75rem/1 var(--ui); letter-spacing: .06em; min-width: 44px; min-height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; opacity: .5; }
.sprachen button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.sprachen button:hover { opacity: 1; }
.kopf__menue { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; flex-direction: column; justify-content: center; gap: 7px; padding: 0 8px; }
.kopf__menue span { height: 2px; background: currentColor; transition: transform 240ms var(--ease); }
.kopf__menue[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.kopf__menue[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
.menue { position: fixed; inset: 0; z-index: 45; background: var(--kohle); display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: var(--rand); }
.menue[hidden] { display: none; }
.menue a { font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 9vw, 4rem); line-height: 1.05; text-decoration: none; letter-spacing: -.02em; }

/* ---------- Held: Wischer ---------- */
.held { position: relative; height: 100svh; min-height: 620px; overflow: hidden; }
.wisch { position: absolute; inset: 0; --x: 50%; }
.wisch__bild { position: absolute; inset: 0; margin: 0; }
.wisch__bild img { width: 100%; height: 100%; object-fit: cover; }
.wisch__bild--essen img { object-position: 62% 40%; filter: saturate(.75) contrast(1.05) brightness(.8); }
.wisch__bild--espejo { clip-path: inset(0 0 0 var(--x)); }
.wisch__bild--espejo img { object-position: 55% 60%; filter: brightness(.85); }
.wisch::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,17,16,.35) 0%, rgba(18,17,16,0) 35%, rgba(18,17,16,.15) 60%, rgba(18,17,16,.92) 100%); }
.wisch__kante { position: absolute; top: 0; bottom: 0; left: var(--x); width: 1px; background: rgba(233,227,213,.55); z-index: 2; }
.wisch__griff { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(233,227,213,.7); transform: translate(-50%, -50%); backdrop-filter: blur(6px); }
.wisch__griff::before, .wisch__griff::after { content: ""; position: absolute; top: 50%; width: 7px; height: 7px; border-top: 1.5px solid var(--kreide); border-left: 1.5px solid var(--kreide); }
.wisch__griff::before { left: 13px; transform: translateY(-50%) rotate(-45deg); }
.wisch__griff::after { right: 13px; transform: translateY(-50%) rotate(135deg); }
.wisch__ort { position: absolute; top: 24%; font-family: var(--display); font-stretch: 125%; font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; transform: translateY(-50%); white-space: nowrap; padding: 6px 10px; background: rgba(18,17,16,.62); color: var(--kreide); }
.wisch__ort--l { right: 44px; }
.wisch__ort--r { left: 44px; }

.held__text { position: absolute; left: var(--rand); right: var(--rand); bottom: clamp(32px, 6vh, 72px); z-index: 3; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.held__name {
  font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase;
  font-size: var(--t-5); line-height: .84; letter-spacing: -.035em; color: var(--kreide);
  display: grid; text-shadow: 0 2px 40px rgba(0,0,0,.35);
}
.held__zeile { display: block; }
.held__zeile--sur { color: var(--rost); }
.held__lead { font-family: var(--text); font-size: var(--t-1); line-height: 1.35; max-width: 26ch; text-align: right; font-variation-settings: "opsz" 24; }
.held__hinweis { grid-column: 1 / -1; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--rauch); }
.held__weiter { position: absolute; left: 50%; bottom: 14px; width: 44px; height: 44px; transform: translateX(-50%); z-index: 3; display: grid; place-items: center; }
.held__weiter span { width: 1px; height: 28px; background: var(--kreide); animation: tropfen 2s var(--ease) infinite; transform-origin: top; }
@keyframes tropfen { 0% { transform: scaleY(0); opacity: 0 } 40% { transform: scaleY(1); opacity: 1 } 100% { transform: scaleY(1) translateY(16px); opacity: 0 } }

/* ---------- Manifest ---------- */
.manifest { padding: var(--abstand) var(--rand); background: linear-gradient(180deg, var(--kohle) 0%, var(--warm) 40%, var(--kohle) 100%); }
.manifest__satz .wort { filter: blur(6px); transition: opacity 260ms, filter 260ms; }
.manifest__satz .wort.an { filter: blur(0); }
.manifest__satz {
  font-family: var(--text); font-weight: 300; font-size: clamp(1.9rem, 4.4vw, 4.6rem); line-height: 1.12; letter-spacing: -.012em;
  max-width: 22ch; font-variation-settings: "opsz" 72;
}
.manifest__satz .wort { opacity: .18; transition: opacity 200ms; }
.manifest__satz .wort.an { opacity: 1; }
.manifest__ph { margin-top: 36px; max-width: 48ch; font-family: var(--text); color: var(--rauch); font-size: var(--t-1); line-height: 1.4; }

/* ---------- Woher: Galerie ---------- */
.woher { padding: 0 0 var(--abstand); display: grid; } /* Manifest-Polster reicht; grid, damit der Knopf unter den Texten steht */
.woher .kapitel__kopf, .woher__text { padding: 0 var(--rand); }
.galerie { overflow: hidden; margin-bottom: clamp(48px, 7vw, 100px); cursor: grab; }
.galerie:active { cursor: grabbing; }
body.zeiger-an .galerie, body.zeiger-an .galerie:active, body.zeiger-an .galerie * { cursor: none; } /* nur der Ziehkreis, keine Hand */
.galerie__spur { display: flex; gap: clamp(14px, 2vw, 28px); padding: 0 var(--rand); width: max-content; }
.galerie__karte { flex: 0 0 auto; width: clamp(220px, 28vw, 400px); margin: 0; }
.galerie__karte--quer { width: clamp(300px, 44vw, 640px); align-self: end; }
.galerie__karte img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; user-select: none; -webkit-user-drag: none; }
.galerie__karte--quer img { aspect-ratio: 4 / 3; }
.galerie__karte figcaption { font-family: var(--text); font-style: italic; color: var(--rauch); font-size: .95rem; margin-top: 10px; }
.woher__text { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.woher__text h3 { font-family: var(--display); font-stretch: 125%; font-weight: 700; text-transform: uppercase; font-size: .95rem; letter-spacing: .05em; margin-bottom: 14px; }

/* ---------- Lebenslauf ---------- */
.lauf { padding: var(--abstand) var(--rand); background: var(--russ); position: relative; isolation: isolate; }
.lauf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(../img/oliven-reif-s.jpg) center/cover; opacity: .07; filter: grayscale(1); }
/* kompakt (Davids Wunsch): eine zentrierte Spalte, Jahr, Titel und Text in einer Zeile */
.stationen { max-width: 78ch; margin: 0 auto; border-top: 1px solid rgba(233,227,213,.14); }
.station { display: block; padding: 13px 0; border-bottom: 1px solid rgba(233,227,213,.12); text-align: center; line-height: 1.45; }
.station__jahr { display: inline; font-family: var(--display); font-stretch: 110%; font-weight: 700; text-transform: uppercase; font-size: .7rem; letter-spacing: .12em; color: #de8a5e; margin-right: .7em; vertical-align: .12em; }
.station h3 { display: inline; font-family: var(--text); font-weight: 500; font-size: var(--t-1); letter-spacing: -.01em; font-variation-settings: "opsz" 24; }
.station h3::after { content: "."; }
.station p { display: inline; max-width: none; color: var(--kreide); font-size: var(--t-0); margin-left: .3em; } /* weiss, Rauch war auf der Olivtextur zu grau */

/* ---------- Gewerbe: Zeilen ---------- */
.werk { position: relative; padding: var(--abstand) var(--rand); }
.zeilen { border-top: 1px solid rgba(233,227,213,.14); }
.zeile a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px 200px; /* das Foto liegt absolut, app.js setzt es zwischen die sichtbaren Textkanten */ padding: clamp(18px, 2.4vw, 30px) 0; border-bottom: 1px solid rgba(233,227,213,.14); text-decoration: none; position: relative; }
.zeile__name { font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.9rem, 2.6vw + 1rem, 3.4rem); color: color-mix(in oklab, var(--kreide) 90%, var(--rauch)); letter-spacing: -.03em; line-height: 1; transition: color 240ms; }
.zeile__art { font-family: var(--text); font-style: italic; color: var(--rauch); font-size: var(--t-1); text-align: right; max-width: 30ch; }
/* kleine Kuehlschrankfotos je Zeile, jedes anders gekippt und versetzt */
.zeile__foto { position: absolute; top: 50%; left: 50%; margin: 0; padding: 3px 3px 5px; background: #f3efe6; box-shadow: 0 8px 18px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.4); transform: translateY(-50%) rotate(var(--kipp, -4deg)) translateY(var(--hoch, 0)); transition: background 240ms var(--ease), transform 320ms var(--ease); }
.zeile__foto::after { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d6a84b, #7a4d12); box-shadow: 0 1px 3px rgba(0,0,0,.5); transform: translateX(-50%); }
.zeile__foto img { height: 60px; width: auto; max-width: 110px; display: block; }
.zeile:nth-child(1) .zeile__foto { --kipp: -6deg; --seit: 0; --hoch: 3px; }
.zeile:nth-child(2) .zeile__foto { --kipp: 4deg; --seit: 0; --hoch: -2px; }
.zeile:nth-child(3) .zeile__foto { --kipp: -2deg; --seit: 0; --hoch: 4px; }
.zeile:nth-child(4) .zeile__foto { --kipp: 7deg; --seit: 0; --hoch: 0; }
.zeile:nth-child(5) .zeile__foto { --kipp: -5deg; --seit: 0; --hoch: -3px; }
.zeile:nth-child(6) .zeile__foto { --kipp: 3deg; --seit: 0; --hoch: 5px; }
.zeile:nth-child(7) .zeile__foto { --kipp: -8deg; --seit: 0; --hoch: 0; }
.zeile:nth-child(8) .zeile__foto { --kipp: 2deg; --seit: 0; --hoch: 2px; }
.zeile:nth-child(9) .zeile__foto { --kipp: 5deg; --seit: 0; --hoch: -4px; }
.zeile:nth-child(10) .zeile__foto { --kipp: -3deg; --seit: 0; --hoch: 3px; }
.zeile.an .zeile__foto { transform: translateY(-50%) rotate(0deg) scale(1.1); background: var(--rost); } /* nur wenn die Maus auf dem kleinen Foto liegt */
/* keine Verschiebung beim Hover: bei langen Texten brach die Beschreibung sonst um (ChocosDreamLab, Familienspiel) */
.zeile a:hover .zeile__name, .zeile a:focus-visible .zeile__name, .zeile.an .zeile__name { color: var(--rost); }
.schwebe { position: fixed; left: 0; top: 0; width: 300px; height: 375px; pointer-events: none; z-index: 40; opacity: 0; overflow: hidden; background: var(--russ); border: 3px solid var(--rost); box-sizing: content-box; } /* Rost-Rahmen beim Schweben */ /* Groesse setzt app.js je Bild, nichts wird beschnitten */
.schwebe img { width: 100%; height: 100%; object-fit: cover; }
.schwebe__farbe { position: absolute; inset: 0; opacity: 0; display: grid; place-items: center; font-family: var(--display); font-stretch: 125%; font-weight: 900; font-size: 5rem; text-transform: uppercase; }

.werk__ruht { margin-top: 28px; font-family: var(--text); color: var(--rauch); font-size: var(--t-0); line-height: 1.55; max-width: 70ch; }
.werk__ruht a { text-underline-offset: .18em; text-decoration-color: var(--rost); display: inline-block; padding: 14px 0; margin: -14px 0; } /* Tippflaeche 44 px ohne Zeilenbruch */

/* ---------- Kino: FIRST LIGHT ---------- */
.kino { background: #0c0b0a; padding: 0 0 var(--abstand); }
.kino__bild { margin: 0; aspect-ratio: 2.33 / 1; max-height: 82svh; overflow: hidden; position: relative; background: #000; }
.kino__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.kino__pause { position: absolute; right: 16px; bottom: 16px; min-width: 44px; min-height: 44px; padding: 0 14px; border: 1px solid rgba(233,227,213,.5); background: rgba(18,17,16,.55); color: var(--kreide); font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: .7; transition: opacity 200ms; }
.kino__pause:hover, .kino__pause:focus-visible { opacity: 1; }
.kino__bild.ohne-video .kino__pause { display: none; }
.kino__innen { padding: var(--abstand) var(--rand) 0; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px 64px; align-items: start; }
.kino__ueber { grid-column: 1 / -1; font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--messing); }
.kino__links { grid-column: 1; grid-row: 2 / span 3; align-self: stretch; display: flex; flex-direction: column; min-height: 0; } /* Titel oben, Foto fuellt den Rest bis zur Knopfkante */
.kino__innen .titel { flex: 0 0 auto; }
.kino__logline { font-family: var(--text); font-style: italic; font-weight: 300; font-size: var(--t-2); line-height: 1.2; font-variation-settings: "opsz" 48; max-width: 28ch; }
.kino__text { font-family: var(--text); color: var(--rauch); font-size: var(--t-0); line-height: 1.55; max-width: 52ch; }
.kino__foto { flex: 1 1 0; min-height: 0; margin: 44px 0 0 14px; align-self: flex-start; display: flex; max-width: min(78%, 460px); padding: 10px 10px 14px; background: #f3efe6; box-shadow: 0 18px 40px rgba(0,0,0,.55), 0 2px 6px rgba(0,0,0,.4); transform: rotate(-3.5deg); transform-origin: 50% 20%; position: relative; }
.kino__foto img { height: 100%; width: auto; max-width: 100%; object-fit: contain; display: block; }
.kino__foto::after { content: ""; position: absolute; top: -9px; left: 50%; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d6a84b, #7a4d12); box-shadow: 0 2px 4px rgba(0,0,0,.5); transform: translateX(-50%); } /* der Magnet */
.kino__link { grid-column: 2; grid-row: 4; justify-self: start; align-self: start; display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 22px; border: 1px solid var(--kreide); text-decoration: none; font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; transition: background 240ms var(--ease), color 240ms var(--ease); }
.kino__link::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
.kino__link:hover, .kino__link:focus-visible { background: var(--kreide); color: var(--kohle); }

/* ---------- Weg-Knopf: klappt den Lebenslauf auf ---------- */
.weg-knopf { display: inline-flex; align-items: center; gap: .45em; margin: clamp(40px, 5vw, 64px) var(--rand) 0; padding: 10px 0; border: 0; background: transparent; cursor: pointer; color: var(--rost); font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 1.6vw + 0.8rem, 2.4rem); letter-spacing: -.02em; line-height: 1; justify-self: start; }
.weg-knopf i { display: inline-block; width: .42em; height: .42em; border-right: .11em solid currentColor; border-bottom: .11em solid currentColor; transform: translateY(-.14em) rotate(45deg); transition: transform 320ms var(--ease); }
.weg-knopf[aria-expanded="true"] i { transform: translateY(.1em) rotate(225deg); }
.weg-knopf:hover, .weg-knopf:focus-visible { color: #de8a5e; }
.lauf--zu { display: none; }
.lauf__intro { margin: 0 auto clamp(20px, 2.5vw, 32px); max-width: 52ch; text-align: center; }

/* ---------- Kanäle: vier Dächer ---------- */
.kanaele { padding: var(--abstand) var(--rand); /* Kino davor ist eine eigene dunkle Flaeche, darum oben ein Mass Luft */ background: linear-gradient(180deg, var(--kohle), var(--warm-2)); }
.daecher { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.dach { display: grid; align-content: end; gap: 10px; min-height: 460px; padding: 72px 28px 28px; /* oben Platz fuer das Label */ position: relative; overflow: hidden; isolation: isolate; background: var(--russ); }
.dach__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .55; filter: saturate(.8); transform: scale(1.02); transition: transform 900ms var(--ease), opacity 500ms var(--ease); }
.dach:hover .dach__bild { transform: scale(1.07); opacity: .7; }
.dach::before { content: ""; position: absolute; inset: 0; z-index: -1; transition: transform 700ms var(--ease); }
.dach--kette::before { background: radial-gradient(120% 90% at 20% 0%, #4a2416 0%, #1b1917 60%), repeating-linear-gradient(135deg, transparent 0 18px, rgba(180,81,42,.12) 18px 19px); }
.dach--form::before { background: radial-gradient(120% 90% at 80% 0%, #2d3d2a 0%, #1b1917 60%), repeating-linear-gradient(0deg, transparent 0 22px, rgba(233,227,213,.06) 22px 23px); }
.dach--nacht::before { background: radial-gradient(120% 90% at 50% 100%, #1d2a4a 0%, #15161c 60%), radial-gradient(circle at 70% 25%, rgba(233,227,213,.5) 0 1px, transparent 2px), radial-gradient(circle at 30% 45%, rgba(233,227,213,.35) 0 1px, transparent 2px), radial-gradient(circle at 55% 60%, rgba(233,227,213,.3) 0 1px, transparent 2px); }
.dach--casa .dach__bild { object-position: 50% 100%; }
.dach--casa::before { background: radial-gradient(120% 90% at 50% 0%, #3a2d14 0%, #1b1917 60%); }
.dach::before { opacity: .78; }
.dach:hover::before { transform: scale(1.06); }
.dach__links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.dach__links a { display: inline-block; padding: 10px 0; text-decoration: none; border-bottom: 1px solid currentColor; transition: color 200ms; }
.dach__links a:hover, .dach__links a:focus-visible { color: var(--messing); }
.dach__nr { font-family: var(--display); font-stretch: 110%; font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--messing); position: absolute; top: 24px; left: 28px; }
.dach h3 { font-family: var(--display); font-stretch: 125%; font-weight: 800; text-transform: uppercase; font-size: clamp(1.2rem, 1.05vw + 0.45rem, 1.7rem); letter-spacing: -.02em; line-height: .95; overflow-wrap: anywhere; }
.dach__claim { font-family: var(--text); font-style: italic; font-size: var(--t-1); line-height: 1.25; max-width: 24ch; }
.dach__themen { color: var(--rauch); font-size: .98rem; max-width: 34ch; }

/* ---------- Türen ---------- */
.tueren { padding: var(--abstand) var(--rand); }
.tueren .titel--klein { margin-bottom: clamp(28px, 4vw, 56px); color: var(--rauch); }
.tueren__liste { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; }
.tuer { display: grid; gap: 14px; padding: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 40px); background: var(--russ); text-decoration: none; position: relative; overflow: hidden; isolation: isolate; min-height: 320px; align-content: end; }
.tuer__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .5; filter: saturate(.7); transform: scale(1.02); transition: transform 900ms var(--ease), opacity 500ms var(--ease); }
.tuer::after { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(180deg, rgba(18,17,16,.15), rgba(18,17,16,.9) 75%); }
.tuer:hover .tuer__bild, .tuer:focus-visible .tuer__bild { transform: scale(1.08); opacity: .35; }
.tuer::before { content: ""; position: absolute; inset: 0; background: color-mix(in oklab, var(--rost) 88%, transparent); transform: translateY(101%); transition: transform 420ms var(--ease); z-index: -1; }
.tuer:hover::before, .tuer:focus-visible::before { transform: none; }
.tuer:hover .tuer__text, .tuer:focus-visible .tuer__text { color: var(--kreide); }
.tuer:hover .tuer__text::before, .tuer:focus-visible .tuer__text::before { color: var(--kreide); }
.tuer__name { font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: clamp(1.6rem, 2.2vw + 0.8rem, 3rem); letter-spacing: -.03em; line-height: .95; }
.tuer__text { max-width: 40ch; transition: color 240ms; color: color-mix(in oklab, var(--kreide) 80%, var(--rauch)); }

/* ---------- Pläne: Panorama ---------- */
.plaene { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.plaene__bild { position: absolute; inset: -12% 0; margin: 0; z-index: -1; }
.plaene__bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; filter: brightness(.6) saturate(.9); }
.plaene::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, var(--kohle) 0%, rgba(18,17,16,.2) 30%, rgba(18,17,16,.55) 70%, var(--kohle) 100%); }
/* Turmspitze: stiller Zugang zur CMA, Lage rechnet app.js aus der Bildgeometrie */
.turmklick { position: absolute; width: 44px; height: 44px; transform: translate(-50%, -50%); z-index: 2; cursor: default; }
.plaene__innen { pointer-events: none; padding: clamp(120px, 18vw, 240px) var(--rand) var(--abstand); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px 56px; align-items: end; }
.plaene__innen .titel { grid-column: 1 / -1; }
.plaene__traum { font-family: var(--text); font-style: italic; font-weight: 300; font-size: var(--t-2); line-height: 1.2; max-width: 26ch; font-variation-settings: "opsz" 48; color: var(--kreide); text-shadow: 0 2px 24px rgba(0,0,0,.7); }
.plaene .plan { background: rgba(18,17,16,.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: 8px 20px 12px; }
.plan { counter-reset: plan; }
.plan li { counter-increment: plan; display: grid; grid-template-columns: 2.4rem 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(233,227,213,.2); }
.plan li::before { content: counter(plan, decimal-leading-zero); font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: .85rem; letter-spacing: .06em; color: var(--messing); padding-top: .35em; }

/* ---------- Kontakt ---------- */
.kontakt { padding: var(--abstand) var(--rand); background: #7e3519; color: var(--kreide); }
.kontakt .ph-text::before, .kontakt .ph-link { color: var(--kreide); }
.kontakt__titel { font-family: var(--display); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: var(--t-5); line-height: .85; letter-spacing: -.035em; color: var(--kreide); }
.kontakt__mail { display: inline-block; margin-top: 40px; font-family: var(--text); font-size: var(--t-3); font-variation-settings: "opsz" 72; text-decoration-color: var(--kreide); text-decoration-thickness: 2px; text-underline-offset: .12em; letter-spacing: -.01em; }
.kontakt__text { margin-top: 28px; font-family: var(--text); font-size: var(--t-1); color: color-mix(in oklab, var(--kreide) 85%, #7e3519); max-width: 40ch; }
.kontakt__wege { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 36px; }
.kontakt__wege a { display: inline-block; padding: 10px 0; }
.fuss { padding: 32px var(--rand) 40px; border-top: 1px solid rgba(233,227,213,.14); display: grid; gap: 12px; font-size: .9rem; color: var(--rauch); }
.fuss nav { display: flex; gap: 24px; }
.fuss nav a { padding: 8px 0; }
.fuss__klein { font-size: .8rem; max-width: 80ch; }

/* ---------- Statisch / ruhig ---------- */
body.statisch .manifest__satz .wort { opacity: 1; filter: none; }
body.statisch .held__weiter span { animation: none; }

/* ---------- Handy und Tablet ---------- */
@media (max-width: 1100px) {
  .daecher { grid-template-columns: 1fr 1fr; }
  .dach h3 { font-size: clamp(1.4rem, 2.2vw + 0.6rem, 2.2rem); }
  .woher__text { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 820px) {
  .kopf__nav { display: none; }
  .kopf__menue { display: flex; }
  .held { min-height: 560px; }
  .titel { font-size: min(var(--t-4), 8.4vw); }
  .kontakt__titel, .held__name { font-size: min(var(--t-5), 13.5vw); }
  .held__text { grid-template-columns: 1fr; bottom: 48px; }
  .held__lead { text-align: left; max-width: 30ch; }
  .held__hinweis { display: none; }
  .wisch__ort { display: none; }
  .wisch__bild--essen img { object-position: 60% 30%; }
  .kapitel__kopf, .plaene__innen { grid-template-columns: 1fr; }
  .plaene__bild img { object-position: 22% 35%; } /* Kirchturm bleibt im Ausschnitt */
  .station { text-align: left; }
  .zeile a { grid-template-columns: 1fr; gap: 10px; }
  .zeile__foto { position: static; margin: 6px 0 4px 10px; transform: rotate(var(--kipp, -4deg)); }
  .zeile.an .zeile__foto { transform: rotate(0deg) scale(1.1); }
  .zeile__foto img { height: 52px; max-width: 96px; }
  .zeile__art { text-align: left; }
  .schwebe { display: none; }
  .tueren__liste { grid-template-columns: 1fr; }
  .daecher { grid-template-columns: 1fr; }
  .dach { min-height: 320px; }
  .kino__innen { grid-template-columns: 1fr; }
  .kino__innen .titel { grid-row: auto; }
  .kino__link { grid-column: 1; }
  .kino__links { grid-row: auto; }
  .kino__foto { flex: none; max-width: min(86%, 420px); margin: 20px auto 8px; }
  .kino__foto img { height: auto; width: 100%; }
  .kino__link { grid-row: auto; }
  .tuer { min-height: 0; }
  .tuer__name { font-size: min(1.6rem, 6.6vw); }
  .zeile__name { font-size: min(var(--t-3), 6.6vw); overflow-wrap: anywhere; } /* CHOCOSDREAMLAB passt so in 375 px */
  .galerie { cursor: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .galerie__karte { scroll-snap-align: start; width: 70vw; }
  .galerie__karte--quer { width: 80vw; }
}
@media (max-width: 560px) {
  .kopf { gap: 12px; }
  .kopf > .sprachen { display: none; }
  .menue .sprachen { margin-top: 28px; }
}
.menue .sprachen { display: none; }
@media (max-width: 560px) { .menue .sprachen { display: flex; } }

@media (prefers-reduced-motion: reduce) {
  .held__weiter span { animation: none; }
  .tuer::before, .zeile a, .kopf, .zeiger__ring { transition: none; }
  .manifest__satz .wort { opacity: 1; filter: none; }
}
