/* Orgalino – Website
   Hell, klar, mit kräftigen Flächen: Weiß, Betongrau, Graphit und das
   Orange aus dem Logo als ganze Fläche (nicht als Leuchten). Keine
   Verläufe. Bewegung nur einmal: die Meldungen auf der Startseite.
   Farben und Maße hier oben – der Rest verwendet nur diese Werte. */

:root {
  --papier: #ffffff;
  --beton: #f1f2f0;
  --beton-linie: #e1e4e1;
  --graphit: #22272c;
  --schiefer: #59626b;
  --linie: #d9dde0;
  --orange: #ff8500;        /* Logo */
  --orange-tief: #f07a00;
  --orange-text: #a85700;   /* Orange als Schrift auf Weiß */
  --orange-hauch: #fff3e5;
  --nacht: #262c32;
  --nacht-linie: #3a424a;
  --nacht-text: #c9ced3;

  --schrift: "Source Sans 3", "Segoe UI", Roboto, Arial, sans-serif;
  --titel: "Outfit", "Segoe UI", Arial, sans-serif;

  --breite: 1180px;
  --rand: clamp(16px, 4vw, 40px);
  --abstand: clamp(64px, 8vw, 112px);
  --radius: 8px;
  --kopf-h: 72px;
}

/* ---------- Grundlagen ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf-h) + 16px); }
body {
  margin: 0;
  background: var(--papier);
  color: var(--graphit);
  font-family: var(--schrift);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 600px) { body { font-size: 1.0625rem; } }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--titel);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1, h2 { overflow-wrap: break-word; hyphens: auto; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); line-height: 1.05; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.2rem; line-height: 1.25; font-weight: 500; }
p { margin: 0; }
p + p { margin-top: .85em; }
ul, ol { margin: 0; padding: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--graphit); }
strong, b { font-weight: 600; }
::selection { background: var(--orange); color: var(--graphit); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }

.huelle { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.abschnitt { padding: var(--abstand) 0; }
.abschnitt.beton { background: var(--beton); }
.abschnitt.nacht { background: var(--nacht); color: #fff; }
.abschnitt.eng-oben { padding-top: 0; }
.leise { color: var(--schiefer); }
.einleitung { font-size: 1.2rem; line-height: 1.55; color: var(--schiefer); max-width: 60ch; }
.nacht .einleitung { color: var(--nacht-text); }
.text { max-width: 66ch; }
.kopf-abschnitt { max-width: 68ch; margin-bottom: clamp(32px, 4vw, 52px); }
.kopf-abschnitt h2 + .einleitung { margin-top: 12px; }
.kopf-abschnitt.mitte { margin-left: auto; margin-right: auto; text-align: center; }
.kopf-abschnitt.mitte .einleitung { margin-left: auto; margin-right: auto; }

.zum-inhalt { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--graphit); color: #fff; padding: 10px 14px; border-radius: var(--radius); }
.zum-inhalt:focus { top: 12px; }

/* ---------- Knöpfe ---------- */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-family: var(--titel);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.knopf-haupt { background: var(--orange); color: var(--graphit); }
.knopf-haupt:hover { background: var(--orange-tief); }
.knopf-neben { background: transparent; color: var(--graphit); border-color: var(--graphit); }
.knopf-neben:hover { background: var(--graphit); color: #fff; }
.knopf-reihe { display: flex; flex-wrap: wrap; gap: 12px; }
.weiter { font-weight: 600; }

/* ---------- Kopfzeile ---------- */

.kopf { position: sticky; top: 0; z-index: 20; background: var(--papier); border-bottom: 1px solid var(--linie); }
.kopf .huelle { display: flex; align-items: center; gap: 24px; height: var(--kopf-h); }
.marke { display: block; flex: none; line-height: 0; }
.marke img { width: 136px; height: auto; }
.menue { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.menue a { padding: 8px 11px; font-family: var(--titel); font-size: 1rem; text-decoration: none; border-bottom: 2px solid transparent; white-space: nowrap; }
.menue a:not(.knopf):hover { border-bottom-color: var(--linie); }
.menue a[aria-current="page"] { border-bottom-color: var(--orange); }
.menue .knopf { margin-left: 12px; min-height: 44px; padding: 9px 18px; border-bottom-width: 1.5px; }
.menue-knopf {
  display: none; margin-left: auto; width: 48px; height: 48px; align-items: center; justify-content: center;
  background: none; border: 1.5px solid var(--linie); border-radius: var(--radius); color: var(--graphit); cursor: pointer;
}
.menue-knopf svg { width: 24px; height: 24px; }
@media (max-width: 1100px) {
  .menue-knopf { display: inline-flex; }
  .menue {
    display: none; position: absolute; left: 0; right: 0; top: var(--kopf-h);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px var(--rand) 20px; background: var(--papier); border-bottom: 1px solid var(--linie);
  }
  .menue.offen { display: flex; }
  .menue a { padding: 14px 4px; border-bottom: 1px solid var(--beton-linie); font-size: 1.1rem; }
  .menue a[aria-current="page"] { border-bottom-color: var(--beton-linie); box-shadow: inset 3px 0 0 var(--orange); padding-left: 14px; }
  .menue .knopf { margin: 16px 0 0; border-bottom: 1.5px solid transparent; }
}

/* ---------- Startseite: Bühne ---------- */

.buehne-start { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.buehne-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.buehne-start h1 { font-size: clamp(2.2rem, 4.1vw, 3.35rem); hyphens: manual; }
.buehne-start .einleitung { margin-top: 22px; font-size: 1.25rem; }
.buehne-start .knopf-reihe { margin-top: 32px; }
.buehne-start .zusatz { margin-top: 22px; color: var(--schiefer); font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.buehne-start .zusatz svg { width: 20px; height: 20px; color: var(--graphit); }

.buehne-bild { position: relative; padding: clamp(28px, 4vw, 52px) 0 clamp(28px, 4vw, 52px) clamp(28px, 4vw, 52px); }
.buehne-bild::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: 0;
  right: -100vw;               /* Fläche läuft bis an den rechten Rand */
  background: var(--orange);
  border-radius: 14px 0 0 14px;
}
.buehne-bild .fenster { position: relative; box-shadow: 0 20px 44px -18px rgba(34, 39, 44, .55); }
.buehne-bild .handy { position: absolute; width: clamp(110px, 13vw, 168px); right: clamp(-8px, 1vw, 20px); bottom: -24px; box-shadow: 0 20px 40px -16px rgba(34, 39, 44, .6); }

.meldungen { position: absolute; left: -28px; top: 18%; display: grid; gap: 10px; width: min(300px, 70%); list-style: none; }
.meldung {
  display: grid; grid-template-columns: 34px 1fr; gap: 10px; align-items: center;
  padding: 10px 14px 10px 10px;
  background: var(--papier); color: var(--graphit);
  border-radius: 10px;
  box-shadow: 0 12px 28px -12px rgba(34, 39, 44, .45);
  font-size: .92rem; line-height: 1.3;
  opacity: 0;
  transform: translateY(10px);
  animation: meldung-rein .45s ease-out forwards;
}
.meldung:nth-child(1) { animation-delay: .5s; }
.meldung:nth-child(2) { animation-delay: 1.3s; }
.meldung:nth-child(3) { animation-delay: 2.1s; }
.meldung .zeichen { width: 34px; height: 34px; }
.meldung .zeichen svg { width: 19px; height: 19px; }
.meldung b { display: block; font-family: var(--titel); font-weight: 500; font-size: .98rem; }
.meldung span.klein { color: var(--schiefer); }
@keyframes meldung-rein { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .meldung { animation: none; opacity: 1; transform: none; } }

@media (max-width: 900px) {
  .buehne-raster { grid-template-columns: 1fr; }
  .buehne-bild { padding: 22px 0 22px 22px; margin-right: calc(-1 * var(--rand)); }
  .buehne-bild::before { right: 0; border-radius: 14px 0 0 14px; }
  .buehne-bild .fenster { margin-right: 22px; }
  .buehne-bild .handy { display: none; }
  .meldungen { position: static; width: auto; margin: 16px 22px 0 0; }
}

/* Stärken direkt unter der Bühne */
.staerken { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px clamp(20px, 3vw, 40px); }
.staerken > div { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.staerken h3 { font-size: 1.12rem; }
.staerken p { margin-top: 4px; color: var(--schiefer); font-size: 1rem; line-height: 1.45; }
@media (max-width: 980px) { .staerken { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .staerken { grid-template-columns: 1fr; } }

.zeichen { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--orange-hauch); color: var(--graphit); flex: none; }
.zeichen svg { width: 24px; height: 24px; }
.zeichen.gross { width: 56px; height: 56px; border-radius: 12px; }
.zeichen.gross svg { width: 30px; height: 30px; }

/* ---------- Bildschirmfotos ---------- */

.fenster { margin: 0; border-radius: 10px; overflow: hidden; background: var(--papier); border: 1px solid var(--linie); }
.fenster-leiste { display: flex; align-items: center; gap: 8px; padding: 9px 14px; background: var(--beton); border-bottom: 1px solid var(--beton-linie); color: var(--schiefer); font-size: .85rem; line-height: 1.2; }
.fenster-leiste img { width: 14px; height: 14px; }
.handy { margin: 0; border: 7px solid var(--nacht); border-radius: 26px; overflow: hidden; background: var(--papier); }
.bildtext { margin-top: 12px; font-size: .95rem; color: var(--schiefer); max-width: 70ch; }

/* ---------- Rundgang ---------- */

.reiter { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 2px 12px; margin: 0 0 28px; }
@media (max-width: 760px) { .reiter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; margin-right: calc(-1 * var(--rand)); padding-right: var(--rand); } }
.reiter button {
  flex: none;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px;
  border: 1.5px solid var(--beton-linie);
  border-radius: 999px;
  background: var(--papier);
  color: var(--graphit);
  font-family: var(--titel); font-size: 1rem; font-weight: 500;
  cursor: pointer;
}
.reiter button .zeichen { width: 30px; height: 30px; border-radius: 50%; }
.reiter button .zeichen svg { width: 17px; height: 17px; }
.reiter button:hover { border-color: var(--graphit); }
.reiter button[aria-selected="true"] { background: var(--graphit); border-color: var(--graphit); color: #fff; }
.reiter button[aria-selected="true"] .zeichen { background: var(--orange); }
.rundgang:not(.bereit) .reiter { display: none; }   /* ohne Skript: alle Tafeln untereinander */

.tafel { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.rundgang:not(.bereit) .tafel + .tafel { margin-top: 64px; }
.rundgang.bereit .tafel[hidden] { display: none; }
.rundgang.bereit .tafel { animation: tafel-rein .25s ease-out; }
@keyframes tafel-rein { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .rundgang.bereit .tafel { animation: none; } }
.tafel > div > h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 600; }
.tafel .satz { margin-top: 10px; color: var(--schiefer); font-size: 1.12rem; }
.tafel ul { list-style: none; display: grid; gap: 16px; margin-top: 24px; }
.tafel ul li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; }
.tafel ul li .zeichen { width: 40px; height: 40px; }
.tafel ul li .zeichen svg { width: 21px; height: 21px; }
.tafel ul li b { display: block; font-family: var(--titel); font-weight: 500; }
.tafel ul li span.klein { color: var(--schiefer); font-size: 1rem; line-height: 1.45; }
.tafel .weiter { display: inline-block; margin-top: 26px; }
@media (max-width: 860px) { .tafel { grid-template-columns: 1fr; } }

/* ---------- Ablauf als Linie (auf dunklem Band) ---------- */

.linie-plan { list-style: none; display: grid; grid-template-columns: repeat(var(--anzahl, 5), minmax(0, 1fr)); gap: 0 clamp(14px, 2vw, 28px); position: relative; }
.linie-plan::before { content: ""; position: absolute; left: 24px; right: 24px; top: 24px; height: 3px; background: var(--nacht-linie); }
.linie-plan li { position: relative; }
.linie-plan .halt {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--nacht); border: 3px solid var(--orange); color: #fff;
  margin-bottom: 18px;
}
.linie-plan li:first-child .halt { background: var(--orange); color: var(--graphit); }
.linie-plan .halt svg { width: 22px; height: 22px; }
.linie-plan h3, .linie-plan h4 { font-size: 1.12rem; line-height: 1.25; font-weight: 500; color: #fff; }
.linie-plan p { margin-top: 6px; font-size: .98rem; line-height: 1.45; color: var(--nacht-text); }
.linie-plan .wert {
  display: inline-block; margin-top: 14px; padding: 5px 11px; border-radius: 6px;
  background: var(--orange); color: var(--graphit);
  font-family: var(--titel); font-weight: 500; font-size: .95rem; font-variant-numeric: tabular-nums;
}
.linie-plan .modul { display: block; margin-top: 10px; font-size: .9rem; color: var(--nacht-text); }
.linie-plan .modul a { color: #fff; }
@media (max-width: 900px) {
  .linie-plan { grid-template-columns: 1fr; gap: 0; }
  .linie-plan::before { left: 24px; right: auto; top: 24px; bottom: 24px; width: 3px; height: auto; }
  .linie-plan li { display: grid; grid-template-columns: 50px 1fr; column-gap: 18px; padding-bottom: 30px; }
  .linie-plan li:last-child { padding-bottom: 0; }
  .linie-plan .halt { grid-row: span 4; margin: 0; }
  .linie-plan .wert { justify-self: start; }
}

/* ---------- Beispiel-Abläufe als Reiter auf dem dunklen Band ---------- */

.tafel.ablauf { display: block; }
.ablauf-titel { font-size: 1.3rem; font-weight: 600; color: #fff; margin-bottom: 28px; }
.rundgang.bereit .ablauf-titel { display: none; }   /* mit Skript sagt es der Reiter */
.auf-nacht .reiter button { background: transparent; border-color: var(--nacht-linie); color: #fff; }
.auf-nacht .reiter button .zeichen { background: var(--nacht-linie); color: #fff; }
.auf-nacht .reiter button:hover { border-color: #fff; }
.auf-nacht .reiter button[aria-selected="true"] { background: #fff; border-color: #fff; color: var(--graphit); }
.auf-nacht .reiter button[aria-selected="true"] .zeichen { background: var(--orange); color: var(--graphit); }
.auf-nacht .reiter { margin-bottom: clamp(32px, 4vw, 48px); }
.beteiligt { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: clamp(32px, 4vw, 44px); padding-top: 22px; border-top: 1px solid var(--nacht-linie); color: var(--nacht-text); font-size: 1rem; }

.chip-links { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-links a {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px 6px 10px; border-radius: 999px;
  font-family: var(--titel); font-weight: 500; font-size: .95rem; line-height: 1.2; text-decoration: none;
}
.chip-links svg { width: 17px; height: 17px; flex: none; }
.beteiligt .chip-links a { border: 1.5px solid var(--nacht-linie); color: #fff; }
.beteiligt .chip-links a:hover { border-color: var(--orange); }
.einstieg .chip-links a { background: var(--orange-hauch); color: var(--graphit); }
.einstieg .chip-links a:hover { background: var(--orange); }

/* ---------- Womit fangen Sie an? ---------- */

.einstiege { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.einstieg { display: flex; flex-direction: column; align-items: flex-start; padding: 26px 22px 22px; background: var(--papier); border: 1px solid var(--beton-linie); border-radius: 12px; }
.einstieg h3 { margin-top: 18px; font-size: 1.25rem; font-weight: 600; }
.einstieg p { margin-top: 8px; color: var(--schiefer); font-size: 1rem; line-height: 1.45; }
.einstieg .chip-links { margin-top: auto; padding-top: 20px; }
@media (max-width: 1000px) { .einstiege { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .einstiege { grid-template-columns: 1fr; gap: 14px; }
  .einstieg { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; padding: 20px 18px; }
  .einstieg .zeichen { grid-row: span 3; width: 48px; height: 48px; }
  .einstieg h3 { margin-top: 4px; }
  .einstieg .chip-links { padding-top: 14px; }
  .chips { gap: 8px; }
  .chips li { padding: 7px 13px; font-size: .98rem; }
}
.branchen { margin-top: clamp(40px, 5vw, 56px); }
.branchen p { margin-bottom: 14px; color: var(--schiefer); font-size: 1.05rem; }

/* ---------- Kacheln (Module mit Bild) ---------- */

.kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); }
.kachel { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; background: var(--papier); border: 1px solid var(--beton-linie); text-decoration: none; }
.kachel img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; width: 100%; background: var(--beton); border-bottom: 1px solid var(--beton-linie); }
.kachel .inhalt { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 20px 22px; }
.kachel h3 { font-size: 1.22rem; font-weight: 600; }
.kachel p { margin-top: 4px; color: var(--schiefer); font-size: 1rem; line-height: 1.45; }
.kachel:hover { border-color: var(--graphit); }
.kachel:hover h3 { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 4px; }
@media (max-width: 960px) { .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .kacheln { grid-template-columns: 1fr; } }

/* ---------- Branchen-Chips ---------- */

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 9px 16px; border-radius: 999px; background: var(--papier); border: 1.5px solid var(--beton-linie); font-size: 1.02rem; }
.abschnitt:not(.beton) .chips li { background: var(--beton); border-color: var(--beton); }

.haken { list-style: none; display: grid; gap: 12px; }
.haken li { position: relative; padding-left: 30px; }
.haken li::before {
  content: ""; position: absolute; left: 2px; top: .42em; width: 13px; height: 7px;
  border-left: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: rotate(-45deg);
}
.einleitung + .haken, .text + .haken { margin-top: 22px; }

/* ---------- Ansprechpartner ---------- */

.person { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: var(--beton); }
.person blockquote { margin: 0; font-family: var(--titel); font-weight: 500; font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.3; max-width: 30ch; }
.person .name { margin-top: 18px; font-weight: 600; }
.person .rolle { margin-top: 0; color: var(--schiefer); }
.dienste { list-style: none; display: grid; gap: 0; margin-top: 32px; max-width: 560px; }
.dienste a { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--linie); text-decoration: none; }
.dienste li:last-child a { border-bottom: 1px solid var(--linie); }
.dienste b { display: block; font-family: var(--titel); font-weight: 500; font-size: 1.08rem; }
.dienste span.klein { color: var(--schiefer); font-size: .98rem; }
.dienste .pfeil { width: 20px; height: 20px; color: var(--schiefer); }
.dienste a:hover b { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 760px) {
  .person { grid-template-columns: 1fr; }
  .person img { max-width: 220px; }
}

/* ---------- Häufige Fragen ---------- */

.fragen { max-width: 820px; border-bottom: 1px solid var(--beton-linie); }
.fragen details { border-top: 1px solid var(--beton-linie); }
.fragen summary {
  display: flex; justify-content: space-between; gap: 20px; padding: 20px 0;
  font-family: var(--titel); font-size: 1.15rem; font-weight: 500; cursor: pointer; list-style: none;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin: 6px 4px 0 0;
  border-right: 2.5px solid var(--graphit); border-bottom: 2.5px solid var(--graphit); transform: rotate(45deg);
}
.fragen details[open] summary::after { transform: rotate(-135deg); margin-top: 12px; }
.fragen .antwort { padding: 0 0 22px; max-width: 68ch; color: var(--schiefer); }

/* ---------- Aufruf, Fuß ---------- */

.aufruf { background: var(--orange); color: var(--graphit); padding: clamp(52px, 6vw, 80px) 0; }
.aufruf .huelle { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.aufruf p { margin-top: 10px; max-width: 54ch; font-size: 1.12rem; }
.aufruf .knopf-haupt { background: var(--graphit); color: #fff; }
.aufruf .knopf-haupt:hover { background: #000; }
.aufruf .knopf-neben { border-color: var(--graphit); }

.fuss { background: var(--nacht); color: var(--nacht-text); padding: 56px 0 28px; font-size: 1rem; }
.fuss-raster { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.fuss h2 { font-size: 1rem; font-weight: 600; margin-bottom: 12px; color: #fff; }
.fuss ul { list-style: none; display: grid; gap: 6px; }
.fuss a { text-decoration: none; color: #fff; }
.fuss a:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.fuss .marke img { width: 130px; }
.fuss .unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--nacht-linie); font-size: .95rem; }
.fuss .anschrift { color: #fff; }
@media (max-width: 760px) { .fuss-raster { grid-template-columns: 1fr; } }

/* ---------- Unterseiten: Kopf ---------- */

.seitenkopf { padding: clamp(44px, 6vw, 80px) 0 clamp(32px, 4vw, 48px); }
.seitenkopf h1 { max-width: 20ch; }
.seitenkopf .einleitung { margin-top: 18px; }
.pfad { margin-bottom: 18px; font-size: .98rem; color: var(--schiefer); }
.pfad a { color: var(--schiefer); }
.pfad span[aria-hidden] { margin: 0 6px; }
.sprungliste { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 28px; list-style: none; }
.sprungliste a { display: inline-block; padding: 8px 16px; border: 1.5px solid var(--linie); border-radius: 999px; text-decoration: none; font-size: 1rem; }
.sprungliste a:hover { border-color: var(--graphit); }

/* ---------- Modulseite ---------- */

.modulkopf { display: flex; align-items: center; gap: 16px; }
.modulkopf h1 { min-width: 0; }
.modul-bild { position: relative; padding: clamp(24px, 3.5vw, 44px); border-radius: 16px; background: var(--orange); }
.modul-bild .handy { position: absolute; width: clamp(110px, 12vw, 160px); right: clamp(-12px, -1vw, 0px); bottom: -28px; box-shadow: 0 20px 40px -16px rgba(34, 39, 44, .6); }
.modul-bild .fenster { box-shadow: 0 20px 44px -18px rgba(34, 39, 44, .55); }
@media (max-width: 760px) { .modul-bild .handy { display: none; } .modul-bild { padding: 16px; } }

.kern { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.kern > div { padding-top: 4px; }
.kern h3 { margin-top: 16px; font-size: 1.25rem; font-weight: 600; }
.kern p { margin-top: 6px; color: var(--schiefer); font-size: 1.04rem; }
@media (max-width: 760px) { .kern { grid-template-columns: 1fr; } .kern > div { display: grid; grid-template-columns: 56px 1fr; column-gap: 16px; } .kern h3 { margin-top: 2px; } .kern .zeichen { grid-row: span 2; } }

.mehrwert-satz { margin: 0; padding-left: 22px; border-left: 5px solid var(--orange); font-family: var(--titel); font-weight: 500; font-size: clamp(1.35rem, 2.4vw, 1.75rem); line-height: 1.35; max-width: 40ch; }
.mehrwert-satz small { display: block; margin-bottom: 8px; font-family: var(--schrift); font-size: 1rem; font-weight: 600; color: var(--orange-text); }

.alle-funktionen { border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.alle-funktionen summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0;
  font-family: var(--titel); font-size: 1.25rem; font-weight: 500; cursor: pointer; list-style: none;
}
.alle-funktionen summary::-webkit-details-marker { display: none; }
.alle-funktionen summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin-right: 4px;
  border-right: 2.5px solid var(--graphit); border-bottom: 2.5px solid var(--graphit); transform: rotate(45deg);
}
.alle-funktionen[open] summary::after { transform: rotate(-135deg); }
.gruppen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 48px; padding: 4px 0 32px; }
.gruppe h3 { font-size: 1.15rem; margin-bottom: 12px; }
.gruppe .haken { gap: 10px; font-size: 1.02rem; }
@media (max-width: 760px) { .gruppen { grid-template-columns: 1fr; } }

.verbunden { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.verbunden > span { margin-right: 6px; color: var(--schiefer); }
.verbunden a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--beton); text-decoration: none; }
.verbunden a svg { width: 18px; height: 18px; }
.verbunden a:hover { background: var(--beton-linie); }

.blaettern { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.blaettern a { display: block; padding: 18px 20px; border: 1.5px solid var(--linie); border-radius: var(--radius); text-decoration: none; }
.blaettern a:hover { border-color: var(--graphit); }
.blaettern small { display: block; color: var(--schiefer); font-size: .92rem; }
.blaettern b { font-family: var(--titel); font-weight: 500; font-size: 1.15rem; }
.blaettern .naechstes { text-align: right; grid-column: 2; }
@media (max-width: 560px) { .blaettern { grid-template-columns: 1fr; } .blaettern .naechstes { grid-column: 1; text-align: left; } }

/* ---------- Leistungen, Über mich ---------- */

.zwei-spalten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(36px, 6vw, 88px); }
@media (max-width: 860px) { .zwei-spalten { grid-template-columns: 1fr; } }
.seite-an-seite { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.seite-an-seite .text > h2 + * { margin-top: 16px; }
@media (max-width: 900px) { .seite-an-seite { grid-template-columns: 1fr; } }

.vorteile { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px clamp(24px, 4vw, 56px); }
.vorteile > div { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; align-content: start; }
.vorteile .zeichen { grid-row: span 2; }
.vorteile h3 { font-size: 1.15rem; }
.vorteile p { margin-top: 6px; color: var(--schiefer); font-size: 1.02rem; }
.vorteile.zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; }
.vorteile.vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .vorteile, .vorteile.vier { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .vorteile, .vorteile.zwei, .vorteile.vier { grid-template-columns: 1fr; } }

.schritte { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; counter-reset: schritt; }
.schritte.drei-schritte { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.schritte li { counter-increment: schritt; }
.schritte li::before {
  content: counter(schritt);
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; margin-bottom: 14px;
  background: var(--orange); color: var(--graphit);
  font-family: var(--titel); font-size: 1.25rem; font-weight: 600;
}
.schritte h3 { font-size: 1.15rem; }
.schritte p { margin-top: 6px; color: var(--schiefer); font-size: 1.02rem; }
.nacht .schritte p { color: var(--nacht-text); }
@media (max-width: 900px) { .schritte, .schritte.drei-schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .schritte, .schritte.drei-schritte { grid-template-columns: 1fr; } }
.zitat { margin: 24px 0 0; padding-left: 18px; border-left: 4px solid var(--orange); font-family: var(--titel); font-size: 1.2rem; line-height: 1.4; }

.ueber { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.ueber img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: var(--beton); }
.ueber .text > * + * { margin-top: 16px; }
@media (max-width: 820px) { .ueber { grid-template-columns: 1fr; } .ueber img { max-width: 260px; } }
.erfahrung { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 48px; }
.erfahrung > div { border-top: 3px solid var(--orange); padding-top: 16px; }
.erfahrung .jahre { color: var(--nacht-text); font-size: 1rem; margin-top: 2px; }
.erfahrung p:last-child { margin-top: 10px; }
@media (max-width: 640px) { .erfahrung { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */

.kontakt-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .kontakt-raster { grid-template-columns: 1fr; } }
.kontaktwege { display: grid; }
.kontaktwege a { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; padding: 16px 0; border-top: 1px solid var(--linie); text-decoration: none; }
.kontaktwege a:last-child { border-bottom: 1px solid var(--linie); }
.kontaktwege small { display: block; color: var(--schiefer); font-size: .92rem; }
.kontaktwege b { font-weight: 600; font-size: 1.1rem; }
.kontaktwege a:hover b { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.anschrift { font-style: normal; margin-top: 28px; line-height: 1.55; }
.karte { margin-top: 28px; }
.karte svg { width: 100%; height: auto; display: block; }
.karte text { font-family: var(--schrift); font-size: 13px; fill: var(--schiefer); }
.karte .daheim text { fill: var(--graphit); font-weight: 600; font-size: 14px; }

.formular { background: var(--beton); border-radius: 12px; padding: clamp(22px, 3.5vw, 36px); }
.formular h2 { font-size: 1.5rem; }
.formular > p { margin-top: 8px; }
.formular form { display: grid; gap: 18px; margin-top: 24px; }
.feldpaar { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .feldpaar { grid-template-columns: 1fr; } }
.feld label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 1rem; }
.feld .optional { font-weight: 400; color: var(--schiefer); }
.feld input, .feld select, .feld textarea {
  width: 100%; min-height: 48px; padding: 10px 12px;
  border: 1.5px solid #c3c9ce; border-radius: var(--radius);
  background: #fff; color: var(--graphit); font: inherit; font-size: 1.05rem;
}
.feld textarea { min-height: 140px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus { outline: none; border-color: var(--graphit); box-shadow: 0 0 0 3px var(--orange); }
.feld[aria-invalid="true"] input { border-color: #b3261e; }
.zustimmung { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 1rem; }
.zustimmung input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--orange); }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.meldung-fehler { color: #b3261e; font-weight: 600; }
.formular .knopf { justify-self: start; }

/* ---------- Rechtliches ---------- */

.rechtlich { max-width: 76ch; }
.rechtlich h2 { font-size: 1.35rem; margin: 36px 0 10px; }
.rechtlich dl { display: grid; grid-template-columns: 220px 1fr; gap: 8px 20px; margin: 18px 0 0; }
.rechtlich dt { font-weight: 600; }
.rechtlich dd { margin: 0; }
@media (max-width: 600px) { .rechtlich dl { grid-template-columns: 1fr; gap: 2px; } .rechtlich dd { margin-bottom: 10px; } }
.offen { background: #ffe6c2; padding: 0 4px; border-radius: 3px; }

/* =========================================================
   Ergänzungen Oktober 2026: Branchen, Warum Orgalino, Terminal
   ========================================================= */

/* Branchen-Karten (Startseite) */
.branchen-karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.branchen-karte {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 16px; align-content: start;
  padding: 24px 22px; background: var(--papier); border: 1px solid var(--beton-linie); border-radius: 12px; text-decoration: none;
}
.branchen-karte .zeichen { width: 52px; height: 52px; grid-row: span 4; }
.branchen-karte .zeichen svg { width: 28px; height: 28px; }
.branchen-karte h3 { font-size: 1.2rem; font-weight: 600; }
.branchen-karte .fuer { margin-top: 2px; font-size: .95rem; color: var(--schiefer); line-height: 1.4; }
.branchen-karte p.satz { margin-top: 10px; font-size: 1rem; line-height: 1.45; }
.branchen-karte .start { margin-top: 12px; font-size: .92rem; color: var(--orange-text); font-weight: 600; line-height: 1.4; }
.branchen-karte:hover { border-color: var(--graphit); }
.branchen-karte:hover h3 { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.abschnitt:not(.beton) .branchen-karte { background: var(--beton); border-color: var(--beton); }
.unter-karten { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-top: clamp(28px, 3vw, 40px); color: var(--schiefer); font-size: 1.05rem; }
.unter-karten p { max-width: 62ch; }
@media (max-width: 1000px) { .branchen-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .branchen-karten { grid-template-columns: 1fr; gap: 14px; } .branchen-karte { padding: 20px 18px; } }

/* Branchenseite: ein Abschnitt je Branche */
.branche { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.branche .text > .zeichen { margin-bottom: 18px; }
.branche .fuer { margin-top: 8px; color: var(--schiefer); font-size: 1.05rem; }
.branche .alltag { margin-top: 20px; padding: 14px 18px; border-left: 4px solid var(--beton-linie); background: var(--beton); border-radius: 0 8px 8px 0; font-size: 1.05rem; }
.beton .branche .alltag { background: var(--papier); }
.branche .alltag b { display: block; font-family: var(--titel); font-weight: 500; font-size: .95rem; color: var(--schiefer); margin-bottom: 4px; }
.branche .haken { margin-top: 22px; }
.branche .start { margin-top: 26px; display: grid; gap: 10px; }
.branche .start > span { font-weight: 600; font-size: 1rem; }
.branche .start .chip-links a { background: var(--orange-hauch); color: var(--graphit); }
.branche .start .chip-links a:hover { background: var(--orange); }
.branche .spaeter { margin-top: 12px; font-size: 1rem; color: var(--schiefer); }
@media (max-width: 900px) { .branche { grid-template-columns: 1fr; } }

/* Anwendungsbeispiel als Zeitleiste */
.beispiel { background: var(--papier); border: 1px solid var(--beton-linie); border-radius: 14px; padding: clamp(22px, 3vw, 32px); }
.abschnitt:not(.beton) .beispiel { background: var(--beton); border-color: var(--beton); }
.beispiel-kopf { font-size: .92rem; font-weight: 600; color: var(--orange-text); text-transform: uppercase; letter-spacing: .06em; }
.beispiel h3 { margin-top: 6px; font-size: 1.35rem; font-weight: 600; }
.zeitleiste { list-style: none; margin-top: 22px; display: grid; gap: 0; position: relative; }
.zeitleiste li { position: relative; display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 18px; padding-bottom: 20px; }
.zeitleiste li:last-child { padding-bottom: 0; }
.zeitleiste li::before { content: ""; position: absolute; z-index: 1; left: 92px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px var(--papier); }
.abschnitt:not(.beton) .zeitleiste li::before { box-shadow: 0 0 0 3px var(--beton); }
.zeitleiste li::after { content: ""; position: absolute; left: 97px; top: 14px; bottom: -6px; width: 2px; background: var(--linie); z-index: 0; }
.zeitleiste li:last-child::after { display: none; }
.zeitleiste .zeit { font-family: var(--titel); font-weight: 500; font-size: .95rem; color: var(--schiefer); padding-top: 1px; font-variant-numeric: tabular-nums; }
.zeitleiste .was { padding-left: 22px; }
.zeitleiste b { display: block; font-family: var(--titel); font-weight: 500; font-size: 1.05rem; line-height: 1.3; }
.zeitleiste p { margin-top: 3px; font-size: .98rem; line-height: 1.45; color: var(--schiefer); }
.zeitleiste .wert { display: inline-block; margin-top: 7px; padding: 3px 10px; border-radius: 6px; background: var(--orange-hauch); font-family: var(--titel); font-weight: 500; font-size: .9rem; }
.beispiel .module-zeile { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--linie); font-size: .95rem; color: var(--schiefer); }
@media (max-width: 480px) {
  .zeitleiste li { grid-template-columns: 1fr; padding-left: 26px; }
  .zeitleiste li::before { left: 0; top: 6px; }
  .zeitleiste li::after { left: 5px; top: 12px; }
  .zeitleiste .was { padding-left: 0; margin-top: 2px; }
}

/* Übersicht Branchen × Module */
.matrix-huelle { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--beton-linie); border-radius: 12px; background: var(--papier); }
.matrix { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 1rem; }
.matrix th, .matrix td { padding: 12px 10px; text-align: center; border-bottom: 1px solid var(--beton-linie); }
.matrix thead th { font-family: var(--titel); font-weight: 500; font-size: .92rem; color: var(--schiefer); vertical-align: bottom; line-height: 1.25; }
.matrix thead th:first-child { text-align: left; }
.matrix tbody th { text-align: left; font-family: var(--titel); font-weight: 500; white-space: nowrap; }
.matrix tbody th a { text-decoration: none; }
.matrix tbody th a:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.matrix tbody tr:last-child th, .matrix tbody tr:last-child td { border-bottom: 0; }
.punkt-voll, .punkt-halb { display: inline-block; width: 16px; height: 16px; border-radius: 50%; vertical-align: middle; }
.punkt-voll { background: var(--orange); }
.punkt-halb { border: 2.5px solid var(--orange); }
.legende { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 14px; color: var(--schiefer); font-size: .98rem; }
.legende span { display: inline-flex; align-items: center; gap: 8px; }

/* Warum Orgalino: Gründe */
.gruende { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 48px) clamp(32px, 5vw, 72px); }
.grund { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; align-content: start; }
.grund .zeichen { grid-row: span 3; }
.grund h3 { font-size: 1.3rem; font-weight: 600; padding-top: 4px; }
.grund p { margin-top: 8px; color: var(--schiefer); }
.grund .konkret { margin-top: 12px; padding: 10px 14px; border-radius: 8px; background: var(--orange-hauch); color: var(--graphit); font-size: 1rem; line-height: 1.45; }
.grund .konkret b { color: var(--orange-text); }
@media (max-width: 820px) { .gruende { grid-template-columns: 1fr; } }

/* Vergleich */
.vergleich { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 1.02rem; }
.vergleich th, .vergleich td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--beton-linie); line-height: 1.45; }
.vergleich thead th { font-family: var(--titel); font-weight: 600; font-size: 1.05rem; border-bottom: 2px solid var(--graphit); }
.vergleich tbody th { font-family: var(--titel); font-weight: 500; width: 20%; }
.vergleich td { color: var(--schiefer); width: 26.66%; }
.vergleich .wir { background: var(--papier); color: var(--graphit); font-weight: 600; }
.vergleich thead .wir { background: var(--orange); border-bottom-color: var(--orange); border-radius: 10px 10px 0 0; }
.vergleich tbody tr:last-child .wir { border-radius: 0 0 10px 10px; }
@media (max-width: 760px) {
  .vergleich, .vergleich tbody, .vergleich tr, .vergleich th, .vergleich td { display: block; width: auto; }
  .vergleich thead { display: none; }
  .vergleich tbody tr { margin-bottom: 18px; background: var(--papier); border-radius: 12px; overflow: hidden; border: 1px solid var(--beton-linie); }
  .vergleich tbody th { padding: 14px 16px 6px; border: 0; font-size: 1.1rem; width: auto; }
  .vergleich td { width: auto; }
  .vergleich td { padding: 8px 16px; border: 0; }
  .vergleich td::before { content: attr(data-weg); display: block; font-size: .85rem; font-weight: 600; color: var(--schiefer); text-transform: uppercase; letter-spacing: .04em; }
  .vergleich .wir { margin: 6px 10px 10px; border-radius: 8px; background: var(--orange-hauch); }
  .vergleich tbody tr:last-child .wir { border-radius: 8px; }
}

/* Wann es nicht passt */
.ehrlich { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(28px, 4vw, 56px); }
.ehrlich li { padding: 22px 22px 24px; border: 1px solid var(--beton-linie); border-radius: 12px; }
.ehrlich b { display: block; font-family: var(--titel); font-weight: 600; font-size: 1.15rem; line-height: 1.3; }
.ehrlich p { margin-top: 8px; color: var(--schiefer); font-size: 1.02rem; }
@media (max-width: 760px) { .ehrlich { grid-template-columns: 1fr; } }

/* Terminal im Gerät statt im Browserfenster (dunkle Oberfläche, Wandgerät) */
.tablet { margin: 0; border: 10px solid #1b1f24; border-radius: 22px; overflow: hidden; background: #0e1116; box-shadow: 0 20px 44px -18px rgba(34, 39, 44, .55); }
.tablet img { width: 100%; }
@media (max-width: 600px) { .tablet { border-width: 6px; border-radius: 14px; } }

/* Terminal-Seite: drei Schritte nebeneinander */
.terminal-schritte { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.terminal-schritte h3 { margin-top: 18px; font-size: 1.2rem; font-weight: 600; }
.terminal-schritte p { margin-top: 4px; color: var(--schiefer); font-size: 1rem; line-height: 1.45; }
@media (max-width: 760px) { .terminal-schritte { grid-template-columns: 1fr; } }

.hinweis-weit { margin-top: 18px; font-size: 1rem; color: var(--schiefer); max-width: 46ch; }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
@media print {
  .kopf, .aufruf, .menue-knopf, .meldungen { display: none !important; }
  .abschnitt.beton, .abschnitt.nacht, .fuss { background: none; color: inherit; }
}

/* Modul-Übersicht am Handy: Branche bleibt beim Wischen stehen */
.matrix thead th:first-child, .matrix tbody th { position: sticky; left: 0; z-index: 1; background: var(--papier); }
.wisch-hinweis { display: none; margin: 0 0 10px; font-size: .9rem; color: var(--schiefer); }
@media (max-width: 760px) {
  .wisch-hinweis { display: block; }
  .matrix { min-width: 640px; }
  .matrix tbody th { white-space: normal; min-width: 128px; max-width: 140px; font-size: .92rem; line-height: 1.3; box-shadow: 1px 0 0 var(--beton-linie); }
  .matrix thead th:first-child { box-shadow: 1px 0 0 var(--beton-linie); }
}
