/* jackie agentur – Bildangebot und Shop: Kopfzeile, Titelfoto, Event-Kacheln, Mosaik, Suche mit Filtern, Preise.
   Dunkles Jackie-Design; Rot nur als Akzent. ROSANSKI GmbH */

:root {
    --rand: clamp(16px, 3vw, 48px);
    --kopf-h: 64px;
    --zeile: 230px;   /* Zeilenhöhe im Mosaik */
    --ek-radius: 14px;
    --glas: color-mix(in srgb, #0E0F12 62%, transparent);
    --icon-lupe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E");
    --icon-korb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h2.2l2.3 11.2a1.5 1.5 0 0 0 1.5 1.2h8.6a1.5 1.5 0 0 0 1.5-1.1L21 8H6.1'/%3E%3Ccircle cx='9.5' cy='20' r='1.3'/%3E%3Ccircle cx='17' cy='20' r='1.3'/%3E%3C/svg%3E");
    --icon-plus: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
    --icon-lb: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='14' height='13' rx='2'/%3E%3Cpath d='M7 4h11a3 3 0 0 1 3 3v10'/%3E%3C/svg%3E");
    --icon-lb-voll: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Crect x='3' y='7' width='14' height='13' rx='2' fill='black'/%3E%3Cpath d='M7 4h11a3 3 0 0 1 3 3v10'/%3E%3C/svg%3E");
    --icon-haken: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
    --icon-mosaik: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Crect x='3' y='4' width='10' height='7' rx='1.2'/%3E%3Crect x='14.5' y='4' width='6.5' height='7' rx='1.2'/%3E%3Crect x='3' y='12.5' width='6' height='7.5' rx='1.2'/%3E%3Crect x='10.5' y='12.5' width='10.5' height='7.5' rx='1.2'/%3E%3C/svg%3E");
    --icon-raster: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Crect x='3' y='3' width='5' height='5' rx='1'/%3E%3Crect x='9.5' y='3' width='5' height='5' rx='1'/%3E%3Crect x='16' y='3' width='5' height='5' rx='1'/%3E%3Crect x='3' y='9.5' width='5' height='5' rx='1'/%3E%3Crect x='9.5' y='9.5' width='5' height='5' rx='1'/%3E%3Crect x='16' y='9.5' width='5' height='5' rx='1'/%3E%3Crect x='3' y='16' width='5' height='5' rx='1'/%3E%3Crect x='9.5' y='16' width='5' height='5' rx='1'/%3E%3Crect x='16' y='16' width='5' height='5' rx='1'/%3E%3C/svg%3E");
}
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
body.mit-kopf { padding-bottom: 0; }

/* ---------- Kopfzeile ---------- */
.kopf { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 22px; height: var(--kopf-h); padding: 0 var(--rand);
    background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent); }
