/* ============================================================
   Olaf Findhof KFZ-Meisterbetrieb – statische Website
   Reines HTML/CSS (kein Framework, kein JS außer CSS-Toggle)
   ============================================================ */

:root {
  --primary: #003973;
  --primary-dark: #002b57;
  --foreground: #0f1b29;
  --muted-fg: #51606f;
  --muted-bg: #f3f5f8;
  --section-bg: #f4f6f9;
  --border: #e3e7ec;
  --white: #ffffff;
  --radius: 12px;
  --max: 1152px;
  --font-body: "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--foreground);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.icon { width: 1.1em; height: 1.1em; stroke: currentColor; fill: none;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; }

.topbar {
  background: var(--primary); color: #fff; text-align: center;
  font-size: .875rem; padding: 10px 16px; letter-spacing: .02em;
}
.topbar a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.topbar a:hover { text-decoration: underline; }

.navwrap { background: #fff; border-bottom: 1px solid var(--border); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo img { height: 52px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  position: relative; display: block; font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; color: rgba(15,27,41,.8);
  padding: 26px 18px; transition: color .2s;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 2px;
  background: var(--primary); transform: scaleX(0); transition: transform .2s;
}
.nav-links a:hover::after { transform: scaleX(1); }

/* Mobile menu (CSS-only toggle) */
.nav-toggle, .nav-toggle-label { display: none; }
.nav-toggle-label { cursor: pointer; color: var(--foreground); padding: 8px; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 480px; overflow: hidden; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.05); }
.hero-overlay { position: absolute; inset: 0; background: rgba(15,27,41,.6); }
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }

.hero-text { color: #fff; max-width: 560px; }
.hero-eyebrow { font-size: .875rem; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: rgba(255,255,255,.6); margin-bottom: 12px; }
.hero-text h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 700; line-height: 1.1; margin-bottom: 20px; }
.hero-rule { width: 40px; height: 3px; background: #fff; margin-bottom: 20px; }
.hero-text p { font-size: 1rem; color: rgba(255,255,255,.78); max-width: 460px; }

.hours-card { background: #fff; border-radius: var(--radius); box-shadow: 0 25px 50px -12px rgba(0,0,0,.35); min-width: 270px; overflow: hidden; }
.hours-card-head { background: var(--primary); padding: 14px 20px; }
.hours-card-head p { color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; }
.hours-card-body { padding: 18px 20px; }
.hours-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 15px; border-bottom: 1px solid var(--border); color: rgba(15,27,41,.8); }
.hours-row:last-child { border-bottom: 0; }
.hours-row .t { font-weight: 500; color: var(--foreground); }
.hours-row.today { color: var(--primary); font-weight: 700; }
.hours-row.today .t { color: var(--primary); font-weight: 700; }
.hours-note { font-size: 12px; color: var(--muted-fg); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }

/* ---------- CTA bar ---------- */
.ctabar { background: var(--primary); }
.ctabar-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.cta {
  display: flex; align-items: center; gap: 16px; padding: 24px 28px; color: #fff;
  transition: background .2s; border-left: 1px solid rgba(255,255,255,.15);
}
.cta:first-child { border-left: 0; }
.cta:hover { background: rgba(255,255,255,.1); }
.cta .icon { width: 20px; height: 20px; opacity: .7; }
.cta-label { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.cta-sub { font-size: 14px; color: rgba(255,255,255,.6); margin-top: 2px; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-eyebrow { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .25em; color: rgba(0,57,115,.6); margin-bottom: 8px; }
.section-title { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 700; letter-spacing: -.01em; }

[id] { scroll-margin-top: 120px; }

/* ---------- Services ---------- */
.services { background: var(--section-bg); }
.services-head { padding: 64px 24px 40px; max-width: var(--max); margin: 0 auto; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: var(--max); margin: 0 auto; padding: 0 24px 64px; }

.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.06); transition: box-shadow .3s; }
.card:hover { box-shadow: 0 10px 25px -8px rgba(0,0,0,.18); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e8edf4; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 20px; }
.card-body h3 { font-size: 1rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.card-body p { font-size: .875rem; color: var(--muted-fg); }

/* ---------- Contact ---------- */
.contact { background: #fff; border-top: 1px solid var(--border); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 700; margin-bottom: 8px; }
.contact-lead { font-size: 1rem; color: var(--muted-fg); margin-bottom: 24px; }
.contact-company { font-weight: 700; margin-bottom: 20px; }
.contact-list { display: flex; flex-direction: column; gap: 16px; font-size: 15px; }
.contact-item { display: flex; align-items: flex-start; gap: 12px; color: var(--muted-fg); }
.contact-item .icon { width: 18px; height: 18px; color: var(--primary); margin-top: 3px; }
.contact-item a:hover { color: var(--primary); }

.contact-card { background: var(--primary); color: #fff; border-radius: var(--radius); padding: 36px; }
.contact-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.contact-card p { color: rgba(255,255,255,.75); font-size: 15px; margin-bottom: 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  padding: 14px 22px; border-radius: 10px; transition: background .2s, color .2s; margin-bottom: 12px;
}
.btn-light { background: #fff; color: var(--primary); }
.btn-light:hover { background: rgba(255,255,255,.88); }
.btn-outline { border: 1px solid rgba(255,255,255,.4); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.contact-card .icon { width: 18px; height: 18px; }

/* ---------- Map ---------- */
.map { width: 100%; height: 420px; }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Waschpark ---------- */
.wash { background: var(--muted-bg); border-top: 1px solid var(--border); }
.wash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.wash-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wash-photos figure { margin: 0; position: relative; aspect-ratio: 1/1; overflow: hidden; border-radius: var(--radius); }
.wash-photos img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.wash-photos figure:hover img { transform: scale(1.05); }
.wash-content h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 700; margin-bottom: 24px; }
.wash-content > p { color: var(--muted-fg); margin-bottom: 16px; }
.wash-hours-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .22em; color: var(--primary); margin: 16px 0 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--primary); color: rgba(255,255,255,.6); text-align: center; font-size: 12px; padding: 24px; letter-spacing: .02em; }
.footer a:hover { color: #fff; }
.footer .sep { margin: 0 8px; opacity: .4; }

/* ---------- Legal pages ---------- */
.legal { padding: 56px 0; background: #fff; }
.legal .container { max-width: 768px; }
.legal h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: 32px; }
.legal h2 { font-size: 1.125rem; font-weight: 700; margin: 24px 0 8px; }
.legal p { color: var(--muted-fg); margin-bottom: 12px; }
.legal a { color: var(--primary); }
.legal a:hover { text-decoration: underline; }
.legal .note { font-size: .875rem; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .wash-grid { grid-template-columns: 1fr; gap: 40px; }
  .ctabar-grid { grid-template-columns: 1fr; }
  .cta { border-left: 0; border-top: 1px solid rgba(255,255,255,.15); }
  .ctabar-grid .cta:first-child { border-top: 0; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; gap: 0; background: #fff; border-top: 1px solid var(--border);
    padding: 8px 24px 16px;
  }
  .nav-links a { padding: 10px 0; }
  .nav-links a::after { display: none; }
  .nav-toggle-label { display: inline-flex; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .navwrap { position: relative; }
  .hero { height: auto; padding: 56px 0; }
  .hours-card { width: 100%; }
}

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