/* Laufgalerie – öffentliche Ansicht. Dunkel, fotozentriert, eine Akzentfarbe (aus den Einstellungen). */
:root {
  --bg: #0b0d10; --bg-2: #101317; --panel: #151a20; --panel-2: #1c232b;
  --line: #242c35; --line-2: #2f3944;
  --ink: #eef1f4; --ink-2: #c5ccd4; --muted: #8e99a4;
  --radius: 12px; --radius-s: 8px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --gap: 10px; --pad: 20px; --wrap: 1680px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
@media (max-width: 640px) { :root { --gap: 4px; --pad: 8px; --radius: 5px; --radius-s: 5px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
/* Bei offener Großansicht ist die Seite dahinter unsichtbar und der Grund schwarz: Browser, die beim
   Einklappen ihrer Leisten unten einen Streifen außerhalb ihres Viewports freigeben (Chrome/Vivaldi auf iOS),
   zeigen dort dann Schwarz statt Raster. */
body.lb-open { overflow: hidden; background: #000; }
body.lb-open > :not(dialog) { visibility: hidden; }
body.lb-open dialog { visibility: visible; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.i { width: 18px; height: 18px; flex: none; }
.dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); display: inline-block; opacity: .7; }
[hidden] { display: none !important; }

/* Kopf */
.site { padding: 56px var(--pad) 26px; text-align: center; }
.site__inner { max-width: 960px; margin: 0 auto; }
.site--hero {
  position: relative; min-height: clamp(300px, 54vh, 640px);
  display: flex; align-items: flex-end; justify-content: center;
  background: var(--hero) center 40% / cover no-repeat, var(--bg-2);
  padding-top: 120px;
}
.site--hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 0%, rgba(11, 13, 16, .6) 40%, rgba(11, 13, 16, .12) 100%); }
.site--hero .site__inner { position: relative; text-shadow: 0 2px 18px rgba(0, 0, 0, .5); }
.site__kicker { margin: 0 0 10px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.site__title { margin: 0; font-size: clamp(1.8rem, 4.6vw, 3.4rem); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.site__meta { margin: 16px 0 0; color: var(--ink-2); font-size: 14px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
@media (max-width: 640px) { .site { padding-top: 40px; } .site--hero { min-height: 42vh; } }

/* Partnerleiste */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.strip__inner { max-width: var(--wrap); margin: 0 auto; padding: 12px var(--pad); display: flex; align-items: center; gap: 18px; }
.strip__title { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
/* Scrollt waagerecht, wenn die Logos nicht in die Breite passen; Randverläufe (data-edge, JS) zeigen an, wo es weitergeht. */
.strip__logos { display: flex; gap: 14px; min-width: 0; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 2px 0; -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; overscroll-behavior-x: contain; --fade-l: 0px; --fade-r: 0px; -webkit-mask-image: linear-gradient(to right, transparent, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent); mask-image: linear-gradient(to right, transparent, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent); }
.strip__logos[data-edge="end"], .strip__logos[data-edge="both"] { --fade-r: 36px; }
.strip__logos[data-edge="start"], .strip__logos[data-edge="both"] { --fade-l: 36px; }
.strip__logos::-webkit-scrollbar { display: none; }
.strip__logo { scroll-snap-align: start; }
/* Endlosband (JS setzt --period und --dur): läuft nur per transform, hält bei Berührung und unter der Maus an. */
.strip__logos.is-marquee { overflow: hidden; scroll-snap-type: none; }
.strip__track { display: flex; gap: 14px; width: max-content; animation: strip-marquee var(--dur, 60s) linear infinite; will-change: transform; }
.strip__logos.is-paused .strip__track { animation-play-state: paused; }
@media (hover: hover) { .strip__logos.is-marquee:hover .strip__track { animation-play-state: paused; } }
@keyframes strip-marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(-1 * var(--period, 0px)), 0, 0); } }
.strip__logo { flex: none; background: #fff; border-radius: 8px; padding: 6px 12px; display: flex; align-items: center; transition: transform .15s; }
.strip__logo:hover { transform: translateY(-1px); }
.strip__logo img { height: 34px; width: auto; max-width: 170px; object-fit: contain; }
/* Volle Kachel: Motiv mit eigenem Hintergrund füllt die Fläche randlos (gleiche Gesamthöhe wie die weiße Platte). */
.strip__logo--fill { padding: 0; background: transparent; overflow: hidden; }
.strip__logo--fill img { height: 46px; max-width: 200px; object-fit: cover; border-radius: 8px; }
@media (max-width: 640px) {
  .strip__inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  /* Volle Breite bis zum Bildschirmrand, Innenabstand hält das erste Logo auf der Inhaltskante. */
  .strip__logos { align-self: stretch; max-width: none; margin: 0 calc(-1 * var(--pad)); padding: 2px var(--pad); scroll-padding-inline: var(--pad); }
  .strip__logo img { height: 28px; max-width: 140px; }
  .strip__logo--fill img { height: 40px; max-width: 160px; }
}

/* Zeitleiste (klebt oben) */
/* Eigene Ebene (will-change): der Browser hebt die Leiste nicht bei jedem Zeilenwechsel im Raster neu an.
   NICHT ENTFERNEN: Damit verschwand am 2026-09-09 auch das Problem, dass Chrome/Vivaldi auf iOS die klebende
   Leiste beim Einklappen ihrer Browserleisten unter die Statusleiste schoben – als eigene Ebene wird sie auf dem
   Compositor positioniert, nicht über das verschobene Haupt-Layout. */
.bar { position: sticky; top: 0; z-index: 30; will-change: transform; background: rgba(11, 13, 16, .86); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
@media (hover: none) { .bar { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(11, 13, 16, .97); } }
.bar__inner { max-width: var(--wrap); margin: 0 auto; padding: 8px var(--pad); display: flex; align-items: center; gap: 16px; min-height: 64px; }
.bar__time { background: none; border: 0; padding: 4px 8px 4px 0; margin: 0; cursor: pointer; text-align: left; display: flex; flex-direction: column; min-width: 118px; border-radius: 8px; }
.bar__time:hover .bar__clock { color: var(--ink); }
.bar__label { color: var(--muted); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.bar__clock { color: var(--accent); font-size: 27px; font-weight: 800; line-height: 1.05; letter-spacing: -.01em; font-variant-numeric: tabular-nums; transition: color .15s; display: inline-flex; align-items: center; gap: 2px; }
.bar__chev { width: 16px; height: 16px; color: var(--muted); transform: rotate(90deg); margin-top: 3px; }
.bar__slider { flex: 1; position: relative; padding: 6px 0 14px; min-width: 120px; --thumb: 20px; --rail: 28px; }
/* Schieberegler: das unsichtbare <input type=range> nimmt Finger, Maus und Tastatur entgegen; Spur, Füllung
   und Griff sind eigene Ebenen und bewegen sich nur per transform – kein Layout, kein Neuzeichnen beim Scrollen. */
.bar__rail { position: relative; height: var(--rail); }
.bar__slider input { position: relative; z-index: 2; display: block; width: 100%; margin: 0; height: var(--rail); background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; touch-action: none; opacity: 0; }
.bar__slider input::-webkit-slider-runnable-track { height: 4px; }
.bar__slider input::-webkit-slider-thumb { -webkit-appearance: none; width: var(--thumb); height: var(--thumb); margin-top: calc(2px - var(--thumb) / 2); border-radius: 50%; }
.bar__slider input::-moz-range-track { height: 4px; }
.bar__slider input::-moz-range-thumb { width: var(--thumb); height: var(--thumb); border: 0; border-radius: 50%; }
.bar__track { position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px; background: var(--line-2); overflow: hidden; pointer-events: none; }
.bar__fill { position: absolute; inset: 0; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); will-change: transform; }
.bar__knob { position: absolute; left: 0; top: 50%; width: var(--thumb); height: var(--thumb); margin-top: calc(var(--thumb) / -2); border-radius: 50%; background: var(--accent); border: 3px solid var(--bg); box-sizing: border-box; box-shadow: 0 0 0 1px var(--accent), 0 2px 8px rgba(0, 0, 0, .5); pointer-events: none; will-change: transform; z-index: 1; }
.bar__slider input:focus-visible ~ .bar__knob { box-shadow: 0 0 0 1px var(--accent), 0 0 0 5px rgba(33, 194, 127, .35); }
/* Zeitblase am Griff: am Desktop unter der Spur (die Leiste klebt am oberen Rand), mobil darüber. */
.bar__bubble { position: absolute; left: 0; top: calc(100% + 2px); transform: translateX(-50%); background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 800; font-variant-numeric: tabular-nums; padding: 3px 9px; border-radius: 8px; white-space: nowrap; pointer-events: none; box-shadow: 0 4px 14px rgba(0, 0, 0, .45); z-index: 3; will-change: transform; }
.bar__bubble::after { content: ""; position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; background: var(--accent); transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
@media (max-width: 720px) {
  .bar__bubble { top: auto; bottom: calc(100% + 7px); font-size: 15px; padding: 4px 10px; }
  .bar__bubble::after { top: auto; bottom: -5px; }
}
@media (hover: none) { .bar__slider { --thumb: 26px; --rail: 36px; } }
.bar__ticks { position: absolute; left: 10px; right: 10px; bottom: 0; height: 12px; pointer-events: none; }
.bar__ticks span { position: absolute; transform: translateX(-50%); color: var(--muted); font-size: 10px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bar__ticks span::before { content: ""; position: absolute; left: 50%; top: -6px; width: 1px; height: 4px; background: var(--line-2); }
.seg { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; flex: none; }
.seg button { border: 0; background: transparent; color: var(--muted); border-radius: 999px; padding: 6px 13px; min-height: 30px; font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.seg button:hover { color: var(--ink); }
.seg button[aria-checked="true"] { background: var(--accent); color: var(--accent-ink); }
.bar__jump { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 13px; border-radius: 999px; border: 1.5px solid var(--accent); background: transparent; color: var(--accent); font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s, transform .1s; flex: none; }
.bar__jump .i { width: 20px; height: 20px; }
.bar__jump:hover { background: var(--accent); color: var(--accent-ink); }
.bar__jump:active { transform: scale(.97); }
.bar__chips { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad) 10px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.bar__chips::-webkit-scrollbar { display: none; }
@media (max-width: 720px) {
  .bar__inner { display: grid; grid-template-columns: 1fr auto auto; grid-template-areas: "time seg jump" "slider slider slider"; gap: 2px 10px; min-height: 0; padding-top: 8px; padding-bottom: 4px; align-items: center; }
  .bar__time { grid-area: time; min-width: 0; padding: 0; }
  .bar__label { overflow: hidden; text-overflow: ellipsis; }
  .bar__labelWave { display: none; }
  .bar__clock { font-size: 26px; }
  .bar__slider { grid-area: slider; padding: 4px 4px 14px; min-width: 0; }
  .bar__jump { grid-area: jump; width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
  .bar__jump span { display: none; }
  .seg { grid-area: seg; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .seg::-webkit-scrollbar { display: none; }
  .seg button { padding: 6px 11px; font-size: 12px; }
}
@media (max-width: 400px) { .seg button { padding: 6px 9px; font-size: 11.5px; } .bar__clock { font-size: 23px; } }

/* Bedienelemente */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, transform .1s; }
.btn:hover { background: var(--line); }
.btn:active { transform: scale(.98); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { filter: brightness(1.08); background: var(--accent); }
.chip { flex: none; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink-2); border-radius: 999px; padding: 6px 13px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.chip:hover { color: var(--ink); background: var(--panel-2); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* Fotoraster */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: var(--gap) var(--pad) 0; }
.grid { position: relative; width: 100%; min-height: 40vh; }
.grid__empty { padding: 60px 20px; text-align: center; color: var(--muted); }
.row { position: absolute; left: 0; right: 0; display: flex; gap: var(--gap); }
.tile { position: relative; flex: none; overflow: hidden; border-radius: var(--radius); background: var(--panel); }
.tile img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s ease, transform .4s ease; }
.tile img.is-loaded { opacity: 1; }
.tile--photo { cursor: zoom-in; }
@media (hover: hover) { .tile--photo:hover img { transform: scale(1.03); } }
.tile__t { position: absolute; left: 8px; bottom: 8px; padding: 2px 7px; border-radius: 6px; background: rgba(0, 0, 0, .5); color: #fff; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; pointer-events: none; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.tile__hl { position: absolute; right: 8px; top: 8px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; pointer-events: none; }
.tile__hl .i { width: 13px; height: 13px; }
@media (max-width: 640px) { .tile__t { display: none; } .tile__hl { width: 16px; height: 16px; right: 4px; top: 4px; } .tile__hl .i { width: 10px; height: 10px; } }

.tile--ad { cursor: pointer; background: var(--panel-2); }
.tile--ad img { object-fit: cover; }
.tile__adLabel { position: absolute; top: 8px; left: 8px; padding: 2px 6px; border-radius: 4px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.tile__adBar { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 10px 10px; background: linear-gradient(to top, rgba(0, 0, 0, .72), transparent); display: flex; align-items: center; justify-content: space-between; gap: 8px; pointer-events: none; }
.tile__adName { font-size: 13px; font-weight: 700; color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .6); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tile__adCta { flex: none; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 12px; font-weight: 700; }
.tile--small .tile__adBar { display: none; }
.tile--small .tile__adLabel { font-size: 8px; padding: 1px 4px; top: 4px; left: 4px; }
@media (max-width: 640px) { .tile__adLabel, .tile--small .tile__adLabel { font-size: 6.5px; letter-spacing: .06em; padding: 1px 4px; top: 5px; left: 5px; border-radius: 3px; background: rgba(0, 0, 0, .5); } }

.row--marker { align-items: center; }
.marker { flex: 1; display: flex; align-items: center; gap: 12px; }
.marker::before, .marker::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.marker__label { color: var(--muted); font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; padding: 2px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-2); }
@media (max-width: 640px) { .marker::before, .marker::after { display: none; } .marker { justify-content: center; } .marker__label { font-size: 11px; padding: 1px 9px; border: 0; background: transparent; } }
/* Startlinie: kräftige Akzentlinie mit Läufer-Symbol */
.row--start .marker::before, .row--start .marker::after { display: block; height: 3px; background: var(--accent); border-radius: 2px; opacity: .9; }
.row--start .marker__label { display: inline-flex; align-items: center; gap: 7px; color: var(--accent-ink); background: var(--accent); border-color: var(--accent); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; padding: 5px 14px; box-shadow: 0 0 0 4px rgba(11, 13, 16, 1), 0 0 0 5px var(--accent); }
.row--start .marker__label .i { width: 16px; height: 16px; }
@media (max-width: 640px) { .row--start .marker::before, .row--start .marker::after { display: block; } .row--start .marker__label { font-size: 12px; padding: 4px 12px; } }

/* Ziellinie am Ende */
.finish { padding: 44px var(--pad) 60px; text-align: center; color: var(--muted); }
.finish__line { position: relative; height: 22px; margin: 0 auto 26px; background: repeating-conic-gradient(#f2f2f2 0 25%, #111 0 50%) 0 0 / 22px 22px; border-radius: 4px; box-shadow: 0 0 0 1px var(--line-2); }
.finish__label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 6px 18px; border-radius: 999px; box-shadow: 0 0 0 4px var(--bg); }
.finish__text { margin: 0 0 16px; font-size: 15px; color: var(--ink-2); }

/* Springen-Dialog */
.jump { background: var(--panel); color: var(--ink); border: 1px solid var(--line-2); border-radius: 18px; padding: 0; max-width: 440px; width: calc(100% - 32px); box-shadow: var(--shadow); }
.jump::backdrop { background: rgba(0, 0, 0, .65); backdrop-filter: blur(3px); }
.jump__form { position: relative; padding: 24px; margin: 0; }
.jump h2 { margin: 0 32px 6px 0; font-size: 18px; }
.jump__hint { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.jump__row { display: flex; gap: 8px; }
.jump__field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg); }
.jump__field:focus-within { outline: 2px solid var(--accent); border-color: transparent; }
.jump__row input { flex: 1; min-width: 0; width: 100%; padding: 10px 0; border: 0; background: transparent; color: var(--ink); font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; outline: none; }
.jump__unit { color: var(--muted); font-size: 14px; font-weight: 600; flex: none; }
.jump__quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.jump__quick .chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; font-size: 14px; }
.jump__quick .chip .i { width: 16px; height: 16px; }
.jump__close { position: absolute; top: 10px; right: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--panel-2); color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.jump__close:hover { color: var(--ink); }

/* Großansicht */
.lb { position: fixed; inset: 0; width: auto; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #000; color: #fff; overflow: hidden; }
/* Schwarze Schürzen ober- und unterhalb: Chrome/Vivaldi auf iOS führen den Viewport beim Einklappen ihrer
   Leisten nicht nach und geben unten einen Streifen frei – der bleibt so schwarz. In korrekten Browsern unsichtbar. */
.lb::before, .lb::after { content: ""; position: fixed; left: 0; right: 0; height: 40vh; background: #000; pointer-events: none; z-index: -1; }
.lb::before { bottom: 100%; }
.lb::after { top: 100%; }
.lb[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb::backdrop { background: #000; }
.lb__top { display: flex; align-items: center; gap: 12px; padding: calc(8px + env(safe-area-inset-top)) 14px 8px; min-height: 52px; }
.lb__counter { color: rgba(255, 255, 255, .55); font-size: 13px; font-variant-numeric: tabular-nums; }
.lb__time { color: var(--accent); font-size: 19px; font-weight: 800; font-variant-numeric: tabular-nums; }
.lb__loc { color: rgba(255, 255, 255, .65); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb__loc:empty { display: none; }
.lb__icon { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.lb__icon:hover { background: rgba(255, 255, 255, .2); }
.lb__stage { position: relative; overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; outline: none; }
.lb__track { position: absolute; inset: 0; will-change: transform; }
.lb__track.is-anim { transition: transform .28s cubic-bezier(.2, .7, .2, 1); }
/* Drei Flächen übereinander, je per transform um ganze Bühnenbreiten versetzt (JS). */
.lb__fig { position: absolute; inset: 0; margin: 0; padding: 0 4px; will-change: transform; backface-visibility: hidden; }
/* Bildfläche = ganze Bühne, Bild eingepasst: Vorschau und großes Bild haben dieselbe Größe, kein Sprung beim Nachladen. */
.lb__pic { position: relative; display: block; width: 100%; height: 100%; pointer-events: none; }
.lb__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; -webkit-user-drag: none; }
/* Das große Bild liegt über der Vorschau und blendet erst ein, wenn es fertig dekodiert ist:
   kein leerer Zwischenzustand beim Quelltausch (WebKit), kein Aufblitzen. */
.lb__hi { opacity: 0; }
.lb__hi.is-in { opacity: 1; transition: opacity .16s ease; }
.lb__fig--cur .lb__pic { transition: transform .2s ease; transform-origin: var(--ox, 50%) var(--oy, 50%); }
.lb.is-zoomed .lb__fig--cur .lb__pic { transform: scale(2.4) translate(var(--px, 0), var(--py, 0)); transition: none; }
.lb.is-zoomed .lb__stage { cursor: grab; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); background: rgba(0, 0, 0, .45); color: #fff; display: grid; place-items: center; cursor: pointer; opacity: .85; transition: background .15s, opacity .15s; }
.lb__nav:hover { background: var(--accent); color: var(--accent-ink); opacity: 1; }
.lb__nav--prev { left: 16px; }
.lb__nav--next { right: 16px; }
.lb__nav .i { width: 22px; height: 22px; }
@media (hover: none) { .lb__nav { display: none; } }
.lb__slide { position: absolute; inset: 0; background: var(--bg); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 34px 16px 16px; z-index: 2; }
.lb__slideLabel { position: absolute; top: 10px; left: 14px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lb__slideLink { display: block; max-width: min(100%, 960px); flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
.lb__slideLink img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; }
.lb__slideBar { margin-top: 14px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; }
.lb__slideBar span { font-weight: 700; }
.lb__bottom { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; padding: 8px 14px calc(10px + env(safe-area-inset-bottom)); }
.lb__actions { display: flex; gap: 8px; }
/* Feste Höhe: ein Motivwechsel darf die Bühne darüber nicht verschieben. */
.lb__ad { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; height: 36px; box-sizing: border-box; background: #fff; border-radius: 8px; padding: 4px 10px; flex: none; }
.lb__ad img { height: 28px; width: auto; max-width: min(150px, 38vw); object-fit: contain; }
.lb__adLabel { color: #777; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lb__ad--fill { padding: 0; background: transparent; gap: 8px; }
.lb__ad--fill img { height: 36px; max-width: min(180px, 44vw); object-fit: cover; border-radius: 8px; }
.lb__ad--fill .lb__adLabel { color: rgba(255, 255, 255, .5); }
.lb__license { flex-basis: 100%; margin: 0; text-align: center; color: rgba(255, 255, 255, .5); font-size: 11.5px; }
@media (max-width: 480px) { .lb__actions .btn span { display: none; } .lb__actions .btn { padding: 11px 13px; } .lb__time { font-size: 17px; } }

/* Teaser vor Veröffentlichung */
.teaser { max-width: 760px; margin: 30px auto 20px; padding: 0 var(--pad); }
.teaser__card { position: relative; text-align: center; background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 40px 24px 34px; }
.teaser__clock { display: flex; justify-content: center; gap: 28px; margin-bottom: 22px; }
.teaser__clock div { display: flex; flex-direction: column; align-items: center; min-width: 64px; }
.teaser__clock b { font-size: 42px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; color: var(--accent); }
.teaser__clock span { margin-top: 6px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.teaser__title { margin: 0 0 10px; font-size: 28px; letter-spacing: -.01em; }
.teaser__text { margin: 0 auto; max-width: 520px; color: var(--ink-2); font-size: 16px; }
.teaser__hint { margin: 18px 0 0; color: var(--muted); font-size: 13px; }
.teaser__partners { margin-top: 30px; text-align: center; }
.teaser__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 12px; }
.teaser__logo { background: #fff; border-radius: 10px; padding: 10px 16px; display: flex; align-items: center; }
.teaser__logo img { height: 44px; width: auto; max-width: 190px; object-fit: contain; }
.teaser__logo--fill { padding: 0; background: transparent; overflow: hidden; }
.teaser__logo--fill img { height: 64px; max-width: 240px; object-fit: cover; border-radius: 10px; }
.notice { max-width: 600px; margin: 60px auto; padding: 0 var(--pad); text-align: center; color: var(--ink-2); font-size: 17px; }
.noticeLine { max-width: 760px; margin: 14px auto 0; padding: 12px 18px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); color: var(--ink); font-size: 14px; text-align: center; }

/* E-Mail-Erinnerung auf der Teaser-Seite */
.signup { margin: 28px auto 0; max-width: 520px; padding-top: 24px; border-top: 1px solid var(--line); }
.signup__title { margin: 0 0 6px; font-size: 17px; }
.signup__text { margin: 0 0 14px; color: var(--ink-2); font-size: 14px; }
.signup__row { display: flex; gap: 8px; }
.signup__row input { flex: 1; min-width: 0; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); font-size: 16px; }
.signup__row input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.signup__row .btn { flex-shrink: 0; }
.signup__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup__privacy { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.signup__done { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 12px 16px; border-radius: 12px; background: var(--panel-2); color: var(--ink); font-size: 14px; font-weight: 600; }
.signup__done .i { color: var(--accent); flex-shrink: 0; }
@media (max-width: 480px) { .signup__row { flex-direction: column; } .signup__row .btn { justify-content: center; } }

/* Fuß */
.foot { border-top: 1px solid var(--line); padding: 44px var(--pad) 50px; margin-top: 20px; }
.foot__inner { max-width: 860px; margin: 0 auto; text-align: center; }
.foot__license { margin: 0 0 14px; color: var(--ink-2); font-size: 14px; line-height: 1.65; }
.foot__meta { margin: 0 0 14px; color: var(--muted); font-size: 13px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
.foot__links { margin: 0; display: flex; justify-content: center; gap: 18px; font-size: 13px; color: var(--muted); }
.foot__links a:hover { color: var(--ink); text-decoration: underline; }

/* Kurzmeldung */
.toast { position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); transform: translateX(-50%); background: var(--ink); color: var(--bg); padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; z-index: 200; box-shadow: var(--shadow); animation: toast-in .2s ease; max-width: calc(100% - 32px); text-align: center; }
@keyframes toast-in { from { transform: translate(-50%, 8px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.foot__admin { color: var(--accent); font-weight: 700; }

/* Tippflächen am Touch-Gerät: mindestens 44 px hoch. */
@media (hover: none) {
  .btn { min-height: 44px; }
  .chip { min-height: 40px; }
  .seg button { min-height: 38px; padding: 6px 15px; }
  .foot__meta a { display: inline-block; padding: 8px 2px; }
}
