/* Mobile first. Calm and wintry: blues on a snow-white page, a night-blue header with a string of lights.
   Red is reserved for errors. */
:root {
  color-scheme: light dark;
  --papier: #f3f8fe;
  --karte: #ffffff;
  --tinte: #12263b;
  --leise: #455b73;
  --blau: #1c5ca6;
  --blau-tinte: #ffffff;
  --tiefblau: #0f3a6b;
  --linie: #c7d8ea;
  --flaeche: #e6f0fb;
  --fehler: #a40000;
  --gold: #e9b949;
  --nacht-oben: #0b1f38;
  --nacht-unten: #174473;
  --nacht-text: #f2f7fd;
  --nacht-fokus: #ffd98a;
  --rund: 0.75rem;
  --schatten: 0 1px 2px rgb(15 58 107 / 0.08), 0 6px 18px rgb(15 58 107 / 0.08);
  --tippflaeche: 2.75rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --papier: #0c1829;
    --karte: #14253b;
    --tinte: #eaf2fb;
    --leise: #b4c6da;
    --blau: #8ec3ff;
    --blau-tinte: #0c1829;
    --tiefblau: #b5d8ff;
    --linie: #2c4561;
    --flaeche: #1a3250;
    --fehler: #ff9b9b;
    --schatten: 0 1px 2px rgb(0 0 0 / 0.4), 0 6px 18px rgb(0 0 0 / 0.3);
  }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--tinte);
  background: linear-gradient(var(--flaeche), var(--papier) 28rem) var(--papier) no-repeat;
  font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  overflow-wrap: break-word;
}
h1, h2, h3 { line-height: 1.2; }
h1, h2, h3, a, button, address, dd, label { overflow-wrap: anywhere; }
h1 { font-size: clamp(1.75rem, 7vw, 2.75rem); color: var(--blau); margin: 0 0 1rem; }
h2 { font-size: 1.4rem; color: var(--tiefblau); margin: 2rem 0 0.75rem; }
h3 { font-size: 1.1rem; margin: 0 0 0.25rem; }
a { color: var(--blau); text-underline-offset: 0.15em; }
:focus-visible { outline: 3px solid var(--tiefblau); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
address { font-style: normal; }

.springen { position: absolute; left: -100vw; top: 0.5rem; background: var(--karte); padding: 0.75rem 1rem; z-index: 2; }
.springen:focus { left: 0.5rem; }

/* Header with the navigation, always night blue; on phones the menu is behind the «Menü» button once the script runs. */
.kopf { background: linear-gradient(var(--nacht-oben), var(--nacht-unten)); color: var(--nacht-text); }
.kopf :focus-visible { outline-color: var(--nacht-fokus); }
.kopf-innen {
  max-width: 64rem; margin: 0 auto; padding: 0.5rem 1rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem;
}
.marke {
  font-size: 1.6rem; font-weight: 700; color: var(--nacht-text); text-decoration: none; letter-spacing: 0.02em;
  min-height: var(--tippflaeche); display: inline-flex; align-items: center;
}
.menue-knopf {
  font: inherit; font-weight: 600; min-height: var(--tippflaeche); padding: 0.5rem 1rem;
  border: 2px solid var(--nacht-text); border-radius: var(--rund); background: transparent; color: var(--nacht-text); cursor: pointer;
}
#hauptnavigation { flex-basis: 100%; }
#hauptnavigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
#hauptnavigation a {
  display: flex; align-items: center; min-height: var(--tippflaeche); padding: 0.25rem 0.75rem;
  color: var(--nacht-text); text-decoration: none; font-weight: 600; border-radius: var(--rund);
}
#hauptnavigation a:hover { background: rgb(255 255 255 / 0.12); }
#hauptnavigation a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.menue-knopf:not([hidden]) + #hauptnavigation:not(.offen) { display: none; }
@media (min-width: 56rem) {
  .menue-knopf:not([hidden]) { display: none; }
  #hauptnavigation, .menue-knopf:not([hidden]) + #hauptnavigation:not(.offen) { display: block; flex-basis: auto; }
  #hauptnavigation ul { flex-direction: row; flex-wrap: wrap; gap: 0.25rem; }
}
/* A string of lights hanging from a wire under the header: decoration only. The base layer holds the wire and the
   unlit bulbs; two layers of glowing bulbs fade slowly up and down, out of step with each other. */
