/* Schriften lokal (schneller, DSGVO-freundlich) */
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin.woff2") format("woff2"); font-weight: 400 800; font-stretch: 62% 125%; font-display: swap; }

/* Music KFZ-Werkstatt – Design-System
   Farben, Schrift und Abstände zentral hier ändern. */
:root {
  /* hell wie autofitbonn.de, Markenfarbe Anthrazit aus dem Logo, Rot nur als Akzent */
  --bg: #eef0f2;
  --surface: #ffffff;
  --ink: #1f2326;
  --muted: #5b636b;
  --line: #d5dae0;
  --dark: #2e3338;
  --dark-2: #3b4246;
  --on-dark: #f4f5f6;
  --on-dark-muted: #b3bac1;
  --brand: #3b4246;
  --brand-hover: #262b2f;
  --brand-soft: #e2e5e8;
  --accent: #5c6b78;
  --accent-ink: #ffffff;
  --accent-hover: #46525d;
  --star: #f5b301;
  --radius-lg: 16px;

  --font-head: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 10px;
  --section: clamp(72px, 10vw, 128px);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
picture { display: contents; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-stretch: 100%;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(40px, 5.6vw, 76px); }
h2 { font-size: clamp(30px, 4vw, 52px); }
h3 { font-size: 22px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 13px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-hover); margin-bottom: 20px;
}
.on-dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #c3ccd4; }
.checker-result .muted { color: var(--muted); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 60ch; }
.accent { color: var(--accent); }

/* Skip-Link */
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: #fff; padding: 12px 18px; border-radius: var(--radius); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: var(--radius);
  font: 600 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: transform .15s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn { font-weight: 700; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); }
.on-dark .btn-primary, .aside-card .btn-primary, .address-card .btn-primary { background: #fff; color: var(--ink); }
.on-dark .btn-primary:hover, .aside-card .btn-primary:hover, .address-card .btn-primary:hover { background: var(--brand-soft); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.on-dark .btn-ghost:hover { background: var(--on-dark); color: var(--dark); border-color: var(--on-dark); }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .25s ease; padding-bottom: 2px; }
.link-arrow:hover { background-size: 100% 2px; }
.link-arrow::after { content: "→"; transition: transform .2s ease; }
.link-arrow:hover::after { transform: translateX(4px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(238,240,242,.82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  color: var(--ink); border-bottom: 1px solid rgba(31,35,38,.08);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.logo-img { height: 54px; width: auto; }
.logo-word { display: flex; flex-direction: column; line-height: 1; }
.logo-word strong { font: 800 19px/1 var(--font-head); letter-spacing: -0.01em; }
.logo-word span { font-size: 12px; color: var(--muted); margin-top: 4px; font-weight: 500; }
.site-footer .logo-img { height: 96px; }
.logo-mark { width: 40px; height: 40px; border-radius: var(--radius); background: var(--accent); display: grid; place-items: center; font: 800 22px/1 var(--font-head); color: #fff; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font: 800 22px/1 var(--font-head); text-transform: uppercase; letter-spacing: .02em; }
.logo-text span { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ink); opacity: .78; transition: opacity .2s, background-color .2s; }
.nav a:hover { opacity: 1; background: rgba(31,35,38,.06); }
.header-cta { min-height: 44px; padding: 0 18px; font-size: 15px; }
.menu-toggle { display: none; background: none; border: 0; color: inherit; width: 48px; height: 48px; cursor: pointer; border-radius: var(--radius); }
.menu-toggle svg { width: 28px; height: 28px; }

/* Hero */
.hero { background: var(--bg); color: var(--ink); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 85% 30%, #ffffff 0%, rgba(255,255,255,0) 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 64px); align-items: center; min-height: calc(100svh - var(--header-h)); max-height: 960px; padding: clamp(28px, 4vw, 56px) 0; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.hero h1 { color: var(--ink); }
.hero .lead { color: var(--muted); margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px; }
.hero-facts { display: grid; grid-template-columns: repeat(3, auto); gap: 16px 36px; justify-content: start; border-top: 1px solid var(--line); padding-top: 24px; }
.hero-facts dt { font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 500; }
.hero-facts dd { margin: 0; font-weight: 700; font-size: 16px; white-space: nowrap; }
.hero-media { position: relative; align-self: stretch; min-height: 520px; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(31,35,38,.45); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.35) 100%); }
.hero-stamp { position: absolute; z-index: 2; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); width: clamp(120px, 11vw, 168px); filter: drop-shadow(0 12px 24px rgba(0,0,0,.35)); }
.rating-badge {
  position: absolute; z-index: 2; left: clamp(16px, 3vw, 40px); top: clamp(16px, 3vw, 40px);
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px); color: var(--ink); border-radius: 14px; padding: 14px 18px;
  display: flex; align-items: center; gap: 14px; text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,.18);
  transition: transform .2s ease;
}
.rating-badge:hover { transform: translateY(-2px); }
.rating-badge b { font: 800 36px/1 var(--font-head); }
.stars { color: var(--star); letter-spacing: 2px; font-size: 16px; }
.rating-badge small { display: block; color: var(--muted); font-size: 13px; }

