/* Claxxon – Gestaltung nach dem bisherigen Shop (Farben, Schriften, Aufbau). */

@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Lora";  src: url("../fonts/lora.woff2")  format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --petrol: #2A6B6E;
  --petrol-tief: #22585B;
  --tinte: #1F2A2B;
  --papier: #F7F5F0;
  --hauch: #F2F7F6;
  --weiss: #fff;
  --grau: #626B6C;
  --linie: #EEEAE3;
  --linie-fest: #DDD8CF;
  --linie-kuehl: #CFDAD9;
  --rot: #A3341F;
  --rot-hauch: #FBEFEB;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --seite: 1400px;
  --rand: 40px;
}
@media (max-width: 749px) { :root { --rand: 16px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--weiss); color: var(--tinte); font: 400 16px/1.4 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--petrol); text-underline-offset: 3px; }
a:hover { color: var(--petrol-tief); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin-top: 48px; margin-bottom: 14px; }
p { margin: 0 0 14px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 2px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Breiten: .rahmen = Kopf und Titelbild, .innen/.breite = Inhalt (doppelter Rand wie im Shop) */
.rahmen { width: 100%; max-width: var(--seite); margin-inline: auto; padding-inline: var(--rand); }
.innen, .breite { width: 100%; max-width: var(--seite); margin-inline: auto; padding-inline: calc(var(--rand) * 2); }
.schmal { max-width: calc(840px + var(--rand) * 4); padding-top: 48px; }
.seite { padding-top: 32px; padding-bottom: 72px; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nw { white-space: nowrap; }
.r { text-align: right; }
.zahl { font-variant-numeric: tabular-nums; }
.klein { font-size: 14px; color: var(--grau); }
.vorspann { font-size: 17.6px; line-height: 1.4; margin-top: 14px; max-width: 62ch; opacity: .85; }
.optional { font-weight: 400; color: var(--grau); }
.sprung { position: absolute; left: -999px; top: 0; background: var(--weiss); padding: 10px 14px; z-index: 20; }
.sprung:focus { left: 8px; top: 8px; }

/* ---- Leiste oben ---- */
.testbalken { margin: 0; padding: 5px var(--rand); background: #F4D35E; color: var(--tinte); font-size: 13px; font-weight: 600; text-align: center; }
.leiste { background: var(--tinte); color: var(--papier); font-size: 13px; line-height: 1.4; }
.leiste__in { max-width: var(--seite); margin: 0 auto; padding: 8px var(--rand); display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; justify-content: center; text-align: center; }
.leiste__marke { background: var(--petrol); color: #fff; font-weight: 600; padding: 2px 10px; border-radius: 999px; letter-spacing: .02em; }
.leiste__name { font-weight: 600; }
.leiste__punkt { opacity: .5; }
.leiste__knopf { color: #fff; background: var(--petrol); border-radius: 6px; padding: 3px 12px; text-decoration: none; font-weight: 600; margin-left: 6px; white-space: nowrap; }
.leiste__knopf:hover { background: var(--petrol-tief); color: #fff; }
.leiste__link { color: var(--papier); text-decoration: underline; text-underline-offset: 2px; margin-left: 6px; opacity: .85; white-space: nowrap; }
.leiste__link:hover { opacity: 1; color: var(--papier); }
@media (max-width: 749px) {
  .leiste__punkt, .leiste__info { display: none; }
  .leiste__in { padding: 6px 12px; gap: 4px 8px; }
  .leiste__knopf, .leiste__link { margin-left: 0; }
}

/* ---- Kopf ---- */
.kopf { position: relative; z-index: 4; background: var(--weiss); }
.kopf__in { display: flex; align-items: center; gap: 12px; min-height: 66px; }
.marke { display: block; flex: none; }
.marke img { height: 36px; width: auto; max-width: none; }
.nav { display: flex; align-items: center; margin-left: 12px; }
.nav a { color: rgba(31, 42, 43, .8); font-weight: 500; font-size: 14px; text-decoration: none; padding: 8px 11px; }
.nav a:hover, .nav a[aria-current] { color: var(--tinte); }
.kopf__rechts { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.kopf__symbol { display: grid; place-items: center; width: 44px; height: 44px; color: var(--tinte); border-radius: 6px; }
.kopf__symbol:hover { color: var(--petrol); }
.kopf__symbol svg { width: 20px; height: 20px; }
.kopf__bestellen { padding: 8px 16px; border: 1.5px solid var(--petrol); border-radius: 6px; color: var(--petrol); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; background: rgba(255, 255, 255, .55); }
.kopf__bestellen:hover, .kopf__bestellen[aria-current] { background: var(--petrol); color: #fff; }
.menue { display: none; }
.ist-start .kopf { position: absolute; left: 0; right: 0; background: transparent; }
@media (max-width: 749px) {
  .kopf__in { min-height: 60px; gap: 4px; }
  .nav { display: none; }
  .marke img { height: 30px; }
  .menue { display: block; }
  .menue summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; margin-left: -10px; cursor: pointer; color: var(--tinte); }
  .menue summary::-webkit-details-marker { display: none; }
  .menue summary svg { width: 22px; height: 22px; }
  .menue nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--weiss); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); box-shadow: 0 14px 24px rgba(31, 42, 43, .12); padding: 8px var(--rand) 14px; display: grid; }
  .menue nav a { padding: 12px 0; color: var(--tinte); text-decoration: none; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--linie); }
  .menue nav a:last-child { border-bottom: 0; }
  .kopf__symbol { width: 40px; }
  .kopf__bestellen { padding: 7px 12px; }
}

/* ---- Knöpfe ---- */
.knopf { display: inline-block; padding: 10px 18px; border: 1.5px solid var(--petrol); border-radius: 6px; background: var(--petrol); color: var(--weiss); font: 600 15px/1.3 var(--sans); text-decoration: none; text-align: center; cursor: pointer; }
.knopf:hover { background: var(--petrol-tief); border-color: var(--petrol-tief); color: var(--weiss); }
.knopf--rand { background: transparent; color: var(--petrol); }
.knopf--rand:hover { background: var(--hauch); color: var(--petrol-tief); }
.knopf--gross { padding: 14px 24px; font-size: 16px; }
.textknopf { border: 0; background: none; padding: 0; color: var(--petrol); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.knopfzeile { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

/* ---- Startseite: Titelbild ---- */
.hero { position: relative; height: 324px; overflow: hidden; background: #EFE6D8; }
.hero picture, .hero__bild { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bild { object-fit: cover; object-position: center; }
.hero__in { position: absolute; left: 0; right: 0; bottom: 72px; }
.hero__satz { font-size: 48px; line-height: 1; white-space: nowrap; color: var(--tinte); }
.hero__knopf { display: inline-block; margin-top: 24px; padding: 16px 24px; border-radius: 6px; background: var(--petrol); color: #fff; font-size: 16px; line-height: 1.4; text-decoration: none; }
.hero__knopf:hover { background: var(--petrol-tief); color: #fff; }
@media (max-width: 749px) {
  .hero { height: 269px; }
  .hero__in { bottom: 51px; }
  .hero__satz { font-size: min(36px, 8.2vw); }
  .hero__knopf { margin-top: 20px; }
}

/* ---- Startseite: Auswahl nach Kategorie ---- */
.auswahl { padding: 48px 0 64px; }
.auswahl__titel { margin: 0 0 .25em; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.2; }
.auswahl__sub { margin: 0 0 1.5rem; opacity: .75; }
.kacheln { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-bottom: 2.5rem; }
.kachel { display: flex; flex-direction: column; gap: 10px; border-radius: 10px; color: inherit; text-decoration: none; cursor: pointer; }
.kachel__bild { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 10px; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); transition: transform .35s ease, box-shadow .35s ease; outline: 2px solid transparent; outline-offset: 3px; }
.kachel__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.kachel__titel { text-align: center; font-weight: 500; transition: color .25s ease; }
.kachel:hover .kachel__bild, .kachel:focus-visible .kachel__bild { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(31, 42, 43, .16); }
.kachel:hover .kachel__bild img { transform: scale(1.05); }
.kachel:hover .kachel__titel { color: var(--petrol); }
.kachel:focus-visible { outline: 0; }
.kachel.ist-aktiv .kachel__bild { outline-color: var(--petrol); }
.kachel.ist-aktiv .kachel__titel { color: var(--petrol); font-weight: 600; }
.tabfeld { animation: einblenden .35s ease; }
@keyframes einblenden { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tabfeld__kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.tabfeld__titel { font-size: clamp(1.2rem, 1.6vw, 1.5rem); line-height: 1.1; }
.tabfeld__alle { text-decoration: none; font-weight: 500; }
.tabfeld__alle:hover { text-decoration: underline; }
@media (max-width: 989px) {
  .kacheln { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 38%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 8px; margin-inline: -4px; -webkit-overflow-scrolling: touch; }
  .kachel { scroll-snap-align: start; }
}

/* ---- Produktkarten ---- */
.raster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
.karte__link { color: inherit; text-decoration: none; display: flex; flex-direction: column; gap: 10px; height: 100%; }
.karte__bild { display: block; aspect-ratio: 1 / 1; background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--linie); transition: box-shadow .3s ease, transform .3s ease; }
.karte__bild img, .bild { width: 100%; height: 100%; object-fit: contain; transition: transform .5s ease; }
.karte__link:hover .karte__bild { box-shadow: 0 10px 22px rgba(31, 42, 43, .12); transform: translateY(-3px); }
.karte__link:hover .karte__bild img { transform: scale(1.04); }
.karte__link:hover .karte__titel { color: var(--petrol); }
.karte__titel { line-height: 1.35; }
.karte__sub { margin-top: -4px; font-size: 13px; opacity: .65; font-variant-numeric: tabular-nums; }
.bild--leer { display: block; width: 100%; height: 100%; background: repeating-linear-gradient(135deg, var(--hauch) 0 12px, var(--weiss) 12px 24px); }
@media (max-width: 989px) { .raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; } }

/* ---- Katalog und Kategorie ---- */
.sammlung__titel { margin: 0 0 .3em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.chip { padding: 7px 14px; border: 1px solid var(--linie-fest); border-radius: 999px; background: var(--papier); color: inherit; text-decoration: none; font-size: .92em; transition: border-color .2s, color .2s, background .2s; white-space: nowrap; }
.chip:hover { border-color: var(--petrol); color: var(--petrol); }
.chip.ist-aktiv { background: var(--petrol); border-color: var(--petrol); color: #fff; }
.sammlung__leiste { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--linie); margin-bottom: 22px; flex-wrap: wrap; }
.sammlung__zahl { opacity: .7; font-size: .92em; }
.suche input { width: min(300px, 100%); padding: 8px 12px; border: 1px solid var(--linie-fest); border-radius: 6px; background: var(--weiss); font: inherit; font-size: 15px; color: var(--tinte); }
.suche--breit { display: block; margin: 18px 0 6px; }
.suche--breit input { width: min(420px, 100%); padding: 10px 14px; }
.leer { margin: 28px 0; padding: 18px 20px; border: 1px dashed var(--linie-kuehl); border-radius: 8px; color: var(--grau); }
@media (max-width: 989px) { .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; } }
@media (max-width: 560px) { .sammlung__leiste .suche, .sammlung__leiste .suche input { width: 100%; } }

/* ---- Produktseite ---- */
.produkt { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); padding-top: 24px; padding-bottom: 72px; align-items: start; }
.produkt__medien { padding-right: 24px; position: sticky; top: 16px; }
.produkt__bild { aspect-ratio: 1 / 1; max-width: min(907px, calc(100vh - 150px)); min-width: min(100%, 480px); margin-inline: auto; }
.produkt__angaben { padding-left: 24px; min-width: 0; }
.produkt__angaben h1 { font-size: 32px; line-height: 1.1; }
.produkt__pzn { margin: 12px 0 0; font-variant-numeric: tabular-nums; }
.produkt__kurz { margin: 12px 0 0; }
.knopf--kauf { display: block; width: 100%; margin-top: 22px; padding: 14px 18px; border: 0; border-radius: 8px; font-size: 16px; line-height: 1.45; }
.produkt__hinweis { margin: 8px 0 0; font-size: 13px; opacity: .75; font-variant-numeric: tabular-nums; }
.fachkasten { margin: 14px 0 0; padding: 12px 14px; border-left: 4px solid var(--petrol); border-radius: 6px; background: var(--hauch); font-size: 14px; line-height: 1.45; }
.fachkasten a { font-weight: 600; }
.produkt__linie { border: 0; border-top: 1px solid var(--linie-fest); margin: 28px 0 0; }
.produkt__text { padding-top: 40px; }
@media (max-width: 989px) {
  .produkt { grid-template-columns: 1fr; padding-top: 0; }
  .produkt__medien { position: static; padding: 0; margin-inline: calc(var(--rand) * -1); }
  .produkt__bild { max-width: 520px; }
  .produkt__angaben { padding: 20px 0 0; }
}

/* ---- Fließtext (Produktbeschreibung, Rechtstexte) ---- */
.prosa { font-size: 16px; line-height: 1.5; }
.prosa h1 { margin-bottom: 24px; }
.prosa h2 { font-size: 21px; margin-top: 36px; }
.prosa ul { padding-left: 20px; margin: 0 0 14px; }
.prosa small { color: var(--grau); }
.prosa code { font-size: 14px; background: var(--hauch); padding: 1px 5px; border-radius: 3px; }
.prosa table { width: 100%; max-width: 560px; border-collapse: collapse; font-size: 13px; line-height: 1.35; margin: 6px 0 14px; }
.prosa th, .prosa td { padding: 6px 0; text-align: left; vertical-align: top; border-bottom: 1px solid #ECE9E2; }
.prosa th { font-size: 12px; font-weight: 600; color: var(--grau); border-bottom-color: #CFCAC0; vertical-align: bottom; }
.prosa th:not(:first-child), .prosa td:not(:first-child) { text-align: right; padding-left: 12px; }
.prosa table:has(th:nth-child(4)) { font-size: 11px; }
.prosa table:has(th:nth-child(4)) th { font-size: 10px; hyphens: auto; overflow-wrap: anywhere; }
.prosa table:has(th:nth-child(4)) td:first-child { hyphens: auto; overflow-wrap: anywhere; width: 32%; }

/* ---- Kaufdialog ---- */
.kauf { width: min(520px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; padding: 26px 24px 20px; border: 0; border-radius: 14px; color: var(--tinte); background: var(--weiss); box-shadow: 0 20px 60px rgba(31, 42, 43, .3); font-size: 15px; line-height: 1.45; }
.kauf::backdrop { background: rgba(31, 42, 43, .55); }
.kauf p { margin: 0; }
.kauf__zu { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--hauch); color: var(--tinte); font-size: 22px; line-height: 1; cursor: pointer; }
.kauf__titel { margin: 0 40px 4px 0; font-size: 22px; }
.kauf__produkt { font-size: 13px; color: var(--grau); }
.kauf__wahl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 4px; }
.kauf__kachel { padding: 18px 10px; border: 1.5px solid var(--linie-kuehl); border-radius: 10px; background: var(--weiss); color: var(--tinte); font: 600 15px/1.3 var(--sans); cursor: pointer; }
.kauf__kachel:hover { border-color: var(--petrol); }
.kauf__kachel.ist-aktiv { border-color: var(--petrol); background: var(--petrol); color: var(--weiss); }
.kauf__feld { margin-top: 16px; }
.kauf__liste { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.kauf__liste a { display: flex; justify-content: space-between; align-items: center; padding: 13px 16px; border: 1px solid var(--linie-kuehl); border-radius: 8px; color: var(--tinte); font-weight: 600; text-decoration: none; }
.kauf__liste a::after { content: "→"; color: var(--petrol); }
.kauf__liste a:hover { border-color: var(--petrol); background: var(--hauch); }
.kauf__klein { margin-top: 18px !important; font-size: 12px; color: var(--grau); }

/* ---- Fachkreise-Seite ---- */
.fk__vorzeile { color: var(--petrol); font-weight: 600; letter-spacing: .02em; margin: 0 0 8px; }
.fk__titel { margin: 0 0 .4em; }
.fk__lead { font-size: 1.1em; max-width: 62ch; opacity: .85; margin: 0 0 12px; }
.fk__anbieter { font-size: .9em; opacity: .7; max-width: 62ch; margin: 0 0 16px; }
.fk__anbieter a { color: inherit; }
.fk__anmelden { margin: 0 0 28px; font-weight: 600; }
.fk__raster { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; scroll-margin-top: 20px; }
.fk__kasten { background: var(--papier); border-radius: 12px; padding: 24px 26px; }
.fk__kasten h2 { font-size: 1.3rem; line-height: 1; margin: 0 0 12px; }
.fk__kasten ul, .fk__kasten ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.fk__klein { font-size: .85em; opacity: .75; margin: 0 0 8px; }
.fk__klein a { color: inherit; }
@media (max-width: 749px) { .fk__raster { grid-template-columns: 1fr; } }

/* ---- Kontakt ---- */
.kontakt { text-align: center; padding-bottom: 72px; }
.kontakt h1 { margin-bottom: 28px; }
.kontakt__text { max-width: 38ch; margin: 0 auto 28px; }
.kontakt__wege { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; text-align: left; }
.kontakt__weg { background: var(--papier); border-radius: 12px; padding: 22px 24px; }
.kontakt__weg h2 { font-size: 1.15rem; margin: 0 0 8px; }
.kontakt__weg p { margin: 0; }
.kontakt__weg a { font-weight: 600; }
@media (max-width: 749px) { .kontakt__wege { grid-template-columns: 1fr; } }

/* ---- Formulare ---- */
.formular { margin-top: 20px; display: grid; gap: 18px; }
.formular--schmal { max-width: 380px; }
.formular > .knopf { justify-self: start; min-width: 220px; }
.feld { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.feld > label, .feld > legend { font-weight: 600; font-size: 15px; padding: 0; }
.feld > legend { margin-bottom: 6px; }
.feld input:not([type=radio]):not([type=checkbox]):not([type=file]), .feld textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--linie-fest); border-radius: 6px; background: var(--weiss); font: inherit; color: var(--tinte); }
.feld input:focus-visible, .feld textarea:focus-visible, .menge:focus-visible, .suche input:focus-visible { outline: 2px solid var(--petrol); outline-offset: 0; border-color: var(--petrol); }
.feld input[type=file] { font: inherit; font-size: 15px; padding: 10px; border: 1px dashed #B9C4C3; border-radius: 6px; background: var(--weiss); width: 100%; }
.feld [aria-invalid=true] { border-color: var(--rot) !important; }
.feld--kurz { max-width: 160px; }
.feldreihe { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; align-items: start; }
.feldreihe .feld--kurz { max-width: none; }
.feld__hilfe { margin: 0; font-size: 13.5px; color: var(--grau); }
.feld__fehler { margin: 0; font-size: 14px; font-weight: 600; color: var(--rot); }
.wahl { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 15px; }
.wahl input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--petrol); flex: none; }
.falle { position: absolute; left: -5000px; }
.meldung { margin: 0 0 18px; padding: 14px 18px; border-radius: 8px; border: 1px solid; }
.meldung h1 { font-size: clamp(24px, 3vw, 30px); margin-bottom: 12px; }
.meldung p:last-child { margin-bottom: 0; }
.meldung--fehler { background: var(--rot-hauch); border-color: #E3B5A9; color: #6E2213; }
.meldung--fehler h1 { color: #6E2213; }
.meldung--gut { background: #EAF3F2; border: 0; border-left: 4px solid var(--petrol); border-radius: 6px; padding: 22px 24px; }
.gut { color: var(--petrol); } .schlecht { color: var(--rot); }
.fehlerliste { padding-left: 20px; color: #6E2213; font-size: 15px; }
.merkmale { margin: 20px 0 0; border-top: 1px solid var(--linie); }
.merkmale > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--linie); font-size: 15px; }
.merkmale dt { color: var(--grau); }
.merkmale dd { margin: 0; font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .merkmale > div { grid-template-columns: 1fr; gap: 0; } }

/* ---- Bestellschein ---- */
.bestellkopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding-top: 32px; }
.bestellkopf p { margin: 10px 0 12px; }
.tabellenrahmen { overflow-x: auto; margin-top: 24px; }
.schein { width: 100%; border-collapse: collapse; background: var(--weiss); border: 1px solid var(--linie-fest); font-size: 15px; margin-top: 14px; }
.schein th, .schein td { padding: 6px 14px; text-align: left; border-bottom: 1px solid var(--linie); vertical-align: middle; }
.schein th.r, .schein td.r { text-align: right; }
.schein thead th { font-size: 13px; font-weight: 600; color: var(--grau); background: var(--papier); border-bottom: 1px solid var(--linie-fest); white-space: nowrap; }
.schein__gruppe th { padding-top: 18px; font: 600 17px/1.2 var(--serif); color: var(--tinte); background: var(--weiss); border-bottom: 1px solid var(--linie-fest); }
.schein__artikel label { cursor: pointer; }
.schein tr.ist-gewaehlt td { background: var(--hauch); }
.schein tr.ist-gewaehlt .schein__artikel { font-weight: 600; }
.schein tfoot td { font-weight: 600; border-bottom: 0; }
.schein tfoot tr:first-child td { border-top: 2px solid var(--tinte); }
.schein td.zahl { white-space: nowrap; }
.menge { width: 76px; padding: 8px 8px; border: 1px solid var(--linie-fest); border-radius: 6px; font: inherit; font-variant-numeric: tabular-nums; text-align: right; background: var(--weiss); color: var(--tinte); }
.zusatz { margin-top: 26px; }
.summenleiste { position: sticky; bottom: 0; z-index: 5; margin: 28px calc(var(--rand) * -2) 0; background: var(--tinte); color: var(--papier); }
.summenleiste__innen { display: flex; align-items: center; gap: 10px 28px; flex-wrap: wrap; padding-block: 12px; }
.summenleiste p { margin: 0; }
.summenleiste__wert { font-size: 14px; }
.summenleiste__wert strong { font-size: 22px; font-variant-numeric: tabular-nums; margin-left: 8px; }
.summenleiste__stand { font-size: 14px; flex: 1; min-width: 200px; color: #C9D6D5; }
.summenleiste__stand.ist-erreicht { color: #9FE0C8; font-weight: 600; }
.summenleiste .knopf { background: var(--papier); border-color: var(--papier); color: var(--tinte); }
.summenleiste .knopf:hover { background: var(--weiss); }

@media (max-width: 700px) {
  .schein:not(.schein--pruefen) thead { display: none; }
  .schein:not(.schein--pruefen) tr[data-preis] { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px; border-bottom: 1px solid var(--linie); }
  .schein:not(.schein--pruefen) tr[data-preis] td { padding: 0; border: 0; text-align: left; }
  .schein:not(.schein--pruefen) tr[data-preis].ist-gewaehlt { background: var(--hauch); }
  .schein:not(.schein--pruefen) td.schein__artikel { grid-column: 1; grid-row: 1; font-weight: 600; }
  .schein:not(.schein--pruefen) td[data-t="PZN"] { grid-column: 1; grid-row: 2; font-size: 13px; color: var(--grau); }
  .schein:not(.schein--pruefen) td[data-t="PZN"]::before { content: "PZN "; }
  .schein:not(.schein--pruefen) td[data-t="ApU netto"] { grid-column: 1; grid-row: 3; font-size: 14px; }
  .schein:not(.schein--pruefen) td[data-t="ApU netto"]::after { content: " netto"; color: var(--grau); }
  .schein:not(.schein--pruefen) td[data-t="Menge"] { grid-column: 2; grid-row: 1 / span 2; }
  .schein:not(.schein--pruefen) td[data-t="Summe"] { grid-column: 2; grid-row: 3; text-align: right; font-size: 14px; }
  .schein__gruppe th { display: block; }
  .schein--pruefen { font-size: 14px; min-width: 520px; }
  .summenleiste__stand { order: 3; flex-basis: 100%; font-size: 13px; }
  .summenleiste__wert { flex: 1; }
}

/* ---- Fuß ---- */
.fuss { --fg: #F7F5F0; --leise: rgba(247, 245, 240, .72); --strich: rgba(247, 245, 240, .18); margin-top: 64px; background: var(--petrol-tief); color: var(--fg); font-size: 15px; line-height: 1.6; }
.fuss a { color: inherit; text-decoration: none; }
.fuss a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fuss__in { max-width: 1280px; margin: 0 auto; padding: 56px 32px 28px; }
.fuss__raster { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.fuss__logo img { height: 34px; width: auto; }
.fuss__satz { font-family: var(--serif); font-size: 18px; margin: 18px 0 6px; }
.fuss__text { color: var(--leise); margin: 0 0 16px; max-width: 34ch; }
.fuss__anbieter { margin: 0; padding: 10px 12px; border-left: 3px solid var(--fg); background: rgba(247, 245, 240, .06); font-size: 14px; line-height: 1.5; }
.fuss__kopf { font-family: var(--serif); font-weight: 600; font-size: 17px; margin: 0 0 14px; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fuss li a { color: var(--leise); }
.fuss li a:hover { color: var(--fg); }
.fuss__leiste { margin-top: 44px; padding: 22px 0; border-top: 1px solid var(--strich); border-bottom: 1px solid var(--strich); display: flex; align-items: center; gap: 10px; color: var(--leise); }
.fuss__leiste svg { width: 20px; height: 20px; flex: none; }
.fuss__recht { padding-top: 18px; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 13px; color: var(--leise); }
main:has(> .seite, > .produkt, > .auswahl, > .kontakt) + .fuss { margin-top: 0; }
@media (max-width: 989px) { .fuss__raster { grid-template-columns: 1fr 1fr; } .fuss__marke { grid-column: 1 / -1; } }
@media (max-width: 599px) { .fuss__in { padding: 40px 20px 24px; } .fuss__raster { gap: 28px 20px; } }
.kopfzone { position: relative; z-index: 4; }