.girlande { position: relative; height: 2.75rem; overflow: hidden; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27192%27%20height%3D%2744%27%20viewBox%3D%270%200%20192%2044%27%3E%3Cpath%20d%3D%27M0%203%20Q48%2025%2096%203%20Q144%2025%20192%203%27%20fill%3D%27none%27%20stroke%3D%27%238aa0b5%27%20stroke-width%3D%271.6%27%2F%3E%3Crect%20x%3D%2717.5%27%20y%3D%2710.3%27%20width%3D%275%27%20height%3D%275%27%20rx%3D%271%27%20fill%3D%27%235d7186%27%2F%3E%3Cellipse%20cx%3D%2720%27%20cy%3D%2721.3%27%20rx%3D%274.2%27%20ry%3D%276%27%20fill%3D%27%23ffd98a%27%20fill-opacity%3D%270.35%27%2F%3E%3Crect%20x%3D%2745.5%27%20y%3D%2714.0%27%20width%3D%275%27%20height%3D%275%27%20rx%3D%271%27%20fill%3D%27%235d7186%27%2F%3E%3Cellipse%20cx%3D%2748%27%20cy%3D%2725.0%27%20rx%3D%274.2%27%20ry%3D%276%27%20fill%3D%27%236cb4ff%27%20fill-opacity%3D%270.35%27%2F%3E%3Crect%20x%3D%2773.5%27%20y%3D%2710.3%27%20width%3D%275%27%20height%3D%275%27%20rx%3D%271%27%20fill%3D%27%235d7186%27%2F%3E%3Cellipse%20cx%3D%2776%27%20cy%3D%2721.3%27%20rx%3D%274.2%27%20ry%3D%276%27%20fill%3D%27%23ff9ec0%27%20fill-opacity%3D%270.35%27%2F%3E%3Crect%20x%3D%27113.5%27%20y%3D%2710.3%27%20width%3D%275%27%20height%3D%275%27%20rx%3D%271%27%20fill%3D%27%235d7186%27%2F%3E%3Cellipse%20cx%3D%27116%27%20cy%3D%2721.3%27%20rx%3D%274.2%27%20ry%3D%276%27%20fill%3D%27%237fe0a8%27%20fill-opacity%3D%270.35%27%2F%3E%3Crect%20x%3D%27141.5%27%20y%3D%2714.0%27%20width%3D%275%27%20height%3D%275%27%20rx%3D%271%27%20fill%3D%27%235d7186%27%2F%3E%3Cellipse%20cx%3D%27144%27%20cy%3D%2725.0%27%20rx%3D%274.2%27%20ry%3D%276%27%20fill%3D%27%23ffb86b%27%20fill-opacity%3D%270.35%27%2F%3E%3Crect%20x%3D%27169.5%27%20y%3D%2710.3%27%20width%3D%275%27%20height%3D%275%27%20rx%3D%271%27%20fill%3D%27%235d7186%27%2F%3E%3Cellipse%20cx%3D%27172%27%20cy%3D%2721.3%27%20rx%3D%274.2%27%20ry%3D%276%27%20fill%3D%27%23b79bff%27%20fill-opacity%3D%270.35%27%2F%3E%3C%2Fsvg%3E") 0 0 / 12rem 2.75rem repeat-x; }
.girlande::before, .girlande::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-repeat: repeat-x; background-size: 12rem 2.75rem; }
.girlande::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27192%27%20height%3D%2744%27%20viewBox%3D%270%200%20192%2044%27%3E%3Cdefs%3E%3CradialGradient%20id%3D%27h0%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%23ffd98a%27%20stop-opacity%3D%270.75%27%2F%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%23ffd98a%27%20stop-opacity%3D%270%27%2F%3E%3C%2FradialGradient%3E%3CradialGradient%20id%3D%27h2%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%23ff9ec0%27%20stop-opacity%3D%270.75%27%2F%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%23ff9ec0%27%20stop-opacity%3D%270%27%2F%3E%3C%2FradialGradient%3E%3CradialGradient%20id%3D%27h4%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%23ffb86b%27%20stop-opacity%3D%270.75%27%2F%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%23ffb86b%27%20stop-opacity%3D%270%27%2F%3E%3C%2FradialGradient%3E%3C%2Fdefs%3E%3Ccircle%20cx%3D%2720%27%20cy%3D%2721.3%27%20r%3D%2714%27%20fill%3D%27url(%23h0)%27%2F%3E%3Cellipse%20cx%3D%2720%27%20cy%3D%2721.3%27%20rx%3D%274.2%27%20ry%3D%276%27%20fill%3D%27%23ffd98a%27%2F%3E%3Cellipse%20cx%3D%2718.7%27%20cy%3D%2718.8%27%20rx%3D%271.1%27%20ry%3D%272%27%20fill%3D%27%23fff%27%20fill-opacity%3D%270.8%27%2F%3E%3Ccircle%20cx%3D%2776%27%20cy%3D%2721.3%27%20r%3D%2714%27%20fill%3D%27url(%23h2)%27%2F%3E%3Cellipse%20cx%3D%2776%27%20cy%3D%2721.3%27%20rx%3D%274.2%27%20ry%3D%276%27%20fill%3D%27%23ff9ec0%27%2F%3E%3Cellipse%20cx%3D%2774.7%27%20cy%3D%2718.8%27%20rx%3D%271.1%27%20ry%3D%272%27%20fill%3D%27%23fff%27%20fill-opacity%3D%270.8%27%2F%3E%3Ccircle%20cx%3D%27144%27%20cy%3D%2725.0%27%20r%3D%2714%27%20fill%3D%27url(%23h4)%27%2F%3E%3Cellipse%20cx%3D%27144%27%20cy%3D%2725.0%27%20rx%3D%274.2%27%20ry%3D%276%27%20fill%3D%27%23ffb86b%27%2F%3E%3Cellipse%20cx%3D%27142.7%27%20cy%3D%2722.5%27%20rx%3D%271.1%27%20ry%3D%272%27%20fill%3D%27%23fff%27%20fill-opacity%3D%270.8%27%2F%3E%3C%2Fsvg%3E"); animation: funkeln 5.5s ease-in-out infinite alternate; }
.girlande::after { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%27192%27%20height%3D%2744%27%20viewBox%3D%270%200%20192%2044%27%3E%3Cdefs%3E%3CradialGradient%20id%3D%27h1%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%236cb4ff%27%20stop-opacity%3D%270.75%27%2F%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%236cb4ff%27%20stop-opacity%3D%270%27%2F%3E%3C%2FradialGradient%3E%3CradialGradient%20id%3D%27h3%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%237fe0a8%27%20stop-opacity%3D%270.75%27%2F%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%237fe0a8%27%20stop-opacity%3D%270%27%2F%3E%3C%2FradialGradient%3E%3CradialGradient%20id%3D%27h5%27%3E%3Cstop%20offset%3D%270%27%20stop-color%3D%27%23b79bff%27%20stop-opacity%3D%270.75%27%2F%3E%3Cstop%20offset%3D%271%27%20stop-color%3D%27%23b79bff%27%20stop-opacity%3D%270%27%2F%3E%3C%2FradialGradient%3E%3C%2Fdefs%3E%3Ccircle%20cx%3D%2748%27%20cy%3D%2725.0%27%20r%3D%2714%27%20fill%3D%27url(%23h1)%27%2F%3E%3Cellipse%20cx%3D%2748%27%20cy%3D%2725.0%27%20rx%3D%274.2%27%20ry%3D%276%27%20fill%3D%27%236cb4ff%27%2F%3E%3Cellipse%20cx%3D%2746.7%27%20cy%3D%2722.5%27%20rx%3D%271.1%27%20ry%3D%272%27%20fill%3D%27%23fff%27%20fill-opacity%3D%270.8%27%2F%3E%3Ccircle%20cx%3D%27116%27%20cy%3D%2721.3%27%20r%3D%2714%27%20fill%3D%27url(%23h3)%27%2F%3E%3Cellipse%20cx%3D%27116%27%20cy%3D%2721.3%27%20rx%3D%274.2%27%20ry%3D%276%27%20fill%3D%27%237fe0a8%27%2F%3E%3Cellipse%20cx%3D%27114.7%27%20cy%3D%2718.8%27%20rx%3D%271.1%27%20ry%3D%272%27%20fill%3D%27%23fff%27%20fill-opacity%3D%270.8%27%2F%3E%3Ccircle%20cx%3D%27172%27%20cy%3D%2721.3%27%20r%3D%2714%27%20fill%3D%27url(%23h5)%27%2F%3E%3Cellipse%20cx%3D%27172%27%20cy%3D%2721.3%27%20rx%3D%274.2%27%20ry%3D%276%27%20fill%3D%27%23b79bff%27%2F%3E%3Cellipse%20cx%3D%27170.7%27%20cy%3D%2718.8%27%20rx%3D%271.1%27%20ry%3D%272%27%20fill%3D%27%23fff%27%20fill-opacity%3D%270.8%27%2F%3E%3C%2Fsvg%3E"); animation: funkeln 7.5s ease-in-out -3s infinite alternate; }
@keyframes funkeln { from { opacity: 0.25; } to { opacity: 1; } }
/* The touchable bulbs of the string of lights (lichterkette.js): invisible until touched, clicked or hovered, then a
   brighter, larger glow that fades out again. */
.licht { position: absolute; width: 2.25rem; height: 2.25rem; margin: -1.1rem 0 0 -1.1rem; border-radius: 50%; cursor: pointer; }
.licht::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; opacity: 0; transform: scale(0.4);
  background: radial-gradient(circle, #fff 0 12%, var(--licht-farbe) 30%, transparent 70%);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.licht.hell::before { opacity: 1; transform: scale(1.5); transition-duration: 0.12s; }

main { display: block; max-width: 64rem; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
main:focus { outline: none; }
.einleitung { font-size: 1.15rem; }
.held { padding: 1.5rem 1.25rem; margin-bottom: 1rem; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); box-shadow: var(--schatten); }
.held { display: grid; gap: 1.5rem; align-items: center; }
.held-foto { display: block; width: 100%; max-width: 22rem; height: auto; margin: 0 auto; border-radius: var(--rund); }
@media (min-width: 48rem) { .held { grid-template-columns: 1fr 20rem; } }
.aktionen { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.knopf, button {
  font: inherit; font-weight: 600; display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tippflaeche); padding: 0.6rem 1.25rem; border: 2px solid var(--blau); border-radius: var(--rund);
  background: var(--blau); color: var(--blau-tinte); text-decoration: none; cursor: pointer; text-align: center;
}
.knopf.zweit, button.zweit { background: transparent; color: var(--blau); }
.schritte { padding-left: 1.5rem; }
.schritte li { margin-bottom: 0.75rem; }
.hilfe { color: var(--leise); font-size: 0.95rem; margin: 0.25rem 0 0.75rem; }
.hinweis, .hinweis-zeile:not(:empty) {
  background: var(--flaeche); border-left: 4px solid var(--blau); padding: 0.75rem 1rem; border-radius: var(--rund);
}
.fehler { color: var(--fehler); font-weight: 600; }
.feld-fehler { color: var(--fehler); font-size: 0.95rem; margin: 0.25rem 0 0; }
.status { min-height: 1.6em; margin: 0.5rem 0; }

/* Catalogue */
.produkte { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); }
.produkt { background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); padding: 1rem; min-width: 0; box-shadow: var(--schatten); }
.produkt h2 { margin-top: 1rem; color: var(--tinte); }
.produkt-bild { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rund); }
.preis { font-weight: 700; color: var(--tiefblau); }
.ausverkauft { font-weight: 600; color: var(--leise); }
.bestellteil { display: grid; gap: 0.25rem; margin-top: 1rem; }
.bestellteil button { justify-self: start; margin-top: 0.5rem; }
label { font-weight: 600; }
input:not([type]), input[type="text"], input[type="number"], input[type="email"], input[type="tel"], input[type="search"], textarea, select {
  font: inherit; color: var(--tinte); background: var(--karte); width: 100%; min-height: var(--tippflaeche);
  padding: 0.5rem 0.75rem; border: 1px solid var(--leise); border-radius: var(--rund);
}
[aria-invalid="true"] { border: 2px solid var(--fehler); }

