/* =========================================================
   Lackier-Center Schulte, Meppen
   Schweizer Stil: hell, präzise, viel Weißraum.
   Eine Familie (Barlow), eine Akzentfarbe (Verkehrsrot).
   Zielgruppe 30 bis 60: große Schrift, klare Kontraste.
   ========================================================= */

:root {
  --tinte: #182430;        /* fast schwarzes Slate, Haupttext */
  --grau: #4d5a68;         /* Nebentext, 7:1 auf Weiß */
  --grund: #f6f7f9;        /* Seitengrund */
  --flaeche: #ffffff;      /* Karten */
  --rand: #e2e6eb;
  --rot: #c11919;          /* Verkehrsrot, nur für Aktionen und Akzente */
  --rot-dunkel: #9e1414;   /* Hover */
  --rot-hell: #fbeaea;     /* zarte rote Fläche */
  --dunkel: #141d26;       /* das eine dunkle Band (Lackaufbau) */
  --dunkel-text: #c9d3dd;
  --gruen: #1d7a3d;
  --radius: 10px;
  --schatten: 0 1px 2px rgba(24, 36, 48, 0.06), 0 8px 24px rgba(24, 36, 48, 0.07);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

body {
  font-family: "Barlow", "Helvetica Neue", Arial, sans-serif;
  font-size: 17.5px;
  line-height: 1.6;
  color: var(--tinte);
  background: var(--grund);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 32px); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { max-width: 68ch; }

a { color: var(--tinte); }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 2px; }

section { padding: clamp(56px, 9vw, 104px) 0; }

.kicker {
  display: inline-block;
  font-weight: 600;
  color: var(--rot);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sub { color: var(--grau); margin-top: 14px; font-size: 1.1rem; }

/* ---------- Reveal: nur wenn JS da ist ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s ease, transform 0.5s ease; }
.js .reveal.da { opacity: 1; transform: none; }

/* =========================================================
   Kopf
   ========================================================= */
#kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#kopf.fest { border-color: var(--rand); box-shadow: 0 2px 12px rgba(24, 36, 48, 0.06); }

.kopf-innen { display: flex; align-items: center; gap: 28px; min-height: 76px; }

.marke { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.marke svg { height: 42px; width: auto; }
.marke-text { line-height: 1.1; }
.marke-text b { font-size: 1.15rem; letter-spacing: 0.01em; display: block; }
.marke-text span { font-size: 0.82rem; color: var(--grau); }

.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  text-decoration: none; font-weight: 500; color: var(--tinte);
  padding: 10px 14px; border-radius: 8px; font-size: 1rem;
}
.nav a:hover { background: var(--grund); }
.nav a.aktiv { color: var(--rot); }

.tel-knopf {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--rot); color: #fff; text-decoration: none;
  font-weight: 600; padding: 12px 20px; border-radius: var(--radius);
  transition: background 0.2s ease;
  white-space: nowrap;
}
.tel-knopf:hover { background: var(--rot-dunkel); }
.tel-knopf svg { width: 18px; height: 18px; flex: none; }

#schalter {
  display: none; margin-left: auto;
  background: none; border: 1px solid var(--rand); border-radius: 8px;
  width: 46px; height: 46px; cursor: pointer; color: var(--tinte);
  align-items: center; justify-content: center;
}

#mobilmenu { display: none; }

@media (max-width: 900px) {
  .nav, .kopf-innen > .tel-knopf { display: none; }
  #schalter { display: inline-flex; }
  #mobilmenu {
    display: block; position: fixed; inset: 0; z-index: 60;
    background: #fff; padding: 24px;
    transform: translateX(100%); transition: transform 0.25s ease;
  }
  #mobilmenu.offen { transform: none; }
  body.offen { overflow: hidden; }
  #mobilmenu nav { display: grid; gap: 6px; margin-top: 40px; }
  #mobilmenu nav a {
    text-decoration: none; font-size: 1.35rem; font-weight: 600;
    padding: 14px 10px; border-radius: 8px;
  }
  #mobilmenu nav a:hover { background: var(--grund); }
  #mobilmenu .tel-knopf { margin-top: 22px; justify-content: center; font-size: 1.1rem; }
  #mobilZu {
    position: absolute; top: 18px; right: 18px;
    background: none; border: 1px solid var(--rand); border-radius: 8px;
    width: 46px; height: 46px; cursor: pointer; color: var(--tinte);
    display: inline-flex; align-items: center; justify-content: center;
  }
}

/* =========================================================
   Held
   ========================================================= */
#held { padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px); background: #fff; border-bottom: 1px solid var(--rand); }
.held-gitter { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .held-gitter { grid-template-columns: 1fr; } }

.held-text .ort {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--grau); font-size: 1rem; margin-bottom: 14px;
}
.held-text .ort svg { width: 17px; height: 17px; color: var(--rot); }

.held-text h1 b { color: var(--rot); font-weight: 700; }

.held-knoepfe { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.knopf-zweit {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--rand); background: #fff; color: var(--tinte);
  text-decoration: none; font-weight: 600; padding: 12px 20px;
  border-radius: var(--radius); transition: border-color 0.2s ease, background 0.2s ease;
}
.knopf-zweit:hover { border-color: var(--tinte); background: var(--grund); }

.held-hinweis { margin-top: 16px; font-size: 0.95rem; color: var(--grau); }

.held-bild { position: relative; }
.held-bild svg { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--schatten); }

/* ---------- Belege-Zeile ---------- */
.belege { border-top: 1px solid var(--rand); background: #fff; }
.belege-innen {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; padding: 22px 0;
}
@media (max-width: 760px) { .belege-innen { grid-template-columns: 1fr; gap: 10px; } }
.beleg { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--grau); font-size: 0.98rem; }
.beleg svg { width: 22px; height: 22px; color: var(--rot); flex: none; }

