/* allround-kraemer.de – Stylesheet, Stand 30.10.2026 */

@font-face { font-family: "Barlow"; src: url("fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --basalt: #22262A;      /* Text, dunkle Flächen – Eifeler Basalt */
  --stahl: #56606A;       /* Nebentext */
  --linie: #D3D8DC;       /* Trennlinien */
  --grund: #EEF1F2;       /* helle Wechselflächen, kühl */
  --weiss: #FFFFFF;
  --signal: #F2B300;      /* Signalgelb: nur für Handlungen */
  --signal-hover: #FFC72B;
  --schweiss: #C77A33;    /* nur im Verfahrensschema */
  --buchse: #A88B55;

  --schrift: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --titel: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --breite: 1120px;
  --rand: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--weiss);
  color: var(--basalt);
  font-family: var(--schrift);
  font-size: 1.125rem;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

h1, h2 {
  font-family: var(--titel);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.005em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.4rem, 6.5vw, 4.6rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.35rem); }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--signal); color: var(--basalt); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 16px; }

.ic { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }

/* ---------- Kopf */
.kopf { background: var(--weiss); border-bottom: 1px solid var(--linie); position: sticky; top: 0; z-index: 20; }
.kopf-innen { max-width: var(--breite); margin: 0 auto; padding: 12px var(--rand); display: flex; align-items: center; gap: 24px; }
.marke { text-decoration: none; display: flex; align-items: center; gap: 14px; margin-right: auto; }
.marke-logo { height: 54px; width: auto; }
.marke-zusatz { font-size: 0.8rem; line-height: 1.25; color: var(--stahl); padding-left: 14px; border-left: 1px solid var(--linie); }
.hauptmenue { display: flex; align-items: center; gap: 28px; }
.hauptmenue ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }
.hauptmenue ul a { text-decoration: none; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; }
.hauptmenue ul a:hover { border-bottom-color: var(--linie); }
.hauptmenue ul a[aria-current="page"] { border-bottom-color: var(--basalt); }
.menu-knopf { display: none; }

/* ---------- Knöpfe */
.knopf {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 10px 20px;
  font-weight: 600; font-size: 1.05rem; text-decoration: none;
  border-radius: 4px; border: 2px solid transparent;
}
.knopf-signal { background: var(--signal); color: var(--basalt); }
.knopf-signal:hover { background: var(--signal-hover); }
.knopf-rahmen { border-color: rgba(255,255,255,.75); color: var(--weiss); }
.knopf-rahmen:hover { background: rgba(255,255,255,.1); }
.knopf-rahmen-dunkel { border-color: var(--basalt); color: var(--basalt); }
.knopf-rahmen-dunkel:hover { background: var(--grund); }
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.kopf-anruf { min-height: 44px; padding: 8px 16px; }

/* ---------- Aufmacher (Startseite) */
.aufmacher {
  position: relative;
  min-height: min(82vh, 760px);
  display: flex; align-items: flex-end;
  color: var(--weiss);
  background-color: var(--basalt);
  background-image:
    linear-gradient(90deg, rgba(20,23,26,.88) 0%, rgba(20,23,26,.6) 45%, rgba(20,23,26,.15) 100%),
    url("/bilder/unimog-kiesgrube.jpg");
  background-size: cover;
  background-position: center 60%;
}
.aufmacher-innen { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 96px var(--rand) 72px; }
.aufmacher h1 { max-width: 13ch; margin-bottom: 0.35em; }
.aufmacher-text { max-width: 36em; font-size: clamp(1.1rem, 2vw, 1.3rem); color: rgba(255,255,255,.9); }
.aufmacher-kennung {
  display: inline-block; margin-bottom: 20px;
  padding-left: 12px; border-left: 4px solid var(--signal);
  font-weight: 600; font-size: 0.98rem; color: rgba(255,255,255,.92);
}

