/* ── Schriften (lokal, keine Verbindung zu Google) ── */
@font-face { font-family: 'Saira'; src: url('/static/fonts/saira.woff2') format('woff2'); font-weight: 500 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/static/fonts/barlow-Regular.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/static/fonts/barlow-Medium.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/static/fonts/barlow-SemiBold.woff2') format('woff2'); font-weight: 600 700; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --graphit:    #2b2a29;   /* Logo: Schriftzug */
  --graphit-2:  #3a3836;
  --rot:        #a61115;   /* Logo: das „A“ */
  --rot-dunkel: #8a0d11;
  --stahl:      #f1f2f3;
  --linie:      #dcdedf;
  --text:       #1f1e1d;
  --text-2:     #5c5a58;
  --weiss:      #ffffff;
  --wrap:       1160px;
  --kopf:       76px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf) + 12px); }
body {
  font-family: 'Barlow', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--weiss);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, h4 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.text { overflow-wrap: break-word; }
h1, h2, h3, .saira { font-family: 'Saira', 'Barlow', sans-serif; line-height: 1.1; letter-spacing: -0.01em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; border-radius: 2px; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  font-family: 'Saira', sans-serif; font-weight: 600; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; border-radius: 4px;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-rot { background: var(--rot); color: var(--weiss); }
.btn-rot:hover { background: var(--rot-dunkel); }
.btn-linie { border-color: var(--graphit); color: var(--graphit); background: transparent; }
.btn-linie:hover { background: var(--graphit); color: var(--weiss); }

/* ── Kopfzeile ── */
.kopf {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--linie);
}
.kopf .wrap { height: var(--kopf); display: flex; align-items: center; gap: 32px; }
.kopf-logo img { height: 50px; width: auto; }
.kopf nav { margin-left: auto; }
.kopf nav ul { display: flex; gap: 28px; list-style: none; }
.kopf nav ul a {
  text-decoration: none; font-weight: 500; color: var(--text-2);
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.kopf nav ul a:hover { color: var(--text); border-bottom-color: var(--rot); }
.kopf-tel { font-family: 'Saira', sans-serif; font-weight: 600; text-decoration: none; white-space: nowrap; }
.kopf-tel:hover { color: var(--rot); }
.kopf .btn { min-height: 44px; padding: 0 20px; }
.kopf nav .menue-aktionen { display: none; }
.menue-knopf { display: none; width: 46px; height: 46px; border: 1.5px solid var(--linie); border-radius: 4px; background: var(--weiss); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; flex-shrink: 0; }
.menue-knopf span { display: block; width: 20px; height: 2px; background: var(--graphit); border-radius: 1px; transition: transform .2s, opacity .2s; }
.kopf.offen .menue-knopf span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.kopf.offen .menue-knopf span:nth-child(2) { opacity: 0; }
.kopf.offen .menue-knopf span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; padding: 72px 0 0; }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 56px; align-items: start;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  font-weight: 700; color: var(--graphit);
  letter-spacing: -0.025em; line-height: 1.02;
}
.hero-text p {
  margin-top: 24px; max-width: 34em;
  font-size: 1.2rem; color: var(--text-2);
}
.hero-aktionen { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.tafel {
  background: var(--graphit); color: var(--weiss);
  border-radius: 6px; padding: 30px 30px 26px;
  position: relative; z-index: 2;
}
.status { display: flex; align-items: center; gap: 12px; font-family: 'Saira', sans-serif; font-weight: 600; font-size: 1.15rem; }
.status-punkt { width: 12px; height: 12px; border-radius: 50%; background: #8f8c89; flex-shrink: 0; }
.status.offen .status-punkt { background: #3fbf6a; box-shadow: 0 0 0 4px rgba(63,191,106,.22); }
.status.zu .status-punkt { background: #e0353a; }
.status-zusatz { color: rgba(255,255,255,.68); margin: 4px 0 0 24px; font-size: .98rem; }
.tafel-zeiten { width: 100%; border-collapse: collapse; margin-top: 22px; font-size: .98rem; }
.tafel-zeiten td { padding: 9px 0; border-top: 1px solid rgba(255,255,255,.12); }
.tafel-zeiten td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.tafel-zeiten tr.heute td { color: var(--weiss); font-weight: 600; }
.tafel-zeiten tr:not(.heute) td { color: rgba(255,255,255,.72); }
.tafel-adresse { display: flex; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.85); }
.tafel-adresse svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; color: #e0353a; }
.tafel-adresse a { color: var(--weiss); font-weight: 600; text-underline-offset: 3px; }

.silhouette {
  color: #d2d4d6;
  /* Mittig, 25 % breiter als der Inhaltsbereich – die Partner-Leiste sitzt mittig unter dem Dach */
  --auto-breite: calc(min(var(--wrap), 100vw) * 1.25);
  width: var(--auto-breite);
  margin: 20px 0 0 calc(50% - var(--auto-breite) / 2);
}
.silhouette svg { width: 100%; height: auto; }
.hero-sockel { height: 10px; background: var(--rot); }

@media (prefers-reduced-motion: no-preference) {
  .silhouette svg { clip-path: inset(0 100% 0 0); animation: fahrt 1.6s cubic-bezier(.22,.7,.2,1) .2s forwards; }
  @keyframes fahrt { to { clip-path: inset(0 0 0 0); } }
}

/* ── Abschnitte ── */
.abschnitt { padding: 96px 0; }
.abschnitt-kopf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: end; margin-bottom: 56px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; color: var(--graphit); letter-spacing: -0.02em; }
.abschnitt-kopf p { color: var(--text-2); max-width: 34em; }
.winkel { display: block; width: 30px; height: 22px; color: var(--rot); margin-bottom: 18px; }

/* ── Leistungen ── */
#leistungen { background: var(--stahl); }
.leistungen {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--graphit);
}
.leistung { padding: 30px 26px 34px 0; border-bottom: 1px solid var(--linie); }
.leistung + .leistung { padding-left: 26px; border-left: 1px solid var(--linie); }
.leistung:nth-child(4n+1) { padding-left: 0; border-left: 0; }
.leistung-icon { width: 40px; height: 40px; color: var(--rot); margin-bottom: 22px; font-size: 2rem; line-height: 40px; }
.leistung-icon svg { width: 40px; height: 40px; }
.leistung h3 { font-size: 1.25rem; font-weight: 600; color: var(--graphit); margin-bottom: 10px; }
.leistung p { color: var(--text-2); font-size: 1rem; }

/* ── Leistungssteigerung ── */
.tuning { background: var(--weiss); border-bottom: 1px solid var(--linie); }
.tuning-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.tuning-lead { color: var(--text-2); margin-top: 18px; max-width: 34em; font-size: 1.15rem; }
.ablauf { list-style: none; counter-reset: schritt; margin-top: 40px; border-top: 2px solid var(--graphit); }
.ablauf li { counter-increment: schritt; display: grid; grid-template-columns: 48px 1fr; column-gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--linie); }
.ablauf li::before { content: counter(schritt); grid-row: span 2; font-family: 'Saira', sans-serif; font-weight: 700; font-size: 1.6rem; line-height: 1.1; color: var(--rot); }
.ablauf b { font-family: 'Saira', sans-serif; font-weight: 600; font-size: 1.15rem; color: var(--graphit); }
.ablauf span { color: var(--text-2); }
.tuning .formular { background: var(--stahl); }