/* Cart */
.positionen { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 1rem; }
.position {
  box-shadow: var(--schatten);
  background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); padding: 1rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem;
}
.position-text { flex: 1 1 12rem; min-width: 0; }
.position-text p { margin: 0; }
.anzahl { display: inline-flex; align-items: center; gap: 0.5rem; }
.anzahl button { min-width: var(--tippflaeche); padding: 0.25rem 0.75rem; font-size: 1.25rem; }
.anzahl button[aria-disabled="true"] { background: transparent; color: var(--blau); border-style: dashed; cursor: not-allowed; }
.anzahl-wert { min-width: 2ch; text-align: center; font-weight: 700; font-size: 1.1rem; }
.knopf-entfernen { background: transparent; color: var(--blau); }
#bestellung:not([data-sharpsoft-checkout]) { display: grid; gap: 0.25rem; max-width: 36rem; }
fieldset { border: 1px solid var(--linie); border-radius: var(--rund); padding: 0.75rem 1rem; margin: 0 0 1rem; min-width: 0; }
legend { font-weight: 700; padding: 0 0.25rem; }
.wahl { display: flex; align-items: center; gap: 0.75rem; min-height: var(--tippflaeche); font-weight: 400; }
.wahl input { width: 1.4rem; height: 1.4rem; accent-color: var(--blau); flex: none; }
.summe { margin: 0 0 0.5rem; }
.summe div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 1rem; padding: 0.4rem 0; border-bottom: 1px solid var(--linie); }
.summe dd { margin: 0; font-weight: 600; }
.summe .total { font-size: 1.15rem; font-weight: 700; border-bottom: 0; }
#bestellung:not([data-sharpsoft-checkout]) h2 { margin-top: 1rem; }
.text { max-width: 44rem; }

