/* ==========================================================================
   LM Reifenservice & mehr — Entwurf
   Ein Stylesheet, keine externen Abhängigkeiten, keine Webfonts.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
  --bg: #0e1116;
  --bg-deep: #0a0d11;
  --surface: #14181f;
  --surface-2: #171c24;
  --surface-3: #1b212a;
  --line: #262d37;
  --line-strong: #333c49;
  --text: #f2f4f7;
  --muted: #8a93a0;
  --accent: #C81A00;
  --accent-soft: rgba(200, 26, 0, 0.08);
  --accent-line: rgba(200, 26, 0, 0.35);
  --on-accent: #ffffff;

  --light: #f7f7f5;
  --light-line: #deded8;
  --ink: #0e1116;
  --ink-muted: #56606d;

  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 40px);
  --radius: 4px;
  --radius-lg: 6px;
  --section-y: clamp(56px, 8vw, 104px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg { max-width: 100%; }

img { height: auto; }

button,
input,
select,
textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.15rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.12rem, 1.8vw, 1.32rem); line-height: 1.25; letter-spacing: -0.012em; }
h4 { font-size: 1rem; line-height: 1.3; }

p { margin: 0; }

ul, ol { margin: 0; padding: 0; }

a { color: inherit; }

::selection { background: var(--accent); color: var(--on-accent); }

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


.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.section--tight { padding-block: clamp(40px, 5vw, 64px); }

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

.section--light {
  background: var(--light);
  color: var(--ink);
  border-top: 0;
}

.section--light + .section { border-top: 0; }

.section--panel {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
  transition: top 0.15s var(--ease);
}

.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--accent);
  flex: none;
}

.section--light .eyebrow { color: #a51400; }

.lead {
  margin-top: 20px;
  max-width: 62ch;
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  line-height: 1.6;
  color: var(--muted);
}

.section--light .lead { color: var(--ink-muted); }

.section-head { max-width: 780px; }

.section-head--split {
  max-width: none;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.section-head--split > div { max-width: 680px; }

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

.small { font-size: 0.86rem; line-height: 1.6; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.18s var(--ease), border-color 0.18s var(--ease),
    color 0.18s var(--ease), transform 0.18s var(--ease);
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
}

.btn--primary:hover { background: #A51400; border-color: #A51400; }

.btn--secondary {
  border-color: rgba(242, 244, 247, 0.24);
  color: var(--text);
}

.btn--secondary:hover {
  border-color: var(--accent);
  color: #ffffff;
  background: rgba(200, 26, 0, 0.1);
}

.btn--ghost {
  padding-inline: 6px;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
}

.btn--ghost .btn-arrow { transition: transform 0.18s var(--ease); }

.btn--ghost:hover {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.btn--ghost:hover .btn-arrow { transform: translateX(4px); }

.btn--block { width: 100%; }

.btn--sm { min-height: 44px; padding: 0 18px; font-size: 0.88rem; }

.btn--dark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--light);
}

.btn--dark:hover { background: #1c232c; border-color: #1c232c; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

/* --- Header ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 17, 22, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: none;
}

.brand img { display: block; width: auto; height: 44px; }

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

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

.nav a {
  position: relative;
  padding: 6px 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s var(--ease);
}

.nav a:hover { color: var(--text); }

.nav a[aria-current="page"] { color: var(--text); }

.nav .btn {
  color: var(--on-accent);
  font-size: 0.88rem;
}

.nav .btn:hover { color: var(--on-accent); }

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--accent);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  margin-left: -10px;
  background: var(--text);
  content: "";
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}

.nav-toggle span { top: 22px; }
.nav-toggle span::before { top: -6px; left: 0; margin: 0; }
.nav-toggle span::after { top: 6px; left: 0; margin: 0; }

.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(44px, 6vw, 84px) clamp(48px, 7vw, 88px);
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 780px;
  height: 780px;
  background: radial-gradient(circle at center, rgba(200, 26, 0, 0.09), rgba(200, 26, 0, 0) 62%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-tag::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 26, 0, 0.18);
}

.hero h1 { max-width: 17ch; }

.hero h1 .accent { color: var(--accent); }

.hero-copy {
  margin-top: 26px;
  max-width: 52ch;
  font-size: clamp(1.02rem, 1.5vw, 1.14rem);
  color: var(--muted);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: 0.88rem;
  color: var(--muted);
}

.hero-facts li { display: flex; align-items: center; gap: 9px; }

.hero-facts li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--accent);
  flex: none;
}

.hero-figure {
  display: block;
  width: 100%;
  max-width: 420px;
  margin-inline: auto;
}

.hero-figure .ring-turn { transform-origin: 210px 210px; animation: turn 64s linear infinite; }

@keyframes turn { to { transform: rotate(360deg); } }

/* --- Cards -------------------------------------------------------------- */
.grid {
  display: grid;
  gap: 16px;
  margin-top: clamp(28px, 4vw, 48px);
}

