/* Kamelle24 – Designsystem
   Farben aus dem Logo: Blau #002f6b, Grün #87c540. Karnevals-Akzente sparsam. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-grotesque-latin-wght.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/assets/fonts/figtree-latin-wght.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --blau: #002f6b;
  --blau-800: #0a3a80;
  --blau-100: #e6edf8;
  --blau-50: #f2f6fc;
  --gruen: #87c540;
  --gruen-600: #6aa52a;
  --gruen-700: #3f7a12; /* Grün als Text auf Weiß (AA) */
  --gruen-100: #edf6e1;
  --rot: #e8412c;
  --rot-100: #fdecea;
  --gelb: #ffc72c;
  --gelb-100: #fff6db;
  --himmel: #4fb3e8;
  --bg: #f6f7fb;
  --karte: #ffffff;
  --text: #13203b;
  --muted: #56617a;
  --linie: #dfe4ee;
  --radius: 20px;
  --radius-s: 12px;
  --schatten: 0 1px 2px rgb(0 28 70 / .06), 0 8px 24px -8px rgb(0 28 70 / .14);
  --schatten-gross: 0 2px 4px rgb(0 28 70 / .06), 0 24px 48px -16px rgb(0 28 70 / .25);
  --font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-text: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --breite: 1180px;
  --rand: 16px;
  color-scheme: light;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blau-800); text-underline-offset: .18em; }
