body { --p: #5c7f15; --p-rgb: 92, 127, 21; --auf-p: #fff; --p-t: rgb(92, 127, 21); --p-l70: rgb(206.1, 216.6, 184.8); --p-l80: rgb(222.4, 229.4, 208.2); --p-l90: rgb(238.7, 242.2, 231.6); --p-d20: rgb(73.6, 101.6, 16.8); --p-d30: rgb(64.4, 88.9, 14.7); --p-d50: rgb(46, 63.5, 10.5); }
body.theme-vida-loca { --p: #5c7f15; --p-rgb: 92, 127, 21; --auf-p: #fff; --p-t: rgb(92, 127, 21); --p-l70: rgb(206.1, 216.6, 184.8); --p-l80: rgb(222.4, 229.4, 208.2); --p-l90: rgb(238.7, 242.2, 231.6); --p-d20: rgb(73.6, 101.6, 16.8); --p-d30: rgb(64.4, 88.9, 14.7); --p-d50: rgb(46, 63.5, 10.5); }
.farbe-vida-loca { --f: #5c7f15; }
body.theme-blumine { --p: #215b83; --p-rgb: 33, 91, 131; --auf-p: #fff; --p-t: rgb(33, 91, 131); --p-l70: rgb(188.4, 205.8, 217.8); --p-l80: rgb(210.6, 222.2, 230.2); --p-l90: rgb(232.8, 238.6, 242.6); --p-d20: rgb(26.4, 72.8, 104.8); --p-d30: rgb(23.1, 63.7, 91.7); --p-d50: rgb(16.5, 45.5, 65.5); }
.farbe-blumine { --f: #215b83; }
body.theme-bossanova { --p: #632966; --p-rgb: 99, 41, 102; --auf-p: #fff; --p-t: rgb(99, 41, 102); --p-l70: rgb(208.2, 190.8, 209.1); --p-l80: rgb(223.8, 212.2, 224.4); --p-l90: rgb(239.4, 233.6, 239.7); --p-d20: rgb(79.2, 32.8, 81.6); --p-d30: rgb(69.3, 28.7, 71.4); --p-d50: rgb(49.5, 20.5, 51); }
.farbe-bossanova { --f: #632966; }
body.theme-orange-roughy { --p: #c94d1c; --p-rgb: 201, 77, 28; --auf-p: #fff; --p-t: rgb(201, 77, 28); --p-l70: rgb(238.8, 201.6, 186.9); --p-l80: rgb(244.2, 219.4, 209.6); --p-l90: rgb(249.6, 237.2, 232.3); --p-d20: rgb(160.8, 61.6, 22.4); --p-d30: rgb(140.7, 53.9, 19.6); --p-d50: rgb(100.5, 38.5, 14); }
.farbe-orange-roughy { --f: #c94d1c; }
body.theme-fuel-yellow { --p: #efb92e; --p-rgb: 239, 185, 46; --auf-p: #1b211c; --p-t: rgb(143.4, 111, 27.6); --p-l70: rgb(250.2, 234, 192.3); --p-l80: rgb(251.8, 241, 213.2); --p-l90: rgb(253.4, 248, 234.1); --p-d20: rgb(191.2, 148, 36.8); --p-d30: rgb(167.3, 129.5, 32.2); --p-d50: rgb(119.5, 92.5, 23); }
.farbe-fuel-yellow { --f: #efb92e; }
.reiter-1 { --f: #a5c543; }
@media (max-width: 899px) { .tafel-innen img { object-position: 50% 50%; } }
.reiter-2 { --f: #2e81ac; }
@media (max-width: 899px) { .tafel-aussen img { object-position: 50% 50%; } }
.reiter-3 { --f: #db5118; }
@media (max-width: 899px) { .tafel-boden img { object-position: 50% 100%; } }
.reiter-4 { --f: #f8bf2e; }
@media (max-width: 899px) { .tafel-kreativ img { object-position: 60% 50%; } }
.klecks-gruen-1 { background-image: url(/assets/bilder/klecks-gruen-1.webp); }
.klecks-blau-1 { background-image: url(/assets/bilder/klecks-blau-1.webp); }
.klecks-violett-1 { background-image: url(/assets/bilder/klecks-violett-1.webp); }
.klecks-orange-1 { background-image: url(/assets/bilder/klecks-orange-1.webp); }
.klecks-gelb-1 { background-image: url(/assets/bilder/klecks-gelb-1.webp); }
.klecks-gruen-blau { background-image: url(/assets/bilder/klecks-gruen-blau.webp); }
.klecks-blau-violett { background-image: url(/assets/bilder/klecks-blau-violett.webp); }
.klecks-violett-orange { background-image: url(/assets/bilder/klecks-violett-orange.webp); }
.klecks-orange-gelb { background-image: url(/assets/bilder/klecks-orange-gelb.webp); }
.klecks-gelb-gruen { background-image: url(/assets/bilder/klecks-gelb-gruen.webp); }
/* Farbenfroh: Neufassung (04.12.2026). Gestaltung nach DESIGN-BRIEF.md.
   Die fünf Farbschemata (body.theme-…), die Farben der Einstiegs-Reiter und die Klecks-Bilder schreibt tools/bau.mjs davor. */

@font-face { font-family: Signika; src: url(/assets/schrift/signika-500.woff2) format("woff2"); font-weight: 400 500; font-style: normal; font-display: swap; }
@font-face { font-family: Signika; src: url(/assets/schrift/signika-600.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: Signika; src: url(/assets/schrift/signika-700.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url(/assets/schrift/opensans-400.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Open Sans"; src: url(/assets/schrift/opensans-600.woff2) format("woff2"); font-weight: 600 700; font-style: normal; font-display: swap; }

:root {
  --tinte: #1b211c; --tinte-leise: #4c554d; --linie: #dfe3dc; --papier: #fff; --nebel: #f4f6f1;
  --titel: Signika, "Trebuchet MS", "Segoe UI", sans-serif;
  --schrift: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rand: clamp(20px, 4.2vw, 64px);
  --breite: 1320px;
  --kopf-hoehe: 92px;
  --fuge: 6px;
  --ease-aus: cubic-bezier(.22, 1, .36, 1);
  --ease-pinsel: cubic-bezier(.45, .05, .2, 1);
  --dur-kurz: 180ms; --dur-mittel: 420ms; --dur-tafel: 700ms; --dur-lang: 900ms; --dur-malen: 1800ms;
  --schatten: 0 18px 50px rgba(20, 30, 15, .16);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--kopf-hoehe); }
html.menue-offen { overflow: hidden; }
/* Das offene Menü ist eine eigene Fläche: Kopfleiste und Schwebeknöpfe darunter sind dann weg, nicht nur verdeckt */
html.menue-offen .kopf-leiste, html.menue-offen .schwebe { visibility: hidden; transition: visibility 0s linear var(--dur-mittel); }body { margin: 0; font-family: var(--schrift); font-size: 1.0625rem; font-weight: 400; line-height: 1.6; color: var(--tinte); background: var(--papier); -webkit-tap-highlight-color: transparent; overflow-x: clip; }
main { display: block; }
img, svg { vertical-align: middle; }
img { max-width: 100%; height: auto; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0 0 1rem; padding-left: 1.4rem; }
strong, b { font-weight: 700; }
a { color: var(--p-t); text-decoration: underline; text-underline-offset: .16em; }
@media (hover: hover) { a:hover { color: var(--p-d30); } }
button, input, select, textarea { font: inherit; color: inherit; margin: 0; }
button { cursor: pointer; }
figure { margin: 0; }
:focus-visible { outline: 3px solid var(--p-t); outline-offset: 3px; border-radius: 4px; }
/* Auf dunklen Flächen wäre der Rahmen in der Themenfarbe kaum zu sehen */
.einstieg :focus-visible, .leistungen :focus-visible, .seite-kopf :focus-visible, .menue :focus-visible { outline-color: #fff; }
.abschluss :focus-visible, .band-text :focus-visible, .kachel-mehr:focus-visible { outline-color: var(--auf-p); }
[hidden] { display: none !important; }
.nur-vorleser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprung { position: fixed; left: 12px; top: -80px; z-index: 3000; background: #fff; color: var(--tinte); padding: 10px 18px; border-radius: 999px; }
.sprung:focus { top: 12px; box-shadow: var(--schatten); }
.ikon { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ---------- Schrift */
h1, h2, h3, .h1, .h2, .h3 { margin: 0 0 .5em; font-family: var(--titel); font-weight: 600; line-height: 1.04; letter-spacing: -.012em; text-wrap: balance; color: inherit; }
h1, .h1 { font-size: clamp(2.5rem, 6.4vw, 5.5rem); font-weight: 700; }
h2, .h2 { font-size: clamp(2.15rem, 5vw, 4.25rem); }
h3, .h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.15; }
.ueber { display: flex; align-items: flex-start; gap: .7em; margin: 0 0 1.1rem; font-family: var(--titel); font-size: 1.0625rem; font-weight: 600; line-height: 1.3; letter-spacing: .06em; text-transform: uppercase; color: var(--p-t); }
.ueber::before { content: ""; width: 2.2em; height: .5em; margin-top: .4em; border-radius: 999px; background: linear-gradient(90deg, #a5c543, #2e81ac, #6b2c79, #db5118, #f8bf2e); flex: none; }
.lead { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.6; color: var(--tinte-leise); max-width: 62ch; }

/* ---------- Raster und Knöpfe */
.container { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 3.25rem; padding: .7rem 1.6rem; font-family: var(--titel); font-size: 1.125rem; font-weight: 600; line-height: 1.2; text-decoration: none; text-align: center; border: 2px solid transparent; border-radius: 999px; background: none; transition: background-color var(--dur-kurz), color var(--dur-kurz), border-color var(--dur-kurz), transform var(--dur-kurz) var(--ease-aus); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--p); color: var(--auf-p); }
.btn-secondary { border-color: currentColor; color: var(--p-t); }
.btn-hell { background: #fff; color: var(--tinte); }
.btn-glas { border-color: rgba(255, 255, 255, .85); color: #fff; }
.btn-link { min-height: 0; padding: .7rem 0; margin: -.7rem 0; border: 0; border-radius: 0; color: var(--p-t); font-size: 1.125rem; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 2px; }
.btn-link .ikon { transition: transform var(--dur-kurz) var(--ease-aus); }
@media (hover: hover) {
  .btn-primary:hover { background: var(--p-d20); color: var(--auf-p); }
  .btn-secondary:hover { background: var(--p); border-color: var(--p); color: var(--auf-p); }
  .btn-hell:hover { background: var(--p-l90); color: var(--tinte); }
  .btn-glas:hover { background: #fff; color: var(--tinte); }
  .btn-link:hover { color: var(--p-d30); }
  .btn-link:hover .ikon { transform: translateX(4px); }
}
.knopfzeile { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ---------- Kopf: schwebende weiße Leiste (das Logo braucht weißen Grund) */
.kopf { position: fixed; z-index: 1000; top: 0; left: 0; right: 0; padding: 12px var(--rand) 0; pointer-events: none; }
.kopf-leiste { pointer-events: auto; display: flex; align-items: center; gap: 1.5rem; max-width: var(--breite); margin-inline: auto; padding: 8px 10px 8px 18px; background: #fff; border-radius: 22px; box-shadow: 0 10px 34px rgba(15, 25, 10, .16); }
.kopf-logo { display: block; flex: none; line-height: 0; }
.kopf-logo img { width: 150px; height: auto; }
.kopf-nav { display: none; margin-left: auto; }
.kopf-nav ul { display: flex; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.kopf-nav a { display: block; padding: .6rem .85rem; font-family: var(--titel); font-size: 1.125rem; font-weight: 500; color: var(--tinte); text-decoration: none; border-radius: 999px; transition: background-color var(--dur-kurz); }
.kopf-nav a[aria-current="page"] { color: var(--p-t); }
@media (hover: hover) { .kopf-nav a:hover { background: var(--p-l90); color: var(--tinte); } }
.kopf-knopf { display: none; min-height: 3rem; }
.menue-knopf { display: inline-flex; align-items: center; gap: .6rem; margin-left: auto; min-height: 3rem; padding: 0 1.1rem; font-family: var(--titel); font-size: 1.0625rem; font-weight: 600; color: var(--auf-p); background: var(--p); border: 0; border-radius: 999px; }
.menue-striche { position: relative; width: 20px; height: 12px; }
.menue-striche::before, .menue-striche::after { content: ""; position: absolute; left: 0; right: 0; height: 2.5px; border-radius: 2px; background: currentColor; }
.menue-striche::before { top: 0; } .menue-striche::after { bottom: 0; }
@media (min-width: 1100px) {
  :root { --kopf-hoehe: 116px; }
  .kopf { padding-top: 16px; }
  .kopf-leiste { padding: 10px 12px 10px 24px; }
  .kopf-logo img { width: 214px; }
  .kopf-nav { display: block; }
  .kopf-knopf { display: inline-flex; }
  .menue-knopf { display: none; }
}

/* Menü am Handy: eigene Fläche über der ganzen Seite, großer Ausweg oben rechts */
.menue { position: fixed; inset: 0; z-index: 2000; display: flex; flex-direction: column; padding: 18px var(--rand) calc(24px + env(safe-area-inset-bottom)); background: var(--p-d50); color: #fff; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity var(--dur-kurz) var(--ease-aus), transform var(--dur-kurz) var(--ease-aus), visibility 0s linear var(--dur-kurz); }
/* Auf geht es ruhig (420 ms), zu geht es zügig (180 ms). Kopfleiste und Schwebeknöpfe verschwinden erst, wenn das Menü deckt. */
.menue.offen { visibility: visible; opacity: 1; transform: none; transition: opacity var(--dur-mittel) var(--ease-aus), transform var(--dur-mittel) var(--ease-aus), visibility 0s; }
.menue-oben { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.menue-oben span { font-family: var(--titel); font-size: 1.0625rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }
.menue-zu { display: inline-flex; align-items: center; gap: .6rem; min-height: 3rem; padding: 0 1.2rem; font-family: var(--titel); font-size: 1.0625rem; font-weight: 600; color: var(--tinte); background: #fff; border: 0; border-radius: 999px; }
.menue-zu::before { content: "✕"; font-size: 1.1em; }
.menue ul { margin: clamp(1.25rem, 5vh, 3rem) 0 0; padding: 0; list-style: none; }
.menue li a { display: flex; align-items: baseline; justify-content: space-between; padding: .5rem 0; font-family: var(--titel); font-size: clamp(2rem, 9.5vw, 3rem); font-weight: 600; line-height: 1.1; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.menue li a::after { content: "→"; font-size: .6em; opacity: .6; }
.menue-unten { display: grid; gap: .75rem; margin-top: auto; padding-top: 1.75rem; }
.menue-unten .btn { width: 100%; }
@media (min-width: 1100px) { .menue { display: none; } }

/* ---------- Einstieg: vier echte Arbeiten als Tafeln */
.einstieg { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: max(100svh, 620px); color: #fff; background: #10140f; overflow: hidden; isolation: isolate; }
.tafeln { position: absolute; inset: 0; z-index: -2; }
.tafel { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity var(--dur-lang) var(--ease-pinsel); }
.tafel.ist-aktiv { opacity: 1; }
/* Das aktive Bild kommt langsam näher (9 s). Verliert die Tafel ihren Platz, bleibt das Bild stehen, bis sie ausgeblendet ist, und springt nicht zurück. */
.tafel img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); scale: 1; transition: scale 0s linear var(--dur-lang); }
.tafel.ist-aktiv img { scale: 1.07; transition: scale 9s linear; }
@starting-style { .tafel.ist-aktiv img { scale: 1; } }
.einstieg::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 14, 8, .2) 0%, rgba(10, 14, 8, 0) 20%, rgba(10, 14, 8, 0) 34%, rgba(10, 14, 8, .5) 54%, rgba(10, 14, 8, .82) 80%, rgba(10, 14, 8, .93) 100%); pointer-events: none; }
.einstieg-text { padding: calc(var(--kopf-hoehe) + 2rem) var(--rand) 1.5rem; }
.einstieg .ueber { color: #fff; font-size: .9375rem; margin-bottom: .8rem; text-shadow: 0 1px 14px rgba(10, 14, 8, .6); }
.einstieg h1 { max-width: 13em; margin-bottom: .35em; font-size: clamp(2.5rem, 10.6vw, 3.4rem); text-shadow: 0 2px 30px rgba(10, 14, 8, .45); }
.einstieg .lead { color: rgba(255, 255, 255, .9); max-width: 34em; margin: 0; font-size: 1.0625rem; line-height: 1.5; }
.einstieg .knopfzeile { margin-top: 1.25rem; }
.einstieg .knopfzeile .btn { flex: 1 1 auto; }
.einstieg-reiter { display: flex; }
.reiter { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: .15rem; padding: .9rem .4rem calc(1rem + env(safe-area-inset-bottom)); text-align: left; color: rgba(255, 255, 255, .72); background: none; border: 0; border-top: 3px solid rgba(255, 255, 255, .28); transition: color var(--dur-kurz); }
.reiter:first-child { padding-left: var(--rand); } .reiter:last-child { padding-right: var(--rand); }
.reiter-nr, .reiter-zeile { display: none; }
.reiter-name { font-family: var(--titel); font-size: 1.125rem; font-weight: 600; line-height: 1.1; }
.reiter-lauf { position: absolute; left: 0; top: -3px; width: 100%; height: 3px; background: var(--f); transform: scaleX(var(--fortschritt, 0)); transform-origin: left; }
/* Hält der Wechsel an (Maus oder Tastatur im Einstieg), füllt und leert sich die Linie weich statt zu springen */
.einstieg.halt .reiter-lauf { transition: transform var(--dur-mittel) var(--ease-aus); }
.reiter.ist-aktiv { color: #fff; }
@media (min-width: 900px) {
  .einstieg { min-height: max(100svh, 680px); max-height: 1100px; }
  /* Vier Tafeln nebeneinander, die aktive ist 2,6-mal so breit. Keine Tafel ändert ihre Breite: Alle sind so breit wie die aktive (2,6 von 5,6 = 46,43 %),
     liegen übereinander geschoben (die nächste verdeckt den Rest) und werden beim Wechsel nur verschoben. So springt kein Layout und der Wechsel läuft ruckelfrei.
     Ein Schritt = Breite einer schmalen Tafel = 38,46 % der eigenen Breite; Tafeln hinter der aktiven rücken um den Rest (61,54 %) weiter. */
  .tafel, .reiter { --i: 0; --nach: 0; transform: translateX(calc(var(--i) * 38.4615% + var(--nach) * 61.5385%)); }
  .tafel:nth-child(2), .reiter:nth-child(2) { --i: 1; } .tafel:nth-child(3), .reiter:nth-child(3) { --i: 2; } .tafel:nth-child(4), .reiter:nth-child(4) { --i: 3; }
  .tafel.ist-aktiv ~ .tafel, .reiter.ist-aktiv ~ .reiter { --nach: 1; }
  .tafel { inset: 0 auto 0 0; width: 46.4286%; opacity: 1; transition: transform var(--dur-tafel) var(--ease-pinsel); border-left: 1px solid rgba(255, 255, 255, .28); }
  .tafel:first-child { border-left: 0; }
  /* Schmale Tafel zeigt die Bildmitte: das Bild rückt um die halbe verdeckte Breite nach links */
  .tafel img { translate: -30.7692% 0; filter: brightness(.95); transition: translate var(--dur-tafel) var(--ease-pinsel), filter var(--dur-tafel) var(--ease-pinsel), scale var(--dur-tafel) var(--ease-pinsel); }
  .tafel.ist-aktiv img { translate: 0 0; filter: none; transition: translate var(--dur-tafel) var(--ease-pinsel), filter var(--dur-tafel) var(--ease-pinsel), scale 9s linear; }
  .einstieg-text { padding-bottom: 2.75rem; }
  .einstieg h1 { font-size: clamp(3.4rem, 6.4vw, 6rem); }
  .einstieg .ueber { font-size: 1.0625rem; margin-bottom: 1.1rem; }
  .einstieg .lead { font-size: 1.25rem; }
  .einstieg .knopfzeile { margin-top: 1.75rem; }
  .einstieg .knopfzeile .btn { flex: 0 0 auto; }
  /* Reiter liegen in einer Rasterzelle und werden wie die Tafeln nur verschoben: ihre Kanten stehen immer unter den Tafelkanten.
     Jeder Reiter ist so breit wie seine Tafel gerade sichtbar ist (1 bzw. 2,6 von 5,6 Teilen); die Verschiebung rechnet in Teilen der Leistenbreite (cqw, davor vw für ältere Browser). */
  .einstieg-reiter { display: grid; container-type: inline-size; border-top: 3px solid rgba(255, 255, 255, .28); }
  .reiter { grid-area: 1 / 1; flex: none; width: 17.8571%; flex-direction: row; flex-wrap: wrap; align-items: baseline; align-content: flex-start; column-gap: .9rem; padding: 1.15rem 0 1.5rem; border-top: 0; transform: translateX(calc(var(--i) * 17.8571vw + var(--nach) * 28.5714vw)); transform: translateX(calc(var(--i) * 17.8571cqw + var(--nach) * 28.5714cqw)); transition: transform var(--dur-tafel) var(--ease-pinsel), color var(--dur-kurz); }
  .reiter.ist-aktiv { width: 46.4286%; }
  .reiter:focus-visible { outline-offset: -4px; }
  .reiter:first-child, .reiter:last-child { padding-inline: 0; }
  .reiter-nr, .reiter-zeile { margin-left: 1.5rem; }
  .reiter-zeile { margin-right: 1rem; }
  .reiter:first-child .reiter-nr, .reiter:first-child .reiter-zeile { margin-left: var(--rand); }
  .reiter-nr { display: block; font-family: var(--titel); font-size: 1rem; font-weight: 600; color: var(--f); }
  .reiter-name { font-size: 1.6rem; }
  .reiter-zeile { display: block; flex: 1 1 100%; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 1rem; opacity: 0; }
  /* Die Bildzeile verschwindet sofort (der Reiter wird im selben Moment schmal) und kommt erst, wenn die Tafel fast angekommen ist */
  .reiter.ist-aktiv .reiter-zeile { opacity: .85; transition: opacity var(--dur-mittel) var(--ease-aus) calc(var(--dur-tafel) - var(--dur-mittel)); }
  @media (hover: hover) { .reiter:hover { color: #fff; } }
}
@media (max-height: 560px) and (min-width: 900px) { .einstieg .lead { display: none; } }

/* ---------- Kleckse: eigene Aquarell-Kleckse in den Logofarben rahmen die hellen Abschnitte */
.abschnitt { position: relative; padding-block: clamp(4.5rem, 10vw, 9rem); overflow: clip; }
.abschnitt > .container { position: relative; z-index: 1; }
/* Farbspritzer im Stil des Logos. --kw = Breite; --aus schiebt den Spritzer so weit hinaus, dass sein Kern am Seitenrand sitzt und nur Hof und Tropfen in die Textspalte reichen. */
.klecks { --kw: clamp(300px, 52vw, 820px); --aus: calc(max((100vw - var(--breite)) / 2, 0px) + clamp(56px, 15vw, 250px) - var(--kw)); position: absolute; z-index: 0; width: var(--kw); aspect-ratio: 1; background-position: center; background-size: contain; background-repeat: no-repeat; pointer-events: none; opacity: .9; }
.klecks-links-oben { left: var(--aus); top: calc(var(--kw) * -.3); }
.klecks-rechts-oben { right: var(--aus); top: calc(var(--kw) * -.28); }
.klecks-rechts-unten { right: var(--aus); bottom: calc(var(--kw) * -.3); }
.klecks-links-unten { left: var(--aus); bottom: calc(var(--kw) * -.3); }
/* Abschnitte, deren Inhalt nur die linke Spalte füllt: der Spritzer nimmt den freien Platz rechts ein */
@media (min-width: 1100px) { .klecks-weit { --aus: calc(max((100vw - var(--breite)) / 2, 0px) + max(clamp(120px, 15vw, 250px), min(100vw - 2 * var(--rand), var(--breite)) - 56rem) - var(--kw)); } }
@media (max-width: 599px) { .team .klecks { display: none; } }
/* Farbbänder wie der Rahmen seiner Instagram-Tafeln: Farbe oben und unten, Weiß trägt die Mitte */
.farbband { position: absolute; left: 0; right: 0; z-index: 0; height: var(--band); background: center / cover no-repeat; pointer-events: none; }
.farbband-oben { top: 0; background-image: url(/assets/bilder/band-oben-1000.webp); background-position: center top; }
.farbband-unten { bottom: 0; background-image: url(/assets/bilder/band-unten-1000.webp); background-position: center bottom; }
@media (min-width: 700px) { .farbband-oben { background-image: url(/assets/bilder/band-oben.webp); } .farbband-unten { background-image: url(/assets/bilder/band-unten.webp); } }
.wow { --band: clamp(140px, 17vw, 300px); padding-block: calc(var(--band) + clamp(1rem, 3vw, 3rem)); }
/* Linie, Farbrolle, Linie: das Trennzeichen seiner Tafeln */
.rolle { display: flex; align-items: center; gap: .9rem; width: min(100%, 16rem); margin: -.25rem 0 1.5rem; color: var(--tinte); }
.rolle::before, .rolle::after { content: ""; flex: 1; height: 2px; background: currentColor; }
.rolle svg { flex: none; width: 1.5rem; height: 1.75rem; fill: currentColor; }
.js .klecks { opacity: 0; transform: scale(.82); transition: opacity var(--dur-lang) var(--ease-aus), transform 1400ms var(--ease-aus); }
.js .im-bild .klecks { opacity: .9; transform: none; }

/* ---------- Aus alt wird wow: Schieber mit Löwe und Regenbogen-Kante */
.wow-raster { display: grid; gap: 2.5rem; align-items: center; }
.wow-reiter { display: inline-flex; gap: 4px; margin: 1.75rem 0 1.5rem; padding: 4px; background: var(--nebel); border-radius: 999px; }
.wow-reiter button { min-height: 2.9rem; padding: 0 1.4rem; font-family: var(--titel); font-size: 1.125rem; font-weight: 600; color: var(--tinte); background: none; border: 0; border-radius: 999px; transition: background-color var(--dur-kurz), color var(--dur-kurz); }
.wow-reiter button[aria-pressed="true"] { background: var(--p); color: var(--auf-p); }
.wow-projekt h3 { margin-bottom: .4em; }
.wow-projekt p { color: var(--tinte-leise); max-width: 34em; }
.wow-schritte { margin: 1rem 0 0; padding: 0; list-style: none; counter-reset: schritt; display: grid; gap: .45rem; max-width: 34em; }
.wow-schritte li { counter-increment: schritt; display: grid; grid-template-columns: 2.4rem 1fr; align-items: baseline; font-weight: 600; }
.wow-schritte li::before { content: counter(schritt, decimal-leading-zero); font-family: var(--titel); font-size: 1.125rem; color: var(--p-t); }
.wow-text .btn-link { margin-top: 1.75rem; }
.wow-buehne { position: relative; }
/* Projektwechsel: Schieber und Beschreibung blenden ein statt hart zu tauschen */
.wow-projekt:not([hidden]), .schieber:not([hidden]) { animation: wow-ein var(--dur-mittel) var(--ease-aus) backwards; }
@keyframes wow-ein { from { opacity: 0; } }
/* Am Handy kommt der Schieber gleich nach der Projektwahl, die Beschreibung danach. */
@media (max-width: 899px) {
  .wow-raster { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .wow-text { display: contents; }
  .wow-reiter { align-self: flex-start; margin-top: 1.25rem; }
  .wow-buehne { order: 2; margin-bottom: 1.75rem; }
  .wow-projekt { order: 3; }
  .wow-text .btn-link { order: 4; align-self: flex-start; margin-top: 1.25rem; }
}
.schieber { --x: 50%; position: relative; aspect-ratio: 1000 / 1019; overflow: hidden; background: var(--nebel); touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; box-shadow: var(--schatten); }
.schieber-ebene { position: absolute; inset: 0; }
.schieber-ebene img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; pointer-events: none; }
.schieber-vorher { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.schieber-zwischen { opacity: 0; transition: opacity var(--dur-mittel) var(--ease-aus); }
.schieber.zeigt-zwischen .schieber-zwischen { opacity: 1; }
.schieber-kante { position: absolute; top: -1%; bottom: -1%; left: var(--x); width: 22px; transform: translateX(-50%); z-index: 2; background: linear-gradient(180deg, #a5c543 0%, #2e81ac 28%, #6b2c79 50%, #db5118 74%, #f8bf2e 100%); -webkit-mask: url(/assets/bilder/kante-maske.png) center / 100% 100% no-repeat; mask: url(/assets/bilder/kante-maske.png) center / 100% 100% no-repeat; filter: drop-shadow(0 0 2px rgba(0, 0, 0, .3)); pointer-events: none; }
.schieber-griff { position: absolute; z-index: 3; left: var(--x); top: 50%; width: 76px; height: 76px; padding: 0; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .35), 0 0 0 3px rgba(255, 255, 255, .5); transform: translate(-50%, -50%); display: grid; place-items: center; cursor: ew-resize; touch-action: none; transition: transform var(--dur-kurz) var(--ease-aus); }
.schieber-griff img { width: 58%; height: auto; pointer-events: none; }
.schieber-griff:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 50%; box-shadow: 0 8px 24px rgba(0, 0, 0, .35), 0 0 0 7px var(--p); }
.schieber.wird-gezogen .schieber-griff { transform: translate(-50%, -50%) scale(1.07); }
.schieber.malt .schieber-vorher { transition: clip-path var(--dur-malen) var(--ease-pinsel); }
.schieber.malt .schieber-kante, .schieber.malt .schieber-griff { transition: left var(--dur-malen) var(--ease-pinsel); }
.schieber-etikett { position: absolute; top: 14px; z-index: 4; display: inline-flex; gap: 3px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .94); font-family: var(--titel); font-size: .9375rem; font-weight: 600; }
.schieber-etikett span, .schieber-etikett button { min-height: 2.2rem; display: inline-flex; align-items: center; padding: 0 .9rem; border: 0; border-radius: 999px; background: none; color: var(--tinte); font: inherit; }
.schieber-etikett button[aria-pressed="true"] { background: var(--tinte); color: #fff; }
/* Etikettenfarben wie auf den Instagram-Tafeln des Betriebs (gemessen): Vorher gelb, Umsetzung lachs, Nachher hellgrün, Schrift schwarz */
.schieber-etikett-vorher { left: 14px; background: #fbdd96; }
.schieber-etikett-vorher.hat-wahl { background: rgba(255, 255, 255, .94); }
.schieber-etikett-vorher [data-zustand="vorher"][aria-pressed="true"] { background: #fbdd96; color: #111; }
.schieber-etikett-vorher [data-zustand="zwischen"][aria-pressed="true"] { background: #ec9e86; color: #111; }
.schieber-etikett-nachher { right: 14px; background: #c3d596; pointer-events: none; }
.schieber-etikett-nachher span { color: #111; }
.schieber-hinweis { position: absolute; z-index: 2; left: 50%; bottom: 16px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: .5em; padding: 8px 16px; border-radius: 999px; background: rgba(20, 26, 20, .8); color: #fff; font-family: var(--titel); font-size: .9375rem; font-weight: 600; white-space: nowrap; pointer-events: none; transition: opacity var(--dur-mittel); }
.schieber.ist-benutzt .schieber-hinweis { opacity: 0; }
/* Am Handy sitzt der Hinweis links, rechts unten liegen die Schwebeknöpfe. */
@media (max-width: 899px) { .schieber-hinweis { left: 14px; transform: none; } }
@media (min-width: 900px) {
  .wow-raster { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 6rem); }
  .schieber-griff { width: 96px; height: 96px; }
  .schieber-kante { width: 28px; }
}

/* ---------- Leistungen: dunkler Block in der Themenfarbe, sechs große Zeilen, Foto zur offenen Leistung */
.leistungen { position: relative; padding-block: clamp(4.5rem, 9vw, 8rem); color: #fff; background: var(--p-d50); }
.leistungen .ueber { color: #fff; }
.leistungen .lead { color: rgba(255, 255, 255, .86); }
.leistungen-kopf { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.leistungen-kopf h2 { margin: 0; max-width: 14em; }
.leistungs-liste { position: relative; border-top: 1px solid rgba(255, 255, 255, .22); }
.leistung { border-bottom: 1px solid rgba(255, 255, 255, .22); }
.leistung h3 { margin: 0; font-size: inherit; letter-spacing: 0; }
.leistung-knopf { display: grid; grid-template-columns: 2.6rem 1fr auto; align-items: baseline; gap: .5rem; width: 100%; padding: 1.15rem 0; text-align: left; color: #fff; background: none; border: 0; }
.leistung-knopf .nr { font-family: var(--titel); font-size: 1.0625rem; font-weight: 600; opacity: .65; }
.leistung-knopf .name { font-family: var(--titel); font-size: clamp(1.7rem, 4.4vw, 3rem); font-weight: 600; line-height: 1.05; letter-spacing: -.01em; transition: transform var(--dur-mittel) var(--ease-aus); }
.leistung-knopf .plus { position: relative; align-self: center; width: 2.75rem; height: 2.75rem; border: 2px solid rgba(255, 255, 255, .5); border-radius: 50%; transition: background-color var(--dur-kurz), border-color var(--dur-kurz); }
.leistung-knopf .plus::before, .leistung-knopf .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2.5px; margin: -1.25px 0 0 -7px; border-radius: 2px; background: currentColor; transition: transform var(--dur-mittel) var(--ease-aus); }
.leistung-knopf .plus::after { transform: rotate(90deg); }
.leistung.offen .plus { background: #fff; border-color: #fff; color: var(--p-d50); }
.leistung.offen .plus::after { transform: rotate(0deg); }
@media (hover: hover) { .leistung:not(.offen) .leistung-knopf:hover .name { transform: translateX(10px); } .leistung:not(.offen) .leistung-knopf:hover .plus { border-color: #fff; } }
.leistung-feld { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-mittel) var(--ease-aus); }
.leistung.offen .leistung-feld { grid-template-rows: 1fr; }
.leistung-feld > div { overflow: hidden; min-height: 0; }
.leistung-inhalt { padding: 0 0 1.75rem; visibility: hidden; opacity: 0; transition: opacity var(--dur-mittel) var(--ease-aus), visibility 0s linear var(--dur-mittel); }
.leistung.offen .leistung-inhalt { visibility: visible; opacity: 1; transition-delay: 0s; }
.leistung-bild { position: relative; margin: 0 0 1.25rem; }
.leistung-bild img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.leistung-bild figcaption { text-wrap: balance; position: absolute; left: 12px; bottom: 12px; right: 12px; width: fit-content; max-width: calc(100% - 24px); padding: .35rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--tinte); font-size: .875rem; font-weight: 600; line-height: 1.3; }
.leistung-titel { font-family: var(--titel); font-size: 1.4rem; font-weight: 600; line-height: 1.2; margin-bottom: .6rem; }
.leistung-inhalt p, .leistung-inhalt ul { color: rgba(255, 255, 255, .9); max-width: 36em; }
.leistung-inhalt ul { padding: 0; list-style: none; display: grid; gap: .3rem; }
.leistung-inhalt li { position: relative; padding-left: 1.5rem; }
.leistung-inhalt li::before { content: ""; position: absolute; left: 0; top: .62em; width: .75rem; height: .32rem; border-radius: 999px; background: var(--p-l70); }
.leistung-inhalt .btn-link { color: #fff; margin-top: .5rem; }
@media (min-width: 1000px) {
  .leistungen-kopf { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; gap: 4rem; }
  .leistungs-liste { min-height: 46rem; }
  .leistung { width: 54%; }
  .leistung-knopf { padding: 1.35rem 0; grid-template-columns: 3.4rem 1fr auto; }
  .leistung-inhalt { padding: 0 3.5rem 2rem 3.9rem; }
  .leistung-bild { position: absolute; top: 0; right: 0; bottom: 0; width: 41%; margin: 0; opacity: 0; transition: opacity var(--dur-mittel) var(--ease-aus); }
  .leistung.offen .leistung-bild { opacity: 1; }
  .leistung-bild img { height: 100%; aspect-ratio: auto; }
  .leistung-bild figcaption { left: 16px; bottom: 16px; font-size: .9375rem; }
}

/* ---------- Referenzen: geschlossenes Mosaik */
.abschnitt-kopf { display: grid; gap: 1rem; margin-bottom: clamp(2.25rem, 5vw, 4rem); }
.abschnitt-kopf h2 { margin: 0; }
.abschnitt-kopf .lead { margin: 0; }
@media (min-width: 1000px) { .abschnitt-kopf.geteilt { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; gap: 1rem 4rem; } .abschnitt-kopf.geteilt .ueber { grid-column: 1 / -1; margin-bottom: 0; } }
.mosaik { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--fuge); }
.kachel { position: relative; overflow: hidden; background: var(--nebel); }
.kachel.hoch { aspect-ratio: 4 / 5; }
.kachel.quer { grid-column: span 2; aspect-ratio: 3 / 2; }
.kachel img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-lang) var(--ease-aus); }
.kachel figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 1rem .8rem; font-family: var(--titel); font-size: 1.0625rem; font-weight: 600; line-height: 1.2; color: #fff; background: linear-gradient(180deg, rgba(10, 14, 8, 0), rgba(10, 14, 8, .72)); }
@media (hover: hover) { .kachel:hover img { transform: scale(1.04); } }
.kachel-mehr { grid-column: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; min-height: 11rem; padding: 1.5rem; background: var(--p); color: var(--auf-p); text-decoration: none; transition: background-color var(--dur-kurz); }
.kachel-mehr strong { font-family: var(--titel); font-size: clamp(1.9rem, 4vw, 3.25rem); font-weight: 600; line-height: 1.02; letter-spacing: -.01em; max-width: 9em; }
.kachel-mehr span { display: inline-flex; align-items: center; gap: .6em; font-family: var(--titel); font-size: 1.125rem; font-weight: 600; }
.kachel-mehr .ikon { transition: transform var(--dur-kurz) var(--ease-aus); }
@media (hover: hover) { .kachel-mehr:hover { background: var(--p-d20); color: var(--auf-p); } .kachel-mehr:hover .ikon { transform: translateX(6px); } }
@media (min-width: 760px) {
  .mosaik { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .kachel.hoch { grid-column: span 3; }
  .kachel.quer, .kachel-mehr { grid-column: span 6; aspect-ratio: auto; min-height: 0; }
  .kachel-mehr { padding: clamp(1.5rem, 3vw, 2.75rem); }
  .kachel figcaption { font-size: 1.1875rem; padding: 3rem 1.25rem 1rem; }
}

/* ---------- Über uns und Team */
.ueber-uns { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.ueber-raster { display: grid; gap: 1.5rem; }
.ueber-raster h2 { margin: 0; }
.ueber-raster .lead { max-width: 40em; margin: 0; }
.ueber-raster .knopfzeile { margin-top: .5rem; }
@media (min-width: 1000px) { .ueber-raster { gap: 2.25rem; } .ueber-raster .lead { max-width: none; columns: 2; column-gap: 4rem; } }
.team { padding-top: clamp(2.5rem, 5vw, 4rem); }
.team-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--fuge); max-width: 760px; margin-inline: auto; }
.team-karte { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--nebel); }
.team-karte.chef { grid-column: span 2; grid-row: span 2; }
.team-karte img { display: block; width: 100%; height: 100%; object-fit: cover; }
.team-karte figcaption { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: .1rem; padding: 2.5rem .8rem .7rem; color: #fff; background: linear-gradient(180deg, rgba(10, 14, 8, 0), rgba(10, 14, 8, .82)); }
.team-karte strong { font-family: var(--titel); font-size: 1.0625rem; font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; }
.team-karte span { font-size: .8125rem; line-height: 1.3; opacity: .9; }
.team-karte.chef strong { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.team-karte.chef span { font-size: 1rem; }
.team-karte.chef figcaption { padding: 4rem 1.25rem 1.1rem; }
/* Am Handy stehen Name und Rolle unter den kleinen Fotos, damit kein Gesicht verdeckt wird. */
@media (max-width: 599px) {
  .team-karte:not(.chef) { aspect-ratio: auto; overflow: visible; background: none; }
  .team-karte:not(.chef) img { aspect-ratio: 1; height: auto; }
  .team-karte:not(.chef) figcaption { position: static; padding: .6rem .1rem 1rem; color: var(--tinte); background: none; }
}
@media (min-width: 1000px) {
  .team-raster { grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: none; }
  .team-karte strong { font-size: 1.1875rem; }
  .team-karte span { font-size: .875rem; }
  .team-karte figcaption { padding: 3rem 1rem .9rem; }
}

/* ---------- Karriere: randloses Band aus Foto und Themenfarbe */
.karriere-band { display: grid; background: var(--p); color: var(--auf-p); }
.band-bild { position: relative; min-height: 16rem; }
.band-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.band-text { padding: clamp(2.5rem, 7vw, 6rem) var(--rand); }
.band-text .ueber { color: inherit; }
.band-text .lead { color: inherit; max-width: 30em; }
.band-text .btn { margin-top: 1.5rem; }
@media (min-width: 900px) { .karriere-band { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .band-bild { min-height: 34rem; } .band-text { align-self: center; padding-right: max(var(--rand), calc((100vw - var(--breite)) / 2)); } }

/* ---------- Kontakt */
.kontakt-raster { display: grid; gap: 2.5rem; }
.kontakt-wege { display: grid; margin-top: 2rem; border-top: 1px solid var(--linie); }
.kontakt-weg { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); align-items: center; gap: .25rem 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--linie); color: var(--tinte); text-decoration: none; }
.kontakt-weg .ikon-kreis { grid-row: span 2; display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--p-l90); color: var(--p-d30); font-size: 1.25rem; transition: background-color var(--dur-kurz), color var(--dur-kurz); }
.kontakt-weg small { font-size: .875rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--tinte-leise); line-height: 1.2; }
.kontakt-weg strong { font-family: var(--titel); font-size: clamp(1.25rem, 2.6vw, 1.75rem); font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; }
@media (hover: hover) { .kontakt-weg:hover { color: var(--tinte); } .kontakt-weg:hover .ikon-kreis { background: var(--p); color: var(--auf-p); } }
.formular-karte { padding: clamp(1.25rem, 3vw, 2.5rem); background: #fff; border-radius: 22px; box-shadow: var(--schatten); }
@media (min-width: 1000px) { .kontakt-raster { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; } }

/* ---------- Formular */
.formular { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem 1rem; }
@media (min-width: 640px) { .formular { grid-template-columns: repeat(2, minmax(0, 1fr)); } .formular > * { grid-column: 1 / -1; } .formular > .halb { grid-column: auto; } }
.formular label { display: inline-block; margin-bottom: .4rem; font-weight: 600; font-size: 1rem; }
.feld { display: block; width: 100%; min-height: 3.25rem; padding: .7rem .9rem; font-size: 1.0625rem; line-height: 1.5; color: var(--tinte); appearance: none; background-color: var(--nebel); border: 2px solid transparent; border-radius: 12px; transition: border-color var(--dur-kurz), background-color var(--dur-kurz); }
textarea.feld { height: 9.5rem; resize: vertical; }
select.feld { padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%231b211c' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right .9rem center; background-size: 16px 12px; }
.feld:focus { outline: 0; border-color: var(--p-t); background-color: #fff; }
.feld[aria-invalid="true"] { border-color: #b02a37; }
.fehler { display: block; margin-top: .35rem; font-size: .9375rem; font-weight: 600; color: #b02a37; }
.ablage { position: relative; padding: 1.1rem 1rem 1.5rem; text-align: center; border: 2px dashed #c3c9bf; border-radius: 12px; }
.ablage.drueber { border-color: var(--p-t); background: var(--p-l90); }
.ablage strong { display: block; font-family: var(--titel); font-size: 1.25rem; font-weight: 600; }
.ablage span { display: block; color: var(--tinte-leise); }
.ablage button { min-height: 2.75rem; padding: 0 .5rem; font-weight: 600; color: var(--p-t); background: none; border: 0; text-decoration: underline; text-underline-offset: .2em; }
.ablage small { position: absolute; right: 10px; bottom: 6px; font-size: .8125rem; color: var(--tinte-leise); }
.dateien { display: flex; flex-wrap: wrap; gap: .5rem; padding: .75rem 0 0; list-style: none; margin: 0; }
.dateien:empty { display: none; }
.dateien li { display: flex; align-items: center; gap: .35rem; padding: .2rem .3rem .2rem .8rem; font-size: .9375rem; background: var(--p-l90); border-radius: 999px; overflow-wrap: anywhere; }
.dateien button { min-width: 2.25rem; min-height: 2.25rem; font-weight: 700; color: #b02a37; background: none; border: 0; border-radius: 50%; }
.formular .zustimmung label { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .7rem; margin: 0; font-weight: 400; font-size: .9375rem; line-height: 1.5; }
.zustimmung input { width: 2rem; height: 2rem; margin-top: 0; accent-color: var(--p-t); }
.honig { position: absolute !important; left: -9999px !important; }
.formular .btn[type="submit"] { min-width: 12rem; }
.formular .btn[aria-busy="true"] { opacity: .6; pointer-events: none; }
.meldung { margin: 1rem 0 0; padding: .85rem 1.1rem; border-radius: 12px; font-weight: 600; scroll-margin-block: 6.5rem; }
.meldung:empty { display: none; }
.meldung.gut { color: var(--p-d50); background: var(--p-l90); border: 1px solid var(--p-l70); }
.meldung.schlecht { color: #842029; background: #f8d7da; border: 1px solid #f1aeb5; }

/* ---------- Fuß */
.fuss { position: relative; padding: clamp(3rem, 7vw, 5.5rem) 0 calc(2rem + env(safe-area-inset-bottom)); background: #fff; }
.fuss::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: linear-gradient(90deg, #a5c543 0 20%, #2e81ac 20% 40%, #6b2c79 40% 60%, #db5118 60% 80%, #f8bf2e 80% 100%); }
.fuss-raster { display: grid; gap: 2.5rem; }
.fuss-logo img { width: min(100%, 26rem); height: auto; }
.fuss-logo p { margin: 1.25rem 0 0; max-width: 26em; color: var(--tinte-leise); }
.fuss h2 { margin: 0 0 .9rem; font-size: 1.0625rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--tinte-leise); }
.fuss ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .1rem; }
.fuss li a, .fuss-kontakt a { display: inline-block; padding: .6rem 0; margin: -.3rem 0; font-family: var(--titel); font-size: 1.1875rem; font-weight: 500; color: var(--tinte); text-decoration: none; }
@media (hover: hover) { .fuss li a:hover, .fuss-kontakt a:hover { color: var(--p-t); text-decoration: underline; } }
.fuss-kontakt address { font-style: normal; margin-bottom: .5rem; color: var(--tinte-leise); }
.fuss-kontakt a { display: block; }
.fuss-kontakt a[href^="mailto"] { white-space: nowrap; }
.fuss-spalten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.5rem; }
.fuss-spalten > :last-child { grid-column: 1 / -1; }
.fuss-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.5rem; border-top: 1px solid var(--linie); font-size: .9375rem; color: var(--tinte-leise); }
.fuss-zeile p { margin: 0; }
.fuss-zeile a { color: var(--tinte); }
.fuss-recht { display: flex; gap: 1.25rem; }
.fuss-recht a { display: inline-block; padding: .5rem 0; }
.sozial { display: flex; gap: .5rem; }
.sozial a { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: var(--nebel); color: var(--tinte); font-size: 1.25rem; transition: background-color var(--dur-kurz), color var(--dur-kurz); }
@media (hover: hover) { .sozial a:hover { background: var(--p); color: var(--auf-p); } }
.fuss-credit { margin-left: auto; }
@media (min-width: 1000px) { .fuss-raster { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; } .fuss-spalten { grid-template-columns: repeat(3, minmax(0, 1fr)); } .fuss-spalten > :last-child { grid-column: auto; } }
/* Schmale Rechner: Die Kontaktspalte bekommt die Breite der E-Mail-Adresse, damit sie nicht am Bindestrich umbricht */
@media (min-width: 1000px) and (max-width: 1399px) { .fuss-raster { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 3rem; } .fuss-spalten { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) max-content; } }
@media (max-width: 699px) { .fuss-credit { margin-left: 0; flex: 1 1 100%; } .fuss { padding-bottom: calc(6rem + env(safe-area-inset-bottom)); } }
.cardo-credit { display: inline-flex; align-items: center; gap: .6em; white-space: nowrap; }
.cardo-marke { display: inline-grid; justify-items: center; gap: 5px; line-height: 1; text-decoration: none; transition: opacity .2s; }
.cardo-marke__zug { display: block; width: auto; height: 30px; }
.cardo-marke__zeile { display: flex; align-items: center; gap: 7px; margin-left: 34px; }
.cardo-marke__wort { font: 500 9.5px/1 "Open Sans", sans-serif; letter-spacing: .42em; margin-right: -.42em; color: #2F2C28; }
.cardo-marke__strich { display: block; width: 30px; height: 2px; }
@media (hover: hover) { .cardo-marke:hover { opacity: .8; } }

/* ---------- Schwebeknöpfe: Kontakt und Farbwahl (Grundidee der bisherigen Seite) */
.schwebe { position: fixed; z-index: 900; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.js .schwebe { transition: opacity var(--dur-mittel) var(--ease-aus), transform var(--dur-mittel) var(--ease-aus), visibility 0s; }
.js .schwebe.versteckt { opacity: 0; transform: translateY(16px); visibility: hidden; transition: opacity var(--dur-mittel) var(--ease-aus), transform var(--dur-mittel) var(--ease-aus), visibility 0s linear var(--dur-mittel); }
.schwebe-reihe { display: flex; gap: 6px; padding: 6px; background: rgba(255, 255, 255, .96); border-radius: 999px; box-shadow: 0 10px 30px rgba(15, 25, 10, .22); }
.schwebe-reihe a, .schwebe-reihe button { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: var(--p); color: var(--auf-p); transition: background-color var(--dur-kurz), transform var(--dur-kurz) var(--ease-aus); }
.schwebe-reihe svg { width: 20px; height: 20px; fill: currentColor; }
.schwebe-reihe a:active, .schwebe-reihe button:active { transform: scale(.94); }
.schwebe-reihe [data-farbwahl] { background: conic-gradient(#a5c543, #2e81ac, #6b2c79, #db5118, #f8bf2e, #a5c543); color: #fff; }
.schwebe-reihe [data-farbwahl] svg { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .5)); }
@media (hover: hover) { .schwebe-reihe a:hover { background: var(--p-d20); color: var(--auf-p); } }
.farbwahl { order: -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-mittel) var(--ease-aus); }
.farbwahl.offen { grid-template-rows: 1fr; }
.farbwahl > div { overflow: hidden; min-height: 0; visibility: hidden; transition: visibility 0s linear var(--dur-mittel); }
.farbwahl.offen > div { visibility: visible; transition-delay: 0s; }
.farbwahl-raster { display: flex; align-items: center; gap: 6px; margin: 4px; padding: 6px 6px 6px 14px; background: rgba(255, 255, 255, .96); border-radius: 999px; box-shadow: 0 6px 20px rgba(15, 25, 10, .2); }
.farbwahl-raster span { font-family: var(--titel); font-size: .9375rem; font-weight: 600; margin-right: .2rem; }
.farbwahl-raster button { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--f); color: #fff; }
.farbwahl-raster svg { width: 18px; height: 18px; fill: currentColor; opacity: 0; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .45)); }
.farbwahl-raster button[aria-pressed="true"] svg { opacity: 1; }
.farbwahl-raster .farbe-fuel-yellow { color: var(--tinte); }
.farbwahl-raster .farbe-fuel-yellow svg { filter: none; }
@media (min-width: 900px) { .schwebe { right: 20px; bottom: 20px; } }
/* Farbwechsel: die neue Farbe streicht von links über die Seite */
@keyframes streich { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: streich 650ms var(--ease-pinsel) both; }

/* ---------- Unterseiten */
.seite-kopf { position: relative; padding: calc(var(--kopf-hoehe) + clamp(2rem, 5vw, 4rem)) 0 clamp(3rem, 6vw, 5rem); color: #fff; background: var(--p-d50); overflow: clip; }
.seite-kopf .ueber { color: #fff; }
.seite-kopf .lead { color: rgba(255, 255, 255, .88); }
.seite-kopf .h1 { font-size: clamp(2.4rem, 5.4vw, 4.5rem); max-width: 15em; }
.seite-kopf .btn-secondary { color: #fff; }
.seite-kopf .btn-primary { background: #fff; color: var(--tinte); }
@media (hover: hover) { .seite-kopf .btn-primary:hover { background: var(--p-l90); color: var(--tinte); } .seite-kopf .btn-secondary:hover { background: #fff; border-color: #fff; color: var(--tinte); } }
.seite-kopf-raster { display: grid; gap: 2.5rem; align-items: center; }
.seite-kopf-bild img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (min-width: 1000px) { .seite-kopf-raster.mit-bild { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 4rem; } .seite-kopf-bild img { aspect-ratio: 4 / 5; max-height: 34rem; } }
.kruemel { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.75rem; padding: 0; list-style: none; font-size: .9375rem; }
.kruemel li + li::before { content: "/"; margin-right: .5rem; opacity: .6; }
.kruemel a { color: inherit; display: inline-block; padding: .8rem 0; margin: -.45rem 0; }
.kruemel li[aria-current] { padding: .35rem 0; opacity: .85; }
.inhalt { padding-block: clamp(3rem, 6vw, 5.5rem); }
.inhalt.getoent { background: var(--nebel); }
.inhalt h2, .abschluss h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
.inhalt h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.text { max-width: 46rem; }
.text > p, .text li { font-size: 1.125rem; }
.schritte { display: grid; gap: var(--fuge); margin: 2rem 0 0; padding: 0; list-style: none; counter-reset: schritt; max-width: 52rem; }
.schritte li { counter-increment: schritt; position: relative; padding: 1.1rem 1.25rem 1.1rem 4.25rem; background: #fff; font-size: 1.125rem; font-weight: 600; }
.schritte li::before { content: counter(schritt, decimal-leading-zero); position: absolute; left: 1.25rem; top: .95rem; font-family: var(--titel); font-size: 1.5rem; font-weight: 600; color: var(--p-t); }
/* Bündige Bildraster: tools/bau.mjs verteilt die Bilder so auf Reihen, dass jede Reihe voll ist (Klassen m/t/d = Spaltenbreite je Gerät) */
.bildraster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--fuge); margin-top: 2rem; }
.bildraster figure { position: relative; overflow: hidden; background: var(--nebel); }
.bildraster img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.bildraster .m12 img { aspect-ratio: 3 / 2; }
.bildraster figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem .9rem .75rem; font-family: var(--titel); font-size: 1rem; font-weight: 600; line-height: 1.25; color: #fff; background: linear-gradient(180deg, rgba(10, 14, 8, 0), rgba(10, 14, 8, .8)); }
/* Stufen eines Projekts: Etikett oben links in den Farben seiner Instagram-Tafeln */
.bildraster [data-stufe] figcaption { top: .75rem; left: .75rem; right: auto; bottom: auto; padding: 0; background: none; }
.bildraster [data-stufe] figcaption span { display: inline-block; padding: .3rem .95rem; border-radius: 999px; color: #111; background: #fbdd96; box-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.bildraster [data-stufe="umsetzung"] figcaption span { background: #ec9e86; }
.bildraster [data-stufe="nachher"] figcaption span { background: #c3d596; }
.m12 { grid-column: span 12; } .m6 { grid-column: span 6; }
@media (min-width: 700px) {
  .t12 { grid-column: span 12; } .t6 { grid-column: span 6; } .t4 { grid-column: span 4; }
  .bildraster .m12 img { aspect-ratio: 1; } .bildraster .t12 img { aspect-ratio: 2 / 1; } .bildraster .t6 img { aspect-ratio: 3 / 2; }
  .bildraster figcaption { font-size: 1.125rem; }
}
@media (min-width: 1100px) {
  .d12 { grid-column: span 12; } .d6 { grid-column: span 6; } .d4 { grid-column: span 4; } .d3 { grid-column: span 3; }
  .bildraster .t12 img, .bildraster .t6 img { aspect-ratio: 1; } .bildraster .d12 img { aspect-ratio: 5 / 2; } .bildraster .d6 img { aspect-ratio: 3 / 2; } .bildraster .d4 img { aspect-ratio: 4 / 3; }
}
/* Personen (Seite Über uns): Foto quadratisch, Text darunter */
.personen { row-gap: 2rem; }
.personen figure { background: none; overflow: visible; }
.personen.bildraster img { aspect-ratio: 1; }
.personen figcaption { position: static; display: grid; gap: .15rem; padding: .9rem 0 0; color: var(--tinte); background: none; }
.personen figcaption strong { font-family: var(--titel); font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
.personen figcaption span { font-family: var(--schrift); font-size: 1rem; font-weight: 600; color: var(--p-t); }
.personen figcaption small { font-family: var(--schrift); font-size: .9375rem; font-weight: 400; line-height: 1.5; color: var(--tinte-leise); }
.container.schmal { max-width: calc(54rem + 2 * var(--rand)); }
.karten { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--fuge); margin-top: 2rem; }
.karte { position: relative; display: grid; overflow: hidden; background: var(--p-d50); color: #fff; }
.karte img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform var(--dur-lang) var(--ease-aus); }
.karte div { padding: 1.1rem 1.25rem 1.4rem; }
.karte h3 { margin: 0 0 .3rem; font-size: 1.5rem; }
.karte p { margin: 0; opacity: .88; }
.karte a { color: inherit; text-decoration: none; }
.karte a::after { content: ""; position: absolute; inset: 0; }
@media (hover: hover) { .karte:hover img { transform: scale(1.04); } }
@media (min-width: 640px) { .karten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 999px) { .karten.fuenf .karte:last-child { grid-column: span 2; } .karten.fuenf .karte:last-child img { aspect-ratio: 16 / 6; } }
@media (min-width: 1000px) { .karten { grid-template-columns: repeat(3, minmax(0, 1fr)); } .karten.fuenf { grid-template-columns: repeat(5, minmax(0, 1fr)); } .karten.fuenf .karte h3 { font-size: 1.3rem; } }
.fragen { max-width: 52rem; margin-top: 1.5rem; border-top: 1px solid var(--linie); }
.fragen .akk { border-bottom: 1px solid var(--linie); }
.fragen h3 { margin: 0; font-size: inherit; letter-spacing: 0; }
.akk-knopf { position: relative; display: block; width: 100%; padding: 1.15rem 3.25rem 1.15rem 0; text-align: left; font-family: var(--titel); font-size: clamp(1.2rem, 1.8vw, 1.4rem); font-weight: 600; line-height: 1.25; color: var(--tinte); background: none; border: 0; }
.akk-knopf::after { content: ""; position: absolute; right: .6rem; top: 50%; width: .7rem; height: .7rem; margin-top: -.55rem; border-right: 2.5px solid var(--p-t); border-bottom: 2.5px solid var(--p-t); transform: rotate(45deg); transition: transform var(--dur-mittel) var(--ease-aus); }
.akk.offen .akk-knopf::after { transform: translateY(.3rem) rotate(-135deg); }
.akk-feld { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur-mittel) var(--ease-aus); }
.akk.offen .akk-feld { grid-template-rows: 1fr; }
.akk-feld > div { overflow: hidden; min-height: 0; visibility: hidden; transition: visibility 0s linear var(--dur-mittel); }
.akk.offen .akk-feld > div { visibility: visible; transition-delay: 0s; }
.akk-inhalt { padding: 0 3rem 1.25rem 0; font-size: 1.125rem; color: var(--tinte-leise); }
.akk-inhalt p:last-child { margin: 0; }
.orte { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.orte li { padding: .45rem 1.1rem; border-radius: 999px; background: var(--p-l90); font-family: var(--titel); font-size: 1.125rem; font-weight: 600; color: var(--p-d50); }
.abschluss { position: relative; padding-block: clamp(4rem, 8vw, 7rem); background: var(--p); color: var(--auf-p); overflow: clip; }
.abschluss .lead { color: inherit; }
.abschluss .btn-primary { background: #fff; color: var(--tinte); }
.abschluss .btn-secondary { color: inherit; }
@media (hover: hover) { .abschluss .btn-primary:hover { background: var(--p-l90); color: var(--tinte); } .abschluss .btn-secondary:hover { background: #fff; border-color: #fff; color: var(--tinte); } }
.seite { padding: calc(var(--kopf-hoehe) + clamp(2.5rem, 6vw, 5rem)) 0 clamp(4rem, 8vw, 7rem); }
.seite > .container { max-width: calc(56rem + 2 * var(--rand)); }
.seite h1 { font-size: clamp(2.4rem, 5.4vw, 4.5rem); }
.seite-inhalt { padding: 1rem 0 0; }
.karriere-gruss { margin-bottom: 2rem; }
.rechtstext { overflow-wrap: anywhere; }
.rechtstext .h5 { font-size: 1.35rem; margin: 0 0 .5rem; }
.rechtstext h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 2.5rem 0 .75rem; line-height: 1.15; }
.rechtstext h3 { font-size: 1.3rem; margin: 1.5rem 0 .5rem; }
.entwurf { background: #fff3cd; padding: .1em .35em; border-radius: .25rem; }
.mt-4 { margin-top: 1.5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .tafel img, .tafel.ist-aktiv img { scale: 1; }
  ::view-transition-new(root) { animation: none; }
}