.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 24px 24px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: border-color 0.18s var(--ease), background-color 0.18s var(--ease),
    transform 0.18s var(--ease);
}

a.card:hover {
  border-color: var(--line-strong);
  background: var(--surface-3);
  transform: translateY(-2px);
}

a.card:hover .card-more { color: var(--accent); }

a.card:hover .card-more svg { transform: translateX(3px); }

.card-index {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.card h3 { color: var(--text); }

.card p { font-size: 0.94rem; color: var(--muted); }

.card-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.18s var(--ease);
}

.card-more svg { transition: transform 0.18s var(--ease); }

.card--cta {
  border-style: dashed;
  background: transparent;
}

.card--cta:hover { background: var(--surface-2); }

@media (min-width: 901px) {
  .grid--3 > .card--cta { grid-column: span 2; }
}

/* --- Process (light) ---------------------------------------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(30px, 4vw, 52px);
  list-style: none;
  border-top: 1px solid var(--light-line);
}

.process li {
  padding: 26px 26px 0 0;
  border-right: 1px solid var(--light-line);
}

.process li:last-child { border-right: 0; padding-right: 0; }

.process li + li { padding-left: 26px; }

.process-num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: #8a6400;
}

.process h3 { margin-bottom: 8px; color: var(--ink); }

.process p { font-size: 0.92rem; color: var(--ink-muted); line-height: 1.55; }

/* --- Contact block ------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 0;
  margin-top: 30px;
  list-style: none;
  border-top: 1px solid var(--line);
}

.contact-list li {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.contact-list dt,
.contact-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-value { font-size: 1.02rem; }

.contact-value a { text-decoration: none; border-bottom: 1px solid var(--line-strong); }

.contact-value a:hover { border-color: var(--accent); }

.map-card {
  position: relative;
  display: block;
  padding: 30px;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(200, 26, 0, 0.06), rgba(200, 26, 0, 0) 55%),
    var(--surface-2);
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.18s var(--ease);
}

.map-card:hover { border-color: var(--accent-line); }

.map-card h3 { margin-bottom: 8px; }

.map-card .map-line {
  display: block;
  height: 1px;
  margin: 22px 0;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 16px);
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--accent);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}

.map-grid {
  position: absolute;
  inset: auto 0 0 auto;
  width: 190px;
  height: 190px;
  opacity: 0.5;
  pointer-events: none;
}

/* --- Page header (subpages) --------------------------------------------- */
.page-head {
  padding-block: clamp(48px, 6vw, 84px) clamp(32px, 4vw, 52px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg) 100%);
}

.page-head h1 { max-width: 20ch; }

.page-head .lead { max-width: 58ch; }

.breadcrumb {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  font-size: 0.78rem;
  color: var(--muted);
  list-style: none;
}

.breadcrumb li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }

.breadcrumb a { text-decoration: none; }

.breadcrumb a:hover { color: var(--text); border-bottom: 1px solid var(--accent); }

/* --- Service detail ----------------------------------------------------- */
.service {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(20px, 4vw, 56px);
  padding-block: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}

.service:first-of-type { border-top: 0; padding-top: 0; }

.service-head { display: flex; gap: 16px; align-items: baseline; }

.service-index {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 2px;
  background: var(--accent);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.service h2 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); letter-spacing: -0.015em; }

.service-body p { color: var(--muted); max-width: 68ch; }

.service-body p + p { margin-top: 12px; }

/* --- Notes / hints ------------------------------------------------------ */
.note {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--accent-soft);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
}

