/*
 * 3D-Konfigurator. Baut auf gemeinsam/basis.css auf (Archivo, Gelb als Aktionsfarbe).
 * Aufbau wie ein Produkt-Konfigurator: große 3D-Bühne, daneben ruhige Auswahlkarten, unten die Preisleiste.
 * Telefon: Bühne klebt oben, Auswahl darunter. Ab 980 px: Bühne links, Auswahl rechts.
 */
:root {
  --kopf: 52px; --leiste: 76px;
  --tinte: #1d1d1f; --grau: #6e6e73; --linie: #d2d2d7; --flaeche: #f5f5f7; --wahl: #111113;
  --glas: rgba(22, 22, 24, .58);
}

body.konf { background: var(--weiss); color: var(--tinte); padding-bottom: calc(var(--leiste) + env(safe-area-inset-bottom)); }
body.konf.abgeschickt { --leiste: 0px; padding-bottom: 0; }
.k-kopf {
  position: sticky; top: 0; z-index: 30; height: var(--kopf); padding: 0 var(--abstand);
  display: flex; align-items: center; gap: 16px;
  background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.k-kopf .kopf-logo { height: 22px; }
.k-kopf .kopf-titel { color: var(--grau); }
.eingebettet .k-kopf { display: none; }
.eingebettet { --kopf: 0px; }

/* ───────── Bühne ───────── */
.k-buehne {
  position: sticky; top: var(--kopf); z-index: 20; height: 46vh; min-height: 270px;
  background: linear-gradient(#6f9fd8, #dfe6ee); overflow: hidden;
}
.k-buehne canvas { display: block; width: 100%; height: 100%; touch-action: none; cursor: grab; outline-offset: -3px; }
.k-buehne canvas:active { cursor: grabbing; }
.k-buehne::after { content: ''; position: absolute; inset: auto 0 0 0; height: 96px; background: linear-gradient(transparent, rgba(0, 0, 0, .28)); pointer-events: none; }
.k-schild {
  position: absolute; left: 12px; top: 12px; display: flex; flex-direction: column; gap: 1px; pointer-events: none; z-index: 2;
  padding: 8px 14px; border-radius: 14px; background: var(--glas); color: var(--weiss);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.k-schild b { font-family: var(--schrift-fett); font-weight: 400; font-size: 15px; letter-spacing: .3px; }
.k-schild span { font-size: 12px; color: #dcdcdc; }

.k-werkzeuge { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.k-werkzeug-zeile { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; pointer-events: auto; }
.k-mehr { display: none; }
.k-mehr.offen { display: flex; animation: k-auf .22s ease-out both; }
.k-mehr-knopf button[aria-expanded=true] { background: var(--weiss); color: var(--tinte); }
@keyframes k-auf { from { opacity: 0; transform: translateY(8px); } }
.k-gruppe-knoepfe { display: flex; padding: 3px; border-radius: 22px; background: var(--glas); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.k-gruppe-knoepfe button {
  min-height: 36px; padding: 0 12px; border-radius: 18px; border: 0; background: transparent; color: var(--weiss);
  font-size: 13px; font-weight: 600; transition: background .15s, color .15s;
}
.k-gruppe-knoepfe button:hover { background: rgba(255, 255, 255, .16); }
.k-gruppe-knoepfe button[aria-pressed=true] { background: var(--weiss); color: var(--tinte); }
.k-gruppe-knoepfe button:focus-visible { outline: 3px solid var(--gelb); outline-offset: 1px; }

.k-laden {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 10px; z-index: 4;
  background: rgba(10, 12, 16, .35); color: var(--weiss); font-weight: 600; font-size: 14px;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.k-laden.an { opacity: 1; }
.k-tipp { position: absolute; left: 0; right: 0; bottom: 64px; margin: 0; text-align: center; font-size: 12px; color: var(--weiss); text-shadow: 0 1px 3px rgba(0, 0, 0, .6); transition: opacity .4s; pointer-events: none; z-index: 2; display: none; }
.k-tipp.weg { opacity: 0; }
.k-ohne-3d { position: absolute; inset: 0; z-index: 6; display: grid; place-items: center; padding: 24px; background: #1a1a18; color: var(--weiss); text-align: center; }

/* Infopunkte */
.k-marken { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; }
.k-marke {
  position: absolute; left: -16px; top: -16px; height: 32px; padding: 0 12px 0 3px; border-radius: 16px; pointer-events: auto;
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, .55); background: rgba(22, 22, 24, .55); color: var(--weiss);
  font: 600 13px/1 var(--schrift, system-ui, sans-serif); letter-spacing: .1px;
  -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .22); transition: background .15s, transform .08s linear;
}
.k-marke-plus { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--weiss); color: #161618; font-size: 17px; font-weight: 600; line-height: 1; padding-bottom: 1px; animation: puls 2.6s ease-out infinite; }
.k-marke:hover { background: var(--wahl); }
.k-marke:focus-visible { outline: 3px solid var(--gelb); outline-offset: 2px; }
@keyframes puls { 0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(255, 255, 255, 0); } }

/* Karte am „+“: Auswahl direkt am Bauteil */
.k-info {
  position: absolute; left: 12px; right: 12px; bottom: 64px; z-index: 5; display: flex; flex-direction: column; max-height: calc(100% - 76px);
  border-radius: 18px; overflow: hidden; background: rgba(255, 255, 255, .93); color: var(--tinte);
  -webkit-backdrop-filter: blur(22px) saturate(1.4); backdrop-filter: blur(22px) saturate(1.4); box-shadow: 0 12px 40px rgba(0, 0, 0, .28);
  animation: k-auf .22s ease-out both;
}
.k-info-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 4px 16px; }
.k-info h3 { font-size: 16px; margin: 0; letter-spacing: -.1px; }
.k-info-zu { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .08); font-size: 18px; line-height: 1; color: var(--tinte); }
.k-info-zu:hover { background: rgba(0, 0, 0, .16); }
.k-info-inhalt { overflow-y: auto; overscroll-behavior: contain; padding: 2px 16px 14px; display: flex; flex-direction: column; gap: 12px; min-height: 0; }
.k-teil { min-width: 0; }
.k-teil > p { margin: 0 0 6px; font-size: 12px; font-weight: 700; color: var(--grau); }
.k-chips { display: flex; gap: 6px; overflow-x: auto; margin: 0 -16px; padding: 2px 16px; scrollbar-width: none; }
.k-chips::-webkit-scrollbar { display: none; }
.k-chip {
  flex: none; display: inline-flex; flex-direction: column; justify-content: center; min-height: 38px; padding: 4px 14px; border-radius: 19px; cursor: pointer;
  border: 1px solid var(--linie); background: var(--weiss); color: var(--tinte); font-size: 13.5px; font-weight: 600; line-height: 1.15; text-align: left; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s;
}
.k-chip small { font-size: 10.5px; font-weight: 500; color: var(--grau); }
.k-chip[aria-pressed=true] { background: var(--wahl); border-color: var(--wahl); color: var(--weiss); }
.k-chip[aria-pressed=true] small { color: #c7c7cc; }
.k-chip:disabled { opacity: .45; }
.k-chip:focus-visible, .k-chip:focus-within, .k-tupfer button:focus-visible, .k-schalter:focus-visible { outline: 3px solid var(--gelb); outline-offset: 2px; }
.k-tupfer { display: flex; flex-wrap: wrap; gap: 10px; padding: 3px; }
.k-tupfer button { width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .12); transition: box-shadow .15s; }
.k-tupfer button[aria-pressed=true] { box-shadow: inset 0 1px 3px rgba(0, 0, 0, .35), 0 0 0 2px var(--weiss), 0 0 0 4px var(--wahl); }
.k-schalter { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 0; border: 0; background: none; text-align: left; color: var(--tinte); }
.k-schalter b { display: block; font-size: 14px; font-weight: 700; line-height: 1.2; }
.k-schalter small { font-size: 12px; color: var(--grau); }
.k-schalter i { flex: none; position: relative; width: 44px; height: 26px; border-radius: 13px; background: #d1d1d6; transition: background .18s; }
.k-schalter i::after { content: ''; position: absolute; left: 2px; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: var(--weiss); box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .18s; }
.k-schalter[aria-checked=true] i { background: var(--wahl); }
.k-schalter[aria-checked=true] i::after { transform: translateX(18px); }
.k-logozeile { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 8px; }
.k-logozeile img { width: 54px; height: 38px; object-fit: contain; border-radius: 8px; background: repeating-conic-gradient(#e9e9ec 0 25%, #fff 0 50%) 0 0 / 10px 10px; box-shadow: 0 0 0 1px var(--linie); }
.k-logozeile small { font-size: 12px; color: var(--grau); }
.k-logozeile .knopf-text { min-height: 38px; font-size: 13px; }
.k-info details { border-top: 1px solid var(--linie); padding-top: 8px; }
.k-info summary { font-size: 12.5px; font-weight: 700; color: var(--grau); cursor: pointer; }
.k-info ul { margin: 6px 0 0; padding-left: 16px; font-size: 12.5px; line-height: 1.4; color: #3a3a3c; }
.k-info .k-fehler { margin: 0; font-size: 12.5px; }

/* Galerie mit Renderings */
.k-galerie { position: absolute; inset: 0; z-index: 2; background: #0c0d0f; }
.k-galerie img { width: 100%; height: 100%; object-fit: cover; }
.k-galerie-pfeil {
  position: absolute; top: 50%; margin-top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--glas); color: var(--weiss); font-size: 26px; line-height: 1; padding: 0 0 4px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.k-galerie-pfeil.links { left: 12px; } .k-galerie-pfeil.rechts { right: 12px; }
.k-galerie-pfeil:hover { background: rgba(22, 22, 24, .8); }
.k-galerie-fuss { position: absolute; left: 0; right: 0; bottom: 60px; display: flex; flex-direction: column; align-items: center; gap: 6px; color: var(--weiss); text-shadow: 0 1px 4px rgba(0, 0, 0, .7); pointer-events: none; }
.k-galerie-fuss p { margin: 0; font-size: 13.5px; font-weight: 600; text-align: center; padding: 0 60px; }
.k-galerie-punkte { display: flex; gap: 6px; }
.k-galerie-punkte span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .45); }
.k-galerie-punkte span.an { background: var(--weiss); }
.k-galerie-art { position: absolute; right: 14px; bottom: -44px; font-size: 11px; opacity: .8; }

/* ───────── Auswahl ───────── */
.k-optionen { padding: 26px var(--abstand) 32px; min-width: 0; }
.k-titel { font-family: var(--schrift-fett); font-weight: 400; font-size: clamp(28px, 6.4vw, 38px); line-height: 1.05; letter-spacing: -.4px; margin: 0 0 10px; color: var(--tinte); text-wrap: balance; }
.k-titel:focus { outline: none; }
.k-untertitel { font-size: 16px; line-height: 1.5; color: var(--grau); margin: 0; max-width: 34em; }

.k-schritt { border: 0; padding: 44px 0 0; margin: 0; min-width: 0; scroll-margin-top: calc(var(--kopf) + max(46vh, 270px)); }
.k-schritt { border-top: 1px solid var(--linie, #e5e5ea); margin-top: 40px; padding-top: 32px; }
.k-titel + .k-untertitel + .k-schritt { border-top: 0; margin-top: 0; }
.k-schritt > h2 { margin: 0 0 16px; font-family: var(--schrift-fett); font-weight: 400; font-size: 24px; line-height: 1.1; letter-spacing: -.2px; color: var(--tinte); }
.k-schritt > h2:has(+ .k-hilfe) { margin-bottom: 6px; }
.k-hilfe { margin: 0 0 16px; font-size: 15px; line-height: 1.45; color: var(--grau); max-width: 34em; }
.k-schritt > h2:focus { outline: none; }
.k-unter { font-size: 14px; font-weight: 700; color: var(--tinte); margin: 22px 0 10px; padding: 0; }
fieldset.k-gruppe { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.k-gruppe > legend { font-size: 14px; font-weight: 700; margin: 22px 0 10px; padding: 0; }

/* Auswahlkarten (Radio und Checkbox) */
.k-wahlen { display: grid; gap: 10px; }
.k-wahlen.zwei { grid-template-columns: 1fr 1fr; }
.k-wahlen.drei { grid-template-columns: repeat(3, 1fr); }
.k-wahl { position: relative; display: block; }
.k-wahl input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.k-wahl > span {
  display: flex; align-items: center; gap: 14px; min-height: 64px; height: 100%;
  padding: 13px 15px; border: 1px solid var(--linie); border-radius: 14px; background: var(--weiss);
  transition: border-color .15s, box-shadow .15s;
}
.k-wahl b { display: block; font-size: 16px; font-weight: 700; color: var(--tinte); line-height: 1.25; }
.k-wahl small { display: block; font-size: 13px; color: var(--grau); margin-top: 3px; line-height: 1.38; }
.k-wahl em { flex: none; margin-left: auto; font-style: normal; font-size: 12.5px; color: var(--grau); text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.k-wahl em.inkl { color: var(--gruen-dunkel); font-weight: 700; }
.k-wahl input:hover + span { border-color: #86868b; }
.k-wahl input:checked + span { border-color: var(--wahl); box-shadow: inset 0 0 0 1px var(--wahl); }
.k-wahl input:focus-visible + span { outline: 3px solid var(--gelb); outline-offset: 2px; }
.k-wahl input:disabled { cursor: not-allowed; }
.k-wahl input:disabled + span { opacity: .5; background: var(--flaeche); }
.k-wahl .k-text { flex: 1; min-width: 0; }
.k-wahl .k-bild { flex: none; width: 72px; height: 56px; border-radius: 9px; object-fit: cover; background: var(--flaeche); }
.k-wahl.mitte > span { flex-direction: column; justify-content: center; text-align: center; gap: 2px; padding: 12px 8px; }
.k-wahl.gross > span { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; }
.k-wahl.gross .k-bild { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 0; }
.k-wahl.gross .k-text { padding: 14px 16px 16px; }
.k-wahl.gross b { font-family: var(--schrift-fett); font-weight: 400; font-size: 19px; letter-spacing: .2px; }
.k-wahl .k-empf { display: inline-block; margin-top: 7px; padding: 2px 9px; border-radius: 10px; background: var(--gelb-hell); color: #5c4400; font-size: 11.5px; font-weight: 700; }
.k-haken { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--linie); display: grid; place-items: center; color: transparent; font-size: 13px; font-weight: 700; transition: background .15s; }
.k-wahl input:checked + span .k-haken { background: var(--wahl); border-color: var(--wahl); color: var(--weiss); }

/* Farbkreise */
.k-farben { display: flex; flex-wrap: wrap; gap: 12px; }
.k-farbe { position: relative; display: block; width: 40px; height: 40px; }
.k-farbe input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.k-farbe span { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 1px 3px rgba(0, 0, 0, .35), 0 0 0 1px rgba(0, 0, 0, .12); transition: box-shadow .15s; }
.k-farbe input:checked + span { box-shadow: inset 0 1px 3px rgba(0, 0, 0, .35), 0 0 0 3px var(--weiss), 0 0 0 5px var(--wahl); }
.k-farbe input:focus-visible + span { outline: 3px solid var(--gelb); outline-offset: 7px; }
.k-farbname { font-size: 14px; color: var(--grau); margin: 12px 0 0; }
.k-farbname b { color: var(--tinte); }

.k-anzahl { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding: 13px 15px; border: 1px solid var(--linie); border-radius: 14px; }
.k-anzahl label { font-size: 16px; font-weight: 700; }
.k-anzahl small { display: block; font-weight: 400; font-size: 13px; color: var(--grau); }
.k-logo { margin-top: 14px; padding: 14px 15px; border-radius: 14px; background: var(--flaeche); display: flex; flex-direction: column; gap: 10px; }
.k-logo p { margin: 0; }
.k-logo-titel { font-size: 14px; font-weight: 700; color: var(--tinte); }
.k-logo-reihe { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.k-logo-reihe > b { flex: 0 0 104px; font-size: 14px; }
.k-logo-reihe .k-logozeile { margin-top: 0; }

/* Zusammenfassung */
.k-zusammen { border-radius: 18px; background: var(--flaeche); overflow: hidden; }
.k-schnappschuss { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #dfe6ee; }
.k-summe { padding: 18px 18px 6px; transition: opacity .2s; }
.k-summe.rechnet .k-betrag { opacity: .45; }
.k-zeilen { list-style: none; margin: 0; padding: 0; font-size: 14.5px; }
.k-zeilen li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--linie); }
.k-zeilen li span small { display: block; font-size: 12.5px; color: var(--grau); }
.k-zeilen li b { white-space: nowrap; font-variant-numeric: tabular-nums; }
.k-zeilen li i { font-style: normal; color: var(--grau); white-space: nowrap; }
.k-gesamt { display: grid; padding: 16px 0 4px; }
.k-gesamt > span { font-size: 13.5px; font-weight: 700; color: var(--grau); }
.k-betrag { font-family: var(--schrift-fett); font-weight: 400; font-size: 36px; line-height: 1.1; font-variant-numeric: tabular-nums; transition: opacity .2s; }
.k-gesamt small { font-size: 13px; color: var(--grau); }
.k-spanne { display: grid; margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--weiss); font-size: 14px; }
.k-spanne b { font-size: 17px; font-variant-numeric: tabular-nums; }
.k-spanne small { color: var(--grau); font-size: 12.5px; }
.k-summe .k-fehler { color: var(--rot); font-size: 14px; margin: 10px 0 0; }
.k-summe p.klein { margin: 12px 0 8px; }
.k-vorschau { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 10px; background: var(--gelb); color: var(--schwarz); font-size: 11px; font-weight: 700; letter-spacing: .4px; vertical-align: middle; }
.k-teilen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 4px 18px 18px; }
.k-teilen .klein { overflow-wrap: anywhere; }

.k-absenden { margin-top: 20px; }
.k-absenden .knopf { margin-top: 16px; }
.k-absenden > .klein { text-align: center; margin-top: 10px; }
.plz-ort { display: grid; grid-template-columns: 110px 1fr; gap: 14px; }
.fehlerliste:focus { outline: none; }
.konf .feld input, .konf .feld textarea { border-radius: 12px; border-color: var(--linie); }
.konf .knopf { border-radius: 980px; }
.konf .knopf.gross { min-height: 56px; }

/* Leiste unten */
.k-leiste {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; min-height: var(--leiste);
  padding: 10px var(--abstand) calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  border-top: 1px solid rgba(0, 0, 0, .1); color: var(--tinte);
}
.k-leiste > div { display: grid; min-width: 0; }
.k-leiste-titel { font-size: 12px; font-weight: 700; color: var(--grau); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-leiste b { font-family: var(--schrift-fett); font-weight: 400; font-size: 22px; font-variant-numeric: tabular-nums; line-height: 1.15; }
.k-leiste small { font-size: 12px; color: var(--grau); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-leiste .knopf { flex: none; }

/* Ergebnis */
.k-ergebnis .k-untertitel { margin-bottom: 20px; }
.k-ergebnis .karte { border-radius: 18px; border-color: var(--linie); }
.k-ergebnis .karte .kopfzeile { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.k-ergebnis .spanne-zeile td { background: var(--gelb-hell); padding: 12px !important; border-radius: 0 0 10px 10px; }
.k-ergebnis .spanne-zeile b { display: block; font-size: 18px; }
.k-ergebnis .knopfreihe { margin-top: 14px; }
.k-ergebnis h2 { font-size: 20px; margin: 4px 0 6px; }
.k-ergebnis pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: 14px; background: var(--flaeche); border-radius: 12px; padding: 12px; margin: 10px 0 0; }
.k-ergebnis .k-schnappschuss { border-radius: 12px; margin-top: 10px; }
.k-liste { margin: 8px 0 0; padding-left: 18px; font-size: 14.5px; }
.konf .fuss { margin-top: 40px; padding-left: 0; padding-right: 0; }

@media (max-width: 559px) {
  .k-werkzeuge { gap: 6px; left: 8px; right: 8px; bottom: 8px; }
  .k-werkzeug-zeile { gap: 6px; }
  .k-gruppe-knoepfe button { min-height: 34px; padding: 0 7px; font-size: 12.5px; }
  .k-marke { height: 28px; left: -14px; top: -14px; padding: 0 10px 0 2px; gap: 6px; font-size: 12px; }
  .k-marke-plus { width: 22px; height: 22px; font-size: 15px; }
  .k-info { bottom: 8px; left: 8px; right: 8px; max-height: 58%; }
  .punkt-offen .k-werkzeuge { display: none; }
  .k-galerie-fuss { bottom: 52px; }
}

@media (min-width: 560px) {
  .k-wahlen.auto { grid-template-columns: 1fr 1fr; }
  .k-tipp { display: block; }
  .k-info { right: auto; width: 400px; }
  .k-chips { flex-wrap: wrap; overflow: visible; }
}

@media (min-width: 980px) {
  :root { --kopf: 56px; }
  .k-raster { display: grid; grid-template-columns: minmax(0, 1fr) 500px; align-items: start; }
  .k-buehne { height: calc(100vh - var(--kopf) - var(--leiste)); height: calc(100dvh - var(--kopf) - var(--leiste)); }
  .k-optionen { padding: 44px 40px 56px; }
  .k-schritt { scroll-margin-top: var(--kopf); margin-top: 48px; padding-top: 40px; }
  .k-schritt > h2 { font-size: 26px; }
  .k-wahlen.auto { grid-template-columns: 1fr; }
  .k-schild { left: 20px; top: 20px; padding: 10px 16px; }
  .k-schild b { font-size: 18px; }
  .k-werkzeuge { left: 20px; right: 20px; bottom: 20px; flex-direction: row-reverse; justify-content: space-between; align-items: flex-end; }
  .k-mehr, .k-mehr.offen { display: flex; animation: none; justify-content: flex-end; }
  .k-mehr-knopf { display: none; }
  .k-tipp { bottom: 78px; }
  .k-info { left: 20px; bottom: 76px; }
  .k-galerie-fuss { bottom: 74px; }
  .k-leiste { padding-left: 40px; padding-right: 40px; }
  .k-leiste b { font-size: 26px; }
}
@media (min-width: 1500px) { .k-raster { grid-template-columns: minmax(0, 1fr) 560px; } }
@media (prefers-reduced-motion: reduce) { .k-marke-plus { animation: none; } }

/* Logo-Upload: Ablegeziel und Hinweis, wenn das Bild nicht ideal ist */
.k-logozeile.ziel { outline: 2px dashed var(--gelb-dunkel, #c99a00); outline-offset: 4px; border-radius: 10px; }
.k-hinweis { margin: 0; font-size: 13px; color: #8a5a00; }
.k-logo .k-fehler { font-size: 13px; color: var(--rot); }
