/* procon – Stylesheet. Keine externen Schriften, keine Frameworks. */
:root {
  --navy: #14263d;
  --navy-2: #1d3554;
  --blue: #2c5a8c;
  --signal: #f2a516;
  --signal-dark: #c9850a;
  --ink: #1b2430;
  --muted: #5b6676;
  --line: #dfe4ea;
  --bg: #ffffff;
  --bg-soft: #f4f6f9;
  --radius: 10px;
  --max: 1140px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.01em; }
h3 { font-size: 1.12rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--signal-dark); margin-bottom: .8em;
}
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }

/* Warnstreifen-Akzent (wie an Begleitfahrzeugen) */
.stripe {
  height: 6px;
  background: repeating-linear-gradient(-45deg, var(--signal) 0 14px, var(--navy) 14px 28px);
}

/* Kopfzeile */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.logo b { font-size: 1.65rem; letter-spacing: -.03em; color: var(--navy); font-weight: 800; }
.logo b span { font-weight: 400; color: var(--blue); }
.logo small { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem; }
.nav a:hover { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.4em; border-radius: 8px;
  font-weight: 650; font-size: 1rem; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: background .15s, color .15s, border-color .15s;
}
.btn--signal { background: var(--signal); color: var(--navy); }
.btn--signal:hover { background: var(--signal-dark); color: var(--navy); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.btn--small { padding: .55em 1em; font-size: .92rem; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--blue) 130%);
  color: #fff;
}
.hero::after { /* angedeutete Fahrbahnmarkierung */
  content: ""; position: absolute; right: -120px; bottom: -40px; width: 620px; height: 620px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,.12);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; padding-top: 104px; padding-bottom: 110px; }