.kopf-logo { line-height: 0; flex: none; }
.kopf-logo img { height: 26px; width: auto; }
.seite-zurueck { flex: none; width: 34px; height: 34px; margin-right: -12px; border: 0; border-radius: 50%; background: var(--surface-raised); display: grid; place-items: center; padding: 0; cursor: pointer; }
.seite-zurueck:hover { background: var(--border-strong); }
.seite-zurueck img { width: 20px; height: 20px; display: block; pointer-events: none; }
.kopf-nav { display: flex; gap: 2px; min-width: 0; overflow-x: auto; scrollbar-width: none; -webkit-mask: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask: linear-gradient(90deg, #000 calc(100% - 28px), transparent); padding-right: 24px; }
.kopf-nav::-webkit-scrollbar { display: none; }
.kopf-nav a { flex: none; padding: 8px 11px; border-radius: var(--radius-pill); color: var(--text-muted); text-decoration: none; font-size: .95rem; font-weight: 500; white-space: nowrap; transition: color .15s, background .15s, box-shadow .15s; }
.kopf-nav a:hover, .kopf-nav a:focus-visible { color: var(--text); background: var(--surface-raised); box-shadow: inset 0 -2px 0 var(--brand); }
.kopf-nav a[aria-current] { color: var(--text); background: var(--surface-raised); box-shadow: inset 0 -2px 0 var(--brand); }
.kopf-rechts { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: none; }
.kopf-suche { position: relative; }
.kopf-suche input { width: clamp(170px, 14vw, 260px); font: inherit; font-size: .92rem; color: var(--text); background: var(--surface);
    border: 1px solid var(--border-strong); border-radius: var(--radius-pill); padding: 8px 16px 8px 36px; transition: border-color .15s, width .2s; }
.kopf-suche::before { content: ""; position: absolute; left: 13px; top: 50%; width: 15px; height: 15px; margin-top: -7.5px; background: var(--text-subtle); -webkit-mask: var(--icon-lupe) center/contain no-repeat; mask: var(--icon-lupe) center/contain no-repeat; pointer-events: none; }
.kopf-suche input:focus { outline: none; border-color: var(--text-muted); width: clamp(220px, 24vw, 380px); }
.kopf-korb { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; color: var(--text); text-decoration: none; }
.kopf-korb:hover { background: var(--surface-raised); }
.kopf-korb-icon { width: 22px; height: 22px; background: var(--text); -webkit-mask: var(--icon-korb) center/contain no-repeat; mask: var(--icon-korb) center/contain no-repeat; }
.kopf-korb b { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 9px; background: var(--brand-action); color: var(--on-brand); font-size: .7rem; font-weight: 700; line-height: 18px; text-align: center; }
.kopf-korb.leer b { display: none; }
.kopf-konto { padding: 8px 18px; border-radius: var(--radius-pill); background: var(--text); color: var(--bg); text-decoration: none; font-size: .9rem; font-weight: 600; white-space: nowrap; }
.kopf-konto:hover { background: #fff; }
.mit-kopf .content { margin-top: 56px; }
.mit-kopf .home-icon, .mit-kopf .brand-corner, .mit-kopf .korb-link, .mit-kopf .konto-link { display: none; }
.kopf-lupe { display: none; width: 42px; height: 42px; border-radius: 50%; place-items: center; }
.kopf-lupe::before { content: ""; width: 20px; height: 20px; background: var(--text); -webkit-mask: var(--icon-lupe) center/contain no-repeat; mask: var(--icon-lupe) center/contain no-repeat; }
.kopf-lupe:hover { background: var(--surface-raised); }
@media (max-width: 1480px) { .kopf-suche { display: none; } .kopf-lupe { display: grid; } }
@media (max-width: 980px) {
    .kopf { flex-wrap: wrap; height: auto; gap: 6px 14px; padding-top: 10px; padding-bottom: 6px; }
    .kopf-nav { order: 3; flex: 1 0 100%; margin: 0 calc(var(--rand) * -1); padding: 0 var(--rand); }
    .kopf-suche { display: none; }
}
@media (max-width: 520px) {
    .kopf-logo img { height: 20px; }
    .kopf-rechts { gap: 2px; }
    .kopf-lupe, .kopf-korb { width: 38px; height: 38px; }
    .kopf-konto { padding: 7px 13px; font-size: .84rem; margin-left: 4px; }
}

/* ---------- Seitenaufbau ---------- */
main.voll { display: block; margin: 0; padding: 0 var(--rand); }
.abschnitt { margin: 40px 0 56px; }
.abschnitt-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.abschnitt h2, .ressort-text h2, .such-events h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 600; margin: 0; letter-spacing: -0.01em; }
.abschnitt-zahl { color: var(--text-subtle); font-size: .92rem; margin: 0; }
.seitenkopf { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 32px; padding: 40px 0 6px; }
.seitenkopf h1 { font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.08; margin: 0 0 12px; font-weight: 600; letter-spacing: -0.02em; }
.seitenkopf p { color: var(--text-muted); max-width: 72ch; margin: 0 0 6px; }
.seitenkopf .lead { margin-top: 12px; }
.knopf { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: var(--radius-pill); border: 1px solid var(--border-strong); background: var(--surface); color: var(--text);
    text-decoration: none; font: inherit; font-size: .95rem; font-weight: 500; cursor: pointer; transition: background .15s, border-color .15s; }
.knopf:hover { background: var(--text); color: var(--bg); border-color: var(--text); text-decoration: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px; border-radius: var(--radius-pill); font-size: .78rem; font-weight: 600; line-height: 1.5; white-space: nowrap;
    background: var(--glas); color: #fff; border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.chip-warn { color: var(--warning); border-color: color-mix(in srgb, var(--warning) 45%, transparent); }
.chip-video { color: #fff; background: color-mix(in srgb, var(--brand) 78%, transparent); border-color: transparent; }

/* ---------- Titelfoto mit großer Suche ---------- */
.held { position: relative; display: flex; align-items: flex-end; min-height: clamp(460px, 70vh, 820px); margin: 0 calc(var(--rand) * -1); padding: 0 var(--rand) clamp(44px, 8vh, 96px); background: var(--surface); isolation: isolate; }
.held-slider { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.held-bild { position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat; opacity: 0; transition: opacity 1.6s ease; transform: scale(1.07); }
/* Das ausblendende Bild („war“) behält seine laufende Zoom-Bewegung bis zum Ende der Überblendung – kein Rücksprung */
.held-bild { --s0: 1.07; --s1: 1.02; --x0: 0%; --y0: 0%; --x1: 0%; --y1: 0%; }   /* Fahrt: galerie.js wählt je Bild eine andere (Zoom, Schwenk, diagonal) */
.held-bild.an, .held-bild.war { animation: held-zoom 10s cubic-bezier(.25, .1, .25, 1) forwards; }   /* sanft, ohne Ruck am Anfang */
.held-bild.an { opacity: 1; }
@keyframes held-zoom { from { transform: translate(var(--x0), var(--y0)) scale(var(--s0)); } to { transform: translate(var(--x1), var(--y1)) scale(var(--s1)); } }
@media (prefers-reduced-motion: reduce) { .held-bild { transition: none; } .held-bild.an, .held-bild.war { animation: none; transform: none; } }
.held::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,15,18,.30) 0%, rgba(14,15,18,.20) 35%, rgba(14,15,18,.82) 78%, var(--bg) 100%),
    linear-gradient(90deg, rgba(14,15,18,.55) 0%, rgba(14,15,18,0) 60%); }
.held-innen { position: relative; width: min(1400px, 100%); }
.held h1 { font-size: clamp(2.1rem, 4vw, 4.2rem); line-height: 1.06; margin: 0 0 16px; font-weight: 600; letter-spacing: -0.025em; max-width: none; text-wrap: balance; }
.held p { color: rgba(243,242,239,.92); font-size: clamp(1.05rem, 1.5vw, 1.4rem); margin: 0 0 30px; max-width: 60ch; font-weight: 500; }
.held .held-zahlen { margin: 16px 0 0; font-size: .9rem; color: rgba(243,242,239,.7); }
.held-credit { position: absolute; right: var(--rand); bottom: 14px; max-width: 46ch; font-size: .74rem; color: rgba(243,242,239,.6); text-align: right; transition: opacity .6s; }
@media (max-width: 760px) { .held-credit { display: none; } }

.gs { position: relative; display: flex; align-items: center; width: 100%; max-width: 1400px; height: 76px; background: rgba(247,246,243,.75); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-radius: 16px; box-shadow: 0 18px 50px rgba(0,0,0,.45); color: #15171B; }
.gs > .gs-lupe { position: absolute; left: 24px; width: 24px; height: 24px; background: #6B7078; -webkit-mask: var(--icon-lupe) center/contain no-repeat; mask: var(--icon-lupe) center/contain no-repeat; pointer-events: none; }
.gs input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: inherit; font-size: 1.3rem; color: #15171B; padding: 0 14px 0 64px; }
.gs input::placeholder { color: #80858D; }
.gs input:focus { outline: none; }
.gs-kbd { flex: none; margin-right: 12px; font: 600 .72rem var(--font-sans); color: #80858D; border: 1px solid #D5D8DE; border-radius: 6px; padding: 2px 7px; }
.gs select { flex: none; height: 100%; border: 0; border-left: 1px solid #E1E3E7; background: none; font: inherit; font-weight: 600; font-size: 1.08rem; color: #15171B; padding: 0 16px; cursor: pointer; }
.gs select:focus-visible { outline: 2px solid #15171B; outline-offset: -4px; }
.gs button { flex: none; width: 64px; height: 64px; margin: 0 6px; border: 0; border-radius: 12px; background: var(--brand-action); cursor: pointer; display: grid; place-items: center; }
.gs button .gs-lupe { width: 26px; height: 26px; background: #fff; -webkit-mask: var(--icon-lupe) center/contain no-repeat; mask: var(--icon-lupe) center/contain no-repeat; }
.gs button:hover { filter: brightness(1.08); }
@media (max-width: 640px) { .gs { height: 56px; } .gs > .gs-lupe { left: 16px; width: 20px; height: 20px; } .gs input { padding-left: 46px; } .gs-kbd, .gs select { display: none; } .gs input { font-size: 1.02rem; } .gs button { width: 46px; height: 46px; margin: 0 5px; } }
@media (hover: none) { .gs-kbd { display: none; } }

/* Vorschläge beim Tippen */
.vorschlaege { position: absolute; z-index: 70; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--surface-raised); border: 1px solid var(--border-strong);
    border-radius: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.5); color: var(--text); text-align: left; }
.vorschlaege[hidden] { display: none; }
.vorschlaege a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: .98rem; }
.vorschlaege a:hover, .vorschlaege a.akt { background: color-mix(in srgb, var(--text) 9%, transparent); text-decoration: none; }
.vorschlaege mark { background: none; color: var(--text); font-weight: 700; }
.vorschlaege small { flex: none; color: var(--text-subtle); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; }
.kopf-suche .vorschlaege { left: auto; width: 380px; }

/* ---------- Event-Kacheln ---------- */
.ek { position: relative; display: block; overflow: hidden; border-radius: var(--ek-radius); background: var(--surface-raised); color: #fff; text-decoration: none; aspect-ratio: 4 / 3; isolation: isolate; }
.ek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .6s cubic-bezier(.2,.7,.2,1); z-index: -2; }
.ek::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,0) 26%, rgba(0,0,0,0) 46%, rgba(0,0,0,.86) 100%); }
.ek:hover img, .ek:focus-visible img { transform: scale(1.045); }
.content a.ek:hover, a.ek:hover { text-decoration: none; }
.ek-oben { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.ek-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ek-chips .chip { font-size: .74rem; }
.ek-zahl { flex: none; padding: 3px 10px; border-radius: 8px; background: var(--glas); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: .78rem; font-weight: 600; white-space: nowrap; }
.ek-unten { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; flex-direction: column; gap: 3px; }
.ek-unten strong { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; line-height: 1.22; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-shadow: 0 1px 12px rgba(0,0,0,.5); }
.ek-ort { font-size: .84rem; color: rgba(255,255,255,.78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ek-red { font-size: .72rem; font-weight: 600; color: var(--warning); }
.ek-gross .ek-unten { left: 26px; right: 26px; bottom: 24px; }
.ek-gross .ek-unten strong { font-size: clamp(1.4rem, 2.4vw, 2.3rem); line-height: 1.12; letter-spacing: -0.01em; }
.ek-gross .ek-ort { font-size: .95rem; }

.ek-bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(190px, 16vw, 330px); gap: 16px; }
.ek-bento .ek { aspect-ratio: auto; }
.ek-bento .ek-gross { grid-column: span 2; grid-row: span 2; }
.ek-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.ek-reihe { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ek-klein .ek-unten strong { font-size: 1rem; }
@media (max-width: 1200px) { .ek-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(180px, 26vw, 300px); } .ek-reihe { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ek-bento { grid-template-columns: 1fr; grid-auto-rows: auto; } .ek-bento .ek { aspect-ratio: 4 / 3; } .ek-bento .ek-gross { grid-column: auto; grid-row: auto; } .ek-reihe { grid-template-columns: 1fr; } }

.ressort-block { display: grid; grid-template-columns: minmax(220px, 300px) 1fr; gap: 28px 36px; align-items: start; padding-top: 40px; border-top: 1px solid var(--border); }
.ressort-text p { color: var(--text-muted); margin: 10px 0 20px; }
@media (max-width: 1000px) { .ressort-block { grid-template-columns: 1fr; } }

/* ---------- Blättern ---------- */
.blaettern { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 40px 0 0; }
.blaettern a, .blaettern span { min-width: 40px; height: 40px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 10px; font-size: .95rem; }
.blaettern a { color: var(--text); text-decoration: none; background: var(--surface); border: 1px solid var(--border); }
.blaettern a:hover { border-color: var(--text-muted); text-decoration: none; }
.blaettern .akt { background: var(--text); color: var(--bg); font-weight: 700; }
.blaettern .aus { color: var(--text-subtle); border: 1px solid transparent; }
.blaettern .luecke { min-width: 20px; padding: 0; color: var(--text-subtle); }

/* ---------- Event-Seite ---------- */
.pfad { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .9rem; color: var(--text-subtle); margin-bottom: 12px; }
.pfad a { color: var(--text-muted); text-decoration: none; }
.pfad a:hover { color: var(--text); }
.ev-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0 !important; }
.ev-meta .chip { background: var(--surface-raised); border-color: var(--border-strong); backdrop-filter: none; font-weight: 500; font-size: .85rem; color: var(--text); }
.ev-meta .chip-warn { color: var(--warning); }
.werkzeuge { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.umschalter { display: inline-flex; padding: 3px; gap: 2px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.umschalter button, .umschalter .filter-btn { font: inherit; font-size: .88rem; color: var(--text-muted); background: none; border: 0; border-radius: 8px; padding: 6px 12px; margin: 0; cursor: pointer; }
.umschalter button:hover { color: var(--text); }
.umschalter .filter-btn.active, .umschalter button[aria-pressed="true"] { background: var(--surface-raised); color: var(--text); box-shadow: 0 0 0 1px var(--border-strong); }
.ansicht button { display: grid; place-items: center; padding: 6px 9px; }
.i-mosaik, .i-raster { display: block; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--icon-mosaik) center/contain no-repeat; mask: var(--icon-mosaik) center/contain no-repeat; }
.i-raster { -webkit-mask-image: var(--icon-raster); mask-image: var(--icon-raster); }

/* ---------- Mosaik (bündig, gleiche Zeilenhöhe) und Raster ---------- */
.mosaik { display: flex; flex-wrap: wrap; gap: 8px; }
.mosaik::after { content: ""; flex-grow: 999999; }
.mk { position: relative; margin: 0; flex: calc(var(--r) * 100) 1 calc(var(--r) * var(--zeile) * var(--zoom, 1)); aspect-ratio: var(--r); max-height: calc(var(--zeile) * var(--zoom, 1) * 1.9);
    overflow: hidden; border-radius: 6px; background: var(--surface-raised); cursor: zoom-in; border: 0; padding: 0; transform: none; transition: none; display: block; }
.mk:hover { transform: none; }
.mk[hidden] { display: none; }
.mk-auf { all: unset; position: absolute; inset: 0; cursor: zoom-in; }
.mk-auf img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .3s; }
.mk:hover .mk-auf img { transform: scale(1.03); }
.mk-auf:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.mk-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.85)); color: #fff;
    display: flex; flex-direction: column; gap: 2px; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s; pointer-events: none; }
.mk:hover .mk-info, .mk:focus-within .mk-info { opacity: 1; transform: none; }
.mk-cap { font-size: .82rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mk-nr { font-size: .72rem; color: rgba(255,255,255,.72); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-korb { position: absolute; top: 8px; right: 8px; width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(14,15,18,.72); backdrop-filter: blur(6px);
    display: grid; place-items: center; opacity: 0; transition: opacity .15s, background .15s, transform .15s; }
.mk-korb::before { content: ""; width: 18px; height: 18px; background: #fff; -webkit-mask: var(--icon-plus) center/contain no-repeat; mask: var(--icon-plus) center/contain no-repeat; }
.mk:hover .mk-korb, .mk:focus-within .mk-korb, .mk-korb.drin { opacity: 1; }
.mk-korb:hover { background: var(--brand-action); transform: scale(1.06); }
.mk-korb.drin { background: var(--brand-action); }
.mk-korb.drin::before { -webkit-mask-image: var(--icon-haken); mask-image: var(--icon-haken); }
.mk-red { position: absolute; top: 8px; left: 8px; padding: 1px 8px; border-radius: var(--radius-pill); font-size: .66rem; font-weight: 700; background: rgba(14,15,18,.72); color: var(--warning); pointer-events: none; opacity: 0; transition: opacity .15s; }
.mk:hover .mk-red { opacity: 1; }
.mk-dauer { position: absolute; left: 8px; bottom: 8px; padding: 2px 9px; border-radius: var(--radius-pill); font-size: .72rem; font-weight: 600; background: rgba(14,15,18,.72); color: #fff; pointer-events: none; transition: opacity .2s; }
.mk:hover .mk-dauer { opacity: 0; }
.mk.gal-video .gal-play { top: 50%; }
@media (hover: none) { .mk-korb { opacity: 1; } .mk-info { display: none; } }
@media (max-width: 640px) { :root { --zeile: 112px; } .mosaik { gap: 5px; } .mk { border-radius: 4px; } }

.mosaik.raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, calc(220px * var(--zoom, 1))), 1fr)); gap: 10px; }
.mosaik.raster::after { display: none; }
.mosaik.raster .mk { aspect-ratio: 1; max-height: none; background: #08090B; }
.mosaik.raster .mk-auf img { object-fit: contain; }
.mosaik.raster .mk:hover .mk-auf img { transform: none; }

/* ---------- Suche ---------- */
.such-kopf { padding: 28px 0 8px; }
.such-kopf .gs { max-width: none; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.such-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 36px; margin-top: 26px; align-items: start; }
.filterleiste { position: sticky; top: calc(var(--kopf-h) + 16px); }
.filterleiste details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 6px 18px 18px; }
.filterleiste summary { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; padding: 10px 0; cursor: pointer; list-style: none; }
.filterleiste summary::-webkit-details-marker { display: none; }
.filterleiste label, .filterleiste legend { display: block; font-size: .82rem; font-weight: 600; color: var(--text-muted); margin: 12px 0 0; }
.filterleiste fieldset { border: 0; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-width: 0; }
.filterleiste fieldset legend { grid-column: 1 / -1; }
.filterleiste fieldset legend { margin: 0 0 4px; }
.filterleiste label.klein { min-width: 0; margin: 0; font-weight: 500; color: var(--text-subtle); }
.filterleiste input[type=date] { padding: 8px 6px; font-size: .85rem; }
.filterleiste select, .filterleiste input { display: block; width: 100%; box-sizing: border-box; margin-top: 5px; font: inherit; font-size: .92rem; color: var(--text); background: var(--surface-raised);
    border: 1px solid var(--border-strong); border-radius: 8px; padding: 8px 10px; color-scheme: dark; }
.filter-knoepfe { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.filter-knoepfe .knopf { background: var(--text); color: var(--bg); border-color: var(--text); font-weight: 600; }
.filter-knoepfe a { color: var(--text-muted); font-size: .88rem; }
.ergebnis-kopf { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 18px; }
.ergebnis-kopf h1 { font-size: clamp(1.6rem, 2.6vw, 2.4rem); margin: 0 0 4px; font-weight: 600; letter-spacing: -0.01em; word-break: break-word; }
.such-events { margin: 0 0 30px; }
.such-events h2 { font-size: 1.15rem; margin-bottom: 12px; }
@media (max-width: 1000px) {
    .such-layout { grid-template-columns: 1fr; gap: 18px; }
    .filterleiste { position: static; }
    .filterleiste details:not([open]) { padding-bottom: 6px; }
    .filterleiste form, .filterleiste details { max-width: none; }
}

/* ---------- Lightbox: Bild links, Angaben rechts ---------- */
.mit-kopf .lightbox { display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-rows: 100%; align-items: center; justify-items: center; padding: 0; background: #08090B; }
.mit-kopf .lightbox #lbImg, .mit-kopf .lightbox video { grid-column: 1; grid-row: 1; max-width: calc(100% - 140px); max-height: calc(100vh - 80px); object-fit: contain; }
.mit-kopf .lightbox-caption { grid-column: 2; grid-row: 1; align-self: stretch; justify-self: stretch; margin: 0; max-width: none; text-align: left; background: var(--surface); border-left: 1px solid var(--border);
    padding: 76px 26px 26px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; font-size: .98rem; line-height: 1.5; }
.mit-kopf .lightbox-info { justify-content: flex-start; flex-direction: column; gap: 8px; margin: 0; font-size: .9rem; }
.mit-kopf .lightbox-info .lb-ab { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: var(--text); margin-top: 8px; }
.mit-kopf .lb-korb { order: 10; width: 100%; padding: 12px 18px; font-size: 1rem; font-weight: 600; border-radius: 10px; }
.mit-kopf .lightbox-info a { order: 11; align-self: flex-start; }
.mit-kopf .lightbox .lb-btn { width: 46px; height: 46px; z-index: 2; background: rgba(14,15,18,.6); }
.mit-kopf .lightbox .lb-close { right: 380px; }
.mit-kopf .lightbox .lb-prev { left: 20px; top: 50%; margin-top: -23px; }
.mit-kopf .lightbox .lb-next { left: auto; right: 380px; top: 50%; margin-top: -23px; }
/* Filter als kleines Fenster auf dem Bild (verschiebbar, Transparenz per Schieber, Standard 15 %) */
.lb-filterfenster { position: absolute; z-index: 4; display: flex; align-items: center; gap: 8px; padding: 5px 10px 5px 6px; border-radius: 14px; cursor: grab; touch-action: none;
    background: color-mix(in srgb, var(--surface) calc(var(--win-alpha, .85) * 100%), transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    box-shadow: 0 0 0 1px var(--border-strong), 0 8px 24px rgba(0,0,0,.35); }
.lb-filterfenster.zieht { cursor: grabbing; }
.lb-filterfenster .lbv-filter { background: none; box-shadow: none; padding: 2px 4px; cursor: default; }
.lb-ff-alpha { flex: none; width: 90px; }
.lb-ff-inhalt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lb-ff-zeile { display: flex; align-items: center; gap: 12px; }
.lb-filterfenster .lbv-f-zahl { display: none; }   /* Anzahl steht – mit den Zusatzfiltern – in der zweiten Zeile */
.lb-ff-zusatz { gap: 8px; padding-top: 6px; border-top: 1px solid color-mix(in srgb, var(--border-strong) 70%, transparent); }
.lb-ff-pille { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 13px 0 9px; border-radius: var(--radius-pill); cursor: pointer;
    font: 600 .92rem/1 var(--font-body, inherit); color: var(--text); background: color-mix(in srgb, var(--surface-raised) 80%, transparent); border: 1px solid var(--border-strong); }
.lb-ff-pille img { width: 20px; height: 20px; display: block; pointer-events: none; opacity: .75; }
.lb-ff-pille .lb-ff-n { font-weight: 600; font-size: .8rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.lb-ff-pille .lb-ff-n:empty { display: none; }
.lb-ff-pille:hover { border-color: var(--text-muted); }
.lb-ff-pille.an { border-color: var(--brand); background: rgba(229, 53, 43, .16); }
.lb-ff-pille.an img { opacity: 1; }
.lb-ff-pille[aria-disabled="true"] { opacity: .38; cursor: not-allowed; }
.lb-ff-pille[aria-disabled="true"]:hover { border-color: var(--border-strong); }
.lb-ff-zahl { margin-left: auto; padding-left: 6px; color: var(--text-muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.lb-ff-urheber { gap: 10px; padding-top: 6px; border-top: 1px solid color-mix(in srgb, var(--border-strong) 70%, transparent); cursor: default; }
.lb-ff-l { color: var(--text-muted); font-size: .95rem; min-width: 64px; }
.lb-ff-select { flex: 1 1 auto; min-width: 0; height: 32px; padding: 0 34px 0 12px; border-radius: var(--radius-pill); cursor: pointer; font: 600 .92rem/1 var(--font-body, inherit);
    color: var(--text); background: color-mix(in srgb, var(--surface-raised) 80%, transparent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23F3F2EF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 13px center / 11px 8px no-repeat;
    border: 1px solid var(--border-strong); -webkit-appearance: none; appearance: none; }
.lb-ff-select:hover { border-color: var(--text-muted); }
.lb-ff-select.an { border-color: var(--brand); background-color: rgba(229, 53, 43, .16); }
.lb-ff-select option { background: #1E2126; color: #F3F2EF; }
.lb-ff-aktionen { gap: 8px; padding-top: 6px; border-top: 1px solid color-mix(in srgb, var(--border-strong) 70%, transparent); }
.lb-ff-aktion { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 16px 0 11px; border-radius: var(--radius-pill); cursor: pointer;
    font: 600 .92rem/1 var(--font-body, inherit); color: var(--text); background: color-mix(in srgb, var(--surface-raised) 80%, transparent); border: 1px solid var(--border-strong); white-space: nowrap; }
.lb-ff-aktion img { width: 20px; height: 20px; display: block; pointer-events: none; }
.lb-ff-aktion:hover { border-color: var(--text-muted); }
.lb-ff-aktion.haupt { background: var(--brand-action, #E5352B); border-color: transparent; color: #fff; }
.lb-ff-aktion.haupt:hover { filter: brightness(1.08); }
.lb-ff-aktion[aria-disabled="true"] { opacity: .38; cursor: not-allowed; filter: none; }
.lb-ff-weg { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-strong); background: color-mix(in srgb, var(--surface-raised) 80%, transparent); color: var(--text); cursor: pointer; font-size: .95rem; }
.lb-ff-weg:hover { border-color: var(--text-muted); }
.lb-ff-weg[hidden] { display: none; }
/* Im Fenster „Bildangebot“: das Filterfenster schwebt über den Medien; die Filterleiste im Fensterkopf tritt zurück */
.sf .lb-filterfenster { z-index: 25; }   /* über der klebenden Werkzeugleiste (z-index 20) im Fenster */
.sf.mit-ff .sf-kopf .bw-filter { display: none; }
/* etwas größer als die Leiste im Fensterkopf – bequem auf dem Bild zu treffen */
.lb-filterfenster { gap: 0; padding: 8px 14px 8px 4px; border-radius: 16px; align-items: stretch; transition: padding .42s cubic-bezier(.22, .8, .24, 1); }
/* „Blende“: senkrechter Schriftzug (Schrift des Jackie-Logos) – Griff, Klick rollt ein, Überfahren rollt auf */
.lb-ff-label { flex: none; display: flex; flex-direction: column-reverse; align-items: center; justify-content: center; gap: 8px; width: 34px; padding: 6px 0; margin-right: 10px;
    border-radius: 11px; cursor: grab; user-select: none; color: #F3F2EF; transition: background .2s, margin .42s cubic-bezier(.22, .8, .24, 1); }
.lb-ff-label:hover { background: rgba(229, 53, 43, .14); }
.lb-ff-label:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.lb-ff-wort { writing-mode: vertical-rl; transform: rotate(180deg); font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: .02em; line-height: 1; white-space: nowrap; }
.lb-ff-herz { width: 13px; height: 12px; flex: none; transition: transform .3s; }
.lb-ff-label:hover .lb-ff-herz { transform: scale(1.18); }
.zieht .lb-ff-label { cursor: grabbing; }
/* Rollo: die Inhalte laufen von links nach rechts auf – sichtbar, aber ruhig (0,42 s, weich abbremsend) */
.lb-ff-rolle { min-width: 0; overflow: hidden; }
.schwebe-quer .lb-ff-rolle { max-width: var(--rolle-w, 2000px); transition: max-width .42s cubic-bezier(.22, .8, .24, 1); }
.lb-ff-rolle > .lb-ff-inhalt { width: max-content; transition: opacity .3s ease .08s, transform .42s cubic-bezier(.22, .8, .24, 1); }
.lb-filterfenster.zu { padding-right: 4px; }
.lb-filterfenster.zu .lb-ff-label { margin-right: 0; }
.schwebe-quer.zu .lb-ff-rolle { max-width: 0; }
.lb-filterfenster.zu .lb-ff-rolle > .lb-ff-inhalt { opacity: 0; transform: translateX(-14px); transition: opacity .18s ease, transform .42s cubic-bezier(.22, .8, .24, 1); }
@media (prefers-reduced-motion: reduce) { .lb-filterfenster, .lb-ff-rolle, .lb-ff-rolle > .lb-ff-inhalt, .lb-ff-label { transition: none !important; } }
.lb-filterfenster .lbv-filter { gap: 6px; font-size: 1rem; }
.lb-filterfenster .lbv-f-titel { font-size: .95rem; }
.lb-filterfenster .lbv-f-op { min-width: 30px; height: 28px; font-size: 1rem; }
.lb-filterfenster .lbv-f-herz { width: 22px; height: 22px; }
.lb-filterfenster .lbv-f-farbe { width: 19px; height: 19px; }
.lb-filterfenster .lbv-f-luecke { width: 8px; }
.lb-filterfenster .lbv-f-rej { font-size: 1.25rem; }
.lb-filterfenster .lbv-f-zahl { font-size: .9rem; }
.lightbox.bw-leer #lbImg, .lightbox.bw-leer video { opacity: .12; }
.lightbox.bw-leer .lb-prev, .lightbox.bw-leer .lb-next { display: none; }
@media (max-width: 900px) {
    .mit-kopf .lightbox { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
    .mit-kopf .lightbox #lbImg, .mit-kopf .lightbox video { max-width: 100%; max-height: 58vh; }
    .mit-kopf .lightbox .lb-prev, .mit-kopf .lightbox .lb-next { top: 30%; }
    .mit-kopf .lightbox-caption { grid-column: 1; grid-row: 2; border-left: 0; border-top: 1px solid var(--border); padding: 16px 18px 22px; max-height: 40vh; }
    .mit-kopf .lightbox .lb-close, .mit-kopf .lightbox .lb-next { right: 20px; }
}

/* ---------- Preise ----------
   Höchstens vier Karten je Reihe, über die volle Breite. Jede Karte hat dieselbe Zeilenfolge (Titel, Text, Hinweis,
   Gewerbepreis, Privatpreis); per Subgrid sind diese Zeilen über alle Karten einer Reihe auf gleicher Höhe –
   zusätzliche Staffelzeilen („ab 5 Stück“) verschieben nichts. */
.preise h2 { margin: 40px 0 16px; }
.preis-karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(max(min(100%, 280px), calc((100% - 3 * 16px) / 4)), 1fr)); column-gap: 16px; row-gap: 16px; }
.preis-karte { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px 22px 8px; display: grid; grid-row: span 5; grid-template-rows: subgrid; row-gap: 0; }
.preis-karte h3 { margin: 0 0 6px; font-size: 1.2rem; }
.preis-karte .preis-text { color: var(--text-muted); font-size: .93rem; margin: 0 0 10px; }
.preis-karte .preis-hinweis { color: var(--warning); font-size: .8rem; font-weight: 600; margin: 0 0 12px; }
.preis-karte .preis-hinweis:empty { margin: 0; }
.preis-block { display: flex; flex-direction: column; justify-content: flex-start; }
.preis-zeile { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 12px 0; border-top: 1px solid var(--border); }
.preis-art { display: block; font-weight: 600; font-size: .92rem; }
.preis-gruppe { display: block; color: var(--text-subtle); font-size: .8rem; }
.preis-betrag { flex: none; text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
.preis-betrag strong { white-space: nowrap; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.1; }
.preis-betrag small { color: var(--text-subtle); font-size: .78rem; white-space: nowrap; }
.preis-staffel { margin-top: 2px; }
.preis-liste { color: var(--text-muted); padding-left: 20px; }
/* Größere Pakete: Hinweis über die volle Breite des Rasters, Inhalt mittig */
.preis-anfrage { margin: 24px 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 18px; padding: 20px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: 16px; text-align: center; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.preis-anfrage .filter-btn { font-family: var(--font-sans); font-size: .95rem; }
@supports not (grid-template-rows: subgrid) { .preis-karte { display: flex; flex-direction: column; } .preis-karte .preis-hinweis + .preis-block { margin-top: auto; } }

/* Fußzeile auf Seiten mit Kopfzeile am Seitenende statt schwebend */
.mit-kopf .footer { position: static; margin-top: 24px; }
/* Footer immer am unteren Fensterrand, auch bei wenig Inhalt (Inhalt füllt die Höhe, der Footer folgt darunter) */
body.mit-kopf { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body.mit-kopf > main { flex: 1 0 auto; width: 100%; box-sizing: border-box; }
body.mit-kopf > .footer { flex: 0 0 auto; }

/* Vorteile unter dem Titelbereich */
.vorteile { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0 calc(var(--rand) * -1); background: var(--border); border-bottom: 1px solid var(--border); }
.vorteile > div { background: var(--bg); padding: 22px var(--rand); display: flex; flex-direction: column; gap: 4px; }
.vorteile strong { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; }
.vorteile span { color: var(--text-muted); font-size: .93rem; line-height: 1.5; }
.vorteile a { color: var(--text); font-weight: 600; white-space: nowrap; }
@media (max-width: 900px) { .vorteile { grid-template-columns: 1fr; } .vorteile > div { padding: 16px var(--rand); } }

/* Neu im Bildangebot: Aufteilung nach Anzahl */
.ek-bento.n1 { grid-template-columns: 1fr; grid-auto-rows: clamp(300px, 32vw, 600px); }
.ek-bento.n1 .ek-gross, .ek-bento.n2 .ek-gross { grid-column: auto; grid-row: auto; }
.ek-bento.n2 { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(300px, 30vw, 560px); }
.ek-bento.n3 > .ek:not(.ek-gross), .ek-bento.n4 > .ek:nth-child(2) { grid-column: span 2; }
@media (max-width: 1200px) { .ek-bento.n3 > .ek:not(.ek-gross), .ek-bento.n4 > .ek:nth-child(2) { grid-column: auto; } }
@media (max-width: 640px) { .ek-bento.n1, .ek-bento.n2 { grid-template-columns: 1fr; grid-auto-rows: auto; } }

@media (max-width: 640px) { .held h1 br:nth-of-type(2) { display: none; } }   /* auf dem Handy natürlicher Umbruch */

/* Filmstreifen unten in der Großansicht – über die ganze Breite, links/rechts scrollbar */
:root { --streifen-h: 104px; }
.mit-kopf .lightbox.mit-streifen { grid-template-rows: minmax(0, 1fr) var(--streifen-h); }
.mit-kopf .lightbox.mit-streifen #lbImg, .mit-kopf .lightbox.mit-streifen video { max-height: calc(100vh - var(--streifen-h) - 50px); }
.mit-kopf .lightbox.mit-streifen .lb-prev, .mit-kopf .lightbox.mit-streifen .lb-next { top: calc((100vh - var(--streifen-h)) / 2); }
.lb-streifen { grid-column: 1 / -1; grid-row: 2; align-self: stretch; justify-self: stretch; position: relative; display: flex; align-items: center; min-width: 0;
    background: #050607; border-top: 1px solid var(--border); }
.lb-s-bahn { flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; gap: 12px; padding: 0 16px; scrollbar-width: none; overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; overscroll-behavior: contain; }
.lb-s-bahn button { flex: none; height: 76px; aspect-ratio: 3 / 2; padding: 0; border: 0; border-radius: 4px; overflow: hidden; background: var(--surface-raised); cursor: pointer; opacity: .5; transition: opacity .25s, transform .3s cubic-bezier(.25, 1, .5, 1); position: relative; }
.lb-s-bahn button img { width: 100%; height: 100%; object-fit: cover; display: block; box-shadow: none; max-width: none; max-height: none; }
.lb-s-bahn button:hover { opacity: .9; }
.lb-s-bahn::-webkit-scrollbar { display: none; }
/* Ausgewähltes Bild: leicht vergrößert, unter dem feststehenden Auswahlrahmen in der Mitte */
.lb-s-bahn button.akt { opacity: 1; transform: scale(1.14); z-index: 1; }
.lb-streifen::after { content: ""; position: absolute; left: 50%; top: 50%; width: calc(76px * 1.5 * 1.14 + 8px); height: calc(76px * 1.14 + 8px); transform: translate(-50%, -50%);
    border: 2px solid var(--text); border-radius: 7px; pointer-events: none; z-index: 3; box-shadow: 0 0 0 9999px transparent; }
.lb-s-bahn button.vid::after { content: "▶"; position: absolute; left: 5px; bottom: 3px; font-size: .7rem; color: #fff; text-shadow: 0 0 4px #000; }
.lb-s-links, .lb-s-rechts { position: absolute; top: 0; bottom: 0; z-index: 2; width: 56px; border: 0; cursor: pointer; color: #fff; font-size: 1.4rem; }
.lb-s-links { left: 0; background: linear-gradient(90deg, #050607 35%, transparent); }
.lb-s-rechts { right: 0; background: linear-gradient(270deg, #050607 35%, transparent); }
.lb-s-links::before { content: "‹"; } .lb-s-rechts::before { content: "›"; }
.lb-s-links[hidden], .lb-s-rechts[hidden] { display: none; }
@media (max-width: 900px) {
    :root { --streifen-h: 72px; }
    .mit-kopf .lightbox.mit-streifen { grid-template-rows: minmax(0, 1fr) auto var(--streifen-h); }
    .mit-kopf .lightbox.mit-streifen .lightbox-caption { grid-row: 2; }
    .lb-streifen { grid-row: 3; }
    .lb-s-bahn button { height: 52px; }
    .lb-streifen::after { width: calc(52px * 1.5 * 1.14 + 8px); height: calc(52px * 1.14 + 8px); }
    .lb-s-links, .lb-s-rechts { display: none; }
    .mit-kopf .lightbox.mit-streifen .lb-prev, .mit-kopf .lightbox.mit-streifen .lb-next { top: 28%; }
}

/* Live-Suche: Treffer werden ausgetauscht */
.such-ergebnis { transition: opacity .2s; }
.such-ergebnis.laedt { opacity: .55; }

/* ---------- Zoom der Übersicht (50–200 %, Mitte = 100 %) ---------- */
.zoom-regler { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.zoom-bahn { position: relative; display: block; width: 150px; height: 20px; }
.zoom-bahn::before { content: ""; position: absolute; left: 50%; top: 2px; bottom: 2px; width: 1px; background: var(--border-strong); pointer-events: none; }   /* Markierung 100 % */
.zoom-bahn input { -webkit-appearance: none; appearance: none; width: 100%; height: 20px; margin: 0; background: transparent; cursor: pointer; position: relative; }
.zoom-bahn input::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: var(--border-strong); }
.zoom-bahn input::-moz-range-track { height: 4px; border-radius: 2px; background: var(--border-strong); }
.zoom-bahn input::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6px; border-radius: 50%; background: var(--text); border: 3px solid var(--brand); box-shadow: 0 1px 4px rgba(0,0,0,.4); }
.zoom-bahn input::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--text); border: 3px solid var(--brand); }
.zoom-bahn input:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 4px; }
.zoom-wert { position: absolute; bottom: calc(100% + 8px); left: var(--pos, 50%); transform: translateX(-50%); padding: 3px 8px; border-radius: 6px; background: #1E2126; border: 1px solid #3D424A; border-top: 2px solid #E5352B;
    color: #F3F2EF; font-size: .78rem; font-weight: 600; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .12s; z-index: 20; font-variant-numeric: tabular-nums; }
.zoom-regler.aktiv .zoom-wert { opacity: 0; }   /* Wert erscheint projektweit am Mauszeiger (js/tipp.js) */
@media (max-width: 640px) { .zoom-bahn { width: 110px; } }
@media (hover: none) and (max-width: 640px) { .zoom-regler { display: none; } }

/* ---------- Szenen: Auswahl (je Szene das stärkste Foto) und Vorschaufenster „Weitere Varianten“ ---------- */
.mosaik.auswahl .mk-variante { display: none; }
.umschalter.szenen .zahl { font-size: .78rem; color: var(--text-subtle); margin-left: 2px; font-variant-numeric: tabular-nums; }
.umschalter.szenen button[aria-pressed="true"] .zahl { color: var(--text-muted); }
.mk-var { position: absolute; right: 8px; bottom: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border: 0; border-radius: var(--radius-pill);
    background: rgba(14,15,18,.72); backdrop-filter: blur(6px); color: #fff; font: 600 .74rem/1 var(--font-sans); cursor: pointer; transition: background .15s, opacity .15s; }
.mk-var-i { width: 13px; height: 11px; position: relative; }
.mk-var-i::before, .mk-var-i::after { content: ""; position: absolute; border: 1.5px solid currentColor; border-radius: 2px; width: 9px; height: 7px; }
.mk-var-i::before { right: 0; top: 0; opacity: .6; } .mk-var-i::after { left: 0; bottom: 0; background: rgba(14,15,18,.9); }
.mk-var:hover, .mk.var-offen .mk-var { background: var(--brand-action); }
.mk:hover .mk-var { opacity: 1; }
.mk-szene .mk-info { padding-right: 76px; }
.var-box { position: absolute; z-index: 60; width: max-content; max-width: min(600px, calc(100vw - 16px)); padding: 12px; border-radius: 12px; background: #1E2126; border: 1px solid #3D424A; border-top: 2px solid #E5352B;
    box-shadow: 0 18px 50px rgba(0,0,0,.6); opacity: 0; transform: translateY(4px); transition: opacity .14s, transform .14s; }
.var-box.an { opacity: 1; transform: none; }
.var-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 10px; font-size: .86rem; color: var(--text); }
.var-raster { display: flex; flex-wrap: wrap; gap: 6px; max-height: 340px; overflow: auto; }
.var-bild { all: unset; position: relative; width: 112px; aspect-ratio: 3 / 2; flex: none; border-radius: 6px; overflow: hidden; cursor: pointer; background: #08090B; outline: 2px solid transparent; transition: outline-color .12s; }
.var-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.var-bild:hover, .var-bild:focus-visible { outline-color: var(--brand); }
.var-bild.ist::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 2px rgba(255,255,255,.85); border-radius: 6px; }
.var-alle { display: inline-block; margin-top: 10px; font-size: .86rem; color: var(--brand-text); text-decoration: none; }
.var-alle:hover { text-decoration: underline; }
@media (hover: none) { .mk-var { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .var-box { transition: none; transform: none; } }

/* ---------- Suche: Treffer nach Terminen gebündelt ---------- */
.termine { display: flex; flex-direction: column; gap: 34px; }
.termin-kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.termin-titel { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; color: var(--text); text-decoration: none; }
.termin-titel:hover { color: var(--brand-text); }
.termin-meta { color: var(--text-muted); font-size: .88rem; }
.termin-alle { margin-left: auto; font-size: .88rem; color: var(--brand-text); text-decoration: none; white-space: nowrap; }
.termin-alle:hover, .termin-mehr:hover { text-decoration: underline; }
.termin-mehr { display: inline-block; margin-top: 10px; font-size: .9rem; color: var(--text-muted); text-decoration: none; }
.blaettern.oben { justify-content: flex-start; margin: 0 0 18px; }
.filterleiste.live .filter-senden { display: none; }

/* Orte als Filter: unauffällig, beim Überfahren unterstrichen */
.ort-link { color: inherit; text-decoration: none; cursor: pointer; border-radius: 3px; }
.ort-link:hover, .ort-link:focus-visible { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ort-link:focus-visible { outline: 2px solid var(--brand, #e5312b); outline-offset: 2px; }
.ek-ort .ort-link:hover { color: #fff; }
/* Preisangaben: Privatpreis (inkl. USt.) leicht größer; Hinweis auf größere Pakete mittig */
.preis-zeile.preis-privat .preis-betrag strong { font-size: 1.62rem; }
.preis-zeile.preis-privat .preis-art { font-size: 1.04em; }
/* Preise in der Großansicht: wie auf der Preisseite */
.lightbox-info .lb-preise { display: flex; flex-direction: column; margin-top: 10px; border-top: 1px solid var(--border); }
.lb-preis { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.lb-preis-art { font-weight: 600; color: var(--text); font-size: .9rem; line-height: 1.3; }
.lb-preis-wert { display: flex; flex-direction: column; align-items: flex-end; text-align: right; flex: none; }
.lb-preis-wert strong { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.15; color: var(--text); white-space: nowrap; }
.lb-preis-privat .lb-preis-wert strong { font-size: 1.36rem; }
.lb-preis-wert small { color: var(--text-subtle); font-size: .76rem; }

/* Lightbox: Kernangaben und aufklappbare Bildunterschrift */
#lbCap .lb-cap-text { display: block; }
#lbCap.lb-cap-zu .lb-cap-text { display: -webkit-box; -webkit-line-clamp: 5; line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.lb-cap-mehr { display: inline-block; margin-top: 6px; padding: 0; background: none; border: 0; color: rgba(255,255,255,.62); font: inherit; font-size: .82rem; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lb-cap-mehr:hover, .lb-cap-mehr:focus-visible { color: #fff; }
.lb-meta { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 2px 0 6px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); font-size: .9rem; width: 100%; }
.lb-meta dt { color: rgba(255,255,255,.5); }
.lb-meta dd { margin: 0; color: rgba(255,255,255,.9); }
.lb-meta a { color: inherit; }

/* Medium liegt bereits im Warenkorb: grüner Rahmen, grüner Haken, Weg zum Warenkorb */
.lb-korb.drin, .mit-kopf .lb-korb.drin { background: var(--success-soft); color: var(--success); box-shadow: inset 0 0 0 2px var(--success); }
.lb-korb.drin:hover, .lb-korb.drin:focus-visible { background: var(--surface-raised); color: var(--text); box-shadow: inset 0 0 0 2px var(--success); }
#lbInfo .lb-zum-korb, .lb-zum-korb { order: 11; align-self: center; margin-top: 2px; color: var(--success); font-size: .9rem; font-weight: 600; text-decoration: none; }
#lbInfo .lb-zum-korb:hover, #lbInfo .lb-zum-korb:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.lb-zum-korb[hidden] { display: none; }
.mk-korb.drin { background: var(--success); }

/* ---------- Lightbox (Merkliste) ---------- */
.kopf-lb-icon { width: 21px; height: 21px; background: var(--text); -webkit-mask: var(--icon-lb) center/contain no-repeat; mask: var(--icon-lb) center/contain no-repeat; }
.kopf-lb:not(.leer) .kopf-lb-icon { -webkit-mask-image: var(--icon-lb-voll); mask-image: var(--icon-lb-voll); }
.kopf-lb b { background: var(--surface-raised); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong); }
/* Kachel: Lightbox-Knopf links neben dem Warenkorb-Knopf */
.mk-lb { position: absolute; top: 8px; right: 48px; width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(14,15,18,.72); backdrop-filter: blur(6px);
    display: grid; place-items: center; opacity: 0; transition: opacity .15s, background .15s, transform .15s; }
.mk-lb::before { content: ""; width: 17px; height: 17px; background: #fff; -webkit-mask: var(--icon-lb) center/contain no-repeat; mask: var(--icon-lb) center/contain no-repeat; }
.mk:hover .mk-lb, .mk:focus-within .mk-lb, .mk-lb.drin { opacity: 1; }
.mk-lb:hover { background: var(--surface-raised); transform: scale(1.06); }
.mk-lb.drin { background: #fff; }
.mk-lb.drin::before { background: var(--bg); -webkit-mask-image: var(--icon-lb-voll); mask-image: var(--icon-lb-voll); }
@media (hover: none) { .mk-lb, .mk-korb { opacity: 1; } }
/* Großansicht: zweiter Knopf „In die Lightbox“ unter dem Warenkorb */
.lb-merken { order: 12; width: 100%; padding: 10px 18px; font: inherit; font-size: .95rem; font-weight: 600; cursor: pointer; border-radius: 10px;
    color: var(--text); background: transparent; border: 0; box-shadow: inset 0 0 0 1px var(--border-strong); }
.lb-merken:hover, .lb-merken:focus-visible { background: var(--surface-raised); }
.lb-merken.drin { box-shadow: inset 0 0 0 2px var(--text); }
/* Seite */
.lb-seite .lead { max-width: 760px; }
.lb-hinweis { color: var(--text-muted); font-size: .92rem; margin: -6px 0 18px; }
.lb-hinweis a { color: var(--text); }
.lb-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 14px; }
.lb-tab { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--radius-pill); background: var(--surface); color: var(--text-muted);
    text-decoration: none; font: inherit; font-size: .92rem; font-weight: 600; border: 0; box-shadow: inset 0 0 0 1px var(--border); cursor: pointer; }
.lb-tab span { color: var(--text-subtle); font-weight: 500; }
.lb-tab:hover { color: var(--text); background: var(--surface-raised); }
.lb-tab[aria-current] { color: var(--text); box-shadow: inset 0 0 0 2px var(--brand-action); }
.lb-tab-frei { width: 14px; height: 14px; background: var(--success); -webkit-mask: var(--icon-haken) center/contain no-repeat; mask: var(--icon-haken) center/contain no-repeat; }
.lb-tab-neu { color: var(--text); background: transparent; box-shadow: inset 0 0 0 1px var(--border-strong); }
.lb-werkzeug { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 18px; padding: 14px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.lb-titelzeile { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.lb-name { margin: 0; font-size: 1.3rem; }
.lb-zahl { color: var(--text-muted); }
.lb-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; }
.lb-knoepfe .filter-btn[disabled] { opacity: .45; cursor: default; }
.lb-korb-alle { background: var(--brand-action); color: var(--on-brand); box-shadow: none; }
.lb-loeschen.bestaetigen { background: var(--brand-action); color: var(--on-brand); }
.lb-freigabe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 14px 16px; margin: -4px 0 18px; border-radius: 14px; background: var(--success-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--success) 45%, transparent); }
.lb-freigabe[hidden] { display: none; }
.lb-freigabe-titel { font-weight: 600; color: var(--success); }
.lb-freigabe input { flex: 1 1 320px; min-width: 0; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); font: inherit; font-size: .9rem; }
.lb-freigabe small { flex-basis: 100%; color: var(--text-muted); font-size: .82rem; }
.lb-eingabe { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin: 0 0 16px; padding: 14px 16px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.lb-eingabe label { display: flex; flex-direction: column; gap: 6px; flex: 1 1 280px; color: var(--text-muted); font-size: .88rem; }
.lb-eingabe input { padding: 9px 12px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); font: inherit; }
.lb-leer { color: var(--text-muted); padding: 30px 0; }
.lb-leer[hidden] { display: none; }
.lb-toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 12px); z-index: 1200; max-width: min(560px, calc(100vw - 32px)); padding: 12px 18px; border-radius: 12px;
    background: var(--surface-raised); color: var(--text); box-shadow: 0 12px 40px rgba(0,0,0,.5), inset 0 0 0 1px var(--border-strong); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.lb-toast.an { opacity: 1; transform: translate(-50%, 0); }
.lb-toast.fehler { color: #ff8a80; }

/* ---------- Lightbox: Arbeitsfläche (füllt das Fenster unter der Kopfzeile) ---------- */
.lb-body main.voll { padding: 0; }
.lb-arbeit { --hzon: url("../grafiken/herzbewertung/herz-gewaehlt-dark-mode.svg"); --hzoff: url("../grafiken/herzbewertung/herz-nicht-gewaehlt-dark-mode.svg");
    --st-h: clamp(62px, 10.5vh, 118px);   /* Filmstreifen wächst mit dem Fenster – im festen Verhältnis zu den Fotos */
    display: flex; flex-direction: column; height: calc(100vh - var(--kopf-h)); height: calc(100dvh - var(--kopf-h)); min-height: 460px; padding: 0 var(--rand) 12px; box-sizing: border-box; background: var(--bg); }
.lb-arbeit:fullscreen { height: 100vh; padding-top: 10px; }
.lb-kopfzeile { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.lb-h1 { margin: 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.lb-zahl { color: var(--text-muted); font-size: .9rem; }
.lb-konto-link { color: var(--text-muted); font-size: .85rem; text-decoration: none; }
.lb-konto-link:hover { color: var(--text); }
.lb-box-wahl select { font: inherit; font-size: .9rem; font-weight: 600; color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); padding: 6px 30px 6px 12px; max-width: 280px; }
.lb-ikon { width: 32px; height: 32px; border-radius: 50%; border: 0; cursor: pointer; background: var(--surface); color: var(--text-muted); font: inherit; font-size: .95rem; box-shadow: inset 0 0 0 1px var(--border); }
.lb-ikon:hover { color: var(--text); background: var(--surface-raised); }
.lb-loeschen.bestaetigen { width: auto; padding: 0 12px; background: var(--brand-action); color: var(--on-brand); font-size: .85rem; }
.lb-knoepfe { display: flex; gap: 8px; margin-left: auto; }
.lb-knoepfe .filter-btn { padding: 7px 14px; font-size: .9rem; }
.lb-knoepfe .filter-btn[disabled] { opacity: .45; cursor: default; }
.lb-korb-alle { background: var(--brand-action); color: var(--on-brand); box-shadow: none; }
.lb-freigabe { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 10px 14px; margin: 10px 0 0; border-radius: 12px; background: var(--success-soft); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--success) 45%, transparent); }
.lb-freigabe[hidden] { display: none; }
.lb-freigabe-titel { font-weight: 600; color: var(--success); }
.lb-freigabe input { flex: 1 1 320px; min-width: 0; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); font: inherit; font-size: .9rem; }
.lb-freigabe small { flex: 1 1 100%; color: var(--text-muted); font-size: .8rem; order: 5; }
.lb-freigabe-zu { width: 26px; height: 26px; font-size: .8rem; background: transparent; box-shadow: none; }
.lb-eingabe { flex: none; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; margin: 10px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.lb-eingabe label { display: flex; flex-direction: column; gap: 6px; flex: 1 1 280px; color: var(--text-muted); font-size: .88rem; }
.lb-eingabe input { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--bg); color: var(--text); font: inherit; }
.lb-leer { color: var(--text-muted); padding: 30px 0; }
.lb-leer[hidden] { display: none; }
.lb-toast { position: fixed; left: 50%; bottom: 84px; transform: translate(-50%, 12px); z-index: 1200; max-width: min(560px, calc(100vw - 32px)); padding: 10px 16px; border-radius: 12px;
    background: var(--surface-raised); color: var(--text); box-shadow: 0 12px 40px rgba(0,0,0,.5), inset 0 0 0 1px var(--border-strong); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.lb-toast.an { opacity: 1; transform: translate(-50%, 0); }
.lb-toast.fehler { color: #ff8a80; }
/* Leiste: Ansicht, Filter, Größe, Vollbild */
.lbv-kbd { display: inline-block; min-width: 1.35em; padding: 0 .3em; margin-left: 6px; border-radius: 4px; font: 600 .7rem/1.45 var(--font-sans); text-align: center; color: var(--text-muted);
    background: var(--bg); box-shadow: inset 0 -1px 0 var(--border-strong), 0 0 0 1px var(--border-strong); }
.lbv-umschalter { display: inline-flex; padding: 3px; border-radius: var(--radius-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.lbv-umschalter button { display: inline-flex; align-items: center; font: inherit; font-size: .88rem; font-weight: 600; color: var(--text-muted); background: none; border: 0; padding: 6px 12px; border-radius: var(--radius-pill); cursor: pointer; }
.lbv-umschalter button:hover { color: var(--text); }
.lbv-umschalter button.an { color: var(--text); background: var(--surface-raised); box-shadow: inset 0 -2px 0 var(--brand); }
.lbv-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 5px 12px; border-radius: var(--radius-pill); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
.lbv-f-titel { color: var(--text-muted); font-size: .82rem; margin-right: 4px; }
.lbv-filter button { font: inherit; cursor: pointer; border: 0; background: none; color: var(--text-muted); }
.lbv-f-op { min-width: 24px; height: 22px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--border-strong) !important; color: var(--text) !important; }
.lbv-f-herz { width: 17px; height: 17px; padding: 0; background: var(--hzoff) center/contain no-repeat !important; transition: transform .1s; }
.lbv-f-herz.an { background-image: var(--hzon) !important; }
.lbv-f-herz:hover { transform: scale(1.18); }
.lbv-f-luecke { width: 6px; }
.lbv-f-farbe { width: 15px; height: 15px; border-radius: 50%; opacity: .55; box-sizing: border-box; border: 2px solid transparent !important; padding: 0; }
.lbv-f-farbe.an { opacity: 1; border-color: #fff !important; }
.lbv-f-rej { font-size: 1rem; }
.lbv-f-rej.an { color: var(--warning) !important; }
.lbv-f-rej.ohne { color: var(--text-subtle) !important; text-decoration: line-through; }
.lbv-f-zahl { color: var(--text-muted); font-size: .8rem; margin-left: 6px; }
.lbv-f-weg { color: var(--text) !important; }
.lbv-zoom { display: inline-flex; align-items: center; gap: 6px; }
.lbv-zoom[hidden] { display: none; }
.lbv-zoom .zoom-bahn { width: 130px; }
.lbv-voll { display: inline-flex; align-items: center; font: inherit; font-size: .88rem; font-weight: 600; color: var(--text-muted); background: none; border: 0; cursor: pointer; padding: 6px 4px; }
.lbv-voll:hover, .lbv-voll.an { color: var(--text); }
/* Fläche */
.lbv-flaeche { position: relative; flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; padding-top: 12px; }
.lbv-einzel, .lbv-vergleich { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; gap: 10px; }
.lbv-stage { flex: 1 1 auto; min-height: 0; display: grid; gap: 14px; }
.lbv-stage.zwei { grid-template-columns: 1fr 1fr; }
.lbv-buehne { min-width: 0; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 8px; }
.lbv-bild { position: relative; min-height: 0; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: #050608; overflow: hidden; }
.lbv-foto { position: relative; line-height: 0; }
.lbv-foto img { display: block; max-width: var(--bw, 100%); max-height: var(--bh, 60vh); width: auto; height: auto; }
.lbv-foto.farbig img { outline: 4px solid var(--fc); outline-offset: -4px; }
.lbv-foto.abgelehnt img { opacity: .4; }
/* Vergleich: fixiertes Foto Jackie-rot, Vergleichsfoto grau – der Rahmen sitzt eng am Foto */
.lbv-buehne.fest .lbv-foto img { outline: 4px solid var(--brand-action); outline-offset: -4px; }
.lbv-buehne.kand .lbv-foto img { outline: 4px solid #7a7f88; outline-offset: -4px; cursor: pointer; }
.lbv-flash { position: absolute; left: 50%; bottom: 20%; transform: translateX(-50%); padding: 12px 30px; border-radius: var(--radius-pill); background: rgba(14, 15, 18, .8); color: #fff;
    font: 600 clamp(1.3rem, 2.2vw, 2rem)/1.2 var(--font-display); letter-spacing: .02em; pointer-events: none; animation: lbv-flash 1.4s ease forwards; box-shadow: 0 0 0 2px var(--brand-action); }
@keyframes lbv-flash { 0% { opacity: 0; transform: translate(-50%, 6px); } 15%, 70% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; } }
.lbv-hinweis { position: absolute; left: 50%; top: 36%; transform: translateX(-50%); z-index: 5; padding: 10px 18px; border-radius: 12px; background: rgba(14, 15, 18, .85); color: #fff; font-size: 1rem; pointer-events: none; animation: lbv-flash 2.6s ease forwards; }
.lbv-hinweis .lbv-kbd { margin: 0 2px; font-size: .85rem; color: #fff; }
.lbv-info { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 34px; }
.lbv-nr { color: var(--text-muted); font-size: .82rem; flex: none; }
.lbv-cap { flex: 1 1 auto; min-width: 0; color: var(--text-muted); font-size: .85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lbv-korb { flex: none; font: inherit; font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: var(--radius-pill); border: 0; cursor: pointer; background: var(--brand-action); color: var(--on-brand); }
.lbv-korb.drin { background: var(--success-soft); color: var(--success); box-shadow: inset 0 0 0 2px var(--success); }
/* Herzen und Farbe */
.lbv-herzen { display: inline-flex; align-items: center; gap: 1px; flex: none; }
.lbv-herz { display: inline-block; width: 16px; height: 15px; padding: 0 1px; border: 0; background: var(--hzoff) center/contain no-repeat; background-origin: content-box; cursor: pointer; transition: transform .1s; box-sizing: content-box; }
span.lbv-herz { cursor: default; }
.lbv-herz.an { background-image: var(--hzon); }
button.lbv-herz:hover { transform: scale(1.18); }
.lbv-x { color: var(--warning); font-weight: 700; background: none; border: 0; cursor: pointer; font: inherit; }
.lbv-farbe { width: 15px; height: 15px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: transparent; box-shadow: inset 0 0 0 2px var(--border-strong); flex: none; }
span.lbv-farbe { cursor: default; }
.lbv-farbe.an { background: var(--fc); box-shadow: none; }
.lbv-weg { flex: none; width: 24px; height: 24px; border-radius: 50%; border: 0; cursor: pointer; background: transparent; color: var(--text-subtle); font: inherit; font-size: .8rem; }
.lbv-weg:hover { background: var(--surface-raised); color: var(--text); }
/* Übersicht */
.lbv-raster { flex: 1 1 auto; min-height: 0; overflow: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--kachel, 230px), 1fr)); align-content: start; gap: 12px; padding: 4px 4px 12px; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
.lbv-k { margin: 0; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); padding: 6px; cursor: pointer; outline: none; transition: box-shadow .12s, transform .12s; }
.lbv-k.farbig { box-shadow: inset 0 0 0 4px var(--fc); }
.lbv-k.cur { box-shadow: inset 0 0 0 1px var(--border), 0 0 0 2px var(--text); }
.lbv-k.farbig.cur { box-shadow: inset 0 0 0 4px var(--fc), 0 0 0 2px var(--text); }
.lbv-k.abgelehnt .lbv-k-bild img { opacity: .35; }
.lbv-k.zieht { opacity: .4; }
.lbv-k.ziel-vor { transform: translateX(6px); box-shadow: -4px 0 0 var(--brand-action); }
.lbv-k.ziel-nach { transform: translateX(-6px); box-shadow: 4px 0 0 var(--brand-action); }
.lbv-k-bild { aspect-ratio: 3 / 2; display: grid; place-items: center; background: var(--bg); border-radius: 8px; overflow: hidden; }
.lbv-k-bild img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.lbv-k-fuss { display: flex; align-items: center; gap: 8px; padding: 8px 4px 2px; }
.lbv-k-nr { color: var(--text-subtle); font-size: .75rem; margin-right: auto; }
/* Filmstreifen: wandert durch den festen Rahmen in der Mitte; Höhe wächst mit dem Fenster */
.lbv-streifen { flex: none; height: var(--st-h); background: var(--surface); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--border); padding: 8px 0; box-sizing: border-box; transition: box-shadow .15s; }
.lbv-streifen.fokus { box-shadow: inset 0 0 0 1px var(--border-strong); }
.lbv-vergleich .lbv-streifen.fokus { box-shadow: inset 0 0 0 2px #7a7f88; }
.lbv-bahn { position: relative; height: 100%; overflow: hidden; }
.lbv-spur { display: flex; align-items: center; gap: 10px; height: 100%; transition: transform .14s cubic-bezier(.25, .1, .25, 1); will-change: transform; }
.lbv-rahmen { position: absolute; top: 50%; left: 50%; width: calc((var(--st-h) - 22px) * 1.5 + 10px); height: calc(var(--st-h) - 22px + 10px); transform: translate(-50%, -50%);
    border-radius: 9px; box-shadow: 0 0 0 2px #fff; pointer-events: none; }
.lbv-vergleich .lbv-rahmen { box-shadow: 0 0 0 2px #7a7f88; }
.lbv-st { flex: none; position: relative; height: calc(var(--st-h) - 22px); aspect-ratio: 3 / 2; padding: 0; border: 0; border-radius: 6px; overflow: hidden; cursor: pointer; background: var(--bg); opacity: .55; transition: opacity .12s; }
.lbv-st img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lbv-st.farbig::after { content: ""; position: absolute; inset: 0; border-radius: 6px; box-shadow: inset 0 0 0 3px var(--fc); }
.lbv-st:hover { opacity: .85; }
.lbv-st.mitte { opacity: 1; }
.lbv-st.fest { opacity: 1; outline: 3px solid var(--brand-action); outline-offset: -3px; }
.lbv-st.abgelehnt img { opacity: .35; }
.lbv-st-h { position: absolute; right: 4px; bottom: 2px; font-size: .6rem; color: var(--brand); text-shadow: 0 1px 2px rgba(0,0,0,.8); letter-spacing: -1px; }
/* Vergleich: aktiver Bereich (Pfeil hoch/runter) */
.lbv-buehne.aktiv .lbv-bild { box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); }
.lbv-leer { color: var(--text-muted); padding: 30px 0; }
@media (max-width: 760px) {
    .lb-arbeit { height: auto; min-height: 0; }
    .lbv-stage.zwei { grid-template-columns: 1fr; }
    .lbv-bild { height: 52vh; }
    .lb-knoepfe { margin-left: 0; }
}

/* ---------- Bewertung im ganzen Shop (Herzen, Farbe) ---------- */
:root { --hzon: url("../grafiken/herzbewertung/herz-gewaehlt-dark-mode.svg"); --hzoff: url("../grafiken/herzbewertung/herz-nicht-gewaehlt-dark-mode.svg"); }
.bw-leiste { display: inline-flex; align-items: center; gap: 8px; }
.bw-herzen { display: inline-flex; align-items: center; gap: 1px; }
.bw-herz { display: inline-block; width: 16px; height: 15px; padding: 0 1px; border: 0; background: var(--hzoff) center/contain no-repeat; background-origin: content-box; box-sizing: content-box; cursor: pointer; transition: transform .1s; }
span.bw-herz { cursor: default; }
.bw-herz.an { background-image: var(--hzon); }
button.bw-herz:hover { transform: scale(1.2); }
.bw-x { color: var(--warning); font-weight: 700; background: none; border: 0; cursor: pointer; font: inherit; padding: 0 2px; }
.bw-farbe { width: 15px; height: 15px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: transparent; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); flex: none; }
.bw-farbe.an { background: var(--fc); box-shadow: 0 0 0 1px rgba(0,0,0,.4); }
/* Kachel: Leiste oben links beim Überfahren; bewertete Kacheln zeigen sie dauerhaft */
.mk > .bw-kachel { position: absolute; top: 8px; left: 8px; z-index: 3; padding: 4px 8px; border-radius: var(--radius-pill); background: rgba(14,15,18,.72); backdrop-filter: blur(6px); opacity: .8; transition: opacity .15s; }   /* ohne Bewertung: 20 % transparent */
.mk:hover > .bw-kachel, .mk:focus-within > .bw-kachel, .mk.bw-bewertet > .bw-kachel, .mk.bw-farbig > .bw-kachel, .mk.bw-abgelehnt > .bw-kachel { opacity: 1; }
.mk:hover > .mk-red { opacity: 0; }
.mk.bw-farbig { box-shadow: 0 0 0 3px var(--bwc); }
.mk.bw-abgelehnt img { opacity: .4; }
.mk.bw-aus { display: none !important; }
/* Großansicht */
.lb-bewertung { width: 100%; padding: 8px 0; }
.lb-bewertung .bw-herz { width: 19px; height: 18px; }
.lb-bewertung .bw-farbe { width: 18px; height: 18px; }
/* Filter im Bildangebot */
.bw-filter { flex-wrap: nowrap; }

/* ---------- Fenster über dem Shop (Lightbox, Warenkorb) – wie im Admin-Center ---------- */
.sf { position: fixed; z-index: 1000; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--border-strong); border-radius: 14px; overflow: hidden;
    box-shadow: 0 24px 70px rgba(0,0,0,.65); }
.sf[hidden] { display: none; }
.sf.max { left: 0 !important; top: var(--kopf-h) !important; width: 100vw !important; height: calc(100vh - var(--kopf-h)) !important; border-radius: 0; }
.sf.zieht { user-select: none; }
.sf-kopf { flex: none; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 8px 0 14px; cursor: grab; user-select: none;
    background: color-mix(in srgb, var(--brand) 11%, var(--surface)); box-shadow: inset 0 -2px 0 color-mix(in srgb, var(--brand) 30%, transparent); }
.sf-kopf:active { cursor: grabbing; }
.sf:not(.aktiv) .sf-kopf { background: var(--surface); box-shadow: inset 0 -1px 0 var(--border); }
.sf-herz { width: 18px; height: 16px; }
.sf-kopf h2 { flex: 1; margin: 0; font-family: var(--font-display); font-size: 1rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sf-icon { width: 18px; height: 18px; background: var(--text); flex: none; }
.sf-icon-lb { -webkit-mask: var(--icon-lb) center/contain no-repeat; mask: var(--icon-lb) center/contain no-repeat; }
.sf-icon-korb { -webkit-mask: var(--icon-korb) center/contain no-repeat; mask: var(--icon-korb) center/contain no-repeat; }
.sf-knoepfe { display: flex; gap: 6px; }
.sf-k { width: 30px; height: 30px; border-radius: 50%; border: 0; cursor: pointer; background: var(--surface-raised); position: relative; }
.sf-k:hover { background: var(--border-strong); }
.sf-k::before { content: ""; position: absolute; inset: 0; margin: auto; background: var(--text); }
.sf-min::before { width: 12px; height: 2px; }
.sf-max::before { width: 11px; height: 11px; background: none; border: 2px solid var(--text); border-radius: 2px; }
.sf-x::before, .sf-x::after { content: ""; position: absolute; inset: 0; margin: auto; width: 14px; height: 2px; background: var(--text); transform: rotate(45deg); }
.sf-x::after { transform: rotate(-45deg); }
.sf-x:hover { background: var(--brand-action); }
/* Zurück: links vor dem Titel, nur wenn es im Fenster einen Weg zurück gibt (Jackie-Pfeil, animiert beim Überfahren) */
.sf-zurueck { flex: none; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; }
.sf-zurueck[hidden] { display: none; }
.sf-zurueck::before { content: none; }
.sf-zurueck img { width: 20px; height: 20px; display: block; pointer-events: none; }
.sf-zurueck:hover { background: var(--border-strong); }
.sf-zurueck:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.sf-inhalt { flex: 1 1 auto; min-height: 0; overflow: auto; position: relative; }
.sf-inhalt.laedt { opacity: .6; transition: opacity .15s; }
.sf-griff { position: absolute; right: 0; bottom: 0; width: 18px; height: 18px; cursor: nwse-resize; background: linear-gradient(135deg, transparent 50%, var(--border-strong) 50% 60%, transparent 60% 70%, var(--border-strong) 70% 80%, transparent 80%); }
.sf.max .sf-griff { display: none; }
.sf-fehler { padding: 24px; color: var(--text-muted); }
.sf-dock { position: fixed; left: 14px; bottom: 10px; z-index: 99000; display: flex; gap: 8px; }
.sf-dock-k { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--radius-pill); border: 0; cursor: pointer; font: inherit; font-size: .88rem; font-weight: 600;
    color: var(--text); background: var(--surface-raised); box-shadow: 0 8px 24px rgba(0,0,0,.45), inset 0 0 0 1px var(--border-strong); }
.sf-dock-k.aktiv { box-shadow: 0 8px 24px rgba(0,0,0,.45), inset 0 -2px 0 var(--brand); }
/* Inhalte im Fenster */
.sf .lb-arbeit { height: 100%; min-height: 0; padding-top: 0; }
.sf .lb-arbeit:fullscreen { height: 100vh; }
.sf:fullscreen { border-radius: 0; }
.sf .kw-inhalt { padding: 18px 22px 30px; }

/* Bewertungsleiste: vier Schnellfarben (rot, gelb, grün, blau); gewählte mit Ring */
.bw-farben { display: inline-flex; align-items: center; gap: 4px; }
.bw-f { width: 12px; height: 12px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: var(--fc); opacity: .45; flex: none; transition: opacity .1s, transform .1s; }
span.bw-f { cursor: default; }
button.bw-f:hover { opacity: .85; transform: scale(1.15); }
.bw-f.an { opacity: 1; box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px #fff; }
.lb-bewertung .bw-f { width: 15px; height: 15px; }
.lbv-raster > .lbv-leer { grid-column: 1 / -1; }
.lbv-k-fuss { min-width: 0; } .lbv-k-nr { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Desktop (ab 760 px): Startseite mit Slider als Hintergrund, Menüzeile fest, Inhalte in Fenstern ---------- */
body.desktop { overflow: hidden; height: 100vh; height: 100dvh; }
body.desktop .kopf { position: fixed; top: 0; left: 0; right: 0; z-index: 100000; }
body.desktop > main { display: none; }
.desk-hg { position: fixed; top: var(--kopf-h); left: 0; right: 0; bottom: 0; z-index: 0; overflow: hidden; padding: 0 var(--rand); }
.desk-hg .held { height: 100%; min-height: 0; margin: 0 calc(var(--rand) * -1); box-sizing: border-box; padding-bottom: clamp(90px, 14vh, 150px); }
/* Fußleiste, Startknopf und Fensterleiste auf einer gemeinsamen Mittellinie (32 Pixel über dem unteren Rand) */
body.desktop.mit-kopf .footer { position: fixed; bottom: 10.5px; padding-top: 0; padding-bottom: 0; align-items: center; left: auto; right: 12px; width: auto; transform: none; margin: 0; z-index: 99000; }   /* rechtsbündig: links ist Platz für die Fenster im Dock */
body.desktop .sf-dock { bottom: 12px; align-items: center; }
/* über allen Fenstern: Großansicht, Rechtstexte, Hinweise */
body.desktop .lightbox { z-index: 200000; }
body.desktop .win-layer { z-index: 150000; }
body.desktop .modal-overlay { z-index: 210000; }
.lb-toast { z-index: 300000; }
/* Seitenfenster: Inhalt wie auf der Seite, mit eigenem Scrollbereich */
.sf-seite-fenster .sf-inhalt { background: var(--bg); scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
.sf-seite-fenster .sf-inhalt > main { display: block; padding-bottom: 40px; }
.sf-seite-fenster .sf-inhalt > main.voll { padding-left: var(--rand); padding-right: var(--rand); }
.sf-icon-seite { -webkit-mask: none; mask: none; background: none; width: 0; }

.lb-gast-hinweis { margin: 6px 0 10px; padding: 10px 14px; border-radius: var(--radius); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); font-size: .9rem; color: var(--text-muted); }
.lb-gast-hinweis a { color: var(--text); font-weight: 600; }
body.hat-dock .sf.max { height: calc(100vh - var(--kopf-h) - 80px) !important; }
.sf-dock-k { touch-action: none; user-select: none; -webkit-user-select: none; transition: transform .15s ease; }
.sf-dock.ordnen .sf-dock-k { cursor: grabbing; }
.sf-dock-k.zieht { transition: none; z-index: 1; position: relative; box-shadow: 0 14px 34px rgba(0,0,0,.6), inset 0 0 0 1px var(--brand); }
/* Rechtstexte & Co. auf dem Desktop: unter der Menüzeile, oberhalb der Taskleiste */
body.desktop .win { top: calc(var(--kopf-h) + 12px); max-height: calc(100vh - var(--kopf-h) - 12px - 90px); max-height: calc(100dvh - var(--kopf-h) - 12px - 90px); }

/* Großansicht: Mediennummer bündig mit den Kernangaben */
.lb-meta.lb-meta-nr { border: 0; padding: 0; margin: 0; font-size: inherit; }
.lb-meta.lb-meta-nr dt { color: var(--text-muted); }
.lb-meta.lb-meta-nr dd { color: var(--text-muted); font-variant-numeric: tabular-nums; }
/* Preiszeilen: Nutzung und darunter, als wer bestellt wird */
.lb-preis-zusatz { display: block; font-weight: 400; font-size: .8rem; color: var(--text-muted); margin-top: 1px; }
.preis-zusatz { display: block; font-weight: 400; font-size: .8rem; color: var(--text-muted); margin-top: 1px; }

/* Filmstreifen: kleine Bewertung (fünf Herzen, vier Farben) unten im Vorschaubild */
:root { --streifen-h: 124px; }
.lb-s-bw { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: center; padding: 8px 3px 3px; pointer-events: none;
    background: linear-gradient(transparent, rgba(0,0,0,.78)); }
.lb-s-bw .bw-leiste { display: inline-flex; align-items: center; gap: 5px; }
.lb-s-bw .bw-herz { width: 9px; height: 8px; padding: 0; }
.lb-s-bw .bw-herzen { gap: 1px; }
.lb-s-bw .bw-farben { display: inline-flex; gap: 3px; }
.lb-s-bw .bw-f { width: 6px; height: 6px; opacity: .4; }
.lb-s-bw .bw-f.an { opacity: 1; box-shadow: 0 0 0 1px #000, 0 0 0 2px #fff; }
.lb-s-bw .bw-x { font-size: .6rem; color: #fff; }
/* Blättern mit den Pfeiltasten: Rahmen und Bild im Rahmen zoomen deutlich auf */
.lb-streifen::after { transition: transform .22s cubic-bezier(.25, 1, .5, 1); }
.lb-streifen.blaettert::after { transform: translate(-50%, -50%) scale(1.3); }
.lb-streifen.blaettert .lb-s-bahn button.akt { transform: scale(1.48); }
.lb-streifen.blaettert .lb-s-bahn button { transition: opacity .12s, transform .18s cubic-bezier(.25, 1, .5, 1); }
@media (max-width: 900px) {
    :root { --streifen-h: 84px; }
    .lb-s-bw { display: none; }
}

/* ---------- Symbole aus dem Jackie-Design-Set (Lightbox, Warenkorb) ---------- */
:root {
    --sym-lb: url("/grafiken/icons/jackie-agentur-lightbox-symbol-dunkel.svg");
    --sym-lb-dazu: url("/grafiken/icons/jackie-agentur-lightbox-merken-symbol-dunkel.svg");
    --sym-lb-weg: url("/grafiken/icons/jackie-agentur-lightbox-entfernen-symbol-dunkel.svg");
    --sym-korb: url("/grafiken/icons/jackie-agentur-warenkorb-symbol-dunkel.svg");
    --sym-korb-dazu: url("/grafiken/icons/jackie-agentur-warenkorb-hinzufuegen-symbol-dunkel.svg");
    --sym-korb-weg: url("/grafiken/icons/jackie-agentur-warenkorb-entfernen-symbol-dunkel.svg");
}
/* Titelzeile oben */
.kopf-lb-icon, .kopf-lb:not(.leer) .kopf-lb-icon { width: 25px; height: 25px; -webkit-mask: none; mask: none; background: var(--sym-lb) center/contain no-repeat; }
.kopf-korb-icon { width: 25px; height: 25px; -webkit-mask: none; mask: none; background: var(--sym-korb) center/contain no-repeat; }
/* Fenster und Taskleiste */
.sf-icon-lb { -webkit-mask: none; mask: none; background: var(--sym-lb) center/contain no-repeat; }
.sf-icon-korb { -webkit-mask: none; mask: none; background: var(--sym-korb) center/contain no-repeat; }
/* Vorschaubilder: „In die Lightbox“ und „In den Warenkorb“ mit Abzeichen (+ / Herz); schon enthalten: Abzeichen „–“ und grüner Ring */
.mk-lb::before, .mk-korb::before { width: 23px; height: 23px; -webkit-mask: none; mask: none; background: var(--sym-lb-dazu) center/contain no-repeat; }
.mk-korb::before { background-image: var(--sym-korb-dazu); }
.mk-lb.drin::before, .mk-korb.drin::before { -webkit-mask: none; mask: none; }
.mk-lb.drin::before { background: var(--sym-lb-weg) center/contain no-repeat; }
.mk-korb.drin::before { background: var(--sym-korb-weg) center/contain no-repeat; }
.mk-lb, .mk-korb { width: 38px; height: 38px; }
.mk-lb { right: 52px; }
.mk-lb.drin, .mk-korb.drin { background: rgba(14,15,18,.72); box-shadow: inset 0 0 0 2px var(--success); }
.mk-lb:hover, .mk-korb:hover, .mk-lb.drin:hover, .mk-korb.drin:hover { background: var(--surface-raised); }

/* ---------- Einheitliches Fenster-Layout ----------
   Zeile 1 – Werkzeugleiste (.ja-leiste): links der Zusammenhang (Pfad, Suchfeld, Lightbox-Auswahl),
             rechts immer in derselben Reihenfolge: Auswahl · Ansicht · Filter · Zoom (· Vollbild).
             Im Fenster bleibt sie oben stehen, der Filter ist so überall am selben Platz.
   Zeile 2 – Titel mit den Angaben direkt darunter, kompakt.
   Danach der Inhalt. */
.ja-leiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; min-height: 60px; padding: 10px 0; box-sizing: border-box; border-bottom: 1px solid var(--border); }
.ja-leiste > .pfad { margin: 0; }
.ja-leiste > .werkzeuge { margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.werkzeuge > .bw-filter { order: 0; }
.zoom-bahn.ohne-mitte::before { display: none; }
/* Seitenkopf kompakt */
.seitenkopf.ev-kopf { display: block; padding: 0 0 4px; }
.ev-kopf .seitenkopf-text { padding-top: 14px; }
.ev-kopf h1 { font-size: clamp(1.5rem, 2.1vw, 2.1rem); margin: 0 0 8px; }
.ev-kopf .lead { margin-top: 8px; }
.sf-seite-fenster .seitenkopf { padding-top: 14px; }
.sf-seite-fenster .seitenkopf h1 { font-size: clamp(1.5rem, 2.1vw, 2.1rem); margin-bottom: 8px; }
.ev-kopf + .abschnitt { margin-top: 16px; }
.sf-seite-fenster .abschnitt { margin-top: 24px; }
.sf-seite-fenster .ev-kopf + .abschnitt { margin-top: 16px; }
/* Suche: kompaktes Suchfeld links in der Leiste, Werkzeuge rechts */
.such-kopf.ja-leiste { padding: 10px 0; }
.such-kopf.ja-leiste .gs { flex: 1 1 420px; max-width: 760px; height: 46px; border-radius: 10px; box-shadow: none; }
/* breite Bildschirme: rechte Kante der Suchzeile auf halber Bildschirmbreite (Wert setzt js/shopfenster.js) */
@media (min-width: 1000px) {
    .held .gs[style*="--gs-breite"] { width: var(--gs-breite); max-width: none; }
    .such-kopf.ja-leiste .gs[style*="--gs-breite"] { flex: 0 0 var(--gs-breite); width: var(--gs-breite); max-width: none; }
}
.such-kopf.ja-leiste .gs > .gs-lupe { left: 14px; width: 18px; height: 18px; }
.such-kopf.ja-leiste .gs input { font-size: 1rem; padding-left: 42px; }
.such-kopf.ja-leiste .gs select { font-size: .92rem; }
.such-kopf.ja-leiste .gs button { width: 38px; height: 38px; margin: 0 4px; border-radius: 8px; }
.such-kopf.ja-leiste .gs button .gs-lupe { width: 18px; height: 18px; }
.such-layout { margin-top: 18px; }
.ergebnis-kopf { margin-bottom: 12px; }
.ergebnis-kopf h1 { font-size: clamp(1.4rem, 1.9vw, 1.9rem); }
/* Im Fenster (Desktop): Werkzeugleiste bleibt oben stehen, über die ganze Breite */
@media (min-width: 760px) {
    .sf-seite-fenster main.voll .ja-leiste { position: sticky; top: 0; z-index: 20; margin: 0 calc(-1 * var(--rand)); padding-left: var(--rand); padding-right: var(--rand); background: var(--bg); }
    .sf-seite-fenster .sf-inhalt > main { padding-top: 0; }
}
/* Lightbox: dieselbe Leiste */
.lb-kopfzeile.ja-leiste { justify-content: flex-start; }
.lb-kopfzeile.ja-leiste > .lbv-umschalter { margin-left: auto; }
@media (max-width: 759px) {
    .ja-leiste > .werkzeuge { margin-left: 0; justify-content: flex-start; width: 100%; }
    .ja-leiste .bw-filter { flex-wrap: wrap; max-width: 100%; }
    .such-kopf.ja-leiste .gs { flex-basis: 100%; }
}

/* Menü mit Rangordnung: Bildangebot (Oberbegriff) + Ressorts als Gruppe, Trennstrich, dann Preise · Leistungen · Kontakt */
.kopf-nav { align-items: center; }
.kopf-nav-trenner { flex: none; width: 1px; height: 20px; margin: 0 8px; background: var(--border-strong); }
.kopf-nav a.nav-ober { font-weight: 600; }
/* Oberbegriff, wenn ein Ressort gewählt ist: nur Schrift hell und ein kurzer roter Strich – kein zweiter „Knopf“ */
.kopf-nav a.nav-ober.eltern:not([aria-current]) { color: var(--text); background: none; box-shadow: none; position: relative; }
.kopf-nav a.nav-ober.eltern:not([aria-current])::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 14px; height: 2px; margin-left: -7px; border-radius: 1px; background: var(--brand); }
.kopf-nav a.nav-ober.eltern:hover { background: var(--surface-raised); }
/* Großansicht: Überschrift über der Bildunterschrift (gekürzt auf zwei Zeilen, aufklappbar) */
#lbCap .lb-headline { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.08em; line-height: 1.3; color: var(--text); margin-bottom: 6px; }
#lbCap.lb-cap-zu .lb-headline { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* „Ihre persönliche Bewertung“ über Herzen und Farben */
.lb-bw-titel { display: block; font-size: .8rem; color: var(--text-muted); margin: 4px 0 -4px; cursor: help; }

/* ---------- Auswahl im Bildangebot: ausgewählt (pulsierender Rahmen, leicht vergrößert), markiert (rot), überfahren (weiß, vergrößert) ----------
   Alle Rahmen liegen innen auf dem Foto (::after über dem Bild): benachbarte Rahmen berühren oder überlagern sich nie;
   ein vergrößertes Foto liegt mit seinem Rahmen sauber über den Nachbarn. */
.mosaik .mk { scroll-margin: 96px 0 24px; transition: transform .18s cubic-bezier(.25, 1, .5, 1); }
.mosaik .mk::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 7; box-shadow: inset 0 0 0 3px transparent; transition: box-shadow .15s; }
.mosaik .mk.mk-fokus { z-index: 4; transform: scale(1.035); animation: mk-glanz 1.6s ease-in-out infinite; }
.mosaik .mk.mk-fokus::after { animation: mk-puls 1.6s ease-in-out infinite; }
.mosaik .mk.mk-markiert::after { box-shadow: inset 0 0 0 3px var(--brand); }
.mosaik .mk.mk-markiert.mk-fokus { animation-name: mk-glanz-rot; }
.mosaik .mk.mk-markiert.mk-fokus::after { animation-name: mk-puls-rot; }
@keyframes mk-puls { 0%, 100% { box-shadow: inset 0 0 0 3px rgba(255,255,255,1); } 50% { box-shadow: inset 0 0 0 3px rgba(255,255,255,.45); } }
@keyframes mk-puls-rot { 0%, 100% { box-shadow: inset 0 0 0 3px rgba(229,53,43,1); } 50% { box-shadow: inset 0 0 0 3px rgba(229,53,43,.55); } }
@keyframes mk-glanz { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.3); } 50% { box-shadow: 0 0 0 6px rgba(255,255,255,0); } }
@keyframes mk-glanz-rot { 0%, 100% { box-shadow: 0 0 0 0 rgba(229,53,43,.4); } 50% { box-shadow: 0 0 0 6px rgba(229,53,43,0); } }
/* Überfahren mit der Maus: dieselbe leichte Vergrößerung wie bei der Auswahl, weißer Rahmen ohne Pulsieren; liegt für den Moment über allem */
@media (hover: hover) and (pointer: fine) {
    .mosaik .mk:hover { z-index: 5; transform: scale(1.035); }
    .mosaik .mk:hover::after { box-shadow: inset 0 0 0 3px #fff; }
    .mosaik .mk.mk-markiert:hover::after { box-shadow: inset 0 0 0 3px var(--brand); }
    .mosaik .mk:hover .mk-auf img { transform: none; }
}
@media (prefers-reduced-motion: reduce) { .mosaik .mk.mk-fokus, .mosaik .mk:hover { animation: none; transform: none; } .mosaik .mk.mk-fokus::after { animation: none; box-shadow: inset 0 0 0 3px #fff; } .mosaik .mk.mk-markiert.mk-fokus::after { box-shadow: inset 0 0 0 3px var(--brand); } }
/* „n Medien in den Warenkorb legen“ – oben in der Mitte der Werkzeugleiste */
.aw-leiste { display: inline-flex; align-items: center; gap: 6px; margin: 0 auto; }
.aw-leiste[hidden] { display: none; }
.aw-leiste.schwebend { position: fixed; top: calc(var(--kopf-h) + 12px); left: 50%; transform: translateX(-50%); z-index: 99000; padding: 6px; border-radius: var(--radius-pill); background: var(--surface); box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.aw-korb { font: inherit; font-weight: 600; font-size: .95rem; color: var(--on-brand); background: var(--brand-action); border: 0; border-radius: var(--radius-pill); padding: 9px 18px 9px 44px; cursor: pointer; position: relative; box-shadow: 0 6px 18px rgba(229,53,43,.35); animation: aw-rein .2s ease; }
.aw-korb::before { content: ""; position: absolute; left: 14px; top: 50%; width: 22px; height: 22px; margin-top: -11px; background: var(--sym-korb-dazu) center/contain no-repeat; filter: drop-shadow(0 0 0 #fff); }
.aw-korb:hover { filter: brightness(1.08); }
.aw-weg { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface-raised); color: var(--text); cursor: pointer; font-size: 0; position: relative; }
.aw-weg::before, .aw-weg::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: currentColor; border-radius: 1px; transform: rotate(45deg); }
.aw-weg::after { transform: rotate(-45deg); }
@keyframes aw-rein { from { transform: translateY(-6px); opacity: 0; } }
/* Großansicht: markierte Medien im Filmstreifen, pulsierender Auswahlrahmen */
.lb-s-bahn button.mark { opacity: 1; outline: 3px solid var(--brand); outline-offset: -3px; }
.lb-streifen::after { animation: lb-rahmen-puls 1.6s ease-in-out infinite; }
@keyframes lb-rahmen-puls { 0%, 100% { border-color: rgba(255,255,255,1); } 50% { border-color: rgba(255,255,255,.4); } }
@media (prefers-reduced-motion: reduce) { .lb-streifen::after { animation: none; } }

/* ---------- Kontextmenü (rechte Maustaste) im Jackie-Stil ---------- */
.km-menue { position: fixed; z-index: 300000; min-width: 250px; max-width: 340px; padding: 6px; border-radius: 10px; background: #1E2126; border: 1px solid #3D424A; border-top: 2px solid #E5352B;
    box-shadow: 0 18px 50px rgba(0,0,0,.55); color: var(--text); font-size: .9rem; animation: km-auf .12s ease-out; user-select: none; -webkit-user-select: none; }
@keyframes km-auf { from { opacity: 0; transform: translateY(-4px) scale(.98); } }
.km-punkt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 10px; border: 0; border-radius: 6px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.km-punkt:hover, .km-punkt:focus-visible { background: #2A2E35; outline: none; }
.km-punkt:focus { outline: none; }
.km-punkt:disabled { opacity: .45; cursor: default; }
.km-ic { flex: none; width: 18px; height: 18px; background: center/contain no-repeat; }
.km-ic-korb { background-image: var(--sym-korb); } .km-ic-korb-dazu { background-image: var(--sym-korb-dazu); } .km-ic-korb-weg { background-image: var(--sym-korb-weg); }
.km-ic-lb { background-image: var(--sym-lb); } .km-ic-lb-dazu { background-image: var(--sym-lb-dazu); } .km-ic-lb-weg { background-image: var(--sym-lb-weg); }
.km-ic-mark { border: 2.5px solid var(--brand); border-radius: 4px; width: 14px; height: 12px; margin: 0 2px; }
.km-text { flex: 1; min-width: 0; }
.km-taste { flex: none; margin-left: 12px; font: 600 .7rem var(--font-sans); color: var(--text-muted); border: 1px solid #3D424A; border-radius: 4px; padding: 1px 5px; }
.km-trenner { height: 1px; margin: 5px 6px; background: #3D424A; }
.km-titel { padding: 4px 10px 2px; font-size: .74rem; color: var(--text-muted); }
.km-eigen { padding: 4px 10px 6px; }
.km-eigen .bw-herz { width: 18px; height: 17px; }
.km-eigen .bw-f { width: 13px; height: 13px; }

/* ---------- Jackie-Startmenü (Desktop): Herz-Startknopf links in der Taskleiste ---------- */
.ja-startknopf { position: fixed; left: 14px; bottom: 9px; z-index: 99001; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--text-muted); background: var(--bg); display: grid; place-items: center; cursor: pointer; padding: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.45); transition: border-color .15s, transform .15s; }
.ja-startknopf:hover, .ja-startknopf[aria-expanded=true] { border-color: var(--text); }
.ja-startknopf[aria-expanded=true] { transform: scale(.96); }
.ja-startknopf .herz { display: block; width: 22px; height: 20px; background: url("/grafiken/icons/herz-gewaehlt-dark-mode.svg") center / contain no-repeat; }
.ja-startknopf .sk-ani { position: absolute; left: 50%; top: 50%; width: 27px; height: 27px; transform: translate(-50%, -53%); pointer-events: none; }
.ja-startknopf .sk-ani svg { display: block; width: 100% !important; height: 100% !important; }
.ja-startknopf.dreht:has(.sk-ani svg) .herz { visibility: hidden; }
body:not(.desktop) .ja-startknopf { display: none; }
body.desktop.hat-start .sf-dock { left: 70px; }
body.desktop.hat-start .sf.max { height: calc(100vh - var(--kopf-h) - 80px) !important; }
.ja-startmenue { position: fixed; left: 14px; bottom: 66px; z-index: 300000; width: 380px; max-height: calc(100vh - var(--kopf-h) - 90px); overflow: auto; padding: 14px;
    background: #1E2126; border: 1px solid #3D424A; border-radius: 16px; box-shadow: 0 18px 60px rgba(0,0,0,.6); color: var(--text); animation: sm-auf .16s cubic-bezier(.22,.8,.3,1); }
@keyframes sm-auf { from { opacity: 0; transform: translateY(8px) scale(.98); } }
.ja-startmenue .sm-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #3D424A; }
.ja-startmenue .sm-kopf img { height: 24px; }
.ja-startmenue .sm-stand { font-size: .76rem; color: var(--text-muted); text-align: right; }
.ja-startmenue .sm-suche { padding: 12px 0 10px; }
.ja-startmenue .sm-suche input { width: 100%; box-sizing: border-box; padding: 10px 14px; font: inherit; font-size: .95rem; color: var(--text); background: var(--bg); border: 1px solid #3D424A; border-radius: 10px; }
.ja-startmenue .sm-suche input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 2px rgba(229,53,43,.3); }
.ja-startmenue .sm-reihe { display: flex; gap: 8px; padding: 2px 0 12px; border-bottom: 1px solid #3D424A; }
.ja-startmenue .sm-reihe[hidden] { display: none; }
.sm-kachel { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 6px 8px; border: 0; border-radius: 12px; background: #24282E; color: var(--text); font: inherit; font-size: .8rem; cursor: pointer; }
.sm-kachel:hover, .sm-kachel:focus-visible { background: #2D3239; outline: none; }
.sm-kachel .sm-sym { width: 30px; height: 30px; background: center/contain no-repeat; }
.sm-kachel.sym-lb .sm-sym { background-image: var(--sym-lb); }
.sm-kachel.sym-korb .sm-sym { background-image: var(--sym-korb); }
.sm-kachel.sym-konto .sm-sym { background-image: url("/grafiken/icons/herz-gewaehlt-dark-mode.svg"); background-size: 70%; border: 2px solid var(--text-muted); border-radius: 50%; box-sizing: border-box; }
.sm-zahl { position: absolute; top: 6px; right: 10px; min-width: 18px; height: 18px; padding: 0 5px; box-sizing: border-box; border-radius: 9px; background: var(--brand-action); color: var(--on-brand); font-size: .68rem; line-height: 18px; text-align: center; }
.ja-startmenue .sm-liste { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; }
.ja-startmenue .sm-liste[hidden] { display: none; }
.sm-punkt { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; padding: 10px 14px; border: 0; border-radius: 10px; background: none; color: var(--text); font: inherit; font-size: 1rem; text-align: left; cursor: pointer; }
.sm-punkt small { font-size: .75rem; color: var(--text-muted); }
.sm-punkt:hover, .sm-punkt:focus-visible, .sm-gruppe.offen { background: rgba(229,53,43,.16); outline: none; }
.sm-gruppe::after { content: "›"; font-size: 1.25rem; line-height: 1; color: var(--text-muted); }
.sm-suchen { color: var(--text-muted); font-size: .9rem; }
.ja-startmenue .sm-fuss { display: flex; gap: 6px; padding-top: 10px; border-top: 1px solid #3D424A; }
.ja-startmenue .sm-fuss a { padding: 4px 10px; border-radius: var(--radius-pill); color: var(--text-muted); text-decoration: none; font-size: .8rem; font-weight: 600; }
.ja-startmenue .sm-fuss a.an { color: var(--text); box-shadow: inset 0 0 0 1px var(--brand); }
.sm-flyout { position: fixed; z-index: 300001; min-width: 280px; max-width: 420px; max-height: calc(100vh - 120px); overflow: auto; padding: 8px; background: #1E2126; border: 1px solid #3D424A; border-radius: 14px; box-shadow: 0 18px 60px rgba(0,0,0,.6); animation: sm-auf .12s ease-out; }
.sm-flyout .sm-punkt { font-size: .95rem; }
.sm-taste { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 12px; padding: 6px 10px; font-size: .88rem; }
.sm-taste kbd { justify-self: start; font: 600 .74rem var(--font-sans); color: var(--text); border: 1px solid #3D424A; border-bottom-width: 2px; border-radius: 5px; padding: 2px 7px; background: #24282E; }
@media (prefers-reduced-motion: reduce) { .ja-startmenue, .sm-flyout { animation: none; } }

/* Desktop: das Titelfoto läuft bis unter die Taskleiste und blendet unten nicht mehr ins volle Schwarz aus – sonst wäre hinter dem Band nur Schwarz zu sehen */
body.desktop .desk-hg .held::before { background: linear-gradient(180deg, rgba(14,15,18,.30) 0%, rgba(14,15,18,.20) 35%, rgba(14,15,18,.62) 70%, rgba(14,15,18,.35) 88%, rgba(14,15,18,0) 100%),
    linear-gradient(90deg, rgba(14,15,18,.55) 0%, rgba(14,15,18,0) 60%); }
/* Taskleiste unten (Desktop): ein durchgehendes Band mit 50 % Transparenz – das Titelfoto bleibt dahinter erkennbar */
body.desktop.mit-kopf::after { content: ""; position: fixed; left: 0; right: 0; bottom: 0; height: 66px; z-index: 98000; pointer-events: none;
    background: color-mix(in srgb, var(--bg) 50%, transparent); border-top: 1px solid var(--border); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
/* Markierte Medien: Knöpfe kompakt, gleiche Höhe wie die Werkzeuge daneben */
.aw-leiste { gap: 8px; flex: 0 1 auto; min-width: 0; }
.aw-korb, .aw-lb { height: 40px; box-sizing: border-box; padding: 0 14px 0 40px; font-size: .88rem; line-height: 1; white-space: nowrap; box-shadow: none; }
.aw-korb::before, .aw-lb::before { left: 12px; width: 20px; height: 20px; margin-top: -10px; }
.aw-lb { position: relative; font: inherit; font-weight: 600; font-size: .88rem; color: var(--text); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); cursor: pointer; animation: aw-rein .2s ease; }
.aw-lb::before { content: ""; position: absolute; top: 50%; background: var(--sym-lb-dazu) center/contain no-repeat; }
.aw-lb:hover { background: var(--surface-raised); }
.aw-weg { width: 30px; height: 30px; flex: none; }
/* „Doppelklick zum Vergrößern“ – kurz unten im markierten Foto */
.aw-hinweis { position: absolute; left: 50%; bottom: 10px; z-index: 5; transform: translate(-50%, 6px); padding: 5px 12px; border-radius: var(--radius-pill); background: rgba(14,15,18,.82); color: #fff; font-size: .8rem; font-weight: 600; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .2s, transform .2s; }
.aw-hinweis.an { opacity: 1; transform: translate(-50%, 0); }
.mk:has(.aw-hinweis.an) .mk-info { opacity: 0 !important; transition: opacity .15s; }

/* ---------- Titelleiste als Kopf der Seite (Seitenfenster) ---------- */
.sf-seite-fenster .sf-kopf { height: auto; min-height: 62px; padding: 9px 8px 9px 16px; gap: 14px; position: relative; z-index: 6; }
.sf-seite-fenster .sf-kopf h2 { flex: 1 1 auto; min-width: 0; font-size: clamp(1.3rem, 1.6vw, 1.95rem); line-height: 1.15; letter-spacing: -0.01em; }
.sf-kopf .werkzeuge { flex: none; flex-wrap: nowrap; gap: 8px; cursor: default; margin: 0; }
.sf-kopf .werkzeuge .zoom-wert { bottom: auto; top: calc(100% + 10px); }
.sf-kopf .sf-knoepfe { margin-left: 6px; }
.sf-seite-fenster h1.im-fensterkopf { display: none; }
.sf-seite-fenster .seitenkopf { padding-top: 8px; }
.sf-seite-fenster .ev-kopf .seitenkopf-text { padding-top: 0; }
.sf-seite-fenster .ev-kopf .seitenkopf-text:not(:has(> :not(.im-fensterkopf))) { display: none; }
.ev-meta.in-leiste { margin: 0 !important; gap: 6px; }
.ev-meta.in-leiste .chip { font-size: .8rem; padding-top: 3px; padding-bottom: 3px; }
.ja-leiste > .pfad + .ev-meta { margin-left: 6px !important; }
/* Ausgewählt auch auf Ereigniskacheln: derselbe pulsierende Rahmen */
a.ek { scroll-margin: 96px 0 24px; transition: transform .18s cubic-bezier(.25, 1, .5, 1); }
a.ek.mk-fokus { z-index: 4; transform: scale(1.03); outline: 3px solid #fff; outline-offset: 3px; animation: ek-puls 1.6s ease-in-out infinite; }
@keyframes ek-puls { 0%, 100% { outline-color: rgba(255,255,255,1); box-shadow: 0 0 0 0 rgba(255,255,255,.35); } 50% { outline-color: rgba(255,255,255,.45); box-shadow: 0 0 0 8px rgba(255,255,255,0); } }
@media (prefers-reduced-motion: reduce) { a.ek.mk-fokus { animation: none; transform: none; } }
.sf-kopf .aw-leiste { margin: 0 8px 0 auto; cursor: default; }

/* Suchvorschläge: Art farblich unterschieden – Farben aus den Jackie-Tokens (Design-Handbuch)
   Person = Info-Blau, Ereignis = Jackie-Rot (Textton), Ort = Erfolgs-Grün; jeweils Ton auf weichem Grund */
.vorschlaege a[data-art] { box-shadow: inset 3px 0 0 var(--vs-farbe, transparent); }
.vorschlaege a[data-art="person"] { --vs-farbe: var(--info); --vs-grund: var(--info-soft); }
.vorschlaege a[data-art="event"] { --vs-farbe: var(--brand-text); --vs-grund: var(--brand-soft); }
.vorschlaege a[data-art="ort"] { --vs-farbe: var(--success); --vs-grund: var(--success-soft); }
.vorschlaege a[data-art] .vs-art { color: var(--vs-farbe); background: var(--vs-grund); padding: 3px 8px; border-radius: var(--radius-pill); font-weight: 600; letter-spacing: .05em; }
.vorschlaege a[data-art] mark { color: var(--text); }

/* ---------- Titelleiste: für alle Fenster identisch – flach, große Überschrift, kompakte Werkzeuge ---------- */
.sf .sf-kopf, .sf-seite-fenster .sf-kopf { height: 50px; min-height: 0; padding: 0 8px 0 14px; gap: 12px; position: relative; z-index: 6; }
.sf .sf-kopf h2, .sf-seite-fenster .sf-kopf h2 { flex: 1 1 auto; min-width: 0; font-size: clamp(1.15rem, 1.45vw, 1.7rem); line-height: 1.1; letter-spacing: -0.01em; }
.sf-kopf .werkzeuge { flex: none; flex-wrap: nowrap; gap: 6px; cursor: default; margin: 0; align-items: center; }
.sf-kopf .umschalter, .sf-kopf .lbv-umschalter { padding: 2px; }
.sf-kopf .umschalter button { padding: 3px 9px; }
.sf-kopf .lbv-umschalter button { padding: 3px 10px; font-size: .84rem; }
.sf-kopf .lbv-filter, .sf-kopf .bw-filter { padding: 2px 10px; flex-wrap: nowrap; }
.sf-kopf .zoom-regler { padding: 3px 10px; }
.sf-kopf .lbv-zoom .zoom-bahn { width: 110px; }
.sf-kopf .lbv-voll { padding: 3px 4px; font-size: .84rem; }
.sf-kopf .aw-korb, .sf-kopf .aw-lb { height: 34px; }
.sf-kopf .sf-icon { width: 20px; height: 20px; }

/* Titelleiste aller Fenster: Überschrift linksbündig */
.sf .sf-kopf h2 { text-align: left; }

/* Lightbox und Warenkorb in der Kopfzeile: große, animierte Jackie-Symbole – sofort zu finden, ohne die Zeile zu sprengen */
.kopf-korb { width: 50px; height: 50px; }
.kopf-lb-icon, .kopf-lb:not(.leer) .kopf-lb-icon, .kopf-korb-icon { width: 36px; height: 36px; }
.kopf-lb-icon.anim, .kopf-korb-icon.anim { background: none !important; }
.kopf-lb-icon svg, .kopf-korb-icon svg { display: block; }
.kopf-korb b { top: 0; right: -2px; min-width: 20px; height: 20px; border-radius: 10px; font-size: .74rem; }
@media (max-width: 900px) { .kopf-korb { width: 44px; height: 44px; } .kopf-lb-icon, .kopf-lb:not(.leer) .kopf-lb-icon, .kopf-korb-icon { width: 31px; height: 31px; } }

/* ---------- Kundenkonto (Fenster und Seite): Kopf mit Symbol, Symbolleiste, Kacheln mit Jackie-Symbolen ---------- */
.ko-teil { padding: 24px 28px 30px; }
.content .ko-teil, main .ko-kopf:first-child { max-width: 900px; }
.ko-sym { display: block; width: 26px; height: 26px; flex: none; }
.ko-kopf { display: flex; gap: 16px; align-items: center; margin: 0 0 20px; }
.ko-kopf > .ko-sym { width: 56px; height: 56px; padding: 11px; box-sizing: border-box; background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.ko-titel { margin: 0; font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; line-height: 1.2; color: var(--text); }
.ko-unter { margin: 3px 0 0; color: var(--text-muted); font-size: .92rem; line-height: 1.45; }
.ko-nav { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 22px; padding: 0 0 18px; border-bottom: 1px solid var(--border); }
.ko-ab { margin: 0 0 0 auto; }
.ko-kachel { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 11px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--border); color: var(--text); font: inherit; font-size: .95rem; font-weight: 600; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .15s; }
.ko-kachel:hover, .ko-kachel:focus-visible { background: var(--surface-raised); border-color: var(--border-strong); color: var(--text); }
.ko-kachel:hover .ko-sym { transform: scale(1.08); }
.ko-kachel .ko-sym { transition: transform .2s; }
.ko-kachel.aktiv { background: var(--surface-raised); border-color: var(--border-strong); box-shadow: inset 0 -2px 0 var(--brand); }
.ko-kachel.haupt { background: var(--brand-soft); border-color: var(--brand); }
.ko-kachel.haupt:hover { background: #4a1f1c; }
.ko-kachel.klein { padding: 6px 12px 6px 8px; font-size: .86rem; gap: 8px; }
.ko-kachel.klein .ko-sym { width: 22px; height: 22px; }
.ko-aktionen { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.ko-liste { display: grid; gap: 10px; }
.ko-bestellung { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.ko-b-titel { margin: 0; font-weight: 600; color: var(--text); }
.ko-b-aktionen { display: flex; flex-wrap: wrap; gap: 8px; }
.ko-info { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 18px; padding: 12px 16px; background: var(--info-soft); border: 1px solid rgba(143, 176, 214, .35); border-radius: var(--radius-md); color: var(--text); }
.ko-info p { margin: 2px 0 0; font-size: .92rem; line-height: 1.5; }
.ko-leer { display: grid; justify-items: center; gap: 10px; padding: 32px 20px; border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); color: var(--text-muted); text-align: center; }
.ko-leer > .ko-sym { width: 48px; height: 48px; opacity: .8; }
.ko-leer p { margin: 0; }
.ko-form { margin: 0; }
.ko-form.ko-schmal { max-width: 460px; }
.ko-form:has(input[name=typ][value=privat]:checked) [data-nur=firma] { display: none; }
.ko-code { font: 600 1.5rem/1.2 var(--font-display, "Space Grotesk"), system-ui, sans-serif !important; font-variant-numeric: tabular-nums; letter-spacing: .3em; text-indent: .3em; text-align: center; width: 8.6em; max-width: 100%; box-sizing: border-box; }
.ko-zustimmung { display: grid; gap: 4px; margin: 6px 0 0; padding: 14px 16px 6px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); }
.ko-zustimmung .shop-check a { color: var(--text); text-decoration: underline; }
.ko-gruppe h2 { margin: 24px 0 10px; font-size: 1.05rem; }
.ko-gruppe .hinweis { margin: 10px 0 0; }
.ko-kacheln { display: flex; flex-wrap: wrap; gap: 10px; }
.ko-weiter { margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--border); }
.fenster-konto .shop-danke .lead, .ko-teil .lead { font-size: 1rem; }
@media (max-width: 640px) { .ko-teil { padding: 18px 16px 24px; } .ko-ab { margin-left: 0; } .ko-bestellung { align-items: flex-start; } }
/* größere Kopfsymbole: Navigation und Suche rücken bei mittleren Breiten etwas zusammen, damit alle Einträge sichtbar bleiben */
@media (max-width: 1720px) and (min-width: 1481px) { .kopf { gap: 16px; } .kopf-nav a { padding: 8px 8px; } .kopf-suche input { width: clamp(150px, 10.5vw, 210px); } }
@media (max-width: 1480px) { .kopf-nav a { padding: 8px 9px; } }
.sf-icon-konto { -webkit-mask: none; mask: none; background: url("/grafiken/icons/jackie-agentur-kundenkonto-symbol-dunkel.svg") center/contain no-repeat; }
.ko-felder .shop-feld input, .ko-felder .shop-feld select { width: 100%; box-sizing: border-box; }
.ko-breit { grid-column: 1 / -1; }
.ko-breit .hinweis { margin: 6px 0 0; font-size: .82rem; }
.ko-titel-klein { font-family: var(--font-sans); font-size: 1.05rem; }
.ko-unter-gross { font-size: 1rem; color: var(--text); }
.ko-b-daten { flex: 1 1 280px; min-width: 0; }
.ko-gruppe .hinweis { font-size: .86rem; color: var(--text-muted); max-width: 640px; }

/* Konto-Fenster: 15 % Transparenz (Deckkraft-Regler in der Titelleiste wie bei den Rechtstexten) */
.fenster-konto { background: color-mix(in srgb, var(--bg) calc(var(--win-alpha, .85) * 100%), transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.fenster-konto .sf-inhalt { background: transparent; }
.sf-alpha { flex: none; width: 82px; accent-color: var(--text); cursor: pointer; }
/* Kundendaten: einspaltig, alle Felder gleich breit; PLZ (5 Zeichen) und Ort zusammen so breit wie ein Feld */
.ko-felder { display: grid; grid-template-columns: 1fr; gap: 14px; max-width: 560px; margin: 18px 0 8px; }
.ko-felder > div:not(.ko-plz-ort):not(.ko-telefon) { display: grid; gap: 6px; }
.ko-felder .shop-feld input, .ko-felder .shop-feld select { width: 100%; box-sizing: border-box; }
.ko-felder .shop-feld input:disabled { opacity: .7; cursor: not-allowed; }
.ko-plz-ort { display: grid; grid-template-columns: calc(5ch + 34px) 1fr; gap: 12px; }
.ko-plz-ort input[name=plz] { font-variant-numeric: tabular-nums; }
.ko-telefon > div { display: grid; grid-template-columns: minmax(0, 45%) 1fr; gap: 8px; }
.ko-feldinfo { display: block; margin-top: 2px; font-size: .8rem; line-height: 1.45; color: var(--text-subtle); }
/* Bestellart: zwei Schalter Ja/Nein, die sich gegenseitig umschalten */
.ko-schalter-gruppe { display: grid; gap: 8px; max-width: 560px; margin: 6px 0 0; }
.ko-schalter { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); color: var(--text); font-weight: 600; cursor: pointer; }
.ko-schalter:has(input:checked) { border-color: var(--border-strong); }
.ko-schalter input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.ko-schalter i { position: relative; flex: none; width: 44px; height: 24px; border-radius: 12px; background: var(--border-strong); transition: background .18s; }
.ko-schalter i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--text); transition: transform .18s; }
.ko-schalter input:checked + i { background: var(--brand-action); }
.ko-schalter input:checked + i::after { transform: translateX(20px); }
.ko-schalter input:focus-visible + i { outline: 2px solid var(--focus); outline-offset: 2px; }
/* Rückfrage beim Verlassen der Kundendaten (im Fenster, Jackie-Stil) */
.ko-frage { position: absolute; inset: 50px 0 0; z-index: 20; display: grid; place-items: center; padding: 20px; background: color-mix(in srgb, #000 45%, transparent); }
.ko-frage-box { max-width: 480px; padding: 20px 22px; border-radius: var(--radius-lg); background: var(--surface-raised); border: 1px solid var(--border-strong); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); color: var(--text); }
.ko-frage-titel { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.ko-frage-box p { margin: 0 0 6px; line-height: 1.5; }
/* animierte Jackie-Symbole: während der Animation liegt sie genau über dem statischen Symbol */
.ja-anim-ov { position: fixed; z-index: 2147483000; pointer-events: none; }
.ja-anim-ov svg { display: block; }
.ja-anim-img { visibility: hidden; }
.ja-anim-bg { background-image: none !important; }
.ja-anim-vor::before { opacity: 0 !important; }
/* Titelleiste: die Überschrift steht genau über der linken Kante des Inhalts – in allen Fenstern derselbe Rand */
.sf .sf-kopf, .sf-seite-fenster .sf-kopf { padding-left: var(--rand); }
.sf .kw-inhalt { padding-left: var(--rand); padding-right: var(--rand); }
.ko-teil { padding-left: var(--rand); padding-right: var(--rand); }
.sf-seite-fenster .abschnitt-kopf.im-fensterkopf { display: none; }
.sf-seite-fenster .abschnitt:has(> .abschnitt-kopf.im-fensterkopf) { padding-top: 22px; }

/* ---------- Kundenkonto: zweiter Faktor ---------- */
.ko-tfa { max-width: 560px; }
.ko-tfa > p { margin: 0 0 12px; line-height: 1.55; }
.ko-tfa-ohne { margin: 18px 0 0; font-size: .88rem; }
.ko-tfa-ohne a { color: var(--text-muted); }
.ko-warnung { margin: 0 0 16px; padding: 12px 16px; border: 1px solid rgba(251, 179, 21, .45); background: rgba(251, 179, 21, .08); border-radius: var(--radius-md); }
.ko-warnung p { margin: 0; font-size: .92rem; line-height: 1.55; }
.ko-tfa-schritte { margin: 0 0 14px; padding-left: 1.3em; line-height: 1.6; }
.ko-tfa-qr { width: 220px; max-width: 70%; margin: 6px 0 12px; padding: 0; border-radius: 10px; overflow: hidden; }
.ko-tfa-qr svg { display: block; width: 100%; height: auto; }
.tfa-hand { margin: 4px 0 12px; }
.tfa-hand > summary { cursor: pointer; opacity: .8; font-size: .9rem; }
.ko-tfa-geheim { display: inline-block; margin-top: 4px; padding: 4px 8px; border-radius: 6px; background: var(--surface-raised, #222); font-size: .95rem; letter-spacing: .06em; user-select: all; word-break: break-all; }
.ko-tfa-codes { display: grid; grid-template-columns: repeat(2, max-content); gap: 6px 56px; margin: 4px 0 18px; padding-left: 2.2em; font-size: 1.05rem; }
.ko-tfa-codes code { letter-spacing: .08em; }
.ko-tfa-notfall { margin-top: 18px; }
.ko-tfa-notfall summary { cursor: pointer; color: var(--text-muted); font-size: .9rem; }
.ko-h2 { margin: 22px 0 8px; font-size: 1rem; }

/* ---------- Kundenkonto: Nachrichten, Neuigkeiten, Anhänge (2.37) ---------- */
.ja-startknopf.hat-neues::after { content: ""; position: absolute; top: 3px; right: 3px; width: 10px; height: 10px; border-radius: 50%; background: var(--brand-action); box-shadow: 0 0 0 2px var(--bg); }
.ko-kachel.hat-neues { border-color: var(--brand); }
.ko-sv-kopf { margin: 4px 0 12px; }
.ko-sv-kopf .ko-h2 { margin-bottom: 4px; }
.sv-verlauf { display: grid; gap: 12px; margin: 0 0 22px; }
.sv-msg { max-width: 760px; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.sv-msg.eigen { margin-left: auto; background: var(--surface-raised); border-color: var(--border-strong); }
.sv-msg.fremd { border-left: 3px solid var(--brand); }
.sv-msg-kopf { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 6px; font-size: .9rem; }
.sv-msg-text { line-height: 1.55; overflow-wrap: anywhere; }
.sv-dateien { margin: 8px 0 0; padding-left: 18px; font-size: .9rem; }
.sv-dateien a { color: var(--text); }
.sv-status { white-space: nowrap; }
.sv-status.sv-offen { color: #F2B84B; }
.sv-status.sv-beantwortet { color: #6FCF97; }
.sv-status.sv-geschlossen { color: var(--text-muted); }
.sv-pille { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 9px; background: var(--brand-action); color: var(--on-brand); font-size: .72rem; vertical-align: middle; }
.ko-bestellung.sv-neu { border-color: var(--brand); }
.ko-bestellung .ko-b-titel a { color: inherit; text-decoration: none; }
.ko-bestellung .ko-b-titel a:hover { text-decoration: underline; }
.ko-form .shop-feld { margin: 0 0 12px; max-width: 760px; }
.ko-form .shop-feld input, .ko-form .shop-feld select { width: 100%; box-sizing: border-box; }
.ko-form textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 1rem; line-height: 1.5; padding: 9px 11px; border-radius: var(--radius-md); border: 1px solid var(--border-strong); background: var(--surface-raised); color: var(--text); resize: vertical; }
.ko-form .jk-dropzone { max-width: 760px; box-sizing: border-box; }
.jk-dropzone { display: flex; flex-direction: column; align-items: center; margin: 6px 0 14px; padding: 22px 20px; border: 1.5px dashed var(--border-strong); border-radius: var(--radius-md); cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.jk-dropzone:hover { border-color: var(--text-muted); }
.jk-dropzone:focus-within { outline: 2px solid var(--focus, var(--brand)); outline-offset: 2px; }
.jk-dropzone__title { font-weight: 700; font-size: 1.05rem; color: var(--text); }
.jk-dropzone__hint { color: var(--text-muted); margin-top: 4px; font-size: .92rem; }
.jk-dropzone__formats { color: var(--text-subtle, var(--text-muted)); font-size: .78rem; margin-top: 4px; }
.jk-dropzone__status { color: var(--text); margin-top: 6px; min-height: 1.2em; font-size: .9rem; overflow-wrap: anywhere; }
.jk-dropzone.is-dragover { border-color: var(--brand); background: var(--brand-soft); }
.jk-dropzone.is-busy { border-style: solid; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sv-neuigkeiten { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 820px; }
.sv-neuigkeiten li { padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.sv-neuigkeiten li.ist-neu { border-color: var(--brand); }
.sv-neuigkeiten b { display: block; margin: 4px 0 2px; }
.sv-neuigkeiten p { margin: 4px 0 0; line-height: 1.55; color: var(--text-muted); }
.sv-n-kopf { display: flex; gap: 10px; align-items: center; font-size: .82rem; color: var(--text-muted); }
.sv-n-art { padding: 1px 8px; border-radius: 9px; border: 1px solid var(--border-strong); color: var(--text); }
.sv-n-neu .sv-n-art { border-color: #6FCF97; color: #6FCF97; }
.sv-n-besser .sv-n-art { border-color: #56CCF2; color: #56CCF2; }
.sv-n-behoben .sv-n-art { border-color: #F2B84B; color: #F2B84B; }

/* ---------- Suche: Reihenfolge und Auswahl als Pillen (2.37.2) ---------- */
.filterleiste .such-pillen { display: block; margin: 14px 0 0; padding: 0; }
.filterleiste .such-pillen legend { margin: 0 0 6px; }
.pillen-reihe { display: flex; flex-wrap: wrap; gap: 5px; }
.such-pille { position: relative; display: inline-flex !important; align-items: center; justify-content: center; gap: 5px; min-height: 30px; box-sizing: border-box; margin: 0 !important; padding: 3px 10px; border: 1px solid var(--border-strong); border-radius: 999px;
    background: transparent; color: var(--text-muted) !important; font-size: .8rem !important; line-height: 1.2; white-space: nowrap; font-weight: 500 !important; cursor: pointer; user-select: none; transition: background .15s, color .15s, border-color .15s; }
.such-pille input { position: absolute !important; opacity: 0; width: 1px !important; height: 1px; margin: 0 !important; padding: 0 !important; pointer-events: none; }
.such-pille:hover { border-color: var(--text-muted); color: var(--text) !important; }
.such-pille:has(input:checked) { background: var(--text); border-color: var(--text); color: var(--bg) !important; }
.such-pille:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.such-pille img { width: 20px; height: 20px; flex: none; }
.such-pille:has(input:checked) img { filter: invert(1) hue-rotate(180deg); }
.such-pille.mit-sym { padding: 3px 14px; }
/* Feinere Pillen: auf Touch-Geräten etwas höher, damit sie bequem zu treffen bleiben */
@media (pointer: coarse) { .such-pille { min-height: 36px; padding: 5px 12px; } }
/* Kompakte Filterleiste ohne Zwischenüberschriften: jede Zeile exakt volle Breite, Knöpfe einer Zeile gleich breit */
.filterleiste .such-pillen { margin: 10px 0 0; }
.filterleiste .pillen-reihe { display: grid; grid-template-columns: repeat(var(--sp, 2), minmax(0, 1fr)); gap: 6px; }
.filterleiste .such-pille { width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.filterleiste .such-pille.mit-sym { padding: 3px 6px; }
.filterleiste .such-pille img { width: 22px; height: 22px; }
.filterleiste .such-datum { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 6px; margin: 10px 0 0; }
.filterleiste .such-datum input { margin-top: 0; }
.filterleiste .such-bis { color: var(--text-muted); }
.filterleiste details > label { margin-top: 10px; }
.filterleiste details > label input { margin-top: 0; }
/* Überschrift „Filter“ nur auf dem Handy (dort klappt sie die Leiste auf und zu); am Desktop ergibt sie sich aus dem Kontext */
@media (min-width: 1001px) {
    .filterleiste summary { display: none; }
    .filterleiste details { padding-top: 4px; }
    .filterleiste details > :nth-child(2), .filterleiste details > .such-pillen:first-of-type { margin-top: 12px; }
}

/* Abschnitte der Filterleiste: feine Trennlinie, ruhiger Abstand (2.37.7) */
.filterleiste .fl-block { padding: 12px 0; }
.filterleiste .fl-block + .fl-block { border-top: 1px solid var(--border); }
.filterleiste .fl-block > :first-child { margin-top: 0; }
.filterleiste .fl-block:last-child { padding-bottom: 0; }
.filterleiste .filter-knoepfe { margin-top: 0; }
.filterleiste .fl-zurueck { width: 100%; text-decoration: none; }
/* Aktive Pille: Jackie-Rot statt Weiß – Symbole und ihre Animation bleiben sichtbar; inaktive Symbole gedämpft */
.such-pille:has(input:checked) { background: rgba(229, 53, 43, .16); border-color: var(--brand, #E5352B); color: var(--text) !important; }
.such-pille:has(input:checked) img { filter: none; }
.such-pille:not(:has(input:checked)) img { opacity: .45; }
.such-pille:hover img, .fl-zurueck img { opacity: 1; }

/* Kopf eines Ereignisses in der Suche: Titel, darunter immer Datum · Ort, direkt dahinter der Link zu allen Medien */
.termin-kopf .termin-titel { flex: 0 0 100%; }
.termin-kopf .termin-alle { margin-left: 0; }
.termin-kopf .termin-meta + .termin-alle::before { content: "·"; color: var(--text-muted); margin-right: 14px; }

/* Ziehen & Ablegen (bewertung.js): Ziele im Filterfenster, Kopfzeilen-Symbole, Vorschau am Mauszeiger */
.lb-ff-ziel { flex: none; width: 38px; height: 34px; display: grid; place-items: center; padding: 0; border-radius: 10px; cursor: pointer;
    background: color-mix(in srgb, var(--surface-raised) 80%, transparent); border: 1px dashed var(--border-strong); transition: transform .12s, border-color .12s, background .12s; }
.lb-ff-ziel img { width: 22px; height: 22px; display: block; pointer-events: none; }
.lb-ff-ziel:hover { border-color: var(--text-muted); }
.ja-zieht, .ja-zieht * { cursor: grabbing !important; user-select: none; }
.ja-zieht .lb-ff-ziel, .ja-zieht .lb-ff-aktion[data-ziel], .ja-zieht [data-lb-kopf], .ja-zieht .kopf-korb[data-korb] { outline: 2px dashed rgba(229, 53, 43, .7); outline-offset: 2px; }
.ja-zieht .lb-ff-aktion[aria-disabled="true"] { opacity: 1; }
.drueber.lb-ff-ziel, .drueber.lb-ff-aktion, .drueber[data-lb-kopf], .drueber.kopf-korb { outline: 2px solid #E5352B !important; background: rgba(229, 53, 43, .28) !important; transform: scale(1.08); }
.ja-zug { position: fixed; left: 0; top: 0; z-index: 2147483002; pointer-events: none; display: flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; border-radius: 10px;
    background: #1E2126; border: 1px solid #3D424A; border-top: 2px solid #E5352B; box-shadow: 0 10px 28px rgba(0,0,0,.5); color: #F3F2EF; font: 600 13px/1 Inter, system-ui, sans-serif; white-space: nowrap; }
.ja-zug img { width: 54px; height: 38px; object-fit: cover; border-radius: 6px; display: block; }

/* ---------- „Fokus“: Filter der Suche als schwebendes Fenster im Hochformat (Schriftzug oben, rollt nach unten auf) ---------- */
.schwebe-hoch { flex-direction: column; padding: 4px 14px 14px; align-items: stretch; }
.schwebe-hoch.zu { padding: 4px 14px 4px; }
.schwebe-hoch .lb-ff-label { flex-direction: row; justify-content: flex-start; width: auto; height: 36px; padding: 0 8px; margin: 0 0 6px; gap: 8px; }
.schwebe-hoch.zu .lb-ff-label { margin: 0; }
.schwebe-hoch .lb-ff-wort { writing-mode: horizontal-tb; transform: none; }
.schwebe-hoch .lb-ff-rolle { max-height: var(--rolle-h, 2000px); transition: max-height .42s cubic-bezier(.22, .8, .24, 1); }
.schwebe-hoch.zu .lb-ff-rolle { max-height: 0; }   /* eingerollt bleibt die Breite – so kann die Blende daneben kleben, ohne zu springen */
.schwebe-hoch .lb-ff-rolle > .lb-ff-inhalt { width: 340px; box-sizing: border-box; max-height: calc(100vh - 260px); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-gutter: stable; padding-right: 4px; }   /* breit genug für alle Felder (auch das deutsche Datumsformat); die Bildlaufleiste bekommt einen festen Platz und verdeckt nichts */
.schwebe-hoch .lb-ff-inhalt input, .schwebe-hoch .lb-ff-inhalt select, .schwebe-hoch .lb-ff-inhalt button { min-width: 0; max-width: 100%; box-sizing: border-box; }
.schwebe-hoch.zu .lb-ff-rolle > .lb-ff-inhalt { transform: translateY(-14px); }
.fokus-regler { padding: 2px 2px 8px; border-bottom: 1px solid color-mix(in srgb, var(--border-strong) 70%, transparent); margin-bottom: 2px; }
.fokus-regler .lb-ff-alpha { width: 100%; }
.schwebe-hoch .filterleiste { position: static; }
.schwebe-hoch .filterleiste details { background: none; border: 0; padding: 0; border-radius: 0; }
.schwebe-hoch .filterleiste summary { display: none; }
.such-layout.ohne-filter { grid-template-columns: minmax(0, 1fr); transition: padding-left .42s cubic-bezier(.22, .8, .24, 1); }

.sf.mit-fokus .lb-filterfenster.ist-fokus { z-index: 26; }

/* Schalter am Schriftzug: „offen halten“ (kleiner Schalter) und Magnet (verbindet Fokus und Blende) */
.lb-ff-schalter-reihe { display: flex; align-items: center; gap: 8px; }
.schwebe-quer .lb-ff-schalter-reihe { flex-direction: column; margin-bottom: 2px; order: -1; }
.schwebe-quer .lb-ff-label { justify-content: space-between; padding: 8px 0; }
.schwebe-hoch .lb-ff-schalter-reihe { margin-left: auto; }
.lb-ff-schalter { display: inline-grid; place-items: center; cursor: pointer; color: var(--text-muted); border-radius: 99px; }
.lb-ff-schalter:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.lb-ff-schalter.fest { width: 26px; height: 15px; background: color-mix(in srgb, var(--text-muted) 35%, transparent); position: relative; transition: background .2s; }
.lb-ff-schalter.fest i { position: absolute; left: 2px; top: 2px; width: 11px; height: 11px; border-radius: 50%; background: #F3F2EF; transition: transform .2s; }
.lb-ff-schalter.fest.an { background: #E5352B; }
.lb-ff-schalter.fest.an i { transform: translateX(11px); }
.lb-ff-schalter.magnet { width: 24px; height: 24px; }
.lb-ff-schalter.magnet svg { width: 17px; height: 17px; }
.lb-ff-schalter.magnet:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.lb-ff-schalter.magnet.an { color: #F3F2EF; background: rgba(229, 53, 43, .28); }
.lb-ff-schalter[hidden] { display: none; }
.lb-filterfenster.schnapp { animation: ff-schnapp .35s ease; }
@keyframes ff-schnapp { 40% { transform: scale(1.015); box-shadow: 0 0 0 2px #E5352B, 0 8px 24px rgba(0,0,0,.35); } }
/* Fokus außerhalb der Suche: Suchfeld oben in der Leiste */
.schwebe-hoch .fokus-q { display: block; width: 100%; box-sizing: border-box; margin: 4px 0 6px; padding: 9px 12px; font: inherit; font-size: .95rem; color: var(--text);
    background: var(--surface-raised); border: 1px solid var(--border-strong); border-radius: 10px; }
.schwebe-hoch .fokus-q:focus { outline: none; border-color: var(--brand); }

/* Beim Laden (js/frueh.js): Seiten, die zum Desktop werden, zeigen nur die Titelfläche und scrollen nicht */
html.desk-frueh, html.desk-frueh body { overflow: hidden; }
html.desk-frueh body > main > :not(.held) { visibility: hidden; }

/* Blende: Lightbox und Warenkorb als zwei große Quadrate (Ablageziele) direkt neben dem Griff, zusammen so hoch wie er (Größe setzt js/bewertung.js) */
.lb-ff-ziele { --ziel-s: 56px; flex: none; align-self: center; display: flex; flex-direction: column; gap: 8px; margin-right: 10px; }
.lb-ff-ziele .lb-ff-ziel { width: var(--ziel-s); height: var(--ziel-s); border-radius: 12px; border-width: 1.5px; }
.lb-ff-ziele .lb-ff-ziel img { width: 58%; height: 58%; }
.lb-filterfenster.zu .lb-ff-ziele { margin-right: 0; }

/* Viele Fenster im Dock: Fußleiste nur mit Symbolen (Namen im Tooltip), damit sie das Dock nie überlagert (js/shopfenster.js) */
body.desktop .footer.fuss-kompakt a span { display: none; }
body.desktop .footer.fuss-kompakt a { padding-left: 9px; padding-right: 9px; }
/* Open-Source-Hinweise: auf dem Desktop nicht in der Fußleiste (Platz), sondern im Startmenü unter „Rechtliches“ – das Menü liest den
   (ausgeblendeten) Verweis weiter aus der Fußleiste. Auf schmalen Bildschirmen ohne Startmenü bleibt er in der Fußleiste. */
body.desktop .footer a[data-win="oss"] { display: none; }

/* Paletten im Hochformat (Fokus und Blende gleich): Blende-Inhalt untereinander, Lightbox und Warenkorb als große Quadrate unter dem Kopf (auch eingerollt) */
.schwebe-hoch .lb-ff-ziele { --ziel-s: 72px; flex-direction: row; align-self: stretch; justify-content: flex-start; gap: 10px; margin: 0 0 8px; }
.schwebe-hoch.zu .lb-ff-ziele { margin: 4px 0 6px; }
.ist-blende.schwebe-hoch .lb-ff-zeile { flex-wrap: wrap; row-gap: 8px; }
.ist-blende.schwebe-hoch .bw-filter { flex-wrap: wrap; row-gap: 6px; }
.ist-blende.schwebe-hoch .lb-ff-aktionen { flex-direction: column; align-items: stretch; }
.ist-blende.schwebe-hoch .lb-ff-aktionen .lb-ff-aktion { justify-content: flex-start; }
/* Magnet übereinander: beide zusammen passen in die Höhe des Fensters */
.magnet-unter.schwebe-hoch .lb-ff-rolle > .lb-ff-inhalt { max-height: calc(50vh - 190px); }
/* Taste P: alle Paletten aus- und wieder einblenden */
html.ja-paletten-aus .lb-filterfenster { display: none !important; }
/* Hinweis nach dem Anmelden: gespeicherte Anordnung geladen, die von eben lässt sich übernehmen */
.pal-hinweis { position: fixed; left: 50%; bottom: 84px; z-index: 300000; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; transform: translate(-50%, 16px); opacity: 0;
    background: var(--surface-raised); color: var(--text); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); box-shadow: 0 12px 34px rgba(0,0,0,.45); font-size: .92rem; transition: opacity .25s, transform .25s; }
.pal-hinweis.an { opacity: 1; transform: translate(-50%, 0); }
.pal-hinweis-b { font: inherit; font-weight: 600; color: #fff; background: var(--brand-action); border: 0; border-radius: var(--radius-pill); padding: 7px 14px; cursor: pointer; }
.pal-hinweis-x { font: inherit; font-size: 1.2rem; line-height: 1; color: var(--text-muted); background: none; border: 0; padding: 4px 8px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .pal-hinweis { transition: none; } }

/* Fokus angedockt: fest am linken Rand des Fensters vom Inhalt bis unten, die Medien liegen rechts daneben (Breite setzt js/galerie.js als --fokus-w) */
.sf.fokus-dock > .sf-inhalt { margin-left: var(--fokus-w, 0px); }
.lb-filterfenster.angedockt { cursor: default; flex-direction: column; border-radius: 0 14px 0 0; border-left: 0; border-bottom: 0; box-shadow: 6px 0 18px rgba(0,0,0,.25); }
.angedockt .lb-ff-label { cursor: pointer; }
.angedockt .lb-ff-rolle { flex: 1 1 auto; min-height: 0; max-height: none !important; display: flex; flex-direction: column; }
.angedockt .lb-ff-rolle > .lb-ff-inhalt { flex: 1 1 auto; min-height: 0; max-height: none; }
/* eingerollt: schmale Leiste mit senkrechtem Schriftzug */
.lb-filterfenster.angedockt.zu { width: 46px; padding: 8px 4px; box-sizing: border-box; }
.angedockt.zu .lb-ff-label { flex-direction: column; height: auto; width: 100%; padding: 10px 0; gap: 10px; }
.angedockt.zu .lb-ff-wort { writing-mode: vertical-rl; transform: rotate(180deg); }
.angedockt.zu .lb-ff-schalter-reihe, .angedockt.zu .lb-ff-rolle { display: none; }
/* Anzahl an Lightbox und Warenkorb in der Blende (wie oben rechts) */
.lb-ff-ziel { position: relative; }
.lb-ff-ziel-n { position: absolute; top: 4px; right: 4px; min-width: 20px; height: 20px; padding: 0 6px; box-sizing: border-box; border-radius: 10px; background: var(--brand-action); color: var(--on-brand, #fff);
    font-size: .74rem; font-weight: 700; line-height: 20px; text-align: center; pointer-events: none; }
.lb-ff-ziel-n:empty { display: none; }

/* Jackie UI 1 – einheitliche Bedienelemente (jackie agentur Shop · Lightbox). Nur Darstellung; Markup und Funktionen bleiben unverändert. */
.lb-seite,.sf.fenster-lightbox{--jui-h:44px;--jui-h-klein:32px;--jui-r:999px;--jui-akzent:var(--brand-action);--jui-auf-akzent:var(--on-brand,#fff);--jui-flaeche:var(--surface);--jui-rand:var(--border-strong);--jui-text:var(--text);--jui-leise:var(--text-muted);--jui-gefahr:var(--error);--jui-aus:var(--border-strong);--jui-aus-text:var(--text);--jui-ring:color-mix(in srgb,var(--brand-action) 32%,transparent)}
.lb-seite .filter-btn.lb-korb-alle,.lb-seite .filter-btn:not(.lb-korb-alle),.sf.fenster-lightbox .filter-btn.lb-korb-alle,.sf.fenster-lightbox .filter-btn:not(.lb-korb-alle){box-sizing:border-box;min-height:var(--jui-h);padding:0 18px;border-radius:999px;border:1px solid var(--jui-rand);background:transparent;color:var(--jui-text);font-family:inherit;font-size:14.5px;font-weight:600;line-height:1.2;cursor:pointer;box-shadow:none;filter:none;transition:background-color .15s,border-color .15s,color .15s}
.lb-seite .filter-btn.lb-korb-alle:hover,.lb-seite .filter-btn:not(.lb-korb-alle):hover,.sf.fenster-lightbox .filter-btn.lb-korb-alle:hover,.sf.fenster-lightbox .filter-btn:not(.lb-korb-alle):hover{border-color:var(--jui-text);background:color-mix(in srgb,var(--jui-text) 7%,transparent);filter:none}
.lb-seite .filter-btn.lb-korb-alle:focus-visible,.lb-seite .filter-btn:not(.lb-korb-alle):focus-visible,.sf.fenster-lightbox .filter-btn.lb-korb-alle:focus-visible,.sf.fenster-lightbox .filter-btn:not(.lb-korb-alle):focus-visible{outline:2px solid var(--jui-akzent);outline-offset:2px}
.lb-seite .filter-btn.lb-korb-alle:disabled,.lb-seite .filter-btn:not(.lb-korb-alle):disabled,.lb-seite .filter-btn.lb-korb-alle[disabled],.lb-seite .filter-btn:not(.lb-korb-alle)[disabled],.sf.fenster-lightbox .filter-btn.lb-korb-alle:disabled,.sf.fenster-lightbox .filter-btn:not(.lb-korb-alle):disabled,.sf.fenster-lightbox .filter-btn.lb-korb-alle[disabled],.sf.fenster-lightbox .filter-btn:not(.lb-korb-alle)[disabled]{opacity:.45;cursor:not-allowed}
.lb-seite .filter-btn.lb-korb-alle,.sf.fenster-lightbox .filter-btn.lb-korb-alle{background:var(--jui-akzent);border-color:var(--jui-akzent);color:var(--jui-auf-akzent)}
.lb-seite .filter-btn.lb-korb-alle:hover,.sf.fenster-lightbox .filter-btn.lb-korb-alle:hover{background:color-mix(in srgb,var(--jui-akzent) 86%,#000);border-color:color-mix(in srgb,var(--jui-akzent) 86%,#000);color:var(--jui-auf-akzent)}
.lb-seite input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]):not([type=color]):not([type=submit]):not([type=button]):not(.sw),.lb-seite select,.lb-seite textarea,.sf.fenster-lightbox input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]):not([type=color]):not([type=submit]):not([type=button]):not(.sw),.sf.fenster-lightbox select,.sf.fenster-lightbox textarea{box-sizing:border-box;min-height:var(--jui-h);border-radius:var(--jui-r);border:1px solid var(--jui-rand);background-color:var(--jui-flaeche);color:var(--jui-text);font-family:inherit;font-size:14.5px;box-shadow:none}
.lb-seite input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]):not([type=color]):not([type=submit]):not([type=button]):not(.sw),.lb-seite select,.sf.fenster-lightbox input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]):not([type=color]):not([type=submit]):not([type=button]):not(.sw),.sf.fenster-lightbox select{padding-top:0;padding-bottom:0;padding-left:14px}
.lb-seite input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]):not([type=color]):not([type=submit]):not([type=button]):not(.sw),.sf.fenster-lightbox input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]):not([type=color]):not([type=submit]):not([type=button]):not(.sw){padding-right:14px}
.lb-seite textarea,.sf.fenster-lightbox textarea{padding:10px 14px;border-radius:10px;line-height:1.45}
.lb-seite input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]):not([type=color]):not([type=submit]):not([type=button]):not(.sw)::placeholder,.lb-seite textarea::placeholder,.sf.fenster-lightbox input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]):not([type=color]):not([type=submit]):not([type=button]):not(.sw)::placeholder,.sf.fenster-lightbox textarea::placeholder{color:var(--jui-leise);opacity:1}
.lb-seite input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]):not([type=color]):not([type=submit]):not([type=button]):not(.sw):focus,.lb-seite select:focus,.lb-seite textarea:focus,.sf.fenster-lightbox input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]):not([type=color]):not([type=submit]):not([type=button]):not(.sw):focus,.sf.fenster-lightbox select:focus,.sf.fenster-lightbox textarea:focus{outline:0;border-color:var(--jui-akzent);box-shadow:0 0 0 3px var(--jui-ring)}
.lb-seite input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]):not([type=color]):not([type=submit]):not([type=button]):not(.sw):disabled,.lb-seite select:disabled,.lb-seite textarea:disabled,.sf.fenster-lightbox input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=file]):not([type=color]):not([type=submit]):not([type=button]):not(.sw):disabled,.sf.fenster-lightbox select:disabled,.sf.fenster-lightbox textarea:disabled{opacity:.55;cursor:not-allowed}
.lb-seite .lbv-umschalter,.sf.fenster-lightbox .lbv-umschalter{border-radius:999px;padding:3px;gap:2px;background:transparent;box-shadow:inset 0 0 0 1px var(--jui-rand)}
.lb-seite .lbv-umschalter button.an,.sf.fenster-lightbox .lbv-umschalter button.an{color:var(--jui-text);background:color-mix(in srgb,var(--jui-akzent) 20%,transparent);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--jui-akzent) 55%,transparent)}
.sf.fenster-lightbox .sf-kopf{--jui-h:34px}
.lb-seite .lbv-umschalter button,.sf.fenster-lightbox .lbv-umschalter button{border-radius:999px}
.lb-seite .lb-ikon:focus-visible,.sf.fenster-lightbox .lb-ikon:focus-visible{outline:2px solid var(--jui-akzent);outline-offset:2px}