/* ---------- Abschnitte */
.innen { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.abschnitt { padding: clamp(56px, 8vw, 96px) 0; }
.abschnitt-grau { background: var(--grund); }
.abschnitt-dunkel { background: var(--basalt); color: var(--weiss); }
.abschnitt-dunkel .punktliste li::before { background: var(--signal); }
.schmal { max-width: 40em; }

.seitenkopf { padding: clamp(48px, 7vw, 88px) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--linie); }
.seitenkopf h1 { max-width: 20ch; font-size: clamp(2.2rem, 5.4vw, 3.8rem); }
.einleitung { max-width: 40em; font-size: clamp(1.15rem, 1.8vw, 1.3rem); color: var(--stahl); }

.zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); }
.zweispaltig > div > h2:not(:first-child) { margin-top: 1.4em; }
.dreispaltig { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 8px; }
.dreispaltig > div { border-top: 3px solid var(--basalt); padding-top: 18px; }

/* Leistungen Startseite */
.leistungsliste { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(32px, 6vw, 80px); }
.leistungsliste li { border-top: 1px solid var(--linie); padding: 28px 0 36px; }
.leistungsliste h3 { font-size: 1.4rem; }
.leistungsliste a { font-weight: 600; }

.ausruestung { list-style: none; margin: 0; padding: 0; }
.ausruestung li { padding: 14px 0; border-bottom: 1px solid var(--linie); }
.ausruestung li:first-child { border-top: 1px solid var(--linie); }

.punktliste { list-style: none; margin: 0 0 1em; padding: 0; }
.punktliste li { position: relative; padding-left: 22px; margin-bottom: 0.5em; }
.punktliste li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 9px; height: 9px; background: var(--basalt); }

.textlink { font-weight: 600; }

/* Ablauf: echte Reihenfolge, daher nummeriert */
.ablauf { list-style: none; counter-reset: schritt; margin: 0; padding: 0; }
.ablauf li { counter-increment: schritt; position: relative; padding-left: 52px; margin-bottom: 22px; }
.ablauf li::before {
  content: counter(schritt);
  position: absolute; left: 0; top: -2px;
  width: 36px; height: 36px; display: grid; place-items: center;
  font-family: var(--titel); font-weight: 600; font-size: 1.3rem;
  border: 2px solid var(--basalt); border-radius: 50%;
}

