/* E-CarLa – Styles Landingpage
   Erstellt: 13.11.2026 · Geändert: 14.11.2026 (Startansicht mit Vorteilen)
   Ohne externe Ressourcen (keine Google Fonts, kein CDN) – robust und DSGVO-freundlich. */

:root {
  --bg: #f7f9fc;
  --bg-tint: #eef3f9;
  --surface: #ffffff;
  --text: #0f1b2d;
  --muted: #55637a;
  --line: #dde4ee;
  --brand: #0e7c6b;
  --brand-dark: #095c50;
  --brand-soft: #e1f3ef;
  --accent: #2f6bff;
  --accent-soft: #e6edff;
  --danger: #b4332a;
  --danger-soft: #fbeae8;
  --ok: #17794a;
  --ok-soft: #e3f4ea;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 27, 45, .05), 0 14px 36px rgba(15, 27, 45, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --hero-grad: radial-gradient(1200px 500px at 85% -10%, rgba(47, 107, 255, .14), transparent 60%),
               radial-gradient(900px 480px at -10% 20%, rgba(14, 124, 107, .14), transparent 60%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1320;
    --bg-tint: #101b2c;
    --surface: #132136;
    --text: #e8eef7;
    --muted: #a3b1c6;
    --line: #22324a;
    --brand: #3cc4ac;
    --brand-dark: #2aa891;
    --brand-soft: rgba(60, 196, 172, .12);
    --accent: #7ea2ff;
    --accent-soft: rgba(126, 162, 255, .12);
    --danger: #ff8a80;
    --danger-soft: rgba(255, 138, 128, .12);
    --ok: #6fd59e;
    --ok-soft: rgba(111, 213, 158, .12);
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 14px 36px rgba(0, 0, 0, .35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 760; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 760px; }
.section { padding: 88px 0; }
.section--tint { background: var(--bg-tint); }
.section__head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section__head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--brand); margin-bottom: 12px;
}
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 100; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  font-family: inherit;
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(14, 124, 107, .25); }
.btn--primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); }
.btn--small { padding: 10px 18px; font-size: .92rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--text); text-decoration: none; }
.logo__mark {
  width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff;
}
.logo__tag { font-size: .66rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--text); }
@media (max-width: 860px) { .nav { display: none; } }

/* Hero */
.hero { position: relative; padding: 96px 0 80px; background: var(--hero-grad); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.hero__lead { font-size: 1.2rem; color: var(--muted); max-width: 600px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero__checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .95rem; }
.hero__checks li { display: flex; align-items: center; gap: 8px; }
.hero__checks svg { color: var(--brand); flex: none; }
.hero__card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 26px;
}
.hero__card h3 { font-size: 1rem; color: var(--muted); font-weight: 600; margin-bottom: 18px; }
.flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.flow li {
  display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center;
  padding: 12px 14px; border-radius: 12px; background: var(--bg-tint);
}
.flow__icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.flow strong { display: block; font-size: .98rem; }
.flow span { font-size: .86rem; color: var(--muted); }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } .hero { padding-top: 64px; } }

/* Trust */
.trust { padding: 30px 0; border-bottom: 1px solid var(--line); }
.trust__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; }
.trust__item {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; color: var(--muted);
}
.trust__item svg { color: var(--brand); }

/* Grid Vorteile */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__icon {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--brand-soft); color: var(--brand);
}
.card--accent .card__icon { background: var(--accent-soft); color: var(--accent); }
.card p { color: var(--muted); margin: 0; }

/* Schritte */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 26px; }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; font-weight: 800; margin-bottom: 16px;
}
.step p { color: var(--muted); margin: 0; }
.note { margin-top: 32px; text-align: center; color: var(--muted); font-size: .95rem; }

