/* ==========================================================================
   vale-video.de — Sucher, Grades, Arbeiten-Liste (Startseite, Film, Cases)
   ========================================================================== */
.sucher { position: absolute; inset: var(--sucher-rand, 1.2rem); pointer-events: none; z-index: 4; color: #fff; }
.sucher i { position: absolute; width: clamp(16px, 2.2vw, 34px); height: clamp(16px, 2.2vw, 34px); border: 0 solid currentColor; }
.sucher i:nth-child(1) { top: 0; left: 0; border-width: 2px 0 0 2px; }
.sucher i:nth-child(2) { top: 0; right: 0; border-width: 2px 2px 0 0; }
.sucher i:nth-child(3) { bottom: 0; left: 0; border-width: 0 0 2px 2px; }
.sucher i:nth-child(4) { bottom: 0; right: 0; border-width: 0 2px 2px 0; }
.hud { font-family: var(--mono); font-size: clamp(.7rem, .8vw, .78rem); letter-spacing: .1em; color: var(--muted); display: flex; justify-content: space-between; gap: 1rem; font-variant-numeric: tabular-nums; }
.hud .rec { display: inline-flex; align-items: center; gap: .5rem; color: var(--fg); }
.hud .rec::before { content: ''; width: .55rem; height: .55rem; border-radius: 50%; background: var(--rec); }
@media (prefers-reduced-motion: no-preference) {
  html:not(.bewegung-aus) :is(.formate:not(.ist-pausiert), .ist-laufend) .hud .rec::before { animation: rec 1.4s steps(2, jump-none) infinite; }
}
@keyframes rec { 50% { opacity: .15; } }

/* --- Hero: ein Sucher, vier Formate --------------------------------------- */
.hero { padding-block: clamp(1.6rem, 3.4vw, 3rem) clamp(3rem, 6vw, 5rem); }
.hero-kopf { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, .85fr); gap: clamp(1.4rem, 4vw, 4rem); align-items: end; margin-bottom: clamp(3.2rem, 5vw, 4.2rem); }
.hero-kopf h1 { font-size: clamp(2.3rem, 4.9vw, 4.7rem); max-width: 14ch; }
.hero-kopf .lead { max-width: 38ch; }
.hero-kopf .hero-ctas { margin-top: 1.3rem; }
.fs-buehne { position: relative; height: clamp(340px, calc(100svh - 31rem), 720px); display: grid; place-items: center; }
.fs-rahmen { position: relative; width: 100%; height: 100%; background: #000; }
.fs-rahmen > .sucher { inset: -.85rem; color: var(--fg); }
.fs-rahmen > .sucher i { border-color: currentColor; }
.fs-clips { position: absolute; inset: 0; overflow: hidden; }
.fs-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.fs-clip.ist-da { opacity: 1; }
.fs-kopf { position: absolute; left: 0; right: 0; bottom: calc(100% + 1.15rem); }
.fs-kopf.hud { justify-content: flex-start; gap: 1.2rem; white-space: nowrap; }
.fs-notiz {
  position: absolute; z-index: 5; top: var(--y, 30%); width: 14.5rem; background: var(--surface); color: var(--fg);
  padding: .65rem .85rem .75rem; border: 1px solid var(--fg); font-size: .86rem; line-height: 1.35;
  opacity: 0; transform: translateY(8px); transition: opacity .3s var(--ease), transform .45s var(--ease); pointer-events: none;
}
.fs-notiz b { display: block; font-weight: 750; letter-spacing: -.01em; margin-bottom: .15rem; }
.fs-notiz.ist-aktiv { opacity: 1; transform: none; }
.fs-notiz[data-seite="r"] { left: calc(100% + 2.6rem); }
.fs-notiz[data-seite="l"] { right: calc(100% + 2.6rem); }
.fs-notiz::before { content: ''; position: absolute; top: 1.2rem; width: 1.6rem; height: 1px; background: var(--fg); }
.fs-notiz[data-seite="r"]::before { right: 100%; }
.fs-notiz[data-seite="l"]::before { left: 100%; }
[data-quer="true"] .fs-notiz { left: auto; right: 1.2rem; top: auto; bottom: 1.2rem; }
[data-quer="true"] .fs-notiz::before { display: none; }
.fs-rahmen .video-knopf { right: .7rem; bottom: .7rem; }
[data-quer="true"] .fs-rahmen .video-knopf { right: auto; left: .9rem; bottom: .9rem; }
.ist-pausiert .video-knopf .ico-play { display: block; }
.ist-pausiert .video-knopf .ico-pause { display: none; }
.fs-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.6rem, 1.4vw, 1.2rem); margin-top: clamp(1.7rem, 3vw, 2.4rem); }
.fs-tabs button { text-align: left; display: grid; gap: .12rem; padding-top: .8rem; position: relative; color: var(--faint); transition: color .25s; }
.fs-tabs button::before, .fs-tabs button::after { content: ''; position: absolute; left: 0; top: 0; height: 2px; width: 100%; background: var(--line); }
.fs-tabs button::after { background: var(--fg); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
.fs-tabs button b { font-size: clamp(.86rem, 1.3vw, 1.1rem); font-weight: 720; letter-spacing: -.02em; }
.fs-tabs button span { font-family: var(--mono); font-size: .7rem; letter-spacing: .04em; }
.fs-tabs button[aria-selected="true"], .fs-tabs button:hover { color: var(--fg); }
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.bewegung-aus) .fs-rahmen { transition: width .85s cubic-bezier(.6, 0, .1, 1), height .85s cubic-bezier(.6, 0, .1, 1); }
  html.js:not(.bewegung-aus) .fs-clip { transition: opacity .35s .12s; }
}
@media (max-width: 1180px) { .fs-notiz { display: none; } }
/* Foto von Valentin im Kopf */
.hero-ich { position: relative; width: clamp(8rem, 11vw, 10.5rem); aspect-ratio: 4 / 5; align-self: end; }
.hero-ich img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-ich .sucher { inset: -.7rem; color: var(--fg); }
.hero-ich figcaption { position: absolute; left: 0; bottom: calc(100% + 1.1rem); font-family: var(--mono); font-size: .72rem; color: var(--muted); white-space: nowrap; }
@media (min-width: 861px) {
  .hero-kopf { grid-template-columns: minmax(0, 1.5fr) auto minmax(0, .95fr); gap: clamp(1.4rem, 3.4vw, 3.4rem); }
  .hero-kopf h1 { font-size: clamp(2.3rem, 4.5vw, 4.4rem); }
}
@media (max-width: 1080px) and (min-width: 861px) { .hero-ich figcaption { display: none; } }

