/* Demo-Autowerkstatt: dunkles Anthrazit, Signal-Orange, klare Karten – solide und vertrauenswürdig */
:root { --bg: #0f1113; --bg-2: #15181b; --panel: #1b1f23; --panel-2: #23282d; --ink: #f3f3f1; --muted: #a4a9b0; --line: rgba(255, 255, 255, .09); --or: #ff6b1a; --or-2: #ff8a45; --ok: #3ccf72; --warn: #ffb020; --bad: #ff5a4f; }
[hidden] { display: none !important; }
body { background: var(--bg); color: var(--ink); font-size: 16px; line-height: 1.6; }
h1, h2, h3 { font-weight: 700; letter-spacing: -.035em; line-height: 1.04; }
.or { color: var(--or); }
.kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: var(--or); font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--or); }
.muted { color: var(--muted); }
.small { color: var(--muted); font-size: 13.5px; }
.fine { margin-top: 16px; color: var(--muted); font-size: 13px; text-align: center; }
.card { padding: clamp(20px, 2.4vw, 30px); border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.c-label { margin-bottom: 8px; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 12px clamp(16px, 5vw, 64px); background: rgba(15, 17, 19, .94); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); }
.logo { display: flex; align-items: center; gap: 10px; margin-right: auto; font-size: 18px; font-weight: 500; white-space: nowrap; }
.logo b { font-weight: 800; }
.logo-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--or); }
.logo-mark svg { width: 20px; height: 20px; fill: #fff; }
.nav nav { display: flex; gap: 24px; color: var(--muted); font-size: 15px; }
.nav nav a:hover { color: var(--ink); }
@media (max-width: 960px) { .nav nav { display: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 12px; font-size: 15px; font-weight: 700; white-space: nowrap; cursor: pointer; transition: transform .2s, background .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--or); color: #fff; box-shadow: 0 10px 30px -12px rgba(255, 107, 26, .7); }
.btn-orange:hover { background: var(--or-2); }
.btn-glass { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; backdrop-filter: blur(8px); }
.btn-line { border-color: rgba(255, 255, 255, .22); background: transparent; color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-wide { width: 100%; }
.nav .btn { min-height: 44px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Hero mit Werkstattfoto */
.hero { position: relative; display: flex; align-items: flex-end; min-height: min(88vh, 860px); padding: clamp(110px, 12vw, 160px) clamp(16px, 5vw, 64px) clamp(40px, 6vw, 80px); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 12, 14, .94) 0%, rgba(10, 12, 14, .78) 42%, rgba(10, 12, 14, .2) 75%), linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.hero-text { max-width: 680px; }
.badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; background: rgba(0, 0, 0, .45); font-size: 14px; font-weight: 600; backdrop-filter: blur(8px); }
.badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(60, 207, 114, .2); }
.hero h1 { font-size: clamp(2.9rem, 6vw, 5.4rem); }
.lead { max-width: 34em; margin: 22px 0 30px; color: #c9ccd1; font-size: clamp(17px, 1.35vw, 19px); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 34px; }
.facts li { display: grid; padding: 12px 14px; border-left: 2px solid var(--or); background: rgba(0, 0, 0, .4); }
.facts b { font-size: 15px; }
.facts span { color: var(--muted); font-size: 13px; }

.section { padding: clamp(70px, 9vw, 130px) clamp(16px, 5vw, 64px); }
.head { max-width: 780px; margin-bottom: clamp(28px, 4vw, 46px); }
.head h2, .kontakt h2 { font-size: clamp(2.3rem, 4.6vw, 4rem); }
.head .muted { margin-top: 14px; font-size: 17px; }

/* Preisrechner */
fieldset { border: 0; }
legend { margin-bottom: 12px; font-size: 15px; font-weight: 700; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: 18px; align-items: start; }
.calc-in { display: grid; gap: 26px; }
.cars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.cars button, .jobs button, .b-jobs button, .years button, .months button, .days button, .times button, .opts button { border: 1px solid var(--line); border-radius: 12px; background: var(--panel-2); color: var(--ink); font-size: 14.5px; text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.cars button { display: grid; gap: 2px; padding: 12px; }
.cars b { font-size: 14.5px; }
.cars small { color: var(--muted); font-size: 12px; line-height: 1.3; }
.cars.mini { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.jobs { display: flex; flex-wrap: wrap; gap: 8px; }
.jobs button { min-height: 44px; padding: 0 16px; font-weight: 600; }
button.on { border-color: var(--or) !important; background: rgba(255, 107, 26, .14) !important; box-shadow: inset 0 0 0 1px var(--or); }
button:disabled { opacity: .38; cursor: not-allowed; }
.calc-out { position: sticky; top: 90px; display: grid; gap: 8px; border-color: rgba(255, 107, 26, .35); }
.o-label { color: var(--muted); font-weight: 600; }
.o-total { font-size: clamp(48px, 5vw, 66px); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.o-sub { color: var(--or); font-size: 14px; font-weight: 600; }
.o-time { margin: 8px 0; padding: 12px 14px; border-radius: 12px; background: var(--panel-2); font-size: 14.5px; }
.o-list { display: grid; gap: 6px; margin-bottom: 6px; }
.o-list li { position: relative; padding-left: 24px; font-size: 15px; }
.o-list li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 10px; height: 6px; border-left: 2px solid var(--or); border-bottom: 2px solid var(--or); transform: rotate(-45deg); }
.o-note { padding: 10px 12px; border-left: 2px solid var(--or); background: var(--panel-2); color: var(--muted); font-size: 14px; }
.o-small { color: var(--muted); font-size: 12px; text-align: center; }
@media (max-width: 1100px) { .cars, .cars.mini { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc-out { position: static; } }

/* TÜV-Check */
.tuev { background: var(--bg-2); }
.tuev-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 440px); gap: 18px; align-items: start; }
.plakette-in { display: grid; gap: 26px; }
.years { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.years button { display: grid; justify-items: center; gap: 4px; padding: 12px 6px; font-weight: 700; text-align: center; }
.years i { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .25); }
.years small { color: var(--muted); font-size: 12px; font-weight: 500; }
.months { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.months button { min-height: 46px; font-size: 16px; font-weight: 700; text-align: center; }
.plakette-out { display: grid; gap: 14px; justify-items: center; text-align: center; }
.plakette { position: relative; display: grid; place-items: center; width: 200px; height: 200px; border-radius: 50%; box-shadow: inset 0 0 0 6px rgba(0, 0, 0, .18), 0 20px 40px -20px rgba(0, 0, 0, .8); transition: background .4s; }
.plakette span { position: absolute; top: 50%; left: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; display: grid; place-items: center; color: rgba(0, 0, 0, .75); font-size: 14px; font-weight: 800; transition: transform .5s cubic-bezier(.16, 1, .3, 1); }
.plakette span.top { border-radius: 50%; background: #111; color: #fff; }
.plakette b { color: #111; font-size: 54px; font-weight: 900; letter-spacing: -.04em; }
.t-state { font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; }
.t-state.ok { color: var(--ok); }
.t-state.soon { color: var(--warn); }
.t-state.late { color: var(--bad); }
.plakette-out .muted b { color: var(--ink); }
@media (max-width: 900px) { .tuev-box { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .years { grid-template-columns: repeat(3, minmax(0, 1fr)); } .months { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Terminbuchung */
.book { max-width: 920px; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; counter-reset: s; }
.steps li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--panel); color: var(--muted); font-size: 14px; font-weight: 600; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 24px; height: 24px; flex: none; border-radius: 50%; background: var(--panel-2); color: var(--ink); font-size: 12.5px; }
.steps li.on { color: var(--ink); box-shadow: inset 0 0 0 1px var(--or); }
.steps li.on::before { background: var(--or); color: #fff; }
.steps li.done::before { content: "✓"; background: var(--ok); color: #0f1113; }
.book-card { display: grid; gap: 18px; }
.step { display: grid; gap: 16px; }
.step h3 { font-size: 26px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
label { display: grid; gap: 6px; color: var(--muted); font-size: 13.5px; font-weight: 600; }
label small { font-weight: 400; }
input:not([type="checkbox"]), select, textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--or); }
select option { background: var(--panel); }
.note { padding: 10px 14px; border-radius: 12px; background: rgba(60, 207, 114, .12); color: var(--ok); font-size: 14px; }
.b-jobs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.b-jobs button { display: grid; gap: 2px; padding: 12px 14px; }
.b-jobs span { font-weight: 700; }
.b-jobs small { color: var(--muted); font-size: 12.5px; }
.days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.days button { display: grid; justify-items: center; padding: 10px 4px; text-align: center; }
.days small { color: var(--muted); font-size: 12px; }
.days b { font-size: 22px; line-height: 1.1; }
.days em { margin-top: 4px; font-size: 11.5px; font-style: normal; font-weight: 700; }
.days .many em { color: var(--ok); }
.days .few em { color: var(--warn); }
.days .full em, .days .sa em { color: var(--muted); }
.t-head { margin-bottom: 10px; font-weight: 700; }
.times { display: flex; flex-wrap: wrap; gap: 8px; }
.times button { min-width: 78px; min-height: 44px; padding: 0 12px; font-weight: 700; text-align: center; }
.times button:disabled { text-decoration: line-through; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opts button { display: grid; gap: 2px; padding: 12px 14px; }
.opts small { color: var(--muted); font-size: 12.5px; }
.check { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-size: 14.5px; font-weight: 500; cursor: pointer; }
.check input { width: 20px; height: 20px; flex: none; margin-top: 2px; accent-color: var(--or); }
.summary { padding: 16px; border-radius: 14px; background: var(--panel-2); }
.summary table { width: 100%; margin-bottom: 8px; border-collapse: collapse; font-size: 15px; }
.summary td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.summary td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.s-total td { border-bottom: 0; color: var(--or); font-size: 17px; font-weight: 800; }
.err { padding: 10px 14px; border-radius: 12px; background: rgba(255, 90, 79, .14); color: #ff8d85; font-size: 14px; }
.nav-row { display: flex; justify-content: space-between; gap: 10px; }
.nav-row [data-next] { margin-left: auto; }
.booked { display: grid; gap: 14px; justify-items: start; }
.tick { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ok); color: #0f1113; font-size: 24px; font-weight: 900; }
.booked h3 { font-size: 28px; }
.booked ol { display: grid; gap: 6px; padding-left: 20px; list-style: decimal; color: var(--muted); }
.nr { color: var(--or); }
.demo-hint { padding: 10px 14px; border-radius: 12px; background: var(--panel-2); color: var(--muted); font-size: 13.5px; }
@media (max-width: 760px) { .b-jobs { grid-template-columns: 1fr 1fr; } .opts { grid-template-columns: 1fr; } }

/* Auftragsstatus */
.status { background: var(--bg-2); }
.track { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 18px; align-items: start; }
.track-in { display: grid; gap: 14px; }
.link { padding: 0; border: 0; background: none; color: var(--or); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.track-out { display: grid; gap: 18px; min-height: 200px; align-content: start; }
.tr-head { display: flex; justify-content: space-between; gap: 16px; }
.tr-head h3 { font-size: 24px; }
.tr-sum { display: grid; text-align: right; font-size: 26px; font-weight: 800; line-height: 1.1; white-space: nowrap; }
.tr-sum small { color: var(--muted); font-size: 12px; font-weight: 500; }
.timeline { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.timeline li { display: grid; gap: 4px; padding-top: 14px; border-top: 3px solid var(--panel-2); color: var(--muted); font-size: 13.5px; }
.timeline li b { font-weight: 600; line-height: 1.3; }
.timeline li span { font-size: 12.5px; }
.timeline li.done { border-color: var(--ok); color: var(--ink); }
.timeline li.now { border-color: var(--or); color: var(--ink); }
.timeline li.now span { color: var(--or); font-weight: 700; }
.finding { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 18px; padding: 16px; border: 1px solid rgba(255, 176, 32, .4); border-radius: 16px; background: rgba(255, 176, 32, .06); animation: pop .5s cubic-bezier(.16, 1, .3, 1); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }
.finding img { width: 100%; height: 100%; min-height: 150px; border-radius: 12px; object-fit: cover; }
.finding p { margin-bottom: 8px; }
.finding .c-label { color: var(--warn); }
.f-price b { color: var(--or); font-size: 18px; }
.info { padding: 14px 16px; border-radius: 14px; background: var(--panel-2); }
.info.ready { background: rgba(60, 207, 114, .12); }
@media (max-width: 900px) { .track { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .finding { grid-template-columns: 1fr; } .finding img { aspect-ratio: 16 / 9; } .timeline { grid-template-columns: 1fr; } .timeline li { grid-template-columns: 1fr auto; padding: 8px 0 8px 12px; border-top: 0; border-left: 3px solid var(--panel-2); } .tr-head { flex-direction: column; } .tr-sum { text-align: left; } }

/* Leistungen */
.w-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.w-grid figure { position: relative; overflow: hidden; grid-column: span 2; border-radius: 18px; }
.w-grid figure:nth-child(4), .w-grid figure:nth-child(5) { grid-column: span 3; }
.w-grid img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s cubic-bezier(.16, 1, .3, 1); }
.w-grid figure:nth-child(4) img, .w-grid figure:nth-child(5) img { aspect-ratio: 16 / 9; }
.w-grid figure:hover img { transform: scale(1.05); }
.w-grid figcaption { position: absolute; inset: auto 0 0; display: grid; gap: 2px; padding: 60px 18px 18px; background: linear-gradient(transparent, rgba(0, 0, 0, .88)); }
.w-grid figcaption b { font-size: 18px; }
.w-grid figcaption span { color: #c9ccd1; font-size: 14px; line-height: 1.4; }
@media (max-width: 900px) { .w-grid { grid-template-columns: 1fr; } .w-grid figure, .w-grid figure:nth-child(4), .w-grid figure:nth-child(5) { grid-column: auto; } }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.team figure { overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.team img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.team figcaption { display: grid; gap: 2px; padding: 18px 20px 22px; }
.team b { font-size: 22px; }
.team span { color: var(--or); font-size: 14px; font-weight: 600; }
.team p { margin-top: 8px; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .team { grid-template-columns: minmax(0, 1fr); max-width: 440px; } }

/* FAQ */
.faq-list { display: grid; max-width: 860px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--or); font-size: 26px; line-height: 1; transition: transform .3s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { padding-bottom: 20px; color: var(--muted); }

/* Kontakt */
.kontakt { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; background: var(--bg-2); }
.kontakt .muted { margin: 18px 0 24px; }
.open-now { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 7px 14px; border-radius: 999px; background: rgba(60, 207, 114, .14); color: var(--ok); font-size: 14px; font-weight: 700; }
.open-now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.open-now.closed { background: var(--panel-2); color: var(--muted); }
.open-now.closed::before { background: var(--muted); }
.kontakt table { width: 100%; border-collapse: collapse; }
.kontakt th, .kontakt td { padding: 16px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 600; }
.kontakt td { text-align: right; color: var(--muted); font-weight: 500; }
@media (max-width: 860px) { .kontakt { grid-template-columns: 1fr; } }

.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 28px clamp(16px, 5vw, 64px) 96px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.foot-link { padding: 0; border: 0; background: none; color: inherit; font-size: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.legal { width: min(540px, calc(100% - 32px)); max-height: 82vh; margin: auto; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); color: var(--ink); }
.legal::backdrop { background: rgba(0, 0, 0, .7); }
.legal h2 { margin-bottom: 8px; font-size: 28px; }
.legal p { margin-top: 12px; color: var(--muted); }
.legal p b { color: var(--ink); }
.legal .legal-note { padding: 10px 12px; border-radius: 12px; background: rgba(255, 107, 26, .14); color: var(--or-2); font-size: 13.5px; font-weight: 600; }
.legal-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--panel-2); color: var(--ink); font-size: 22px; cursor: pointer; }

@media (max-width: 560px) {
  .nav { gap: 12px; padding: 10px 16px; }
  .logo { font-size: 16px; }
  .logo-mark { width: 32px; height: 32px; }
  .nav .btn { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .hero { min-height: 0; padding-top: 90px; }
  .hero-bg { object-position: 72% 50%; }
  .hero::after { background: linear-gradient(0deg, var(--bg) 6%, rgba(10, 12, 14, .82) 55%, rgba(10, 12, 14, .55)); }
  .actions .btn { width: 100%; }
  .facts { grid-template-columns: 1fr; }
  .cars, .cars.mini { grid-template-columns: 1fr 1fr; }
  .row, .b-jobs { grid-template-columns: 1fr; }
  .days { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps li { justify-content: center; padding: 10px 6px; font-size: 0; }
  .steps li::before { font-size: 12.5px; }
  .steps li.on { font-size: 13px; }
  .nav-row .btn { flex: 1; }
}
@media (max-width: 400px) { .logo b { display: none; } }

/* Wunschtermin-Anfrage */
.days.days { grid-template-columns: repeat(6, minmax(0, 1fr)); margin-bottom: 18px; }
.days button { min-height: 52px; align-content: center; }
.days em { color: var(--muted); font-size: 10.5px; line-height: 1.2; }
.t-head small, .w-from { color: var(--muted); font-weight: 400; }
.w-times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.w-times button { display: grid; gap: 2px; min-width: 0; min-height: 0; padding: 10px 8px; }
.w-times small { color: var(--muted); font-size: 12px; font-weight: 400; }
.w-times button:disabled { text-decoration: none; opacity: .45; }
.w-from { display: grid; gap: 6px; max-width: 280px; margin: 14px 0 6px; font-size: 14px; }
@media (max-width: 520px) { .days.days { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.w-times b { font-size: 14px; }
@media (max-width: 420px) { .w-times b { font-size: 12.5px; } .w-times button { padding: 10px 4px; } }
