/* ==========================================================================
   Caspar Container – Erweiterungen zum Template (style.css bleibt unverändert)
   Gleiche Tokens, gleiche Formensprache: Tiefsee, Signalgelb, Wellblech, Datenblatt.
   1 Bewegung · 2 Startseite/Hero · 3 Karten · 4 Popup & Schublade · 5 Formulare
   6 Angebot · 7 Verfolgung & Chat · 8 Inhalte · 9 Consent · 10 Responsive
   ========================================================================== */

/* 1 · Bewegung ------------------------------------------------------------ */
.einblenden { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.einblenden.sichtbar { opacity: 1; transform: none; }
.gestaffelt > .einblenden:nth-child(4n+2) { transition-delay: .08s; }
.gestaffelt > .einblenden:nth-child(4n+3) { transition-delay: .16s; }
.gestaffelt > .einblenden:nth-child(4n+4) { transition-delay: .24s; }
.kategorien .kat.einblenden:nth-child(2) { transition-delay: .08s; }
.kategorien .kat.einblenden:nth-child(3) { transition-delay: .16s; }
.kategorien .kat.einblenden:nth-child(4) { transition-delay: .22s; }
.kategorien .kat.einblenden:nth-child(5) { transition-delay: .28s; }
html:not(.js) .einblenden { opacity: 1; transform: none; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* 2 · Hero mit Hintergrundbild ------------------------------------------- */
.held--bild { background: var(--tiefsee); color: #fff; border-bottom: 0; padding: var(--s8) 0 calc(var(--s8) + 30px); isolation: isolate; }
.held-bg { position: absolute; inset: -4% 0 0; z-index: -3; overflow: hidden; }
.held-bg img { width: 100%; height: 110%; object-fit: cover; transform: scale(1.08); animation: kenburns 26s ease-in-out infinite alternate; will-change: transform; }
@keyframes kenburns { from { transform: scale(1.08) translate3d(0, 0, 0); } to { transform: scale(1.18) translate3d(-2%, -2%, 0); } }
.held-schleier { position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(100deg, rgba(10,26,51,.96) 0%, rgba(10,26,51,.86) 38%, rgba(10,26,51,.55) 70%, rgba(10,26,51,.35) 100%),
              linear-gradient(0deg, rgba(10,26,51,.85), transparent 45%); }
.held--ohnebild .held-schleier { background: radial-gradient(90% 70% at 85% 10%, rgba(30,52,72,.75), transparent 60%), var(--wellblech), linear-gradient(160deg, #132848, #0A1A33 60%); }
.held--bild h1 { color: #fff; }
.held--bild h1 .akzent { color: var(--signal); }
.held--bild .lead { color: #D5DDE9; }
.held--bild .held-fakten { border-color: rgba(255,255,255,.18); color: #AAB6C8; }
.held--bild .held-fakten strong { color: #fff; }
.held-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border: 1px solid rgba(226,6,44,.45); border-radius: 30px; color: var(--signal); font-size: 13.5px; font-weight: 600; margin-bottom: var(--s5); background: rgba(10,26,51,.35); backdrop-filter: blur(4px); opacity: 0; animation: einfliegen .7s .1s var(--ease) forwards; }
.held--bild .lead, .held--bild .aktionen, .held--bild .held-fakten { opacity: 0; animation: einfliegen .8s var(--ease) forwards; }
.held--bild .lead { animation-delay: .35s; } .held--bild .aktionen { animation-delay: .5s; } .held--bild .held-fakten { animation-delay: .65s; }
@keyframes einfliegen { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.knopf--hell { color: #fff; border-color: rgba(255,255,255,.55); }
.knopf--hell:hover { background: #fff; color: var(--tiefsee); border-color: #fff; }
.held--bild .kai { box-shadow: 0 40px 80px -30px rgba(3,6,12,.6); border: 1px solid rgba(255,255,255,.08); }
.held-welle { position: absolute; left: 0; right: 0; bottom: 0; height: 30px; background: var(--wellblech), var(--tiefsee-2); }
.held-welle::after { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 6px; background: repeating-linear-gradient(90deg, var(--signal) 0 18px, var(--tiefsee) 18px 36px); animation: kante 18s linear infinite; }
@keyframes kante { to { background-position: 360px 0; } }
.held-partikel { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.held-partikel i { position: absolute; bottom: -20px; width: 6px; height: 6px; border-radius: 1px; background: var(--signal); opacity: 0; animation: steigen 14s linear infinite; }
.held-partikel i:nth-child(1) { left: 8%; animation-delay: 0s; } .held-partikel i:nth-child(2) { left: 22%; animation-delay: 3s; width: 4px; height: 4px; }
.held-partikel i:nth-child(3) { left: 38%; animation-delay: 6s; } .held-partikel i:nth-child(4) { left: 55%; animation-delay: 1.5s; width: 3px; height: 3px; }
.held-partikel i:nth-child(5) { left: 71%; animation-delay: 8s; } .held-partikel i:nth-child(6) { left: 88%; animation-delay: 4.5s; width: 4px; height: 4px; }
@keyframes steigen { 0% { transform: translateY(0) rotate(0); opacity: 0; } 10% { opacity: .55; } 80% { opacity: .25; } 100% { transform: translateY(-110vh) rotate(160deg); opacity: 0; } }
.kai .laufkatze { animation: laufkatze 9s ease-in-out infinite; transform-box: fill-box; }
@keyframes laufkatze { 0%, 100% { transform: translateX(0); } 45% { transform: translateX(-110px); } 55% { transform: translateX(-110px); } }
.kai .blinker circle { animation: blinken 1.6s ease-in-out infinite; }
.kai .blinker circle + circle { animation-delay: .8s; }
@keyframes blinken { 50% { opacity: .15; } }
.kai .wasser { background-size: 100% 100%; animation: wellen 6s linear infinite; }
@keyframes wellen { to { background-position: 0 9px; } }
.route-karte .puls-punkt circle { transform-origin: 309px 234px; animation: radar 2.4s ease-out infinite; }
@keyframes radar { 0% { transform: scale(.4); opacity: .6; } 100% { transform: scale(2.4); opacity: 0; } }
.route-karte .staedte g { opacity: 0; transition: opacity .6s; }
.route-karte.sichtbar .staedte g { opacity: 1; }
.route-karte.sichtbar .staedte g:nth-child(2) { transition-delay: .1s; } .route-karte.sichtbar .staedte g:nth-child(3) { transition-delay: .2s; }
.route-karte.sichtbar .staedte g:nth-child(4) { transition-delay: .3s; } .route-karte.sichtbar .staedte g:nth-child(5) { transition-delay: .4s; }
.route-karte.sichtbar .staedte g:nth-child(6) { transition-delay: .5s; } .route-karte.sichtbar .staedte g:nth-child(7) { transition-delay: .6s; }
.route-karte.sichtbar .staedte g:nth-child(8) { transition-delay: .7s; } .route-karte.sichtbar .staedte g:nth-child(9) { transition-delay: .8s; }
.ablauf--animiert { border-top-color: transparent; position: relative; }
.ablauf--animiert::before { content: ""; position: absolute; left: 0; top: -2px; height: 2px; width: 0; background: var(--tiefsee); transition: width 1.6s var(--ease); }
.ablauf--animiert.sichtbar::before, .ablauf--animiert:has(.sichtbar)::before { width: 100%; }
.kat--ohnebild { background: var(--wellblech), linear-gradient(160deg, var(--hafen), var(--tiefsee)); }
.kat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, transparent 40%, rgba(226,6,44,.18) 50%, transparent 60%); transform: translateX(-100%); transition: transform .9s var(--ease); }
.kat:hover::after { transform: translateX(100%); }

/* 3 · Produktkarten ------------------------------------------------------- */
.pk { transition: box-shadow .3s var(--ease), transform .3s var(--ease); z-index: 0; }
.pk:hover { box-shadow: 0 24px 48px -24px rgba(10,26,51,.45); z-index: 1; }
.pk:hover .bildfeld svg { transform: translateY(-6px) scale(1.04); }
.pk .bildfeld--foto { padding: 0; }
.pk .bildfeld--foto::after { display: none; }
img.pk-foto { display: block; max-width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.pk .bildfeld .pk-foto { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pk:hover .bildfeld .pk-foto { transform: scale(1.07); }
.pk .pk-kurz { font-size: 14px; color: var(--tiefsee-2); margin: 0; }
.pk-knoepfe { display: flex; gap: 6px; position: relative; z-index: 3; }
.pk .merk, .merk-gross { color: var(--tiefsee); }
.pk .merk { width: 46px; height: 46px; border-radius: var(--r-s); border: 1px solid var(--linie); background: #fff; cursor: pointer; display: grid; place-items: center; transition: .15s; }
.pk .merk:hover { border-color: var(--tiefsee); }
[data-merk][aria-pressed="true"] svg { fill: var(--rost); color: var(--rost); }
[data-merk][aria-pressed="true"] svg path { fill: var(--rost); stroke: var(--rost); }
[data-merk].puls-herz svg { animation: herz .45s var(--ease); }
@keyframes herz { 40% { transform: scale(1.35); } }
.pk .inwk.hinzu { animation: puls .5s var(--ease); background: var(--gruen); color: #fff; }
.galerie .haupt .medium { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .4s; }
.galerie .haupt .medium.aktiv { opacity: 1; position: relative; width: 100%; height: 100%; }
.galerie .haupt .medium > svg { width: 82%; }
.galerie .haupt .medium img { width: 100%; height: 100%; object-fit: cover; }
.galerie .haupt .medium .masslinie { position: absolute; }
.p-zweit { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: var(--s3); }
.p-kauf .knopf[disabled] { opacity: .45; }
.inhalt-text h2 { font-size: 36px; margin-top: var(--s6); }
.inhalt-text h3 { font-size: 24px; margin-top: var(--s5); }
.inhalt-text ul, .inhalt-text ol { padding-left: 22px; }
.inhalt-text li { margin-bottom: 6px; }
.inhalt-text table { margin: var(--s3) 0 var(--s5); }
.inhalt-text .checkliste { padding-left: 0; }
.inhalt-text .stand { margin-top: var(--s6); font-size: 14px; }

/* 4 · Warenkorb-Popup & Schublade ---------------------------------------- */
.wk-popup { position: fixed; inset: 0; z-index: 190; display: grid; place-items: center; padding: 16px; background: rgba(10,26,51,.55); backdrop-filter: blur(3px); opacity: 0; transition: opacity .25s; }
.wk-popup[hidden] { display: none; }
.wk-popup.offen { opacity: 1; }
.wk-popup-karte { width: min(640px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: var(--r-m); box-shadow: 0 40px 90px -30px rgba(3,6,12,.55); transform: translateY(24px) scale(.98); transition: transform .35s var(--ease); display: flex; flex-direction: column; }
.wk-popup.offen .wk-popup-karte { transform: none; }
.wk-popup-kopf { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--linie); background: var(--nebel); }
.wk-popup-kopf h2 { font-size: 30px; margin: 0; }
.stempel-klein { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--gruen); color: var(--gruen); display: grid; place-items: center; animation: stempel .5s var(--ease) both; }
.wk-popup-neu { padding: 18px 22px; border-bottom: 1px solid var(--linie-2); }
.wk-popup-liste { padding: 4px 22px; }
.wk-popup-liste:empty { display: none; }
.wk-popup-liste h3 { font-family: var(--f-text); font-size: 13px; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; color: var(--stahl); margin: 14px 0 4px; }
.wk-zeile { display: grid; grid-template-columns: 96px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--linie-2); font-size: 14.5px; }
.wk-zeile:last-child { border-bottom: 0; }
.wk-zeile .bild { background: var(--nebel); border-radius: var(--r-s); padding: 8px; }
.wk-zeile .bild img { aspect-ratio: 4/3; object-fit: cover; width: 100%; border-radius: 2px; }
.wk-zeile b { display: block; font-size: 15.5px; }
.wk-zeile a { color: inherit; text-decoration: none; }
.wk-zeile .opt { color: var(--stahl); font-size: 13px; }
.wk-zeile .rechts { text-align: right; display: grid; gap: 6px; justify-items: end; }
.wk-zeile .rechts strong { font-size: 16px; white-space: nowrap; }
.wk-zeile--neu { animation: hereinziehen .5s var(--ease); }
@keyframes hereinziehen { from { opacity: 0; transform: translateX(-14px); } }
.menge--klein { grid-template-columns: 32px 40px 32px; height: 36px; }
.menge--klein button { font-size: 17px; }
.link-weg { border: 0; background: none; color: var(--stahl); font-size: 13px; text-decoration: underline; cursor: pointer; padding: 0; }
.link-weg:hover { color: var(--rot); }
.wk-popup-fuss { padding: 16px 22px 20px; border-top: 1px solid var(--linie); background: var(--nebel); position: sticky; bottom: 0; }
.wk-popup-summe { display: flex; justify-content: space-between; font-weight: 700; font-size: 18px; margin-bottom: 10px; }
.wk-popup-hinweis { font-size: 13.5px; color: var(--tiefsee-2); margin: 0 0 12px; padding: 10px 12px; background: #fff; border-left: 3px solid var(--signal); }
.wk-popup-knoepfe { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; }
.mini-pos .menge { margin-top: 6px; }
.zahlarten span[data-wartung] { opacity: .5; text-decoration: line-through; }

/* 5 · Formulare ----------------------------------------------------------- */
.adressfeld { position: relative; }
.adressvorschlag { position: absolute; left: 0; right: 0; top: 78px; z-index: 40; background: #fff; border: 1px solid var(--linie); border-radius: var(--r-m); box-shadow: 0 20px 50px -20px rgba(10,26,51,.4); overflow: hidden; }
.adressvorschlag[hidden] { display: none; }
.adressvorschlag button { display: grid; grid-template-columns: 22px 1fr; gap: 10px; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--linie-2); background: #fff; padding: 11px 14px; cursor: pointer; font-size: 14.5px; }
.adressvorschlag button:hover, .adressvorschlag button[aria-selected="true"] { background: var(--nebel); }
.adressvorschlag button svg { color: var(--hafen); margin-top: 2px; }
.adressvorschlag small { display: block; color: var(--stahl); }
.adressvorschlag .quelle { font-size: 11.5px; color: var(--stahl); padding: 6px 14px; background: var(--nebel); }
.feld.ok input { border-color: var(--gruen); }
.check--fehler span { color: var(--rot); }
.wahlkarte--wartung { cursor: not-allowed; }
.wahlkarte--wartung .innen { background: repeating-linear-gradient(135deg, #fff 0 12px, #F5F7FA 12px 24px); opacity: .8; }
.wahlkarte--wartung strong { color: var(--stahl); }
.wartung-badge { font-size: 12px; font-weight: 700; background: #FDE3E7; color: #78001A; padding: 4px 10px; border-radius: 20px; white-space: nowrap; }
.wahlliste.fehler .innen { border-color: var(--rot); }
.ablage { position: relative; border: 2px dashed var(--linie); border-radius: var(--r-m); background: var(--nebel); padding: 22px; text-align: center; transition: border-color .15s, background .15s; }
.ablage input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.ablage > span { display: inline-flex; gap: 10px; align-items: center; color: var(--tiefsee-2); font-weight: 600; font-size: 15px; pointer-events: none; }
.ablage.aktiv { border-color: var(--signal); background: #FFE8EB; }
.ablage ul { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.ablage li { background: #fff; border: 1px solid var(--linie); border-radius: 20px; padding: 4px 12px; font-size: 13px; }
.kopf-vorteile { list-style: none; padding: 0; margin: var(--s4) 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; font-weight: 600; }
.kopf-vorteile li { display: inline-flex; gap: 8px; align-items: center; }
.kopf-vorteile svg { color: var(--gruen); }
.seitenkopf--muster { position: relative; overflow: hidden; }
.seitenkopf--muster::after { content: ""; position: absolute; right: -40px; top: 0; bottom: 0; width: 42%; background: var(--wellblech), linear-gradient(90deg, rgba(236,238,242,0), var(--nebel)); opacity: .9; pointer-events: none; -webkit-mask: linear-gradient(90deg, transparent, #000 40%); mask: linear-gradient(90deg, transparent, #000 40%); }
.ablauf--kompakt { grid-template-columns: repeat(3, 1fr); margin-bottom: var(--s5); }
.ablauf--kompakt li::before { font-size: 44px; }
.ablauf--kompakt h3 { font-size: 22px; }
.filter-reset { color: var(--hafen); font-size: 14px; }
.chip-weg { border: 1px solid var(--linie); background: #fff; border-radius: 20px; padding: 5px 12px; font-size: 13.5px; text-decoration: none; color: var(--tiefsee); }
.chip-weg::after { content: " ×"; color: var(--stahl); }
.chip-weg:hover { border-color: var(--tiefsee); }

/* 6 · Angebotsanfrage ----------------------------------------------------- */
.zeilen { display: grid; gap: 10px; margin-bottom: var(--s4); }
.zeile-pos { display: grid; grid-template-columns: 110px 1fr 170px 90px 100px 36px; gap: 12px; align-items: end; padding: 12px; border: 1px solid var(--linie); border-radius: var(--r-m); background: #fff; animation: hereinziehen .4s var(--ease); }
.zeile-pos .feld { margin: 0; }
.zeile-pos .feld label { font-size: 12.5px; color: var(--stahl); }
.zeile-pos .feld select, .zeile-pos .feld input { height: 44px; }
.zeile-bild { align-self: center; height: 52px; display: grid; place-items: center; background: var(--nebel); border-radius: var(--r-s); padding: 6px; }
.zeile-bild svg { max-height: 40px; width: auto; }
.zeile-preis { align-self: center; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; padding-top: 18px; }
.zeile-weg { align-self: center; margin-top: 18px; width: 36px; height: 36px; border: 0; background: none; border-radius: var(--r-s); cursor: pointer; color: var(--stahl); display: grid; place-items: center; }
.zeile-weg:hover { background: #F7DEDC; color: var(--rot); }
.zeile-farbe[hidden] { display: grid !important; visibility: hidden; }
.anfrage-buehne { height: 120px; margin: 0 -24px 18px; background: linear-gradient(180deg, #132848, #0A1A33); position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; gap: 4px; padding: 0 16px 20px; }
.anfrage-buehne::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: #3A5361; border-top: 3px solid #465D81; }
.anfrage-buehne svg { height: 36px; width: auto; position: relative; z-index: 1; animation: absenken .9s var(--ease) both; }
.anfrage-buehne .leer { color: #9DABC2; font-size: 13.5px; align-self: center; margin: auto; z-index: 1; }
.anfrage-summe .gesamt { font-size: 20px; }
.anfrage-ablauf { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--linie); }
.anfrage-ablauf h3 { font-size: 22px; }
.anfrage-ablauf ol { padding-left: 20px; margin: 0; font-size: 14.5px; color: var(--tiefsee-2); display: grid; gap: 6px; }

/* 7 · Verfolgung & Chat --------------------------------------------------- */
.verfolgung-start { position: relative; background: var(--tiefsee); color: #F1F4F8; overflow: hidden; padding: var(--s8) 0 var(--s9); isolation: isolate; }
.verfolgung-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 85% 20%, rgba(30,52,72,.7), transparent 60%), var(--wellblech); }
.verfolgung-bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(90deg, var(--signal) 0 18px, var(--tiefsee) 18px 36px); }
.verfolgung-raster { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s8); align-items: center; }
.verfolgung-start h1 { color: #fff; font-size: clamp(46px, 5.6vw, 84px); }
.verfolgung-start .lead { color: #BFCADB; }
.verfolgung-start .brotkrumen a { color: #9DABC2; }
.verfolgung-punkte { list-style: none; padding: 0; margin: var(--s6) 0 0; display: grid; gap: 14px; }
.verfolgung-punkte li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.verfolgung-punkte svg { width: 44px; height: 44px; padding: 10px; background: rgba(226,6,44,.12); color: var(--signal); border-radius: var(--r-s); }
.verfolgung-karte { background: #fff; color: var(--tiefsee); border-radius: var(--r-m); padding: var(--s6); box-shadow: 0 40px 80px -30px rgba(3,6,12,.6); position: relative; }
.verfolgung-karte::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--signal); border-radius: var(--r-m) 0 0 var(--r-m); }
.verfolgung-karte h2 { font-size: 36px; }
.nummernfeld { font-family: var(--f-display) !important; font-size: 26px !important; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; height: 60px !important; }
.zuletzt { margin-top: var(--s5); border-top: 1px solid var(--linie); padding-top: var(--s4); }
.zuletzt h3 { font-family: var(--f-text); font-size: 14px; font-weight: 650; color: var(--stahl); margin-bottom: 8px; }
.zuletzt a { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--linie-2); color: var(--tiefsee); text-decoration: none; }
.vorgang-kopf { padding-bottom: var(--s6); }
.vorgang-titel { display: flex; justify-content: space-between; align-items: end; gap: var(--s5); flex-wrap: wrap; }
.vorgang-art { font-weight: 650; color: var(--hafen); margin: 0 0 6px; font-size: 15px; text-transform: uppercase; letter-spacing: .05em; }
.vorgang-nummer { font-size: clamp(38px, 5vw, 64px) !important; letter-spacing: .03em; margin-bottom: 8px !important; cursor: copy; }
.vorgang-status { display: flex; align-items: center; gap: var(--s5); }
.status--gross { font-size: 15px; padding: 7px 16px; }
.status[data-s="pending"] { background: #E4ECF6; color: #24497A; }
.status[data-s="quote_sent"] { background: #FDE3E7; color: #78001A; }
.status[data-s="accepted"] { background: #E9E3F6; color: #4B3786; }
.status[data-s="invoiced"] { background: #FFCCD3; color: #7A4A00; }
.status[data-s="paid"] { background: #DCEFE3; color: #1F5C39; }
.status[data-s="shipped"] { background: #FBE5E9; color: #8D1727; }
.status[data-s="delivered"] { background: #DCEFE3; color: #1F5C39; }
.status[data-s="answered"] { background: #DCEFE3; color: #1F5C39; }
.status[data-s="closed"] { background: var(--nebel); color: var(--stahl); }
.status[data-s="cancelled"] { background: #F7DEDC; color: #8C1D18; }
.vorgang-betrag small { display: block; color: var(--stahl); font-size: 13px; }
.vorgang-betrag b { font-family: var(--f-display); font-size: 40px; font-weight: 800; line-height: 1; }
.verlauf--gross { margin-top: var(--s6); }
.verlauf--gross li { font-size: 14.5px; }
.verlauf li[data-jetzt]::after { box-shadow: 0 0 0 0 rgba(226,6,44,.6); animation: ring 2s infinite; }
@keyframes ring { 70% { box-shadow: 0 0 0 10px rgba(226,6,44,0); } 100% { box-shadow: 0 0 0 0 rgba(226,6,44,0); } }
.vorgang-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: var(--s5); padding-block: var(--s6) var(--s9); align-items: start; }
.vorgang-seite .konto-panel h2 { font-size: 28px; }
.panel-signal { border: 2px solid var(--signal); background: #FFEEF0; }
.chat-karte { background: #fff; border: 1px solid var(--linie); border-radius: var(--r-m); display: flex; flex-direction: column; min-height: 560px; position: sticky; top: calc(var(--kopf-h) + 20px); max-height: calc(100vh - var(--kopf-h) - 40px); }
.chat-kopf { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--linie); }
.chat-kopf h2 { font-size: 30px; margin: 0; }
.chat-live { font-size: 13px; color: var(--stahl); display: inline-flex; gap: 8px; align-items: center; }
.chat-live i { width: 8px; height: 8px; border-radius: 50%; background: #5BD18B; box-shadow: 0 0 0 3px rgba(91,209,139,.2); animation: blinken 2s infinite; }
.chat-verlauf { flex: 1; overflow-y: auto; padding: 22px; display: flex; flex-direction: column; gap: 16px; background: linear-gradient(180deg, #FAF8F3, #fff 120px); scroll-behavior: smooth; }
.chat-leer { margin: auto; text-align: center; color: var(--stahl); max-width: 26em; }
.nachricht { max-width: 82%; display: grid; gap: 4px; animation: hereinziehen .35s var(--ease); }
.nachricht--customer { align-self: flex-end; justify-items: end; }
.nachricht--admin, .nachricht--system { align-self: flex-start; }
.nachricht--system { max-width: 100%; align-self: center; justify-items: center; }
.nachricht .blase { padding: 12px 16px; border-radius: 14px; font-size: 15.5px; line-height: 1.5; overflow-wrap: anywhere; }
.nachricht--customer .blase { background: var(--tiefsee); color: #fff; border-bottom-right-radius: 4px; }
.nachricht--customer .blase a { color: var(--signal); }
.nachricht--admin .blase { background: var(--nebel); border: 1px solid var(--linie-2); border-bottom-left-radius: 4px; position: relative; }
.nachricht--admin .blase::before { content: ""; position: absolute; left: -1px; top: 12px; bottom: 12px; width: 3px; background: var(--signal); border-radius: 2px; }
.nachricht--system .blase { background: #FFE8EB; border: 1px dashed #E8CF7A; font-size: 14px; text-align: center; }
.nachricht .meta { font-size: 12px; color: var(--stahl); }
.anhaenge { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.nachricht .blase .text + .anhaenge { margin-top: 10px; }
.anhang { display: inline-flex; gap: 10px; align-items: center; padding: 8px 12px; border-radius: var(--r-s); background: rgba(255,255,255,.9); border: 1px solid var(--linie); color: var(--tiefsee) !important; text-decoration: none; font-size: 13.5px; max-width: 260px; }
.anhang span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: grid; }
.anhang small { color: var(--stahl); font-size: 11.5px; }
.anhang--bild { flex-direction: column; align-items: stretch; padding: 4px; gap: 4px; }
.anhang--bild img { width: 200px; height: 140px; object-fit: cover; border-radius: 2px; }
.anhang--bild span { padding: 0 6px 4px; }
.chat-eingabe { border-top: 1px solid var(--linie); padding: 14px 16px; background: #fff; border-radius: 0 0 var(--r-m) var(--r-m); }
.chat-eingabe textarea { width: 100%; border: 1px solid var(--linie); border-radius: var(--r-s); padding: 12px 14px; resize: none; min-height: 52px; max-height: 200px; font-size: 15.5px; }
.chat-eingabe textarea:focus { outline: none; border-color: var(--tiefsee); box-shadow: 0 0 0 3px rgba(226,6,44,.35); }
.chat-eingabe.ziehen textarea { border-color: var(--signal); background: #FFE8EB; }
.chat-leiste { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.chat-hinweis { font-size: 12.5px; flex: 1; }
.chat-anhang { cursor: pointer; border: 1px solid var(--linie); }
.chat-dateien { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-dateien:not(:empty) { margin-top: 10px; }
.chat-datei { display: inline-flex; gap: 6px; align-items: center; background: var(--nebel); border-radius: 20px; padding: 4px 6px 4px 12px; font-size: 13px; }
.chat-datei button { border: 0; background: #fff; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; line-height: 1; }
.chat-geschlossen { padding: 16px 22px; color: var(--stahl); border-top: 1px solid var(--linie); margin: 0; }
.chat-eingabe .knopf[disabled] { opacity: .5; }
.dokumente { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dokumente a { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--linie); border-radius: var(--r-s); text-decoration: none; color: var(--tiefsee); transition: .15s; }
.dokumente a:hover { border-color: var(--tiefsee); background: var(--nebel); }
.dokumente b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dokumente small { color: var(--stahl); font-size: 13px; }
.dok-symbol { width: 44px; height: 44px; display: grid; place-items: center; background: var(--tiefsee); color: var(--signal); border-radius: var(--r-s); }
.dokumente--klein a { grid-template-columns: 34px 1fr auto; padding: 8px 10px; }
.dokumente--klein .dok-symbol { width: 34px; height: 34px; background: var(--nebel); color: var(--hafen); }
.bankbox { background: var(--tiefsee); color: #F1F4F8; border: 0; background-image: var(--wellblech); }
.bankbox h2, .bankbox h3 { color: #fff; }
.bankbox dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; font-size: 15px; }
.bankbox dt { color: #9DABC2; }
.bankbox dd { margin: 0; overflow-wrap: anywhere; }
.bankbox dd strong { color: var(--signal); }
.bestaetigung .bankbox { padding: var(--s5); border-radius: var(--r-m); margin-top: var(--s5); text-align: left; }
.pos-liste li span:first-child small { display: block; }
.summen-klein { display: grid; grid-template-columns: 1fr auto; gap: 6px; margin: 12px 0 0; font-size: 15px; }
.summen-klein dd { margin: 0; text-align: right; }
.summen-klein .gesamt { font-weight: 700; border-top: 2px solid var(--tiefsee); padding-top: 8px; }
.adressen--eins { grid-template-columns: 1fr; }
[data-kopieren] { cursor: copy; }
.bestaetigung-klein { text-align: center; }
.bestaetigung-klein .stempel { width: 96px; height: 96px; margin: 0 auto var(--s4); border: 4px solid var(--gruen); border-radius: 50%; display: grid; place-items: center; color: var(--gruen); transform: rotate(-8deg); animation: stempel .5s var(--ease) both; }
.bestaetigung-klein table { text-align: left; margin-bottom: var(--s4); }

/* 8 · Inhalte, Karten, Kontakt ------------------------------------------- */
.karte-zweiklick { height: 380px; display: grid; place-items: center; text-align: center; background: var(--wellblech), linear-gradient(160deg, var(--hafen), var(--tiefsee)); color: #F1F4F8; padding: 24px; }
.karte-zweiklick svg { margin: 0 auto 10px; color: var(--signal); }
.karte-zweiklick p { max-width: 26em; font-size: 14.5px; color: #BFCADB; }
.bildband--ohnebild { background: var(--wellblech), linear-gradient(160deg, var(--hafen), var(--tiefsee)); }
.kontaktweg--signal { background: var(--signal); border-color: var(--signal); }
.kontaktweg--signal p { margin-bottom: 12px; }
.rechtsseite nav a[aria-current="page"] { background: #fff; box-shadow: inset 3px 0 0 var(--signal); }
.toast { max-width: calc(100vw - 32px); }
.toast[data-typ="fehler"] { background: var(--rot); }

/* 9 · Consent ------------------------------------------------------------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 180; display: flex; justify-content: center; pointer-events: none; }
.consent[hidden] { display: none; }
.consent-karte { pointer-events: auto; width: min(760px, 100%); background: #fff; border-radius: var(--r-m); box-shadow: 0 30px 70px -20px rgba(10,26,51,.55); padding: 22px 24px; border-top: 5px solid var(--signal); animation: einfliegen .5s var(--ease); }
.consent-karte h2 { font-size: 28px; margin-bottom: 8px; }
.consent-karte p { font-size: 14.5px; color: var(--tiefsee-2); }
.consent-optionen { display: grid; gap: 4px; margin-bottom: 14px; padding: 12px 14px; background: var(--nebel); border-radius: var(--r-s); }
.consent-optionen .check { font-size: 14px; margin-bottom: 6px; }
.consent-knoepfe { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

/* 10 · Responsive --------------------------------------------------------- */
@media (max-width: 1100px) {
  .vorgang-layout { grid-template-columns: 1fr; }
  .chat-karte { position: static; max-height: none; }
  .chat-verlauf { max-height: 70vh; }
  .verfolgung-raster { grid-template-columns: 1fr; gap: var(--s6); }
  .zeile-pos { grid-template-columns: 80px 1fr 1fr; }
  .zeile-pos .zeile-menge { grid-column: 2; }
}
@media (max-width: 860px) {
  .held--bild { padding-top: var(--s7); }
  .wk-zeile { grid-template-columns: 70px 1fr; }
  .wk-zeile .rechts { grid-column: 1 / -1; grid-template-columns: auto auto auto; justify-content: space-between; align-items: center; }
  .wk-popup-knoepfe { grid-template-columns: 1fr; }
  .wk-popup-kopf h2 { font-size: 24px; }
  .ablauf--kompakt { grid-template-columns: 1fr; }
  .zeile-pos { grid-template-columns: 1fr 1fr; }
  .zeile-pos .zeile-bild { display: none; }
  .zeile-pos > .feld:first-of-type { grid-column: 1 / -1; }
  .zeile-pos .zeile-menge { grid-column: auto; }
  .zeile-preis { text-align: left; }
  .vorgang-status { width: 100%; justify-content: space-between; }
  .nachricht { max-width: 94%; }
  .anhang--bild img { width: 160px; height: 110px; }
  .seitenkopf--muster::after { display: none; }
  .consent-knoepfe .knopf { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .einblenden { opacity: 1 !important; transform: none !important; }
  .held-bg img, .held-partikel i, .kai .laufkatze { animation: none !important; }
}

/* Positionsliste (Verfolgung) */
.pos-liste { list-style: none; margin: 0; padding: 0; }
.pos-liste li { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--linie-2); font-size: 15px; }
.pos-liste li > span:last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.pos-liste small { color: var(--stahl); font-size: 13px; }
.rechner .ergebnis .betrag.puls-betrag { animation: ruck .45s var(--ease); }

/* ---------- Titres plus discrets, textes courts « Mehr anzeigen », descriptions mises en forme ---------- */
.pk .pk-kurz { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.pk .pk-mehr { display: inline-block; margin-top: 4px; font-size: 13.5px; font-weight: 700; color: var(--tiefsee); text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 3px; }
.lead-box { margin-bottom: var(--s4); }
.lead-box .lead { font-size: 17px; margin: 0; }
.lead-box .lead--kurz { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.mehr-link { margin-top: 8px; padding: 0; border: 0; background: none; font: inherit; font-size: 15px; font-weight: 700; color: var(--tiefsee); text-decoration: underline; text-decoration-color: var(--signal); text-decoration-thickness: 2px; text-underline-offset: 4px; cursor: pointer; }
.mehr-link:hover { color: var(--signal-dunkel, #B98A00); }
.inhalt-text { max-width: 860px; font-size: 16px; line-height: 1.65; }
.inhalt-text h3 { font-size: 20px; line-height: 1.25; margin: var(--s5) 0 var(--s2); }
.inhalt-text > h3:first-child { margin-top: 0; }
.inhalt-text p { margin: 0 0 var(--s3); }
.inhalt-text ul { margin: 0 0 var(--s4); }
.inhalt-text li { margin-bottom: 8px; }
.inhalt-text ul.eigenschaften { list-style: none; padding: 0; border-top: 1px solid var(--linie, #CCD6E4); }
.inhalt-text ul.eigenschaften li { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--linie, #CCD6E4); }

/* ---------- Galerie plein écran (fiche produit) ---------- */
.galerie .haupt .medium img { cursor: zoom-in; }
.galerie .lupe { position: absolute; right: 14px; bottom: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(10,26,51, .78); color: #fff; display: grid; place-items: center; cursor: pointer; }
.galerie .lupe:hover { background: var(--tiefsee, #0A1A33); }
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(8, 20, 27, .94); display: grid; grid-template-rows: auto 1fr auto; color: #fff; opacity: 0; transition: opacity .25s; }
.lightbox.offen { opacity: 1; }
.lightbox[hidden] { display: none; }
.lightbox .lb-kopf { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 14px; }
.lightbox .lb-buehne { position: relative; display: grid; place-items: center; overflow: hidden; touch-action: pan-y; }
.lightbox .lb-buehne img { max-width: calc(100vw - 140px); max-height: calc(100vh - 190px); object-fit: contain; user-select: none; transition: transform .25s; }
.lightbox .lb-buehne img.zoom { transform: scale(1.8); cursor: zoom-out; }
.lightbox button { border: 0; background: rgba(255, 255, 255, .12); color: #fff; border-radius: 50%; width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer; font-size: 22px; }
.lightbox button:hover, .lightbox button:focus-visible { background: rgba(255, 255, 255, .25); outline: none; }
.lightbox .lb-vor, .lightbox .lb-zur { position: absolute; top: 50%; transform: translateY(-50%); }
.lightbox .lb-zur { left: 18px; } .lightbox .lb-vor { right: 18px; }
.lightbox .lb-leiste { display: flex; gap: 8px; justify-content: center; padding: 12px; overflow-x: auto; }
.lightbox .lb-leiste button { width: 72px; height: 54px; border-radius: 4px; padding: 0; overflow: hidden; opacity: .55; flex: 0 0 auto; background: none; }
.lightbox .lb-leiste button[aria-current="true"] { opacity: 1; outline: 2px solid var(--signal, #E2062C); }
.lightbox .lb-leiste img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) {
  .lightbox .lb-buehne img { max-width: 100vw; max-height: calc(100vh - 170px); }
  .lightbox .lb-vor, .lightbox .lb-zur { width: 40px; height: 40px; }
  .lightbox .lb-zur { left: 6px; } .lightbox .lb-vor { right: 6px; }
}
body.lb-offen { overflow: hidden; }

/* Accueil : 6 tuiles de catégories (grille 3 × 2 régulière) */
.kategorien--6 { grid-template-columns: repeat(3, 1fr); grid-template-rows: 280px 280px; }
.kategorien--6 .kat:first-child { grid-row: auto; grid-column: auto; }
.kategorien--6 .kat h3, .kategorien--6 .kat:first-child h3 { font-size: 34px; }
.kategorien .kat.einblenden:nth-child(6) { transition-delay: .34s; }
@media (max-width: 1000px) { .kategorien--6 { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 220px); } }
@media (max-width: 640px) { .kategorien--6 { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 200px; } .kategorien--6 .kat h3, .kategorien--6 .kat:first-child h3 { font-size: 28px; } }
.galerie .haupt .medium:not(.aktiv) { pointer-events: none; }
/* la colonne galerie ne doit jamais élargir la page (photos larges sur mobile) */
.produkt > * { min-width: 0; }
.galerie, .galerie .haupt { max-width: 100%; }
.galerie .haupt .medium.aktiv img { max-width: 100%; }
.lightbox { background: rgba(8, 20, 27, .97); }
.liefer-check { flex-wrap: wrap; min-width: 0; }
.liefer-check input { min-width: 0; flex: 1 1 140px; }
.liefer-check .leise { flex-basis: 100%; }
.lead-rest { font-size: 16px; padding: 4px 0 2px; }
.lead-rest h3 { font-size: 18px; margin-top: var(--s4); }
.lead-rest > :first-child { margin-top: 0; }
.lead-rest[hidden] { display: none; }
/* résumé rédigé : affiché en entier, la description complète se déplie dessous */
.lead-box--eigen .lead--kurz { display: block; -webkit-line-clamp: unset; overflow: visible; }
.lead-box--eigen .lead-rest { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--linie, #CCD6E4); }

/* Un bouton masqué (attribut hidden) reste masqué, même avec .knopf { display:inline-flex } */
.knopf[hidden], [data-popup-angebot][hidden], [data-wk-angebot][hidden] { display: none !important; }