@media (max-width: 860px) {
  .hero { padding-block: 1.1rem 3rem; }
  .hero > .wrap { display: grid; }
  .hero-kopf { display: contents; }
  .hero-kopf h1 { order: 1; max-width: 14ch; font-size: clamp(2.15rem, 10vw, 3.2rem); margin-bottom: 1.1rem; }
  .hero-ich { order: 2; width: auto; aspect-ratio: auto; display: grid; grid-template-columns: 5.4rem 1fr; align-items: center; gap: 1.2rem; margin: .4rem 0 1.5rem; }
  .hero-ich img { aspect-ratio: 1; object-position: 62% 30%; }
  .hero-ich .sucher { inset: -.4rem auto -.4rem -.4rem; width: 6.2rem; }
  .hero-ich figcaption { position: static; font-family: var(--font); font-size: 1rem; font-weight: 650; color: var(--fg); white-space: normal; line-height: 1.3; }
  .hero-ich figcaption::after { content: 'Videograf aus Düsseldorf'; display: block; font-weight: 450; color: var(--muted); font-size: .93rem; }
  .formate { order: 3; position: relative; margin-inline: calc(-1 * var(--gutter)); }
  .hero-kopf > div { order: 4; margin-top: 2rem; }
  .hero-kopf .hero-ctas { display: grid; gap: .7rem; }
  .hero-kopf .hero-ctas .btn { justify-content: center; }
  .formate.ist-stapel > .fs-buehne, .formate.ist-stapel > .fs-tabs { display: none; }
}

