/* VETON GmbH – Website. Statisch, keine externen Schriften, keine Cookies, kein Fremdcode.
   Hausfarbe Türkis #007b85 (Logo), Nebenfarbe Grau #5c6d70 (Schriftzug „Verwertung Tonrohstoffe“).
   Aufbau wie die Bonke-Systems-Seiten: dunkles Petrol für Auftakt und Fuß, helle Bänder für Lesetext,
   Bonke-Pfeile statt „//“ vor kleinen Überschriften. */
:root {
  --teal: #006c75; /* Schrift-Türkis (Hausfarbe minimal abgedunkelt für Lesbarkeit) */
  --flaeche: #007b85; /* Hausfarbe für Flächen mit weißer Schrift – bleibt im Dunkelmodus gleich */
  --teal-hell: #13a3ad;
  --teal-zart: #e3f1f2;
  --petrol: #0b3a3f;
  --petrol-tief: #082a2e;
  --grau: #5c6d70;
  --tinte: #16262a;
  --tinte-weich: #4f6266;
  --linie: #d4e0e1;
  --grund: #f4f7f7;
  --papier: #ffffff;
  --auf-dunkel: #e9f4f5;
  --auf-dunkel-weich: #a8cdd1;
  --mark-bg: #fff4d6;
  --mark-linie: #e0b84a;
  --radius: 10px;
  --schatten: 0 1px 2px rgba(8, 42, 46, .06), 0 8px 24px rgba(8, 42, 46, .07);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --teal: #2bb3bc; --teal-hell: #5fd0d8; --teal-zart: #10343a;
    --tinte: #e4eef0; --tinte-weich: #a2b8bc; --linie: #24393e;
    --grund: #0c1719; --papier: #122326; --mark-bg: #3d3416; --mark-linie: #b6923a;
    --schatten: 0 1px 2px rgba(0,0,0,.4);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --teal: #2bb3bc; --teal-hell: #5fd0d8; --teal-zart: #10343a;
  --tinte: #e4eef0; --tinte-weich: #a2b8bc; --linie: #24393e;
  --grund: #0c1719; --papier: #122326; --mark-bg: #3d3416; --mark-linie: #b6923a;
  --schatten: 0 1px 2px rgba(0,0,0,.4);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--grund); color: var(--tinte);
  font: 400 17px/1.6 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; margin: 0;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); font-weight: 650; }
h3 { font-size: 1.18rem; font-weight: 620; }
p { margin: 0 0 1em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-hell); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--teal-hell); outline-offset: 3px;
}
img { max-width: 100%; height: auto; display: block; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li + li { margin-top: .3em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--flaeche); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }
mark.todo { background: var(--mark-bg); border-bottom: 2px solid var(--mark-linie); color: inherit; padding: 0 .2em; }

.wrap { width: min(1180px, 100% - 2rem); margin-inline: auto; }
@media (min-width: 700px) { .wrap { width: min(1180px, 100% - 3rem); } }

/* Kleine Überschrift mit Bonke-Pfeil (Hausregel: Pfeil statt „//“, nach oben = Grundzeichen) */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .78rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal); margin-bottom: .8rem;
}
.eyebrow::before, .pfeil {
  content: ""; display: inline-block; flex: none; background: currentColor;
  -webkit-mask: url(../img/pfeil-aus.png) center / contain no-repeat;
          mask: url(../img/pfeil-aus.png) center / contain no-repeat;
}
.eyebrow::before { width: 1.9em; height: 1.45em; }
.eyebrow.ein::before, .pfeil.ein { -webkit-mask-image: url(../img/pfeil-ein.png); mask-image: url(../img/pfeil-ein.png); }
.pfeil { width: 19px; height: 16px; }
@supports not ((-webkit-mask: url(x)) or (mask: url(x))) {
  .eyebrow::before { content: "// "; width: auto; height: auto; background: none; }
  .pfeil { display: none; }
}

