/* PL-Werkzeuge – Hausfarben aus dem Altshop (docs/bestand/ci.md) */
:root {
  --navy: #002c53;
  --navy-hell: #0a3d6b;
  --navy-tief: #001d38;
  --cyan: #009ee0;
  --cyan-dunkel: #0077aa;   /* Cyan mit ausreichendem Kontrast für Text auf Weiß */
  --cyan-hell: #8fd6f5;     /* Cyan für Text auf Marineblau */
  --text: #333333;
  --text-2: #5c5c5c;
  --flaeche: #f5f6f8;
  --rahmen: #dde3e9;
  --fehler: #b42318;
  --ok: #1d7a3a;
  --breite: 1160px;
  --radius: 8px;
  --schrift: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --schatten: 0 1px 2px rgba(0, 29, 56, .06), 0 8px 24px rgba(0, 29, 56, .08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font: 17px/1.6 var(--schrift); color: var(--text); background: #fff; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan-dunkel); text-underline-offset: 2px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
@media (max-width: 480px) { h1 { hyphens: auto; } }

.rahmen { max-width: var(--breite); margin: 0 auto; padding: 0 20px; }
.schmal { max-width: 780px; }

.sprunglink { position: absolute; left: 12px; top: -60px; background: #fff; color: var(--navy); padding: 10px 14px; z-index: 100; border-radius: 4px; font-weight: 700; }
.sprunglink:focus { top: 12px; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--rahmen); box-shadow: 0 2px 10px rgba(0, 29, 56, .06); }
.kopf__innen { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.logo { display: block; flex-shrink: 0; }
.logo img { width: 200px; height: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 400; font-size: 1rem; padding: 10px 0; }
.nav a:not(.knopf):hover { color: var(--cyan-dunkel); }
.nav__tel { white-space: nowrap; padding-left: 26px !important; border-left: 1px solid var(--rahmen); }
.nav__tel::before { content: "☎\FE0E"; margin-right: 6px; color: var(--cyan-dunkel); }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; background: var(--cyan); color: #fff;
  font-weight: 700; text-decoration: none; border: 2px solid var(--cyan); border-radius: 6px; padding: .7em 1.6em;
  font-size: 1.05rem; cursor: pointer; font-family: inherit; transition: background-color .15s, color .15s, border-color .15s; }
.knopf:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.nav a.knopf { color: #fff; padding: .5em 1.1em; }
.nav a.knopf:hover { color: #fff; }
.knopf--klein { min-height: 44px; font-size: .98rem; }
.knopf--held:hover, .knopf--held:focus-visible { background: #fff; border-color: #fff; color: var(--navy); }
.knopf--held:focus-visible { outline-color: #fff; }
.knopf--voll { width: 100%; font-size: 1.1rem; min-height: 54px; }

/* Einstieg */
.held { background: radial-gradient(120% 140% at 85% 30%, var(--navy-hell) 0%, var(--navy) 55%, var(--navy-tief) 100%); color: #fff; }
.held__innen { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 72px; }
.held h1 { color: #fff; }
.held__lead { font-size: 1.15rem; color: #dbe6f0; max-width: 34em; }
.held__marke { font-weight: 700; font-size: 1.2rem; color: #fff; border-left: 4px solid var(--cyan); padding-left: 12px; margin-bottom: 1.4em; }
.held__punkte { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: #dbe6f0; font-size: .95rem; }
.held__punkte li { display: flex; align-items: center; gap: 8px; }
.held__punkte li::before { content: ""; width: 16px; height: 16px; flex-shrink: 0; border-radius: 50%; background: var(--cyan)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.6 2.5L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.held__bild { margin: 0; }
.held__bild svg { width: 100%; height: auto; filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .35)); }

/* Abschnitte */
.abschnitt { padding: 88px 0; }
.abschnitt--grau { background: var(--flaeche); }
.abschnitt--dunkel { background: var(--navy); color: #fff; }
.einleitung { max-width: 760px; margin-bottom: 40px; }
.einleitung p { font-size: 1.08rem; }

/* Ablauf */
.ablauf__titel { margin-bottom: 18px; }
.ablauf { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: schritt; }
.ablauf li { position: relative; background: var(--flaeche); border-radius: var(--radius); padding: 24px 24px 8px; border-top: 4px solid var(--cyan); }
.ablauf__nr { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700; margin-bottom: 12px; }
.ablauf__fuss { margin-top: 22px; color: var(--text-2); }

/* Sortiment */
.karten { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 8px; }
.karte { background: #fff; border: 1px solid var(--rahmen); border-radius: var(--radius); padding: 22px 26px 10px; box-shadow: var(--schatten); }
.karte img { width: 100%; aspect-ratio: 3 / 1; object-fit: contain; margin-bottom: 14px; }
.hinweis { margin-top: 28px; font-weight: 700; color: var(--navy); }

/* Anfrage */
.anfrage { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.anfrage__karte { background: #fff; color: var(--text); border-radius: var(--radius); padding: 36px 40px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.anfrage__pflicht { color: var(--text-2); font-size: .95rem; }
.anfrage__seite { padding-top: 12px; }
.anfrage__seite h3 { color: #fff; margin-top: 1.2em; }
.anfrage__seite h3:first-child { margin-top: 0; }
.anfrage__seite p { color: #dbe6f0; }
.anfrage__kontakt { list-style: none; margin: 4px 0 36px; padding: 0; display: grid; gap: 16px; }
.anfrage__kontakt li { display: flex; align-items: center; gap: 14px; }
.anfrage__symbol { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%; background: rgba(0, 158, 224, .16); }
.anfrage__symbol svg { width: 20px; height: 20px; fill: var(--cyan-hell); }
.anfrage__art { display: block; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: #9fb6cb; }
.anfrage__kontakt a { color: #fff; font-size: 1.15rem; font-weight: 700; text-decoration: none; }
.anfrage__kontakt a:hover { text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: 4px; }

/* Formular: einspaltig */
.formular { display: grid; gap: 20px; margin-top: 8px; }
.feld { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.feld label, .feld legend { font-weight: 700; font-size: .98rem; color: var(--navy); padding: 0; }
.optional { font-weight: 400; color: var(--text-2); }
.feld input:not([type=checkbox]):not([type=radio]), .feld select, .feld textarea { font: inherit; min-height: 48px; padding: .6em .8em;
  border: 1px solid #9fb3c8; border-radius: 6px; background: #fff; color: var(--text); width: 100%; }
.feld textarea { resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: 3px solid var(--cyan); outline-offset: 0; border-color: var(--cyan); }
.feld.ist-fehler input, .feld.ist-fehler textarea { border: 2px solid var(--fehler); background: #fffafa; }
.feld__fehler { margin: 0; color: var(--fehler); font-size: .92rem; font-weight: 700; }
.feld__fehler:empty { display: none; }
.wahlen { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.wahlen--zwei { grid-template-columns: repeat(2, minmax(0, 140px)); }
.feld .wahl { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 12px 16px; border: 1px solid #b8c6d4;
  border-radius: 6px; background: #fff; cursor: pointer; font-weight: 400; color: var(--text); line-height: 1.3;
  transition: border-color .15s, background-color .15s, box-shadow .15s; }
.feld .wahl:hover { border-color: var(--cyan); }
.feld .wahl:has(input:checked) { border-color: var(--cyan); background: #eaf7fd; box-shadow: inset 0 0 0 1px var(--cyan); }
.feld .wahl:has(input:focus-visible) { outline: 3px solid var(--cyan); outline-offset: 1px; }
.wahl input { flex-shrink: 0; width: 18px; height: 18px; margin: 0; accent-color: var(--cyan-dunkel); }
.feld--versteckt { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.klein { font-size: .9rem; color: var(--text-2); margin: 0; }
.meldung { padding: 14px 18px; border-radius: 6px; font-weight: 700; margin: 12px 0; }
.meldung--ok { background: #e7f6ec; color: var(--ok); border-left: 4px solid var(--ok); }
.meldung--fehler { background: #fdecea; color: var(--fehler); border-left: 4px solid var(--fehler); }

/* Textseiten */
.text h2 { font-size: 1.3rem; margin-top: 1.6em; }
.rechtstext ul { padding-left: 1.3em; }
.rechtstext__stand { margin-top: 4em; font-size: .85rem; color: var(--text-2); text-align: right; }

/* Fuß */
.fuss { background: var(--navy-tief); color: #c9d6e2; font-size: .95rem; }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { color: var(--cyan-hell); text-decoration: underline; }
.fuss__spalten { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 48px; }
.fuss__marke img { width: 200px; margin-bottom: 16px; }
.fuss__marke p { max-width: 26em; }
.fuss__titel { color: #fff; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.fuss address { font-style: normal; line-height: 1.8; }
.fuss ul { list-style: none; margin: 0; padding: 0; line-height: 2; }
.fuss__recht { border-top: 1px solid rgba(255, 255, 255, .12); }
.fuss__recht-innen { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 18px; padding-bottom: 18px; font-size: .88rem; }
.fuss__recht p { margin: 0; }
.fuss__recht a + a { margin-left: 24px; }

/* Mobile Anfrage-Leiste */
.mobil-anfrage { display: none; }

@media (max-width: 1000px) {
  .nav a:not(.knopf):not(.nav__tel) { display: none; }
  .fuss__spalten { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .held__innen, .karten, .anfrage, .ablauf { grid-template-columns: 1fr; }
  .held__innen { padding-top: 44px; padding-bottom: 48px; gap: 28px; }
  .abschnitt { padding: 56px 0; }
  .anfrage__karte { padding: 26px 20px; }
}
@media (max-width: 640px) {
  .logo img { width: 160px; }
  .nav__tel { display: none; }
  .nav .knopf { display: none; }
  .fuss__spalten { grid-template-columns: 1fr; gap: 28px; }
  .mobil-anfrage { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; min-height: 52px;
    align-items: center; justify-content: center; background: var(--cyan); color: #fff; font-weight: 700; text-decoration: none;
    border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 29, 56, .3); transform: translateY(140%); transition: transform .2s; }
  .mobil-anfrage.ist-sichtbar { transform: none; }
  body { padding-bottom: 0; }
}