a:hover { color: var(--blau); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--blau);
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 3.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.65rem, 1.25rem + 1.8vw, 2.5rem); font-weight: 800; }
h3 { font-size: clamp(1.2rem, 1.1rem + .5vw, 1.45rem); font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
strong { font-weight: 700; }
.zahl, .tabular { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--gelb); outline-offset: 2px; border-radius: 6px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--blau); color: #fff; padding: .6em 1em; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: #fff; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.container { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
@media (min-width: 768px) { :root { --rand: 28px; } }
.abschnitt { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.abschnitt--weiss { background: #fff; }
.abschnitt--blau { background: var(--blau); color: #e8eefb; }
.abschnitt--blau h2, .abschnitt--blau h3 { color: #fff; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 800; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--gruen-700); margin-bottom: .8rem;
}
.abschnitt--blau .eyebrow { color: var(--gruen); }
.lead { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.abschnitt-kopf { max-width: 760px; margin-bottom: 2.5rem; }
.abschnitt-kopf--mitte { margin-inline: auto; text-align: center; }
.abschnitt-kopf--mitte .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--gruen); --btn-fg: var(--blau);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75em 1.4em;
  font: 700 1rem/1.2 var(--font-text);
  color: var(--btn-fg); background: var(--btn-bg);
  border: 2px solid transparent; border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
  box-shadow: 0 6px 16px -8px rgb(0 47 107 / .5);
}
.btn:hover { transform: translateY(-1px); color: var(--btn-fg); background: color-mix(in srgb, var(--btn-bg) 88%, #000); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--blau { --btn-bg: var(--blau); --btn-fg: #fff; }
.btn--weiss { --btn-bg: #fff; --btn-fg: var(--blau); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--blau); border-color: currentColor; box-shadow: none; }
.btn--ghost:hover { background: var(--blau-50); }
.abschnitt--blau .btn--ghost, .hero .btn--ghost { --btn-fg: #fff; }
.abschnitt--blau .btn--ghost:hover, .hero .btn--ghost:hover { background: rgb(255 255 255 / .1); }
.btn--gross { min-height: 56px; padding-inline: 1.8em; font-size: 1.08rem; }
.btn--klein { min-height: 40px; padding: .5em 1em; font-size: .92rem; }
.btn-gruppe { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }

/* ---------- Header ---------- */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / .92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--linie);
}
.kopf__innen { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.logo { display: inline-flex; align-items: center; text-decoration: none; flex: none; }

.logo:hover { opacity: .9; }
.nav { margin-left: auto; }
.nav__liste { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: block; padding: .55em .85em; border-radius: 999px;
  font-weight: 600; color: var(--text); text-decoration: none; white-space: nowrap;
}
.nav__link:hover { background: var(--blau-50); color: var(--blau); }
.nav__link[aria-current="page"] { color: var(--blau); background: var(--blau-100); }
.kopf__cta { margin-left: .5rem; }
.menue-knopf {
  display: none; margin-left: auto;
  width: 48px; height: 48px; border-radius: 12px; border: 1px solid var(--linie);
  background: #fff; color: var(--blau); cursor: pointer;
  align-items: center; justify-content: center;
}
.menue-knopf svg { width: 24px; height: 24px; }
@media (max-width: 960px) {
  .menue-knopf { display: inline-flex; }
  .kopf__cta { display: none; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; margin: 0;
    background: #fff; border-bottom: 1px solid var(--linie); box-shadow: var(--schatten-gross);
    padding: .75rem var(--rand) 1.25rem;
    display: none;
  }
  .nav.ist-offen { display: block; }
  .nav__liste { flex-direction: column; align-items: stretch; }
  .nav__link { padding: .85em 1em; font-size: 1.08rem; }
  .nav__cta-mobil { margin-top: .5rem; }
}
@media (min-width: 961px) { .nav__cta-mobil { display: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(900px 500px at 85% 20%, rgb(79 179 232 / .35), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgb(132 192 64 / .28), transparent 60%),
    linear-gradient(160deg, #002f6b 0%, #01245a 60%, #001a44 100%);
  color: #dbe5f7;
  padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(3.5rem, 2rem + 5vw, 7rem);
}
.hero h1 { color: #fff; }
.hero h1 .akzent { color: var(--gruen); }
.hero .lead { color: #c9d6f0; }
.hero__raster { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero__raster { grid-template-columns: 1.15fr .85fr; } }
.hero__bild { position: relative; justify-self: center; max-width: 440px; width: 80%; }
.hero__bild img { filter: drop-shadow(0 30px 40px rgb(0 0 0 / .35)); animation: schweben 6s ease-in-out infinite; }
@keyframes schweben { 50% { transform: translateY(-10px) rotate(-1.5deg); } }
.hero__fakten { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 1.75rem 0 0; padding: 0; list-style: none; font-weight: 600; color: #fff; }
.hero__fakten li { display: inline-flex; align-items: center; gap: .45em; }
.hero__fakten svg { width: 20px; height: 20px; color: var(--gruen); flex: none; }
.stoerer {
  position: absolute; z-index: 2; right: 0; top: 4%;
  width: 132px; height: 132px; border-radius: 50%;
  display: grid; place-content: center; text-align: center;
  background: var(--gelb); color: var(--blau);
  font: 800 .95rem/1.15 var(--font-display);
  transform: rotate(10deg); box-shadow: 0 10px 30px -10px rgb(0 0 0 / .5);
  padding: .5rem;
}
.stoerer strong { font-size: 1.35rem; display: block; }
.konfetti { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.konfetti i {
  position: absolute; width: 12px; height: 5px; border-radius: 3px; opacity: .55;
  background: var(--c, var(--gruen)); transform: rotate(var(--r, 20deg));
}
.seitenkopf {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(160deg, #002f6b 0%, #01245a 100%);
  color: #c9d6f0;
  padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem);
}
.seitenkopf h1 { color: #fff; margin-bottom: .35em; }
.seitenkopf .lead { color: #c9d6f0; }
.brotkrumen { font-size: .9rem; margin-bottom: 1rem; }
.brotkrumen ol { display: flex; flex-wrap: wrap; gap: .4em; list-style: none; margin: 0; padding: 0; }
.brotkrumen li + li::before { content: "›"; margin-right: .4em; opacity: .6; }
.brotkrumen a { color: #c9d6f0; }
.brotkrumen [aria-current] { color: #fff; font-weight: 600; }

/* ---------- Karten & Raster ---------- */
.raster { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.raster--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.raster--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.karte {
  background: var(--karte); border-radius: var(--radius);
  box-shadow: var(--schatten); padding: clamp(1.25rem, 1rem + 1vw, 2rem);
  border: 1px solid rgb(0 47 107 / .05);
}
.karte h3 { margin-bottom: .35em; }
.karte p:last-child { margin-bottom: 0; }
.vorteil { display: flex; flex-direction: column; gap: .5rem; }
.vorteil__icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--gruen-100); color: var(--gruen-700);
}
.vorteil__icon svg { width: 28px; height: 28px; }
.vorteil:nth-child(4n+2) .vorteil__icon { background: var(--gelb-100); color: #9a6a00; }
.vorteil:nth-child(4n+3) .vorteil__icon { background: var(--blau-100); color: var(--blau); }
.vorteil:nth-child(4n+4) .vorteil__icon { background: var(--rot-100); color: #b02a17; }

.badge {
  display: inline-flex; align-items: center; gap: .35em;
  padding: .25em .7em; border-radius: 999px;
  font-size: .8rem; font-weight: 700; line-height: 1.3;
  background: var(--blau-100); color: var(--blau);
}
.badge--frist { background: var(--rot-100); color: #a52714; }
.badge--gruen { background: var(--gruen-100); color: var(--gruen-700); }
.badge--gelb { background: var(--gelb-100); color: #7a5400; }
.badge--grau { background: #eceff4; color: var(--muted); }
.badges { display: flex; flex-wrap: wrap; gap: .4rem; }

/* Produktkarten (Startseite & Sortiment) */
.produkt { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.produkt__bild { background: #fff; aspect-ratio: 4 / 3; display: grid; place-items: center; border-bottom: 1px solid var(--linie); }
.produkt__bild img { width: 100%; height: 100%; object-fit: contain; }
.produkt__inhalt { padding: 1.25rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.produkt__nr { font-size: .8rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.produkt__name { margin: 0; }
.produkt__kurz { color: var(--muted); font-size: .97rem; margin: 0; }
.produkt__preis { margin-top: auto; display: flex; align-items: baseline; gap: .4em; flex-wrap: wrap; }
.produkt__preis strong { font: 800 1.5rem/1 var(--font-display); color: var(--blau); }
.produkt__preis span { color: var(--muted); font-size: .92rem; }

/* Sortiment-Detail */
.artikel-detail { display: grid; gap: 0; padding: 0; overflow: hidden; }
@media (min-width: 860px) { .artikel-detail { grid-template-columns: 1fr 1.25fr; } }
.artikel-detail__bilder { background: #fff; display: grid; gap: 0; grid-template-columns: repeat(var(--n, 2), 1fr); align-content: start; }
.artikel-detail__bilder img { border-bottom: 1px solid var(--linie); }
.artikel-detail__bilder img:not(:first-child) + img { border-left: 1px solid var(--linie); }
@media (min-width: 860px) { .artikel-detail__bilder { border-right: 1px solid var(--linie); } }
/* height:auto statt 100 % – Safari (iPhone) ließ die Bilder sonst in den Text ragen */
.artikel-detail__bilder img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain; background: #fff; }
.artikel-detail__bilder img:first-child { grid-column: 1 / -1; }
.artikel-detail__bilder:has(> img:only-child) { align-content: center; }
.artikel-detail__bilder img:only-child { border-bottom: 0; }
.artikel-detail__text { padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); display: flex; flex-direction: column; gap: .9rem; }
.artikel-detail__text h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin: 0; }
.fakten { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; margin: 0; font-size: .97rem; }
.fakten dt { color: var(--muted); }
.fakten dd { margin: 0; font-weight: 600; }
.preisstufen { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.preisstufe { border-radius: var(--radius-s); padding: .9rem 1rem; background: var(--blau-50); border: 1px solid var(--blau-100); }
.preisstufe--palette { background: var(--gruen-100); border-color: #d6eabf; }
.preisstufe__label { font-size: .82rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.preisstufe__preis { font: 800 1.45rem/1.15 var(--font-display); color: var(--blau); margin: .2rem 0; }
.preisstufe__stk { font-size: .92rem; color: var(--text); }

/* Schritte */
.schritte { counter-reset: schritt; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); list-style: none; padding: 0; margin: 0; }
.schritt { position: relative; padding-top: 5.4rem !important; }
.schritt::before {
  counter-increment: schritt; content: counter(schritt);
  position: absolute; top: 1.4rem; left: clamp(1.25rem, 1rem + 1vw, 2rem);
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  font: 800 1.25rem/1 var(--font-display); background: var(--gruen); color: var(--blau);
}

/* Teaser-Band */
.teaser {
  display: grid; gap: 2rem; align-items: center;
  background: linear-gradient(135deg, var(--blau) 0%, var(--blau-800) 100%);
  color: #dbe5f7; border-radius: calc(var(--radius) + 8px); padding: clamp(1.75rem, 1.2rem + 3vw, 3.5rem);
  position: relative; overflow: hidden; isolation: isolate;
}
.teaser h2 { color: #fff; }
@media (min-width: 860px) { .teaser { grid-template-columns: 1.3fr .7fr; } }
.teaser__zahlen { display: grid; gap: .75rem; }
.teaser__zahl { background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .14); border-radius: var(--radius-s); padding: 1rem 1.2rem; }
.teaser__zahl strong { display: block; font: 800 1.8rem/1.1 var(--font-display); color: #fff; }

/* FAQ */
.faq { display: grid; gap: .75rem; max-width: 860px; }
.faq details { background: #fff; border-radius: var(--radius-s); border: 1px solid var(--linie); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.1rem 3rem 1.1rem 1.25rem; position: relative;
  font: 700 1.08rem/1.35 var(--font-text); color: var(--blau);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.25rem; top: 50%; width: 12px; height: 12px;
  border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor;
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details > div { padding: 0 1.25rem 1.2rem; }
.faq details > div p:last-child { margin-bottom: 0; }

/* Hinweise */
.hinweis {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: 1rem 1.15rem; border-radius: var(--radius-s);
  background: var(--blau-50); border: 1px solid var(--blau-100); color: var(--text);
}
.hinweis svg { width: 22px; height: 22px; flex: none; margin-top: .1rem; color: var(--blau); }
.hinweis p { margin: 0; }
.hinweis--warnung { background: var(--gelb-100); border-color: #f5dd95; }
.hinweis--warnung svg { color: #9a6a00; }
.hinweis--fehler { background: var(--rot-100); border-color: #f5c2bb; }
.hinweis--fehler svg { color: #b02a17; }
.hinweis--erfolg { background: var(--gruen-100); border-color: #cfe5b4; }
.hinweis--erfolg svg { color: var(--gruen-700); }
.konditionen { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.konditionen li { display: flex; gap: .6rem; align-items: flex-start; }
.konditionen svg { width: 20px; height: 20px; flex: none; color: var(--gruen-600); margin-top: .2rem; }

/* ---------- Formulare ---------- */
.formular { display: grid; gap: 1.1rem; }
.formular__reihe { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .formular__reihe--2 { grid-template-columns: 1fr 1fr; } .formular__reihe--plz { grid-template-columns: 140px 1fr; } }
.feld { display: grid; gap: .35rem; }
.feld label, .feld legend, .label { font-weight: 700; font-size: .97rem; color: var(--text); }
.feld .optional { font-weight: 500; color: var(--muted); }
.feld input[type="text"], .feld input[type="email"], .feld input[type="tel"], .feld input[type="number"],
.feld select, .feld textarea, .eingabe {
  width: 100%; min-height: 50px; padding: .7rem .95rem;
  font: 500 1.05rem/1.3 var(--font-text); color: var(--text);
  background: #fff; border: 1.5px solid #c9d1df; border-radius: var(--radius-s);
  transition: border-color .15s, box-shadow .15s;
}
.feld textarea { min-height: 140px; resize: vertical; }
.feld input:hover, .feld select:hover, .feld textarea:hover, .eingabe:hover { border-color: #9eabc2; }
.feld input:focus, .feld select:focus, .feld textarea:focus, .eingabe:focus {
  outline: none; border-color: var(--blau); box-shadow: 0 0 0 4px rgb(0 47 107 / .14);
}
.feld [aria-invalid="true"] { border-color: var(--rot); }
.feld__fehler { color: #b02a17; font-size: .9rem; font-weight: 600; min-height: 0; }
.feld__fehler:empty { display: none; }
.feld__hilfe { color: var(--muted); font-size: .9rem; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.check { display: flex; gap: .7rem; align-items: flex-start; cursor: pointer; font-size: .97rem; }
.check input { width: 22px; height: 22px; margin: .15rem 0 0; accent-color: var(--blau); flex: none; }
.optionen { display: grid; gap: .6rem; }
@media (min-width: 640px) { .optionen--2 { grid-template-columns: 1fr 1fr; } }
.option {
  display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1rem; cursor: pointer;
  border: 1.5px solid #c9d1df; border-radius: var(--radius-s); background: #fff;
}
.option:has(input:checked) { border-color: var(--blau); background: var(--blau-50); box-shadow: 0 0 0 3px rgb(0 47 107 / .1); }
.option input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--blau); flex: none; }
.option small { display: block; color: var(--muted); font-size: .88rem; }
.honig { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }

/* Stepper */
.stepper {
  display: inline-flex; align-items: stretch;
  border: 1.5px solid #c9d1df; border-radius: 14px; background: #fff; overflow: hidden;
}
.stepper button {
  width: 48px; min-height: 48px; border: 0; background: var(--blau-50); color: var(--blau);
  font: 700 1.4rem/1 var(--font-text); cursor: pointer; display: grid; place-items: center;
}
.stepper button:hover { background: var(--blau-100); }
.stepper button:disabled { color: #a8b2c4; cursor: not-allowed; background: #f1f3f7; }
.stepper input {
  width: 4.2em; border: 0; text-align: center; font: 800 1.15rem/1 var(--font-text);
  color: var(--blau); font-variant-numeric: tabular-nums; background: #fff; min-height: 48px;
  -moz-appearance: textfield; appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; box-shadow: inset 0 0 0 3px rgb(0 47 107 / .18); }
.stepper:focus-within { border-color: var(--blau); }

/* Segmentierte Auswahl */
.segmente { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.segmente--4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 560px) { .segmente--4 { grid-template-columns: repeat(4, 1fr); } }
.segment { position: relative; }
.segment input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.segment span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem;
  min-height: 60px; padding: .55rem .4rem; text-align: center;
  border: 1.5px solid #c9d1df; border-radius: var(--radius-s); background: #fff;
  font-weight: 700; color: var(--text); line-height: 1.2; transition: all .15s;
}
.segment small { font-weight: 600; color: var(--muted); font-size: .85rem; }
.segment input:checked + span { border-color: var(--blau); background: var(--blau); color: #fff; }
.segment input:checked + span small { color: #c9d6f0; }
.segment input:focus-visible + span { outline: 3px solid var(--gelb); outline-offset: 2px; }
.segment:hover span { border-color: #9eabc2; }

/* Slider */
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; cursor: pointer;
  --pct: 50%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 8px; border-radius: 99px;
  background: linear-gradient(to right, var(--gruen) var(--pct), #dde3ee var(--pct));
}
input[type="range"]::-moz-range-track { height: 8px; border-radius: 99px; background: #dde3ee; }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 99px; background: var(--gruen); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%;
  background: #fff; border: 3px solid var(--blau); box-shadow: 0 2px 6px rgb(0 0 0 / .2);
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--blau);
}
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgb(255 199 44 / .7); }
input[type="range"]:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px rgb(255 199 44 / .7); }
.skala { display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); margin-top: -.15rem; }

/* ---------- Rechner ---------- */
.rechner { display: grid; gap: 1.25rem; }
@media (min-width: 1040px) {
  .rechner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; }
  .rechner__ergebnis { position: sticky; top: 92px; }
}
.rechner__eingaben { display: grid; gap: 1.25rem; }
.rkarte { position: relative; }
.rkarte__kopf { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; }
.rkarte__nr {
  width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center;
  font: 800 1.1rem/1 var(--font-display); background: var(--blau); color: #fff;
}
.rkarte__kopf h2 { font-size: 1.35rem; margin: 0; }
.rkarte__kopf p { margin: 0; color: var(--muted); font-size: .92rem; }
.rkarte--fuss { border-top: 6px solid var(--gruen); }
.rkarte--fuss .rkarte__nr { background: var(--gruen); color: var(--blau); }
.rkarte--wagen { border-top: 6px solid var(--himmel); }
.rkarte--wagen .rkarte__nr { background: var(--himmel); color: var(--blau); }
.rkarte--inaktiv > :not(.rkarte__kopf):not(.rkarte__zeile--anzahl) { opacity: .55; }
.rkarte__zeile { display: grid; gap: .5rem; margin-bottom: 1.15rem; }
.rkarte__zeile:last-child { margin-bottom: 0; }
.wert-zeile { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .75rem; }
.eingabe-mit-einheit { position: relative; display: inline-flex; align-items: center; }
.eingabe-mit-einheit input { padding-right: 2.6rem; font-weight: 800; color: var(--blau); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.eingabe-mit-einheit span { position: absolute; right: .95rem; font-weight: 700; color: var(--muted); pointer-events: none; }
.eingabe-budget { max-width: 220px; }
.eingabe-km { max-width: 130px; }
.mini-ergebnis {
  display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; margin-top: 1rem; padding-top: 1rem;
  border-top: 1px dashed var(--linie); font-size: .93rem; color: var(--muted);
}
.mini-ergebnis strong { color: var(--blau); font-variant-numeric: tabular-nums; }

.ergebnis { background: #fff; border-radius: var(--radius); box-shadow: var(--schatten-gross); overflow: hidden; }
.ergebnis__kopf { background: var(--blau); color: #c9d6f0; padding: 1.5rem clamp(1.25rem, 1rem + 1vw, 2rem); }
.ergebnis__kopf h2 { color: #fff; font-size: 1.35rem; margin: 0 0 1rem; display: flex; align-items: center; gap: .7rem; }
.ergebnis__kopf .rkarte__nr { background: var(--gelb); color: var(--blau); }
.kennzahlen { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
.kennzahl { background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .12); border-radius: var(--radius-s); padding: .8rem 1rem; }
.kennzahl__wert { display: block; font: 800 clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem)/1.1 var(--font-display); color: #fff; font-variant-numeric: tabular-nums; }
.kennzahl__label { font-size: .85rem; }
.kennzahl--gross { grid-column: 1 / -1; background: var(--gruen); border-color: var(--gruen); color: var(--blau); }
.kennzahl--gross .kennzahl__wert { color: var(--blau); font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); }
.ergebnis__inhalt { padding: 1.5rem clamp(1.25rem, 1rem + 1vw, 2rem); display: grid; gap: 1.5rem; }
.budgetbalken { display: grid; gap: .6rem; }
.balken { position: relative; height: 34px; border-radius: 10px; background: #eceff4; display: flex; overflow: hidden; }
.balken__teil { height: 100%; transition: width .35s ease; min-width: 0; }
.balken__teil--fuss { background: var(--gruen); }
.balken__teil--wagen { background: var(--himmel); }
.balken__teil--reserve { background: repeating-linear-gradient(45deg, #d7dde8 0 8px, #e7ebf2 8px 16px); }
.legende { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; font-size: .9rem; list-style: none; margin: 0; padding: 0; }
.legende li { display: inline-flex; align-items: center; gap: .45em; }
.legende i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.deckung { display: grid; gap: .45rem; }
.deckung__balken { height: 12px; border-radius: 99px; background: #eceff4; overflow: hidden; }
.deckung__balken span { display: block; height: 100%; background: linear-gradient(90deg, var(--gelb), var(--gruen)); transition: width .35s; }
.deckung p { margin: 0; font-size: .95rem; }
.bereiche { display: grid; gap: 1rem; }
@media (min-width: 560px) { .bereiche { grid-template-columns: 1fr 1fr; } }
.bereich { border-radius: var(--radius-s); padding: 1rem 1.1rem; background: var(--gruen-100); }
.bereich--wagen { background: #e5f4fc; }
.bereich h3 { font-size: 1.05rem; margin-bottom: .6rem; display: flex; align-items: center; gap: .5rem; }
.bereich dl { display: grid; grid-template-columns: 1fr auto; gap: .3rem .75rem; margin: 0; font-size: .93rem; }
.bereich dt { color: var(--muted); }
.bereich dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; color: var(--blau); }
.bereich--leer { opacity: .6; }

.tabelle-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.tabelle { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tabelle th, .tabelle td { padding: .6rem .5rem; text-align: left; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle th { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; }
.tabelle td.r, .tabelle th.r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tabelle tfoot td { font-weight: 800; color: var(--blau); border-bottom: 0; }
.tabelle small { color: var(--muted); display: block; }

/* ---------- Bestelltool ---------- */
.bestell-layout { display: grid; gap: 1.5rem; }
@media (min-width: 1040px) {
  .bestell-layout { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
  .zusammenfassung { position: sticky; top: 92px; }
}
.artikel-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.artikel {
  display: grid; gap: 1rem; padding: 1rem; grid-template-columns: 96px 1fr;
  align-items: start; transition: box-shadow .2s, border-color .2s;
}
@media (min-width: 720px) { .artikel { grid-template-columns: 140px 1fr auto; padding: 1.25rem; } }
.artikel.ist-gewaehlt { border-color: var(--gruen); box-shadow: 0 0 0 2px var(--gruen), var(--schatten); }
.artikel.ist-gesperrt { opacity: .65; }
.artikel__bild { border-radius: var(--radius-s); overflow: hidden; background: #fff; border: 1px solid var(--linie); aspect-ratio: 4/3; }
.artikel__bild img { width: 100%; height: 100%; object-fit: contain; }
.artikel__info { display: grid; gap: .35rem; min-width: 0; }
.artikel__info h3 { margin: 0; font-size: 1.15rem; }
.artikel__info p { margin: 0; color: var(--muted); font-size: .93rem; }
.artikel__preise { font-size: .92rem; color: var(--text); }
.artikel__preise b { color: var(--blau); }
.artikel__aktion { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; }
@media (min-width: 720px) { .artikel__aktion { grid-column: auto; flex-direction: column; align-items: flex-end; justify-content: flex-start; min-width: 190px; } }
.artikel__summe { text-align: right; font-size: .9rem; color: var(--muted); line-height: 1.35; }
.artikel__summe strong { display: block; font: 800 1.25rem/1.2 var(--font-display); color: var(--blau); font-variant-numeric: tabular-nums; }
.artikel__tipp { grid-column: 1 / -1; font-size: .9rem; padding: .55rem .8rem; border-radius: 10px; background: var(--gelb-100); color: #5e4100; }
.artikel__tipp:empty { display: none; }
.artikel__meldung { grid-column: 1 / -1; font-size: .9rem; font-weight: 600; color: var(--blau); }
.artikel__meldung:empty { display: none; }

.zusammenfassung { padding: 0; overflow: hidden; }
.zusammenfassung__kopf { background: var(--blau); color: #fff; padding: 1.1rem 1.4rem; }
.zusammenfassung__kopf h2 { color: #fff; font-size: 1.2rem; margin: 0; }
.zusammenfassung__inhalt { padding: 1.2rem 1.4rem 1.4rem; display: grid; gap: 1rem; }
.zusammenfassung__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: .93rem; }
.zusammenfassung__liste li { display: flex; justify-content: space-between; gap: 1rem; }
.zusammenfassung__liste span:last-child { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.zusammenfassung__leer { color: var(--muted); font-size: .95rem; margin: 0; }
.summe-zeile { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px solid var(--linie); padding-top: .8rem; }
.summe-zeile strong { font: 800 1.7rem/1 var(--font-display); color: var(--blau); font-variant-numeric: tabular-nums; }
.fortschritt { display: grid; gap: .4rem; font-size: .9rem; }
.fortschritt__balken { height: 10px; border-radius: 99px; background: #eceff4; overflow: hidden; }
.fortschritt__balken span { display: block; height: 100%; background: var(--gruen); transition: width .3s; }
.leiste-unten {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: #fff; border-top: 1px solid var(--linie); box-shadow: 0 -8px 24px -12px rgb(0 28 70 / .3);
  padding: .7rem var(--rand) calc(.7rem + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.leiste-unten strong { font: 800 1.3rem/1.1 var(--font-display); color: var(--blau); display: block; font-variant-numeric: tabular-nums; }
.leiste-unten small { color: var(--muted); }
@media (min-width: 1040px) { .leiste-unten { display: none; } }
.hat-leiste { padding-bottom: 88px; }
@media (min-width: 1040px) { .hat-leiste { padding-bottom: 0; } }

/* ---------- Kontakt ---------- */
.kontakt-raster { display: grid; gap: 1.5rem; }
@media (min-width: 900px) { .kontakt-raster { grid-template-columns: .8fr 1.2fr; align-items: start; } }
.kontaktweg { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--linie); }
.kontaktweg:last-child { border-bottom: 0; }
.kontaktweg__icon { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--blau-100); color: var(--blau); }
.kontaktweg__icon svg { width: 22px; height: 22px; }
.kontaktweg a { font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.kontaktweg p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 820px; }
.rechtstext h2 { font-size: 1.45rem; margin-top: 2rem; }
.rechtstext h3 { font-size: 1.15rem; margin-top: 1.4rem; }

/* ---------- Footer ---------- */
.fuss { background: #001a44; color: #b6c4de; padding-block: 3.5rem 2rem; font-size: .97rem; }
.fuss a { color: #e3ebfa; text-decoration: none; }
.fuss a:hover { text-decoration: underline; color: #fff; }
.fuss__raster { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.fuss h2 { font: 800 1rem/1.3 var(--font-text); color: #fff; letter-spacing: .02em; margin-bottom: .8rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }

.fuss__unten { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .12); display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; font-size: .88rem; }

/* ---------- Hilfsklassen ---------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-0 { margin-bottom: 0; }
.text-mitte { text-align: center; }
.muted { color: var(--muted); }
.stapel { display: grid; gap: 1rem; }
.stapel--gross { gap: 2rem; }
.clown-akzent { width: 120px; position: absolute; right: -8px; top: -46px; pointer-events: none; filter: drop-shadow(0 8px 14px rgb(0 0 0 / .18)); }
@media (max-width: 560px) { .clown-akzent { width: 60px; top: -40px; right: 6px; } }
[hidden] { display: none !important; }
@media print {
  .kopf, .fuss, .leiste-unten, .btn, .menue-knopf { display: none !important; }
  body { background: #fff; }
}

/* Logo (Vektor aus der Visitenkarte) */
.logo img { height: 30px; width: auto; }
.fuss .logo img { height: 28px; }
@media (max-width: 400px) { .logo img { height: 26px; } }

/* Produktkarte als Link */
.produkt-liste { list-style: none; margin: 0; padding: 0; }
.produkt-liste > li { display: flex; }
a.produkt { color: inherit; text-decoration: none; width: 100%; transition: transform .2s ease, box-shadow .2s ease; }
a.produkt:hover { transform: translateY(-3px); box-shadow: var(--schatten-gross); color: inherit; }
a.produkt:hover .produkt__name { color: var(--blau-800); text-decoration: underline; text-underline-offset: .15em; }

/* Stepper-Eingabe darf nicht von .feld-Regeln gestreckt werden */
.feld .stepper input[type="text"], .stepper input[type="text"] {
  width: 4.2em; min-height: 48px; padding: 0 .25rem; border: 0; border-radius: 0; box-shadow: none;
  font: 800 1.15rem/1 var(--font-text); color: var(--blau); text-align: center;
}
.feld .stepper input[type="text"]:focus { box-shadow: inset 0 0 0 3px rgb(0 47 107 / .18); }
.bereich dl { font-size: .88rem; }

/* Symbole für Fußgruppe und Wagen im Rechner */
.rkarte__symbol {
  margin-left: auto; flex: none; width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
}
.rkarte__symbol svg { width: 30px; height: 30px; }
.rkarte--fuss .rkarte__symbol { background: var(--gruen-100); color: var(--gruen-700); }
.rkarte--wagen .rkarte__symbol { background: #e5f4fc; color: #0b6ea3; }
.bereich__symbol { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #fff; }
.bereich__symbol svg { width: 18px; height: 18px; }
.bereich .bereich__symbol { color: var(--gruen-700); }
.bereich--wagen .bereich__symbol { color: #0b6ea3; }
@media (max-width: 400px) { .rkarte__symbol { width: 44px; height: 44px; } .rkarte__symbol svg { width: 26px; height: 26px; } }

/* Newsletter-Band im Footer */
.newsletter {
  display: grid; gap: 1.25rem 2.5rem; align-items: center;
  padding: 1.75rem clamp(1.25rem, 1rem + 1.5vw, 2.25rem); margin-bottom: 3rem;
  border-radius: var(--radius); background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12);
}
@media (min-width: 900px) { .newsletter { grid-template-columns: 1fr 1.1fr; } }
.newsletter h2 { font: 800 1.35rem/1.25 var(--font-display); color: #fff; margin: 0 0 .4rem; letter-spacing: -.01em; }
.newsletter__text p { margin: 0; }
.newsletter__zeile { display: flex; gap: .6rem; flex-wrap: wrap; }
.newsletter__zeile .eingabe { flex: 1 1 220px; min-width: 0; }
.newsletter__hinweis { font-size: .82rem; color: #9fb0cf; margin: .7rem 0 0; }
.newsletter__hinweis a { color: #e3ebfa; text-decoration: underline; }

.seitenkopf__meta { margin: 1rem 0 0; font-size: .9rem; color: #9fb0cf; }
.tabelle th[scope="row"] { color: var(--blau); font-weight: 700; text-transform: none; letter-spacing: 0; font-size: .95rem; }

/* Tabellen dürfen Raster nicht aufweiten – sie scrollen innerhalb ihres Kastens */
.stapel > *, .raster > *, .karte { min-width: 0; }
.tabelle-scroll { max-width: 100%; }

/* Teilen & Drucken im Rechner */
.teilen-box { display: grid; gap: 1rem; padding: 1.25rem; border-radius: var(--radius-s); background: var(--blau-50); border: 1px solid var(--blau-100); }
.teilen-box h3 { margin: 0; font-size: 1.1rem; }
.teilen-box .feld { max-width: 520px; }

/* Druckfassung der Kalkulation (A4) */
.druck { display: none; }
@media print {
  @page { size: A4; margin: 12mm 14mm 12mm; }
  body.hat-druck { background: #fff; }
  body.hat-druck > *:not(main):not(.druck), body.hat-druck main { display: none !important; }
  body.hat-druck .druck { display: block; }
  .druck { font: 10pt/1.35 var(--font-text); color: #111; }
  .druck__kopf { display: flex; gap: 14mm; align-items: flex-start; border-bottom: 2pt solid #002f6b; padding-bottom: 4mm; margin-bottom: 3mm; }
  .druck__kopf img { width: 48mm; height: auto; margin-top: 1.5mm; }
  .druck h1 { font: 800 18pt/1.15 var(--font-display); color: #002f6b; margin: 0; }
  .druck__titel { font-size: 13pt; font-weight: 700; margin: 1.5mm 0 0; }
  .druck__meta { font-size: 9pt; color: #555; margin: 1mm 0 0; }
  .druck h2 { font: 800 12pt/1.2 var(--font-display); color: #002f6b; margin: 4.5mm 0 1.5mm; padding-bottom: .8mm; border-bottom: .6pt solid #c9d1df; break-after: avoid; }
  .druck table { width: 100%; border-collapse: collapse; }
  .druck th, .druck td { text-align: left; padding: .8mm 2mm; border-bottom: .4pt solid #dfe4ee; vertical-align: top; }
  .druck tr { break-inside: avoid; }
  .druck__liste th { width: 52mm; font-weight: 600; color: #333; }
  .druck__tabelle thead th { font-size: 8.5pt; text-transform: uppercase; letter-spacing: .03em; color: #555; border-bottom: .8pt solid #002f6b; }
  .druck__tabelle .r { text-align: right; white-space: nowrap; }
  .druck__tabelle tfoot td { font-weight: 800; border-top: .8pt solid #002f6b; border-bottom: 0; }
  .druck__punkte { margin: 0; padding-left: 5mm; }
  .druck__punkte li { margin-bottom: .5mm; }
  .druck__fuss { margin-top: 5mm; padding-top: 2.5mm; border-top: .6pt solid #c9d1df; font-size: 9pt; color: #333; break-inside: avoid; }
  .druck__fuss p { margin: 0 0 1.5mm; word-break: break-all; }
  .druck p { margin: 1mm 0 0; }
}

/* Seitensuche */
.nav__suchknopf { display: inline-flex; align-items: center; gap: .55rem; border: 0; background: none; cursor: pointer; font: inherit; font-weight: 600; }
.nav__suchknopf svg { width: 20px; height: 20px; flex: none; }
@media (min-width: 961px) {
  .nav__suchknopf { padding: .55em; }
  .nav__suchtext { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.suche {
  width: min(680px, calc(100vw - 32px)); max-height: min(80vh, 640px); margin: 9vh auto auto; padding: 0;
  border: 0; border-radius: var(--radius); box-shadow: var(--schatten-gross); overflow: hidden; color: var(--text);
}
.suche[open] { display: flex; flex-direction: column; }
.suche::backdrop { background: rgb(0 20 50 / .55); backdrop-filter: blur(2px); }
.suche__kopf { display: flex; align-items: center; gap: .6rem; padding: .85rem 1rem; border-bottom: 1px solid var(--linie); }
.suche__kopf > svg { width: 22px; height: 22px; color: var(--muted); flex: none; }
.suche__kopf input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: 500 1.15rem/1.3 var(--font-text); color: var(--text); min-height: 44px; }
.suche__kopf input::-webkit-search-cancel-button { display: none; }
.suche__zu { flex: none; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--blau-50); color: var(--blau); font-size: 1.4rem; line-height: 1; cursor: pointer; }
.suche__ergebnisse { overflow: auto; padding: .5rem; }
.suche__liste { list-style: none; margin: 0; padding: 0; }
.suche__liste a { display: grid; gap: .15rem; padding: .7rem .85rem; border-radius: 12px; text-decoration: none; color: var(--text); }
.suche__liste a:hover, .suche__liste a:focus-visible { background: var(--blau-50); outline: none; box-shadow: inset 0 0 0 2px var(--blau-100); }
.suche__seite { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--gruen-700); }
.suche__liste strong { color: var(--blau); font-size: 1.02rem; }
.suche__text { font-size: .9rem; color: var(--muted); }
.suche mark { background: var(--gelb-100); color: inherit; border-radius: 3px; padding: 0 .05em; }
.suche__leer { padding: .9rem 1rem; color: var(--muted); margin: 0; }
.suche__hinweis { padding: .4rem 1rem .8rem; margin: 0; font-size: .8rem; color: var(--muted); border-top: 1px solid var(--linie); }

/* Mitlaufender Hinweis im Rechner */
.mitlauf {
  position: fixed; z-index: 45; right: 24px; bottom: 24px;
  display: flex; gap: .6rem; align-items: stretch;
  opacity: 0; transform: translateY(16px); pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.mitlauf.ist-sichtbar { opacity: 1; transform: none; pointer-events: auto; }
.mitlauf .btn { box-shadow: 0 10px 28px -8px rgb(0 28 70 / .45); }
.mitlauf__haupt { min-height: 56px; padding-inline: 1.3em 1.5em; text-align: left; }
.mitlauf__haupt span { display: grid; line-height: 1.2; }
.mitlauf__haupt small { font-weight: 600; font-size: .82rem; opacity: .85; }
.mitlauf__haupt small:empty { display: none; }
.mitlauf__neben { min-height: 56px; border: 1px solid var(--blau-100); }
@media (max-width: 640px) {
  .mitlauf { left: var(--rand); right: var(--rand); bottom: calc(12px + env(safe-area-inset-bottom)); }
  .mitlauf__haupt { flex: 1; }
  .mitlauf__neben span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .mitlauf__neben { padding-inline: 1em; }
}
@media print { .mitlauf { display: none !important; } }

/* Budget mit +/- in 100-€-Schritten */
.budget-zeile { display: flex; align-items: stretch; gap: .5rem; max-width: 340px; }
.budget-zeile .eingabe-budget { flex: 1; max-width: none; }
.budget-zeile .eingabe-budget input { padding-left: 2.5rem; background: #fff; cursor: text; }
.eingabe-stift { position: absolute; left: .85rem; width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.eingabe-budget:focus-within .eingabe-stift { color: var(--blau); }
.stufe-knopf {
  flex: none; width: 50px; min-height: 50px; border: 1.5px solid #c9d1df; border-radius: var(--radius-s);
  background: var(--blau-50); color: var(--blau); font: 700 1.4rem/1 var(--font-text); cursor: pointer;
}
.stufe-knopf:hover { background: var(--blau-100); }

/* Teilen-Bereich: Symbole in Knöpfen, Link in der Zusammenfassung */
.teilen-box .btn svg { width: 1.15em; height: 1.15em; }
.zf-teilen { display: inline-flex; align-items: center; gap: .45rem; justify-self: center; font-weight: 600; font-size: .92rem; }
.zf-teilen svg { width: 18px; height: 18px; }

/* „inkl. MwSt.“ unter Preisen */
.mwst { display: block; font-size: .78rem; font-weight: 500; color: var(--muted); }
.produkt__preis .mwst { flex-basis: 100%; margin-top: -.15rem; }
.artikel__preise .mwst { display: inline; }

/* Werbedruck: Produkt + Beispiel */
.werbedruck-bilder { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: center; }
.werbedruck-bilder figure { margin: 0; }
.werbedruck-bilder figcaption { font-size: .82rem; color: var(--muted); text-align: center; margin-top: .4rem; }

/* Teaser: bei 9 Artikeln 3×3 statt 4+4+1 */
.produkt-liste:has(> li:nth-child(9):last-child) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }

/* Handy-Optimierungen (Rückmeldung Auftraggeber 15.10.2026) */
@media (max-width: 559.98px) {
  /* Buttons in Gruppen: volle Breite, gleich lang, Text zentriert */
  .btn-gruppe > .btn { flex: 1 1 100%; text-align: center; }
  .btn--gross { padding-inline: 1.2em; }
  .hero__fakten { flex-direction: column; }
  /* Produktvorschlag als Karten statt breiter Tabelle */
  .tabelle--vorschlag thead { display: none; }
  .tabelle--vorschlag tr { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem 1.25rem; padding: .85rem 0; border-bottom: 1px solid var(--linie); }
  .tabelle--vorschlag td { display: flex; justify-content: space-between; gap: .5rem; padding: 0; border: 0; }
  .tabelle--vorschlag td:first-child { display: block; grid-column: 1 / -1; margin-bottom: .25rem; }
  .tabelle--vorschlag td[data-label]::before { content: attr(data-label); color: var(--muted); font-weight: 500; text-transform: none; }
  .tabelle--vorschlag td:empty { display: none; }
  .tabelle--vorschlag tfoot tr { border-bottom: 0; }
}
/* Rechner: Budget gesamt oder pro Person */
.segmente--2 { grid-template-columns: 1fr 1fr; }
.budget-summe { margin: 0; font-weight: 700; color: var(--blau); }
.budget-summe:empty { display: none; }
/* Rechner: Zug auswählen (belegt die Zugstrecke vor) */
.zugwahl { display: grid; gap: .45rem; margin-top: .25rem; padding: .9rem 1rem; border-radius: var(--radius-s); background: var(--blau-50); border: 1px solid var(--blau-100); }
.zugwahl select { cursor: pointer; }
.zugwahl__dauer { display: grid; gap: .35rem; }
.zugwahl .feld__hilfe:empty { display: none; }
/* Kein Doppeltipp-Zoom auf dem iPhone (Zwei-Finger-Zoom bleibt möglich) */
html, body, a, button, input, select, textarea, label, .stepper, .budget-zeile { touch-action: manipulation; }
/* Größere +/−-Knöpfe im Rechner auf Handy und Tablet */
@media (max-width: 1039.98px) {
  .stepper button { width: 60px; min-height: 56px; font-size: 1.7rem; }
  .stepper input, .feld .stepper input[type="text"], .stepper input[type="text"] { min-height: 56px; width: 3.6em; }
  .stufe-knopf { width: 60px; min-height: 56px; font-size: 1.7rem; }
  .budget-zeile { max-width: 380px; }
  .budget-zeile .eingabe-budget input { min-height: 56px; }
  .budget-zeile .eingabe-budget { min-width: 0; }
}
@media (max-width: 400px) {
  .stepper button, .stufe-knopf { width: 54px; }
}
/* Bestellschein auf Handy/Tablet: Artikel → Ihre Bestellung → Teilen → Ihre Angaben */
@media (max-width: 1039.98px) {
  .bestell-layout { gap: 2rem; }
  .bestell-layout > .stapel { display: contents; }
  .bestell-layout > .zusammenfassung { order: 1; }
  .bestell-layout > .stapel > .teilen-box { order: 2; }
  .bestell-layout > .stapel > .bestell-angaben { order: 3; }
}
