/*
 * Eigene Story „Feuer und Flamme für gutes Brot“ – Namensraum .koeck-grill, Präfix kg-.
 * Vorlage template-parts/stories/eigen/grill.php, Script js/stories/grill.js.
 * Wie Plakat und Folder der Grill-Kampagne: weiß, rosa Köck-Raster (#ed6c84, aus dem Plakat gemessen) hinter Titel und
 * Schluss, große Serifenschrift, rosa Rauten, warme Fotos. Ruhig und edel: Raster zeichnet sich, Filme laufen still,
 * Teigruhe-Balken füllen sich. Handy zuerst; ab 900 px Bild und Text nebeneinander.
 */
.koeck-grill {
	--kg-rosa: #ed6c84;     /* Raster und Rauten (Plakat) */
	--kg-rosa-t: #b8304d;   /* rosa Schrift auf Weiß: 5,9:1 */
	--kg-ink: #111;
	--kg-grau: #555;        /* 7,5:1 */
	--kg-rand: 20px;
	--kg-z: clamp(46px, 12.5vw, 96px); /* Rasterzelle */
	--kg-ease: cubic-bezier(.23, 1, .32, 1);
	background: #fff; color: var(--kg-ink);
	font: 400 18px/1.6 var(--sans); -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
	overflow-x: clip;
}
.koeck-grill p, .koeck-grill figure, .koeck-grill h1, .koeck-grill h2, .koeck-grill ul, .koeck-grill ol { margin: 0; padding: 0; }
.koeck-grill img { display: block; width: 100%; height: 100%; object-fit: cover; }
.koeck-grill button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
@media (min-width: 600px) { .koeck-grill { --kg-rand: 40px; } }
@media (min-width: 900px) { .koeck-grill { --kg-rand: clamp(48px, 6vw, 96px); } }

/* Raster: waagrechte und senkrechte Linien, zeichnen sich nacheinander (clip-path) */
.koeck-grill .kg-raster { position: absolute; pointer-events: none; }
.koeck-grill .kg-raster i { position: absolute; inset: 0; }
.koeck-grill .kg-r-h { background: linear-gradient(var(--kg-rosa) 1px, transparent 1px) 0 0 / 100% var(--kg-z); } /* taste-skill-ignore: Köck-Raster (CI), harte Linie, kein Verlauf */
.koeck-grill .kg-r-v { background: linear-gradient(90deg, var(--kg-rosa) 1px, transparent 1px) 0 0 / var(--kg-z) 100%; } /* taste-skill-ignore: Köck-Raster (CI) */
.koeck-grill.kg-js .kg-r-h { clip-path: inset(0 100% 0 0); }
.koeck-grill.kg-js .kg-r-v { clip-path: inset(0 0 100% 0); }
.koeck-grill.kg-js .kg-zeichnet .kg-r-h, .koeck-grill.kg-da:not(.kg-lauf) .kg-r-h { clip-path: inset(0 0 0 0); transition: clip-path 1.4s cubic-bezier(.65, 0, .35, 1) var(--kg-rv, 0s); }
.koeck-grill.kg-js .kg-zeichnet .kg-r-v, .koeck-grill.kg-da:not(.kg-lauf) .kg-r-v { clip-path: inset(0 0 0 0); transition: clip-path 1.4s cubic-bezier(.65, 0, .35, 1) calc(var(--kg-rv, 0s) + .25s); }
.koeck-grill .kg-raster--held { --kg-rv: .7s; } /* erst steht der Titel, dann zeichnet sich das Raster */
/* Das Schluss-Raster zeichnet grill.js beim Scrollen (clip-path direkt am Element, 1.57.0) – ohne Übergang */

