/* ============================================================
   aj-work.css - gemeinsames Stylesheet fuer Galerie + Projektseiten
   Design-Tokens 1:1 aus index.html
   Aenderungen hier wirken auf ALLE Projektseiten gleichzeitig.
   ============================================================ */
:root{
  --aj-ground:#e9ebea;
  --aj-ground-deep:#d8dbda;
  --aj-surface:#f6f7f7;
  --aj-ink:#17181a;
  --aj-ink-muted:#5e6664;
  --aj-accent:#b8342a;
  --aj-display:"Cabinet Grotesk",system-ui,sans-serif;
  --aj-body:"Inter Tight",system-ui,sans-serif;
  --aj-mono:"IBM Plex Mono",ui-monospace,monospace;

  --line-14:color-mix(in srgb, var(--aj-ink) 14%, transparent);
  --line-18:color-mix(in srgb, var(--aj-ink) 18%, transparent);
  --wash-07:color-mix(in srgb, var(--aj-ink) 7%, transparent);
  --pad:1.5rem;
  --shell:1400px;
}
@media (min-width:768px){ :root{ --pad:2.5rem; } }

*{box-sizing:border-box}
html{scroll-behavior:smooth; color-scheme:light}
body{
  margin:0;
  background:var(--aj-ground);
  color:var(--aj-ink);
  font-family:var(--aj-body);
  font-size:1rem; line-height:1.5;
  -webkit-font-smoothing:antialiased;
}
::selection{background:var(--aj-accent); color:var(--aj-ground)}
img{display:block; max-width:100%}
a{color:inherit; text-decoration:none}
button{font:inherit; color:inherit; background:none; border:0; cursor:pointer}

.aj-display{font-family:var(--aj-display); letter-spacing:-.035em; font-weight:800; line-height:.95}
.aj-mono{font-family:var(--aj-mono); letter-spacing:.08em; text-transform:uppercase; font-size:11px}
.shell{margin-inline:auto; max-width:var(--shell); padding-inline:var(--pad)}

/* ---------- Kopfzeile ---------- */
.top{
  position:fixed; inset-inline:0; top:0; z-index:50; height:72px;
  border-bottom:1px solid var(--line-14);
  background:color-mix(in srgb, var(--aj-ground) 88%, transparent);
  backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
}
.top .shell{display:flex; height:100%; align-items:center; justify-content:space-between}
.brand{font-size:1.125rem}
.top nav{display:flex; align-items:center; gap:1.1rem}
@media (min-width:768px){ .top nav{gap:2.5rem} }
.only-md{display:none}
@media (min-width:768px){ .only-md{display:inline} }
.top nav .here{color:var(--aj-accent)}
.top nav .lang{color:var(--aj-ink-muted)}
.top nav .lang:hover{color:var(--aj-accent)}

.slidebtn{
  display:inline-block; height:2.75rem; overflow:hidden;
  background:var(--aj-ink); color:var(--aj-ground); padding-inline:1.5rem;
}
.slidebtn:active{transform:translateY(1px)}
.slidebtn > span{display:block; transition:transform .3s cubic-bezier(0,0,.2,1)}
.slidebtn:hover > span{transform:translateY(-2.75rem)}
.slidebtn i{display:flex; height:2.75rem; align-items:center; font-style:normal}
.slidebtn i:first-child{font-size:.875rem; font-weight:500}
.top .slidebtn{display:none}
@media (min-width:768px){ .top .slidebtn{display:inline-block} }

.arrowlink{display:inline-flex; align-items:center; gap:.5rem;
  border-bottom:1px solid var(--aj-ink); padding-bottom:.25rem; font-size:.875rem; font-weight:500}
.arrowlink span{display:inline-block; transition:transform .3s}
.arrowlink:hover span{transform:translateX(4px)}
.backlink span{transition:transform .3s}
.backlink:hover span{transform:translateX(-4px)}

