/* Matt's Auto Service – Stylesheet */
/* Schriften – lokal eingebunden, keine Verbindung zu Google */
@font-face { font-family: 'Oswald'; font-style: normal; font-weight: 200 700; font-display: swap; src: url('fonts/oswald-variable.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/barlow-400.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/barlow-500.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/barlow-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/barlow-700.woff2') format('woff2'); }

:root {
  --primary: #25556D;
  --primary-dark: #173B4E;
  --ink: #13293A;
  --muted: #4E6270;
  --soft: #A5C0C8;
  --tint: #DFE9EC;
  --line: #D3DEE2;
  --ground: #F3F6F7;
  --white: #FFFFFF;
  --radius: 6px;
  --display: 'Oswald', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--primary); }
a:hover { color: var(--primary-dark); }
h1, h2, h3 { margin: 0; }
p { margin: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.accent { color: var(--primary); }

.display { font-family: var(--display); font-weight: 700; text-transform: uppercase; line-height: 1.02; }
.h2 { font-size: clamp(36px, 4.6vw, 60px); }
.lead { font-size: 18px; color: var(--muted); max-width: 460px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 14px 26px; border-radius: 4px; font-weight: 700; font-size: 17px; text-decoration: none; border: 2px solid var(--primary); cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--primary); }
.btn-outline:hover { background: var(--tint); }
.btn-sm { min-height: 44px; padding: 10px 18px; font-size: 16px; }

/* Top bar */
.topbar { background: var(--ink); color: var(--white); font-size: 15px; }
.topbar .container { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.topbar a { color: var(--white); font-weight: 600; text-decoration: none; }

/* Header */
.header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header .container { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; padding-top: 12px; padding-bottom: 12px; }
.logo img { height: 72px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; font-weight: 600; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--primary); }

/* Hero */
.hero { background: var(--white); }
.hero .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 96px; }
.hero-text { display: flex; flex-direction: column; gap: 28px; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; background: var(--tint); color: var(--primary); border-radius: 999px; padding: 8px 16px; font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); }
.hero h1 { font-size: clamp(44px, 6.4vw, 88px); line-height: 1; letter-spacing: .5px; }
.hero-text > p { font-size: 20px; color: var(--muted); max-width: 520px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 32px; padding-top: 20px; border-top: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--display); font-weight: 600; font-size: 30px; color: var(--primary); }
.facts span { font-size: 14px; color: var(--muted); }

.hero-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--tint); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-card { position: absolute; left: 24px; right: 24px; bottom: 24px; max-width: 340px; background: var(--white); border-radius: var(--radius); padding: 18px 20px; display: flex; gap: 14px; align-items: center; box-shadow: 0 8px 24px rgba(19, 41, 58, .14); }
.hero-card strong { display: block; }
.hero-card span { font-size: 14px; color: var(--muted); }

/* Promo */
.promo { background: var(--primary); color: var(--white); }
.promo .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.promo-text { display: flex; flex-direction: column; gap: 14px; }
.eyebrow { font-weight: 700; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; }
.promo .eyebrow { color: var(--soft); }
.promo h2 { font-size: clamp(34px, 4.6vw, 58px); }
.promo-text p { font-size: 18px; color: #E4EDF0; max-width: 560px; }
.price-card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.price { display: flex; align-items: baseline; gap: 12px; }
.price strong { font-family: var(--display); font-size: 72px; line-height: 1; color: var(--primary); }
.price span, .small { font-size: 14px; color: var(--muted); }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; }
.checks li::before { content: "✓"; color: var(--primary); font-weight: 700; }

