/* =========================================================================
   styles.css – Whitelabel Autoteile
   Farben kommen aus config.js und werden als CSS-Variablen gesetzt.
   ========================================================================= */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  --primary: #007bb5;
  --primary-dark: #005f8e;
  --primary-soft: rgba(0, 123, 181, .12);
  --wa: #25D366;
  --wa-dark: #1da851;
  --ink: #0e1420;
  --ink-2: #1a2333;
  --body: #37404f;
  --muted: #6b7688;
  --line: #e4e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-softer: #fafbfd;
  --white: #fff;
  --ok: #16a34a;
  --err: #dc2626;
  --warn: #d97706;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14, 20, 32, .06), 0 2px 8px rgba(14, 20, 32, .04);
  --shadow: 0 4px 12px rgba(14, 20, 32, .08), 0 12px 32px rgba(14, 20, 32, .06);
  --shadow-lg: 0 18px 50px rgba(14, 20, 32, .14);
  --maxw: 1180px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 2. Reset ----------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -.022em;
  margin: 0 0 .5em;
  font-weight: 800;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p  { margin: 0 0 1em; }

:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- 3. Layout ---------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }

section { padding: clamp(56px, 8vw, 100px) 0; }
.sec-soft   { background: var(--bg-soft); }
.sec-dark   { background: var(--ink); color: #c3ccdb; }
.sec-dark h2, .sec-dark h3 { color: #fff; }

.sec-head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.sec-head p { font-size: 1.08rem; color: var(--muted); margin: 0; }
.sec-dark .sec-head p { color: #93a0b5; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--primary); background: var(--primary-soft);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 16px;
}
.sec-dark .eyebrow { background: rgba(255,255,255,.08); color: #ff9269; }

/* ---------- 4. Buttons --------------------------------------------------- */
.btn {
  --btn-bg: var(--primary);
  --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  font: inherit; font-weight: 700; font-size: 1rem;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 2px solid transparent; border-radius: var(--radius);
  cursor: pointer; text-decoration: none !important;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s;
  box-shadow: var(--shadow-sm);
  line-height: 1.2;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn-wa      { --btn-bg: var(--wa); box-shadow: 0 6px 20px rgba(37,211,102,.35); }
.btn-wa:hover{ --btn-bg: var(--wa-dark); box-shadow: 0 10px 28px rgba(37,211,102,.45); }
.btn-ghost   { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { border-color: var(--ink); background: #fff; }
/* Ghost-Buttons auf dunklem Grund: Schrift und Rahmen aufhellen */
.sec-dark .btn-ghost,
.hero .btn-ghost,
.side-card.accent .btn-ghost { --btn-fg: #fff; border-color: rgba(255,255,255,.25); }
.sec-dark .btn-ghost:hover,
.hero .btn-ghost:hover,
.side-card.accent .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.btn-lg  { padding: 18px 32px; font-size: 1.08rem; }
.btn-sm  { padding: 11px 18px; font-size: .92rem; }
.btn-block { width: 100%; }

/* ---------- 5. Topbar ---------------------------------------------------- */
.topbar {
  background: var(--ink-2); color: #9fabbf;
  font-size: .85rem; padding: 9px 0;
}
.topbar .wrap { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.topbar-list { display: flex; gap: 22px; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.topbar-list li { display: flex; align-items: center; gap: 7px; }
.topbar a { color: #dbe2ec; font-weight: 600; }
.topbar svg { width: 15px; height: 15px; opacity: .7; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37,211,102,.7); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }

/* ---------- 6. Header / Nav --------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: 20px; height: 74px; }

.logo { display: flex; align-items: center; gap: 11px; font-weight: 900; font-size: 1.32rem; color: var(--ink); letter-spacing: -.03em; text-decoration: none !important; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: grid; place-items: center; color: #fff;
  box-shadow: 0 4px 14px rgba(0,150,215,.35);
}
.logo-mark svg { width: 24px; height: 24px; }
.logo em { font-style: normal; color: var(--primary); }

.nav-links { display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a {
  display: block; padding: 9px 14px; border-radius: 9px;
  color: var(--body); font-weight: 600; font-size: .96rem; text-decoration: none !important;
  transition: background .18s, color .18s;
}
.nav-links a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-links > li > a { white-space: nowrap; }
.nav-cta .btn { white-space: nowrap; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-links li.mob-cta { display: none; }

.burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line);
  background: #fff; border-radius: 11px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center; margin-left: auto;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .22s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .22s; }
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* ---------- 7. Hero ------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden; padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px);
  background:
    radial-gradient(1000px 500px at 88% -10%, rgba(0,150,215,.16), transparent 60%),
    radial-gradient(700px 400px at 5% 105%, rgba(37,211,102,.10), transparent 62%),
    linear-gradient(170deg, #0e1420 0%, #16203040 100%), var(--ink);
  color: #cbd4e2;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent 78%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 .hl { color: var(--primary); }
.hero-lead { font-size: clamp(1.03rem, 1.6vw, 1.2rem); color: #a9b5c8; max-width: 560px; }

.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; padding: 0; list-style: none; }
.hero-badges li {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.11);
  padding: 8px 15px; border-radius: 999px; font-size: .9rem; font-weight: 600; color: #dbe3ee;
}
.hero-badges svg { width: 16px; height: 16px; color: var(--wa); flex: none; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: .87rem; color: #8593a8; display: flex; align-items: center; gap: 8px; }
.hero-note svg { width: 15px; height: 15px; flex: none; }

.hero-visual { position: relative; }
.hero-card {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}
.hero-card > img { border-radius: var(--radius); }
.hero-mini {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px;
}
.hero-mini div {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm); padding: 13px 10px; text-align: center;
}
.hero-mini b { display: block; color: #fff; font-size: 1.28rem; letter-spacing: -.02em; }
.hero-mini span { font-size: .74rem; color: #8fa0b8; }

.float-pill {
  position: absolute; right: -6px; bottom: -18px;
  background: #fff; color: var(--ink); border-radius: var(--radius);
  padding: 13px 18px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 11px; font-weight: 700; font-size: .9rem;
}
.float-pill .ico { width: 34px; height: 34px; border-radius: 9px; background: var(--wa); display: grid; place-items: center; flex: none; }
.float-pill .ico svg { width: 19px; height: 19px; color: #fff; }
.float-pill small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; }

/* ---------- 8. Trustbar -------------------------------------------------- */
.trustbar { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 26px 0; }
.trustbar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trust-item { display: flex; gap: 13px; align-items: flex-start; }
.trust-item .ico { width: 40px; height: 40px; border-radius: 11px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; flex: none; color: var(--primary); }
.trust-item .ico svg { width: 20px; height: 20px; }
.trust-item b { display: block; color: var(--ink); font-size: .96rem; }
.trust-item span { font-size: .84rem; color: var(--muted); line-height: 1.45; display: block; }

/* ---------- 9. Kategorien ------------------------------------------------ */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 18px; }
.cat-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px 22px;
  cursor: pointer; text-align: left; font: inherit; color: inherit;
  transition: transform .18s ease, box-shadow .22s ease, border-color .18s;
  overflow: hidden;
}
.cat-card::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: var(--primary); transform: scaleY(0); transform-origin: bottom; transition: transform .25s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.cat-card:hover::before { transform: scaleY(1); }
.cat-ico {
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 15px;
  background: var(--primary-soft); color: var(--primary);
  display: grid; place-items: center;
  transition: background .22s, color .22s;
}
.cat-card:hover .cat-ico { background: var(--primary); color: #fff; }
.cat-ico svg { width: 26px; height: 26px; }
.cat-card h3 { margin-bottom: 6px; }
.cat-card p { font-size: .89rem; color: var(--muted); margin: 0 0 14px; line-height: 1.5; }
.cat-link { font-size: .87rem; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 6px; }
.cat-link svg { width: 15px; height: 15px; transition: transform .2s; }
.cat-card:hover .cat-link svg { transform: translateX(4px); }

/* ---------- 10. Ablauf / Steps ------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px;
}
.step-num {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-weight: 800; font-size: 1.08rem; margin-bottom: 16px;
}
.step:nth-child(3) .step-num { background: var(--wa); }
.step p { font-size: .95rem; color: var(--muted); margin: 0; }
.step-arrow {
  position: absolute; top: 52px; right: -22px; width: 26px; color: var(--line); z-index: 2;
}
.steps .step:last-child .step-arrow { display: none; }

/* ---------- 11. Marken-Sektion ------------------------------------------ */
.brandwall { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 14px; }
.brandtile {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 16px; text-align: center;
  transition: transform .18s, box-shadow .2s, border-color .2s;
}
.brandtile:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d4dae4; }
.brandtile b {
  display: block; color: var(--ink); font-size: 1.03rem; font-weight: 800;
  letter-spacing: -.02em; margin-bottom: 3px;
}
.brandtile span { font-size: .78rem; color: var(--muted); }
.disclaimer {
  margin-top: 26px; font-size: .8rem; color: var(--muted); line-height: 1.6;
  background: #fff; border: 1px dashed var(--line); border-radius: var(--radius-sm);
  padding: 16px 18px; max-width: 860px; margin-inline: auto; text-align: center;
}
.sec-dark .brandtile { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.sec-dark .brandtile b { color: #fff; }
.sec-dark .brandtile span { color: #8fa0b8; }
.sec-dark .disclaimer { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.14); color: #8fa0b8; }

/* ---------- 12. Formular ------------------------------------------------- */
.form-section { background: linear-gradient(180deg, var(--bg-soft) 0%, #fff 100%); }
.form-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 30px; align-items: start; }

.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 40px); box-shadow: var(--shadow);
}
fieldset { border: 0; padding: 0; margin: 0 0 30px; }
fieldset:last-of-type { margin-bottom: 22px; }
legend {
  font-weight: 800; color: var(--ink); font-size: 1.06rem; padding: 0;
  display: flex; align-items: center; gap: 10px; margin-bottom: 4px;
}
.legend-num {
  width: 26px; height: 26px; border-radius: 8px; background: var(--primary-soft);
  color: var(--primary); display: grid; place-items: center; font-size: .82rem; font-weight: 800; flex: none;
}
.legend-hint { font-size: .87rem; color: var(--muted); margin: 6px 0 18px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.field { margin-bottom: 16px; }
.field:last-child { margin-bottom: 0; }
.field label { display: block; font-weight: 650; font-size: .91rem; color: var(--ink); margin-bottom: 7px; }
.req { color: var(--primary); font-weight: 800; }
.opt { color: var(--muted); font-weight: 500; font-size: .84rem; }

.input, select, textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--ink);
  padding: 13px 15px; background: var(--bg-softer);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .16s, box-shadow .16s, background .16s;
  appearance: none;
}
textarea { min-height: 108px; resize: vertical; line-height: 1.55; }
select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7688' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 17px;
  padding-right: 42px; cursor: pointer;
}
select:disabled { opacity: .58; cursor: not-allowed; background-color: #f0f2f6; }
.input:focus, select:focus, textarea:focus {
  outline: none; background: #fff;
  border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft);
}
.input::placeholder, textarea::placeholder { color: #9aa4b5; }
.input-hint { font-size: .8rem; color: var(--muted); margin-top: 6px; line-height: 1.45; }

.field.is-invalid .input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: var(--err); background: #fff5f5; }
.field.is-valid .input,
.field.is-valid select { border-color: var(--ok); }

.error-msg {
  display: none; align-items: center; gap: 6px;
  color: var(--err); font-size: .83rem; font-weight: 600; margin-top: 6px;
}
.field.is-invalid .error-msg { display: flex; }
.error-msg svg { width: 14px; height: 14px; flex: none; }

/* Fahrzeug-Identifikation: Zwei-Wege-Auswahl */
.idswitch {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px;
}
.idswitch input { position: absolute; opacity: 0; pointer-events: none; }
.idswitch label {
  display: flex; gap: 11px; align-items: flex-start; cursor: pointer; margin: 0;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 15px; background: var(--bg-softer);
  transition: border-color .16s, background .16s, box-shadow .16s;
}
.idswitch label:hover { border-color: #c9d1dd; }
.idswitch input:checked + label {
  border-color: var(--primary); background: var(--primary-soft);
  box-shadow: 0 0 0 3px var(--primary-soft);
}
.idswitch input:focus-visible + label { outline: 3px solid var(--primary); outline-offset: 2px; }
.idswitch .radio-dot {
  width: 19px; height: 19px; border-radius: 50%; border: 2px solid #c2cad6;
  flex: none; margin-top: 2px; display: grid; place-items: center; background: #fff;
  transition: border-color .16s;
}
.idswitch .radio-dot::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--primary); transform: scale(0); transition: transform .16s; }
.idswitch input:checked + label .radio-dot { border-color: var(--primary); }
.idswitch input:checked + label .radio-dot::after { transform: scale(1); }
.idswitch b { display: block; font-size: .94rem; color: var(--ink); }
.idswitch small { color: var(--muted); font-size: .8rem; line-height: 1.4; display: block; }

.idpanel { display: none; }
.idpanel.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.callout {
  display: flex; gap: 11px; align-items: flex-start;
  background: #fff8ed; border: 1px solid #fbe0b6; color: #7a5314;
  border-radius: var(--radius-sm); padding: 13px 15px; font-size: .85rem; line-height: 1.5;
  margin-top: 4px;
}
.callout svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--warn); }
.callout b { color: #61410f; }

/* Checkbox */
.check { display: flex; gap: 11px; align-items: flex-start; font-size: .875rem; color: var(--body); margin-bottom: 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; accent-color: var(--primary); cursor: pointer; }
.check a { font-weight: 600; text-decoration: underline; }
.field.is-invalid .check { color: var(--err); }

/* Vorschau */
.preview {
  background: var(--ink); color: #d5dde9; border-radius: var(--radius);
  padding: 18px 20px; margin: 4px 0 20px; font-size: .89rem; line-height: 1.6;
}
.preview-head {
  display: flex; align-items: center; gap: 9px; color: #fff;
  font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .09em; margin-bottom: 11px;
}
.preview-head svg { width: 16px; height: 16px; color: var(--wa); }
.preview-bubble {
  background: #075e54; background: linear-gradient(180deg, #128c7e, #075e54);
  color: #fff; border-radius: 4px 14px 14px 14px; padding: 12px 15px;
  white-space: pre-wrap; word-break: break-word; font-size: .88rem;
}
.preview-foot { font-size: .78rem; color: #8fa0b8; margin: 10px 0 0; display: flex; align-items: center; gap: 7px; }
.preview-foot svg { width: 14px; height: 14px; flex: none; }

.submit-row { display: grid; gap: 12px; }
.submit-alt { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-foot { font-size: .8rem; color: var(--muted); text-align: center; margin: 16px 0 0; }

/* Sidebar */
.side-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; margin-bottom: 18px; box-shadow: var(--shadow-sm);
}
.side-card:last-child { margin-bottom: 0; }
.side-card h3 { font-size: 1.06rem; margin-bottom: 12px; }
.side-card p { font-size: .89rem; color: var(--muted); margin-bottom: 16px; }
.side-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.side-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .89rem; }
.side-list svg { width: 18px; height: 18px; color: var(--ok); flex: none; margin-top: 2px; }
.side-contact { display: grid; gap: 10px; }
.side-hours { list-style: none; padding: 0; margin: 0; font-size: .87rem; }
.side-hours li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.side-hours li:last-child { border-bottom: 0; }
.side-hours b { color: var(--ink); font-weight: 650; }
.side-card.accent { background: var(--ink); border-color: transparent; }
.side-card.accent h3 { color: #fff; }
.side-card.accent p { color: #93a0b5; }

/* ---------- 13. Vorteile ------------------------------------------------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 25px;
  transition: transform .18s, box-shadow .2s;
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feat .ico { width: 48px; height: 48px; border-radius: 13px; background: var(--primary-soft); color: var(--primary); display: grid; place-items: center; margin-bottom: 15px; }
.feat .ico svg { width: 24px; height: 24px; }
.feat p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- 14. Zahlen --------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stat b { display: block; font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 900; color: #fff; letter-spacing: -.03em; line-height: 1.05; }
.stat span { font-size: .89rem; color: #93a0b5; }
.stat .accent { color: var(--primary); }

/* ---------- 15. Testimonials -------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.stars { display: flex; gap: 2px; margin-bottom: 12px; color: #f5a623; }
.stars svg { width: 17px; height: 17px; }
.quote p { font-size: .94rem; color: var(--body); margin-bottom: 16px; }
.quote-who { display: flex; align-items: center; gap: 11px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .92rem;
}
.quote-who b { display: block; font-size: .9rem; color: var(--ink); }
.quote-who span { font-size: .8rem; color: var(--muted); }

/* ---------- 16. FAQ ------------------------------------------------------ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: #d5dbe5; box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; list-style: none; padding: 19px 56px 19px 22px; position: relative;
  font-weight: 700; color: var(--ink); font-size: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 11px; height: 11px;
  border-right: 2.4px solid var(--muted); border-bottom: 2.4px solid var(--muted);
  transform: translateY(-70%) rotate(45deg); transition: transform .25s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq-body { padding: 0 22px 20px; font-size: .93rem; color: var(--muted); }
.faq .faq-body p:last-child { margin: 0; }

/* ---------- 17. CTA-Band ------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 620px; margin-inline: auto; }
.cta-band .btn-ghost { --btn-fg: #fff; border-color: rgba(255,255,255,.55); }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* ---------- 18. Kontakt -------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; text-align: center;
  transition: transform .18s, box-shadow .2s;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-card .ico { width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center; margin: 0 auto 15px; color: #fff; }
.contact-card .ico svg { width: 26px; height: 26px; }
.ico-wa   { background: var(--wa); }
.ico-tel  { background: var(--ink); }
.ico-mail { background: var(--primary); }
.contact-card h3 { margin-bottom: 5px; }
.contact-card p { font-size: .88rem; color: var(--muted); margin-bottom: 17px; }
.contact-card .big { display: block; font-size: 1.04rem; font-weight: 800; color: var(--ink); margin-bottom: 4px; letter-spacing: -.01em; }

/* ---------- 19. Footer --------------------------------------------------- */
.site-footer { background: var(--ink); color: #8c99ad; padding: 60px 0 0; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px; padding-bottom: 44px; }
.site-footer h4 { color: #fff; font-size: .93rem; font-weight: 700; margin: 0 0 15px; letter-spacing: .01em; }
.site-footer a { color: #a9b5c8; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-about p { font-size: .88rem; line-height: 1.65; margin: 14px 0 18px; }
.footer-logo { color: #fff; }
.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.09); padding: 20px 0 26px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem;
}
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-note { font-size: .78rem; color: #66738a; line-height: 1.6; padding-bottom: 26px; max-width: 900px; }

/* ---------- 20. Floating & Mobilbar ------------------------------------- */
.wa-float {
  position: fixed; right: 20px; bottom: 24px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center;
  box-shadow: 0 8px 26px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.07); box-shadow: 0 12px 34px rgba(37,211,102,.6); }
.wa-float svg { width: 31px; height: 31px; }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--wa); animation: ring 2.4s infinite;
}
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.55); opacity: 0; } }

.mobilebar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 9px 12px calc(9px + env(safe-area-inset-bottom));
  grid-template-columns: repeat(3, 1fr); gap: 8px;
  box-shadow: 0 -4px 20px rgba(14,20,32,.08);
}
.mobilebar a {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 8px 4px; border-radius: 11px; font-size: .72rem; font-weight: 700;
  color: var(--ink); text-decoration: none !important;
}
.mobilebar a svg { width: 21px; height: 21px; }
.mobilebar .m-wa { background: var(--wa); color: #fff; }
.mobilebar .m-tel { background: var(--ink); color: #fff; }
.mobilebar .m-mail { background: var(--primary); color: #fff; }

/* ---------- 21. Toast ---------------------------------------------------- */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 140%);
  background: var(--ink); color: #fff; padding: 14px 22px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); z-index: 200; font-size: .92rem; font-weight: 600;
  display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 40px);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), opacity .25s ease, visibility .25s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; }
.toast svg { width: 19px; height: 19px; color: var(--wa); flex: none; }

/* ---------- 22. Reveal-Animation ---------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- 23. Responsive ---------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .form-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .trustbar .wrap { grid-template-columns: 1fr 1fr; gap: 20px; }
  .feat-grid, .quotes, .contact-grid, .steps { grid-template-columns: 1fr 1fr; }
  .step-arrow { display: none; }
}

@media (max-width: 1080px) {
  .nav-links {
    position: fixed; inset: 74px 0 auto; flex-direction: column; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 20px 20px; box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .28s cubic-bezier(.2,.8,.2,1);
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 14px 8px; font-size: 1.03rem; border-bottom: 1px solid var(--bg-soft); border-radius: 0; }
  .burger { display: flex; }
  .nav .nav-cta { display: none; }
  .nav-links li.mob-cta { display: block; margin-top: 12px; }
  .nav-links li.mob-cta a { border: 0; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  html { scroll-padding-top: 82px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .idswitch { grid-template-columns: 1fr; }
  .submit-alt { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 26px; }
  .feat-grid, .quotes, .contact-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .trustbar .wrap { grid-template-columns: 1fr; }
  .topbar-list.secondary, .topbar li.secondary { display: none; }
  .hero-actions .btn { width: 100%; }
  .float-pill { right: 50%; transform: translateX(50%); bottom: -22px; white-space: nowrap; }
  .wa-float { display: none; }
  .mobilebar { display: grid; }
  body { padding-bottom: 74px; }
  .cta-actions .btn { width: 100%; }
  .toast { bottom: 92px; }
}

@media (max-width: 420px) {
  .hero-mini { grid-template-columns: 1fr; }
  .brandwall { grid-template-columns: 1fr 1fr; }
}

/* ---------- 24. Print ---------------------------------------------------- */
@media print {
  .site-header, .topbar, .mobilebar, .wa-float, .cta-band, .site-footer { display: none !important; }
  body { color: #000; }
}

/* ---------- 25. Rechtsseiten (Impressum, Datenschutz, AGB) -------------- */
.legal-page { padding: clamp(40px, 6vw, 72px) 0; }
.legal-page .wrap { max-width: 820px; }
.legal-page h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: .35em; }
.legal-page h2 { font-size: 1.3rem; margin: 2em 0 .6em; }
.legal-page h3 { font-size: 1.05rem; margin: 1.6em 0 .4em; }
.legal-page p, .legal-page li { font-size: .96rem; }
.legal-page ul { padding-left: 1.2em; }
.legal-page li { margin-bottom: .4em; }
.legal-lead { color: var(--muted); font-size: 1.04rem; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; margin-bottom: 26px; }
.legal-back svg { width: 16px; height: 16px; transform: rotate(180deg); }
.todo {
  background: #fff8ed; border: 1px solid #fbe0b6; color: #7a5314;
  border-radius: var(--radius-sm); padding: 16px 18px; font-size: .9rem; line-height: 1.6;
  margin: 0 0 28px;
}
.todo > b:first-child { color: #61410f; display: block; margin-bottom: 4px; }
.ph { background: var(--primary-soft); color: var(--primary-dark); font-weight: 700; padding: 1px 7px; border-radius: 5px; font-size: .93em; }
.legal-table { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: .93rem; }
.legal-table th, .legal-table td { text-align: left; padding: 11px 13px; border: 1px solid var(--line); vertical-align: top; }
.legal-table th { background: var(--bg-soft); color: var(--ink); font-weight: 700; width: 34%; }

/* Gemeinsame Grundlagen für Firmenseiten */
[hidden]{display:none!important}.brand-logo{width:64px;height:64px;object-fit:contain;flex-shrink:0}.logo{font-size:1.1rem;white-space:nowrap}.nav{height:88px}.hero-card>img{width:100%;aspect-ratio:4/3;object-fit:cover}.hero-card{transform:none}.hero-mini b{font-size:1.15rem}.hero .hl{color:#49bcf2}.hero-note{max-width:490px}.brandwall{grid-template-columns:repeat(3,1fr)}.quote{margin:0}.quote blockquote{margin:0}.quote .stars{font-size:24px;letter-spacing:3px;color:#aa6500}.quote-who{margin-top:22px}.store-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:52px;align-items:center}.store-grid>img{width:100%;height:auto;border-radius:18px}.cookie-settings{border:0;background:none;color:inherit;text-decoration:underline;font:inherit;cursor:pointer;padding:0}.cookie-panel{position:fixed;bottom:22px;left:22px;z-index:1500;background:white;color:#263345;width:min(460px,calc(100% - 44px));padding:24px;border:1px solid #dbe6ee;border-radius:16px;box-shadow:0 14px 65px #08172740;font-size:14px;max-height:70vh;overflow:auto}.cookie-panel h2{font-size:1.2rem}.cookie-panel p{margin-bottom:12px}.cookie-panel .btn{width:100%;margin-top:8px}.cookie-panel a{text-decoration:underline}.cookie-panel ul{padding-left:20px}.noscript-note{background:#fff4d7;padding:18px;text-align:center}.legal-page .wrap{max-width:860px}.legal-page h2{font-size:1.45rem}.legal-page .pending{border-left:4px solid #c27a13;background:#fff5df;padding:16px}.legal-page p{overflow-wrap:anywhere}.legal-footer-logo{margin-bottom:28px}.reveal{opacity:1;transform:none}
@media(max-width:1050px){.nav{gap:12px}.nav-links{gap:14px}.logo{font-size:1rem}.brand-logo{width:54px;height:54px}}
@media(max-width:700px){.store-grid{grid-template-columns:1fr;gap:26px}.brandwall{grid-template-columns:1fr}.cookie-panel{bottom:82px;left:12px;width:calc(100% - 24px)}.hero-mini b{font-size:1rem}.logo{font-size:.95rem}.brand-logo{width:48px;height:48px}.nav{height:76px}.footer-logo .brand-logo{width:72px;height:72px}.legal-page h1{font-size:2rem}}

.hero h1 .hl{color:#49bcf2}.hero-mini span{font-size:14px}.brandtile span{font-size:14px}.nav-cta{gap:8px}.nav-links{gap:15px}.hero .btn-ghost{color:#fff}.legal-page code{overflow-wrap:anywhere}
@media(min-width:1081px){.nav-cta .btn[data-link="tel"]{display:none}}
@media(max-width:1080px){.nav-links{top:88px;visibility:hidden;pointer-events:none}.nav-links.open{visibility:visible;pointer-events:auto}}
@media(max-width:700px){.nav-links{top:76px}}