/* Rechtsrahmen */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr; } }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.fact h3 { display: flex; gap: 10px; align-items: center; }
.fact p, .fact li { color: var(--muted); }
.fact ul { margin: 0; padding-left: 20px; }
.disclaimer { font-size: .85rem; color: var(--muted); margin-top: 22px; text-align: center; }

/* Formular */
.form-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
@media (max-width: 960px) { .form-wrap { grid-template-columns: 1fr; } }
.form-aside ul { padding-left: 20px; color: var(--muted); }
.form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 30px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } .form { padding: 22px; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-weight: 600; font-size: .93rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); background: var(--bg);
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.field__error { color: var(--danger); font-size: .85rem; min-height: 0; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .92rem; color: var(--muted); margin-bottom: 18px; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--brand); }
.check.is-invalid { color: var(--danger); }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .95rem; display: none; }
.form__status.is-ok { display: block; background: var(--ok-soft); color: var(--ok); }
.form__status.is-error { display: block; background: var(--danger-soft); color: var(--danger); }
.form__hint { font-size: .82rem; color: var(--muted); margin-top: 12px; }

/* CTA-Band */
.cta-band {
  border-radius: 24px; padding: 48px; text-align: center; color: #fff;
  background: linear-gradient(135deg, var(--brand-dark), #1d4fd8);
}
.cta-band p { opacity: .9; max-width: 640px; margin: 0 auto 24px; }
.cta-band .btn--primary { background: #fff; color: #0f1b2d; box-shadow: none; }

/* Footer */
.footer { padding: 48px 0 32px; border-top: 1px solid var(--line); color: var(--muted); font-size: .92rem; }
.footer__grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--text); text-decoration: underline; }
.footer__links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__bottom { margin-top: 28px; font-size: .84rem; }

/* Rechtstexte */
.legal { padding: 56px 0 80px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.25rem; margin-top: 1.8em; }
.legal p, .legal li { color: var(--muted); }
.legal__back { display: inline-block; margin-bottom: 24px; text-decoration: none; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
}

/* Kopfzeile auf schmalen Displays (13.11.2026) */
.header .btn { white-space: nowrap; }
@media (max-width: 480px) {
  .logo__tag { display: none; }
  .header .btn--small { padding: 9px 14px; font-size: .86rem; }
}