/* =========================================================
   Leistungen
   ========================================================= */
.karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
@media (max-width: 980px) { .karten { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .karten { grid-template-columns: 1fr; } }

.karte {
  background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: 0 1px 2px rgba(24, 36, 48, 0.04);
}
.karte svg { width: 30px; height: 30px; color: var(--rot); margin-bottom: 14px; }
.karte p { color: var(--grau); margin-top: 8px; font-size: 1rem; }

/* =========================================================
   Lackaufbau (das eine dunkle Band)
   ========================================================= */
#lackaufbau { background: var(--dunkel); color: #fff; }
#lackaufbau .kicker { color: #ff6b6b; }
#lackaufbau .sub { color: var(--dunkel-text); }
.aufbau-gitter { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .aufbau-gitter { grid-template-columns: 1fr; } }

.schichten { list-style: none; display: grid; gap: 0; margin-top: 8px; }
.schicht {
  display: grid; grid-template-columns: 64px 1fr; gap: 18px;
  padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.schicht:last-child { border-bottom: none; }
.schicht-probe { height: 46px; border-radius: 6px; align-self: center; border: 1px solid rgba(255, 255, 255, 0.18); }
.schicht h3 { color: #fff; }
.schicht p { color: var(--dunkel-text); font-size: 0.98rem; margin-top: 3px; }

/* =========================================================
   Ablauf
   ========================================================= */
.schritte { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; counter-reset: schritt; }
@media (max-width: 980px) { .schritte { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .schritte { grid-template-columns: 1fr; } }

.schritt {
  background: var(--flaeche); border: 1px solid var(--rand); border-radius: var(--radius);
  padding: 24px; counter-increment: schritt; position: relative;
}
.schritt::before {
  content: counter(schritt);
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--rot-hell); color: var(--rot);
  font-weight: 700; font-size: 1.15rem; margin-bottom: 14px;
}
.schritt p { color: var(--grau); font-size: 0.98rem; margin-top: 6px; }

/* =========================================================
   Betrieb
   ========================================================= */
#betrieb { background: #fff; border-top: 1px solid var(--rand); border-bottom: 1px solid var(--rand); }
.betrieb-gitter { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .betrieb-gitter { grid-template-columns: 1fr; } }
.betrieb-fakten { list-style: none; display: grid; gap: 14px; margin-top: 24px; }
.betrieb-fakten li { display: flex; gap: 12px; align-items: flex-start; color: var(--grau); }
.betrieb-fakten svg { width: 21px; height: 21px; color: var(--rot); flex: none; margin-top: 4px; }
.betrieb-fakten b { color: var(--tinte); }

/* =========================================================
   Kontakt
   ========================================================= */
.kontakt-gitter { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; margin-top: 40px; }
@media (max-width: 900px) { .kontakt-gitter { grid-template-columns: 1fr; } }

.kontakt-block { display: grid; gap: 20px; }
.kontakt-zeile { display: flex; gap: 14px; align-items: flex-start; }
.kontakt-zeile svg { width: 22px; height: 22px; color: var(--rot); flex: none; margin-top: 3px; }
.kontakt-zeile b { display: block; }
.kontakt-zeile a { color: var(--tinte); font-weight: 600; }
.kontakt-zeile span { color: var(--grau); }

form {
  background: var(--flaeche); border: 1px solid var(--rand); border-radius: 14px;
  padding: clamp(22px, 4vw, 34px); box-shadow: var(--schatten);
}
.feld { margin-bottom: 18px; }
label { display: block; font-weight: 600; margin-bottom: 7px; font-size: 0.98rem; }
input[type="text"], input[type="tel"], textarea {
  width: 100%; font: inherit; color: var(--tinte);
  border: 1.5px solid var(--rand); border-radius: 8px;
  padding: 12px 14px; background: #fff;
  transition: border-color 0.2s ease;
}
input:focus, textarea:focus { border-color: var(--tinte); outline: none; }
textarea { resize: vertical; min-height: 100px; }

fieldset { border: none; margin-bottom: 18px; }
legend { font-weight: 600; margin-bottom: 9px; font-size: 0.98rem; padding: 0; }
.radio-reihe { display: flex; flex-wrap: wrap; gap: 9px; }
.radio-reihe label {
  margin: 0; font-weight: 500; cursor: pointer;
  border: 1.5px solid var(--rand); border-radius: 999px;
  padding: 9px 16px; font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 7px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.radio-reihe input { accent-color: var(--rot); width: 16px; height: 16px; }
.radio-reihe label:has(input:checked) { border-color: var(--rot); background: var(--rot-hell); }

.senden {
  width: 100%; font: inherit; font-weight: 600; font-size: 1.05rem;
  background: var(--rot); color: #fff; border: none; border-radius: var(--radius);
  padding: 15px; cursor: pointer; transition: background 0.2s ease;
}
.senden:hover { background: var(--rot-dunkel); }

.status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 8px; font-size: 0.98rem; }
.status.ok { display: block; background: #e8f5ec; color: var(--gruen); }
.status.err { display: block; background: var(--rot-hell); color: var(--rot-dunkel); }

/* =========================================================
   Fuß
   ========================================================= */
footer { padding: 36px 0 44px; color: var(--grau); font-size: 0.92rem; }
.fuss-innen { display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; align-items: center; }
footer a { color: var(--grau); }
.demo-hinweis { margin-top: 14px; font-size: 0.88rem; color: #5b6673; max-width: none; }