/* ---------- Seitenkopf ---------- */
.page{padding-top:72px}
.lede-head{margin-inline:auto; max-width:var(--shell); padding:6rem var(--pad) 0}
@media (min-width:768px){ .lede-head{padding-top:4.5rem} }
.lede-head h1{margin:0; font-size:2.5rem}
@media (min-width:768px){ .lede-head h1{font-size:4.5rem} }
.lede-head .lede{margin:1.5rem 0 0; max-width:56ch; line-height:1.625; color:var(--aj-ink-muted)}

/* ============================================================
   GALERIE
   ============================================================ */
.gband{margin-inline:auto; max-width:var(--shell); padding:5rem var(--pad) 0}
@media (min-width:768px){ .gband{padding-top:7rem} }
.gband-head{display:flex; flex-direction:column; gap:.5rem;
  border-top:1px solid var(--line-18); padding-top:1.25rem}
@media (min-width:768px){
  .gband-head{flex-direction:row; align-items:baseline; justify-content:space-between; gap:2rem}
}
.gband-head h2{margin:0; font-size:1.5rem}
@media (min-width:768px){ .gband-head h2{font-size:2rem} }
.gband-head p{margin:0; max-width:44ch; color:var(--aj-ink-muted); font-size:.9375rem; line-height:1.6}
/* Dezente Sektions-h2 (Storyboard-Untergruppen, Previz-Reel): kleiner, gedaempft */
.gband-head.quiet h2{font-size:1.375rem; color:var(--aj-ink-muted); font-weight:400}
@media (min-width:768px){ .gband-head.quiet h2{font-size:1.625rem} }

/* Schiene: immer drei Kacheln sichtbar (auch mobil), weitere liegen rechts daneben.
   Wenn ein Band nur drei Projekte hat, sieht es aus wie ein normales Raster -
   die Pfeile blendet aj-work.js dann automatisch aus. */
.gcar{position:relative; margin-top:2rem}
@media (min-width:768px){ .gcar{margin-top:2.5rem} }
.gcar-track{
  display:grid; grid-auto-flow:column;
  grid-auto-columns:calc((100% - 1.5rem)/3);
  gap:.75rem;
  overflow-x:auto; overflow-y:hidden; overscroll-behavior-x:contain;
  scroll-snap-type:x mandatory;
  scrollbar-width:none; -ms-overflow-style:none;
  touch-action:pan-x;
}
.gcar-track::-webkit-scrollbar{display:none}
.gcar-track > *{scroll-snap-align:start}
@media (min-width:768px){
  /* Nur Pfeil-Buttons navigieren – kein Trackpad-/Mausrad-Scroll direkt auf den Kacheln.
     Immer genau drei Kacheln sichtbar, bei jeder Fensterbreite. */
  .gcar-track{grid-auto-columns:calc((100% - 3rem)/3); gap:1.5rem; overflow-x:hidden}
}

/* Pfeile: nur am Rechner. Auf dem Telefon wird gewischt. */
.gcar-btn{
  position:absolute; top:50%; transform:translateY(-50%); z-index:5;
  display:none; width:2.75rem; height:2.75rem;
  align-items:center; justify-content:center;
  background:var(--aj-ground); color:var(--aj-ink);
  border:1px solid var(--line-18); border-radius:50%;
  transition:background .25s, color .25s, opacity .25s, visibility .25s;
}
.gcar-btn svg{width:1.125rem; height:1.125rem; fill:none;
  stroke:currentColor; stroke-width:1.75; stroke-linecap:square}
.gcar-btn:hover{background:var(--aj-ink); color:var(--aj-ground)}
.gcar-btn[disabled]{opacity:0; visibility:hidden}
.gcar-btn.prev{left:-.6875rem}
.gcar-btn.next{right:-.6875rem}
@media (min-width:768px){
  .gcar[data-scrollable="true"] .gcar-btn{display:flex}
}