/* 1 · Einstieg wie das Plakat */
.koeck-grill .kg-held { position: relative; padding: calc(96px + env(safe-area-inset-top, 0px)) 0 0; }
.koeck-grill .kg-raster--held { left: var(--kg-rand); right: 0; top: calc(96px + env(safe-area-inset-top, 0px) - var(--kg-z) * .32); height: calc(var(--kg-zt) * 8 + 1px); } /* endet unter dem Titel, der Vorspann steht frei (wie das Plakat) */
.koeck-grill .kg-held-text { position: relative; padding: 0 var(--kg-rand); }
@media (min-width: 700px) { .koeck-grill .kg-held-text { padding-right: 0; } }
.koeck-grill .kg-held { --kg-tf: clamp(64px, 21.5vw, 120px); --kg-zt: calc(var(--kg-tf) / 2.16); }
.koeck-grill .kg-raster--held .kg-r-h { background-size: 100% var(--kg-zt); }
.koeck-grill .kg-raster--held .kg-r-v { background-size: var(--kg-zt) 100%; }
.koeck-grill .kg-titel { max-width: 5.4em; font: 300 var(--kg-tf)/calc(var(--kg-zt) * 2) var(--serif); letter-spacing: -.025em; text-wrap: wrap; hyphens: manual; }
.koeck-grill .kg-vorspann { margin-top: calc(var(--kg-z) * .9 + 16px); max-width: 21em; font: 400 19px/1.4 var(--sans); }
.koeck-grill .kg-held-bild { position: relative; margin: 34px 0 0 30%; aspect-ratio: 4 / 5; overflow: hidden; background: #eee; }
.koeck-grill.kg-js .kg-vorspann { opacity: 0; transform: translateY(10px); transition: opacity .8s var(--kg-ease), transform 1s var(--kg-ease); }
.koeck-grill.kg-js.kg-los .kg-vorspann, .koeck-grill.kg-da .kg-vorspann { opacity: 1; transform: none; transition-delay: .55s; }

/* Einleitung */
.koeck-grill .kg-intro { position: relative; display: grid; gap: 30px; padding: 64px var(--kg-rand) 0; }
.koeck-grill .kg-spalte { max-width: 26em; } /* ca. 65–75 Zeichen */
.koeck-grill .kg-spalte p + p { margin-top: 1em; }
.koeck-grill .kg-intro-bild { width: 62%; margin-left: auto; aspect-ratio: 2 / 3; overflow: hidden; background: #eee; }

/* 2 · Unser Grillgebäck */
.koeck-grill .kg-reihe { padding: 80px 0 0; }
.koeck-grill .kg-reihe-h { padding: 0 var(--kg-rand); font: 300 clamp(34px, 9vw, 60px)/1 var(--serif); letter-spacing: -.02em; }
.koeck-grill .kg-reihe ul { display: flex; gap: 12px; margin-top: 22px; padding: 0 var(--kg-rand) 6px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--kg-rand); scrollbar-width: none; overscroll-behavior-x: contain; }
.koeck-grill .kg-reihe ul::-webkit-scrollbar { display: none; }
.koeck-grill .kg-reihe li { flex: 0 0 42%; scroll-snap-align: start; }
.koeck-grill .kg-reihe a { display: block; color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.koeck-grill .kg-reihe-bild { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: #eee; }
.koeck-grill .kg-reihe-bild img { transition: transform .6s var(--kg-ease); }
.koeck-grill .kg-reihe-name { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 44px; padding-top: 8px; border-bottom: 1px solid var(--kg-rosa); font: 600 16px/1.2 var(--sans); }
.koeck-grill .kg-reihe-name::after { content: "↓"; color: var(--kg-rosa-t); font-weight: 400; }
.koeck-grill .kg-reihe a:active .kg-reihe-bild img { transform: scale(.98); }
.koeck-grill .kg-reihe a:focus-visible { outline: 3px solid var(--kg-rosa-t); outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .koeck-grill .kg-reihe a:hover .kg-reihe-bild img { transform: scale(1.04); } }

/* 3 · Kapitel */
.koeck-grill .kg-kap { display: grid; gap: 34px; padding: 96px var(--kg-rand) 0; scroll-margin-top: 70px; }
.koeck-grill .kg-kap-medien { position: relative; }
.koeck-grill .kg-foto, .koeck-grill .kg-film { position: relative; overflow: hidden; background: #eee center / cover no-repeat; }
.koeck-grill:not(.kg-lauf) .kg-film video { visibility: hidden; } /* ohne Script: Standbild statt leerer Videosteuerung */
.koeck-grill .kg-foto { aspect-ratio: 4 / 5; max-height: 86svh; margin: 0 calc(var(--kg-rand) * -1); }
.koeck-grill .kg-foto--ciabatta img { object-position: 18% 50%; } /* das Brot, nicht die Tomaten */
.koeck-grill .kg-reihe-bild--ciabatta img { object-position: 8% 60%; }
.koeck-grill .kg-film { width: 74%; aspect-ratio: 9 / 16; max-height: 78svh; margin-left: auto; margin-right: calc(var(--kg-rand) * -1 + 10px); }
.koeck-grill .kg-kap--rechts .kg-film { margin-left: calc(var(--kg-rand) * -1 + 10px); margin-right: auto; }
.koeck-grill .kg-film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.koeck-grill .kg-foto--klein { position: absolute; left: 0; bottom: -28px; width: 44%; aspect-ratio: 4 / 5; margin: 0; z-index: 2; box-sizing: border-box; border: 8px solid #fff; background: #fff; }
.koeck-grill .kg-kap--rechts .kg-foto--klein { left: auto; right: 0; }
.koeck-grill .kg-kap:not(.kg-kap--film) .kg-foto--klein { bottom: -40px; width: 40%; }
.koeck-grill .kg-film-knopf { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 18px 6px 6px; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .92); color: var(--kg-ink); font: 600 16px/1 var(--sans); cursor: pointer; transition: transform .16s var(--kg-ease); user-select: none; -webkit-user-select: none; }
.koeck-grill .kg-kap--film:not(.kg-kap--rechts) .kg-film-knopf { left: auto; right: 12px; }
.koeck-grill .kg-film-knopf:active { transform: scale(.96); }
@media (hover: hover) and (pointer: fine) { .koeck-grill .kg-film-knopf { transition: transform .16s var(--kg-ease), background-color .2s ease; } .koeck-grill .kg-film-knopf:hover { background: #fff; } }
.koeck-grill .kg-film-knopf:focus-visible { outline: 3px solid var(--kg-rosa-t); outline-offset: 3px; }
.koeck-grill .kg-play { position: relative; width: 36px; height: 36px; border-radius: 50%; background: var(--kg-rosa); }
.koeck-grill .kg-play::after { content: ""; position: absolute; left: 14px; top: 11px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent #fff; }
/* Raute wie im Heft (Dachzeile des Kapitels, nur Schmuck – die Dachzeile steht auch als Text) */
.koeck-grill .kg-raute { position: absolute; top: -44px; right: -6px; z-index: 3; display: grid; place-items: center; box-sizing: border-box; width: clamp(128px, 34vw, 156px); height: clamp(128px, 34vw, 156px); place-content: center; padding: 0; color: #fff; font: 400 clamp(15px, 4vw, 19px)/1.04 var(--serif); text-align: center; hyphens: manual; overflow-wrap: normal; }
.koeck-grill .kg-raute span { max-width: 52%; text-wrap: balance; }
.koeck-grill .kg-raute span { min-width: min-content; } /* 1.87.4: ein langes Wort („Sommerlich“) ragte nach rechts hinaus – jetzt wächst die Zeile mit, bleibt mittig */
.koeck-grill .kg-raute::before { content: ""; position: absolute; inset: 15%; z-index: -1; border-radius: 12px; background: var(--kg-rosa); outline: 1.5px solid #fff; outline-offset: -5px; transform: rotate(45deg); } /* taste-skill-ignore: Innenkontur wie auf dem Plakat (CI) */
.koeck-grill .kg-kap--rechts .kg-raute { right: auto; left: -6px; }
.koeck-grill .kg-kap-text { max-width: 26em; padding-top: 30px; }
.koeck-grill .kg-kap-text .kg-dach, .koeck-grill .kg-nur-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.koeck-grill .kg-satz-l { color: var(--kg-rosa-t); }
.koeck-grill .kg-h { margin-bottom: 16px; font: 300 clamp(36px, 10vw, 60px)/1 var(--serif); letter-spacing: -.02em; text-wrap: balance; hyphens: manual; }
.koeck-grill .kg-kap-text > p + p { margin-top: 1em; }
.koeck-grill .kg-tipp { position: relative; margin-top: 24px; padding-top: 16px; }
.koeck-grill .kg-tipp::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--kg-rosa); transform-origin: 0 50%; }
.koeck-grill .kg-tipp-l { margin-bottom: 8px; color: var(--kg-rosa-t); font: 600 18px/1.3 var(--sans); }
.koeck-grill .kg-tipp > p:not(.kg-tipp-l), .koeck-grill .kg-schritte { font-weight: 600; }
.koeck-grill .kg-schritte { list-style: none; display: grid; gap: 12px; }
.koeck-grill .kg-schritte li { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: start; padding-bottom: 12px; }
.koeck-grill .kg-s-n { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--kg-rosa); border-radius: 50%; color: var(--kg-rosa-t); font: 600 14px/1 var(--sans); transition: background-color .3s ease, color .3s ease; }
.koeck-grill .kg-schritte li i { position: absolute; left: 40px; right: 0; bottom: 0; height: 2px; background: #f1e4e7; overflow: hidden; }
.koeck-grill .kg-schritte li i b { position: absolute; inset: 0; background: var(--kg-rosa); transform-origin: 0 50%; transform: scaleX(0); transition: transform .3s linear; }
.koeck-grill .kg-schritte li.kg-jetzt .kg-s-n, .koeck-grill .kg-schritte li.kg-war .kg-s-n { background: var(--kg-rosa); color: #fff; }
.koeck-grill .kg-schritte li.kg-war i b { transform: scaleX(1); }

/* Teigruhe: feine rosa Linien mit Stundenskala */
.koeck-grill .kg-ruhe { padding: 96px var(--kg-rand) 0; }
.koeck-grill .kg-ruhe-satz { font: 300 clamp(22px, 5.6vw, 32px)/1.22 var(--serif); letter-spacing: -.01em; text-wrap: pretty; }
.koeck-grill .kg-balken { margin-top: 34px; }
.koeck-grill .kg-b { position: relative; display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 18px; }
.koeck-grill .kg-b-name { font: 600 16px/1.3 var(--sans); }
.koeck-grill .kg-b-zeit { color: var(--kg-grau); font: 400 16px/1.3 var(--sans); text-align: right; }
.koeck-grill .kg-b::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #f0d8de; }
.koeck-grill .kg-b i { position: absolute; left: 0; bottom: -1px; width: 100%; height: 3px; background: var(--kg-rosa); transform-origin: 0 50%; transform: scaleX(var(--w)); }
.koeck-grill.kg-lauf .kg-b i { transform: scaleX(0); } /* grill.js füllt die Balken beim Scrollen, zurückscrollen leert sie (1.57.0) */
.koeck-grill .kg-b-skala { display: flex; justify-content: space-between; color: var(--kg-grau); font: 400 13px/1 var(--sans); font-variant-numeric: tabular-nums; }

/* Schluss wie die Folder-Rückseite */
.koeck-grill .kg-ende { position: relative; margin: 110px 0 clamp(96px, 16vw, 200px); padding: var(--kg-z) var(--kg-rand); } /* danach Luft bis zur nächsten Story */
.koeck-grill .kg-raster--ende { left: var(--kg-rand); right: 0; top: 0; bottom: 0; }
.koeck-grill .kg-ende-satz { position: relative; max-width: 9em; font: 300 calc(var(--kg-z) * 1.08)/var(--kg-z) var(--serif); letter-spacing: -.02em; text-wrap: balance; hyphens: manual; }

/* Fotos aufdecken */


/* ===== Bewegung (1.53.0): ruhig, nur transform / opacity / clip-path ===== */
/* 1.57.0: Einblenden ab der Leselinie (Handy 55 %, Maus 75 %), beim Zurückscrollen zügig wieder weg; Aufbauendes hängt am Scrollen */
.koeck-grill { --kg-weich: cubic-bezier(.16, 1, .3, 1); }
/* 1 · Titel wie gedruckt: Zeile für Zeile aus einer unsichtbaren Kante (grill.js teilt in Zeilen) */
.koeck-grill .kg-zeile { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.koeck-grill .kg-zeile > span { display: block; }
.koeck-grill.kg-lauf .kg-zeile > span { transform: translateY(108%); transition: transform 1.1s var(--kg-weich) calc(var(--z) * 90ms + 80ms); }
.koeck-grill.kg-lauf.kg-los .kg-zeile > span { transform: none; }
/* 2 · Fotos: Vorhang von unten, dann langsame Kamerafahrt 108 % → 100 % */
.koeck-grill :is(.kg-foto, .kg-film, .kg-held-bild, .kg-intro-bild) > :is(img, video) { transform-origin: 50% 60%; }
/* 1.57.0: ab der Leselinie (jhSmAuf), hinein ruhig und gestaffelt, beim Zurückscrollen zügig wieder zu */
.koeck-grill.kg-lauf :is(.kg-foto, .kg-film, .kg-held-bild, .kg-intro-bild) > :is(img, video) { clip-path: inset(100% 0 0 0); transform: scale(1.08); transition: clip-path .45s var(--kg-ease), transform .6s var(--kg-ease); }
.koeck-grill.kg-lauf .kg-sicht > :is(img, video) { clip-path: inset(0 0 0 0); transform: none; transition: clip-path 1.1s var(--kg-weich) calc(var(--sm-stufe, 0) * 100ms), transform 2.2s var(--kg-weich) calc(var(--sm-stufe, 0) * 100ms); }
.koeck-grill.kg-lauf .kg-foto--klein.kg-sicht > img { transition-delay: calc(var(--sm-stufe, 0) * 100ms + .2s); }
/* 3 · Tiefe: das kleine Foto zieht beim Scrollen minimal langsamer mit (grill.js setzt translate direkt am Element, höchstens ±18 px) */
/* 4 · Raute: legt sich wie ein Stempel aufs Blatt – aus leichter Drehung, ohne Nachfedern (1.57.0: ohne Unschärfe, nur transform/opacity; geht beim Zurückscrollen) */
.koeck-grill.kg-lauf .kg-raute { opacity: 0; transform: rotate(-8deg) scale(1.06); transition: opacity .35s var(--kg-ease), transform .5s var(--kg-ease); }
.koeck-grill.kg-lauf .kg-kap-medien.kg-sicht .kg-raute { opacity: 1; transform: none; transition: opacity .7s var(--kg-ease) .45s, transform 1.2s var(--kg-weich) .45s; }
.koeck-grill .kg-raute::after { content: ""; position: absolute; inset: 15%; z-index: -2; border-radius: 12px; transform: rotate(45deg) translateY(6px); background: rgba(120, 30, 50, .18); filter: blur(10px); } /* weicher Schatten unter der Raute */
/* 6 · Text: Dachzeile, Überschrift, Absätze und Tipp nacheinander; die Linie über „Unser Tipp“ zieht sich */
.koeck-grill.kg-lauf .kg-kap-text > * { opacity: 0; transform: translateY(14px); transition: opacity .45s var(--kg-ease), transform .6s var(--kg-ease); } /* zurück: zügig, ohne Verzögerung (1.57.0) */
.koeck-grill.kg-lauf .kg-kap-text.kg-sicht > * { opacity: 1; transform: none; transition: opacity 1.1s var(--kg-ease), transform 1.4s var(--kg-weich); }
.koeck-grill.kg-lauf .kg-kap-text.kg-sicht > :nth-child(2) { transition-delay: .08s; }
.koeck-grill.kg-lauf .kg-kap-text.kg-sicht > :nth-child(3) { transition-delay: .16s; }
.koeck-grill.kg-lauf .kg-kap-text.kg-sicht > :nth-child(4) { transition-delay: .24s; }
.koeck-grill.kg-lauf .kg-kap-text.kg-sicht > :nth-child(n+5) { transition-delay: .32s; }
.koeck-grill.kg-lauf .kg-tipp::before { transform: scaleX(0); transition: transform .45s var(--kg-ease); }
.koeck-grill.kg-lauf .kg-kap-text.kg-sicht .kg-tipp::before { transform: none; transition: transform 1.4s var(--kg-weich) .6s; }
/* 7 · Reihe: Fotos werden nacheinander aufgelegt; am Computer hebt sich eines leicht, der Name unterstreicht sich rosa */
.koeck-grill.kg-lauf .kg-reihe li { opacity: 0; transform: translateY(22px); transition: opacity .45s var(--kg-ease), transform .6s var(--kg-ease); }
.koeck-grill.kg-lauf .kg-reihe.kg-sicht li { opacity: 1; transform: none; transition: opacity 1.1s var(--kg-ease) calc(var(--i) * 90ms), transform 1.4s var(--kg-weich) calc(var(--i) * 90ms); }
.koeck-grill .kg-reihe-bild { transition: transform .3s var(--kg-weich); }
.koeck-grill .kg-reihe-name { position: relative; }
.koeck-grill .kg-reihe-name::before { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--kg-rosa); transform: scaleX(0); transform-origin: 0 50%; transition: transform .3s var(--kg-weich); }
@media (hover: hover) and (pointer: fine) {
	.koeck-grill .kg-reihe a:hover .kg-reihe-bild { transform: translateY(-4px); }
	.koeck-grill .kg-reihe a:hover .kg-reihe-bild img { transform: none; }
	.koeck-grill .kg-reihe a:hover .kg-reihe-name::before { transform: none; }
}
/* 8 · Schluss: der Satz erscheint Wort für Wort, Zeile für Zeile auf dem Raster */
.koeck-grill .kg-wort { display: inline-block; }
.koeck-grill.kg-lauf .kg-ende .kg-wort { opacity: 0; transform: translateY(.18em); transition: opacity .45s var(--kg-ease), transform .6s var(--kg-ease); } /* 1.57.0: ohne Unschärfe, geht beim Zurückscrollen */
.koeck-grill.kg-lauf .kg-ende.kg-sicht .kg-wort { opacity: 1; transform: none; transition: opacity 1.1s var(--kg-ease) calc(var(--i) * 70ms + .2s), transform 1.4s var(--kg-weich) calc(var(--i) * 70ms + .2s); }
.koeck-grill .kg-raster--ende { --kg-rv: 0s; }

/* Desktop */
@media (min-width: 700px) {
	.koeck-grill { --kg-z: clamp(60px, 6.2vw, 96px); }
	.koeck-grill .kg-held { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 80px); align-items: start; max-width: 1440px; margin: 0 auto; padding-top: 120px; }
	.koeck-grill .kg-raster--held { top: calc(120px - var(--kg-zt) * .4); right: auto; width: calc(var(--kg-zt) * 10); }
	.koeck-grill .kg-held { --kg-tf: clamp(84px, 10.6vw, 164px); }
	.koeck-grill .kg-vorspann { font-size: 21px; max-width: 24em; }

	.koeck-grill .kg-held-bild { margin: calc(var(--kg-z) * 1.5) var(--kg-rand) 0 0; max-height: 86svh; }
	.koeck-grill .kg-intro { grid-template-columns: 1fr minmax(0, min(30vw, 440px)); gap: clamp(32px, 6vw, 80px); align-items: center; max-width: 1440px; margin: 0 auto; padding-top: 40px; }
	.koeck-grill .kg-intro-bild { width: 100%; margin: 0; }
	.koeck-grill .kg-reihe { max-width: 1440px; margin: 0 auto; padding-top: 110px; }
	.koeck-grill .kg-reihe ul { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; overflow: visible; }
	.koeck-grill .kg-kap { grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; max-width: 1440px; margin: 0 auto; padding-top: 140px; }
	.koeck-grill .kg-kap--rechts .kg-kap-medien { order: 2; }
	.koeck-grill .kg-foto { margin: 0; max-height: 86svh; }
	.koeck-grill .kg-film { width: min(78%, calc(80svh * 9 / 16)); max-height: none; margin: 0 auto; }
	.koeck-grill .kg-kap--rechts .kg-film { margin: 0 auto; }
	.koeck-grill .kg-foto--klein { width: 36%; left: -2%; }
	.koeck-grill .kg-kap--rechts .kg-foto--klein { right: -2%; }
	.koeck-grill .kg-raute { right: 2%; }
	.koeck-grill .kg-kap--rechts .kg-raute { left: 2%; }
	.koeck-grill .kg-ruhe { max-width: 1440px; margin: 0 auto; padding-top: 140px; }
	.koeck-grill .kg-ruhe .kg-spalte { max-width: 760px; margin: 0 auto; }
	.koeck-grill .kg-ende { max-width: 1440px; margin: 140px auto clamp(120px, 12vw, 200px); }
	.koeck-grill .kg-raster--ende { right: auto; width: min(calc(100% - var(--kg-rand)), calc(var(--kg-z) * 12)); }
	.koeck-grill .kg-ende-satz { max-width: min(9em, calc(var(--kg-z) * 11)); }
}
@media (max-height: 520px) and (orientation: landscape) {
	.koeck-grill .kg-foto { max-height: 86svh; }
	.koeck-grill .kg-held { --kg-tf: clamp(56px, 16svh + 2vw, 110px); }
	.koeck-grill .kg-film { width: auto; height: 86svh; aspect-ratio: 9 / 16; }
	.koeck-grill .kg-held-bild { max-height: 80svh; width: auto; aspect-ratio: 4 / 5; }
}
@media (prefers-reduced-motion: reduce) {
	.koeck-grill *, .koeck-grill *::before, .koeck-grill *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
	/* Bewegung reduzieren heißt sanfter, nicht nichts: Fotos und Text blenden nur leise auf, ohne Weg und ohne Vorhang */
	.koeck-grill.kg-lauf :is(.kg-foto, .kg-film, .kg-held-bild, .kg-intro-bild) > :is(img, video) { clip-path: none !important; opacity: 0; transition: opacity .4s ease !important; }
	.koeck-grill.kg-lauf .kg-sicht > :is(img, video) { opacity: 1; }
	.koeck-grill.kg-lauf :is(.kg-kap-text > *, .kg-reihe li, .kg-raute) { transition: opacity .4s ease !important; }
}
@media print { .koeck-grill :is(.kg-foto, .kg-film, .kg-held-bild, .kg-intro-bild) > :is(img, video), .koeck-grill .kg-zeile > span, .koeck-grill .kg-wort, .koeck-grill .kg-kap-text > *, .koeck-grill .kg-raute, .koeck-grill .kg-reihe li { clip-path: none !important; opacity: 1 !important; transform: none !important; filter: none !important; } .koeck-grill .kg-film-knopf { display: none; } .koeck-grill .kg-raster--ende i { clip-path: none !important; } .koeck-grill .kg-b i { transform: scaleX(var(--w)) !important; } } /* 1.57.0: Schluss-Raster und Balken beim Drucken fertig */

/* Kino (hängt am body) */
.kg-kino { --kg-rosa: #ed6c84; --kg-rosa-t: #ed6c84; position: fixed; inset: 0; z-index: 99980; display: grid; place-items: center; background: rgba(0, 0, 0, .94); opacity: 0; transition: opacity .25s ease; overscroll-behavior: contain; }
.kg-kino[hidden] { display: none; }
.kg-kino.kg-offen { opacity: 1; transition-duration: .25s; }
.kg-kino:not(.kg-offen) { transition-duration: .18s; pointer-events: none; } /* beim Ausblenden fängt das Fenster keine Tipps mehr ab */
.kg-kino video { max-width: 100vw; max-height: 100svh; aspect-ratio: 9 / 16; background: #000; }
.kg-kino-zu { position: absolute; top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); width: 48px; height: 48px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: #fff; cursor: pointer; }
.kg-kino-zu svg { width: 22px; height: 22px; }
.kg-kino-zu { transition: transform .12s ease-out; }
.kg-kino-zu:active { transform: scale(.94); }
.kg-kino-zu:focus-visible { outline: 3px solid var(--kg-rosa-t); outline-offset: 3px; }
html.kg-kino-auf { overflow: hidden; }
.koeck-grill:not(.kg-lauf) .kg-film-knopf { display: none; } /* ohne Script kein toter Knopf */

/* Handy wie eine App (1.53.1): kein grauer Tipp-Blitz, kein Warten auf Doppeltipp, Druckgefühl beim Antippen */
.koeck-grill :is(a, button), .kg-kino-zu { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.koeck-grill .kg-reihe a { -webkit-touch-callout: none; }
.koeck-grill .kg-reihe-name { user-select: none; -webkit-user-select: none; }
/* Lange Dachzeile (mehr als 28 Zeichen): kleiner gesetzt und breiter, damit sie in der Raute bleibt */
.koeck-grill .kg-raute--lang { font-size: clamp(13px, 3.4vw, 16px); }
.koeck-grill .kg-raute--lang span { max-width: 60%; }

/* Mit Script deckt der Vorhang das Film-Standbild auf; das Hintergrundbild bleibt nur für die Fassung ohne Script */
.koeck-grill.kg-lauf .kg-film { background-image: none !important; }

/* ---------- Große Bildschirme (1.54.0, erzeugt): ab 1441 px wachsen alle Größen mit --sm-x (stories-magazin.css) ---------- */
@media (min-width: 1441px) {
	.koeck-grill { font: 400 calc(18px * var(--sm-x, 1))/1.6 var(--sans); --kg-rand: clamp(calc(48px * var(--sm-x, 1)), 6vw, calc(96px * var(--sm-x, 1))); --kg-z: clamp(calc(60px * var(--sm-x, 1)), 6.2vw, calc(96px * var(--sm-x, 1))); }
	.koeck-grill .kg-held { padding: calc(calc(96px * var(--sm-x, 1)) + env(safe-area-inset-top, 0px)) 0 0; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(calc(32px * var(--sm-x, 1)), 4vw, calc(80px * var(--sm-x, 1))); max-width: calc(1440px * var(--sm-x, 1)); margin: 0 auto; padding-top: calc(120px * var(--sm-x, 1)); --kg-tf: clamp(calc(84px * var(--sm-x, 1)), 10.6vw, calc(164px * var(--sm-x, 1))); }
	.koeck-grill .kg-raster--held { left: var(--kg-rand); height: calc(var(--kg-zt) * 8 + 1px); top: calc(calc(120px * var(--sm-x, 1)) - var(--kg-zt) * .4); right: auto; width: calc(var(--kg-zt) * 10); }
	.koeck-grill .kg-vorspann { margin-top: calc(var(--kg-z) * .9 + calc(16px * var(--sm-x, 1))); font: 400 calc(19px * var(--sm-x, 1))/1.4 var(--sans); font-size: calc(21px * var(--sm-x, 1)); max-width: 24em; }
	.koeck-grill .kg-intro { padding: calc(64px * var(--sm-x, 1)) var(--kg-rand) 0; grid-template-columns: 1fr minmax(0, min(30vw, calc(440px * var(--sm-x, 1)))); gap: clamp(calc(32px * var(--sm-x, 1)), 6vw, calc(80px * var(--sm-x, 1))); max-width: calc(1440px * var(--sm-x, 1)); margin: 0 auto; padding-top: calc(40px * var(--sm-x, 1)); }
	.koeck-grill .kg-reihe { padding: calc(80px * var(--sm-x, 1)) 0 0; max-width: calc(1440px * var(--sm-x, 1)); margin: 0 auto; padding-top: calc(110px * var(--sm-x, 1)); }
	.koeck-grill .kg-reihe-h { padding: 0 var(--kg-rand); font: 300 clamp(calc(34px * var(--sm-x, 1)), 9vw, calc(60px * var(--sm-x, 1)))/1 var(--serif); }
	.koeck-grill .kg-reihe ul { margin-top: calc(22px * var(--sm-x, 1)); padding: 0 var(--kg-rand) calc(6px * var(--sm-x, 1)); grid-template-columns: repeat(5, 1fr); gap: calc(18px * var(--sm-x, 1)); }
	.koeck-grill .kg-reihe-name { gap: calc(6px * var(--sm-x, 1)); min-height: calc(44px * var(--sm-x, 1)); padding-top: calc(8px * var(--sm-x, 1)); font: 600 calc(16px * var(--sm-x, 1))/1.2 var(--sans); }
	.koeck-grill .kg-kap { padding: calc(96px * var(--sm-x, 1)) var(--kg-rand) 0; grid-template-columns: 1fr 1fr; gap: clamp(calc(32px * var(--sm-x, 1)), 6vw, calc(80px * var(--sm-x, 1))); max-width: calc(1440px * var(--sm-x, 1)); margin: 0 auto; padding-top: calc(140px * var(--sm-x, 1)); }
	.koeck-grill .kg-film { margin-left: auto; margin-right: calc(var(--kg-rand) * -1 + calc(10px * var(--sm-x, 1))); width: min(78%, calc(80svh * 9 / 16)); max-height: none; margin: 0 auto; }
	.koeck-grill .kg-kap--rechts .kg-film { margin-left: calc(var(--kg-rand) * -1 + calc(10px * var(--sm-x, 1))); margin-right: auto; margin: 0 auto; }
	.koeck-grill .kg-foto--klein { bottom: calc(-28px * var(--sm-x, 1)); margin: 0; width: 36%; left: -2%; }
	.koeck-grill .kg-kap:not(.kg-kap--film) .kg-foto--klein { bottom: calc(-40px * var(--sm-x, 1)); width: 40%; }
	.koeck-grill .kg-film-knopf { left: calc(12px * var(--sm-x, 1)); bottom: calc(12px * var(--sm-x, 1)); gap: calc(10px * var(--sm-x, 1)); min-height: calc(48px * var(--sm-x, 1)); padding: calc(6px * var(--sm-x, 1)) calc(18px * var(--sm-x, 1)) calc(6px * var(--sm-x, 1)) calc(6px * var(--sm-x, 1)); font: 600 calc(16px * var(--sm-x, 1))/1 var(--sans); }
	.koeck-grill .kg-kap--film:not(.kg-kap--rechts) .kg-film-knopf { left: auto; right: calc(12px * var(--sm-x, 1)); }
	.koeck-grill .kg-play { width: calc(36px * var(--sm-x, 1)); height: calc(36px * var(--sm-x, 1)); }
	.koeck-grill .kg-play::after { left: calc(14px * var(--sm-x, 1)); top: calc(11px * var(--sm-x, 1)); }
	.koeck-grill .kg-raute { top: calc(-44px * var(--sm-x, 1)); width: clamp(calc(128px * var(--sm-x, 1)), 34vw, calc(156px * var(--sm-x, 1))); height: clamp(calc(128px * var(--sm-x, 1)), 34vw, calc(156px * var(--sm-x, 1))); padding: 0; font: 400 clamp(calc(15px * var(--sm-x, 1)), 4vw, calc(19px * var(--sm-x, 1)))/1.04 var(--serif); right: 2%; }
	.koeck-grill .kg-kap-text { max-width: 26em; padding-top: calc(30px * var(--sm-x, 1)); }
	.koeck-grill .kg-h { margin-bottom: calc(16px * var(--sm-x, 1)); font: 300 clamp(calc(36px * var(--sm-x, 1)), 10vw, calc(60px * var(--sm-x, 1)))/1 var(--serif); }
	.koeck-grill .kg-tipp { margin-top: calc(24px * var(--sm-x, 1)); padding-top: calc(16px * var(--sm-x, 1)); }
	.koeck-grill .kg-tipp-l { margin-bottom: calc(8px * var(--sm-x, 1)); font: 600 calc(18px * var(--sm-x, 1))/1.3 var(--sans); }
	.koeck-grill .kg-schritte { gap: calc(12px * var(--sm-x, 1)); }
	.koeck-grill .kg-schritte li { grid-template-columns: calc(30px * var(--sm-x, 1)) 1fr; gap: calc(10px * var(--sm-x, 1)); padding-bottom: calc(12px * var(--sm-x, 1)); }
	.koeck-grill .kg-s-n { width: calc(30px * var(--sm-x, 1)); height: calc(30px * var(--sm-x, 1)); font: 600 calc(14px * var(--sm-x, 1))/1 var(--sans); }
	.koeck-grill .kg-schritte li i { left: calc(40px * var(--sm-x, 1)); right: 0; bottom: 0; height: 2px; }
	.koeck-grill .kg-ruhe { padding: calc(96px * var(--sm-x, 1)) var(--kg-rand) 0; max-width: calc(1440px * var(--sm-x, 1)); margin: 0 auto; padding-top: calc(140px * var(--sm-x, 1)); }
	.koeck-grill .kg-ruhe-satz { font: 300 clamp(calc(22px * var(--sm-x, 1)), 5.6vw, calc(32px * var(--sm-x, 1)))/1.22 var(--serif); }
	.koeck-grill .kg-balken { margin-top: calc(34px * var(--sm-x, 1)); }
	.koeck-grill .kg-b { gap: calc(12px * var(--sm-x, 1)); padding-bottom: calc(12px * var(--sm-x, 1)); margin-bottom: calc(18px * var(--sm-x, 1)); }
	.koeck-grill .kg-b-name { font: 600 calc(16px * var(--sm-x, 1))/1.3 var(--sans); }
	.koeck-grill .kg-b-zeit { font: 400 calc(16px * var(--sm-x, 1))/1.3 var(--sans); }
	.koeck-grill .kg-b-skala { font: 400 calc(13px * var(--sm-x, 1))/1 var(--sans); }
	.koeck-grill .kg-ende { padding: var(--kg-z) var(--kg-rand); max-width: calc(1440px * var(--sm-x, 1)); margin: calc(140px * var(--sm-x, 1)) auto clamp(calc(120px * var(--sm-x, 1)), 12vw, calc(200px * var(--sm-x, 1))); }
	.koeck-grill .kg-ruhe .kg-spalte { max-width: calc(760px * var(--sm-x, 1)); margin: 0 auto; }
	.kg-kino-zu { top: max(calc(12px * var(--sm-x, 1)), env(safe-area-inset-top)); right: max(calc(12px * var(--sm-x, 1)), env(safe-area-inset-right)); width: calc(48px * var(--sm-x, 1)); height: calc(48px * var(--sm-x, 1)); }
	.kg-kino-zu svg { width: calc(22px * var(--sm-x, 1)); height: calc(22px * var(--sm-x, 1)); }
	.koeck-grill .kg-raute--lang { font-size: clamp(calc(13px * var(--sm-x, 1)), 3.4vw, calc(16px * var(--sm-x, 1))); }
}