.note strong { color: #ffffff; }

.note--quiet {
  border-left-color: var(--line-strong);
  background: var(--surface-2);
}

.note--quiet strong { color: var(--text); }

.note p + p { margin-top: 6px; }

.section--light .note {
  background: #fbf1ef;
  border-color: #eed6d1;
  border-left-color: #c81a00;
  color: #3b2320;
}

.section--light .note strong { color: #a51400; }

/* --- Legal pages -------------------------------------------------------- */
.prose { max-width: 780px; }

.process + .note,
.note + .prose { margin-top: 34px; }

.contact-list + .note { margin-top: 28px; }

.prose > * + * { margin-top: 18px; }

.prose h2 {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  letter-spacing: -0.012em;
}

.prose h3 { margin-top: 28px; }

.prose p, .prose li { color: #c9cfd8; font-size: 0.98rem; }

.prose ul, .prose ol { padding-left: 20px; }

.prose li + li { margin-top: 7px; }

.prose dl {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 10px 20px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}

.prose dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}

.prose dd { margin: 0; font-size: 0.98rem; }

.prose a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}

.prose a:hover { border-bottom-width: 2px; }

.placeholder {
  padding: 18px 20px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.94rem;
  background: rgba(255, 255, 255, 0.015);
}

.badge-draft {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: rgba(200, 26, 0, 0.12);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffff;
}

/* --- Forms -------------------------------------------------------------- */
.form-card {
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.field { display: grid; gap: 8px; margin-bottom: 22px; }

.field:last-child { margin-bottom: 0; }

.field > label,
.field-legend {
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}

.field .req { color: var(--accent); margin-left: 3px; }

.field-hint { font-size: 0.8rem; color: var(--muted); }

.input,
.select,
.textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #10141a;
  color: var(--text);
  font-size: 0.98rem;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}

.textarea { min-height: 130px; resize: vertical; line-height: 1.55; }

.input::placeholder, .textarea::placeholder { color: #5f6874; }

.input:hover, .select:hover, .textarea:hover { border-color: #414b59; }

.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 26, 0, 0.16);
}

.input[aria-invalid="true"],
.textarea[aria-invalid="true"] { border-color: #e2604f; }

.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 24px, calc(100% - 14px) 24px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 42px;
}

.field-error {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #ff8d7e;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}


fieldset {
  margin: 0 0 26px;
  padding: 0;
  border: 0;
  min-width: 0;
}

fieldset:last-of-type { margin-bottom: 0; }

legend { padding: 0; }

.choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.choice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #10141a;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}

.choice:hover { border-color: #47515f; }

.choice input {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: none;
  border: 1.5px solid #5b6572;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.choice input:checked {
  border-color: var(--accent);
  background-image: radial-gradient(circle, var(--accent) 0 4px, transparent 4.5px);
}

.choice input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.choice-text { display: grid; gap: 2px; }

.choice-title { font-size: 0.94rem; font-weight: 600; }

.choice-desc { font-size: 0.8rem; color: var(--muted); }

.choice:has(input:checked) {
  border-color: var(--accent);
  background: rgba(200, 26, 0, 0.06);
}

.choice:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.slot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #10141a;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  cursor: pointer;
  transition: border-color 0.15s var(--ease), background-color 0.15s var(--ease);
}

.slot:hover { border-color: #47515f; }

.slot:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
}

.slot input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.slot:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }

.checkbox {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #10141a;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--muted);
  cursor: pointer;
}

.checkbox input {
  position: absolute;
  top: 17px;
  left: 16px;
  width: 20px;
  height: 20px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.checkbox-box {
  position: relative;
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 1px;
  border: 1.5px solid #5b6572;
  border-radius: 3px;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.checkbox input:checked + .checkbox-box {
  border-color: var(--accent);
  background: var(--accent);
}

.checkbox input:checked + .checkbox-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid var(--on-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox input:focus-visible + .checkbox-box {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.checkbox a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

.checkbox:has(input[aria-invalid="true"]) { border-color: #e2604f; }

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
}

.form-foot .btn { flex: 1 1 auto; }

.form-note { font-size: 0.8rem; color: var(--muted); }

/* --- Stepper ------------------------------------------------------------ */
.stepper { margin-bottom: clamp(26px, 4vw, 40px); }

.stepper ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  counter-reset: step;
}

.stepper li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 2px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.stepper .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}

.stepper li.is-active { border-top-color: var(--accent); color: var(--text); }

.stepper li.is-active .step-num {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
}

.stepper li.is-done { border-top-color: var(--accent-line); color: var(--text); }

.stepper li.is-done .step-num { border-color: var(--accent); color: var(--text); }

.step { display: none; }

.step.is-active { display: block; animation: fade 0.25s var(--ease); }

@keyframes fade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.step h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); letter-spacing: -0.015em; }

.step .form-note { margin-top: 16px; }

.step-intro { margin-top: 10px; margin-bottom: 28px; font-size: 0.94rem; color: var(--muted); max-width: 60ch; }

.step-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.step-nav .btn { min-width: 150px; }

.step-nav-start { margin-right: auto; }

/* --- Draft result ------------------------------------------------------- */
.draft-result {
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--accent-line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(200, 26, 0, 0.08), rgba(200, 26, 0, 0.02));
}