.hero h1 { color: #fff; max-width: 15em; }
.hero h1 em { font-style: normal; color: var(--signal); }
.hero p { color: rgba(255,255,255,.82); font-size: 1.18rem; max-width: 36em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2em; }
.facts {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  margin-top: 72px; background: rgba(255,255,255,.14);
  border-radius: var(--radius); overflow: hidden; max-width: 820px;
}
.facts div { background: rgba(20,38,61,.55); padding: 20px 22px; }
.facts strong { display: block; font-size: 1.7rem; color: #fff; line-height: 1.1; }
.facts span { font-size: .92rem; color: rgba(255,255,255,.72); }

/* Leistungen */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); margin-top: 44px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.card:hover { border-color: #c6d0dc; box-shadow: 0 10px 30px -18px rgba(20,38,61,.35); transform: translateY(-2px); }
.card p { color: var(--muted); font-size: .97rem; margin: 0; }
.icon {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: #fff4dc; color: var(--signal-dark); margin-bottom: 16px;
}
.icon svg { width: 24px; height: 24px; }
.card--wide { grid-column: span 3; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  background: var(--navy); border-color: var(--navy); color: #fff; }
.card--wide h3 { color: #fff; }
.card--wide p { color: rgba(255,255,255,.78); }
.card--wide .tag { display: inline-block; background: var(--signal); color: var(--navy); font-size: .75rem; font-weight: 700;
  padding: 2px 8px; border-radius: 4px; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .06em; }

/* Über uns */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.split img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; object-position: 50% 62%; width: 100%; height: auto; }
.checks { list-style: none; padding: 0; margin: 1.5em 0 0; }
.checks li { position: relative; padding-left: 34px; margin-bottom: .8em; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .25em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 7' fill='none' stroke='%2314263d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
blockquote {
  margin: 2em 0 0; padding: 0 0 0 20px; border-left: 3px solid var(--signal);
  color: var(--muted); font-style: italic;
}
blockquote cite { display: block; font-style: normal; font-size: .9rem; margin-top: .4em; }

/* Team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 44px; }
.person { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.person img { aspect-ratio: 4/4.2; object-fit: cover; object-position: top; width: 100%; height: auto; }
.person div { padding: 22px 22px 24px; }
.person h3 { margin-bottom: .15em; }
.person .role { color: var(--muted); font-size: .95rem; margin-bottom: 1em; }
.person a { display: block; text-decoration: none; font-size: .95rem; margin-top: .25em; word-break: break-all; }

/* Anfrage */
.form-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 36px; margin-top: 40px;
  box-shadow: 0 20px 50px -35px rgba(20,38,61,.4); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 22px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid .quad { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 22px; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-weight: 700; color: var(--navy); margin-bottom: 14px; font-size: 1.05rem; padding: 0; }
label { display: block; font-size: .9rem; font-weight: 600; margin-bottom: 6px; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .7em .85em; border: 1px solid #c9d1db; border-radius: 8px; background: #fff;
}
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(242,165,22,.35); border-color: var(--signal-dark); }
textarea { min-height: 120px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; color: var(--muted); }
.consent input { width: auto; margin-top: .3em; }
.hp { position: absolute; left: -5000px; }
.form-foot { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; margin-top: 26px; }
.form-foot small { color: var(--muted); }
.notice { padding: 14px 18px; border-radius: 8px; margin-bottom: 22px; font-weight: 500; display: none; }
.notice.ok { display: block; background: #e7f6ec; color: #17603a; }
.notice.err { display: block; background: #fdeceb; color: #9b2620; }
hr.sep { border: 0; border-top: 1px solid var(--line); margin: 28px 0; }

/* Kontakt */
.contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.contact .card a { text-decoration: none; font-weight: 600; }

/* Fußzeile */
.footer { background: var(--navy); color: rgba(255,255,255,.7); font-size: .92rem; }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; padding-top: 34px; padding-bottom: 34px; }
.footer a { color: rgba(255,255,255,.85); text-decoration: none; margin-left: 18px; }
.footer a:first-child { margin-left: 0; }
.footer a:hover { color: #fff; }

/* Rechtstexte */
.legal { max-width: 820px; padding-top: 64px; padding-bottom: 88px; }
.legal h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal h3 { font-size: 1.05rem; margin-top: 1.5em; }
.legal p, .legal li { color: #333c48; }
.legal .note { background: #fff4dc; border-left: 4px solid var(--signal); padding: 12px 16px; border-radius: 6px; }

/* Responsiv */
@media (max-width: 960px) {
  .grid, .team, .contact { grid-template-columns: repeat(2, 1fr); }
  .card--wide { grid-column: span 2; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split img { aspect-ratio: 16/10; }
  .form-grid .quad { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 18px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; justify-content: center; border-bottom: 0; }
  .hero .wrap { padding-top: 64px; padding-bottom: 72px; }
  .facts { grid-template-columns: 1fr; margin-top: 48px; }
  .grid, .team, .contact, .form-grid { grid-template-columns: 1fr; }
  .card--wide { grid-column: span 1; grid-template-columns: 1fr; }
  .form-box { padding: 22px 18px; }
  .footer a { margin: 0 14px 0 0; }
  .person { display: grid; grid-template-columns: 120px 1fr; }
  .person img { aspect-ratio: auto; height: 100%; }
  .person div { padding: 16px 16px 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Ergänzungen für den Baukasten ---------- */
.section--tight { padding-top: 0; }
.section:has(+ .section--tight) { padding-bottom: 22px; }
.section--text .legal { padding-top: 0; padding-bottom: 0; }
.section--text h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.section--text + .section--text { padding-top: 0; }
.card--wide { grid-column: auto; }
.split--left > img { order: -1; }
.split--noimg { grid-template-columns: 1fr; max-width: 820px; }
.rich > :last-child { margin-bottom: 0; }
.rich h2 { font-size: 1.3rem; margin-top: 1.6em; }
.rich h3 { font-size: 1.08rem; margin-top: 1.4em; }
.rich blockquote { font-style: normal; }
.rich ul, .rich ol { padding-left: 1.3em; }
.contact .more { margin-top: .8em; }
.person-ph { aspect-ratio: 4/4.2; background: var(--bg-soft); }
.figure { margin: 0; }
.figure img { border-radius: var(--radius); width: 100%; height: auto; }
.figure figcaption { color: var(--muted); font-size: .92rem; margin-top: .6em; }
.preview-bar { background: #fff4dc; color: #6b4a00; text-align: center; padding: 10px 16px; font-size: .92rem; border-bottom: 1px solid #f0d79b; }
.preview-bar a { font-weight: 600; margin-left: 8px; }
@media (max-width: 720px) {
  .split--left > img { order: 0; }
  .person-ph { display: none; }
}