.fuss { border-top: 1px solid var(--linie); background: var(--karte); padding: 1.5rem 1rem 2rem; text-align: center; color: var(--leise); }
.fuss p { margin: 0.25rem 0; }
.fuss a { display: inline-flex; align-items: center; min-height: var(--tippflaeche); padding: 0 0.5rem; }
.fuss-links { list-style: none; padding: 0; margin: 0.5rem 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 0.5rem; }

/* The shop (shop/, bestellung/, shop.js): the template's shop parts in amélie's colours. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.trap { display: none; }
[data-shop-address]:not([hidden]) { display: contents; }
.kategorien { display: grid; gap: 0.25rem; margin: 1rem 0 1.5rem; }
.kategorien p { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.75rem; margin: 0; }
.kategorien-titel { font-weight: 700; }
.kategorien a { display: inline-flex; align-items: center; min-height: var(--tippflaeche); }
.kategorien a[aria-current="page"] { font-weight: 700; text-decoration-thickness: 2px; }
.suche { display: grid; gap: 0.25rem; max-width: 24rem; margin-bottom: 0.5rem; }
.karten { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(10.5rem, 100%), 1fr)); }
.karte { position: relative; display: grid; gap: 0.25rem; align-content: start; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); padding: 0.75rem; min-width: 0; box-shadow: var(--schatten); }
.karte img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: calc(var(--rund) - 0.25rem); }
.karte h2 { font-size: 1rem; margin: 0.5rem 0 0; color: var(--tinte); }
.karte p { margin: 0; }
.karte .stretch { color: inherit; text-decoration: none; }
.karte .stretch::after { content: ""; position: absolute; inset: 0; border-radius: var(--rund); }
.karte:hover { border-color: var(--blau); }
.karte:focus-within { outline: 3px solid var(--tiefblau); outline-offset: 2px; }
.karte .stretch:focus-visible { outline: none; }
.sale { color: var(--leise); font-size: 0.95rem; font-weight: 400; }
.more { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.25rem; }
.more a { display: inline-flex; align-items: center; min-height: var(--tippflaeche); }
.artikel { display: grid; gap: 1.5rem; align-items: start; }
.artikel-bild { display: block; width: 100%; max-width: 30rem; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--rund); box-shadow: var(--schatten); }
.artikel-info { display: grid; gap: 0.75rem; }
.artikel-info > * { margin: 0; }
.artikel-info .preis { font-size: 1.4rem; }
.add { display: flex; flex-wrap: wrap; align-items: end; gap: 0.5rem 0.75rem; }
.add label { flex: 1 1 100%; }
.add input { width: 6rem; }
.add button { flex: 1 1 10rem; }
@media (min-width: 48rem) { .artikel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; } }
.howto { list-style: none; counter-reset: howto; display: grid; gap: 0.75rem; margin: 0 0 2rem; padding: 0; }
.howto li { counter-increment: howto; display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 0.75rem; }
.howto li::before { content: counter(howto); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--flaeche); color: var(--tiefblau); font-weight: 800; }
@media (min-width: 56rem) {
  .howto { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
  .howto li { grid-template-columns: 1fr; align-content: start; }
}
.checkout { display: grid; gap: 1.25rem; }
.step, .checkout-side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0.5rem; margin: 0; padding: 1.25rem; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); box-shadow: var(--schatten); min-width: 0; }
.step h2, .schritt-titel { display: flex; align-items: center; gap: 0.75rem; font-size: 1.25rem; margin: 0 0 0.5rem; }
.step-nr { display: inline-grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--blau); color: var(--blau-tinte); font-size: 1rem; }
.step h3 { font-size: 1.05rem; margin: 0.75rem 0 0; }
.checkout-side .step { padding: 0; border: 0; box-shadow: none; }
.checkout-side > * { margin: 0; }
.checkout-side button[type="submit"] { width: 100%; }
@media (min-width: 56rem) {
  .checkout { grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); align-items: start; }
  .checkout > .step { grid-column: 1; }
  .checkout-side { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 1rem; }
}
.lines { list-style: none; display: grid; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "title total" "price price" "qty remove" "soldout soldout"; align-items: center; gap: 0.25rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--linie); }
.line-title { grid-area: title; font-weight: 650; }
.line-price { grid-area: price; color: var(--leise); font-size: 0.95rem; }
.line .qty { grid-area: qty; display: flex; align-items: center; gap: 0.5rem; font-weight: 400; }
.line .qty input { width: 5rem; }
.line-total { grid-area: total; font-weight: 700; font-variant-numeric: tabular-nums; }
.line [data-shop-line-soldout] { grid-area: soldout; }
.line [data-shop-line-remove] { grid-area: remove; }
.totals, .payment { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.25rem 0; margin: 0.75rem 0 0; }
.totals dt, .payment dt { padding-right: 1rem; }
.totals dd, .payment dd { margin: 0; overflow-wrap: anywhere; }
.totals dd { text-align: right; font-variant-numeric: tabular-nums; }
.totals dt:last-of-type, .totals dd:last-of-type { padding-top: 0.5rem; border-top: 1px solid var(--linie); font-size: 1.15rem; font-weight: 700; }
.summary-lines { margin: 0; padding-left: 1.25rem; }
.code { margin-top: 1rem; }
.code-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.code-row input { flex: 1 1 10rem; min-width: 0; width: auto; text-transform: uppercase; }
.consent { display: flex; align-items: flex-start; gap: 0.75rem; }
.consent input { width: 1.4rem; height: 1.4rem; margin-top: 0.2rem; accent-color: var(--blau); flex: none; }
.consent label { font-weight: 400; }
.order-card { display: grid; gap: 0.75rem; padding: 1.25rem; margin: 0 0 1rem; background: var(--karte); border: 1px solid var(--linie); border-radius: var(--rund); box-shadow: var(--schatten); }
.order-card > * { margin: 0; }
.sample-pay { background: var(--flaeche); border-style: dashed; }
.mail-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; }
.qr { display: block; width: 46mm; height: 46mm; background: #fff; padding: 2mm; }
.payment .copy { min-height: var(--tippflaeche); margin: 0 0 0 0.5rem; padding-block: 0; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none; animation: none; }
}
