/* ==========================================================
   Pkw-Überführung Landingpage – Stylesheet
   Keine externen Schriften oder Ressourcen (DSGVO-freundlich)
   ========================================================== */

:root {
  --bg: #000;
  --surface: #0f0f10;
  --surface-2: #181819;
  --line: #2d2d30;
  --text: #fafafa;
  --muted: #b4b4ba;
  --accent: #ffb400;
  --accent-ink: #000;
  --plate: #fff;
  --radius: 14px;
  --wrap: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
}
.skip:focus { left: 8px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Typografie ---------- */

h1, h2, h3 { margin: 0; line-height: 1.08; }

h1 {
  font-size: clamp(2.35rem, 6.2vw, 4.3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--muted);
  max-width: 34em;
  margin: 22px 0 0;
}

.muted { color: var(--muted); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 700 1rem/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}

.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #ffc733; }

.btn-ghost { border-color: #fff; color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: #000; }

.btn-white { background: #fff; color: #000; }
.btn-white:hover { background: #e8e8e8; }

.btn-block { width: 100%; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, .88);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-logo { display: block; height: 34px; width: auto; flex: none; }
.site-footer .brand-logo { height: 30px; }
@media (max-width: 380px) { .brand-logo { height: 28px; } }

.nav { display: flex; align-items: center; gap: 26px; }

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: .98rem;
}
.nav a:hover { color: #fff; }

.nav a.nav-cta {
  color: var(--accent-ink);
  background: var(--accent);
  padding: 11px 20px;
  border-radius: 999px;
  font-weight: 700;
}
.nav a.nav-cta:hover { background: #ffc733; color: var(--accent-ink); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: transparent;
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #000;
    border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a.nav-cta { margin-top: 16px; text-align: center; border-bottom: 0; padding: 15px 20px; }
}

/* ---------- Hero ---------- */

.hero { padding: 72px 0 80px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 56px;
  align-items: center;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.facts {
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.facts li {
  position: relative;
  padding-left: 30px;
  font-weight: 600;
}

.facts li::before,
.checklist li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: .35em;
  width: 8px;
  height: 15px;
  border: solid var(--accent);
  border-width: 0 3px 3px 0;
  transform: rotate(40deg);
}

/* Preis als Kennzeichen */
.plate {
  background: var(--plate);
  color: #000;
  border-radius: 16px;
  padding: 10px;
}

.plate-inner {
  border: 3px solid #000;
  border-radius: 9px;
  padding: 18px 26px 20px;
  display: flex;
  flex-direction: column;
}

.plate .price {
  font-size: clamp(4.4rem, 11vw, 6.8rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.plate .unit {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 6px;
}

.offer-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: .98rem;
}

.route { width: 100%; height: auto; margin-top: 28px; overflow: visible; }

.route-line {
  fill: none;
  stroke: var(--accent);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.8s .3s ease-out forwards;
}

.route-dot { fill: #fff; stroke: var(--accent); stroke-width: 3; }
.route-label { fill: var(--muted); font: 600 13px var(--font); }

@keyframes draw { to { stroke-dashoffset: 0; } }

.roadline {
  height: 4px;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 36px, transparent 36px 72px);
}

@media (max-width: 880px) {
  .hero { padding: 48px 0 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
}

/* ---------- Sektionen ---------- */

.section { padding: 92px 0; }
.section + .section { border-top: 1px solid var(--line); }

.section-head { max-width: 700px; margin-bottom: 46px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

@media (max-width: 880px) {
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
}

/* Eigene Achse */
.split {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 56px;
  align-items: start;
}

.split .section-head { margin-bottom: 0; }
.split .section-head p + p { margin-top: 1em; }

.table-wrap { overflow-x: auto; }

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: .98rem;
  min-width: 520px;
}

.compare th,
.compare td {
  text-align: left;
  vertical-align: top;
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
}

.compare thead th {
  font-size: 1.05rem;
  border-bottom: 2px solid #fff;
}

.compare thead th.hl { color: var(--accent); }
.compare tbody th { color: var(--muted); font-weight: 600; width: 22%; }
.compare td { width: 39%; }

@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
}

/* Leistungen als Zeilenliste */
.rows { border-top: 1px solid var(--line); }

.row {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr);
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.row h3 { font-size: 1.35rem; }
.row p { margin: 0; color: var(--muted); }

@media (max-width: 700px) {
  .row { grid-template-columns: 1fr; gap: 8px; }
}

/* Angebot */
.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
}

.panel.is-accent { border-color: var(--accent); }
.panel h3 { margin-bottom: 18px; font-size: 1.3rem; }

.checklist,
.pluslist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }

.checklist li,
.pluslist li { position: relative; padding-left: 30px; }

.pluslist li::before {
  content: "+";
  position: absolute;
  left: 4px;
  top: -.05em;
  color: var(--accent);
  font-weight: 800;
  font-size: 1.3em;
  line-height: 1.4;
}

.panel .fineprint { margin: 20px 0 0; color: var(--muted); font-size: .95rem; }

.offer-cta {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
  color: #000;
  border-radius: 18px;
  padding: 26px 30px;
}

.offer-cta p { margin: 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.02em; }
.offer-cta .btn { background: #000; color: #fff; }
.offer-cta .btn:hover { background: #222; }

@media (max-width: 880px) {
  .offer-grid { grid-template-columns: 1fr; }
  .panel { padding: 24px; }
}

/* Ablauf */
.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.steps li {
  counter-increment: step;
  border-top: 2px solid #fff;
  padding-top: 18px;
}

.steps li::before {
  content: counter(step);
  display: block;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.steps h3 { margin-bottom: 8px; }
.steps p { margin: 0; color: var(--muted); font-size: .98rem; }

@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Für wen */
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }

.pills li {
  border: 1px solid #fff;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
}

/* FAQ */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 44px 22px 0;
  font-weight: 700;
  font-size: 1.1rem;
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--accent);
}

.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: 0; padding: 0 44px 24px 0; color: var(--muted); }

/* Kontakt */
.contact {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.contact-links { display: grid; gap: 12px; margin-top: 34px; }

.contact-link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .15s;
}

.contact-link:hover { border-color: var(--accent); }
.contact-link small { color: var(--muted); font-size: .88rem; }
.contact-link strong { font-size: 1.2rem; letter-spacing: -0.01em; }

.form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px;
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }

.form label,
.form legend {
  display: block;
  font-weight: 600;
  font-size: .93rem;
  margin-bottom: 7px;
  padding: 0;
}

.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form input[type="date"],
.form select,
.form textarea {
  width: 100%;
  background: #000;
  color: #fff;
  border: 1px solid #55555a;
  border-radius: 10px;
  padding: 13px 14px;
  font: inherit;
  color-scheme: dark;
}

.form textarea { min-height: 110px; resize: vertical; }

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 3px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.checks { display: flex; flex-wrap: wrap; gap: 10px 22px; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400 !important;
  font-size: .98rem !important;
  margin: 0 !important;
}

.check input {
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  accent-color: var(--accent);
  flex: none;
}

.form-hint { color: var(--muted); font-size: .9rem; margin: 16px 0 0; }
.form-status { margin: 14px 0 0; font-weight: 600; min-height: 1.4em; }
.form a, .legal a { color: var(--accent); }

@media (max-width: 880px) {
  .contact { grid-template-columns: 1fr; gap: 36px; }
  .form { padding: 22px; }
}

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 44px 0 56px; }

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.footer-grid p { margin: 6px 0 0; color: var(--muted); font-size: .95rem; max-width: 30em; }

.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }

