/* Ernst Lattik – Portfolio. Kacheln im Kinoformat, Vorschau beim Drüberfahren, Projekt im Fenster.
   Schriften: Jost (Futura-artig) und Figtree, lokal eingebunden. Für Adobe Fonts („futura-pt“, „proxima-nova“)
   die <link>-Zeile des Webprojekts in build.js vor style.css einsetzen – die Namen unten greifen dann automatisch.
   Die frühere, originalgetreue Fassung liegt in alt-klassisch/. */
@font-face { font-family: "Jost"; src: url(/fonts/jost.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(/fonts/figtree-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }
:root {
  --futura: "futura-pt", "Jost", "Futura", sans-serif; --titel: "proxima-nova", "Figtree", "Helvetica Neue", sans-serif;
  --hell: #f2efe8; --grau: #8a8780; --akzent: #e9d9b4; --spalt: 4px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: #000; color: var(--hell); }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body { font-family: var(--futura); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

/* Kopfzeile */
.kopf { position: fixed; z-index: 10; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px 34px; background: linear-gradient(#000 0%, rgba(0,0,0,.75) 55%, transparent); pointer-events: none; }
.kopf > * { pointer-events: auto; }
.marke { display: flex; align-items: center; gap: 14px; }
.marke img { width: 46px; height: 46px; }
.marke span { display: flex; flex-direction: column; font-size: 11px; letter-spacing: .32em; color: var(--grau); line-height: 1.3; }
.marke b { font-size: 21px; letter-spacing: .06em; color: var(--hell); font-weight: 700; }
nav { display: flex; align-items: center; gap: 26px; }
nav > a { font-size: 11px; letter-spacing: .18em; color: var(--grau); text-transform: uppercase; padding: 4px 0; border-bottom: 1px solid transparent; transition: color .2s; }
nav > a:hover, nav > a.aktiv { color: var(--hell); }
nav > a.aktiv { border-color: var(--akzent); }
.social { list-style: none; margin: 0 0 0 6px; padding: 0; display: flex; gap: 6px; }
.social a { display: block; color: var(--grau); }
.social a:hover { color: var(--hell); }
.social svg { width: 24px; height: 20px; fill: currentColor; }
.burger { display: none; }

/* Kacheln */
main { padding-top: 98px; }
.kacheln { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--spalt); }
.kachel { position: relative; aspect-ratio: 1872 / 800; overflow: hidden; background: #111; -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; } /* Finger halten = Vorschau, kein Link-Menü (iPad) */
.kachel img, .kachel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1), opacity .35s; }
.kachel video { opacity: 0; }
.kachel.laeuft video { opacity: 1; }
.kachel:hover img, .kachel:hover video { transform: scale(1.04); }
.info { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; display: flex; flex-direction: column; gap: 3px;
  background: linear-gradient(transparent, rgba(0,0,0,.8)); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.info b { font: 700 14px/1.2 var(--titel); letter-spacing: .04em; text-transform: uppercase; }
.info i { font-style: normal; font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--akzent); }
.kachel:hover .info, .kachel:focus-visible .info { opacity: 1; transform: none; }
.kachel:focus-visible { outline: 2px solid var(--akzent); outline-offset: -2px; }
.kachel[hidden] { display: none !important; }
/* leichtes, laufendes Filmkorn über allem (klickt nicht mit) */
body::after { content: ""; position: fixed; inset: -100px; z-index: 30; pointer-events: none; opacity: .14;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: korn .9s steps(5) infinite; }
@keyframes korn { 0% { transform: translate(0, 0); } 20% { transform: translate(-37px, 21px); } 40% { transform: translate(18px, -44px); } 60% { transform: translate(-12px, 33px); } 80% { transform: translate(41px, 9px); } }
footer { padding: 40px 0; text-align: center; font-size: 10px; letter-spacing: .2em; color: #4a4844; }

/* Projektinhalt – im Fenster und auf der eigenen Seite gleich */
.projekt { max-width: 1080px; margin: 0 auto; }
.einzel main { padding: 120px 28px 0; }
.titel { margin: 0; font: 700 26px/1.15 var(--titel); letter-spacing: .03em; text-transform: uppercase; }
.kat { margin: 8px 0 0; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--akzent); }
.kat:empty { display: none; }
.modul { margin-top: 28px; }
.video > div { position: relative; aspect-ratio: var(--r); width: min(100%, calc(76vh * (var(--r)))); margin: 0 auto; background: #0b0b0b; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 641px) { /* Kachelbild/-video ohne Film-Link so breit wie der 16:9-Player der anderen Projekte */
  .kachelbild img, .kachelbild video { width: min(100%, calc(76vh * 16 / 9)); }
  /* im Fenster dieselbe 16:9-Fläche wie der Player, Bild mittig darin → oben/unten überall gleicher Abstand bis Titel und Credits */
  .fenster .kachelbild { display: flex; align-items: center; justify-content: center; width: min(100%, calc((100vh - 212px) * 16 / 9)); aspect-ratio: 16 / 9; margin: 0 auto; }
  .fenster .kachelbild picture { display: contents; }
  .fenster .projekt > .reihe { width: min(100%, calc((100vh - 212px) * 16 / 9)); aspect-ratio: 16 / 9; margin: 0 auto; align-items: center; } /* Bilder nebeneinander: gleiche Fläche wie der Player */
  .fenster .kachelbild img, .fenster .kachelbild video { width: 100%; height: 100%; max-height: none; object-fit: contain; } }
.spiel { position: absolute; inset: 0; pointer-events: none; background: #000 center / contain no-repeat; /* Kachelbild ganz (2,34:1), schwarze Balken wie beim Player */ transition: opacity .5s; }
.spiel.weg { opacity: 0; }
.spiel::after { content: ""; position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px; border-radius: 50%; background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.35); transition: transform .3s cubic-bezier(.3,1.4,.5,1), background .2s; }
.spiel::before { content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; margin: -14px 0 0 -9px; border-left: 26px solid #fff; border-top: 15px solid transparent; border-bottom: 15px solid transparent; }
.video > div:hover .spiel::after { transform: scale(1.1); background: rgba(255,255,255,.24); }
.bild img, .bild video { max-height: 78vh; width: auto; height: auto; margin: 0 auto; }
.reihe { display: flex; gap: 8px; }
.reihe img { flex: 1; min-width: 0; height: auto; }
.text { font-size: 14px; line-height: 1.75; font-weight: 300; color: #d8d4cc; padding-top: 18px; border-top: 1px solid #222; }
.text.grau { color: var(--grau); font-size: 12px; border: 0; }
.text a { text-decoration: underline; }
.text span { display: block; } .text b { font-weight: inherit; } .text b::after { content: ":"; } /* eine Zeile je Credit; die Rolle ist nur im Letterbox-Fenster abgesetzt */
.text:not(.impressum) { text-align: center; }
.impressum { max-width: 720px; line-height: 1.7; }
.impressum p { margin: 0 0 1.4em; }
.impressum b { color: var(--hell); font-weight: 500; }

/* Fenster */
.fenster { width: min(1160px, 94vw); max-height: 92vh; padding: 0; border: 1px solid #222; background: #0a0a0a; color: var(--hell); overflow: auto; }
.fenster[open] { animation: auf .35s cubic-bezier(.2,.7,.2,1); }
.fenster::backdrop { background: rgba(0,0,0,.82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@keyframes auf { from { opacity: 0; transform: translateY(14px) scale(.985); } }
.fenster-inhalt { padding: 44px 48px 48px; }
.zu { position: sticky; top: 0; float: right; z-index: 2; width: 48px; height: 48px; border: 0; background: rgba(10,10,10,.85); color: var(--hell); font-size: 30px; line-height: 1; cursor: pointer; }
.zu:hover { color: var(--akzent); }
.raus { display: none; }
@media (max-width: 640px) { /* Handy: Schließen-Knopf unten mittig, Glas wie die Leiste */
  .zu { display: none; }
  .raus { display: grid; place-items: center; position: fixed; z-index: 3; left: calc(50% - 22px); bottom: calc(16px + env(safe-area-inset-bottom)); width: 44px; height: 44px; padding: 0; border-radius: 50%; outline: none; color: var(--hell); cursor: pointer;
    background: rgba(22,22,24,.55); -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8); border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 12px 32px rgba(0,0,0,.55); -webkit-tap-highlight-color: transparent; }
  .raus svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .raus:active { transform: scale(.92); }
  .fenster .fenster-inhalt { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
.fenster-offen { overflow: hidden; }
/* Blättern im Fenster (Computer und Tablet): Fläche links/rechts, der Pfeil erscheint, sobald die Maus im Fenster ist – am Tablet immer sichtbar */
.blaettern { display: none; }
@media (min-width: 641px) and (hover: none) { .blaettern { opacity: .5 !important; } }
@media (min-width: 641px) {
  .blaettern { display: block; position: fixed; top: 106px; bottom: 106px; z-index: 3; width: 72px; padding: 0; border: 0; background: none; cursor: pointer; opacity: 0; transition: opacity .3s; }
  .blaettern.zurueck { left: 0; } .blaettern.vor { right: 0; }
  .fenster:hover .blaettern { opacity: .5; } .fenster .blaettern:hover, .blaettern:focus-visible { opacity: 1; }
  .blaettern::before { content: ""; position: absolute; top: 50%; left: 50%; width: 20px; height: 20px; margin: -10px 0 0 -6px; border: solid var(--hell); border-width: 0 0 1.5px 1.5px; transform: rotate(45deg); }
  .blaettern.vor::before { margin-left: -14px; transform: rotate(-135deg); }
}
/* Fenster am Computer: Letterbox – Kinobild über die ganze Breite, schwarze Balken mit Titel oben und Credits unten */
@media (min-width: 641px) {
  .fenster { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; margin: 0; border: 0; background: #000; }
  .fenster::backdrop { background: #000; }
  .fenster .fenster-inhalt { padding: 0; }
  .fenster .zu { position: fixed; top: 31px; right: 32px; float: none; width: 44px; height: 44px; border-radius: 50%; font-size: 22px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); }
  .fenster .projekt { max-width: none; display: grid; grid-template-columns: 1fr auto; align-items: center; }
  .fenster .projekt > .modul { grid-column: 1 / -1; margin-top: 0; }
  .fenster .titel { height: 106px; display: flex; align-items: center; padding: 0 60px; font: 200 min(38px, calc((100vw - 400px) / var(--n, 12) / 1.15))/1 var(--futura); letter-spacing: .55em; white-space: nowrap; } /* lange Titel werden kleiner statt umzubrechen */
  .fenster .kat { margin: 0 130px 0 0; font-size: 11px; letter-spacing: .4em; }
  .fenster .video > div { width: min(100%, calc((100vh - 212px) * (var(--r)))); background: #000; }
  .fenster .projekt > .video + .video, .fenster .projekt > .modul + .bild, .fenster .projekt > .modul + .reihe { margin-top: 6px; }
  .fenster .text { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 44px; min-height: 106px; padding: 22px 60px; border: 0; font-size: 13px; line-height: 1.5; color: #cfcac0; text-align: center; }
  .fenster .text span { display: inline; } .fenster .text b::after { content: none; }
  .fenster .text b { margin-right: 10px; font-size: 10px; font-weight: 400; letter-spacing: .25em; text-transform: uppercase; color: var(--grau); }
  .fenster .bild img, .fenster .bild video { max-height: calc(100vh - 212px); }
}
/* Handy: Titel, Kategorie und Credits wie im Kinofenster am Computer (dünne Futura, weit gesperrt, Rollen klein und grau) – nur untereinander */
@media (max-width: 640px) {
  .fenster { background: #000; }
  .fenster .titel { font: 200 max(19px, min(26px, calc(560px / var(--n, 12))))/1.35 var(--futura); letter-spacing: .32em; margin-top: 6px; } /* lange Titel etwas kleiner */
  .fenster .kat { margin-top: 14px; font-size: 10px; letter-spacing: .4em; }
  .fenster .text { display: grid; gap: 18px; padding: 34px 0 0; border: 0; font-size: 14px; line-height: 1.5; color: #cfcac0; }
  .fenster .text b { display: block; margin-bottom: 6px; font-size: 10px; font-weight: 400; letter-spacing: .25em; text-transform: uppercase; color: var(--grau); }
  .fenster .text b::after { content: none; }
}
/* im Fenster Video etwas flacher, damit die Credits ohne Scrollen sichtbar sind */
@media (max-width: 640px) { .fenster .video > div { width: min(100%, calc(60vh * (var(--r)))); } .fenster .bild img, .fenster .bild video { max-height: 60vh; } }

/* About / Contact – Glas: Foto unscharf als Hintergrund, Text auf Milchglas-Karte */
body:has(.glas-bg) { background: transparent; } /* sonst deckt der schwarze Seitenhintergrund das Unschärfe-Foto ab */
/* Hintergrund wabert: zwei unscharfe Farbschichten aus dem Foto treiben gegeneinander; dazu kräftigeres Filmkorn als auf den anderen Seiten */
body:has(.glas-bg)::after { opacity: 1; mix-blend-mode: overlay; filter: contrast(1.5); background-size: 260px; animation-duration: .5s; }
.glas-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; background: #000; }
.glas-bg::before, .glas-bg::after { content: ""; position: absolute; inset: -25%; background: url("/bilder/contact/bild1.jpg") center 30%/cover; filter: blur(70px) saturate(1.7) brightness(.6); will-change: transform; animation: wabern1 5s ease-in-out infinite alternate; }
.glas-bg::after { transform: scaleX(-1); mix-blend-mode: screen; opacity: .55; animation: wabern2 7s ease-in-out infinite alternate; }
@keyframes wabern1 { 0% { transform: translate(0, 0) rotate(0) scale(1); } 33% { transform: translate(6%, -4%) rotate(8deg) scale(1.12); } 66% { transform: translate(-5%, 5%) rotate(-6deg) scale(1.05); } 100% { transform: translate(4%, 3%) rotate(14deg) scale(1.18); } }
@keyframes wabern2 { 0% { transform: scaleX(-1) translate(0, 0) rotate(0); } 50% { transform: scaleX(-1) translate(-8%, 6%) rotate(-12deg) scale(1.15); } 100% { transform: scaleX(-1) translate(7%, -5%) rotate(10deg) scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .glas-bg::before, .glas-bg::after { animation: none; } }
.glas-buehne { display: grid; grid-template-columns: 420px 1fr; align-items: center; max-width: 1120px; margin: 30px auto 20px; }
.glas-foto { grid-area: 1 / 1; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: center 30%; border-radius: 28px; box-shadow: 0 50px 120px rgba(0,0,0,.6); }
.glas { grid-area: 1 / 2; margin-left: -60px; padding: 50px 54px; border-radius: 28px; background: rgba(20,20,20,.38); -webkit-backdrop-filter: blur(26px) saturate(1.4); backdrop-filter: blur(26px) saturate(1.4); border: 1px solid rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 30px 80px rgba(0,0,0,.4); }
.glas-cap { margin: 0 0 10px; font-size: 10px; font-weight: 400; letter-spacing: .35em; color: var(--grau); text-transform: uppercase; }
.glas-name { margin: 0 0 18px; font: 700 54px/1 var(--titel); }
.glas .about { margin: 0; color: #e8e4dc; }
.glas-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.pille { display: inline-flex; align-items: center; min-height: 46px; padding: 0 22px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-size: 12px; letter-spacing: .14em; white-space: nowrap; transition: background .2s, border-color .2s; }
.pille:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.4); }
.pille.hell { background: #fff; color: #111; border-color: #fff; } .pille.hell:hover { background: var(--akzent); border-color: var(--akzent); }
.pille.rund { width: 46px; padding: 0; justify-content: center; flex: none !important; } .pille.rund svg { width: 32px; height: 26px; fill: currentColor; }
.pille:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; }
.knopf { display: inline-block; padding: 11px 20px; border: 1px solid #333; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; transition: border-color .2s, color .2s; }
.knopf:hover { border-color: var(--akzent); color: var(--akzent); }
.social.rund { justify-content: center; margin: 36px 0 0; gap: 12px; }
.social.rund a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #333; display: flex; align-items: center; justify-content: center; }

@media (max-width: 1100px) { .kacheln { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) {
  .kopf { padding: calc(14px + env(safe-area-inset-top)) 18px 26px; } /* Kopf reicht bis unter die Statusleiste – sonst läuft dort das Video unabgedeckt (iPhone) */
  .marke img { width: 38px; height: 38px; }
  .marke b { font-size: 17px; }
  /* Tippfläche 44 px, Symbol bleibt 26 px */
  .burger { display: block; width: 44px; height: 44px; margin-right: -9px; padding: 0; background: none; border: 0; position: relative; cursor: pointer; z-index: 12; }
  .burger i { position: absolute; left: 9px; width: 26px; height: 2px; background: var(--hell); transition: .2s; }
  .burger i:nth-child(1) { top: 14px; } .burger i:nth-child(2) { top: 21px; } .burger i:nth-child(3) { top: 28px; }
  .menu .burger i:nth-child(1) { top: 21px; transform: rotate(45deg); } .menu .burger i:nth-child(2) { opacity: 0; } .menu .burger i:nth-child(3) { top: 21px; transform: rotate(-45deg); }
  nav { display: none; }
  .menu nav { display: flex; flex-direction: column; justify-content: center; position: fixed; inset: 0; background: #000; z-index: 11; gap: 22px; }
  .menu nav > a { font-size: 20px; padding: 6px 0; }
  .menu .social { margin: 10px 0 0; }
  .menu .social a { padding: 12px; }
  .knopf { min-height: 44px; display: inline-flex; align-items: center; font-size: 12px; }
  .social.rund a { width: 46px; height: 46px; }
  .kat, .info i { font-size: 11px; }
  .marke span { font-size: 11px; }
  footer { font-size: 11px; }
  .text { font-size: 15px; }
  .menu { overflow: hidden; }
  main { padding-top: calc(76px + env(safe-area-inset-top)); }
  .einzel main { padding: calc(96px + env(safe-area-inset-top)) 18px 0; }
  .glas-buehne { grid-template-columns: 1fr; margin-top: 10px; }
  .glas-foto { grid-area: 1 / 1; width: 72%; justify-self: center; border-radius: 22px; }
  .glas { grid-area: 2 / 1; margin: -70px 0 0; padding: 30px 24px; border-radius: 22px; }
  .glas-name { font-size: 38px; }
  .pille { flex: 1 1 auto; justify-content: center; }
  .fenster { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; border: 0; }
  .fenster-inhalt { padding: calc(8px + env(safe-area-inset-top)) 18px 40px; }
  .titel { font-size: 21px; }
}
@media (max-width: 640px) {
  .kacheln { grid-template-columns: 1fr; }
  /* am Handy gibt es kein Drüberfahren: Titel steht unter dem Bild */
  .kachel { aspect-ratio: auto; padding-top: calc(100% * 800 / 1872); }
  .kachel img, .kachel video { bottom: auto; height: auto; aspect-ratio: 1872 / 800; }
  .info { position: static; opacity: 1; transform: none; padding: 10px 14px 14px; background: #0a0a0a; }
}
/* Handy hochkant: Reels – jedes Projekt bildschirmfüllend, wischen von Projekt zu Projekt */
@media (max-width: 640px) {
  /* gewischt wird im Body, nicht in der Seite: so läuft nichts hinter die Statusleiste und Safari blendet seine Leiste nicht ein/aus (Höhe bleibt fest) */
  html:has(body.raster) { height: 100%; overflow: hidden; }
  body.raster { height: 100%; overflow-y: auto; overscroll-behavior-y: none; scroll-snap-type: y mandatory; }
  .raster main { padding-top: 0; }
  .raster .kacheln { display: flex; flex-direction: column; gap: 0; }
  .raster .kachel { height: 100vh; height: var(--hoehe, 100svh); padding-top: 0; aspect-ratio: auto; scroll-snap-align: center; scroll-snap-stop: always; background: #000; }
  .raster .kachel::before { content: ""; position: absolute; inset: -60px; background: var(--bg, none) center / cover; filter: blur(30px) brightness(.4) saturate(1.2); transform: translateZ(0); } /* eigene Ebene: die Unschärfe wird nicht bei jedem Wisch-Bild neu gerechnet */
  .raster .kachel img, .raster .kachel video { top: 50%; bottom: auto; height: auto; aspect-ratio: 1872 / 800; transform: translateY(-50%); }
  .raster .kachel.reel video, .raster .kachel.hoch img { top: 0; height: 100%; aspect-ratio: auto; transform: none; }
  .kachel video { transition: opacity .6s cubic-bezier(.45,0,.25,1); } /* weiche Blende Vorschaubild → Video */
  .raster .kachel.hoch img { object-fit: contain; } /* ganzes 9:16-Bild zeigen – Handys sind schmaler, Rand unscharf gefüllt */
  /* Hochkant-Bild hat den Titel schon im Bild → unten nur Kategorie und „Watch“ */
  .raster .kachel.hoch .info b { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .raster .kachel.hoch .info { padding-top: 60px; }
  .raster .info { position: absolute; inset: auto 0 0; padding: 90px 20px calc(34px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(0,0,0,.85)); gap: 6px; }
  .raster .info b { font-size: 24px; line-height: 1.1; }
  .raster .info i { font-size: 12px; }
  .raster .info::after { content: "Watch  →"; margin-top: 10px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--hell); opacity: .8; }
  .raster footer { scroll-snap-align: end; }
}
.nur-handy { display: none; }
@media (max-width: 640px) { .nur-handy { display: block; } }
.impressum-link { margin: 34px 0 0; text-align: center; } .impressum-link a { display: inline-block; padding: 12px 18px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--grau); transition: color .2s; } .impressum-link a:hover { color: var(--hell); }
/* Leiste unten – nur am Handy: schwebende Glas-Leiste wie bei Instagram, aktiver Punkt mit gleitender Kapsel */
.tabbar { display: none; }
@media (max-width: 640px) {
  .burger { display: none; } /* Menü oben braucht es am Handy nicht mehr – alles ist unten */
  .tabbar { display: flex; position: fixed; z-index: 20; left: 14px; right: 14px; bottom: calc(12px + env(safe-area-inset-bottom)); height: 62px; padding: 5px;
    border-radius: 999px; background: rgba(22,22,24,.55); -webkit-backdrop-filter: blur(22px) saturate(1.8); backdrop-filter: blur(22px) saturate(1.8);
    border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 12px 32px rgba(0,0,0,.55); }
  .tabbar a { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; justify-content: center; border-radius: 999px; color: rgba(255,255,255,.72); -webkit-tap-highlight-color: transparent; }
  .tabbar svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s cubic-bezier(.3,1.4,.5,1); }
  .marke img { display: none; } /* Logo sitzt am Handy unten links in der Leiste */
  .tabbar .ich { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px rgba(255,255,255,.35); transition: transform .3s cubic-bezier(.3,1.4,.5,1), box-shadow .2s; }
  .tabbar a.aktiv { color: #fff; }
  .tabbar a.aktiv svg { stroke-width: 2.2; }
  .tabbar a.aktiv .ich { box-shadow: 0 0 0 2px #fff; }
  .tabbar a:active svg, .tabbar a:active .ich { transform: scale(.86); }
  .tabbar .puck { position: absolute; top: 5px; bottom: 5px; left: 5px; width: 0; border-radius: 999px; background: rgba(255,255,255,.14); box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
    transition: transform .45s cubic-bezier(.3,1.25,.5,1), width .45s cubic-bezier(.3,1.25,.5,1); }
  .tabbar.ohne-gleiten .puck { transition: none; }
  body { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
}
@media (max-width: 640px) { .raster .info { padding-bottom: var(--frei, calc(104px + env(safe-area-inset-bottom))); } } /* Reels: Titel über der Leiste */
@media (prefers-reduced-motion: reduce) { *, ::backdrop { animation: none !important; transition: none !important; } }
/* Fassung 2026-11-15b – neue Adresse für die Browser (siehe site.js) */
/* iPhone (Safari 26): die Statusleiste übernimmt die Hintergrundfarbe des fest oben sitzenden Kopfs – ein Verlauf zählt nicht,
   dann zeigt sie das Video darunter. Deshalb am Handy: Kopf massiv schwarz, der weiche Übergang hängt als Verlauf darunter. */
@media (max-width: 640px) {
  .kopf { background: #000; padding-bottom: 12px; }
  /* weicher Übergang: länger und mit Zwischenstufen (ein gerader Verlauf zeigt eine sichtbare Kante) */
  .kopf::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 110px; pointer-events: none;
    background: linear-gradient(#000 0%, rgba(0,0,0,.86) 14%, rgba(0,0,0,.66) 30%, rgba(0,0,0,.44) 48%, rgba(0,0,0,.24) 66%, rgba(0,0,0,.09) 83%, transparent 100%); }
  /* About/Contact: kein schwarzer Balken über dem farbigen Hintergrund – gescrollt wird im Body, der Kopf bleibt durchsichtig mit weicher Unschärfe */
  html:has(.glas-bg), html:has(.impressum) { height: 100%; overflow: hidden; }
  body:has(.glas-bg), body:has(.impressum) { height: 100%; overflow-y: auto; overscroll-behavior-y: none; }
  body:has(.glas-bg) .kopf { background: transparent; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); padding-bottom: 40px; }
  body:has(.glas-bg) .kopf::after { content: none; }
}