/* Optionen-Checkboxen im Formular (13.11.2026) */
fieldset.options { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
fieldset.options legend { font-weight: 600; font-size: .93rem; margin-bottom: 8px; padding: 0; }
fieldset.options .check { margin-bottom: 8px; color: var(--text); }

/* Logo-Schriftzug E-CarLa (13.11.2026) */
.logo__text { letter-spacing: -.01em; }
.logo__accent { color: var(--brand); }

/* Breite Faktenkarte (14.11.2026) */
.fact--wide { grid-column: 1 / -1; }

/* Startansicht: Marke + Vorteile ohne Scrollen sichtbar (14.11.2026) */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hero { padding: 40px 0 44px; }
.hero__intro { max-width: 860px; }
.brand-line { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 10px; }
.brand { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 850; letter-spacing: -.03em; line-height: 1; color: var(--text); }
.brand-sub { font-size: 1rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.hero h1 { font-size: clamp(1.45rem, 3vw, 2.1rem); font-weight: 760; margin-bottom: .35em; }
.hero__lead { font-size: 1.08rem; margin-bottom: 0; }
.benefits { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.benefit {
  display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
  box-shadow: 0 1px 2px rgba(15, 27, 45, .04);
}
.benefit__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.benefit strong { display: block; font-size: 1rem; line-height: 1.25; }
.benefit span { display: block; font-size: .86rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.hero__actions { margin: 22px 0 0; }
@media (max-width: 960px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .hero { padding: 24px 0 32px; }
  .benefits { grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
  .benefit { grid-template-columns: 1fr; gap: 6px; padding: 10px; align-items: start; }
  .benefit__icon { width: 34px; height: 34px; border-radius: 10px; }
  .benefit strong { font-size: .9rem; }
  .benefit span { font-size: .78rem; }
  .hero__lead { font-size: 1rem; }
}

/* Handy: Vorteile kompakt, damit alle 6 und der Button ohne Scrollen sichtbar sind (14.11.2026) */
@media (max-width: 620px) {
  .brand { font-size: 2.3rem; }
  .brand-sub { font-size: .8rem; }
  .hero h1 { font-size: 1.3rem; }
  .hero__lead { font-size: .95rem; line-height: 1.5; }
  .benefit { grid-template-columns: 30px 1fr; gap: 8px; padding: 9px 10px; align-items: center; align-content: center; }
  .benefit__icon { width: 30px; height: 30px; border-radius: 8px; }
  .benefit__icon svg { width: 18px; height: 18px; }
  .benefit strong { font-size: .84rem; line-height: 1.25; }
  .benefit div span { display: none; }
  .hero__lead { display: none; }
  .hero__actions { margin-top: 16px; }
  .hero__actions .btn { padding: 12px 20px; }
}

/* Schmale Handys: Spalten nicht überlaufen lassen (14.11.2026) */
.benefits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.benefit div { min-width: 0; }
.benefit strong { overflow-wrap: break-word; }
@media (max-width: 960px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) {
  .benefits { gap: 6px; }
  .benefit { grid-template-columns: 24px 1fr; gap: 7px; padding: 8px; }
  .benefit__icon { width: 24px; height: 24px; border-radius: 7px; }
  .benefit__icon svg { width: 15px; height: 15px; }
  .benefit strong { font-size: .76rem; }
}

/* Anfrageformular – professionelle Gestaltung (14.11.2026) */
.form-wrap { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; }
.form-aside { position: sticky; top: 100px; }
.form-aside h2 { margin-bottom: 12px; }
.form-aside > p { color: var(--muted); font-size: 1.05rem; }
.form-aside .checklist { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.form-aside .checklist li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; color: var(--text); }
.form-aside .checklist svg { color: var(--brand); margin-top: 3px; }
.form-aside .contact-line { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.form { padding: 32px; }
.form__title { font-size: 1.2rem; margin: 0 0 4px; }
.form__intro { color: var(--muted); font-size: .92rem; margin: 0 0 22px; }
.form__row { gap: 16px; }
.field { margin-bottom: 18px; }
.field label, .field legend { font-size: .9rem; font-weight: 600; color: var(--text); }
.field__error:empty { display: none; }
.req { color: var(--danger); font-weight: 700; margin-left: 2px; }
fieldset.options { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
fieldset.options legend { padding: 0; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; margin: 0; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg);
  font-size: .95rem; font-weight: 600; color: var(--text); transition: border-color .15s, background .15s;
}
.chip:hover span { border-color: var(--brand); }
.chip input:checked + span { background: var(--brand-soft); border-color: var(--brand); color: var(--brand-dark); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.field textarea { min-height: 110px; }
.form .check { font-size: .88rem; line-height: 1.5; margin: 4px 0 22px; }
.form__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form__actions .form__hint { margin: 0; font-size: .82rem; color: var(--muted); }
.form__status { margin-top: 16px; }
@media (max-width: 960px) {
  .form-wrap { grid-template-columns: 1fr; gap: 28px; }
  .form-aside { position: static; }
}
@media (max-width: 620px) {
  .form { padding: 22px 18px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .field input, .field textarea { font-size: 16px; }
  .form__actions .btn { width: 100%; }
}
.chip span { padding: 0 14px; }
/* Unterseiten: Kopf- und Fußbereich wie Startseite (14.11.2026) */
.legal { padding: 48px 0 72px; }
.legal .container--narrow { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 44px; }
.legal h1 { margin-bottom: .6em; }
.legal h2 { color: var(--text); }
@media (max-width: 620px) { .legal { padding: 20px 0 40px; } .legal .container--narrow { padding: 24px 18px; border-radius: 14px; } }