/* Entrance on load (once) */
@media (prefers-reduced-motion: no-preference) {
  .enter > * { animation: enter .8s cubic-bezier(.2,.7,.2,1) both; }
  .enter > *:nth-child(2) { animation-delay: .08s; }
  .enter > *:nth-child(3) { animation-delay: .16s; }
  .enter > *:nth-child(4) { animation-delay: .24s; }
  .enter > *:nth-child(5) { animation-delay: .32s; }
  .hero-media img { animation: zoom 1.6s cubic-bezier(.2,.7,.2,1) both; }
}
@keyframes enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes zoom { from { transform: scale(1.06); } to { transform: none; } }

/* Sections */
.section { padding: var(--section) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }
.on-dark { background: var(--dark); color: var(--on-dark); }
.on-dark .lead, .on-dark .muted { color: var(--on-dark-muted); }
.muted { color: var(--muted); }

/* Leistungen */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; display: flex; flex-direction: column; overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.08); border-color: #c9c4b9; }
.service-img { aspect-ratio: 16/10; overflow: hidden; background: #ddd; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service:hover .service-img img { transform: scale(1.03); }
.service-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.service-body p { color: var(--muted); font-size: 16px; }
.service-body .link-arrow { margin-top: auto; color: var(--accent); align-self: flex-start; }
.service-num { font: 700 13px/1 var(--font-body); letter-spacing: .14em; color: var(--accent); margin-bottom: 14px; }
.service.no-img .service-body { padding-top: 28px; }

/* Warum wir */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.why-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-list { display: grid; gap: 28px; margin-top: 36px; }
.why-list li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; }
.why-icon { width: 48px; height: 48px; border-radius: var(--radius); background: rgba(227,36,27,.16); color: var(--accent); display: grid; place-items: center; }
.why-icon svg { width: 24px; height: 24px; }
.why-list h3 { margin: 4px 0 6px; font-size: 21px; }
.why-list p { margin: 0; color: var(--on-dark-muted); font-size: 16px; }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { border-top: 3px solid var(--ink); padding-top: 24px; }
.step::before { counter-increment: step; content: "0" counter(step); display: block; font: 800 56px/1 var(--font-head); color: var(--accent); margin-bottom: 18px; }
.step p { color: var(--muted); font-size: 16px; margin: 0; }

