/* A 14 Autoservice – Entwurf. Hell, schlicht, keine externen Dateien. */

:root {
  --paper: #f6f6f4;
  --white: #ffffff;
  --ink: #22262a;
  --muted: #5d646b;
  --line: #dcdcd7;
  --red: #c8102e;
  --red-dark: #a00d24;
  --wrap: 960px;
}

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

html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
address { font-style: normal; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }

/* Entwurf-Hinweis */
.draft-bar {
  background: var(--ink);
  color: #f2f2ef;
  font-size: 0.8125rem;
  padding: 0.45rem 0;
  text-align: center;
}

/* Kopf */
.top {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  min-height: 44px;
}

/* Plakette: runder Stempel wie eine Prüfplakette */
.plakette {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid var(--red);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background:
    repeating-conic-gradient(var(--red) 0 6deg, transparent 6deg 30deg) content-box;
  padding: 3px;
}

.plakette span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: -0.02em;
  color: var(--red);
}

.brand-text { font-weight: 700; line-height: 1.1; font-size: 1rem; }
.brand-text small { font-weight: 500; font-size: 0.8125rem; color: var(--muted); }

.menu-toggle {
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.nav { display: none; }

.nav.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 1rem 1rem;
}

.nav-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.5rem;
  text-decoration: none;
  font-weight: 500;
}

.nav-link:hover { color: var(--red); }

/* Knöpfe */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background-color 0.15s, color 0.15s;
}

.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-white { background: var(--white); color: var(--red); }

/* Start */
.hero { padding: 2.5rem 0 2.75rem; background: var(--white); border-bottom: 1px solid var(--line); }

.kicker {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
}

h1 {
  font-size: 1.875rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero-sub { margin-top: 0.75rem; color: var(--muted); font-size: 1.0625rem; }

.actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.actions .btn { flex: 1 1 8rem; }

.hero-hours { margin-top: 1rem; font-size: 0.9375rem; color: var(--muted); }

/* Abschnitte */
.block { padding: 2.75rem 0; border-bottom: 1px solid var(--line); }

h2 { font-size: 1.5rem; line-height: 1.2; font-weight: 800; letter-spacing: -0.015em; margin-bottom: 1.25rem; }

h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.columns { display: grid; gap: 1.75rem; }

/* Leistungen mit Lack-Farbtupfern */
.dots { list-style: none; }

.dots li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--line);
  font-size: 1.0625rem;
  font-weight: 500;
}

.dots li::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--dot, var(--red));
  box-shadow: inset -2px -2px 0 rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}

.note { margin-top: 1.5rem; color: var(--muted); }

/* Unfall-Streifen */
.unfall { background: var(--red); color: var(--white); padding: 1.5rem 0; }
.unfall-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.unfall p { font-size: 1.0625rem; }

/* Filialen */
.place {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  line-height: 1.5;
}

.place strong { display: block; margin-bottom: 0.25rem; }

.route {
  display: flex;
  width: fit-content;
  align-items: center;
  min-height: 44px;
  margin-top: 0.25rem;
  color: var(--red);
  font-weight: 600;
}

/* Öffnungszeiten */
.hours { display: grid; grid-template-columns: 1fr auto; max-width: 420px; }
.hours dt, .hours dd { padding: 0.6rem 0; border-bottom: 1px dashed var(--line); }
.hours dt { font-weight: 600; }
.hours dd { text-align: right; }

/* Chat */
.chat p { max-width: 560px; margin-bottom: 1.25rem; color: var(--muted); }

/* Fuß */
.foot { padding: 1rem 0; font-size: 0.875rem; color: var(--muted); }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem; }
.foot-links { display: flex; gap: 1rem; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }

@media (min-width: 720px) {
  h1 { font-size: 2.75rem; }
  .actions .btn { flex: 0 0 auto; }
  .columns { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (min-width: 860px) {
  .menu-toggle { display: none; }
  .nav { display: flex; gap: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