.draft-result h2 { margin-bottom: 14px; }

.draft-result p { color: #d3d8df; max-width: 62ch; }

.draft-result p + p { margin-top: 12px; }

.draft-result .btn-row { margin-top: 26px; }

.draft-result a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.draft-result .badge-draft { margin-bottom: 18px; }

.stack > * + * { margin-top: 26px; }

.form-intro { margin-bottom: 26px; }

/* --- Aside / trust strip ------------------------------------------------ */
/* --- Footer ------------------------------------------------------------- */
.site-footer {
  padding-top: clamp(44px, 6vw, 72px);
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 44px;
}

.footer-brand img { width: 230px; height: auto; display: block; }

.footer-brand p {
  margin-top: 18px;
  max-width: 30ch;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-title {
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-list { display: grid; gap: 9px; list-style: none; }

.footer-list a {
  color: #c9cfd8;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-list a:hover { color: #ffffff; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

.footer-contact { display: grid; gap: 10px; color: #c9cfd8; font-size: 0.9rem; }

.footer-contact a { text-decoration: none; }

.footer-contact a:hover { color: #ffffff; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: #6f7885;
}

.footer-bottom .draft-note { display: flex; align-items: center; gap: 8px; }

.footer-bottom .draft-note::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.8;
}

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .service { grid-template-columns: 190px minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-figure { max-width: 260px; margin-inline: 0; }
  .hero h1 { max-width: 18ch; }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process li { padding: 24px 24px 0 0; }
  .process li:nth-child(2n) { border-right: 0; padding-right: 0; }
  .process li:nth-child(n + 3) { margin-top: 24px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .service { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 24px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.4);
  }
  .nav.is-open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a {
    padding: 15px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: #ffffff; }
  .nav .btn { margin-top: 18px; width: 100%; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid--3 { grid-template-columns: minmax(0, 1fr); }
  .process { grid-template-columns: minmax(0, 1fr); }
  .process li { padding: 20px 0 0; border-right: 0; border-bottom: 1px solid var(--light-line); padding-bottom: 20px; }
  .process li + li { padding-left: 0; margin-top: 0; }
  .process li:last-child { border-bottom: 0; }
  .choices, .choices--3 { grid-template-columns: minmax(0, 1fr); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .slot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .prose dl { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .prose dd { margin-bottom: 10px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .btn-row .btn { width: 100%; }
  .step-nav { flex-direction: column-reverse; align-items: stretch; }
  .step-nav .btn { width: 100%; }
  .step-nav-start { margin-right: 0; }
  .stepper li { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 0.7rem; }
  .step-label { display: none; }
  .brand img { height: 38px; }
  .hero-facts { flex-direction: column; gap: 8px; }
  .hero-figure { display: none; }
  .map-card { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero-figure .ring-turn { animation: none; }
}

/* --- Print -------------------------------------------------------------- */
@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .btn, .stepper, .draft-result, .nav-toggle { display: none !important; }
  .step { display: block !important; }
  a { color: #000; }
}
/* Datumsfelder: auf dem Handy darf nichts überlappen */
input[type="date"]{min-height:52px;line-height:1.35;padding:14px;width:100%;
  -webkit-appearance:none;appearance:none;box-sizing:border-box}
input[type="date"]::-webkit-date-and-time-value{text-align:left;margin:0}
input[type="date"]::-webkit-calendar-picker-indicator{margin-left:0;opacity:.7}
.field label{display:block}