.gtile{display:block; position:relative}
.gtile .frame{position:relative; overflow:hidden; background:var(--aj-ground-deep); aspect-ratio:1/1}
.gtile img{width:100%; height:100%; object-fit:cover; transition:transform .7s cubic-bezier(0,0,.2,1)}
.gtile:hover img{transform:scale(1.04)}
.gtile .veil{
  position:absolute; inset:0; display:flex; flex-direction:column; justify-content:flex-end;
  gap:.4rem; padding:1.25rem;
  background:linear-gradient(to top,
    color-mix(in srgb, var(--aj-ink) 72%, transparent) 0%,
    color-mix(in srgb, var(--aj-ink) 28%, transparent) 45%,
    transparent 80%);
  opacity:0; transition:opacity .35s ease;
}
.gtile:hover .veil,.gtile:focus-visible .veil{opacity:1}
.gtile .veil .t{font-family:var(--aj-display); font-weight:800; letter-spacing:-.035em;
  line-height:1; font-size:1.5rem; color:var(--aj-ground)}
@media (min-width:768px){ .gtile .veil .t{font-size:1.875rem} }
.gtile .veil .s{color:color-mix(in srgb, var(--aj-ground) 78%, transparent)}
/* Unterschrift unter der Kachel: auf Wunsch auch mobil ausgeblendet (2026-10-04) */
.gtile .below{display:none}

/* Breite Flaeche fuer ein Reel - nicht quadratisch, weil ein Film 16:9 ist */
.greel{margin-top:2rem}
@media (min-width:768px){ .greel{margin-top:2.5rem} }
.greel .frame{position:relative; aspect-ratio:16/9; overflow:hidden; background:var(--aj-ground-deep)}
.greel video,.greel img{width:100%; height:100%; object-fit:cover; display:block}
.greel.soon .frame{display:flex; align-items:center; justify-content:center;
  border:1px dashed var(--line-18); background:transparent}
.greel.soon .frame span{color:var(--aj-ink-muted)}

/* Stills sind Bilder, keine Projekte: Querformat, zwei nebeneinander */
.gcar--wide .gtile .frame{aspect-ratio:16/9}
@media (min-width:768px){
  .gcar--wide .gcar-track{grid-auto-columns:calc((100% - 1.5rem)/2)}
}

.gtile.soon{pointer-events:none}
.gtile.soon .frame{display:flex; align-items:center; justify-content:center;
  border:1px dashed var(--line-18); background:transparent}
.gtile.soon .frame span{color:var(--aj-ink-muted)}

/* Kategoriezeile unter "Selected work" */
.lede-head .cat{margin:.5rem 0 0; font-size:1.75rem; color:var(--aj-accent)}
@media (min-width:768px){ .lede-head .cat{margin-top:.75rem; font-size:2.5rem} }

/* Wechsel zwischen den fuenf Galerien.
   Sitzt zwischen Beschreibungstext und erstem Band, eingefasst von
   zwei Trennlinien. Das erste Band verzichtet dafuer auf seine
   eigene obere Linie - sonst stuenden dort drei Striche. */
.gnavwrap{margin-inline:auto; max-width:var(--shell); padding:3.5rem var(--pad) 0}
@media (min-width:768px){ .gnavwrap{padding-top:2.5rem} }
.gnav{display:flex; flex-wrap:wrap; gap:1.25rem; padding-block:1.125rem;
  border-top:1px solid var(--line-18); border-bottom:1px solid var(--line-18)}
@media (min-width:768px){ .gnav{gap:2rem} }

.gnavwrap + .gband{padding-top:3.5rem}
@media (min-width:768px){ .gnavwrap + .gband{padding-top:2.5rem} }
.gnavwrap + .gband .gband-head{border-top:0; padding-top:0}
.gnav a{color:var(--aj-ink-muted); transition:color .25s}
.gnav a:hover{color:var(--aj-ink)}
.gnav a.here{color:var(--aj-accent)}

/* ============================================================
   PROJEKTSEITE
   ============================================================ */