/* --- Handy: der Stapel ------------------------------------------------------- */
.stapel { position: relative; }
.stapel-karte { --feder: cubic-bezier(.3, 1.5, .45, 1); position: sticky; top: 0; height: 88svh; overflow: hidden; background: #000; color: #fff; isolation: isolate; box-shadow: 0 -18px 40px rgba(0, 0, 0, .28); }
@supports (transition-timing-function: linear(0, 1)) {
  .stapel-karte { --feder: linear(0, .035 2.1%, .281 6.7%, .723 12.9%, .938 16.7%, 1.077, 1.149 24.3%, 1.163 27%, 1.154 29.9%, 1.051 39.6%, .991, .974 53.8%, .997 69.8%, 1.004 83.8%, 1); }
}
.stapel-bild { position: absolute; inset: 0; transform: scale(calc(1 - var(--zu, 0) * .08)); transform-origin: 50% 20%; }
.stapel-bild::after { content: ''; position: absolute; inset: 0; z-index: 1; background: #000; opacity: calc(var(--zu, 0) * .55); pointer-events: none; }      /* = brightness(1 - zu * .55), aber ohne Filter */
.stapel-bild .fs-clip { opacity: 1; }
.stapel-karte::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, .7)); }
.stapel-kopf { position: absolute; z-index: 2; left: 1rem; right: 1rem; top: 1.1rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.stapel-kopf b { font-size: 1.5rem; font-weight: 760; letter-spacing: -.02em; }
.stapel-kopf span { font-family: var(--mono); font-size: .78rem; white-space: nowrap; }
.stapel-fuss { position: absolute; z-index: 4; left: 1rem; right: 1rem; bottom: 1.1rem; display: grid; gap: .8rem; }
.stapel-fuss a { display: flex; align-items: center; justify-content: center; gap: .6rem; padding: .95rem 1rem; border-radius: var(--r-pill); background: #fff; color: #000; font-weight: 660; }
.stapel-fuss svg { width: 1.1rem; height: 1.1rem; }
.stapel-fuss i { height: 3px; background: #fff; transform: scaleX(0); transform-origin: 0 50%; order: -1; border-radius: 2px; }
.stapel-notiz { position: absolute; z-index: 3; bottom: 6.9rem; width: min(17.5rem, 76vw); padding: .85rem 1rem .95rem; background: #fff; color: #0a0a0a; border: 1px solid #0a0a0a; opacity: 0; transform: translateY(26px) scale(.72) rotate(var(--w, -2deg)); transform-origin: 12% 100%; transition: transform .16s ease-in, opacity .14s; pointer-events: none; box-shadow: 0 14px 30px rgba(0, 0, 0, .3); }
.stapel-notiz[data-seite="l"] { left: 1rem; --w: -2deg; }
.stapel-notiz[data-seite="r"] { right: 1rem; --w: 2deg; transform-origin: 88% 100%; }
.stapel-notiz.ist-da { opacity: 1; transform: rotate(calc(var(--w) * .4)); transition: transform .72s var(--feder), opacity .18s; }
.stapel-notiz b { display: block; font-size: 1.12rem; font-weight: 750; letter-spacing: -.015em; line-height: 1.2; margin-bottom: .2rem; }
.stapel-notiz span { font-size: .95rem; line-height: 1.4; }
html.bewegung-aus .stapel-notiz, html.bewegung-aus .stapel-notiz.ist-da { transition: none; transform: none; }
/* Stromsparmodus: Standbild atmet, bis das Tippen die Filme freigibt */
@media (prefers-reduced-motion: no-preference) {
  html.strom-sparen:not(.bewegung-aus) .stapel-bild video { animation: atmen 9s ease-in-out infinite alternate; }
}
@keyframes atmen { from { transform: scale(1); } to { transform: scale(1.12) translateY(-2%); } }
.strom-hinweis { position: fixed; z-index: 70; left: 50%; top: calc(4.6rem + env(safe-area-inset-top)); transform: translate(-50%, -20px); display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem .6rem .8rem; border-radius: var(--r-pill); background: #fff; color: #000; box-shadow: 0 0 0 1px #000, 0 12px 30px rgba(0, 0, 0, .28); font-size: .92rem; font-weight: 640; white-space: nowrap; opacity: 0; transition: opacity .25s, transform .4s var(--ease); pointer-events: none; }
.strom-hinweis.ist-da { opacity: 1; transform: translate(-50%, 0); }
.strom-hinweis svg { width: .95rem; height: .95rem; }
html:not(.js) .fs-buehne { height: auto; }
html:not(.js) .fs-clips { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
html:not(.js) .fs-clip { position: static; opacity: 1; height: auto; }
html:not(.js) .fs-tabs { display: none; }

/* --- Content-Monat: grafische Kacheln statt wiederholter Reel-Bilder ------ */
.kachel .k-glyph { position: absolute; inset: 0 0 22%; display: grid; place-items: center; font-weight: 800; letter-spacing: -.02em; line-height: 1; font-size: clamp(.8rem, 1.5vw, 1.35rem); opacity: 0; transform: scale(.7); transition: opacity .45s var(--ease), transform .6s var(--ease); transition-delay: inherit; }
.kalender:is([data-schritt="3"], [data-schritt="4"], [data-schritt="5"]) .kachel { background: #0a0a0a; color: #fff; box-shadow: none; }
.kalender:is([data-schritt="3"], [data-schritt="4"], [data-schritt="5"]) .k-glyph { opacity: 1; transform: none; }
.kalender:is([data-schritt="3"], [data-schritt="4"], [data-schritt="5"]) .kachel::after { display: none; }

/* --- Grades zum Anfassen --------------------------------------------------- */
.grade-buehne { position: relative; width: 100%; aspect-ratio: 2.4 / 1; overflow: hidden; background: #0a0a0a; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.grade-buehne canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.grade-schild { position: absolute; z-index: 3; top: 1rem; padding: .3rem .6rem; background: rgba(0,0,0,.62); color: #fff; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.grade-schild--l { left: 1rem; }
.grade-schild--r { right: 1rem; }
[data-art="malen"] .grade-buehne { cursor: none; }
.grade-pinsel { position: absolute; left: 0; top: 0; z-index: 3; width: 15%; aspect-ratio: 1; margin: -7.5% 0 0 -7.5%; transform: translate(var(--x, -50vw), var(--y, 0)); pointer-events: none; opacity: 0; transition: opacity .25s; }
.grade-buehne:hover .grade-pinsel { opacity: 1; }
.ist-fertig .grade-buehne:hover .grade-pinsel { opacity: 0; }
.grade-pinsel .sucher { inset: 0; }
.grade-hinweis { position: absolute; z-index: 3; left: 50%; bottom: 1.1rem; transform: translateX(-50%); color: #fff; font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; background: rgba(0,0,0,.55); padding: .35rem .7rem; pointer-events: none; white-space: nowrap; }
.ist-fertig .grade-hinweis { display: none; }
.grade-buehne input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; z-index: 4; margin: 0; }
.grade-linie { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 2px; margin-left: -1px; background: #fff; z-index: 2; pointer-events: none; }
.grade-linie::before, .grade-linie::after { content: ''; position: absolute; top: 50%; width: 11px; height: 11px; border: 2px solid #fff; border-width: 2px 0 0 2px; }
.grade-linie::before { left: -16px; transform: translateY(-50%) rotate(-45deg); }
.grade-linie::after { right: -16px; transform: translateY(-50%) rotate(135deg); }
.grade-buehne input:focus-visible ~ .grade-linie { outline: 2px solid #fff; outline-offset: 4px; }
.grade-leiste { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; margin-top: .9rem; }
.grade-motive { display: flex; gap: .5rem; }
.grade-motive button { position: relative; width: clamp(4.4rem, 8vw, 7rem); aspect-ratio: 2.4 / 1; overflow: hidden; opacity: .45; transition: opacity .25s; }
.grade-motive button img { width: 100%; height: 100%; object-fit: cover; display: block; }
.grade-motive button[aria-pressed="true"], .grade-motive button:hover { opacity: 1; }
.grade-motive button[aria-pressed="true"]::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--rec); }
.grade-leiste span[data-titel] { font-family: var(--mono); font-size: .74rem; color: var(--muted); }
.grade-leiste .knopf-klein { margin-left: auto; padding: .5rem .9rem; border-radius: var(--r-pill); box-shadow: inset 0 0 0 1px var(--line); font-size: .82rem; font-weight: 600; }
.grade-kopf { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(1rem, 6vw, 6rem); align-items: end; margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.grade-kopf h2, .grade-kopf h3 { font-size: clamp(2rem, 4.6vw, 3.9rem); letter-spacing: -.02em; line-height: 1.02; }
.grade-kopf p { color: var(--muted); max-width: 48ch; }
.grade-fakten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .93rem; color: var(--muted); }
.grade-fakten b { display: block; color: var(--fg); margin-bottom: .2rem; }
@media (max-width: 860px) { .grade-kopf { grid-template-columns: 1fr; } .grade-fakten { grid-template-columns: 1fr; gap: 1rem; } .grade-buehne { margin-inline: calc(-1 * var(--gutter)); width: auto; } .grade-pinsel { width: 30%; margin: -15% 0 0 -15%; } .grade-hinweis { font-size: .8rem; } .grade-motive button { width: 6.4rem; } }
.fk-grade { padding-top: clamp(2.5rem, 5vw, 4rem); }

/* --- Arbeiten als Liste ----------------------------------------------------- */
.werke { list-style: none; border-top: 1px solid var(--line); position: relative; }
.werke li { border-bottom: 1px solid var(--line); }
.werke a { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 1.4rem; align-items: baseline; padding: clamp(1.1rem, 2.2vw, 1.8rem) 0; transition: padding .35s var(--ease), color .25s; }
.werke .tc { color: var(--faint); font-size: .78rem; }
.werke b { font-size: clamp(1.7rem, 4.6vw, 4rem); font-weight: 780; letter-spacing: -.02em; line-height: 1; }
.werke span.was { color: var(--muted); font-size: .95rem; text-align: right; }
.werke svg { width: 1.3rem; height: 1.3rem; align-self: center; transition: transform .3s var(--ease); }
.werke a:hover svg { transform: translateX(5px); }
.werke-vorschau { position: fixed; left: 0; top: 0; z-index: 30; width: 15rem; pointer-events: none; opacity: 0; transform: translate(var(--x, 0), var(--y, 0)) translate(-50%, -50%); transition: opacity .25s; }
.werke-vorschau img { width: 100%; aspect-ratio: var(--v, 4/5); object-fit: cover; display: block; }
.werke-vorschau.ist-da { opacity: 1; }
.werke-vorschau .sucher { inset: -.6rem; color: var(--fg); }
@media (hover: hover) and (min-width: 861px) {
  .werke:has(a:hover) a:not(:hover) { color: var(--faint); }
  .werke a:hover { padding-left: 1.2rem; }
}
@media (max-width: 860px) { .werke a { grid-template-columns: 1fr auto; gap: .2rem 1rem; } .werke .tc { display: none; } .werke span.was { grid-column: 1; text-align: left; font-size: .86rem; } .werke svg { grid-column: 2; grid-row: 1; } }

/* --- Thumbnails aus mehreren Ausschnitten, Film-Band --------------------- */
.work-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-band { background: #000; color: #fff; display: block; }
.film-band .wrap { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.film-band h2 { font-size: clamp(2.2rem, 6vw, 5.2rem); letter-spacing: -.02em; line-height: .96; }
.film-band .hud { color: #a6a6a6; margin-bottom: 1.4rem; justify-content: flex-start; }
.film-band .hud .rec { color: #fff; }
.case-kopf--solo { grid-template-columns: 1fr; padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.case-kopf--solo h1 { font-size: clamp(2.4rem, 6.4vw, 6rem); letter-spacing: -.02em; line-height: .94; }
.ueber--foto { grid-template-columns: minmax(0, 1fr); gap: 2rem; }

/* Grundsaetze als Zeilen statt Dreier-Karten */
.saeulen { display: block; border-block: 0; border-top: 1px solid var(--line); }
.saeule, .saeule + .saeule { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: .6rem clamp(1.5rem, 5vw, 5rem); padding: clamp(1.1rem, 2vw, 1.6rem) 0; border: 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.saeule p { max-width: 62ch; }
@media (max-width: 760px) { .saeule, .saeule + .saeule { grid-template-columns: 1fr; border-top: 0; } }
/* Kunden als ruhige Zeile */
.logozeile { list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.6rem clamp(2rem, 6vw, 5rem); padding-block: 1.8rem; border-block: 1px solid var(--line); }
.logozeile li:first-child { color: var(--muted); font-size: .9rem; }
.logozeile a { display: block; filter: grayscale(1); opacity: .75; transition: opacity .2s, filter .2s; }
.logozeile a:hover, .logozeile a:focus-visible { opacity: 1; filter: none; }
.logozeile img { height: clamp(26px, 3vw, 36px); width: auto; }
.logozeile .logo--roestzeit img { height: clamp(46px, 5vw, 62px); }

/* Arbeiten am Handy: Karten zum Durchwischen, das Bild laeuft beim Wischen leicht mit */
.werke-bild { display: none; }
@media (max-width: 860px) {
  .werke.ist-karten { display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border: 0; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .werke.ist-karten::-webkit-scrollbar { display: none; }
  .werke.ist-karten li { flex: 0 0 min(78vw, 21rem); scroll-snap-align: start; border: 0; }
  .werke.ist-karten a { display: grid; grid-template-columns: 1fr auto; align-content: end; align-items: end; aspect-ratio: 4 / 5.2; padding: 1.2rem 1.1rem 1.2rem; position: relative; overflow: hidden; background: #000; color: #fff; isolation: isolate; }
  .werke.ist-karten .werke-bild { display: block; position: absolute; z-index: -2; top: 0; left: -9%; width: 118%; height: 100%; max-width: none; object-fit: cover; transform: translateX(calc(var(--zug, 0) * 7%)); }
  .werke.ist-karten a::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(0,0,0,0) 46%, rgba(0,0,0,.82)); }
  .werke.ist-karten b { font-size: 2.05rem; }
  .werke.ist-karten span.was { color: #e4e4e4; grid-column: 1; font-size: .92rem; }
  .werke.ist-karten svg { width: 1.6rem; height: 1.6rem; grid-column: 2; grid-row: 1 / 3; align-self: end; }
}

@media (max-width: 860px) {
  .logozeile { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem 1rem; align-items: center; justify-items: center; padding-block: 1.6rem 1.9rem; }
  .logozeile li:first-child { grid-column: 1 / -1; justify-self: start; }
  .logozeile li:not(:first-child) { width: 100%; }
  .logozeile a { display: grid; place-items: center; height: 4.2rem; }
  .logozeile img, .logozeile .logo--roestzeit img { width: 100%; max-height: 100%; height: auto; max-width: 6.6rem; object-fit: contain; }
  .logozeile .logo--roestzeit img { max-width: 4.2rem; }
}

.grade.ist-blende .grade-buehne { cursor: pointer; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.grade.ist-blende .grade-pinsel, .grade.ist-blende [data-neu] { display: none; }
.grade-buehne .grade-oben { z-index: 1; transition: clip-path 1.15s cubic-bezier(.22, .8, .2, 1), -webkit-clip-path 1.15s cubic-bezier(.22, .8, .2, 1); will-change: clip-path; }
.grade-tipp { display: flex; align-items: center; justify-content: center; gap: .6rem; width: max-content; margin: 1rem auto 0; padding: .7rem 1.3rem; border-radius: var(--r-pill); background: #fff; color: #000; font-weight: 640; font-size: .98rem; min-height: 2.9rem; }
.grade-tipp svg { width: 1.2rem; height: 1.2rem; }
.grade.ist-blende .grade-hinweis { display: none; }

/* --- Startseite, Schluss: zwei Tueren ---------------------------------------- */
/* --- Film-Band: Schnitt auf Schwarz direkt unter dem Hero, der Weg in die Film-Seite ---------------- */
.filmband { background: var(--bg); color: var(--fg); padding-block: clamp(3.5rem, 8vw, 7rem); }
.filmband-hud { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.filmband-kopf { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: end; margin-top: clamp(2rem, 4.5vw, 3.6rem); }
.filmband-kopf h2 { font-size: var(--fs-hero); line-height: 1.02; letter-spacing: -.03em; max-width: 11ch; }
.filmband-text p { color: var(--muted); font-size: var(--fs-lead); max-width: 40ch; }
.filmband-text .btn { margin-top: 1.6rem; }
/* Jeder Film in seinem Originalformat, ungeschnitten; Spalten im Verhaeltnis der Formate, damit beide Bilder gleich hoch stehen */
.filmband-filme { list-style: none; margin: clamp(2.2rem, 4.5vw, 3.6rem) 0 0; padding: 0; display: grid; grid-template-columns: 2.4fr 2.353fr; gap: clamp(1rem, 2.4vw, 2rem); }
.filmband-film { display: grid; gap: .95rem; color: inherit; text-decoration: none; }
.filmband-bild { position: relative; display: block; aspect-ratio: var(--ar, 2.4) / 1; --sucher-rand: clamp(.5rem, 1vw, .9rem); }
.filmband-clip { position: absolute; inset: 0; overflow: hidden; background: var(--surface); }
.filmband-clip video { display: block; width: 100%; height: 100%; object-fit: cover; }
.filmband-bild .sucher { transition: transform .5s var(--ease); }
.filmband-name { display: grid; gap: .3rem; }
.filmband-name b { display: inline-flex; align-items: center; gap: .55rem; font-size: var(--fs-h3); font-weight: 720; letter-spacing: -.02em; line-height: 1.2; }
.filmband-name b svg { flex: none; width: 1em; height: 1em; transition: transform .25s var(--ease); }
.filmband-name > span { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: .06em; color: var(--muted); }
.filmband-name > span i { font-style: normal; }
.filmband-film:hover .sucher, .filmband-film:focus-visible .sucher { transform: scale(.94); }
.filmband-film:hover b svg, .filmband-film:focus-visible b svg { transform: translateX(4px); }
.filmband-film:focus-visible { outline: 3px solid var(--fg); outline-offset: 6px; }
/* Die Bilder oeffnen sich wie eine Kinoleinwand aus einem schmalen Streifen */
@media (prefers-reduced-motion: no-preference) {
  html.js:not(.bewegung-aus) .filmband-clip.reveal:not(.ist-sichtbar) { opacity: 1; transform: none; clip-path: inset(47% 0 47% 0); }
  html.js .filmband-clip.reveal { transition: clip-path 1.1s var(--ease-io); transition-delay: var(--d, 0s); }
}
@media (max-width: 860px) {
  .filmband-hud span:nth-child(2) { display: none; }
  .filmband-kopf { grid-template-columns: 1fr; gap: 1.1rem; }
  .filmband-filme { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .filmband-bild { aspect-ratio: 9 / 16; }            /* am Handy die hochkant geschnittenen Fassungen (main.js) */
  .filmband-name b { font-size: 1.02rem; }
  .filmband-name b svg, .filmband-name > span i { display: none; }
}

.tueren { display: flex; background: #000; container-type: inline-size; }
.tuer { position: relative; flex: 1 1 0; min-height: min(78svh, 46rem); display: grid; align-items: end; overflow: hidden; color: #fff; isolation: isolate; transition: flex-grow .7s cubic-bezier(.3, 0, .1, 1); }
.tuer img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.8); transform: scale(1.04); transition: filter .6s, transform 1.4s var(--ease); }
.tuer::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .78)); }
.tuer + .tuer { border-left: 2px solid #000; }
.tuer:hover, .tuer:focus-visible { flex-grow: 1.55; }
.tuer:hover img, .tuer:focus-visible img { filter: none; transform: none; }
.tuer:focus-visible { outline: 3px solid var(--rec); outline-offset: -3px; }
.tuer-text { --tuer-links: clamp(1.4rem, 4vw, 3.6rem); display: grid; gap: .5rem; padding: clamp(1.4rem, 4vw, 3.6rem) clamp(1.4rem, 4vw, 3.6rem) clamp(1.4rem, 4vw, 3.6rem) var(--tuer-links); }
@media (min-width: 861px) { .tuer:first-child .tuer-text { --tuer-links: max(var(--gutter), calc((100cqw - var(--maxw)) / 2)); } }
.tuer-text b { font-size: clamp(2.5rem, 6vw, 6rem); font-weight: 780; letter-spacing: -.02em; line-height: .95; }
.tuer-text span { color: #e2e2e2; }
.tuer-text i { font-style: normal; display: inline-flex; align-items: center; gap: .6rem; justify-self: start; margin-top: .9rem; padding: .75rem 1.25rem; border-radius: var(--r-pill); background: #fff; color: #000; font-weight: 660; }
.tuer-text svg { width: 1.1rem; height: 1.1rem; transition: transform .25s var(--ease); }
.tuer:hover svg { transform: translateX(4px); }
@media (max-width: 860px) {
  .tueren { flex-direction: column; }
  .tuer { min-height: 62svh; }
  .tuer + .tuer { border-left: 0; border-top: 2px solid #000; }
  .tuer img { filter: none; }
}
html:has(.tueren) .weiter-szene { display: none; }

/* Formate am Handy: Karte so breit wie der Text darueber */
@media (max-width: 860px) {
  html.js .deck-liste.ist-deck { width: 100%; aspect-ratio: 9 / 15.2; }
  .deck-buehne { gap: 1.8rem; }
}

/* Motive am Handy: alle in einer Zeile, nichts ragt ueber den Rand (sonst verkleinert Safari die ganze Seite) */
@media (max-width: 860px) {
  .grade-motive { width: 100%; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .5rem; }
  .grade-motive button { width: auto; min-width: 0; }
}

/* Vergleichsregler: Griff, den man nicht uebersehen kann */
.grade.ist-wisch .grade-buehne { cursor: ew-resize; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.grade.ist-wisch .grade-buehne input[type="range"] { pointer-events: none; }
.grade.ist-wisch .grade-linie { width: 3px; margin-left: -1.5px; z-index: 5; }
.grade.ist-wisch .grade-linie::before, .grade.ist-wisch .grade-linie::after { content: none; }
.grade-griff { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; justify-content: center; gap: .45rem; height: 3.2rem; min-width: 3.2rem; padding: 0 1.1rem 0 .85rem; border-radius: var(--r-pill); background: #fff; color: #0a0a0a; box-shadow: 0 4px 18px rgba(0, 0, 0, .4); font-weight: 660; font-size: .95rem; white-space: nowrap; transition: padding .3s var(--ease); }
.grade-griff svg { width: 1.5rem; height: 1.5rem; flex: none; }
.grade-griff b { font-weight: inherit; }
.grade.ist-beruehrt .grade-griff { padding: 0; }
.grade.ist-beruehrt .grade-griff b { display: none; }
@media (prefers-reduced-motion: no-preference) { html:not(.bewegung-aus) .grade:not(.ist-beruehrt) .grade-griff svg { animation: griff 1.3s ease-in-out infinite; } }
@keyframes griff { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(1.28); } }
.grade.ist-wisch .grade-schild { font-family: var(--font); text-transform: none; letter-spacing: 0; font-size: .86rem; font-weight: 640; padding: .4rem .75rem; border-radius: var(--r-pill); z-index: 4; }
.grade.ist-wisch .grade-schild:not(.ist-ende) { background: rgba(0, 0, 0, .72); }

/* Vergleich am Handy in 2,4:1: Schilder und Griff kleiner, damit das ganze Bild zu sehen bleibt */
@media (max-width: 860px) {
  .grade.ist-wisch .grade-schild { top: .55rem; font-size: .74rem; padding: .28rem .6rem; }
  .grade.ist-wisch .grade-schild--l { left: .6rem; }
  .grade.ist-wisch .grade-schild--r { right: .6rem; }
  .grade-griff { height: 2.6rem; min-width: 2.6rem; padding: 0 .9rem 0 .65rem; font-size: .86rem; }
  .grade-griff svg { width: 1.25rem; height: 1.25rem; }
}

/* Stapel im Hero: Standbild liegt immer darunter, das Video kommt erst, wenn es ein Bild hat */
.stapel-bild { background: #111 center / cover no-repeat; }
.stapel-bild .fs-clip { transition: opacity .16s linear; }
.stapel-bild .fs-clip:not(.hat-bild) { opacity: 0; }
