/* Reifenservice Seiz – Stylesheet
   Farben: Anthrazit #15171A · Signalgelb #F2B705 · Hellgrau #F5F3EE */

/* ---------- Schriften (lokal, keine Verbindung zu Google) ---------- */
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/Barlow-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("../fonts/BarlowCondensed-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --ink: #15171A;
  --ink-2: #4A4E55;
  --muted: #5B5F66;
  --ground: #F5F3EE;
  --surface: #FFFFFF;
  --line: #DDD8CE;
  --line-strong: #C9C5BC;
  --accent: #F2B705;
  --dark-text: #D9D5CC;
  --dark-muted: #C9C5BC;
  --radius: 10px;
  --font: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { color: #000; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--ink); padding: 10px 16px; border-radius: 6px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
.narrow { max-width: 760px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Kopfbereich ---------- */
.site-header { background: var(--ink); color: var(--ground); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ground); }
.brand:hover { color: var(--ground); }
/* Logo: Datei assets/img/logo.png – Höhe hier anpassen */
.brand-logo { display: block; height: 48px !important; width: auto !important; max-width: 220px; object-fit: contain; }
@media (max-width: 600px) { .brand-logo { height: 40px !important; max-width: 180px; } }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: 0.04em; }
.brand-sub { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dark-muted); }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-weight: 500; font-size: 16px; }
.main-nav a { color: var(--ground); text-decoration: none; padding: 10px 0; }
.main-nav a:hover { text-decoration: underline; color: var(--ground); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-weight: 600; text-decoration: none; padding: 12px 20px; border-radius: 6px; min-height: 48px; cursor: pointer; border: 2px solid transparent; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { color: var(--ink); filter: brightness(1.05); }
.btn-outline { background: transparent; color: var(--ground); border-color: var(--ground); }
.btn-outline:hover { color: var(--ground); background: rgba(255,255,255,0.08); }
.btn-dark { background: var(--ink); color: var(--ground); }
.btn-dark:hover { color: var(--ground); background: #000; }
.btn-lg { font-size: 18px; padding: 14px 24px; min-height: 52px; }

/* ---------- Hero ---------- */
.hero { background: var(--ink); color: var(--ground); border-bottom: 8px solid var(--accent); }
.hero .wrap { padding-top: 56px; padding-bottom: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.eyebrow { margin: 0; font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }
.hero .eyebrow, .contact .eyebrow { color: var(--accent); }
.hero h1 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(42px, 6vw, 76px); line-height: 0.98; }
.hero-lead { margin: 0; font-size: 20px; color: var(--dark-text); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.hero-media { margin: 0; }
.ai-label { margin-top: 8px; font-size: 13px; color: var(--dark-muted); }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: #1F2226; }

/* ---------- Fakten ---------- */
.facts { background: var(--surface); border-bottom: 1px solid var(--line); }
.facts .wrap { padding-top: 28px; padding-bottom: 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.fact { display: flex; gap: 14px; align-items: flex-start; }
.fact svg { flex: none; }
.fact p { margin: 0; }
.fact strong { display: block; font-weight: 600; }
.fact span { color: var(--muted); font-size: 15px; }

/* ---------- Abschnitte ---------- */
.section { padding-top: 88px; padding-bottom: 40px; }
.section h2, .legal h1 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 4vw, 52px); line-height: 1.02; }
.section .intro { margin: 0 0 40px; color: var(--ink-2); max-width: 44em; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 48px; }
.band .section { padding-bottom: 88px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.step-num { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1; background: var(--accent); width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.step h3 { margin: 8px 0 0; font-size: 22px; font-weight: 600; }
.step p { margin: 0; color: var(--ink-2); }

.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service { background: var(--surface); padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.service h3 { margin: 0; font-size: 21px; font-weight: 600; }
.service p { margin: 0; color: var(--ink-2); }
.service-cta { background: var(--ink); color: var(--ground); justify-content: space-between; gap: 14px; }
.service-cta p { color: var(--ground); font-size: 21px; font-weight: 600; }
.service-cta .btn { align-self: flex-start; }

/* ---------- Preise ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card-strong { border: 2px solid var(--ink); }
.card-soft { background: var(--ground); border: 0; }
.card h3 { margin: 0 0 16px; font-size: 22px; font-weight: 600; }
.card-soft h3 { font-size: 19px; margin-bottom: 8px; }
.card-soft p { margin: 0; color: var(--ink-2); }
.price-list { margin: 0; }
.price-list div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.price-list div:last-child { border-bottom: 0; }
.price-list dd { margin: 0; font-weight: 600; white-space: nowrap; text-align: right; }
.price-list dd.wrap-ok { white-space: normal; }

/* ---------- Preisrechner ---------- */
.calc { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.calc-form { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.calc fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc legend { font-size: 20px; font-weight: 600; padding: 0; margin-bottom: 12px; }
.options { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.opt { font: inherit; font-size: 16px; font-weight: 600; text-align: left; padding: 12px 16px; min-height: 64px; border-radius: 8px; cursor: pointer; display: flex; flex-direction: column; justify-content: center; gap: 2px; color: var(--ink); background: var(--surface); border: 2px solid var(--line-strong); }
.opt:hover { border-color: var(--ink); }
.opt[aria-pressed="true"] { background: var(--accent); border-color: var(--ink); }
.opt small { font-weight: 400; font-size: 14px; color: #3D4147; }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--surface); border: 2px solid var(--line-strong); border-radius: 8px; padding: 4px; }
.stepper button { font: inherit; font-size: 24px; font-weight: 600; width: 48px; height: 48px; border: 0; border-radius: 6px; background: var(--ground); color: var(--ink); cursor: pointer; }
.stepper button:disabled { opacity: 0.4; cursor: default; }
.stepper output { min-width: 96px; text-align: center; font-weight: 600; font-size: 19px; }
.note { margin: 12px 0 0; font-size: 15px; color: var(--ink-2); }
.distance { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.distance label { font-weight: 600; font-size: 15px; }
.distance-row { display: flex; flex-wrap: wrap; gap: 10px; }
.distance-row input { flex: 1 1 260px; min-width: 0; font: inherit; font-size: 17px; padding: 12px; min-height: 52px; border: 2px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--ink); }
.distance-row input:focus { border-color: var(--ink); }
.distance-row .btn { flex: 0 0 auto; min-height: 52px; }
.distance-row .btn[disabled] { opacity: 0.6; cursor: progress; }
.distance-result { margin: 0; padding: 12px 16px; border-radius: 8px; background: var(--surface); border: 2px solid var(--ink); font-size: 16px; }
.distance-result.error { border-color: #C62828; background: #FDECEA; color: #7A1E05; }
.distance-result small { display: block; margin-top: 4px; font-size: 12px; color: var(--muted); }
.calc-summary { flex: 1 1 320px; min-width: 0; background: var(--ink); color: var(--ground); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.calc-summary h3 { margin: 0; font-size: 20px; font-weight: 600; }
.calc-summary dl { margin: 0; font-size: 16px; }
.calc-summary .row { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid #3A3D42; }
.calc-summary .row:last-child { border-bottom: 0; }
.calc-summary dt { color: var(--dark-text); }
.calc-summary dd { margin: 0; white-space: nowrap; }
.calc-summary .row-strong dt, .calc-summary .row-strong dd { color: var(--ground); font-weight: 600; }
.calc-summary .hint { font-size: 13px; color: var(--dark-muted); margin: -4px 0 0; }
.total { border-top: 2px solid var(--accent); padding-top: 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.total span { font-weight: 600; }
.total output { font-family: var(--font-display); font-weight: 700; font-size: 48px; line-height: 1; color: var(--accent); }
.calc-summary p { margin: 0; font-size: 14px; color: var(--dark-muted); }
.calc-summary .request { font-size: 15px; color: var(--dark-text); }
.calc-summary .tel { color: var(--ground); text-align: center; padding: 6px 0; }

/* ---------- Kontakt ---------- */
.contact { background: var(--ink); color: var(--ground); margin-top: 48px; }
.contact .wrap { padding-top: 88px; padding-bottom: 88px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 4vw, 52px); line-height: 1.02; }
.contact-info a { color: var(--ground); }
.big-tel { font-family: var(--font-display); font-weight: 700; font-size: 40px; text-decoration: none; line-height: 1.1; }
.contact-info p, .contact-info address { margin: 0; color: var(--dark-text); font-style: normal; }
.hours { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 24px; color: var(--dark-text); }
.hours dd { margin: 0; }
.contact-info h3 { margin: 0 0 10px; font-size: 18px; font-weight: 600; }
.form { background: var(--ground); color: var(--ink); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 15px; }
.form input, .form textarea { font: inherit; font-weight: 400; font-size: 17px; padding: 12px; border: 1px solid #8A8D93; border-radius: 6px; background: var(--surface); color: var(--ink); min-height: 48px; width: 100%; }
.form textarea { resize: vertical; }
.form .small { margin: 0; font-size: 14px; color: var(--ink-2); }
.form .btn { align-self: flex-start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; padding: 12px 16px; border-radius: 6px; font-weight: 600; }
.form-msg.error { background: #FCE4DC; color: #7A1E05; }

/* ---------- Rechtstexte ---------- */
.legal { padding-top: 72px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 32px; }
.legal h1 { font-size: clamp(40px, 6vw, 60px); }
.legal h2 { margin: 0 0 8px; font-size: 22px; font-weight: 600; }
.legal p { margin: 0 0 8px; }
.legal p:last-child { margin-bottom: 0; }
.legal ul { margin: 0 0 8px; padding-left: 22px; }
.legal .meta { color: var(--ink-2); }
.legal .box { padding: 16px 20px; background: var(--surface); border: 2px solid var(--ink); border-radius: 8px; }
.todo { background: #FFE9A8; padding: 0 4px; }

/* ---------- Fußbereich ---------- */
.site-footer { background: #0E0F11; color: var(--dark-muted); font-size: 15px; }
.site-footer .wrap { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.site-footer p { margin: 0; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a { color: var(--ground); padding: 10px 0; }

@media (max-width: 600px) {
  .section { padding-top: 64px; }
  .hero .wrap { padding-top: 36px; padding-bottom: 48px; }
  .contact .wrap { padding-top: 64px; padding-bottom: 64px; }
  .form { padding: 22px; }
  .card { padding: 22px; }
  .big-tel { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