.p-head{margin-inline:auto; max-width:var(--shell); padding:5rem var(--pad) 0}
@media (min-width:768px){ .p-head{padding-top:7rem} }
.p-head .back{color:var(--aj-ink-muted)}
.p-head .back:hover{color:var(--aj-accent)}
.p-head h1{margin:1.5rem 0 0; font-size:2.5rem}
@media (min-width:768px){ .p-head h1{font-size:4rem} }
.p-head .sub{margin:1.25rem 0 0; max-width:56ch; line-height:1.625; color:var(--aj-ink-muted)}

/* Stammdaten */
.p-meta{margin:3rem 0 0; display:grid; grid-template-columns:1fr; gap:0;
  border-top:1px solid var(--line-18)}
@media (min-width:768px){ .p-meta{grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:4rem} }
.p-meta .row{display:flex; gap:1.5rem; justify-content:space-between;
  border-bottom:1px solid var(--line-14); padding-block:.875rem}
.p-meta dt{color:var(--aj-ink-muted); white-space:nowrap}
.p-meta dd{margin:0; text-align:right; font-size:.9375rem}

/* Inhaltsbausteine */
.p-body{margin-inline:auto; max-width:var(--shell); padding:4rem var(--pad) 0}
@media (min-width:768px){ .p-body{padding-top:6rem} }
.p-body > * + *{margin-top:2rem}
@media (min-width:768px){ .p-body > * + *{margin-top:3rem} }

/* Bilder auf Projektseiten behalten IMMER ihr Seitenverhaeltnis.
   height:auto ist hier nicht optional - es haelt das Bild unverzerrt,
   auch wenn im <img> ein height-Attribut steht. Kein object-fit,
   kein festes Seitenverhaeltnis, nichts wird beschnitten. */
.p-body img,.p-body video{width:100%; height:auto; display:block}
.p-sheet img{background:var(--aj-surface)}
.p-pair{display:grid; grid-template-columns:1fr; gap:1rem; align-items:start}
@media (min-width:768px){ .p-pair{grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.5rem} }
.p-pair img{background:var(--aj-surface)}
.p-pair figure{margin:0; min-width:0}
.p-pair figure img{display:block; width:100%}
.p-note{max-width:56ch; line-height:1.625; color:var(--aj-ink-muted)}
.p-cap{margin-top:.75rem; color:var(--aj-ink-muted)}
/* Kleine Ueberschrift ueber einem Bild (z. B. Stilstufen bei Allianz) */
.p-eyebrow{margin:0 0 .75rem; color:var(--aj-ink-muted)}
.p-video video{background:var(--aj-ink)}
video.p-auto{cursor:pointer}

/* YouTube: laedt erst auf Klick - bis dahin keine Drittanbieter-Verbindung */
.p-yt{position:relative; aspect-ratio:16/9; background:var(--aj-ink); cursor:pointer; overflow:hidden}
.p-yt img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.72}
.p-yt iframe{position:absolute; inset:0; width:100%; height:100%; border:0}
.p-yt .play{position:absolute; inset:0; display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:.75rem; color:var(--aj-ground)}
.p-yt .play b{display:flex; align-items:center; justify-content:center;
  width:4.5rem; height:4.5rem; border:1px solid color-mix(in srgb, var(--aj-ground) 60%, transparent);
  border-radius:50%; font-size:1rem; transition:background .3s, color .3s}
.p-yt:hover .play b{background:var(--aj-ground); color:var(--aj-ink)}
.p-yt .play em{font-style:normal; opacity:.7}

/* Fusszeile der Projektseite */
.p-next{margin-inline:auto; max-width:var(--shell); padding:5rem var(--pad) 0}
.p-next .in{display:grid; grid-template-columns:1fr auto 1fr; align-items:center;
  gap:1rem; border-top:1px solid var(--line-18); padding-top:1.5rem}
.p-next .in > a{color:var(--aj-ink-muted); transition:color .25s}
.p-next .in > a:hover{color:var(--aj-accent)}
.p-next .in .mid{justify-self:center; text-align:center}
.p-next .in .nx{justify-self:end; text-align:right}
.p-next .in .nx span{display:inline-block; transition:transform .3s}
.p-next .in .nx:hover span{transform:translateX(4px)}
@media (max-width:539px){
  .p-next .in{grid-template-columns:1fr 1fr; row-gap:1.25rem}
  .p-next .in .mid{grid-column:1 / -1; grid-row:2; justify-self:start; text-align:left}
}