/* Bewertungen */
.reviews-top { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-bottom: 40px; }
.big-score { font: 800 clamp(96px, 14vw, 180px)/.85 var(--font-head); color: var(--ink); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.review blockquote { margin: 12px 0 20px; font-size: 19px; line-height: 1.45; font-weight: 500; }
.review cite { margin-top: auto; font-style: normal; color: var(--muted); font-size: 14px; }

/* Einzugsgebiet */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.district-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 36px; }
.district-list li { border: 1px solid var(--line); background: var(--surface); padding: 10px 16px; border-radius: 999px; font-size: 15px; font-weight: 500; }
.address-card { background: var(--dark); color: var(--on-dark); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.address-card .big-address { font: 800 clamp(34px, 4vw, 52px)/1 var(--font-head); margin: 0 0 8px; color: var(--on-dark); }
.address-card p { color: var(--on-dark-muted); }
.hours { width: 100%; border-collapse: collapse; margin: 24px 0 32px; font-size: 16px; }
.hours th, .hours td { text-align: left; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-weight: 400; }
.hours td { text-align: right; font-weight: 600; }
.hours tr.closed td { color: var(--on-dark-muted); font-weight: 400; }
.card-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font-size: 28px; font-weight: 400; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-right: 48px; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-lines { display: grid; gap: 14px; margin-top: 32px; }
.contact-lines a { display: flex; align-items: center; gap: 14px; text-decoration: none; font-size: 19px; font-weight: 600; min-height: 48px; }
.contact-lines svg { width: 24px; height: 24px; color: var(--accent); flex: none; }
.form { background: var(--surface); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); color: var(--ink); display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 14px; min-height: 50px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form small { color: var(--muted); font-size: 13px; }
.form .btn { width: 100%; }

/* Footer */
.site-footer { background: #0b0b0b; color: var(--on-dark-muted); padding: 72px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 56px; }
.site-footer h3 { color: var(--on-dark); font-size: 16px; font-family: var(--font-body); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--on-dark); }
.site-footer li { margin-bottom: 8px; }
.site-footer .logo { color: var(--on-dark); margin-bottom: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; font-size: 13px; }
.credits { font-size: 12px; opacity: .7; max-width: 80ch; }

/* Gütesiegel */
.badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.badges li { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; }
.badges li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* Werkstatt-Galerie */
.shop-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 20px; }
.shop-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; background: #ddd; }
.shop-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.shop-grid figure:hover img { transform: scale(1.03); }
.shop-main { grid-row: span 2; aspect-ratio: 4/3; }
.shop-side { grid-row: span 2; }
.equipment { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.equipment li { border-top: 3px solid var(--ink); padding-top: 16px; }
.equipment strong { display: block; font: 700 20px/1.2 var(--font-head); margin-bottom: 6px; }
.equipment span { color: var(--muted); font-size: 15px; }
.address-photo { border-radius: var(--radius); overflow: hidden; margin-bottom: 28px; aspect-ratio: 16/9; }
.address-photo img { width: 100%; height: 100%; object-fit: cover; }

/* Mobile Anruf-Leiste */
.call-bar { display: none; }

/* Unterseiten */
.page-hero { background: var(--dark); color: var(--on-dark); padding: clamp(56px, 8vw, 112px) 0; }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.page-hero h1 { font-size: clamp(34px, 6vw, 80px); }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.page-hero .lead { color: var(--on-dark-muted); margin-bottom: 32px; }
.page-hero-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--on-dark-muted); margin-bottom: 24px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--on-dark); }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(28px, 3.4vw, 42px); margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { list-style: none; margin: 0 0 1.4em; display: grid; gap: 10px; }
.prose ul li { padding-left: 30px; position: relative; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 3px; background: var(--accent); }
.content-grid { display: grid; grid-template-columns: 1fr 340px; gap: clamp(32px, 6vw, 96px); align-items: start; }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--dark); color: var(--on-dark); border-radius: var(--radius); padding: 32px; }
.aside-card h2 { font-size: 30px; }
.aside-card p { color: var(--on-dark-muted); font-size: 16px; }
.aside-card .btn { width: 100%; margin-top: 10px; }
.legal h1 { font-size: clamp(36px, 5vw, 64px); }
.legal h2 { font-size: 26px; text-transform: none; margin-top: 1.6em; }
.todo { background: #fff3cd; padding: 0 4px; border-radius: 3px; }


/* Hero: Logo, Symptom-Chips, Status */
.hero-logo { width: clamp(220px, 26vw, 340px); height: auto; border-radius: 6px; margin-bottom: 28px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 76px); }
.chips-label { font-weight: 600; font-size: 15px; margin: 0 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); text-decoration: none; font-size: 15px; font-weight: 500; transition: background-color .2s, border-color .2s, transform .15s; }
.chips a::after { content: "›"; margin-left: 8px; color: var(--accent); font-size: 18px; }
.chips a:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); transform: translateY(-2px); }
.open-status { display: inline-flex; align-items: center; gap: 8px; }
.open-status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--on-dark-muted); }
.open-status.is-open::before { background: #2fbf5b; box-shadow: 0 0 0 4px rgba(47,191,91,.2); }
.open-status.is-closed::before { background: var(--accent); }

/* Fällig-Rechner */
.checker { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; }
.checker-form { background: var(--dark-2); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: grid; gap: 28px; }
.checker fieldset { border: 0; padding: 0; margin: 0; }
.checker legend { font-weight: 600; font-size: 18px; margin-bottom: 8px; padding: 0; }
.checker-hint { color: var(--on-dark-muted); font-size: 15px; margin-bottom: 12px; }
.checker-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 360px; }
.checker .field span { display: block; font-size: 13px; color: var(--on-dark-muted); margin-bottom: 6px; }
.checker select { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 0; border-radius: var(--radius); min-height: 48px; padding: 0 12px; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.22); font-size: 15px; transition: background-color .2s, border-color .2s; }
.seg label:hover span { border-color: rgba(255,255,255,.5); }
.seg input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.checker-result { background: var(--surface); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; }
.checker-result ul { display: grid; gap: 14px; margin: 8px 0 24px; }
.checker-result li { padding-left: 28px; position: relative; font-size: 16px; }
.checker-result li strong { display: block; }
.checker-result li span { color: var(--muted); font-size: 15px; }
.checker-result li[data-level]::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 12px; border-radius: 50%; }
.checker-result li[data-level="urgent"]::before { background: var(--accent); }
.checker-result li[data-level="soon"]::before { background: var(--star); }
.checker-result li[data-level="ok"]::before { background: #2fbf5b; }
.checker-result .btn { margin-top: auto; }

/* Garantie */
.guarantee { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.checklist { display: grid; gap: 14px; margin-bottom: 28px; }
.checklist li { padding: 18px 20px 18px 56px; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 500; }
.checklist li::before { content: "✓"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.note { border-left: 3px solid var(--accent); padding: 4px 0 4px 16px; color: var(--muted); }

/* Preise */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.price { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.price:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.08); border-color: #c9c4b9; }
.price-name { font-weight: 600; font-size: 17px; }
.price-value { font: 800 34px/1 var(--font-head); color: var(--accent); white-space: nowrap; grid-row: span 2; align-self: center; }
.price-note { color: var(--muted); font-size: 14px; }
.price-foot { color: var(--muted); font-size: 14px; margin-top: 16px; }
.card-price { font-weight: 600; color: var(--ink) !important; font-size: 15px !important; }
.prose .prices { grid-template-columns: 1fr; }

/* Responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--dark); padding: 24px var(--gutter);
  }
  .nav.open a { font: 800 30px/1.1 var(--font-head); padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 0; opacity: 1; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .prices { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; max-height: none; }
  .hero-media { order: -1; height: 46vh; min-height: 300px; margin: 0 calc(-1 * var(--gutter)); }
  .hero-media::after { background: linear-gradient(0deg, var(--dark) 0%, rgba(18,18,18,0) 45%); }
  .hero-copy { padding: 8px 0 56px; }
  .rating-badge { top: auto; bottom: 20px; left: var(--gutter); padding: 12px 16px; }
  .hero-facts dd { white-space: normal; }
  .rating-badge b { font-size: 32px; }
  .section-head, .why-grid, .area-grid, .faq-grid, .contact-grid, .page-hero-grid, .content-grid { grid-template-columns: 1fr; }
  .why-photo { aspect-ratio: 4/3; }
  .reviews { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr; }
  .checker, .guarantee { grid-template-columns: 1fr; }
  .shop-main { grid-row: auto; }
  .equipment { grid-template-columns: 1fr 1fr; }
  .aside-card { position: static; }
  .header-cta { display: none; }
  .hero-logo { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .services, .steps, .prices { grid-template-columns: 1fr; }
  .hero-facts { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn, .card-actions .btn { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .logo-img { height: 38px; }
  .call-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(18,18,18,.96); border-top: 1px solid rgba(255,255,255,.1);
  }
  .call-bar .btn { min-height: 50px; padding: 0 12px; }
  .call-bar .btn-ghost { color: var(--on-dark); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ───────── Hell & modern (Richtung autofitbonn.de) ───────── */
.eyebrow { color: var(--accent); letter-spacing: .12em; }
.eyebrow::before { width: 20px; }
.on-dark .eyebrow, .page-hero .eyebrow { color: #c3ccd4; }
.hero .eyebrow { color: var(--accent); }
.accent { color: var(--accent); }
.section-head p, .lead { text-wrap: pretty; }

/* Karten: weiß, weich, große Radien */
.service, .review, .price, .checklist li, .form, .checker-result, .address-card, .aside-card, .why-photo, .shop-grid figure, .address-photo, .page-hero-img { border-radius: var(--radius-lg); }
.service, .review, .price { border-color: transparent; box-shadow: 0 1px 2px rgba(31,35,38,.05), 0 8px 24px -12px rgba(31,35,38,.12); }
.service:hover, .price:hover { border-color: transparent; box-shadow: 0 2px 4px rgba(31,35,38,.06), 0 22px 40px -18px rgba(31,35,38,.28); }
.price-value, .step::before { color: var(--brand); }
.service-num, .service-body .link-arrow { color: var(--accent); }
.step { border-top-color: var(--brand); }

/* Chips im hellen Hero */
.chips a { background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 600; box-shadow: 0 1px 2px rgba(31,35,38,.05); }
.chips a:hover { background: var(--surface); border-color: var(--brand); }
.chips a::after { color: var(--muted); }
.btn-ghost { border-color: var(--line); background: var(--surface); }
.btn-ghost:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.on-dark .btn-ghost { background: transparent; border-color: rgba(255,255,255,.35); }
.open-status.is-closed::before { background: #9aa1a8; }

/* Header */
.header-cta { border-radius: 999px; }
.logo-word strong { color: var(--ink); }

/* Dunkle Bereiche: Anthrazit statt Schwarz */
.site-footer { background: #24282c; }
.call-bar { background: rgba(255,255,255,.94) !important; border-top: 1px solid var(--line) !important; backdrop-filter: blur(12px); grid-template-columns: 1fr 1fr 1fr !important; }
.call-bar .btn-ghost { color: var(--ink) !important; }
.call-bar .btn-ghost:hover { background: var(--brand-soft); border-color: var(--brand-soft); }
.why-icon { background: rgba(255,255,255,.1); color: #fff; }
.checklist li::before { background: var(--brand); }
.note { border-left-color: var(--brand); }

/* Terminbuchung */
#kontakt { background: linear-gradient(180deg, var(--bg) 0%, #e4e8ec 100%); }
.book-steps { display: grid; gap: 12px; margin: 28px 0 8px; counter-reset: none; }
.book-steps li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.book-steps b { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 15px; }
.contact-lines svg { color: var(--brand); }
.booking { gap: 26px; box-shadow: 0 2px 4px rgba(31,35,38,.05), 0 30px 60px -30px rgba(31,35,38,.35); scroll-margin-top: calc(var(--header-h) + 16px); }
.booking fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.booking legend { font: 800 18px/1.2 var(--font-head); margin-bottom: 12px; padding: 0; }
.seg-light span { border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-weight: 600; }
.seg-light label:hover span { border-color: var(--brand); }
.seg-light input:checked + span, .day-picker input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.seg-light input:focus-visible + span, .day-picker input:focus-visible + span { outline: 3px solid var(--brand); outline-offset: 2px; }
.day-picker { display: grid; grid-auto-flow: column; grid-auto-columns: 64px; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.day-picker label { cursor: pointer; scroll-snap-align: start; }
.day-picker input { position: absolute; opacity: 0; pointer-events: none; }
.day-picker span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 0; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); transition: background-color .2s, border-color .2s, transform .15s; }
.day-picker span b { font: 800 22px/1 var(--font-head); }
.day-picker span small { font-size: 12px; color: inherit; opacity: .75; }
.day-picker label:hover span { border-color: var(--brand); transform: translateY(-2px); }
.slots span { min-height: 40px; }
.booking-summary { margin: 0; padding: 14px 16px; border-radius: 12px; background: var(--bg); color: var(--muted); font-weight: 600; font-size: 15px; }
.booking-summary.is-ready { background: #e6f6ec; color: #17633a; }
.booking-send { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.booking-send .btn { width: 100%; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.booking-result { margin: 0; padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: 15px; }
.booking-result.is-ok { background: #e6f6ec; color: #17633a; }
.booking-result.is-error { background: #fdecea; color: #8a1c12; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-wa { background: #25d366; color: #0b3d20; }
.btn-wa:hover { background: #1fbe5b; }
.field input, .field select, .field textarea { background: var(--bg); border-color: var(--line); border-radius: 12px; }
.field input:focus, .field select:focus, .field textarea:focus { outline-color: var(--brand); border-color: var(--brand); }

@media (max-width: 860px) {
  .hero-grid { min-height: 0; padding-top: 16px; }
  .hero-media { order: 0; min-height: 0; height: auto; aspect-ratio: 4/3; margin: 8px 0 0; border-radius: 20px; }
  .hero-media::after { background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.35) 100%); }
  .hero-copy { padding: 0; }
  .rating-badge { top: 14px; bottom: auto; left: 14px; }
  .hero-stamp { width: 104px; }
  .logo-word span { display: none; }
}
@media (max-width: 600px) {
  .booking-send { grid-template-columns: 1fr; }
  .logo-img { height: 46px; }
  .logo-word strong { font-size: 16px; }
}
@media (max-width: 1080px) { .nav.open { background: var(--bg); } .nav.open a { border-bottom-color: var(--line); } }
.hero-media img.hero-stamp { inset: auto; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); width: clamp(120px, 11vw, 168px); height: auto; object-fit: contain; animation: none; }
@media (max-width: 860px) { .hero-media img.hero-stamp { width: 96px; } }
/* kein Überlaufen auf schmalen Bildschirmen */
@media (max-width: 860px) {
  .hero-grid, .section-head, .why-grid, .area-grid, .faq-grid, .contact-grid, .page-hero-grid, .content-grid, .checker, .guarantee, .shop-grid { grid-template-columns: minmax(0, 1fr); }
}
.call-bar { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.call-bar .btn { padding: 0 8px; gap: 6px; font-size: 15px; }
.booking fieldset { min-width: 0; }
.booking > * { min-width: 0; }
.seg label, .day-picker label { position: relative; }
.prices > *, .services > *, .reviews > * { min-width: 0; }
/* Kontrast: helle Akzente auf dunklen Karten, dunkle Hinweise auf weißen Karten */
.on-dark .service-num, .on-dark .link-arrow, .service.no-img[style*="--dark"] .service-num, .service.no-img[style*="--dark"] .link-arrow { color: #c3ccd4; }
.on-dark .checker-result .muted, .checker-result .muted { color: var(--muted); }
.page-hero .btn-ghost, .aside-card .btn-ghost, .address-card .btn-ghost, .site-footer .btn-ghost { background: transparent; border-color: rgba(255,255,255,.35); color: var(--on-dark); }
.page-hero .btn-ghost:hover, .aside-card .btn-ghost:hover, .address-card .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.page-hero .btn-primary { background: #fff; color: var(--ink); }
.page-hero .btn-primary:hover { background: var(--brand-soft); }
/* Handy-Menü: backdrop-filter am Header würde das fixierte Menü auf Header-Höhe einsperren */
.site-header:has(.nav.open) { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
@media (max-width: 1080px) {
  .nav.open { background: var(--bg); overflow-y: auto; z-index: 70; }
  .nav.open a { color: var(--ink); font-size: 26px; padding: 18px 0; }
}

/* Fahrzeug & Fahrzeugschein */
.vehicle legend .opt { font: 500 13px/1 var(--font-body); color: var(--muted); margin-left: 8px; padding: 4px 8px; border-radius: 999px; background: var(--bg); vertical-align: middle; }
.vehicle-hint { margin: -6px 0 0; color: var(--muted); font-size: 15px; }
.form-row-3 { grid-template-columns: 1fr 1fr 2fr; }
.field label small { font-weight: 500; color: var(--muted); margin-left: 4px; font-size: 12px; }
.upload { position: relative; }
.upload input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-drop { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 2px dashed var(--line); border-radius: 14px; background: var(--bg); cursor: pointer; transition: border-color .2s, background-color .2s; }
.upload-drop:hover { border-color: var(--brand); background: #e7eaed; }
.upload input:focus-visible + .upload-drop { outline: 3px solid var(--brand); outline-offset: 2px; }
.upload-drop svg { width: 30px; height: 30px; color: var(--brand); flex: none; }
.upload-drop b { display: block; font-size: 16px; }
.upload-drop small { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.upload.has-file .upload-drop { display: none; }
.upload-preview { display: flex; align-items: center; gap: 14px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
[hidden] { display: none !important; }
.upload-preview img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; }
.upload-preview span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; font-size: 15px; }
.upload-remove { border: 0; background: none; color: var(--muted); font: 600 14px/1 var(--font-body); cursor: pointer; padding: 10px; border-radius: 8px; text-decoration: underline; }
.upload-remove:hover { color: var(--ink); }
@media (max-width: 600px) { .form-row-3 { grid-template-columns: 1fr 1fr; } .form-row-3 .field-wide { grid-column: 1 / -1; } }
.form-row > *, .field { min-width: 0; }
.field input, .field select, .field textarea { min-width: 0; max-width: 100%; }
.booking fieldset { grid-template-columns: minmax(0, 1fr); }
.booking fieldset > * { min-width: 0; }
