/* Automobile Dahm – Stylesheet (keine externen Ressourcen, DSGVO-freundlich) */
:root {
  --ink: #15171a;
  --ink-2: #1f2328;
  --ink-3: #2c3137;
  --paper: #f3f1ec;
  --paper-2: #e9e6df;
  --white: #fff;
  --muted: #5b6067;
  --muted-on-dark: #a9aeb5;
  --line: #d9d5cc;
  --line-dark: #343a41;
  --accent: #d9501c;
  --accent-dark: #b8420f;
  --ok: #1e9a52;
  --closed: #c0392b;
  --radius: 6px;
  --wrap: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.eyebrow {
  display: inline-block;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .8rem;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.35em; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: currentColor; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }

/* Status pill */
.status {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; font-size: .9rem; white-space: nowrap;
}
.status::before {
  content: ""; width: .6em; height: .6em; border-radius: 50%;
  background: var(--muted-on-dark);
}
.status.is-open::before { background: var(--ok); box-shadow: 0 0 0 4px rgba(30,154,82,.22); }
.status.is-closed::before { background: var(--closed); }

/* Topbar */
.topbar { background: var(--ink); color: var(--white); font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar a { text-decoration: none; color: var(--muted-on-dark); }
.topbar a:hover { color: var(--white); }
.topbar-links { display: flex; gap: 20px; }
@media (max-width: 640px) { .topbar-links .hide-sm { display: none; } }

/* Header */
.site-header { background: var(--ink-2); color: var(--white); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line-dark); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand strong { font-size: 1.3rem; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.brand strong span { color: var(--accent); }
.brand small { white-space: nowrap; font-size: .78rem; color: var(--muted-on-dark); letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .96rem; color: #d7dade; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--white); }
.nav .btn { color: var(--white); padding: .6em 1em; }
.nav-toggle { display: none; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }
@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-2); border-bottom: 1px solid var(--line-dark); padding: 8px 16px 16px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line-dark); }
  .nav .btn { margin-top: 12px; justify-content: center; border: 0; }
}

/* Hero */
.hero { background: var(--ink-2); color: var(--white); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; min-height: 560px; }
.hero-copy { padding: 72px 48px 72px 0; display: flex; flex-direction: column; justify-content: center; }
.hero-copy .lead { color: #c9cdd2; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }
.hero-media { position: relative; margin-right: calc((100vw - min(100vw - 32px, var(--wrap))) / -2); }
.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(90deg, var(--ink-2) 0, rgba(31,35,40,0) 28%); }
.hero-sub { position: relative; height: 260px; }
.hero-sub img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-sub::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink-2) 0, rgba(31,35,40,.15) 60%); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 48px 0 40px; }
  .hero-media { margin: 0 -16px; height: 260px; }
  .hero-media::after { background: linear-gradient(180deg, var(--ink-2) 0, rgba(31,35,40,0) 35%); }
}

/* Facts strip */
.facts { background: var(--ink); color: var(--white); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 22px 20px; border-left: 1px solid var(--line-dark); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; }
.facts span { color: var(--muted-on-dark); font-size: .9rem; }
.facts a { text-decoration: none; }
.stars { color: #f5b400; letter-spacing: .05em; }
@media (max-width: 760px) {
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); }
  .facts li:nth-child(-n+2) { border-top: 0; }
}

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--white); }
.section-dark { background: var(--ink-2); color: var(--white); }
.section-dark .lead { color: #c9cdd2; }
.section-head { max-width: 760px; margin-bottom: 44px; }
@media (max-width: 640px) { .section { padding: 60px 0; } }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.service { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.service:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line); }
.service svg { width: 34px; height: 34px; color: var(--accent); margin-bottom: 14px; }
.service p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 900px) {
  .services { grid-template-columns: 1fr 1fr; }
  .service, .service:not(:nth-child(3n+1)) { padding: 24px 20px 24px 0; border-left: 0; }
  .service:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .service:nth-child(2n) { padding-left: 0; border-left: 0; }
}

/* Vehicle types */
.vehicles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.vehicle {
  display: flex; flex-direction: column; background: var(--ink-3); color: var(--white);
  border-radius: var(--radius); padding: 28px 24px; text-decoration: none; min-height: 240px;
  border: 1px solid var(--line-dark); transition: border-color .15s, transform .15s;
}
.vehicle:hover { border-color: var(--accent); transform: translateY(-2px); }
.vehicle svg { width: 44px; height: 44px; color: var(--accent); margin-bottom: auto; }
.vehicle h3 { margin: 22px 0 6px; font-size: 1.25rem; }
.vehicle p { color: var(--muted-on-dark); font-size: .95rem; margin: 0 0 14px; }
.vehicle .more { font-weight: 700; font-size: .9rem; color: var(--white); }
.vehicle .more::after { content: " →"; color: var(--accent); }
@media (max-width: 960px) { .vehicles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .vehicles { grid-template-columns: 1fr; } .vehicle { min-height: 0; } }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about figure { margin: 0; }
.about figure img { border-radius: var(--radius); aspect-ratio: 866/919; object-fit: cover; }
.about figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }
.owners { display: flex; gap: 32px; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.owners b { display: block; }
.owners span { color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 36px; } .about figure { max-width: 460px; } }