/* ---------- Kontakt / Fuss ---------- */
.contact{margin-top:7rem; background:var(--aj-ground-deep)}
@media (min-width:768px){ .contact{margin-top:10rem} }
.contact .shell{padding-block:6rem; text-align:center}
@media (min-width:768px){ .contact .shell{padding-block:9rem} }
.contact h2{margin:0; font-size:2.5rem; line-height:1}
@media (min-width:768px){ .contact h2{font-size:5rem} }
.contact .act{margin-top:2.5rem; display:flex; justify-content:center}
.foot{border-top:1px solid var(--line-14)}
.foot .shell{display:flex; flex-direction:column; align-items:center; justify-content:space-between;
  gap:.75rem; padding-block:2rem; color:var(--aj-ink-muted)}
@media (min-width:768px){ .foot .shell{flex-direction:row} }
.foot a{text-decoration:underline; text-underline-offset:4px}
.foot .legal{display:flex; flex-wrap:wrap; justify-content:center; gap:1.25rem}

:focus-visible{outline:2px solid var(--aj-accent); outline-offset:3px}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition-duration:.01ms !important; animation-duration:.01ms !important}
}

/* Projektseite: Zusatzszenen einreihig, etwas schmaler als der Aufmacher, zentriert, ohne Beschriftung */
.p-stack{margin:1.5rem auto 0; width:100%; max-width:78%}
.p-stack + .p-stack{margin-top:1.5rem}
@media (min-width:768px){ .p-stack{margin-top:2rem} .p-stack + .p-stack{margin-top:2rem} }
.p-stack img{display:block; width:100%; height:auto; background:var(--aj-surface)}
@media (max-width:767px){ .p-stack{max-width:100%} }

/* ============================================================
   Before/After-Showcase - eine Arbeitsprobe pro Rubrik (v036)
   Kachel-Karussell abgeloest durch einen prominenten Slider.
   Motiv einsetzen: die zwei <img> (.ba-after / .ba-before) tauschen
   und <span class="ba-empty"> entfernen.
   ============================================================ */
.gshow{margin-inline:auto; max-width:var(--shell); padding:2.5rem var(--pad) 0}
@media (min-width:768px){ .gshow{padding-top:3.5rem} }
.ba{position:relative; margin:0}
.ba-stage{position:relative; overflow:hidden; aspect-ratio:16/9; max-height:78vh;
  background:var(--aj-ground-deep); border:1px solid var(--line-14);
  touch-action:pan-y; cursor:ew-resize; -webkit-user-select:none; user-select:none; --pos:50%}
.ba-stage img{position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  pointer-events:none; -webkit-user-drag:none}
.ba-before{clip-path:inset(0 calc(100% - var(--pos)) 0 0)}
.ba-empty{position:absolute; inset:0; display:grid; place-items:center; z-index:2;
  color:color-mix(in srgb, var(--aj-surface) 72%, transparent); letter-spacing:.16em;
  pointer-events:none}
.ba-tag{position:absolute; top:1rem; z-index:3; padding:.32rem .6rem;
  color:var(--aj-surface); background:color-mix(in srgb, var(--aj-ink) 55%, transparent);
  border-radius:4px; -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px)}
.ba-tag-b{left:1rem}
.ba-tag-a{right:1rem}
.ba-line{position:absolute; top:0; bottom:0; left:var(--pos); width:2px; margin-left:-1px;
  background:var(--aj-surface); z-index:3; cursor:ew-resize;
  box-shadow:0 0 0 1px color-mix(in srgb, var(--aj-ink) 22%, transparent)}
