/* ==========================================================================
   Heizöl-Express · Benno Forderer GmbH
   Gestaltung für alle Seiten
   ========================================================================== */

/* Schriften: liegen auf dem eigenen Server, keine Verbindung zu fremden Servern */
@font-face { font-family: "Zilla Slab"; src: url("../fonts/zilla-slab-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Zilla Slab"; src: url("../fonts/zilla-slab-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("../fonts/fira-sans-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("../fonts/fira-sans-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("../fonts/fira-sans-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* Farbpalette: Rot vom Fahrerhaus, Anthrazit, Tankgrau, Hellgrau, Weiß */
:root {
  --rot: #c62118;
  --rot-dunkel: #a3190f;
  --anthrazit: #25292d;
  --tankgrau: #9ba1a7;
  --hellgrau: #eceef0;
  --weiss: #fafaf9;

  --text: var(--anthrazit);
  --text-leise: #596068;
  --linie: #d7dade;
  --flaeche: #ffffff;

  --schrift-titel: "Zilla Slab", Rockwell, Georgia, serif;
  --schrift-text: "Fira Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --breite: 1160px;
  --rand: clamp(16px, 4vw, 32px);
  --radius: 6px;
  --schatten: 0 1px 2px rgba(37, 41, 45, .06), 0 8px 24px rgba(37, 41, 45, .07);
  --abstand: clamp(72px, 10vw, 128px);
}

/* Grundlagen */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--weiss);
  color: var(--text);
  font-family: var(--schrift-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { font-family: var(--schrift-titel); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.01em; overflow-wrap: break-word; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; line-height: 1.25; }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; border-radius: 2px; }
.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; }
.springen { position: absolute; left: 12px; top: -60px; background: var(--anthrazit); color: #fff; padding: 10px 16px; z-index: 100; border-radius: var(--radius); text-decoration: none; }
.springen:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
.abschnitt { padding: var(--abstand) 0; }
.abschnitt--grau { background: var(--hellgrau); }
.abschnitt--eng { padding: calc(var(--abstand) * .6) 0; }
.abschnitt--ohne-oben { padding-top: 0; }

/* Kleine Überschrift über dem Titel mit rotem Strich */
.zeile {
  display: block;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-leise); margin: 0 0 18px;
}
.zeile::before { content: ""; display: inline-block; width: 28px; height: 2px; background: var(--rot); vertical-align: middle; margin: -2px 12px 0 0; }
.einleitung { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--text-leise); max-width: 38em; }
.kopf-abschnitt { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }

/* Knöpfe */
.knopf {
  --knopf-bg: var(--rot);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  background: var(--knopf-bg); color: #fff;
  font: 600 1.02rem/1.2 var(--schrift-text); letter-spacing: .01em;
  border: 2px solid var(--knopf-bg); border-radius: var(--radius);
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.knopf:hover { --knopf-bg: var(--rot-dunkel); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(198, 33, 24, .22); }
.knopf:active { transform: translateY(0); box-shadow: none; }
.knopf svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .2s ease; }
.knopf:hover svg { transform: translateX(3px); }
.knopf--leise { background: transparent; color: var(--anthrazit); border-color: var(--anthrazit); }
.knopf--leise:hover { background: var(--anthrazit); color: #fff; box-shadow: none; }
.knopf--hell { background: #fff; color: var(--anthrazit); border-color: #fff; }
.knopf--hell:hover { background: transparent; color: #fff; border-color: #fff; box-shadow: none; }
.knopf--klein { min-height: 44px; padding: 9px 18px; font-size: .95rem; }
.knopf[disabled] { opacity: .6; cursor: wait; transform: none; box-shadow: none; }

.textlink { color: var(--anthrazit); font-weight: 500; text-decoration: underline; text-decoration-color: var(--rot); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: color .2s ease; }
.textlink:hover { color: var(--rot); }

/* ==========================================================================
   Kopfbereich mit Navigation
   ========================================================================== */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(250, 250, 249, .95); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .3s ease, box-shadow .3s ease; }
.kopf.ist-gescrollt { border-bottom-color: var(--linie); box-shadow: 0 2px 16px rgba(37, 41, 45, .05); }
.kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.logo { display: block; flex-shrink: 0; line-height: 0; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav__liste { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__liste a { display: block; padding: 10px 14px; text-decoration: none; font-weight: 500; color: var(--anthrazit); border-radius: var(--radius); position: relative; transition: color .2s ease, background-color .2s ease; }
.nav__liste a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; background: var(--rot); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.nav__liste a:hover::after, .nav__liste a[aria-current="page"]::after { transform: scaleX(1); }
.nav__liste .nav__cta { margin-left: 10px; background: var(--rot); color: #fff; padding: 10px 18px; }
.nav__liste .nav__cta::after { display: none; }
.nav__liste .nav__cta:hover, .nav__liste .nav__cta[aria-current="page"] { background: var(--rot-dunkel); }
.nav__telefon { display: inline-flex; align-items: center; gap: 8px; margin-right: 8px; font-weight: 500; text-decoration: none; color: var(--text-leise); white-space: nowrap; transition: color .2s ease; }
.nav__telefon:hover { color: var(--rot); }
.nav__telefon svg { width: 18px; height: 18px; color: var(--rot); }
.menue-knopf { display: none; }

/* ==========================================================================
   Startseite: großer Kopfbereich
   ========================================================================== */
.held { background: var(--hellgrau); padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.held__raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.held__text h1 { margin-bottom: 22px; }
.held__text h1 span { color: var(--rot); }
.held__text .einleitung { margin-bottom: 32px; }
.held__aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.held__anruf { color: var(--text-leise); margin: 0; }
.held__anruf a { color: var(--anthrazit); font-weight: 600; text-decoration: none; white-space: nowrap; border-bottom: 1px solid var(--tankgrau); transition: border-color .2s ease, color .2s ease; }
.held__anruf a:hover { color: var(--rot); border-color: var(--rot); }
.held__bild { position: relative; margin: 0; isolation: isolate; }
.held__bild img { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; object-position: 72% 55%; border-radius: var(--radius); box-shadow: var(--schatten); }
.held__bild::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--tankgrau); border-radius: var(--radius); z-index: -1; opacity: .55; }
.held__merkmale { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 34px 0 0; padding: 0; list-style: none; font-size: .95rem; color: var(--text-leise); }
.held__merkmale li { display: inline-flex; align-items: center; gap: 8px; }
.held__merkmale svg { width: 18px; height: 18px; color: var(--rot); flex-shrink: 0; }

/* Seitenkopf der Unterseiten */
.seitenkopf { background: var(--hellgrau); padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--linie); }
.seitenkopf h1 { max-width: 16em; }
.seitenkopf--kompakt { padding: clamp(20px, 3vw, 34px) 0 clamp(18px, 2.6vw, 28px); }
.seitenkopf--kompakt .zeile { margin-bottom: 8px; font-size: .74rem; }
.seitenkopf--kompakt h1 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin-bottom: 6px; }
.seitenkopf--kompakt .einleitung { font-size: 1rem; }
.abschnitt--kompakt { padding: clamp(18px, 2.6vw, 28px) 0; }
.abschnitt--kompakt.abschnitt--ohne-oben { padding-top: 0; padding-bottom: clamp(36px, 5vw, 56px); }
.abschnitt--kompakt .kleingedrucktes { font-size: .84rem; }
/* Graues Band mit den Hinweisen zwischen Einzel- und Sammelbestellung (wie der Seitenkopf) */
.hinweis-band { background: var(--hellgrau); border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.hinweis-band .kleingedrucktes p:last-child { margin-bottom: 0; }
.hinweis-band + .abschnitt--kompakt.abschnitt--ohne-oben { padding-top: clamp(18px, 2.6vw, 28px); }
/* Am PC: jeder Hinweis auf einer Zeile, das Band schmaler */
@media (min-width: 861px) {
  .hinweis-band { padding: 14px 0; }
  .hinweis-band .kleingedrucktes { max-width: none; }
  .hinweis-band .kleingedrucktes p { margin-bottom: .25em; }
}

/* ==========================================================================
   Tagespreis-Rechner (Startseite)
   ========================================================================== */
.rechner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); background: var(--flaeche); border-radius: var(--radius); box-shadow: var(--schatten); overflow: hidden; }
.rechner__links { padding: clamp(28px, 4vw, 48px); border-right: 1px solid var(--linie); }
.rechner__links h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.rechner__rechts { padding: clamp(28px, 4vw, 48px); background: linear-gradient(180deg, #fff 0%, #f6f7f8 100%); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.rechner__stand { font-size: .9rem; color: var(--text-leise); margin: 18px 0 0; }
.feld { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.feld:last-child { margin-bottom: 0; }
.feld label, .feld__titel { font-weight: 500; font-size: .95rem; }
.auswahl {
  -webkit-appearance: none; appearance: none; width: 100%; min-height: 52px; padding: 12px 44px 12px 16px;
  font: 500 1.05rem var(--schrift-text); color: var(--anthrazit);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2325292d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
  border: 1px solid var(--tankgrau); border-radius: var(--radius); cursor: pointer; transition: border-color .2s ease;
}
.auswahl:hover { border-color: var(--anthrazit); }
.auswahl:focus { outline: none; border-color: var(--anthrazit); box-shadow: 0 0 0 3px rgba(198, 33, 24, .18); }
.rechner__label { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-leise); margin: 0; }
.rechner__betrag { font-family: var(--schrift-titel); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; margin: 10px 0 12px; font-variant-numeric: tabular-nums; }
.rechner__detail { color: var(--text-leise); font-size: .95rem; margin: 0; }

/* Umschalter Standard / Premium */
.umschalter { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; margin: 0; background: var(--hellgrau); border-radius: calc(var(--radius) + 2px); border: 1px solid var(--linie); position: relative; }
.umschalter legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.umschalter input { position: absolute; opacity: 0; pointer-events: none; }
.umschalter label { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 22px; font-weight: 500; border-radius: var(--radius); cursor: pointer; color: var(--text-leise); transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; white-space: nowrap; }
.umschalter input:checked + label { background: #fff; color: var(--anthrazit); box-shadow: 0 1px 3px rgba(37, 41, 45, .14); }
.umschalter input:focus-visible + label { outline: 3px solid var(--rot); outline-offset: 1px; }
.umschalter label:hover { color: var(--anthrazit); }

/* ==========================================================================
   Punkte, Spalten, Schritte
   ========================================================================== */
.raster-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.punkt { padding-top: 26px; border-top: 2px solid var(--linie); position: relative; }
.punkt::before { content: ""; position: absolute; top: -2px; left: 0; width: 48px; height: 2px; background: var(--rot); transition: width .4s ease; }
.punkt:hover::before { width: 100%; }
.punkt__symbol { width: 40px; height: 40px; color: var(--rot); margin-bottom: 18px; }
.punkt p { color: var(--text-leise); }

.zwei-spalten { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 88px); align-items: center; }

.schritte { list-style: none; margin: 0; padding: 0; counter-reset: schritt; }
.schritte li { counter-increment: schritt; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--linie); }
.schritte li:first-child { padding-top: 0; }
.schritte li:last-child { border-bottom: 0; padding-bottom: 0; }
.schritte li::before { content: counter(schritt, decimal-leading-zero); font-family: var(--schrift-titel); font-weight: 700; font-size: 1.9rem; line-height: 1; color: var(--rot); padding-top: 2px; }
.schritte h3 { margin-bottom: 6px; }
.schritte p { color: var(--text-leise); }

/* Platzhalter-Flächen, solange noch keine Fotos da sind */
.platzhalter {
  position: relative; margin: 0; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, #3b4147 0%, var(--anthrazit) 100%);
  display: grid; place-items: center; color: rgba(255, 255, 255, .88);
}
.platzhalter::before { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 18px); }
.platzhalter::after { content: ""; position: absolute; left: 0; bottom: 0; width: 72px; height: 4px; background: var(--rot); }
.platzhalter svg { position: relative; width: clamp(60px, 8vw, 88px); height: auto; }
.platzhalter--4-3 { aspect-ratio: 4 / 3; }
.platzhalter--3-2 { aspect-ratio: 3 / 2; }
.platzhalter--hell { background: linear-gradient(135deg, #dfe2e5 0%, #cdd1d5 100%); color: var(--rot); }
.platzhalter--hell::before { background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .4) 0 2px, transparent 2px 18px); }

.foto { margin: 0; }
.foto img { width: 100%; border-radius: var(--radius); box-shadow: var(--schatten); }
.foto figcaption { font-size: .9rem; color: var(--text-leise); margin-top: 14px; padding-left: 14px; border-left: 2px solid var(--rot); }

/* Band: Liefergebiet */
.band { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.band__text { display: flex; gap: 20px; align-items: flex-start; max-width: 720px; flex: 1 1 420px; }
.band > .knopf { flex-shrink: 0; }
.band__text svg { width: 36px; height: 36px; color: var(--rot); flex-shrink: 0; margin-top: 4px; }
.band h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 8px; }
.band p { color: var(--text-leise); }

/* Dunkler Aufruf-Kasten */
.aufruf { background: var(--anthrazit); color: #fff; border-radius: var(--radius); padding: clamp(36px, 5vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; position: relative; overflow: hidden; }
.aufruf::after { content: ""; position: absolute; right: -70px; top: -70px; width: 240px; height: 240px; border: 2px solid rgba(255, 255, 255, .08); border-radius: 50%; transition: transform .8s ease; }
.aufruf:hover::after { transform: scale(1.12); }
.aufruf h2 { margin-bottom: 8px; }
.aufruf p { color: rgba(255, 255, 255, .74); max-width: 34em; }
.aufruf .knopf { position: relative; z-index: 1; }

/* Kontaktblock */
.kontaktliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.kontaktliste li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; }
.kontaktliste svg { width: 22px; height: 22px; color: var(--rot); margin-top: 3px; }
.kontaktliste strong { display: block; font-weight: 600; }
.kontaktliste a { text-decoration: none; border-bottom: 1px solid var(--tankgrau); transition: color .2s ease, border-color .2s ease; }
.kontaktliste a:hover { color: var(--rot); border-color: var(--rot); }
.telefon-gross { font-family: var(--schrift-titel); font-weight: 700; font-size: clamp(1.9rem, 3.6vw, 2.6rem); line-height: 1.1; text-decoration: none; display: inline-block; padding: 6px 0; margin: -2px 0 14px; transition: color .2s ease; }
.telefon-gross:hover { color: var(--rot); }
.zeiten { display: grid; grid-template-columns: auto 1fr; gap: 4px 20px; margin: 0; }
.zeiten dt { color: var(--text-leise); }
.zeiten dd { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Preisliste
   ========================================================================== */
.preiskopf { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; margin-bottom: 24px; }
.preiskopf p { margin: 0; color: var(--text-leise); }
.preistabelle-rahmen { background: var(--flaeche); border-radius: var(--radius); box-shadow: var(--schatten); overflow: hidden; }
.preistabelle { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.preistabelle th, .preistabelle td { padding: 14px 20px; text-align: right; border-bottom: 1px solid var(--hellgrau); white-space: nowrap; }
.preistabelle thead th { font-size: .76rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-leise); background: #f6f7f8; border-bottom: 1px solid var(--linie); padding-top: 16px; padding-bottom: 16px; vertical-align: bottom; white-space: normal; line-height: 1.35; }
.preistabelle th:first-child, .preistabelle td:first-child { text-align: left; padding-left: clamp(20px, 3vw, 32px); }
.preistabelle th:last-child, .preistabelle td:last-child { padding-right: clamp(20px, 3vw, 32px); }
.preistabelle tbody tr { transition: background-color .15s ease; }
.preistabelle tbody tr:hover { background: #fbf6f5; }
.preistabelle tbody tr:last-child th, .preistabelle tbody tr:last-child td { border-bottom: 0; }
.preistabelle .menge { font-family: var(--schrift-titel); font-weight: 600; font-size: 1.2rem; }
.preistabelle .gesamt { font-weight: 600; font-size: 1.08rem; }
.preistabelle .leise { color: var(--text-leise); }
.preistabelle .mobil-label { display: none; }
.preis-hinweis { font-size: .9rem; color: var(--text-leise); margin-top: 16px; }
.lade-hinweis { padding: 32px; text-align: center; color: var(--text-leise); }

/* Was im Preis enthalten ist */
.enthalten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--flaeche); border-radius: var(--radius); box-shadow: var(--schatten); }
.enthalten > div { padding: clamp(24px, 3vw, 36px); border-right: 1px solid var(--hellgrau); }
.enthalten > div:last-child { border-right: 0; }
.enthalten .wert { font-family: var(--schrift-titel); font-weight: 700; font-size: 1.9rem; line-height: 1; color: var(--rot); margin-bottom: 14px; }
.enthalten p { color: var(--text-leise); font-size: .98rem; }
.enthalten h3 { margin-bottom: 8px; }

/* Sorten */
.sorten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.sorte { background: var(--flaeche); border: 1px solid var(--linie); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); transition: border-color .25s ease, box-shadow .25s ease; }
.sorte:hover { border-color: var(--tankgrau); box-shadow: var(--schatten); }
.sorte__kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.sorte__kopf h3 { margin: 0; }
.sorte__preis { font-weight: 600; color: var(--rot); font-variant-numeric: tabular-nums; }
.sorte p { color: var(--text-leise); }

.kleingedrucktes { font-size: .92rem; color: var(--text-leise); max-width: 62em; border-left: 2px solid var(--rot); padding-left: 20px; }
.kleingedrucktes p { margin-bottom: .7em; }
.kleingedrucktes strong { color: var(--anthrazit); }

/* ==========================================================================
   Formulare
   ========================================================================== */
.formular { display: grid; gap: 18px; }
.formular__reihe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.formular__reihe--plz { grid-template-columns: 140px minmax(0, 1fr); }
/* Kundennummer mit Hinweis daneben; der Hinweis zeigt auch das Ergebnis der Suche */
.kundennummer { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 8px 18px; }
.kunde-status { align-self: end; min-height: 50px; display: flex; align-items: center; transition: color .2s ease; }
.kunde-status.kunde-status--ok { color: #1f4a2b; }
.kunde-status.kunde-status--fehler { color: #7a130d; }
.eingabe input.ist-uebernommen { animation: uebernommen 1.8s ease; }
@keyframes uebernommen { from { background-color: #eef4ef; border-color: #2f6b3f; } to { background-color: #fff; } }
.eingabe { display: flex; flex-direction: column; gap: 6px; }
.eingabe label { font-weight: 500; font-size: .95rem; }
.eingabe .optional { font-weight: 400; color: var(--text-leise); }
.eingabe input, .eingabe textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  font: 400 1rem var(--schrift-text); color: var(--anthrazit);
  background: #fff; border: 1px solid var(--tankgrau); border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.eingabe textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.eingabe input:hover, .eingabe textarea:hover { border-color: var(--anthrazit); }
.eingabe input:focus, .eingabe textarea:focus { outline: none; border-color: var(--anthrazit); box-shadow: 0 0 0 3px rgba(198, 33, 24, .18); }
.eingabe input:user-invalid, .eingabe textarea:user-invalid { border-color: var(--rot); }
.haken { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: .98rem; }
.haken input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--rot); flex-shrink: 0; cursor: pointer; }
.formular__hinweis { font-size: .88rem; color: var(--text-leise); margin: 0; }
.formular__hinweis a { color: var(--anthrazit); }
.honigtopf { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
.meldung { padding: 16px 18px; border-radius: var(--radius); font-weight: 500; }
.meldung[hidden] { display: none; }
.meldung--ok { background: #eef4ef; border-left: 4px solid #2f6b3f; color: #1f4a2b; }
.meldung--fehler { background: #fbeeed; border-left: 4px solid var(--rot); color: #7a130d; }
.ohne-js-meldung { display: none; margin-bottom: 20px; }
.ohne-js-meldung:target { display: block; }

.kontakt-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.formular-karte { background: var(--flaeche); border-radius: var(--radius); box-shadow: var(--schatten); padding: clamp(24px, 4vw, 44px); }
.formular-karte h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

/* ==========================================================================
   Bestellfenster
   ========================================================================== */
.bestellfenster {
  width: min(760px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px);
  padding: 0; margin: auto; border: 0; border-radius: 10px; background: var(--weiss); color: var(--text);
  box-shadow: 0 24px 80px rgba(20, 22, 25, .35); overflow: auto; overscroll-behavior: contain;
}
.bestellfenster::backdrop { background: rgba(28, 31, 35, .62); }
.bestellfenster[open] { animation: fenster-auf .28s ease; }
@keyframes fenster-auf { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.bestellfenster__kopf { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px clamp(20px, 4vw, 36px); background: var(--weiss); border-bottom: 1px solid var(--linie); }
.bestellfenster__kopf h2 { font-size: clamp(1.3rem, 3vw, 1.65rem); margin: 0; }
.schliessen { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--linie); border-radius: 50%; background: #fff; cursor: pointer; color: var(--anthrazit); transition: border-color .2s ease, transform .25s ease; flex-shrink: 0; }
.schliessen:hover { border-color: var(--anthrazit); transform: rotate(90deg); }
.schliessen svg { width: 20px; height: 20px; }
.bestellfenster__inhalt { padding: 24px clamp(20px, 4vw, 36px) 32px; }
.bestellfenster fieldset { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
.bestellfenster legend { font-family: var(--schrift-titel); font-weight: 600; font-size: 1.25rem; padding: 0; margin-bottom: 16px; }
.bestellfenster .formular { gap: 16px; }
.lieferadresse { margin-top: 18px; padding: 20px; background: #fff; border: 1px solid var(--linie); border-radius: var(--radius); }
.lieferadresse[hidden] { display: none; }
.zusammenfassung { background: #fff; border: 1px solid var(--linie); border-top: 3px solid var(--rot); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); margin-bottom: 22px; }
.zusammenfassung h3 { font-size: 1.25rem; margin-bottom: 16px; }
.zusammenfassung__adressen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--hellgrau); font-size: .96rem; }
.zusammenfassung__adressen h4 { margin: 0 0 4px; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-leise); font-weight: 600; }
.zusammenfassung__adressen p { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.zusammenfassung__adressen .leer { color: var(--text-leise); font-style: italic; }
.rechnung { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .98rem; }
.rechnung th { text-align: left; font-weight: 400; color: var(--text-leise); padding: 5px 12px 5px 0; }
.rechnung td { text-align: right; padding: 5px 0; white-space: nowrap; }
.rechnung tr.stark th, .rechnung tr.stark td { color: var(--anthrazit); font-weight: 600; }
.rechnung tr.zwischen th, .rechnung tr.zwischen td { padding-top: 10px; border-top: 1px dashed var(--linie); }
.rechnung tr.summe th, .rechnung tr.summe td { padding-top: 14px; border-top: 1px solid var(--linie); color: var(--anthrazit); font-weight: 600; font-size: 1.1rem; vertical-align: baseline; }
.rechnung tr.summe td { font-family: var(--schrift-titel); font-weight: 700; font-size: 1.55rem; }
.bestellfenster__abschluss { display: grid; gap: 16px; }
.bestellfenster__abschluss .knopf { width: 100%; }
.erfolg { text-align: center; padding: 28px 8px 12px; }
.erfolg svg { width: 64px; height: 64px; color: #2f6b3f; margin: 0 auto 16px; display: block; }
.erfolg h3 { font-size: 1.6rem; }
.erfolg p { color: var(--text-leise); max-width: 30em; margin-left: auto; margin-right: auto; }
.erfolg .knopf { margin-top: 20px; }
body.fenster-offen { overflow: hidden; }

/* ==========================================================================
   Rechtstexte und Fehlerseite
   ========================================================================== */
.rechtstext { max-width: 760px; }
.rechtstext h2 { font-size: 1.5rem; margin-top: 2em; }
.rechtstext h2:first-of-type { margin-top: 0; }
.rechtstext h3 { font-size: 1.15rem; margin-top: 1.6em; }
.rechtstext a { color: var(--rot); }
.rechtstext ul { padding-left: 1.2em; }
.rechtstext li { margin-bottom: .4em; }
.pruefhinweis { background: #fff8e6; border-left: 4px solid #c89211; padding: 16px 20px; border-radius: var(--radius); margin-bottom: 40px; font-size: .96rem; }

/* ==========================================================================
   Fußbereich
   ========================================================================== */
.fuss { background: var(--anthrazit); color: rgba(255, 255, 255, .78); padding: clamp(56px, 7vw, 88px) 0 32px; font-size: .96rem; }
.fuss__raster { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.fuss__logo { display: inline-block; background: #fff; padding: 12px 16px; border-radius: var(--radius); margin-bottom: 18px; line-height: 0; transition: transform .2s ease; }
.fuss__logo:hover { transform: translateY(-2px); }
.fuss__logo img { height: 40px; width: auto; }
.fuss h2 { font-family: var(--schrift-text); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fuss a { color: rgba(255, 255, 255, .8); text-decoration: none; transition: color .2s ease; }
.fuss a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--rot); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.fuss address { font-style: normal; }
.fuss__unten { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; padding-top: 24px; font-size: .88rem; color: rgba(255, 255, 255, .56); }
.fuss__unten ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.fuss .zeiten dt { color: rgba(255, 255, 255, .56); }
.fuss .zeiten dd { font-weight: 400; }

/* ==========================================================================
   Sanftes Einblenden beim Scrollen
   ========================================================================== */
.js .einblenden { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .einblenden.ist-sichtbar { opacity: 1; transform: none; }
.js .einblenden--2 { transition-delay: .1s; }
.js .einblenden--3 { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .einblenden { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1080px) {
  .nav__telefon { display: none; }
  .fuss__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   Handy und schmale Tablets: eigener Durchgang
   ========================================================================== */
@media (max-width: 860px) {
  body { font-size: 1rem; }

  /* Menü klappt aus, Telefon rückt ins Menü */
  .kopf__innen { min-height: 68px; }
  .logo { padding: 5px 0; }
  .logo img { height: 34px; }
  h1 { font-size: clamp(2rem, 9vw, 2.4rem); }
  h1, h2 { -webkit-hyphens: auto; hyphens: auto; }
  .menue-knopf {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
    background: transparent; border: 1px solid var(--linie); border-radius: var(--radius);
    font: 500 .95rem var(--schrift-text); color: var(--anthrazit); cursor: pointer;
  }
  .menue-knopf svg { width: 20px; height: 20px; }
  .menue-knopf .zu { display: none; }
  .menue-knopf[aria-expanded="true"] .auf { display: none; }
  .menue-knopf[aria-expanded="true"] .zu { display: block; }
  .nav { position: fixed; top: 68px; left: 0; right: 0; background: var(--weiss); border-bottom: 1px solid var(--linie); box-shadow: 0 16px 32px rgba(37, 41, 45, .12); padding: 8px var(--rand) 24px; flex-direction: column; align-items: stretch; visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .nav.ist-offen { visibility: visible; opacity: 1; transform: none; }
  .nav__liste { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__liste a { padding: 16px 4px; font-size: 1.1rem; border-bottom: 1px solid var(--hellgrau); border-radius: 0; }
  .nav__liste a::after { display: none; }
  .nav__liste a[aria-current="page"] { color: var(--rot); }
  .nav__liste .nav__cta { margin: 16px 0 0; text-align: center; padding: 16px; border-radius: var(--radius); border-bottom: 0; }
  .nav__liste .nav__cta[aria-current="page"] { color: #fff; }
  .nav__telefon { display: inline-flex; justify-content: center; order: 10; margin: 14px 0 0; padding: 10px; font-size: 1.05rem; }

  /* Startseite oben: Foto zuerst über die volle Breite, Merkmale fallen weg */
  .held { padding-top: 0; }
  .held__raster { grid-template-columns: 1fr; gap: 28px; }
  .held__bild { order: -1; margin: 0 calc(var(--rand) * -1); }
  .held__bild img { aspect-ratio: 16 / 10; border-radius: 0; box-shadow: none; object-position: 64% 60%; }
  .held__bild::before { display: none; }
  .held__merkmale { display: none; }
  .held__aktionen { flex-direction: column; align-items: stretch; gap: 16px; }
  .held__aktionen .knopf { width: 100%; }
  .held__anruf { text-align: center; }

  .rechner { grid-template-columns: 1fr; }
  .rechner__links { border-right: 0; border-bottom: 1px solid var(--linie); }
  .rechner__rechts .knopf { width: 100%; }
  .umschalter { display: grid; width: 100%; }
  .umschalter label { padding: 8px 12px; }

  .raster-3 { grid-template-columns: 1fr; gap: 28px; }
  .punkt { display: grid; grid-template-columns: 40px 1fr; column-gap: 16px; }
  .punkt__symbol { width: 30px; height: 30px; margin: 2px 0 0; grid-row: span 2; }
  .punkt h3 { margin-bottom: 4px; }

  .zwei-spalten { grid-template-columns: 1fr; }
  .mobil-weg { display: none !important; }
  .zwei-spalten--bild-zuerst > .foto { order: -1; }

  .band__text svg { display: none; }
  .band .knopf, .aufruf .knopf { width: 100%; }

  .kontakt-raster { grid-template-columns: 1fr; }
  .enthalten { grid-template-columns: 1fr; }
  .enthalten > div { border-right: 0; border-bottom: 1px solid var(--hellgrau); display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; }
  .enthalten > div:last-child { border-bottom: 0; }
  .enthalten .wert { font-size: 1.45rem; grid-row: span 2; margin: 2px 0 0; }
  .sorten { grid-template-columns: 1fr; }

  /* Preistabelle wird zu kompakten Karten, eine pro Menge */
  .preiskopf { flex-direction: column; align-items: stretch; }
  .preistabelle thead { display: none; }
  .preistabelle, .preistabelle tbody { display: block; }
  .preistabelle tbody tr { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "menge gesamt" "netto brutto" "knopf knopf"; gap: 4px 12px; padding: 18px 20px; border-bottom: 1px solid var(--hellgrau); }
  .preistabelle tbody tr:last-child { border-bottom: 0; }
  .preistabelle th, .preistabelle td { padding: 0 !important; border: 0 !important; text-align: left; }
  .preistabelle .menge { grid-area: menge; font-size: 1.3rem; }
  .preistabelle .gesamt { grid-area: gesamt; text-align: right; font-size: 1.2rem; }
  .preistabelle .netto { grid-area: netto; font-size: .9rem; }
  .preistabelle .brutto { grid-area: brutto; font-size: .9rem; text-align: right; }
  .preistabelle .aktion { grid-area: knopf; margin-top: 10px; }
  .preistabelle .aktion .knopf { width: 100%; }
  .preistabelle .mobil-label { display: inline; }

  .formular__reihe { grid-template-columns: 1fr; }
  .formular__reihe--plz { grid-template-columns: 110px minmax(0, 1fr); }
  .kundennummer { grid-template-columns: 1fr; }
  .kunde-status { min-height: 0; }
  .zusammenfassung__adressen { grid-template-columns: 1fr; }
  .bestellfenster { width: 100%; height: 100vh; height: 100dvh; max-height: none; border-radius: 0; margin: 0; }
  .bestellfenster__kopf { padding: 12px 16px; }
  .bestellfenster__inhalt { padding: 20px 16px 28px; }

  .fuss__raster { grid-template-columns: 1fr; gap: 30px; }
  .fuss__unten { flex-direction: column; }
}

@media (max-width: 340px) {
  .preistabelle tbody tr { grid-template-columns: 1fr; grid-template-areas: "menge" "gesamt" "netto" "brutto" "knopf"; }
  .preistabelle .gesamt, .preistabelle .brutto { text-align: left; }
  .formular__reihe--plz { grid-template-columns: 1fr; }
}

@media print {
  .kopf, .fuss, .knopf, .nav, .bestellfenster { display: none !important; }
  body { background: #fff; }
}

/* ==========================================================================
   Liefergebiet: Karte und Ortsliste
   ========================================================================== */
.zwei-spalten--karte { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; }
.karte-rahmen { margin: 0; background: var(--hellgrau); border-radius: var(--radius); overflow: hidden; }
.karte { display: block; width: 100%; height: auto; }
.karte__see { fill: #d8dde2; }
.karte__seename { font: italic 400 16px var(--schrift-text); fill: #7d858c; letter-spacing: .06em; }
.karte__flaeche { fill: rgba(198, 33, 24, .08); stroke: var(--rot); stroke-width: 2.5; stroke-linejoin: round; }
.karte__grenze { fill: #fff; stroke: var(--rot); stroke-width: 2.5; }
.karte__grenzname { font: 500 20px var(--schrift-text); fill: var(--anthrazit); }
/* Im Liefergebiet: rot gefüllter Punkt. Außerhalb: grauer Ring ohne Füllung, Name kursiv. */
.karte__ort { fill: var(--rot); stroke: #fff; stroke-width: 1.5; }
.karte__ortname { font: 500 16px var(--schrift-text); fill: var(--anthrazit); }
.karte__aussen { fill: #fff; stroke: #8a9096; stroke-width: 2; }
.karte__aussenname { font: italic 400 16px var(--schrift-text); fill: #7d858c; }
.karte__sitz { fill: var(--rot); }
.karte__sitz-ring { fill: none; stroke: var(--rot); stroke-width: 2; opacity: .35; transform-box: fill-box; transform-origin: center; animation: sitz-puls 2.8s ease-out infinite; }
@keyframes sitz-puls { 0% { transform: scale(.6); opacity: .6; } 70%, 100% { transform: scale(1.5); opacity: 0; } }
.karte__sitzname { font: 700 23px var(--schrift-titel); fill: var(--anthrazit); }
.karte__sitzzusatz { font: 500 14px var(--schrift-text); fill: var(--rot); letter-spacing: .08em; text-transform: uppercase; }
.karte__nord path { fill: var(--anthrazit); }
.karte__nord text, .karte__massstab text { font: 600 14px var(--schrift-text); fill: var(--text-leise); }
.karte__massstab path { fill: none; stroke: var(--text-leise); stroke-width: 2; }
.karte-rahmen figcaption { font-size: .88rem; color: var(--text-leise); margin: 0 clamp(16px, 2vw, 24px) clamp(16px, 2vw, 22px); padding-left: 14px; border-left: 2px solid var(--rot); }

/* Zeichenerklärung neben der Karte */
.legende { list-style: none; margin: 28px 0 24px; padding: 0; display: grid; gap: 0; }
.legende li { display: flex; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--linie); }
.legende li:first-child { border-top: 1px solid var(--linie); }
.legende__zeichen { flex-shrink: 0; width: 16px; height: 16px; border-radius: 50%; display: inline-block; transition: transform .2s ease; }
.legende li:hover .legende__zeichen { transform: scale(1.25); }
.legende__zeichen--sitz { background: var(--rot); box-shadow: 0 0 0 4px rgba(198, 33, 24, .18); }
.legende__zeichen--grenze { background: #fff; border: 2.5px solid var(--rot); }
.legende__zeichen--innen { width: 10px; height: 10px; margin: 0 3px; background: var(--rot); }
.legende__zeichen--aussen { width: 10px; height: 10px; margin: 0 3px; background: #fff; border: 2px solid #8a9096; }
.legende__zusatz { color: var(--text-leise); font-size: .98rem; }

@media (max-width: 860px) {
  .zwei-spalten--karte { grid-template-columns: 1fr; }
  .karte-rahmen { margin: 0 calc(var(--rand) * -1); border-radius: 0; }
  .karte-rahmen figcaption { margin-left: var(--rand); margin-right: var(--rand); }
}
@media (prefers-reduced-motion: reduce) { .karte__sitz-ring { animation: none; } }

/* Menü mit vier Punkten: auf mittleren Bildschirmen etwas enger */
@media (min-width: 861px) and (max-width: 1080px) {
  .logo img { height: 42px; }
  .kopf__innen { gap: 16px; }
  .nav__liste a { padding: 10px 10px; }
  .nav__liste a::after { left: 10px; right: 10px; }
  .nav__liste .nav__cta { margin-left: 6px; padding: 10px 14px; }
}

/* ==========================================================================
   Preisrechner mit Schieberegler und Diagramm
   ========================================================================== */
.regler-karte { --achse: 52px; background: var(--flaeche); border-radius: var(--radius); box-shadow: var(--schatten); padding: clamp(18px, 2.8vw, 30px); }
.regler-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 32px; flex-wrap: wrap; margin-bottom: 8px; }
.regler-kopf__label { font: 600 .74rem var(--schrift-text); letter-spacing: .12em; text-transform: uppercase; color: var(--text-leise); margin: 0 0 6px; }
.regler-kopf__label label { cursor: pointer; }
.regler-kopf__menge { font-family: var(--schrift-titel); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1; margin: 0; }

/* Schieberegler: Spur in Grau, gewählter Teil in Rot, runder Griff */
.regler { margin: 4px 0 14px; padding-left: var(--achse); }
.regler__eingabe {
  --daumen: 30px; --anteil: .5;
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 0;
  background: transparent; cursor: pointer; touch-action: pan-y;
}
.regler__eingabe:focus { outline: none; }
.regler__eingabe::-webkit-slider-runnable-track {
  height: 8px; border-radius: 4px;
  background: linear-gradient(to right, var(--rot) 0, var(--rot) calc(var(--daumen) / 2 + (100% - var(--daumen)) * var(--anteil)), var(--linie) calc(var(--daumen) / 2 + (100% - var(--daumen)) * var(--anteil)));
}
.regler__eingabe::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: var(--daumen); height: var(--daumen); margin-top: calc((8px - var(--daumen)) / 2);
  border-radius: 50%; background: #fff; border: 3px solid var(--rot); box-shadow: 0 2px 8px rgba(37, 41, 45, .25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.regler__eingabe:hover::-webkit-slider-thumb { transform: scale(1.08); }
.regler__eingabe:active::-webkit-slider-thumb { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(198, 33, 24, .14); }
.regler__eingabe:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(198, 33, 24, .3); }
.regler__eingabe::-moz-range-track { height: 8px; border-radius: 4px; background: var(--linie); }
.regler__eingabe::-moz-range-progress { height: 8px; border-radius: 4px; background: var(--rot); }
.regler__eingabe::-moz-range-thumb {
  width: var(--daumen); height: var(--daumen); box-sizing: border-box; border-radius: 50%;
  background: #fff; border: 3px solid var(--rot); box-shadow: 0 2px 8px rgba(37, 41, 45, .25);
}
.regler__eingabe:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(198, 33, 24, .3); }
.regler__grenzen { display: flex; justify-content: space-between; font-size: .8rem; color: var(--text-leise); margin-top: 2px; font-variant-numeric: tabular-nums; }
.regler__tipp { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 4px 0 0; font-size: .88rem; font-weight: 500; color: var(--text-leise); }
.regler__tipp svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--rot); }

/* Die drei Preise */
.regler-werte { display: grid; grid-template-columns: 1fr 1fr 1.3fr; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.regler-wert { padding: 12px 20px 12px 0; }
.regler-wert + .regler-wert { padding-left: 20px; border-left: 1px solid var(--hellgrau); }
.regler-wert__label { font-size: .8rem; color: var(--text-leise); margin: 0 0 4px; }
.regler-wert__zahl { font-family: var(--schrift-titel); font-weight: 600; font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.1; margin: 0; }
.regler-wert--gesamt .regler-wert__zahl { font-weight: 700; font-size: clamp(1.5rem, 2.8vw, 1.95rem); }
.regler-wert--gesamt { background: linear-gradient(90deg, rgba(198, 33, 24, .05), transparent 70%); }
.regler-aktion { display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding: 14px 0 0; }

/* Sammelbesteller: zwei Regler ohne Diagramm, darunter zwei Preise */
.knopf--klein { min-height: 44px; padding: 9px 18px; font-size: .95rem; }
.seitenkopf .knopf--runter { margin-top: 14px; }
.knopf--runter:hover svg { transform: translateY(3px); }
#sammelbesteller, #preisrechner, #standard-premium { scroll-margin-top: 90px; }
#sammelbesteller { scroll-margin-top: 70px; } /* Rechner direkt unter dem Seitenkopf, damit er ganz auf den Bildschirm passt */
/* Preisrechner: Hinweisknopf vor dem Sortenschalter, liest sich mit ihm als Satz */
.sorte-wahl { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 12px; }
.hinweis-knopf { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .92rem; font-weight: 500; color: var(--anthrazit); text-decoration: underline; text-decoration-color: var(--tankgrau); text-underline-offset: 4px; }
.hinweis-knopf svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--rot); }
.hinweis-knopf:hover { color: var(--rot); text-decoration-color: currentColor; }
.umschalter--und { grid-template-columns: 1fr auto 1fr; }
.umschalter__und { align-self: center; padding: 0 6px; font-size: .85rem; color: var(--text-leise); }
/* Abschnitt "Was ist der Unterschied zwischen Standard und Premium?" */
.sorten-info p { max-width: 46em; }
.sorten-info .pdf-download { margin-top: 4px; }
/* Am PC kleinere Schrift, passend zu den Preisrechnern */
@media (min-width: 861px) {
  .sorten-info .sammel__titel { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: 8px; }
  .sorten-info p { font-size: .9rem; max-width: 58em; margin-bottom: .6em; }
  .sorten-info .pdf-download { min-height: 40px; padding: 7px 16px; font-size: .86rem; }
}
/* Seitenkopf der Preisseite: links Titel und Wahl Einzel- oder Sammelbesteller, rechts die Prognose */
.seitenkopf__raster { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: start; }
.prognose { text-align: right; }
.prognose__text { color: var(--text-leise); margin: 0 0 2px; }
.prognose__link { font-weight: 600; color: var(--anthrazit); text-decoration: underline; text-decoration-color: var(--tankgrau); text-underline-offset: 4px; }
.prognose__link:hover { color: var(--rot); text-decoration-color: currentColor; }
@media (max-width: 760px) {
  .seitenkopf__raster { grid-template-columns: minmax(0, 1fr); }
  .prognose { text-align: left; }
}
/* "Wählen Sie zuerst" mit den Knöpfen Einzelbesteller und Sammelbesteller, darunter je ein Hinweis */
.preise-fuer { margin-top: 14px; }
.preise-fuer__text { font-weight: 600; margin: 0 0 8px; }
.preise-fuer__knoepfe { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.preise-fuer__wahl { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.preise-fuer__hinweis { font-size: .85rem; color: var(--text-leise); margin: 0; }
.seitenkopf .preise-fuer .knopf--runter { margin-top: 0; color: var(--rot); }
.seitenkopf .preise-fuer .knopf--runter:hover { color: #fff; }
@media (max-width: 520px) {
  .preise-fuer__knoepfe { flex-wrap: nowrap; gap: 12px; }
  .preise-fuer__wahl { flex: 1 1 0; min-width: 0; align-items: stretch; }
  .seitenkopf .preise-fuer .knopf--runter { justify-content: center; gap: 6px; padding: 9px 10px; font-size: .9rem; white-space: nowrap; }
}
.regler-karte.regler-karte--sammel { --achse: 0px; }
/* Beide Preisrechner kompakt, damit sie jeweils ganz auf einen Bildschirm passen. Das Diagramm der Einzelbesteller behält seine Höhe. */
.regler-karte { padding-top: clamp(16px, 2.2vw, 24px); padding-bottom: clamp(16px, 2.2vw, 24px); }
.regler-karte .regler-kopf { margin-bottom: 2px; }
.regler-karte .regler-kopf__label { margin-bottom: 2px; }
.regler-karte .regler-kopf__menge { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.regler-karte .regler { margin: 0 0 8px; }
.regler-karte .regler__eingabe { height: 34px; }
.regler-karte .regler__grenzen { font-size: .74rem; margin-top: 0; }
.regler-karte .regler__tipp { font-size: .82rem; margin-top: 0; }
.regler-karte .regler-wert { padding-top: 8px; padding-bottom: 8px; }
.regler-karte .regler-wert__label { font-size: .76rem; margin-bottom: 2px; }
.regler-karte .regler-wert__zahl { font-size: clamp(1.1rem, 1.8vw, 1.3rem); }
.regler-karte .regler-wert--gesamt .regler-wert__zahl { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.regler-karte .regler-aktion { padding-top: 10px; }
.regler-karte .regler-aktion .formular__hinweis { font-size: .78rem; margin: 0; }
.regler-karte .regler-aktion .knopf { min-height: 46px; padding: 10px 22px; }
.regler-karte .diagramm { margin-top: 14px; padding-top: 10px; }
.regler-karte .diagramm__titel { font-size: .95rem; }
.regler-karte .diagramm__fuss { font-size: .75rem; margin-top: 2px; }
/* Sammelbesteller */
.regler-karte--sammel .sammel__titel { font-size: clamp(1.25rem, 2vw, 1.5rem); margin-bottom: 2px; }
.regler-karte--sammel .sammel__text { font-size: .88rem; line-height: 1.5; margin-bottom: 0; }
.regler-karte--sammel .sammel__regler { margin-top: 12px; }
.regler-karte--sammel .sammel__frage { font-size: .88rem; }
.regler-karte--sammel .sammel__wert { font-size: clamp(1.1rem, 1.8vw, 1.3rem); }
.regler-karte--sammel .regler { margin: 0; }
.regler-karte--sammel .sammel__gemeinsam { margin-top: 10px; }
.sammel__regler--liter { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "zeile knopf" "regler regler"; column-gap: 24px; align-items: end; }
.sammel__regler--liter .sammel__zeile { grid-area: zeile; }
.sammel__regler--liter .regler { grid-area: regler; }
.regler-karte--sammel .sammel__regler--liter .sammel__gemeinsam { grid-area: knopf; margin: 0 0 2px; }
@media (max-width: 760px) {
  .sammel__regler--liter { grid-template-columns: minmax(0, 1fr); grid-template-areas: "zeile" "regler" "knopf"; }
  .regler-karte--sammel .sammel__regler--liter .sammel__gemeinsam { margin: 10px 0 0; }
}
.regler-karte--sammel .sammel__gemeinsam .knopf { min-height: 40px; padding: 7px 16px; font-size: .86rem; }
.regler-karte--sammel .regler-werte { margin-top: 12px; }
/* Am Computer: Bestellknopf oben rechts über dem Regler der Entladestellen, Hinweis unten auf einer Zeile */
@media (min-width: 861px) {
  .regler-karte--sammel { position: relative; }
  .regler-karte--sammel .sammel__kopf { padding-right: 300px; }
  .regler-karte--sammel #sammel-bestellen { position: absolute; top: clamp(16px, 2.2vw, 24px); right: clamp(18px, 2.8vw, 30px); }
  .regler-karte--sammel .regler-aktion .formular__hinweis { max-width: none; }
}
.sammel__titel { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin: 0 0 6px; }
.sammel__text { color: var(--text-leise); max-width: 46em; margin: 0 0 6px; }
.sammel__regler { margin-top: 18px; }
.sammel__gemeinsam { margin-top: 18px; }
.sammel__gemeinsam .knopf[aria-expanded="true"] { background: var(--anthrazit); color: #fff; border-color: var(--anthrazit); }
.sammel__zeile { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; } /* Wert links unter der Frage */
.sammel__frage { font-weight: 600; font-size: 1rem; cursor: pointer; }
.sammel__wert { font-family: var(--schrift-titel); font-weight: 700; font-size: clamp(1.3rem, 2.4vw, 1.6rem); line-height: 1.1; margin: 0; font-variant-numeric: tabular-nums; }
.regler-werte--zwei { grid-template-columns: 1fr 1.3fr; }
.regler-werte--zwei .regler-wert { display: flex; flex-direction: column; }
.regler-werte--zwei .regler-wert__zahl { margin-top: auto; } /* Zahlen auf einer Linie, auch wenn eine Beschriftung umbricht */
/* Bestellfenster für Sammelbesteller: ein Block je Entladestelle */
.bestellfenster fieldset.entladestelle { padding-top: 22px; border-top: 1px solid var(--linie); }
.entladestelle legend { float: left; width: 100%; color: var(--rot); }
.entladestelle legend ~ * { clear: both; }
/* Verborgene Teile der Blöcke (Öl-Schalter, Mengenfeld, Lieferadresse) wirklich ausblenden */
.entladestelle [hidden] { display: none !important; }
.eingabe--menge { max-width: 240px; }
@media (min-width: 861px) {
  .bestellfenster--breit { width: min(1120px, calc(100vw - 32px)); }
}
.sammel-raster { display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 32px; align-items: start; }
.sammel-seite { position: sticky; top: 100px; z-index: 1; }
.sammel-seite__karte { background: #fff; border: 1px solid var(--linie); border-top: 3px solid var(--rot); border-radius: var(--radius); padding: 18px 20px; }
.sammel-seite__titel { font-size: 1.15rem; margin: 0 0 12px; }
.sammel-seite__werte { display: grid; gap: 8px; }
.sammel-seite__werte div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--hellgrau); }
.sammel-seite__werte span { font-size: .85rem; color: var(--text-leise); }
.sammel-seite__werte strong { font-family: var(--schrift-titel); font-size: 1.12rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sammel-seite__notiz { font-size: .8rem; color: var(--text-leise); margin: 10px 0 0; }
.sammel-seite__liste { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: .82rem; overflow-wrap: anywhere; }
.sammel-seite__liste .leer { color: var(--text-leise); font-style: italic; }
.eingabe--schmal { max-width: 280px; }
/* Pflichtfelder im Sammelbestellfenster: roter Stern, erklärt im Kopf des Fensters */
.pflicht-stern { color: var(--rot); font-weight: 600; margin-left: .15em; }
.pflicht-legende { margin-top: -6px; }
/* Aufzählung unter dem Text eines Häkchens (Sammelbestellung) */
.haken__liste { display: grid; gap: 4px; margin-top: 6px; }
.haken__liste > span { position: relative; padding-left: 1.1em; }
.haken__liste > span::before { content: "•"; position: absolute; left: .2em; color: var(--text-leise); }
.entladestelle--ap { background: var(--hellgrau); border-radius: var(--radius); padding: 18px 18px 22px !important; border-top: 0 !important; }
.stelle-bestellung { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 24px; }
.stelle-preis { display: grid; grid-template-columns: 1fr 1fr 1.3fr; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.stelle-preis__wert { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px 10px 0; }
.stelle-preis__wert + .stelle-preis__wert { padding-left: 14px; border-left: 1px solid var(--hellgrau); }
.stelle-preis__wert span { font-size: .78rem; color: var(--text-leise); }
.stelle-preis__wert strong { margin-top: auto; font-family: var(--schrift-titel); font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.stelle-preis__wert--gesamt strong { font-size: 1.3rem; }
.stelle-preis__fuss { grid-column: 1 / -1; margin: 0 0 8px; font-size: .78rem; color: var(--text-leise); }
.haftung-hinweis { margin: 0; padding: 12px 16px; background: var(--hellgrau); border-left: 3px solid var(--rot); border-radius: var(--radius); font-size: .9rem; }
@media (max-width: 860px) {
  /* Am Handy steht die Zusammenfassung als schmale Leiste unten im Fenster */
  .sammel-raster { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .umschalter--breit { width: 100%; }
  .umschalter--breit label { white-space: normal; text-align: center; padding: 8px 10px; }
  .sammel-seite__werte div { flex-direction: column; align-items: flex-start; gap: 0; }
  .sammel-seite { position: sticky; top: auto; bottom: 0; margin: 20px -16px 0; z-index: 3; }
  .sammel-seite__karte { padding: 10px 16px; border-radius: 0; border-left: 0; border-right: 0; border-bottom: 0; box-shadow: 0 -6px 18px rgba(37, 41, 45, .12); }
  .sammel-seite__titel, .sammel-seite__notiz, .sammel-seite__liste { display: none; }
  .sammel-seite__werte { grid-template-columns: 1fr 1fr; gap: 4px 16px; }
  .sammel-seite__werte div { padding-bottom: 2px; border-bottom: 0; }
  .sammel-seite__werte span { font-size: .74rem; }
  .sammel-seite__werte strong { font-size: 1rem; }
  .stelle-preis { grid-template-columns: 1fr 1fr; }
  .stelle-preis__wert--gesamt { grid-column: 1 / -1; padding-left: 0 !important; border-left: 0 !important; border-top: 1px solid var(--hellgrau); }
  .entladestelle--ap { padding: 14px 12px 18px !important; }
}
.regler-aktion .formular__hinweis { max-width: 34em; font-size: .82rem; }

/* Liniendiagramm */
.diagramm { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid var(--linie); }
.diagramm__kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 24px; flex-wrap: wrap; margin-bottom: 6px; }
.diagramm__titel { font-family: var(--schrift-titel); font-weight: 600; font-size: 1.08rem; }
.diagramm__achse { font-size: .8rem; color: var(--text-leise); }
.diagramm__flaeche { position: relative; touch-action: pan-y; cursor: crosshair; user-select: none; -webkit-user-select: none; }
.diagramm__flaeche svg { display: block; overflow: visible; }
.diagramm__raster { stroke: var(--hellgrau); stroke-width: 1; }
.diagramm__basis { stroke: var(--linie); stroke-width: 1; }
.diagramm__strich { stroke: var(--linie); stroke-width: 1; }
.diagramm__wert, .diagramm__menge { font: 400 12px var(--schrift-text); fill: var(--text-leise); font-variant-numeric: tabular-nums; }
.diagramm__linie { fill: none; stroke: var(--rot); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.diagramm__flaechenfuellung { fill: var(--rot); opacity: .1; }
.diagramm__senkrechte { stroke: var(--anthrazit); stroke-width: 1.5; }
.diagramm__punkt { fill: var(--rot); stroke: #fff; stroke-width: 2; }
.diagramm__schild rect { fill: var(--anthrazit); }
.diagramm__schild text { font: 600 13px var(--schrift-text); fill: #fff; font-variant-numeric: tabular-nums; }
.diagramm__markierung { pointer-events: none; }
.diagramm__fuss { font-size: .8rem; color: var(--text-leise); margin: 6px 0 0; }

/* PROBE Diagramm der Sammelbesteller: rote Linie zur Literskala unten, dunkle Linie zur Skala der Entladestellen oben */
.sammel-diagramm { margin-top: 14px; padding-top: 10px; }
.sammel-diagramm .diagramm__kopf { margin-bottom: 2px; }
.sammel-diagramm .diagramm__titel { font-size: .95rem; }
.sammel-diagramm__flaeche { cursor: default; }
.sammel-diagramm__linie { fill: none; stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.sammel-diagramm__linie--liter { stroke: var(--rot); }
.sammel-diagramm__linie--stellen { stroke: var(--anthrazit); }
.sammel-diagramm__mitte { stroke: var(--tankgrau); stroke-width: 1; stroke-dasharray: 3 4; }
.sammel-diagramm__preislinie { stroke: var(--anthrazit); stroke-width: 1.2; stroke-dasharray: 4 4; }
.sammel-diagramm__schild--liter rect { fill: var(--rot); }
.sammel-diagramm__legende { display: flex; flex-wrap: wrap; gap: 2px 18px; font-size: .75rem; color: var(--text-leise); }
.sammel-diagramm__eintrag::before { content: ""; display: inline-block; width: 22px; height: 3px; border-radius: 2px; vertical-align: middle; margin: -2px 8px 0 0; background: var(--anthrazit); }
.sammel-diagramm__eintrag--liter::before { background: var(--rot); }


@media (max-width: 860px) {
  .regler-kopf { align-items: stretch; }
  .regler-kopf .umschalter { width: 100%; }
  .regler-kopf .sorte-wahl { width: 100%; justify-content: flex-start; }
  .regler-karte { --achse: 42px; }
  .regler__eingabe { --daumen: 34px; height: 48px; }
  .regler-karte .regler__eingabe { height: 44px; }
  .regler-werte { grid-template-columns: 1fr 1fr; }
  .regler-wert { padding: 10px 10px 10px 0; }
  .regler-wert + .regler-wert { padding-left: 12px; }
  .regler-wert--gesamt { grid-column: 1 / -1; border-left: 0 !important; padding-left: 0 !important; border-top: 1px solid var(--hellgrau); }
  .regler-werte--zwei .regler-wert--gesamt { grid-column: auto; border-left: 1px solid var(--hellgrau) !important; padding-left: 12px !important; border-top: 0; }
  .regler-aktion .knopf { width: 100%; }
}

/* ==========================================================================
   Druck und PDF der Rechtstexte
   ========================================================================== */
.nur-druck { display: none; }
.pdf-download { display: inline-flex; margin-top: 16px; }
.pdf-download svg { width: 18px; height: 18px; }
.pdf-download:hover svg { transform: translateY(2px); }

@page { size: A4; margin: 18mm 18mm 20mm; }
@media print {
  html { font-size: 10pt; }
  body { color: #000; }
  .springen, .pruefhinweis, .pdf-download, .preise-fuer, .prognose, .regler__tipp, .seitenkopf .zeile, .seitenkopf .einleitung { display: none !important; }
  .nur-druck { display: block !important; }
  .druck-kopf { display: flex !important; justify-content: space-between; align-items: flex-end; gap: 12mm; padding-bottom: 4mm; margin-bottom: 6mm; border-bottom: 1.5pt solid #c62118; }
  .druck-kopf img { height: 13mm; width: auto; }
  .druck-kopf p { margin: 0; font-size: 8.5pt; line-height: 1.45; text-align: right; color: #333; }
  .seitenkopf, .seitenkopf--kompakt { background: #fff; border: 0; padding: 0 0 2mm; }
  .seitenkopf h1 { font-size: 18pt; margin: 0 0 1mm; max-width: none; }
  .seitenkopf .druck-untertitel { display: block !important; font-size: 10pt; color: #333; margin: 0 0 4mm; }
  .abschnitt, .abschnitt--eng { padding: 0; }
  .container { max-width: none; padding: 0; }
  .rechtstext { max-width: none; }
  .rechtstext h2 { font-size: 11.5pt; margin: 5mm 0 1.5mm; break-after: avoid; page-break-after: avoid; }
  .rechtstext p { margin: 0 0 1.8mm; orphans: 3; widows: 3; }
  .rechtstext a { color: #000; text-decoration: none; }
  .js .einblenden { opacity: 1 !important; transform: none !important; }
}