/* Reviews */
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; }
.score { display: flex; align-items: center; gap: 18px; }
.score .num { font-size: 4rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.score .stars { font-size: 1.4rem; display: block; }
.score small { color: var(--muted); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { background: var(--paper); border-radius: var(--radius); padding: 28px; margin: 0; display: flex; flex-direction: column; }
.review blockquote { margin: 0 0 18px; font-size: 1.02rem; }
.review figcaption { margin-top: auto; font-size: .9rem; color: var(--muted); }
.review figcaption b { color: var(--ink); }
.quotes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; padding: 0; list-style: none; }
.quotes li { background: var(--paper); border-radius: 999px; padding: 8px 16px; font-size: .92rem; }
@media (max-width: 900px) { .reviews { grid-template-columns: 1fr; } }

/* Hours + contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line-dark); font-weight: 500; }
.hours td { text-align: right; }
.hours tr.today th, .hours tr.today td { color: var(--white); font-weight: 800; }
.hours tr.today th::after { content: "Heute"; margin-left: 10px; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; background: var(--accent); color: var(--white); padding: 2px 7px; border-radius: 3px; vertical-align: 2px; }
.hours-status { font-size: 1.25rem; margin-bottom: 18px; }
.hours-note { color: var(--muted-on-dark); font-size: .9rem; margin-top: 14px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; }
.contact-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.contact-list svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 3px; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--accent); }
.contact-list small { display: block; color: var(--muted-on-dark); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.map {
  position: relative; margin-top: 56px; border-radius: var(--radius); overflow: hidden;
  background: var(--ink-3); aspect-ratio: 21/8; min-height: 300px;
  display: grid; place-items: center; text-align: center; border: 1px solid var(--line-dark);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent { max-width: 520px; padding: 24px; }
.map-consent p { color: var(--muted-on-dark); font-size: .9rem; }
.map-consent button { font: inherit; cursor: pointer; }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 20px 40px 20px 0; font-weight: 700; font-size: 1.08rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.6rem; font-weight: 400; color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 12px; }

/* Area */
.area { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 20px 0 0; }
.area li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .9rem; background: var(--white); }

/* Subpage */
.page-hero { background: var(--ink-2); color: var(--white); padding: 56px 0 64px; }
.page-hero .lead { color: #c9cdd2; }
.crumbs { font-size: .85rem; color: var(--muted-on-dark); margin-bottom: 20px; }
.crumbs a { color: var(--muted-on-dark); }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.aside-card { background: var(--ink-2); color: var(--white); border-radius: var(--radius); padding: 28px; position: sticky; top: 96px; }
.aside-card h3 { font-size: 1.15rem; }
.aside-card .hours th, .aside-card .hours td { padding: 8px 0; font-size: .95rem; }
.aside-card .btn { width: 100%; justify-content: center; margin-top: 12px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .aside-card { position: static; } }

.cta-band { background: var(--accent); color: var(--white); padding: 48px 0; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); }
.cta-band .btn { background: var(--ink); color: var(--white); }
.cta-band .btn:hover { background: #000; }

/* Footer */
.site-footer { background: var(--ink); color: var(--muted-on-dark); padding: 64px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; }
.site-footer h2 { color: var(--white); font-size: 1rem; letter-spacing: .02em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer address { font-style: normal; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 640px) {
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--ink); border-top: 1px solid var(--line-dark);
  }
  .callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; color: var(--white); text-decoration: none; font-weight: 700; }
  .callbar a:first-child { background: var(--accent); }
  .callbar svg { width: 20px; height: 20px; }
  body { padding-bottom: 54px; }
}

/* Legal pages */
.legal { max-width: 800px; }
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.4em; }
@media (max-width: 640px) { .topbar .status { white-space: normal; font-size: .82rem; } .topbar .wrap { padding: 6px 0; } }
.topbar-links a { white-space: nowrap; }
.map-consent svg { display: block; width: 40px; height: 40px; margin: 0 auto 12px; color: var(--accent); }

/* Cookie-Banner */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; display: flex; justify-content: center; pointer-events: none; }
.consent[hidden] { display: none; }
.consent-box {
  pointer-events: auto; width: min(100%, 760px); background: var(--white); color: var(--ink);
  border-radius: var(--radius); padding: 24px 28px; box-shadow: 0 12px 40px rgba(0,0,0,.35); border-top: 4px solid var(--accent);
}
.consent-box h2 { font-size: 1.2rem; margin-bottom: .4em; }
.consent-box p { font-size: .93rem; color: var(--muted); margin-bottom: 16px; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-actions .btn { flex: 1 1 200px; justify-content: center; cursor: pointer; font-family: inherit; }
.btn-secondary { background: var(--ink); color: var(--white); }
.btn-secondary:hover { background: #000; }
@media (max-width: 640px) { .consent { left: 8px; right: 8px; bottom: 62px; } .consent-box { padding: 18px; } }