.ba-line:focus-visible{outline:2px solid var(--aj-accent); outline-offset:3px}
.ba-grip{position:absolute; top:50%; left:50%; width:48px; height:48px;
  transform:translate(-50%,-50%); border-radius:999px; background:var(--aj-surface);
  display:grid; place-items:center; box-shadow:0 3px 16px rgba(0,0,0,.4); cursor:ew-resize}
.ba-grip svg{width:22px; height:22px; fill:none; stroke:var(--aj-ink); stroke-width:2;
  stroke-linecap:round; stroke-linejoin:round}
.ba-cap{margin:0; color:var(--aj-ink-muted)}

/* Caption + Zahlen-Umschalter in einer Zeile, rechtsbündig zum Bild */
.ba-foot{display:flex; align-items:baseline; justify-content:space-between; gap:1rem; margin:1rem 0 0}
.bapager{display:flex; flex:0 0 auto; gap:.85rem; margin:0}
.bapg{appearance:none; border:0; background:none; padding:0; margin:0;
  font-family:var(--aj-mono); letter-spacing:.08em; text-transform:uppercase; font-size:11px;
  color:var(--aj-ink-muted); cursor:pointer; transition:color .25s}
.bapg:hover{color:var(--aj-ink)}
.bapg.is-active{color:var(--aj-accent)}
.bapg:focus-visible{outline:2px solid var(--aj-accent); outline-offset:3px}

/* ============================================================
   Selected work: sanftes, gestaffeltes Einblenden der Kacheln
   (opt-in per JS-Klasse .aj-reveal -> ohne JS bleibt alles sichtbar)
   ============================================================ */
@media (prefers-reduced-motion: no-preference){
  .gtile.aj-reveal{ opacity:0; transform:translateY(12px); will-change:opacity, transform; }
  .gtile.aj-reveal.aj-in{
    opacity:1; transform:none;
    transition:opacity .55s ease, transform .55s cubic-bezier(.2, 0, 0, 1);
  }
}

/* Versioning-Slideshow (AI Retouch): ein Shot, mehrere Settings.
   Motive liegen gestapelt; das neue blendet ueber dem alten ein. Klick = naechste Version. */