/* ── Über uns ── */
.ueber-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.ueber-text > p { color: var(--text-2); margin-top: 18px; max-width: 36em; }
.haken { list-style: none; margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.haken li { display: flex; gap: 12px; align-items: baseline; font-weight: 500; }
.haken li svg { width: 14px; height: 11px; color: var(--rot); flex-shrink: 0; transform: translateY(1px); }
.kennzahlen { border-top: 2px solid var(--graphit); }
.kennzahl { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--linie); }
.kennzahl b { font-family: 'Saira', sans-serif; font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; color: var(--graphit); line-height: 1; }
.kennzahl span { color: var(--text-2); text-align: right; }
.partner { margin-top: 32px; padding: 22px 24px; background: var(--stahl); border-radius: 6px; }
.partner strong { font-family: 'Saira', sans-serif; font-weight: 600; display: block; margin-bottom: 4px; color: var(--graphit); }
.partner p { color: var(--text-2); font-size: .98rem; }

/* ── Warum ── */
#warum { background: var(--graphit); color: var(--weiss); }
#warum h2 { color: var(--weiss); }
#warum .abschnitt-kopf p { color: rgba(255,255,255,.7); }
.gruende { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.grund { border-top: 1px solid rgba(255,255,255,.2); padding-top: 26px; }
.grund .winkel { color: #e0353a; width: 24px; height: 17px; margin-bottom: 16px; }
.grund h3 { font-size: 1.3rem; font-weight: 600; margin-bottom: 10px; }
.grund p { color: rgba(255,255,255,.72); font-size: 1rem; }

/* ── Kontakt ── */
#kontakt { background: var(--stahl); }
.kontakt-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.wege { list-style: none; border-top: 2px solid var(--graphit); }
.wege li { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--linie); }
.wege svg { width: 22px; height: 22px; color: var(--rot); flex-shrink: 0; margin-top: 3px; }
.wege small { display: block; color: var(--text-2); font-size: .92rem; }
.wege a, .wege span { font-family: 'Saira', sans-serif; font-weight: 600; font-size: 1.15rem; text-decoration: none; color: var(--graphit); }
.wege a:hover { color: var(--rot); }
.wege .route { font-family: 'Barlow', sans-serif; font-size: .98rem; font-weight: 500; color: var(--rot); text-decoration: underline; text-underline-offset: 3px; display: inline-block; margin-top: 4px; }
.zeiten-titel { font-size: 1.3rem; font-weight: 600; color: var(--graphit); margin: 40px 0 8px; }
.zeiten { width: 100%; border-collapse: collapse; }
.zeiten td { padding: 12px 0; border-bottom: 1px solid var(--linie); }
.zeiten td:last-child { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.zeiten tr.geschlossen td:last-child { color: var(--text-2); font-weight: 400; }
.zeiten tr.heute td { color: var(--rot); }
.zeiten tr.heute td:first-child::after { content: ' (heute)'; font-weight: 500; }

.formular { background: var(--weiss); border-radius: 6px; padding: 40px; border-top: 4px solid var(--rot); }
.formular h3 { font-size: 1.6rem; font-weight: 700; color: var(--graphit); margin-bottom: 6px; }
.formular > p { color: var(--text-2); margin-bottom: 28px; }
.meldung { border-radius: 4px; padding: 14px 18px; margin-bottom: 24px; font-weight: 600; }
.meldung.ok { background: #eef8f1; border-left: 4px solid #2f9e57; color: #1d5e35; }
.meldung.fehler { background: #fcefef; border-left: 4px solid var(--rot); color: var(--rot-dunkel); }
.feld { margin-bottom: 18px; }
.reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--graphit); }
label .opt { font-weight: 400; color: var(--text-2); }
input, textarea, select {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1.5px solid #c9cbcd; border-radius: 4px;
  font: inherit; font-size: 1rem; color: var(--text); background: var(--weiss);
  transition: border-color .15s;
}
input:hover, textarea:hover, select:hover { border-color: #9a9896; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--graphit); box-shadow: 0 0 0 3px rgba(166,17,21,.18); }
textarea { min-height: 120px; resize: vertical; }
.formular .btn { width: 100%; margin-top: 8px; min-height: 54px; font-size: 1.05rem; }
.hinweis { font-size: .9rem; color: var(--text-2); margin-top: 14px; }

/* ── Fußzeile ── */
.fuss { background: #1f1e1d; color: rgba(255,255,255,.7); padding: 56px 0 32px; font-size: .98rem; }
.fuss-grid { display: flex; flex-wrap: wrap; gap: 40px 64px; align-items: flex-start; justify-content: space-between; }
.fuss-logo img { height: 56px; width: auto; }
.fuss-logo-chip { background: var(--weiss); border-radius: 4px; padding: 8px 14px; display: inline-block; }
.fuss address { font-style: normal; line-height: 1.8; }
.fuss a { color: var(--weiss); text-decoration: none; }
.fuss a:hover { text-decoration: underline; text-underline-offset: 3px; }
.fuss-unten { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: .9rem; }
.fuss-unten span { margin-right: auto; }
.fuss-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }

/* ── Teaser-Aktionen ── */
.tuning-aktionen { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ── Unterseiten ── */
.seite-kopf { background: var(--stahl); padding: 64px 0 48px; border-bottom: 1px solid var(--linie); }
.seite-kopf h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; color: var(--graphit); letter-spacing: -0.02em; }
.seite-kopf p { color: var(--text-2); margin-top: 14px; max-width: 40em; font-size: 1.15rem; }
.seite-inhalt { padding: 56px 0 96px; }
.text { max-width: 46em; }
.text > * + * { margin-top: 1em; }
.text h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.8em; }
.text h3 { font-size: 1.3rem; font-weight: 600; color: var(--graphit); margin-top: 1.6em; }
.text h4 { font-size: 1.1rem; font-weight: 600; margin-top: 1.4em; }
.text ul, .text ol { padding-left: 1.4em; }
.text li + li { margin-top: .35em; }
.text a { color: var(--rot); text-underline-offset: 3px; }
.text img { max-width: 100%; height: auto; border-radius: 4px; }
.text table { border-collapse: collapse; width: 100%; }
.text th, .text td { border-bottom: 1px solid var(--linie); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.text blockquote { border-left: 4px solid var(--rot); padding: 4px 0 4px 18px; color: var(--text-2); }
.text hr { border: 0; border-top: 1px solid var(--linie); margin: 2em 0; }
.text .platzhalter, .text mark { background: #fff1b8; color: #6b4e00; padding: 0 3px; border-radius: 2px; }
.ueber-text .text p { color: var(--text-2); }

/* ── Konfigurator ── */
.konfigurator { margin: 48px 0; }
.konfigurator iframe { width: 100%; border: 0; min-height: 720px; display: block; background: var(--stahl); border-radius: 6px; }
.zustimmung {
  border: 1px solid var(--linie); background: var(--stahl); border-radius: 6px;
  padding: 40px 32px; text-align: center; min-height: 320px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
}
.zustimmung h3 { font-size: 1.5rem; font-weight: 700; color: var(--graphit); }
.zustimmung p { color: var(--text-2); max-width: 36em; font-size: .98rem; }
.zustimmung label { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; font-size: .95rem; cursor: pointer; }
.zustimmung input[type=checkbox] { width: 18px; min-height: 0; height: 18px; accent-color: var(--rot); }
.seite-formular { margin-top: 56px; }

/* ── Breites Anfrageformular (volle Seitenbreite, 4 Spalten) ── */
.formular-breit { padding: 40px 44px; }
.formular-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.formular-kopf p { color: var(--text-2); margin-top: 6px; }
.formular-tel { text-decoration: none; text-align: right; font-family: 'Saira', sans-serif; font-weight: 600; font-size: 1.25rem; color: var(--graphit); white-space: nowrap; }
.formular-tel small { display: block; font-family: 'Barlow', sans-serif; font-weight: 400; font-size: .92rem; color: var(--text-2); }
.formular-tel:hover { color: var(--rot); }
.felder { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px 20px; }
.felder .s2 { grid-column: span 2; }
.felder .s3 { grid-column: span 3; }
.felder textarea { min-height: 48px; }
.formular-breit .formular-fuss { display: flex; align-items: center; gap: 24px; margin-top: 8px; }
.formular-breit .formular-fuss .btn { width: auto; margin-top: 0; padding: 0 36px; white-space: nowrap; }
.formular-breit .formular-fuss .hinweis { margin-top: 0; }

/* ── Fußzeilen-Links ── */
.fuss-unten a + a { margin-left: 0; }

/* ── Admin-Leiste (nur sichtbar, wenn eingeloggt) ── */
.adminleiste {
  background: #111; color: #ddd; font-size: .9rem;
  display: flex; gap: 20px; align-items: center; padding: 0 16px; height: 36px;
  position: sticky; top: 0; z-index: 300;
}
.adminleiste a { color: #fff; text-decoration: none; font-weight: 600; }
.adminleiste a:hover { text-decoration: underline; }
.adminleiste .rechts { margin-left: auto; }
body.mit-adminleiste .kopf { top: 36px; }

/* ── AUTOFIT (Styleguide: 3D-Logo, auf hellem Grund mit dunklem Schein = 10 % des Durchmessers) ── */
.kopf-partner { display: flex; align-items: center; padding-left: 22px; margin-left: -10px; border-left: 1px solid var(--linie); height: 46px; }
.kopf-partner img { width: 46px; height: 46px; filter: drop-shadow(0 0 4.6px rgba(0,0,0,.4)); }
.partner.mit-logo { display: flex; gap: 20px; align-items: center; }
.partner.mit-logo img { width: 80px; height: 80px; flex-shrink: 0; filter: drop-shadow(0 0 8px rgba(0,0,0,.35)); }
.fuss-partner { display: flex; align-items: center; gap: 14px; line-height: 1.3; color: rgba(255,255,255,.85); font-weight: 500; }
.fuss-partner img { width: 64px; height: 64px; }

/* ── Konfigurator (Schnittstelle) ── */
.konf-api h2 { margin-bottom: 24px; }
.konf-auswahl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; padding: 24px; background: var(--graphit); border-radius: 6px 6px 0 0; }
.konf-auswahl label { color: #fff; display: flex; align-items: center; gap: 10px; font-size: 1rem; }
.konf-nr { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--rot); color: #fff; align-items: center; justify-content: center; font-family: 'Saira', sans-serif; font-weight: 700; font-size: .9rem; }
.konf-auswahl select { min-height: 52px; font-size: 1.05rem; border-color: transparent; }
.konf-auswahl select:disabled { opacity: .6; }
.konf-ergebnis { border: 1px solid var(--linie); border-top: 0; border-radius: 0 0 6px 6px; padding: 28px 24px; min-height: 120px; transition: opacity .2s; }
.konf-ergebnis.laedt { opacity: .45; }
.konf-leer { color: var(--text-2); }
.konf-fehler { color: var(--rot-dunkel); background: #fcefef; border-left: 4px solid var(--rot); padding: 12px 16px; border-radius: 4px; }
.konf-modell-titel { font-size: 1.5rem; font-weight: 700; color: var(--graphit); margin-bottom: 18px; }
.konf-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.konf-motor { border: 1px solid var(--linie); border-radius: 6px; padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.konf-motor-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.konf-motor h4 { font-family: 'Saira', sans-serif; font-size: 1.15rem; font-weight: 600; color: var(--graphit); }
.konf-plus { font-family: 'Saira', sans-serif; font-weight: 700; color: var(--rot); white-space: nowrap; }
.konf-balken { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; font-size: .95rem; }
.konf-balken-name { color: var(--text-2); }
.konf-spur { height: 10px; background: var(--stahl); border-radius: 5px; overflow: hidden; }
.konf-fuell { display: block; height: 100%; border-radius: 5px; background: #9a9896; }
.konf-stage .konf-fuell { background: var(--rot); }
.konf-balken-wert { font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 150px; text-align: right; }
.konf-stage .konf-balken-wert { font-weight: 600; color: var(--graphit); }
.konf-motor-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--linie); }
.konf-verbrauch { font-size: .92rem; color: var(--text-2); }
.konf-preis { font-family: 'Saira', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--graphit); }
.konf-anfragen { margin-left: auto; min-height: 40px; padding: 0 16px; font-size: .95rem; }
.konf-hinweis { margin-top: 20px; font-size: .92rem; color: var(--text-2); background: var(--stahl); padding: 12px 16px; border-radius: 4px; }
.konf-hinweis strong { color: var(--graphit); }

/* ── Partner in der Begrüßung (in der Fläche unter der Auto-Silhouette) ── */
.hero-partner { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 1; }
.hero-partner .wrap { display: flex; align-items: center; justify-content: center; gap: 28px; }
.hero-partner-titel { font-size: .92rem; color: var(--text-2); white-space: nowrap; }
.hero-partner ul { list-style: none; display: flex; align-items: center; gap: 0; }
.hero-partner li { display: flex; align-items: center; padding: 0 26px; border-left: 1px solid var(--linie-2, #c9cbcd); }
.hero-partner li:last-child { padding-right: 0; }
.hero-partner a { display: flex; align-items: center; text-decoration: none; color: var(--graphit); }
.hero-partner img { height: 34px; width: auto; max-width: 170px; }
.hero-partner .partner-name { font-size: 1.35rem; color: var(--graphit); }
.hero-partner a:hover .partner-name { color: var(--rot); }

/* ── Partner ── */
.partner-band { background: var(--weiss); border-top: 1px solid var(--linie); padding: 72px 0; }
.partner-band-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.partner-band-kopf h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.partner-band-kopf p { color: var(--text-2); }
.partner-reihe { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 2px solid var(--graphit); }
.partner-reihe li { border-bottom: 1px solid var(--linie); }
.partner-reihe li + li { border-left: 1px solid var(--linie); }
.partner-kachel { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 140px; padding: 24px; text-decoration: none; color: var(--graphit); text-align: center; }
a.partner-kachel:hover { background: var(--stahl); }
.partner-kachel img { max-height: 54px; max-width: min(200px, 100%); width: auto; height: auto; }
.partner-name { font-family: 'Saira', sans-serif; font-weight: 700; font-size: 1.7rem; letter-spacing: .01em; }
.partner-kachel small { color: var(--text-2); font-size: .92rem; }
.konf-kopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 24px; }
.konf-kopf h2 { margin-bottom: 0 !important; }
.konf-quelle { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-2); font-size: .9rem; }
.konf-quelle img { height: 30px; width: auto; }

/* ── Mobile Schnellleiste ── */
.schnell { display: none; }

@media (max-width: 1080px) {
  .kopf .wrap { gap: 20px; }
  .kopf-tel { margin-left: auto; }
  .menue-knopf { display: flex; }
  .kopf nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--weiss); border-bottom: 1px solid var(--linie);
    box-shadow: 0 16px 32px rgba(0,0,0,.12); padding: 8px 0 20px;
    max-height: calc(100vh - var(--kopf)); overflow-y: auto;
  }
  .kopf.offen nav { display: block; }
  .kopf nav ul { flex-direction: column; gap: 0; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
  .kopf nav li { border-bottom: 1px solid var(--linie); }
  .kopf nav ul a { display: block; padding: 15px 0; font-size: 1.1rem; font-weight: 600; color: var(--graphit); border-bottom: 0; }
  .kopf nav ul a[aria-current="page"] { color: var(--rot); }
  .kopf nav .menue-aktionen { display: flex; gap: 12px; max-width: var(--wrap); margin: 18px auto 0; padding: 0 24px; }
  .kopf nav .menue-aktionen .btn { flex: 1; }
  .leistungen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .leistung:nth-child(4n+1) { padding-left: 26px; border-left: 1px solid var(--linie); }
  .leistung:nth-child(2n+1) { padding-left: 0; border-left: 0; }
  .gruende { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero-grid, .abschnitt-kopf, .ueber-grid, .kontakt-grid, .tuning-grid { grid-template-columns: 1fr; }
  .konfigurator iframe { min-height: 900px; }
  .konf-liste { grid-template-columns: 1fr; }
  .felder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .formular-breit .formular-fuss { flex-direction: column; align-items: flex-start; gap: 12px; }
  .felder .s3 { grid-column: span 2; }
  .abschnitt-kopf { gap: 16px; }
  .hero { padding-top: 48px; }
  .hero-grid, .ueber-grid, .kontakt-grid, .tuning-grid { gap: 40px; }
}
@media (max-width: 640px) {
  :root { --kopf: 64px; }
  .wrap { padding: 0 16px; }
  .kopf-logo img { height: 40px; }
  .kopf-partner { padding-left: 14px; margin-left: 4px; height: 40px; }
  .kopf-partner img { width: 40px; height: 40px; filter: drop-shadow(0 0 4px rgba(0,0,0,.4)); }
  .partner.mit-logo img { width: 64px; height: 64px; }
  .kopf-tel, .kopf-termin { display: none; }
  .kopf .wrap { gap: 12px; }
  .menue-knopf { margin-left: auto; }
  .kopf nav ul, .kopf nav .menue-aktionen { padding: 0 16px; }
  .kopf nav .menue-aktionen { flex-direction: column; }
  .abschnitt { padding: 64px 0; }
  .hero-aktionen .btn { flex: 1 1 100%; }
  .tafel { padding: 24px 20px 20px; }
  .leistungen { grid-template-columns: 1fr; }
  .leistung, .leistung + .leistung, .leistung:nth-child(4n+1), .leistung:nth-child(2n+1) { padding: 24px 0; border-left: 0; }
  .gruende { grid-template-columns: 1fr; gap: 28px; }
  .haken { grid-template-columns: 1fr; }
  .reihe { grid-template-columns: 1fr; gap: 0; }
  .formular { padding: 28px 20px; }
  .felder { grid-template-columns: 1fr; }
  .partner.mit-logo { flex-direction: column; align-items: flex-start; gap: 14px; }
  body { padding-bottom: 0; }
  .fuss { padding-bottom: calc(32px + 76px + env(safe-area-inset-bottom)); }
  .fuss-grid { gap: 28px; }
  .fuss-unten { flex-direction: column; gap: 10px; }
  .fuss-unten span { margin-right: 0; }
  .fuss-unten div.fuss-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
  .hero-partner { position: static; padding: 18px 0 22px; }
  .hero-partner .wrap { flex-direction: column; align-items: center; gap: 10px; }
  .hero-partner ul { flex-wrap: wrap; gap: 10px 0; justify-content: center; }
  .hero-partner li { padding: 0 16px; }
  .hero-partner li:first-child { padding-left: 0; border-left: 0; }
  .hero-partner img { height: 26px; }
  .hero-partner .partner-name { font-size: 1.1rem; }
  .partner-reihe { grid-template-columns: 1fr 1fr; }
  .partner-reihe li + li { border-left: 0; }
  .partner-reihe li:nth-child(even) { border-left: 1px solid var(--linie); }
  .partner-kachel { min-height: 110px; padding: 16px; }
  .partner-name { font-size: 1.3rem; }
  .konf-auswahl { grid-template-columns: 1fr; padding: 18px 16px; }
  .konf-ergebnis { padding: 20px 16px; }
  .konf-balken { grid-template-columns: 1fr auto; grid-template-areas: "name wert" "spur spur"; gap: 4px 12px; }
  .konf-balken-name { grid-area: name; }
  .konf-balken-wert { grid-area: wert; min-width: 0; }
  .konf-spur { grid-area: spur; }
  .konf-anfragen { margin-left: 0; width: 100%; }
  .felder .s2, .felder .s3 { grid-column: auto; }
  .formular-kopf { flex-direction: column; align-items: flex-start; }
  .formular-tel { text-align: left; }
  .formular-breit .formular-fuss { flex-direction: column; align-items: stretch; }
  .formular-breit .formular-fuss .btn { width: 100%; }
  .silhouette { --auto-breite: 170vw; }
  .schnell {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--weiss); border-top: 1px solid var(--linie);
  }
  .schnell .btn { min-height: 50px; padding: 0 12px; }
  .wa { bottom: 84px !important; right: 12px !important; width: 50px !important; height: 50px !important; }
  .wa svg { width: 26px; height: 26px; }
}
[hidden] { display: none !important; }