/* ---------- Verfahrensschema */
.svg-defs { position: absolute; width: 0; height: 0; }
.schema { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.stufe { min-width: 0; margin: 0; background: var(--weiss); padding: 20px 18px 22px; border-top: 3px solid var(--basalt); }
.stufe svg { width: 100%; height: auto; max-width: 220px; display: block; margin: 0 auto 14px; }
.stufe figcaption { font-size: 1rem; line-height: 1.5; display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; }
.stufe figcaption strong { display: block; font-size: 1.1rem; }
.stufe-nr {
  width: 28px; height: 28px; display: grid; place-items: center;
  background: var(--basalt); color: var(--weiss);
  font-family: var(--titel); font-weight: 600; font-size: 1.05rem; border-radius: 50%;
}
.lasche { fill: #DCE1E5; stroke: var(--basalt); stroke-width: 2.5; }
.bohrung { fill: var(--weiss); stroke: var(--basalt); stroke-width: 2; }
.bohrung-fertig { stroke-width: 2.5; }
.bolzen { fill: url(#schraffur); stroke: var(--basalt); stroke-width: 2; }
.bolzen-grund { fill: #B9C1C8; }
.bolzen-linie { stroke: #6C7781; stroke-width: 2.2; }
.schweiss { fill: var(--schweiss); stroke: var(--basalt); stroke-width: 2; }
.raupe { fill: none; stroke: #9C5A22; stroke-width: 4; stroke-dasharray: 7 4; }
.buchse { fill: var(--buchse); stroke: var(--basalt); stroke-width: 2; }
.achse line { stroke: var(--basalt); stroke-width: 1; stroke-dasharray: 10 3 2 3; }
.mass line { stroke: #B23A1E; stroke-width: 2; }

/* ---------- Kontaktseite */
.kontaktwege { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.kontaktwege a {
  display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center;
  padding: 24px; text-decoration: none; border: 2px solid var(--basalt); border-radius: 4px; height: 100%;
}
.kontaktwege a:hover { background: var(--grund); }
.kontaktwege li:first-child a { background: var(--signal); border-color: var(--signal); }
.kontaktwege li:first-child a:hover { background: var(--signal-hover); }
.kontaktwege .ic { grid-row: span 2; width: 30px; height: 30px; }
.kw-art { font-size: 0.95rem; color: inherit; opacity: .8; }
.kw-wert { font-family: var(--titel); font-weight: 600; font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.15; overflow-wrap: anywhere; }

/* ---------- Rechtstexte */
.rechtstext { max-width: calc(44em + 2 * var(--rand)); }
.rechtstext h2 { font-family: var(--schrift); font-size: 1.2rem; font-weight: 600; margin: 1.8em 0 0.4em; line-height: 1.3; }
.rechtstext h2:first-child { margin-top: 0; }
.rechtstext p { font-size: 1.05rem; }
.stand { margin-top: 2em; color: var(--stahl); }

/* ---------- Fuß */
.fuss { background: #181B1E; color: rgba(255,255,255,.85); padding: 56px 0 28px; font-size: 1rem; }
.fuss-innen { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.fuss-logo { grid-column: 1 / -1; width: 180px; height: auto; margin-bottom: 4px; }
.fuss-titel { font-family: var(--titel); font-weight: 600; font-size: 1.3rem; color: var(--weiss); margin-bottom: 0.4em; }
.fuss a { text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss-zeile { max-width: var(--breite); margin: 40px auto 0; padding: 20px var(--rand) 0; border-top: 1px solid rgba(255,255,255,.15); font-size: 0.9rem; color: rgba(255,255,255,.6); }

.aktionsleiste { display: none; }

/* ---------- Tablet */
@media (max-width: 960px) {
  .schema { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dreispaltig { grid-template-columns: 1fr; gap: 28px; }
  .kontaktwege { grid-template-columns: 1fr; }
}

/* ---------- Handy */
@media (max-width: 860px) {
  body { padding-bottom: 68px; font-size: 1.0625rem; }
  .menu-knopf {
    display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px;
    font: 600 1rem var(--schrift); color: var(--basalt);
    background: none; border: 2px solid var(--basalt); border-radius: 4px; cursor: pointer;
  }
  .hauptmenue {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--weiss); border-bottom: 1px solid var(--linie);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--rand) 20px;
  }
  .hauptmenue.offen { display: flex; }
  .hauptmenue ul { flex-direction: column; gap: 0; }
  .hauptmenue ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--linie); }
  .hauptmenue ul a[aria-current="page"] { border-bottom-color: var(--linie); box-shadow: inset 4px 0 0 var(--basalt); padding-left: 14px; }
  .kopf-anruf { display: none; }
  .marke-logo { height: 44px; }
  .marke { gap: 10px; }
  .marke-zusatz { padding-left: 10px; font-size: 0.75rem; }

  .zweispaltig, .leistungsliste { grid-template-columns: 1fr; }
  .zweispaltig { gap: 40px; }
  .aufmacher { min-height: 78svh; background-position: 65% center; }
  .aufmacher-innen { padding-top: 64px; padding-bottom: 48px; }
  .aufmacher .knopfreihe .knopf, .abschnitt .knopfreihe .knopf { width: 100%; justify-content: center; }
  .fuss-innen { grid-template-columns: 1fr; gap: 24px; }

  .aktionsleiste {
    display: grid; grid-template-columns: 1.3fr 1fr 1fr;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: var(--basalt); border-top: 1px solid rgba(255,255,255,.15);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .aktionsleiste a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 60px; color: var(--weiss); text-decoration: none; font-weight: 600;
  }
  .aktionsleiste a + a { border-left: 1px solid rgba(255,255,255,.15); }
  .aktionsleiste .al-anruf { background: var(--signal); color: var(--basalt); }
}

@media (max-width: 420px) {
  .schema { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .stufe { padding: 14px 12px 16px; }
  .stufe figcaption { font-size: 0.95rem; }
}

@media print {
  .kopf, .aktionsleiste, .knopfreihe { display: none; }
  .aufmacher { background: none; color: var(--basalt); min-height: 0; }
}