.vs-stage{position:relative; overflow:hidden; aspect-ratio:16/9; max-height:78vh;
  background:#0f0a07; cursor:pointer; -webkit-user-select:none; user-select:none}
.vs-stage:focus-visible{outline:2px solid var(--aj-accent); outline-offset:3px}
.vs-slide{position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0}
.vs-slide.is-active{opacity:1}
.vs-stage .ba-tag{left:1rem}
/* Strich-Anzeige: jeder Strich ist ein Button (grosse unsichtbare Klickflaeche, sichtbar nur die Linie) */
.vs-bar{position:absolute; left:1rem; right:1rem; bottom:.375rem; z-index:3; display:flex; gap:6px}
.vs-bar button{flex:1 1 0; position:relative; height:1.5rem; margin:0; padding:0; border:0;
  background:none; cursor:pointer; -webkit-tap-highlight-color:transparent}
.vs-bar button::before{content:""; position:absolute; left:0; right:0; bottom:.625rem; height:2px;
  background:rgba(255,255,255,.35); transition:background .3s, transform .2s; transform-origin:bottom}
.vs-bar button:hover::before{background:rgba(255,255,255,.75); transform:scaleY(1.75)}
.vs-bar button.is-on::before{background:#fff}
.vs-bar button:focus-visible{outline:none}
.vs-bar button:focus-visible::before{background:var(--aj-accent)}
@media (pointer:coarse){ .vs-bar{bottom:0} .vs-bar button{height:2.25rem} .vs-bar button::before{bottom:1rem} }

/* ------------------------------------------------------------
   Reel-Player (aj-reel.js): grafische Steuerung unter dem Video
   ------------------------------------------------------------ */
.greel.is-custom .frame{cursor:pointer}
.greel.is-custom video{cursor:pointer}

/* grosser Start-Button auf dem Poster */
.greel .rbig{position:absolute; right:7.5%; top:50%; width:84px; height:84px; margin-top:-42px;
  padding:0; border:0; background:none; color:var(--aj-ink); cursor:pointer;
  transition:opacity .35s ease, transform .35s ease}
.greel .rbig svg{width:100%; height:100%; display:block; overflow:visible}
.greel .rbig .s{fill:none; stroke:currentColor; stroke-width:1.25; transition:stroke-width .25s ease}
.greel .rbig .f{fill:currentColor}
.greel .rbig:hover{transform:scale(1.06)}
.greel .rbig:hover .s{stroke-width:2}
.greel .rbig:focus-visible{outline:1px solid var(--aj-accent); outline-offset:6px; border-radius:50%}
.greel.has-started .rbig{opacity:0; pointer-events:none; transform:scale(.9)}
@media (max-width:767px){ .greel .rbig{width:52px; height:52px; margin-top:-26px; right:6%} }

/* Leiste */
.greel .rbar{display:flex; align-items:center; gap:.75rem; margin-top:.875rem; color:var(--aj-ink)}
@media (min-width:768px){ .greel .rbar{gap:1.125rem; margin-top:1rem} }

.greel .rb{flex:none; width:32px; height:32px; padding:7px; margin:0 -7px; border:0; background:none;
  color:inherit; cursor:pointer; display:flex; align-items:center; justify-content:center;
  opacity:.9; transition:opacity .2s ease, color .2s ease}
.greel .rb:hover{opacity:1; color:var(--aj-accent)}
.greel .rb:focus-visible{outline:1px solid var(--aj-accent); outline-offset:0}
.greel .rb svg{width:18px; height:18px; display:block; fill:currentColor; overflow:visible}
.greel .rb .s{fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:square}
.greel .rb .f{fill:currentColor}

.greel .rt{flex:none; color:var(--aj-ink-muted); font-variant-numeric:tabular-nums; min-width:5ch}
.greel .rt:last-of-type{text-align:right}

/* Zeitleiste: eine Haarlinie, Fortschritt als kraeftigere Linie, roter Punkt */
.greel .rline{position:relative; flex:1; height:24px; cursor:pointer; touch-action:none; outline:none}
.greel .rline > span{position:absolute; left:0; right:0; top:50%; pointer-events:none}
.greel .rtrack{height:1px; margin-top:-.5px; background:var(--line-18)}
.greel .rbuf{height:1px; margin-top:-.5px; background:color-mix(in srgb, var(--aj-ink) 30%, transparent);
  transform-origin:0 50%; transform:scaleX(0)}
.greel .rprog{height:2px; margin-top:-1px; background:var(--aj-ink);
  transform-origin:0 50%; transform:scaleX(0)}
.greel .rhead{right:auto !important; width:9px; height:9px; margin:-4.5px 0 0 -4.5px; border-radius:50%;
  background:var(--aj-accent); transition:transform .2s ease}
.greel .rline:hover .rhead,.greel.is-seeking .rhead,.greel .rline:focus-visible .rhead{transform:scale(1.45)}
.greel .rline:focus-visible .rtrack{background:var(--aj-accent)}
@media (max-width:479px){ .greel .rt:first-of-type{display:none} }

/* Vollbild: ganzer Block, dunkel, Leiste hell */
.greel.is-fs{display:flex; flex-direction:column; justify-content:center; margin:0;
  padding:0 2.5rem 1.75rem; background:var(--aj-ink); color:var(--aj-ground)}
.greel.is-fs .frame{flex:1; aspect-ratio:auto; background:var(--aj-ink)}
.greel.is-fs video{object-fit:contain}
.greel.is-fs .rbar{color:var(--aj-ground)}
.greel.is-fs .rt{color:color-mix(in srgb, var(--aj-ground) 65%, transparent)}
.greel.is-fs .rtrack{background:color-mix(in srgb, var(--aj-ground) 22%, transparent)}
.greel.is-fs .rbuf{background:color-mix(in srgb, var(--aj-ground) 38%, transparent)}
.greel.is-fs .rprog{background:var(--aj-ground)}
