/*
 * Eigene Story „Eine der ältesten ist neu: Filiale Langenwang“ (Heft 2605, S. 15)
 * Namensraum .koeck-lw, Präfix lw-. Vorlage template-parts/stories/eigen/langenwang.php, Script js/stories/langenwang.js.
 * Weiß wie die Magazinseite; die Fotos von Ivan Bandic tragen die Story. Rosa nur für Naht, Linien, Raute;
 * eine Fläche im Terrakotta der neuen Decke für den Sonntag. Keine Verläufe (außer dem Schutz unter Logo/Schließen
 * wie in allen Stories), keine Schatten. Bewegt wird nur transform, opacity und clip-path.
 * Ohne Script: alles untereinander, Skizze und Foto nebeneinander statt übereinander, Untertitel als Abschrift.
 * Über 1440 px wächst alles mit --lw-k (= --sm-x), die großen Fotos treten bis an den Bildschirmrand.
 */
.koeck-lw {
	--lw-rosa: #ed6c84;
	--lw-terra: #9a5442;  /* Decke der neuen Filiale, abgedunkelt: Weiß darauf 5,6 : 1 */
	--lw-grau: #555;
	--lw-k: 1;
	--lw-rand: max(22px, env(safe-area-inset-left), env(safe-area-inset-right));
	--lw-ease: cubic-bezier(.23, 1, .32, 1);
	--lw-vh: 100vh;
	container-type: inline-size;
	background: #fff;
	color: #000;
	font: 300 17px/1.6 var(--sans);
	overflow-x: clip;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
@supports (height: 100svh) { .koeck-lw { --lw-vh: 100svh; } }
body:has(.koeck-lw) .sm-fortschritt i { background: var(--lw-rosa); }
/* Über dem dunklen Einstieg: Logo und Schließen weiß – derselbe Schutz wie in den dunklen Stories */
body:has(.koeck-lw) .sm-leiste.lw-leiste-dunkel { color: #fff; background: linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,0)); } /* taste-skill-ignore: Schutzverlauf unter Logo und Schließen */
body:has(.koeck-lw) .sm-leiste.lw-leiste-dunkel .sm-zu { background: rgba(0, 0, 0, .45); }
.koeck-lw p { margin: 0; text-wrap: pretty; overflow-wrap: break-word; }
.koeck-lw figure, .koeck-lw blockquote { margin: 0; }
.koeck-lw img { display: block; width: 100%; height: 100%; object-fit: cover; font: 400 13px/1.4 var(--sans); color: var(--lw-grau); }
.koeck-lw h1, .koeck-lw h2 { margin: 0; font-weight: 400; }
.koeck-lw :focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.koeck-lw .lw-ton:focus-visible { outline-color: #000; }
.koeck-lw button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.koeck-lw .lw-h2 { font: 400 clamp(28px, 7.6cqi, 36px)/1.12 var(--serif); letter-spacing: -.012em; text-wrap: balance; hyphens: manual; }
.koeck-lw .lw-h3 { margin: 0 0 12px; font: 400 clamp(26px, 6.8cqi, 32px)/1.12 var(--serif); letter-spacing: -.01em; }
.koeck-lw .lw-text { font-size: calc(17px * var(--lw-k)); max-width: 26em; } /* ca. 60–70 Zeichen je Zeile */
.koeck-lw .lw-bu { padding-top: 10px; font: 400 calc(14px * var(--lw-k))/1.45 var(--sans); color: var(--lw-grau); }

/* Einblenden (Abschnitt 3a): Text früh, Fotos an der Leselinie; ruhig hinein, zügig zurück */
.koeck-lw.lw-js [data-lw-auf] { opacity: 0; transform: translateY(24px); transition: opacity .45s ease, transform .6s var(--lw-ease); }
.koeck-lw.lw-js [data-lw-auf].lw-da { opacity: 1; transform: none; transition: opacity 1.1s ease calc(var(--sm-stufe, 0) * 100ms), transform 1.4s var(--lw-ease) calc(var(--sm-stufe, 0) * 100ms); }

/* ---------------- 1 · Einstieg ---------------- */
.koeck-lw .lw-auf { position: relative; height: max(var(--lw-vh), 560px); min-height: 560px; overflow: hidden; background: #22314a; color: #fff; }
.koeck-lw .lw-auf-bild { position: absolute; inset: 0; }
/* gleichmäßige Abdunklung (kein Verlauf): Weiß auf dem Abendhimmel mind. 4,5 : 1 */
.koeck-lw .lw-auf-bild::after { content: ""; position: absolute; inset: 0; background: rgba(10, 16, 30, .40); }
.koeck-lw .lw-auf-bild img { object-position: 40% 62%; transform: translateY(var(--lw-y, 0px)) scale(1.06); transform-origin: 50% 60%; }
.koeck-lw .lw-auf-text { position: absolute; left: var(--lw-rand); right: var(--lw-rand); top: calc(96px + env(safe-area-inset-top, 0px)); }
.koeck-lw .lw-titel { font: 400 clamp(36px, 10.8cqi, 60px)/1.02 var(--serif); letter-spacing: -.02em; text-wrap: balance; max-width: 11em; }
.koeck-lw .lw-claim { margin-top: 16px; font: 500 calc(18px * var(--lw-k))/1.35 var(--sans); }
/* quer und breit: die Filiale sitzt oben, der Titel steht unten auf der dunklen Straße statt auf der weißen Fassade */
@media (max-height: 360px) and (min-aspect-ratio: 5/4) { .koeck-lw .lw-auf-bild img { object-position: 50% 80% !important; } }
@media (min-aspect-ratio: 5/4) {
	.koeck-lw .lw-auf { height: max(var(--lw-vh), 320px); min-height: 320px; }
	.koeck-lw .lw-auf-bild img { object-position: 50% 69%; }
	.koeck-lw .lw-auf-text { top: auto; bottom: calc(40px * var(--lw-k) + env(safe-area-inset-bottom, 0px)); }
	.koeck-lw .lw-titel { font-size: min(clamp(36px, 10.8cqi, 60px), var(--lw-vh) * .11); }
}
.koeck-lw.lw-js .lw-auf-text > * { opacity: 0; transform: translateY(18px); animation: lw-ein 1.4s var(--lw-ease) forwards; }
.koeck-lw.lw-js .lw-auf-text > :nth-child(2) { animation-delay: .25s; }
@keyframes lw-ein { to { opacity: 1; transform: none; } }

/* ---------------- 2 · Vorspann und Zeitreise ---------------- */
.koeck-lw .lw-vor-teil { padding: 72px var(--lw-rand) 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 64px; }
.koeck-lw .lw-vor { font: 400 clamp(22px, 6cqi, 30px)/1.3 var(--serif); letter-spacing: -.005em; max-width: 24em; }
.koeck-lw .lw-zeit { display: grid; gap: 18px; }
.koeck-lw .lw-zeit .lw-h2 { padding-left: 18px; border-left: 3px solid var(--lw-rosa); }
.koeck-lw .lw-turm { margin-top: 18px; }
.koeck-lw .lw-turm img { aspect-ratio: 3 / 2; height: auto; }

/* ---------------- 3 · Skizze → Raum ---------------- */
.koeck-lw .lw-wandel { padding-top: 96px; }
.koeck-lw .lw-wandel-kopf { padding: 0 var(--lw-rand) 22px; font: 400 clamp(24px, 6.4cqi, 34px)/1.15 var(--serif); letter-spacing: -.01em; text-wrap: balance; }
/* ohne Script / ruhig: Skizze und Foto untereinander */
.koeck-lw .lw-wand { position: relative; display: grid; gap: 10px; }
.koeck-lw .lw-wand > div { aspect-ratio: 16 / 9; overflow: hidden; background: #fff; }
.koeck-lw .lw-skizze { order: -1; }
.koeck-lw .lw-naht { display: none; }
.koeck-lw .lw-wand-bu { display: flex; justify-content: space-between; gap: 12px; padding: 10px var(--lw-rand) 0; font: 400 calc(14px * var(--lw-k))/1.4 var(--sans); color: var(--lw-grau); }
/* mit Script und Bewegung: Bühne steht, die Naht zieht von links nach rechts, aus der Zeichnung wird die Filiale */
.koeck-lw.lw-buehnen .lw-szene { height: calc(var(--lw-vh) * 2.2); }
.koeck-lw.lw-buehnen .lw-buehne { position: sticky; top: 0; box-sizing: border-box; height: var(--lw-vh); display: flex; flex-direction: column; justify-content: center; }
.koeck-lw.lw-buehnen .lw-wand { display: block; aspect-ratio: 16 / 9; }
.koeck-lw.lw-buehnen .lw-wand > div { position: absolute; inset: 0; aspect-ratio: auto; }
.koeck-lw.lw-buehnen .lw-skizze { clip-path: inset(0 0 0 var(--lw-n, 0%)); }
.koeck-lw.lw-buehnen .lw-naht { display: block; position: absolute; top: 0; bottom: 0; left: 0; width: 3px; margin-left: -1px; background: var(--lw-rosa); transform: translateX(var(--lw-nx, 0px)); opacity: var(--lw-no, 0); }
.koeck-lw.lw-buehnen .lw-wand-bu { display: grid; }
.koeck-lw.lw-buehnen .lw-bu-skizze, .koeck-lw.lw-buehnen .lw-bu-foto { grid-area: 1 / 1; }
.koeck-lw.lw-buehnen .lw-bu-skizze { opacity: clamp(0, (.5 - var(--lw-p, 0)) * 12, 1); }
.koeck-lw.lw-buehnen .lw-bu-foto { opacity: clamp(0, (var(--lw-p, 0) - .5) * 12, 1); }
/* Handy hochkant: Skizze und Foto im Ausschnitt 4 : 5 (Theke, Leuchten und Brotwand in der Mitte), damit die Bühne den Bildschirm füllt */
@container (max-width: 599px) {
	.koeck-lw.lw-buehnen .lw-wand { aspect-ratio: 4 / 5; width: min(100%, calc((var(--lw-vh) - 300px) * .8)); margin: 0 auto; }
	.koeck-lw.lw-buehnen .lw-wandel-kopf, .koeck-lw.lw-buehnen .lw-wand-bu { width: min(100%, calc((var(--lw-vh) - 300px) * .8)); margin: 0 auto; padding-left: 0; padding-right: 0; }
	.koeck-lw.lw-buehnen .lw-buehne { padding: calc(72px + env(safe-area-inset-top, 0px)) var(--lw-rand) 0; } /* frei unter Logo und Schließen */
	.koeck-lw.lw-buehnen .lw-wand img { object-position: 58% 50%; }
	.koeck-lw.lw-buehnen .lw-wand-bu { flex-direction: column; gap: 0; }
	.koeck-lw.lw-buehnen .lw-bu-skizze, .koeck-lw.lw-buehnen .lw-bu-foto { grid-area: 1 / 1; }
	.koeck-lw.lw-buehnen .lw-wand-bu { display: grid; }
}

/* ---------------- 4 · Zitat ---------------- */
.koeck-lw .lw-zitat { margin: 96px var(--lw-rand) 0; }
.koeck-lw .lw-zitat p { font: 400 clamp(28px, 8.2cqi, 40px)/1.12 var(--serif); letter-spacing: -.015em; max-width: 15em; text-wrap: balance; }
.koeck-lw .lw-zitat footer { margin-top: 16px; font: 500 calc(16px * var(--lw-k))/1.3 var(--sans); }
.koeck-lw .lw-zitat footer::before { content: ""; display: inline-block; width: 28px; height: 3px; margin: 0 10px 4px 0; vertical-align: middle; background: var(--lw-rosa); }

/* ---------------- 5 · Rundgang ---------------- */
.koeck-lw .lw-rund { position: relative; margin-top: 112px; padding-bottom: 8px; }
.koeck-lw .lw-schiene { position: sticky; z-index: 5; top: calc(var(--lw-vh) - 72px - env(safe-area-inset-bottom, 0px)); height: 0; display: flex; justify-content: center; pointer-events: none; }
.koeck-lw .lw-schiene ol { list-style: none; margin: 0; padding: 4px; display: flex; gap: 2px; height: max-content; border-radius: 999px; background: #fff; pointer-events: auto; outline: 1px solid rgba(0, 0, 0, .1); }
/* erst da, wenn die erste Station an der Leselinie ist; vorher nicht sichtbar und nicht erreichbar */
.koeck-lw.lw-js .lw-schiene ol { opacity: 0; visibility: hidden; transform: translateY(10px); pointer-events: none; transition: opacity .3s ease, transform .4s var(--lw-ease), visibility 0s linear .4s; }
.koeck-lw.lw-js .lw-schiene.lw-an ol { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .3s ease, transform .4s var(--lw-ease), visibility 0s; }
.koeck-lw .lw-schiene a { position: relative; display: flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; font: 500 15px/1 var(--sans); color: #555; text-decoration: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; transition: background-color .2s ease, color .2s ease; }
.koeck-lw .lw-schiene a[aria-current="true"] { color: #000; background: #fff; }
.koeck-lw .lw-schiene a[aria-current="true"]::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 8px; height: 2px; background: var(--lw-rosa); }
.koeck-lw .lw-schiene a:active { transform: scale(.97); }
.koeck-lw:not(.lw-js) .lw-schiene { display: none; }
.koeck-lw .lw-station { padding-top: 56px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; scroll-margin-top: 72px; }
.koeck-lw .lw-station:first-of-type { padding-top: 0; }
.koeck-lw .lw-st-bild { aspect-ratio: 4 / 3; overflow: hidden; }
.koeck-lw .lw-st-theke .lw-st-bild { aspect-ratio: 16 / 9; }
.koeck-lw .lw-st-text { padding: 0 var(--lw-rand); }
.koeck-lw .lw-st-neben { padding: 0 var(--lw-rand); }
.koeck-lw .lw-st-neben img { aspect-ratio: 4 / 5; height: auto; }
.koeck-lw .lw-st-cafe .lw-st-bild img { object-position: 40% 50%; }
.koeck-lw .lw-st-kaffee .lw-st-bild { aspect-ratio: 4 / 5; }
.koeck-lw .lw-st-kaffee .lw-st-bild img { object-position: 50% 42%; }
.koeck-lw .lw-st-schatten { padding: 4px var(--lw-rand) 0; }
.koeck-lw .lw-st-schatten img { aspect-ratio: 3 / 2; height: auto; }

/* ---------------- 6 · Eröffnungsvideo ---------------- */
.koeck-lw .lw-video { margin-top: 120px; padding: 0 var(--lw-rand); display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.koeck-lw .lw-video-text { display: grid; gap: 14px; justify-items: start; }
.koeck-lw .lw-ton { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 6px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; background: #000; color: #fff; font: 500 15px/1 var(--sans); cursor: pointer; transition: transform .16s var(--lw-ease); }
.koeck-lw .lw-ton:active { transform: scale(.97); }
.koeck-lw .lw-ton-i { width: 0; height: 0; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.koeck-lw .lw-ton[aria-pressed="true"] .lw-ton-i { width: 11px; height: 13px; border: 0; background: linear-gradient(90deg, currentColor 35%, transparent 35% 65%, currentColor 65%); } /* taste-skill-ignore: Pausezeichen aus zwei Balken */
.koeck-lw .lw-handy { position: relative; width: min(100%, 360px, calc((var(--lw-vh) - 48px) * 9 / 16)); justify-self: center; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #000; }
.koeck-lw .lw-handy video { display: block; width: 100%; height: 100%; object-fit: cover; }
.koeck-lw .lw-ut { position: absolute; left: 14px; right: 14px; bottom: 18px; padding: 8px 12px; border-radius: 6px; background: rgba(0, 0, 0, .62); color: #fff; font: 500 16px/1.32 var(--sans); text-align: center; opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .3s var(--lw-ease); }
.koeck-lw .lw-ut.lw-ut-da { opacity: 1; transform: none; }
.koeck-lw .lw-ut:empty { display: none; }
.koeck-lw .lw-ut { bottom: 70px; }
.koeck-lw .lw-pause { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; display: grid; place-items: center; cursor: pointer; transition: transform .16s var(--lw-ease); }
.koeck-lw .lw-pause:active { transform: scale(.94); }
.koeck-lw .lw-pause span { width: 12px; height: 14px; border-left: 4px solid currentColor; border-right: 4px solid currentColor; }
.koeck-lw .lw-pause.lw-steht span { width: 0; height: 0; border-right: 0; border-left: 13px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }
.koeck-lw:not(.lw-js) .lw-pause, .koeck-lw:not(.lw-js) .lw-ton { display: none; }
.koeck-lw .lw-abschrift { max-width: 30em; }
.koeck-lw .lw-abschrift-kopf { font: 500 calc(15px * var(--lw-k))/1.3 var(--sans); margin-bottom: 8px; }
.koeck-lw .lw-abschrift ol { margin: 0; padding: 0 0 0 18px; display: grid; gap: 6px; font: 400 calc(16px * var(--lw-k))/1.45 var(--sans); color: #222; }
/* mit Script: die Abschrift steht als Untertitel im Film, darunter bleibt sie zum Nachlesen eingeklappt kurz */
.koeck-lw.lw-js .lw-abschrift { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------------- 7 · Sonntags geöffnet ---------------- */
.koeck-lw .lw-sonntag { position: relative; margin-top: 160px; padding: 96px var(--lw-rand) 72px; background: var(--lw-terra); color: #fff; display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
.koeck-lw .lw-raute { --rw: 150px; position: absolute; right: max(8px, calc(var(--lw-rand) - 20px)); top: calc(var(--rw) * -.5); width: var(--rw); height: var(--rw); display: grid; place-items: center; text-align: center; transform: rotate(-7deg); }
.koeck-lw.lw-js .lw-raute { transform: rotate(-7deg) translateY(24px); }
.koeck-lw.lw-js .lw-raute.lw-da { transform: rotate(-7deg); }
.koeck-lw .lw-raute::before, .koeck-lw .lw-raute::after { content: ""; position: absolute; transform: rotate(45deg); }
.koeck-lw .lw-raute::before { inset: 14.6%; border-radius: 10%; background: var(--lw-rosa); }
.koeck-lw .lw-raute::after { inset: 16.8%; border: 1px solid #fff; border-radius: 7%; }
.koeck-lw .lw-raute span { position: relative; z-index: 1; font: 400 calc(var(--rw) * .135)/1.05 var(--serif); color: #000; }
.koeck-lw .lw-sonntag-text { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
.koeck-lw .lw-sonntag .lw-h2 { padding-right: 96px; }
.koeck-lw .lw-liste { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.koeck-lw .lw-liste li { padding: 7px 13px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 999px; font: 500 calc(15px * var(--lw-k))/1.2 var(--sans); }
.koeck-lw .lw-sonntag-bild { margin: 12px 0 0; }
.koeck-lw .lw-sonntag-bild img { aspect-ratio: 4 / 5; height: auto; object-position: 50% 38%; }
.koeck-lw .lw-sonntag .lw-bu { color: #fff; }

/* ---------------- 8 · Draußen und Dank ---------------- */
.koeck-lw .lw-ende { padding-top: 0; }
.koeck-lw .lw-ende-bild { aspect-ratio: 4 / 5; overflow: hidden; }
.koeck-lw .lw-ende-bild img { object-position: 30% 60%; }
.koeck-lw.lw-js .lw-ende-bild { transform: none; } /* großes Foto: nur Deckkraft */
.koeck-lw .lw-ende-text { padding: 48px var(--lw-rand) 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.koeck-lw .lw-irene { margin-top: 34px; }
.koeck-lw .lw-irene img { aspect-ratio: 4 / 5; height: auto; object-position: 47% 40%; }
.koeck-lw .lw-vermerk { padding: 48px var(--lw-rand) 0; font: 400 calc(14px * var(--lw-k))/1.45 var(--sans); color: var(--lw-grau); }

/* ---------------- Tablet ---------------- */
@container (min-width: 600px) {
	.koeck-lw > * { --lw-rand: max(40px, env(safe-area-inset-left), env(safe-area-inset-right)); }
	.koeck-lw .lw-titel { font-size: clamp(52px, 8.6cqi, 76px); max-width: 12em; }
	@media (min-aspect-ratio: 5/4) { .koeck-lw .lw-titel { font-size: min(clamp(52px, 8.6cqi, 76px), var(--lw-vh) * .11); } }
	.koeck-lw .lw-wand-bu { padding-left: var(--lw-rand); padding-right: var(--lw-rand); }
	.koeck-lw.lw-buehnen .lw-wand, .koeck-lw.lw-buehnen .lw-wand-bu, .koeck-lw.lw-buehnen .lw-wandel-kopf { width: min(calc(100% - var(--lw-rand) * 2), calc((var(--lw-vh) - 200px * var(--lw-k)) * 16 / 9)); margin-left: auto; margin-right: auto; padding-left: 0; padding-right: 0; }
	.koeck-lw .lw-st-kaffee { grid-template-columns: 3fr 2fr; column-gap: 24px; padding-left: var(--lw-rand); padding-right: var(--lw-rand); }
	.koeck-lw .lw-st-kaffee .lw-st-bild { grid-column: 1; grid-row: 1; }
	.koeck-lw .lw-st-kaffee .lw-st-neben { grid-column: 2; grid-row: 1; padding: 0; align-self: start; }
	.koeck-lw .lw-st-kaffee .lw-st-text { grid-column: 1 / -1; padding: 0; }
	.koeck-lw .lw-video { grid-template-columns: 1fr minmax(0, 340px); align-items: center; column-gap: 40px; }
	.koeck-lw .lw-handy { grid-row: 1 / span 2; grid-column: 2; }
	.koeck-lw .lw-video-text { grid-row: 1 / span 2; align-self: center; }
	.koeck-lw .lw-sonntag { grid-template-columns: 1fr 1fr; column-gap: 40px; padding-bottom: 96px; align-items: center; }
	.koeck-lw .lw-sonntag-bild { margin: 0; grid-column: 2; grid-row: 1; }
	.koeck-lw .lw-irene img { aspect-ratio: 3 / 2; }
	.koeck-lw .lw-sonntag-text, .koeck-lw .lw-irene, .koeck-lw .lw-turm { max-width: 640px; }
	.koeck-lw .lw-raute { --rw: 180px; }
	.koeck-lw .lw-ende-bild { aspect-ratio: 16 / 10; }
}

/* ---------------- Desktop ---------------- */
@container (min-width: 1000px) {
	.koeck-lw > * { --lw-rand: max(56px, env(safe-area-inset-left), env(safe-area-inset-right)); }
	.koeck-lw .lw-auf-text { top: calc(128px * var(--lw-k)); }
	.koeck-lw .lw-titel { font-size: calc(clamp(72px, 7cqi, 104px) * var(--lw-k)); max-width: none; }
	.koeck-lw .lw-titel-z { display: block; }
	.koeck-lw .lw-claim { margin-top: 22px; font-size: calc(20px * var(--lw-k)); }
	.koeck-lw .lw-auf-bild img { object-position: 50% 62%; }
	@media (min-aspect-ratio: 5/4) {
		.koeck-lw .lw-auf-bild img { object-position: 50% 69%; }
		.koeck-lw .lw-auf-text { top: auto; bottom: calc(64px * var(--lw-k)); }
		.koeck-lw .lw-titel { font-size: min(calc(clamp(72px, 7cqi, 104px) * var(--lw-k)), var(--lw-vh) * .11); }
	}
	.koeck-lw .lw-h2 { font-size: calc(clamp(40px, 3.6cqi, 50px) * var(--lw-k)); }
	.koeck-lw .lw-h3 { font-size: calc(clamp(32px, 2.8cqi, 40px) * var(--lw-k)); }
	.koeck-lw .lw-text { font-size: calc(19px * var(--lw-k)); }

	.koeck-lw .lw-vor-teil { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: calc(120px * var(--lw-k)); padding-top: calc(150px * var(--lw-k)); }
	.koeck-lw .lw-vor { grid-column: 1 / 10; font-size: calc(clamp(34px, 3.1cqi, 42px) * var(--lw-k)); }
	.koeck-lw .lw-zeit { grid-column: 1 / -1; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: start; }
	.koeck-lw .lw-zeit .lw-h2 { grid-column: 1 / 5; padding-left: 22px; }
	.koeck-lw .lw-zeit .lw-text { grid-column: 6 / 12; grid-row: 1 / span 2; padding-top: 6px; }
	.koeck-lw .lw-turm { grid-column: 1 / 5; grid-row: 2; margin-top: calc(40px * var(--lw-k)); }

	.koeck-lw .lw-wandel { padding-top: calc(160px * var(--lw-k)); }
	.koeck-lw .lw-wandel-kopf { font-size: calc(clamp(36px, 3.2cqi, 46px) * var(--lw-k)); padding-bottom: calc(28px * var(--lw-k)); }
	.koeck-lw .lw-wand { margin: 0 var(--lw-rand); }

	.koeck-lw .lw-zitat { margin: calc(160px * var(--lw-k)) var(--lw-rand) 0 calc(var(--lw-rand) + 8.333cqi); }
	.koeck-lw .lw-zitat p { font-size: calc(clamp(52px, 4.8cqi, 68px) * var(--lw-k)); }

	.koeck-lw .lw-rund { margin-top: calc(176px * var(--lw-k)); }
	.koeck-lw .lw-station { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 0; padding: calc(96px * var(--lw-k)) var(--lw-rand) 0; align-items: end; }
	.koeck-lw .lw-station:first-of-type { padding-top: 0; }
	.koeck-lw .lw-st-theke .lw-st-bild { grid-column: 1 / -1; grid-row: 1; margin: 0 calc(var(--lw-rand) * -1); aspect-ratio: 21 / 9; }
	.koeck-lw .lw-st-theke .lw-st-text { grid-column: 6 / 12; grid-row: 2; padding: calc(40px * var(--lw-k)) 0 0; }
	.koeck-lw .lw-st-kaffee { align-items: start; }
	.koeck-lw .lw-st-kaffee .lw-st-bild { grid-column: 1 / 7; grid-row: 1 / 3; }
	.koeck-lw .lw-st-kaffee .lw-st-neben { grid-column: 8 / 13; grid-row: 1; padding: 0; }
	.koeck-lw .lw-st-kaffee .lw-st-neben img { aspect-ratio: 4 / 3; }
	.koeck-lw .lw-st-kaffee .lw-st-text { grid-column: 8 / 13; grid-row: 2; padding: calc(40px * var(--lw-k)) 0 0; }
	.koeck-lw .lw-st-cafe .lw-st-bild { grid-column: 5 / 13; grid-row: 1 / 3; aspect-ratio: 3 / 2; align-self: start; }
	.koeck-lw .lw-st-cafe .lw-st-text { grid-column: 1 / 5; grid-row: 1; padding: 0; align-self: start; }
	.koeck-lw .lw-st-schatten { grid-column: 1 / 5; grid-row: 2; padding: calc(32px * var(--lw-k)) 0 0; align-self: end; }
	.koeck-lw .lw-st-text, .koeck-lw .lw-st-neben { padding-left: 0; padding-right: 0; }
	.koeck-lw .lw-schiene { top: calc(var(--lw-vh) - 84px); }
	.koeck-lw .lw-schiene a { font-size: calc(16px * var(--lw-k)); padding: 0 calc(22px * var(--lw-k)); min-height: calc(46px * var(--lw-k)); }
	.koeck-lw .lw-schiene a[aria-current="true"]::after { left: calc(22px * var(--lw-k)); right: calc(22px * var(--lw-k)); }

	.koeck-lw .lw-video { margin-top: calc(176px * var(--lw-k)); grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; }
	.koeck-lw .lw-video-text { grid-column: 2 / 7; grid-row: 1 / span 2; align-self: center; }
	.koeck-lw .lw-handy { grid-column: 8 / 12; grid-row: 1 / span 2; width: min(100%, calc(400px * var(--lw-k)), calc((var(--lw-vh) - 64px) * 9 / 16)); }
	.koeck-lw .lw-ut { font-size: calc(17px * var(--lw-k)); }

	.koeck-lw .lw-sonntag { margin-top: calc(220px * var(--lw-k)); grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding: calc(140px * var(--lw-k)) var(--lw-rand) calc(140px * var(--lw-k)); }
	.koeck-lw .lw-sonntag-text { grid-column: 1 / 7; grid-row: 1; }
	.koeck-lw .lw-sonntag-bild { grid-column: 8 / 12; }
	.koeck-lw .lw-sonntag .lw-h2 { font-size: calc(clamp(52px, 4.6cqi, 66px) * var(--lw-k)); padding-right: 0; }
	.koeck-lw .lw-raute { --rw: calc(230px * var(--lw-k)); right: calc(var(--lw-rand) + 2cqi); }
	.koeck-lw .lw-liste li { padding: calc(8px * var(--lw-k)) calc(15px * var(--lw-k)); }

	.koeck-lw .lw-ende-bild { aspect-ratio: auto; height: min(max(var(--lw-vh), 560px), 62.5cqi); }
	.koeck-lw .lw-ende-text { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding-top: calc(72px * var(--lw-k)); }
	.koeck-lw .lw-ende-text { align-items: start; row-gap: 18px; }
	.koeck-lw .lw-ende-text .lw-h2 { grid-column: 1 / 6; grid-row: 1; }
	.koeck-lw .lw-ende-text .lw-text { grid-column: 1 / 6; grid-row: 2; }
	.koeck-lw .lw-irene { grid-column: 7 / 13; grid-row: 1 / span 3; margin-top: 0; max-width: none; }
	.koeck-lw .lw-vermerk { padding-top: calc(64px * var(--lw-k)); }
	.koeck-lw .sm-naechste { margin-top: 160px; }
}
/* Niedrige Fenster (Handy quer): Bühne aus der Höhe rechnen, Überschrift kleiner, damit Skizze und Raum groß bleiben */
@media (max-height: 520px) and (min-aspect-ratio: 5/4) {
	.koeck-lw.lw-buehnen .lw-buehne { padding: 64px 0 0; }
	.koeck-lw.lw-buehnen .lw-wand, .koeck-lw.lw-buehnen .lw-wand-bu, .koeck-lw.lw-buehnen .lw-wandel-kopf { width: min(calc(100% - var(--lw-rand) * 2), calc((var(--lw-vh) - 150px) * 16 / 9)); aspect-ratio: auto; margin-left: auto; margin-right: auto; padding-left: 0; padding-right: 0; }
	.koeck-lw.lw-buehnen .lw-wand { aspect-ratio: 16 / 9; }
	.koeck-lw.lw-buehnen .lw-wand img { object-position: 50% 50%; }
	.koeck-lw.lw-buehnen .lw-wandel-kopf { font-size: 20px; padding-bottom: 10px; }
	.koeck-lw.lw-buehnen .lw-wand-bu { padding-top: 6px; }
}
/* Über 1440 px steht die Story im Rahmen (stories-magazin.css) und wächst mit; die großen Flächen treten bis an den Bildschirmrand */
@media (min-width: 1441px) {
	.koeck-lw { --lw-k: var(--sm-x, 1); --lw-aus: calc((100vw - var(--scrollbar-width, 0px) - var(--sm-b)) / 2); }
	.koeck-lw .lw-auf, .koeck-lw .lw-ende-bild { margin-left: calc(var(--lw-aus) * -1); margin-right: calc(var(--lw-aus) * -1); }
	.koeck-lw .lw-sonntag { margin-left: calc(var(--lw-aus) * -1); margin-right: calc(var(--lw-aus) * -1); padding-left: calc(var(--lw-aus) + var(--lw-rand)); padding-right: calc(var(--lw-aus) + var(--lw-rand)); }
	.koeck-lw .lw-auf-text { left: calc(var(--lw-aus) + var(--lw-rand)); right: calc(var(--lw-aus) + var(--lw-rand)); }
	.koeck-lw .lw-raute { right: calc(var(--lw-aus) + var(--lw-rand) + 2cqi); }
	@container (min-width: 1000px) {
		.koeck-lw > * { --lw-rand: calc(56px * var(--sm-x, 1)); }
		.koeck-lw .lw-vor-teil, .koeck-lw .lw-zeit, .koeck-lw .lw-station, .koeck-lw .lw-video, .koeck-lw .lw-sonntag, .koeck-lw .lw-ende-text { column-gap: calc(24px * var(--sm-x, 1)); }
		.koeck-lw .lw-st-theke .lw-st-bild { margin: 0 calc((var(--lw-rand) + var(--lw-aus)) * -1); }
		.koeck-lw .sm-naechste { margin-top: calc(160px * var(--sm-x, 1)); }
	}
}

/* Zoom 200 % / sehr schmal */
@container (max-width: 340px) {
	.koeck-lw > * { --lw-rand: 16px; }
	.koeck-lw .lw-titel { font-size: 28px; }
	.koeck-lw .lw-auf-text { top: calc(80px + env(safe-area-inset-top, 0px)); }
	.koeck-lw .lw-claim { margin-top: 10px; font-size: 15px; }
	.koeck-lw .lw-schiene { display: none; } /* Zoom 200 %: die Leiste würde dauernd Text verdecken */
	.koeck-lw .lw-raute { --rw: 120px; }
	.koeck-lw .lw-sonntag .lw-h2 { padding-right: 70px; }
	.koeck-lw .lw-wand-bu { flex-direction: column; gap: 2px; }
	.koeck-lw.lw-buehnen .lw-wandel-kopf { width: 100%; font-size: 20px; padding-bottom: 12px; }
	.koeck-lw.lw-buehnen .lw-wand { width: min(100%, calc((var(--lw-vh) - 230px) * .8)); }
	.koeck-lw.lw-buehnen .lw-wand-bu { width: 100%; }
}

@media (hover: hover) and (pointer: fine) {
	.koeck-lw .lw-schiene a:hover { color: #000; }
	.koeck-lw .lw-ton:hover { background: #222; }
}
@media (prefers-reduced-motion: reduce) {
	.koeck-lw [data-lw-auf], .koeck-lw .lw-auf-text > *, .koeck-lw .lw-ut { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; }
	.koeck-lw .lw-raute { transform: rotate(-7deg) !important; }
	.koeck-lw .lw-auf-bild img { transform: none !important; }
	.koeck-lw .lw-schiene ol { transition: none !important; }
}
@media print {
	.koeck-lw [data-lw-auf], .koeck-lw .lw-auf-text > * { opacity: 1 !important; transform: none !important; animation: none !important; }
	.koeck-lw .lw-schiene { display: none; }
}