/* Knöpfe – türkis, Pfeil schwarz auf Türkis */
.knopf {
  display: inline-flex; align-items: center; gap: .55em;
  background: #007b85; color: #fff; text-decoration: none; font-weight: 600;
  padding: .8em 1.35em; border-radius: 999px; border: 2px solid #007b85;
  transition: background .15s, border-color .15s, transform .15s;
}
.knopf:hover { background: #00656e; border-color: #00656e; color: #fff; transform: translateY(-1px); }
.knopf .pfeil { background: #0b1d20; }
.knopf.klein { padding: .5em 1.05em; font-size: .95rem; }
.knopf.hohl { background: transparent; color: var(--teal); }
.knopf.hohl:hover { background: var(--flaeche); border-color: var(--flaeche); color: #fff; }
.knopf.hohl .pfeil { background: currentColor; }
.knopf.hell { background: #fff; border-color: #fff; color: var(--petrol-tief); }
.knopf.hell .pfeil { background: var(--teal); }
.knopf.hell:hover { background: var(--teal-zart); border-color: var(--teal-zart); }
.knopf.rand-hell { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.knopf.rand-hell .pfeil { background: #fff; }
.knopf.rand-hell:hover { background: rgba(255,255,255,.12); }
.knoepfe { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* Kopf – weiß mit Wortmarke, klebt oben */
.kopf {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid #dde7e8; transition: box-shadow .2s;
}
.kopf.gerollt { box-shadow: 0 6px 20px rgba(8, 42, 46, .1); }
.kopf-zeile { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 72px; padding: 6px 0; }
.marke img { height: 62px; width: auto; }
.menue { display: flex; align-items: center; gap: .3rem; }
.menue a:not(.knopf) {
  color: #2b3d41; text-decoration: none; font-weight: 550; font-size: .98rem;
  padding: .55em .8em; border-radius: 8px;
}
.menue a:not(.knopf):hover { color: var(--teal); background: #eef6f6; }
.menue a[aria-current="page"]:not(.knopf) { color: #007b85; box-shadow: inset 0 -2px 0 #007b85; border-radius: 0; }
.menue .knopf { margin-left: .6rem; }
.menue-knopf { display: none; }
@media (max-width: 1140px) {
  .menue-knopf {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border: 1px solid #d4e0e1; border-radius: 10px; background: #fff; cursor: pointer;
  }
  .menue-strich, .menue-strich::before, .menue-strich::after {
    display: block; width: 20px; height: 2px; background: #0b3a3f; position: relative; transition: transform .2s, background .2s;
  }
  .menue-strich::before, .menue-strich::after { content: ""; position: absolute; left: 0; }
  .menue-strich::before { top: -6px; } .menue-strich::after { top: 6px; }
  .kopf.offen .menue-strich { background: transparent; }
  .kopf.offen .menue-strich::before { transform: translateY(6px) rotate(45deg); }
  .kopf.offen .menue-strich::after { transform: translateY(-6px) rotate(-45deg); }
  .menue {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid #d4e0e1; padding: .5rem 1rem 1.2rem;
    box-shadow: 0 12px 24px rgba(8,42,46,.12);
  }
  .kopf.offen .menue { display: flex; }
  .menue a:not(.knopf) { padding: .85em .4em; border-bottom: 1px solid #eef3f3; border-radius: 0; }
  .menue a[aria-current="page"]:not(.knopf) { box-shadow: inset 3px 0 0 #007b85; padding-left: .8em; }
  .menue .knopf { margin: 1rem 0 0; justify-content: center; }
  .marke img { height: 42px; }
}
/* Ohne Skript bleibt das Menü sichtbar */
.ohne-js .menue { display: flex; position: static; box-shadow: none; flex-flow: row wrap; }
.ohne-js .menue-knopf { display: none; }

/* Auftakt Startseite – Luftbild mit Verlauf */
.auftakt {
  position: relative; isolation: isolate; color: var(--auf-dunkel);
  background: var(--petrol-tief); padding: clamp(4.5rem, 11vw, 8.5rem) 0 clamp(3.5rem, 7vw, 5rem);
  overflow: hidden;
}
.auftakt-bild { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.auftakt::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8,42,46,.93) 0%, rgba(8,42,46,.78) 45%, rgba(8,42,46,.25) 100%),
    linear-gradient(0deg, rgba(8,42,46,.6) 0%, transparent 40%);
}
.auftakt .eyebrow { color: var(--teal-hell); }
.auftakt h1 { color: #fff; max-width: 15ch; }
.auftakt h1 em { font-style: normal; color: #5fd0d8; }
.auftakt .lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--auf-dunkel-weich); margin-top: 1.3rem; max-width: 56ch; }
.kennzahlen {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem;
  margin-top: clamp(2.5rem, 6vw, 4.5rem); padding-top: 1.6rem; border-top: 2px solid var(--teal);
  max-width: 900px;
}
.kennzahlen div { font-size: .92rem; color: var(--auf-dunkel-weich); line-height: 1.35; }
.kennzahlen strong { display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); color: #fff; font-weight: 700; letter-spacing: -.02em; margin-bottom: .2rem; }
@media (max-width: 700px) { .kennzahlen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Seitenkopf der Unterseiten */
.seitenkopf {
  position: relative; isolation: isolate; color: var(--auf-dunkel); background: var(--petrol);
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem); overflow: hidden;
}
.seitenkopf img.bild { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.seitenkopf::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,42,46,.92), rgba(8,42,46,.6) 70%, rgba(8,42,46,.35)); }
.seitenkopf .eyebrow { color: var(--teal-hell); }
.seitenkopf h1 { color: #fff; font-size: clamp(1.9rem, 4.2vw, 3rem); max-width: 22ch; }
.seitenkopf .lead { color: var(--auf-dunkel-weich); font-size: 1.12rem; margin-top: 1rem; max-width: 60ch; }
.pfad { font-size: .85rem; color: var(--auf-dunkel-weich); margin-bottom: 1.2rem; }
.pfad a { color: var(--auf-dunkel-weich); }

/* Bänder */
.band { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.band.weiss { background: var(--papier); }
.band.zart { background: var(--teal-zart); }
.band.dunkel { background: var(--petrol); color: var(--auf-dunkel); }
.band.dunkel h2 { color: #fff; }
.band.dunkel .eyebrow { color: var(--teal-hell); }
.band.dunkel p { color: var(--auf-dunkel-weich); }
.band.dunkel a:not(.knopf) { color: #8fe3e8; }
.kopfzeile { margin-bottom: 2.4rem; max-width: 760px; }
.kopfzeile h2 + p { margin-top: .9rem; color: var(--tinte-weich); font-size: 1.07rem; }
.band.dunkel .kopfzeile h2 + p { color: var(--auf-dunkel-weich); }
.mitte { text-align: center; margin-inline: auto; }
.mitte p { margin-inline: auto; }

/* Leistungskarten */
.raster { display: grid; gap: 1.4rem; }
.raster.zwei { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.raster.drei { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.raster.vier { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.karte {
  background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--schatten);
}
.karte-bild { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--teal-zart); }
.karte-text { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.karte-text p { color: var(--tinte-weich); font-size: .98rem; margin: 0; }
.karte-text .mehr { margin-top: auto; padding-top: .6rem; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .45em; }
.karte-text .mehr .pfeil { width: 17px; height: 14px; }
a.karte { text-decoration: none; color: inherit; transition: transform .18s, box-shadow .18s, border-color .18s; }
a.karte:hover { transform: translateY(-3px); border-color: var(--teal); box-shadow: 0 14px 34px rgba(8,42,46,.13); color: inherit; }
a.karte:hover h3 { color: var(--teal); }
.karte .marke-oben { border-top: 4px solid var(--teal); }

/* Bild + Text nebeneinander */
.paar { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.paar + .paar { margin-top: clamp(3rem, 7vw, 5rem); }
.paar.dreh > :first-child { order: 2; }
.paar-bild { border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); position: relative; }
.paar-bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.paar-bild figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: .7rem 1rem; font-size: .85rem; color: #fff; background: linear-gradient(0deg, rgba(8,42,46,.85), transparent); }
.paar h2, .paar h3 { margin-bottom: 1rem; }
@media (max-width: 860px) { .paar { grid-template-columns: 1fr; } .paar.dreh > :first-child { order: 0; } }

.haken { list-style: none; padding: 0; }
.haken li { position: relative; padding-left: 1.9em; }
.haken li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 1.15em; height: .95em; background: var(--teal);
  -webkit-mask: url(../img/pfeil-aus.png) center / contain no-repeat; mask: url(../img/pfeil-aus.png) center / contain no-repeat;
}
.hinweis {
  border-left: 4px solid var(--teal); background: var(--teal-zart); padding: 1.1rem 1.3rem; border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.4rem 0;
}
.hinweis p { margin: 0; }
.hinweis strong { color: var(--teal); }

/* Produkte */
.produkt { position: relative; }
.produkt .karte-bild { aspect-ratio: 4 / 3; }
.etikett {
  display: inline-block; font-size: .75rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase;
  padding: .25em .7em; border-radius: 999px; background: var(--teal-zart); color: var(--teal);
}
.etikett.rot { background: #f6e4dd; color: #8c3a20; }
.etikett.grau { background: #e6eaeb; color: #3f4f52; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .etikett.rot { background: #3a2018; color: #f0b9a5; } :root:not([data-theme="light"]) .etikett.grau { background: #24312f; color: #c5d2d3; } }
.produkt-name { font-family: Consolas, "Cascadia Mono", monospace; font-size: 1.05rem; letter-spacing: .01em; }

/* Abfallschlüssel-Tabelle */
.suche { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; margin-bottom: 1rem; }
.suche input {
  flex: 1 1 280px; font: inherit; padding: .75em 1em; border: 1px solid var(--linie); border-radius: 8px;
  background: var(--papier); color: var(--tinte);
}
.suche .zaehler { font-size: .9rem; color: var(--tinte-weich); }
.tabelle-huelle { overflow-x: auto; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--papier); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: .7rem 1rem; border-bottom: 1px solid var(--linie); vertical-align: top; }
thead th { background: var(--petrol); color: #fff; font-weight: 600; position: sticky; top: 0; }
tbody tr:last-child td { border-bottom: 0; }
td.schluessel { font-family: Consolas, "Cascadia Mono", monospace; white-space: nowrap; color: var(--teal); font-weight: 600; }
tr.gruppe td { background: var(--teal-zart); font-weight: 650; color: var(--tinte); font-size: .9rem; letter-spacing: .02em; }

/* Zeitleiste */
.zeitleiste { position: relative; list-style: none; padding: 0; margin: 0; }
.zeitleiste::before { content: ""; position: absolute; left: 7px; top: .4rem; bottom: .4rem; width: 2px; background: var(--linie); }
.zeitleiste > li { position: relative; padding-left: 2.6rem; margin: 0 0 2.2rem; }
.zeitleiste > li::before {
  content: ""; position: absolute; left: 0; top: .35rem; width: 16px; height: 16px; border-radius: 50%;
  background: var(--papier); border: 3px solid var(--teal);
}
.zeit-jahr { list-style: none; margin: 0 0 1.4rem; padding-left: 2.6rem; font-size: 1.6rem; font-weight: 700; color: var(--teal); position: relative; }
.zeit-jahr::before { content: ""; position: absolute; left: -1px; top: .55em; width: 18px; height: 18px; border-radius: 50%; background: var(--teal); }
.eintrag { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 1fr; box-shadow: var(--schatten); }
.eintrag.mit-bild { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.eintrag img { width: 100%; height: 100%; object-fit: cover; min-height: 200px; max-height: 320px; }
.eintrag-text { padding: 1.3rem 1.5rem; }
.eintrag time { display: block; font-size: .85rem; font-weight: 650; color: var(--teal); letter-spacing: .04em; margin-bottom: .35rem; }
.eintrag h3 { margin-bottom: .6rem; }
.eintrag p { color: var(--tinte-weich); font-size: .98rem; }
@media (max-width: 760px) { .eintrag.mit-bild { grid-template-columns: 1fr; } .eintrag img { max-height: 240px; } }

/* Team */
.person { text-align: center; padding: 1.8rem 1.4rem; }
.person img { width: 132px; height: 132px; object-fit: cover; border-radius: 50%; margin: 0 auto 1rem; }
.person .platzhalter { width: 132px; height: 132px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center; background: var(--teal-zart); }
.person .platzhalter img { width: 80px; height: auto; border-radius: 0; margin: 0; }
.person h3 { margin-bottom: .2rem; }
.rolle { color: var(--tinte-weich); font-size: .95rem; margin-bottom: .9rem; }
.kontaktzeilen { list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.kontaktzeilen li + li { margin-top: .25rem; }
.kontaktzeilen a { text-decoration: none; }
.kontaktzeilen a:hover { text-decoration: underline; }

/* Öffnungszeiten */
.zeiten { width: 100%; }
.zeiten td, .zeiten th { padding: .5rem 0; border-bottom: 1px dashed var(--linie); background: none; color: inherit; }
.zeiten th { font-weight: 600; width: 45%; }
.zeiten tr.zu td { color: var(--tinte-weich); }
.standort-kopf { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.standort-kopf .zeichen { width: 44px; height: 44px; border-radius: 10px; background: var(--flaeche); display: grid; place-items: center; flex: none; }
.standort-kopf .zeichen .pfeil { background: #0b1d20; width: 22px; height: 19px; }
.status { display: inline-flex; align-items: center; gap: .45em; font-size: .85rem; font-weight: 600; padding: .25em .75em; border-radius: 999px; background: #e7e9ea; color: #3a4a4d; }
.status::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: currentColor; }
.status.auf { background: #dff3e6; color: #17703c; }
.status.zu { background: #f6e4e1; color: #9a2f22; }

/* Downloads */
.dateiliste { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.datei {
  display: flex; align-items: center; gap: 1rem; padding: 1rem 1.2rem; background: var(--papier);
  border: 1px solid var(--linie); border-radius: var(--radius); text-decoration: none; color: inherit;
  transition: border-color .15s, transform .15s;
}
.datei:hover { border-color: var(--teal); transform: translateX(3px); color: inherit; }
.datei-zeichen { width: 44px; height: 52px; flex: none; border-radius: 6px; background: var(--flaeche); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: end center; padding-bottom: 6px; position: relative; }
.datei-zeichen::before { content: ""; position: absolute; top: 9px; left: 50%; translate: -50% 0; width: 20px; height: 17px; background: #0b1d20; -webkit-mask: url(../img/pfeil-ein.png) center / contain no-repeat; mask: url(../img/pfeil-ein.png) center / contain no-repeat; }
.datei strong { display: block; }
.datei span { color: var(--tinte-weich); font-size: .9rem; }

/* Anfrage-Formular (öffnet das E-Mail-Programm, nichts wird auf dem Server gespeichert) */
.formular { display: grid; gap: 1rem; }
.formular .zeile { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .formular .zeile { grid-template-columns: 1fr; } }
.formular label { display: grid; gap: .35rem; font-weight: 600; font-size: .92rem; }
.formular input, .formular select, .formular textarea {
  font: inherit; font-weight: 400; padding: .75em .9em; border: 1px solid var(--linie); border-radius: 8px;
  background: var(--papier); color: var(--tinte); width: 100%;
}
.formular textarea { min-height: 150px; resize: vertical; }
.formular .klein { font-size: .85rem; color: var(--tinte-weich); font-weight: 400; }
.kasten { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--schatten); }
.kasten h2, .kasten h3 { margin-bottom: 1rem; }

/* Aufruf-Band */
.aufruf { background: var(--flaeche); color: #fff; border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.2rem); display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.aufruf::after { content: ""; position: absolute; right: -60px; bottom: -70px; width: 360px; height: 180px; z-index: -1; background: url(../img/veton-oval.png) center / contain no-repeat; opacity: .14; filter: brightness(3); }
.aufruf h2 { color: #fff; }
.aufruf p { color: #e2f4f5; margin-top: .6rem; }
.aufruf .knoepfe { margin-top: 0; }
@media (max-width: 760px) { .aufruf { grid-template-columns: 1fr; } }

/* Häufige Fragen */
details.frage { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); }
details.frage + details.frage { margin-top: .7rem; }
details.frage summary { cursor: pointer; padding: 1rem 1.3rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details.frage summary::-webkit-details-marker { display: none; }
details.frage summary::after { content: "+"; color: var(--teal); font-size: 1.3rem; line-height: 1; }
details.frage[open] summary::after { content: "–"; }
details.frage > div { padding: 0 1.3rem 1.2rem; color: var(--tinte-weich); }

/* Stellen */
.stelle .karte-text h3 { font-size: 1.3rem; }
.stelle dl { display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; font-size: .93rem; margin: .4rem 0 .6rem; }
.stelle dt { color: var(--tinte-weich); }
.stelle dd { margin: 0; font-weight: 600; }

/* Rechtstexte */
.text { max-width: 820px; }
.text h2 { font-size: 1.4rem; margin: 2.2rem 0 .8rem; color: var(--teal); }
.text h3 { margin: 1.4rem 0 .5rem; }
.text dl { display: grid; grid-template-columns: minmax(150px, max-content) 1fr; gap: .4rem 1.5rem; }
.text dt { font-weight: 600; }
.text dd { margin: 0; }

/* Fuß */
.fuss { background: var(--petrol-tief); color: var(--auf-dunkel-weich); padding: 4rem 0 0; font-size: .95rem; border-top: 4px solid #007b85; }
.fuss a { color: var(--auf-dunkel); text-decoration: none; }
.fuss a:hover { color: #8fe3e8; text-decoration: underline; }
.fuss-raster { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
@media (max-width: 900px) { .fuss-raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fuss-raster { grid-template-columns: 1fr; } }
.fuss-marke img { height: 46px; width: auto; margin-bottom: 1rem; }
.fuss-titel { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: #5fd0d8; margin-bottom: .9rem; font-weight: 650; }
.fuss-liste { list-style: none; padding: 0; margin: 0; }
.fuss-unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; padding: 1.4rem 0 1.8rem; margin-top: 3rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }

/* Einblenden beim Scrollen (nur mit Skript) */
.js .auftauchen { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .auftauchen.sichtbar { opacity: 1; transform: none; }

@media print {
  .kopf, .fuss, .knoepfe, .menue-knopf { display: none !important; }
  .auftakt, .seitenkopf { background: none !important; color: #000; padding: 1rem 0; }
  .auftakt::after, .seitenkopf::after, .auftakt-bild, .seitenkopf img.bild { display: none; }
  .auftakt h1, .seitenkopf h1 { color: #000; }
}

/* ---------- Schnellprüfung ---------- */
.sp-oben { display: grid; grid-template-columns: 3fr 2fr; gap: 2rem; align-items: start; }
@media (max-width: 900px) { .sp-oben { grid-template-columns: 1fr; } }
.sp-zone {
  display: grid; place-items: center; gap: .5rem; text-align: center; cursor: pointer;
  min-height: 260px; padding: 2rem; border: 2px dashed var(--teal); border-radius: var(--radius);
  background: var(--teal-zart); color: var(--tinte); transition: background .15s, transform .15s, border-color .15s;
}
.sp-zone:hover, .sp-zone.drueber { background: color-mix(in srgb, var(--teal) 16%, var(--papier)); transform: scale(1.005); border-style: solid; }
.sp-zone .pfeil { width: 64px; height: 54px; background: var(--teal); }
.sp-zone strong { font-size: 1.3rem; }
.sp-zone span { color: var(--tinte-weich); font-size: .95rem; max-width: 40ch; }
.sp-dateien { margin-top: 1rem; }
.sp-dateien p { margin: .3rem 0; }
.sp-fehler { color: #9a2f22; }
.sp-schutz { display: block; font-size: .92rem; color: var(--tinte-weich); margin-top: 1rem; }
.sp-schutz .pfeil { background: var(--teal); vertical-align: -2px; margin-right: .3rem; }
.sp-schritte { padding-left: 1.2em; margin-bottom: 1.2rem; }
.sp-feld { display: grid; gap: .35rem; font-weight: 600; font-size: .92rem; }
.sp-feld select { font: inherit; font-weight: 400; padding: .65em .8em; border: 1px solid var(--linie); border-radius: 8px; background: var(--papier); color: var(--tinte); }

.sp-weg { display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; background: var(--papier); border: 1px solid var(--linie); border-top: 5px solid var(--linie); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--schatten); }
.sp-weg.gruen { border-top-color: #2e7d32; }
.sp-weg.gelb { border-top-color: #e0a800; }
.sp-weg.rot { border-top-color: #c62828; }
.sp-ampel { background: #263238; border-radius: 10px; padding: 7px; display: grid; gap: 6px; align-self: start; }
.sp-ampel span { width: 26px; height: 26px; border-radius: 50%; opacity: .2; }
.sp-ampel .r { background: #e53935; } .sp-ampel .y { background: #fbc02d; } .sp-ampel .g { background: #43a047; }
.sp-weg.rot .r, .sp-weg.gelb .y, .sp-weg.gruen .g { opacity: 1; box-shadow: 0 0 12px currentColor; }
.sp-weg.rot .r { color: #e53935; } .sp-weg.gelb .y { color: #fbc02d; } .sp-weg.gruen .g { color: #43a047; }
.sp-titel { font-size: .78rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin-bottom: .3rem; }
.sp-weg h3 { font-size: 1.35rem; }
.sp-weg.gruen h3 { color: #2e7d32; } .sp-weg.gelb h3 { color: #a86f00; } .sp-weg.rot h3 { color: #c62828; }
.sp-unter { color: var(--tinte-weich); margin: .2rem 0 .8rem; }
.sp-liste { list-style: none; padding: 0; margin: 0 0 .8rem; font-size: .95rem; }
.sp-liste li { padding: .45rem .7rem; border-radius: 6px; margin-top: .35rem; }
.sp-liste li.rot { background: #fdeaea; color: #8e1f1f; }
.sp-liste li.gelb { background: #fff6dc; color: #6b4a00; }
.sp-fehlt { font-size: .93rem; background: #fff6dc; color: #6b4a00; padding: .55rem .7rem; border-radius: 6px; }
.sp-info { font-size: .88rem; color: var(--tinte-weich); margin: .5rem 0 0; }
.sp-stand { font-size: .78rem; color: var(--tinte-weich); margin-top: .7rem; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sp-liste li.rot { background: #3a1716; color: #ffb4ab; }
  :root:not([data-theme="light"]) .sp-liste li.gelb, :root:not([data-theme="light"]) .sp-fehlt { background: #3a2f10; color: #ffdf8a; }
}

.sp-tabelle th[scope="row"] { font-weight: 550; background: none; color: var(--tinte); position: static; }
.sp-tabelle td.einheit { color: var(--tinte-weich); white-space: nowrap; font-size: .88rem; }
.sp-tabelle input { width: 7.5rem; font: inherit; padding: .4em .6em; border: 1px solid var(--linie); border-radius: 6px; background: var(--papier); color: var(--tinte); }
.sp-tabelle input:not(:placeholder-shown) { border-color: var(--teal); background: var(--teal-zart); }
.sp-tabelle td.fund { font-size: .78rem; color: var(--tinte-weich); max-width: 360px; }
.sp-tabelle td.fund span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-tabelle td.gw { font-family: Consolas, "Cascadia Mono", monospace; font-size: .85rem; white-space: nowrap; }
.sp-andere select { font: inherit; font-size: .78rem; padding: .1em .3em; }
.sp-unterlagen { align-items: start; }
.sp-block { background: var(--papier); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: var(--schatten); }
.sp-block h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin-bottom: .8rem; font-size: 1.15rem; }
.sp-ok, .sp-nok { font-size: .78rem; font-weight: 650; padding: .2em .7em; border-radius: 999px; }
.sp-ok { background: #dff3e6; color: #17703c; } .sp-nok { background: #fff1d0; color: #7a5200; }
.sp-check { list-style: none; padding: 0; margin: 0; font-size: .94rem; }
.sp-check li { position: relative; padding-left: 1.7em; }
.sp-check li + li { margin-top: .45rem; }
.sp-check li::before { position: absolute; left: 0; top: 0; font-weight: 700; }
.sp-check li.ja::before { content: "✓"; color: #2e7d32; }
.sp-check li.nein::before { content: "✗"; color: #c62828; }
.sp-check li.teil::before { content: "!"; color: #b7791f; left: .3em; }
.sp-art { display: inline-block; font-size: .72rem; font-weight: 650; text-transform: uppercase; letter-spacing: .05em; padding: .15em .6em; border-radius: 999px; background: var(--teal-zart); color: var(--teal); margin-right: .3rem; }
.sp-art.bild { background: #e8eef9; color: #34507a; } .sp-art.warn { background: #fff1d0; color: #7a5200; } .sp-art.grau { background: #e6eaeb; color: #3f4f52; }
.sp-tabelle td.gw.gruen { color: #2e7d32; } .sp-tabelle td.gw.rot { color: #c62828; background: #fdeaea; font-weight: 700; }
.sp-tabelle td.gw.gelb { color: #8a5a00; background: #fff6dc; font-weight: 700; } .sp-tabelle td.gw.nm, .sp-tabelle td.gw.fehlt { color: var(--tinte-weich); }
#sp-avv-hinweis { color: var(--teal); font-weight: 500; }
button.knopf:disabled { opacity: .6; cursor: progress; }
.sp-wege { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; align-items: start; }
@media (max-width: 1100px) { .sp-wege { grid-template-columns: 1fr; } }
.sp-wege .sp-weg { grid-template-columns: 1fr; }
.sp-wege .sp-ampel { grid-auto-flow: column; justify-self: start; }
.sp-klasse { margin: .2rem 0 0; font-size: 1.02rem; }
.sp-liste li.ok { background: #e6f4ea; color: #1b5e20; }
.sp-empfehlung { margin-top: 1.6rem; border-radius: var(--radius); padding: 1.3rem 1.5rem; border: 2px solid var(--linie); background: var(--papier); }
.sp-empfehlung h3 { margin-bottom: .5rem; }
.sp-empfehlung.gruen { border-color: #2e7d32; background: #eaf6ea; } .sp-empfehlung.gruen h3 { color: #2e7d32; }
.sp-empfehlung.gelb { border-color: #e0a800; background: #fff8e1; } .sp-empfehlung.gelb h3 { color: #8a5a00; }
.sp-empfehlung.rot { border-color: #c62828; background: #fdeaea; } .sp-empfehlung.rot h3 { color: #c62828; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sp-empfehlung { background: var(--papier); } :root:not([data-theme="light"]) .sp-liste li.ok { background: #16301d; color: #a5d6a7; } }
.sp-weiter { display: flex; gap: .7rem; align-items: flex-start; margin-top: 1rem; padding: 1rem 1.2rem; border: 1px dashed #c62828; border-radius: var(--radius); background: var(--papier); cursor: pointer; }
.sp-weiter input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: #007b85; flex: none; }

.sp-unverbindlich { margin-top: 1rem; padding: .7rem .9rem; border-radius: 8px; background: #fff6dc; color: #5a4100; border: 1px solid #e0b84a; font-size: .9rem; }
.sp-unverbindlich.gross { font-size: 1rem; margin: 0 0 1.4rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sp-unverbindlich { background: #3a2f10; color: #ffdf8a; border-color: #b6923a; } }
.sp-fortschritt { margin: .8rem 0; }
.sp-balken { height: 12px; border-radius: 999px; background: var(--teal-zart); overflow: hidden; box-shadow: inset 0 0 0 1px var(--linie); }
.sp-balken span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #007b85, #13a3ad); border-radius: 999px; transition: width .4s ease; }
.sp-fortschritt p { margin: .4rem 0 0; font-size: .9rem; color: var(--tinte-weich); }
.sp-f-rest { font-weight: 600; color: var(--teal); }
.sp-tabelle input.ocr { border-color: #e0a800 !important; background: #fff6dc !important; }

/* Rufnummern nie umbrechen (Bauskript setzt .tel um jede Nummer im Text) */
.tel, a[href^="tel:"] { white-space: nowrap; }
.aufruf a:not(.knopf) { color: #fff; }
.sp-art.ki { background: #e3e9fb; color: #2c3f8f; }
.sp-tabelle input.ki { border-color: #5468c4 !important; background: #eef1fd !important; }
#sp-ki { margin-top: 1.4rem; border: 2px solid #5468c4; background: var(--papier); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
#sp-ki h3 { margin-bottom: .5rem; color: #2c3f8f; }
#sp-ki ul { margin: .4rem 0 .8rem; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #sp-ki h3 { color: #b7c3ff; } }

/* Mitgliedschaft UVMB (Textmarke, bis das offizielle Logo vorliegt) */
.mitglied { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1.2rem; text-decoration: none; color: var(--auf-dunkel-weich); font-size: .82rem; line-height: 1.3; }
.mitglied-marke { display: inline-grid; place-items: center; padding: .35em .6em; border: 2px solid currentColor; border-radius: 6px; font-weight: 800; letter-spacing: .08em; font-size: .95rem; color: #fff; }
.fuss a.mitglied:hover { color: #8fe3e8; text-decoration: none; }
.mitglied.gross { color: var(--tinte); font-size: 1rem; margin: 0; }
.mitglied.gross .mitglied-marke { color: #007b85; font-size: 1.6rem; }
.mitglied-logo { flex: none; display: inline-block; background: #fff; border-radius: 8px; padding: .35rem .5rem; line-height: 0; }
.mitglied-logo img { width: 96px; height: auto; }
.mitglied.gross { flex-direction: column; text-align: center; gap: .9rem; }
.mitglied.gross .uvmb-gross { width: min(260px, 70vw); height: auto; background: #fff; border-radius: 12px; padding: 1rem 1.2rem; box-sizing: content-box; }
.mitglied.gross { color: var(--auf-dunkel-weich, #cfe3e5); }

/* Lesbarkeit (Kontrastmessung 14.11.2026) */
.band.dunkel .eyebrow { color: #5fd0d8; }
.aufruf p, .aufruf .tel { color: #fff; }
.datei .datei-zeichen { color: #fff; }
.sp-weg.gelb h3 { color: #7a5000; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .sp-weg.gelb h3, :root:not([data-theme="light"]) .sp-empfehlung.gelb h3 { color: #ffd166; }
  :root:not([data-theme="light"]) .sp-weg.gruen h3, :root:not([data-theme="light"]) .sp-empfehlung.gruen h3 { color: #8ed99a; }
  :root:not([data-theme="light"]) .sp-weg.rot h3, :root:not([data-theme="light"]) .sp-empfehlung.rot h3 { color: #ff9a8f; }
}

/* Team: einheitliche Profilbilder */
.raster.team { grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.person .foto { width: 148px; height: 148px; margin: 0 auto 1.1rem; border-radius: 50%; overflow: hidden; background: var(--teal-zart);
  box-shadow: 0 0 0 4px var(--papier), 0 0 0 6px #007b85, 0 10px 24px rgba(8, 42, 46, .18); }
.person .foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; margin: 0; transform: scale(1.06); }
.person .foto.zeichen { display: grid; place-items: center; }
.person .foto.zeichen img { width: 62%; height: auto; transform: none; }

/* Schnellprüfung: mehrere Proben/Haufwerke */
.sp-proben { margin: 0 0 1.4rem; }
.sp-proben > .sp-info { margin: 0 0 .7rem; }
.sp-probenliste { display: flex; flex-wrap: wrap; gap: .7rem; }
.sp-probe { display: grid; gap: .35rem; text-align: left; font: inherit; color: var(--tinte); background: var(--papier); border: 2px solid var(--linie); border-radius: var(--radius); padding: .8rem 1rem; cursor: pointer; min-width: 13rem; box-shadow: var(--schatten); }
.sp-probe:hover { border-color: var(--teal); }
.sp-probe.aktiv { border-color: var(--teal); background: var(--teal-zart); }
.sp-probe:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.sp-probe-name { font-weight: 700; }
.sp-probe-wege { display: flex; align-items: center; gap: .35rem; }
.sp-punkt { width: .95rem; height: .95rem; border-radius: 50%; background: var(--linie); }
.sp-punkt.gruen { background: #43a047; } .sp-punkt.gelb { background: #f2b705; } .sp-punkt.rot { background: #e53935; }
.sp-probe-klasse { font-size: .82rem; font-weight: 650; color: var(--tinte-weich); margin-left: .3rem; }
.sp-berichte { list-style: none; padding: 0; margin: 0 0 .8rem; font-size: .88rem; color: var(--tinte-weich); }
.sp-berichte li + li { margin-top: .25rem; }
.sp-werte-probe { margin: 0 0 .7rem; color: var(--teal); }
.sp-werte-probe:empty { display: none; }
.sp-tabelle td.fund .sp-quelle { font-weight: 600; color: var(--tinte); }

/* Gesetzeshinweis LAGA → EBV/BBodSchV (klein, wiederkehrend) */
.sp-gesetz { margin: .8rem 0 0; padding: .55rem .8rem; border-left: 3px solid var(--teal); background: var(--teal-zart); color: var(--tinte); font-size: .82rem; line-height: 1.45; border-radius: 0 6px 6px 0; }
.sp-gesetz::before { content: "§ "; font-weight: 700; color: var(--teal); }
/* Annahmebereitschaftserklärung */
.sp-erklaerung { margin-top: 1.4rem; border: 2px solid #2e7d32; background: var(--papier); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.sp-erklaerung h3 { color: #2e7d32; margin-bottom: .4rem; }
.sp-erklaerung button:disabled { opacity: .55; cursor: not-allowed; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sp-erklaerung h3 { color: #a5d6a7; } }

/* Ausgeblendetes bleibt ausgeblendet, auch wenn eine Klasse display setzt (z. B. .sp-weiter) */
[hidden] { display: none !important; }