/* Leistungen */
.section-head { display: flex; flex-wrap: wrap; gap: 16px 48px; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.card-dashed { background: transparent; border: 1.5px dashed var(--soft); }
.card h3 { font-family: var(--display); font-weight: 600; font-size: 26px; text-transform: uppercase; }
.card p { color: var(--muted); flex-grow: 1; }
.icon { width: 56px; height: 56px; border-radius: var(--radius); background: var(--tint); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.card-foot { border-top: 1px solid var(--line); padding-top: 12px; font-weight: 700; font-size: 15px; }
.price-row { display: flex; justify-content: space-between; font-size: 15px; }
.price-row span { color: var(--muted); }
.card-link { font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

/* Ablauf */
.steps-section { background: var(--tint); }
.steps-section h2 { margin-bottom: 48px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.steps li { border-top: 3px solid var(--primary); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.step-no { font-family: var(--display); font-weight: 700; font-size: 52px; line-height: 1; color: var(--soft); }
.steps h3 { font-size: 22px; }
.steps p { color: var(--muted); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 32px; }
.hours { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.hours .eyebrow { color: var(--primary); margin-bottom: 14px; }
.hours dl { margin: 0; }
.hours div { display: flex; justify-content: space-between; font-size: 18px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hours div:last-child { border-bottom: none; color: var(--muted); }
.hours dt { margin: 0; }
.hours dd { margin: 0; font-weight: 700; }
.hours div:last-child dd { font-weight: 400; }
.contact-list { display: flex; flex-direction: column; gap: 8px; font-size: 18px; }
.contact-list a, .contact-list div { color: var(--ink); text-decoration: none; display: flex; gap: 14px; align-items: center; min-height: 44px; }
.contact-list svg { color: var(--primary); flex-shrink: 0; }

.form { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 20px; align-self: start; }
.form h3 { font-size: 34px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: 15px; }
.field input, .field select, .field textarea { min-height: 48px; border: 1.5px solid var(--soft); border-radius: 4px; padding: 10px 14px; font: inherit; font-size: 16px; background: var(--white); color: var(--ink); }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--soft); outline-offset: 1px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #D5E2E7; }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--soft); flex-shrink: 0; }
.form .btn { background: var(--soft); color: var(--ink); border-color: var(--soft); justify-content: center; }
.form .btn:hover { background: var(--white); border-color: var(--white); }
.hp { position: absolute; left: -9999px; }

/* Footer */
.footer { background: var(--white); border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
.footer .container { display: flex; flex-wrap: wrap; gap: 20px 32px; justify-content: space-between; align-items: center; padding-top: 32px; padding-bottom: 32px; }
.footer-brand { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.footer-brand img { height: 60px; width: auto; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--primary); }

/* Unterseiten */
.page { background: var(--white); }
.page .container { max-width: 800px; padding-top: 72px; padding-bottom: 96px; }
.page h1 { font-size: clamp(36px, 5vw, 56px); margin-bottom: 32px; }
.page p { margin-bottom: 16px; }
.legal h2 { font-family: var(--display); font-weight: 600; font-size: 22px; text-transform: uppercase; color: var(--primary); margin: 32px 0 8px; }
.legal h2:first-child { margin-top: 0; }
.legal p { font-size: 17px; line-height: 1.6; }
.legal ul { margin: 0 0 16px; padding-left: 22px; font-size: 17px; line-height: 1.6; }
.legal li { margin-bottom: 6px; }
.legal a { overflow-wrap: anywhere; }
.docs { display: flex; flex-direction: column; gap: 12px; margin: 32px 0; }
.doc { display: flex; gap: 18px; align-items: center; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ground); color: var(--ink); text-decoration: none; transition: border-color .15s, background .15s; }
.doc:hover { border-color: var(--primary); background: var(--tint); color: var(--ink); }
.doc .icon { flex-shrink: 0; }
.doc-text { display: flex; flex-direction: column; gap: 4px; flex-grow: 1; }
.doc-text strong { font-family: var(--display); font-weight: 600; font-size: 22px; text-transform: uppercase; }
.doc-text span { font-size: 15px; color: var(--muted); }
.doc-arrow { font-size: 24px; font-weight: 700; color: var(--primary); }

/* Cookie-Hinweis (ohne Cookies) */
.cookie { position: fixed; right: 20px; bottom: 20px; z-index: 50; max-width: 420px; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-top: 4px solid var(--primary); border-radius: var(--radius); box-shadow: 0 12px 32px rgba(19, 41, 58, .22); padding: 20px; display: flex; gap: 16px; align-items: flex-start; animation: cookie-in .5s ease-out; }
.cookie[hidden] { display: none; }
.cookie-icon { color: var(--primary); flex-shrink: 0; transform: rotate(-12deg); }
.cookie-body { display: flex; flex-direction: column; gap: 8px; }
.cookie-body strong { font-family: var(--display); font-weight: 600; font-size: 22px; text-transform: uppercase; }
.cookie-body p { font-size: 15px; color: var(--muted); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin-top: 4px; }
.cookie-link { background: none; border: none; padding: 0; min-height: 44px; font: inherit; font-size: 15px; font-weight: 600; color: var(--primary); text-decoration: underline; cursor: pointer; }
.cookie-link[hidden] { display: none; }
@keyframes cookie-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .cookie { animation: none; } }

@media (max-width: 640px) {
  .cookie { left: 12px; right: 12px; bottom: 12px; max-width: none; }
  .section { padding: 64px 0; }
  .logo img { height: 56px; }
  .nav { gap: 6px 18px; font-size: 15px; }
  .header { position: static; }
  .form, .price-card, .card { padding: 24px; }
}