.footer-links a,
.footer-links button {
  color: var(--muted);
  font: inherit;
  font-size: .98rem;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links a:hover,
.footer-links button:hover { color: #fff; }

/* ---------- Rechtstexte / 404 ---------- */

.legal { padding: 64px 0 96px; max-width: 780px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 28px; }
.legal h2 { font-size: 1.4rem; margin: 40px 0 12px; letter-spacing: -0.02em; }
.legal h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.legal p, .legal li { color: #e3e3e6; }
.legal ul { padding-left: 1.2em; }
.legal .note {
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--text);
  margin-bottom: 32px;
}

.center-page { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 64px 20px; }
.center-page h1 { margin-bottom: 16px; }
.center-page p { color: var(--muted); margin-bottom: 28px; }

/* ---------- Cookie-Banner ---------- */

.cc {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border: 2px solid #fff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .9);
}

.cc[hidden] { display: none; }
.cc h2 { font-size: 1.15rem; letter-spacing: -0.01em; margin-bottom: 8px; }
.cc p { margin: 0 0 18px; color: var(--muted); font-size: .96rem; }
.cc p a { color: #fff; }
.cc-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cc-actions .btn { flex: 1 1 180px; min-height: 48px; }

/* ---------- Bewegung reduzieren ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  .route-line { stroke-dashoffset: 0 !important; }
}
