/* Pfäffle – Firmenauftritt. Dunkel, Pfäffle-Grün als einzige Akzentfarbe, Schrift Scada (lokal). */

@font-face { font-family: "Scada"; src: url("../fonts/scada-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Scada"; src: url("../fonts/scada-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --grund: #0e100f;
  --flaeche: #161917;
  --flaeche-2: #1d211e;
  --linie: rgba(255, 255, 255, .10);
  --linie-stark: rgba(255, 255, 255, .22);
  --text: #e8ebe9;
  --leise: #a4aca7;
  --gruen: #00946d;          /* Pfäffle-Grün aus dem bestehenden Auftritt */
  --gruen-text: #35c296;     /* aufgehelltes Grün für Text auf dunklem Grund (Kontrast) */
  --gruen-tief: #00513c;
  --weiss: #ffffff;
  --rahmen: 1240px;
  --rand: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --abstand: clamp(64px, 9vw, 128px);
  --schatten: 0 24px 60px -24px rgba(0, 0, 0, .7);
  --schnell: 180ms cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--grund); color: var(--text);
  font: 400 clamp(16px, 1.05vw + 11px, 18px)/1.65 "Scada", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 700; line-height: 1.12; letter-spacing: -.012em; margin: 0 0 .5em; color: var(--weiss); text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 4.6vw + .6rem, 4.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 2.4vw + .8rem, 2.9rem); }
h3 { font-size: clamp(1.15rem, .6vw + 1rem, 1.4rem); }
p { margin: 0 0 1em; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--gruen-text); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gruen); color: #fff; }

.rahmen { width: 100%; max-width: calc(var(--rahmen) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: -999px; top: 8px; background: var(--gruen); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.sprung:focus { left: 8px; }

.ueberzeile { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gruen-text); margin-bottom: 1rem; }
.ueberzeile--hell { color: rgba(255, 255, 255, .78); }
.gross { font-size: clamp(1.05rem, .5vw + .95rem, 1.25rem); color: var(--leise); max-width: 62ch; }
.leise { color: var(--leise); font-size: .95rem; }
.klein-titel { font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--leise); margin-bottom: 1.25rem; }

/* Knöpfe & Links */
.knopfreihe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.75rem; }
.knopf {
  display: inline-flex; align-items: center; gap: .55em; min-height: 48px; padding: .75em 1.4em;
  background: var(--gruen); color: #fff; border: 1px solid var(--gruen); border-radius: 999px;
  font-weight: 700; font-size: .98rem; text-decoration: none; letter-spacing: .01em;
  transition: background var(--schnell), border-color var(--schnell), transform var(--schnell);
}
.knopf:hover { background: #00a67a; border-color: #00a67a; }
.knopf:active { transform: translateY(1px); }
.knopf--rand { background: transparent; border-color: var(--linie-stark); color: var(--text); }
.knopf--rand:hover { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.4); }
.knopf--hell { background: #fff; color: var(--gruen-tief); border-color: #fff; }
.knopf--hell:hover { background: #e9f6f1; border-color: #e9f6f1; }
.knopf--hellrand { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.knopf--hellrand:hover { background: rgba(255,255,255,.1); }
.knopf--klein { min-height: 40px; padding: .5em 1.1em; font-size: .9rem; }
.knopf--breit { width: 100%; justify-content: center; margin-top: 1.25rem; }
.pfeil { width: 1.1em; height: 1.1em; flex: none; transition: transform var(--schnell); }
a:hover > .pfeil, a:hover .textlink .pfeil { transform: translateX(4px); }
.textlink { display: inline-flex; align-items: center; gap: .5em; color: var(--gruen-text); font-weight: 700; text-decoration: none; }
.textlink:hover { color: #5bd4ad; }

/* Kopf */
/* Unschärfe liegt auf ::before – sonst wäre das feste Handy-Menü an die Kopfzeile gebunden */
.kopf { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; transition: border-color var(--schnell); }
.kopf::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(14, 16, 15, .82); backdrop-filter: saturate(140%) blur(14px); -webkit-backdrop-filter: saturate(140%) blur(14px); transition: background var(--schnell); }
.kopf.ist-gescrollt { border-bottom-color: var(--linie); }
.kopf.ist-gescrollt::before { background: rgba(14, 16, 15, .94); }
.kopf__innen { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.kopf__logo { color: #fff; display: block; width: 96px; }
.kopf__logo:hover { color: var(--gruen-text); }
.kopf__nav { display: flex; align-items: center; gap: 28px; }
.kopf__nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.kopf__nav ul a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--leise); font-weight: 700; font-size: .98rem; transition: color var(--schnell), background var(--schnell); }
.kopf__nav ul a:hover { color: #fff; background: rgba(255,255,255,.06); }
.kopf__nav ul a[aria-current] { color: #fff; }
.kopf__nav ul a[aria-current]::after { content: ""; display: block; height: 2px; margin-top: 4px; background: var(--gruen); border-radius: 2px; }
.kopf__menueknopf { display: none; }

@media (max-width: 920px) {
  .kopf__menueknopf { display: grid; place-items: center; width: 48px; height: 48px; margin-right: -10px; background: none; border: 0; color: #fff; cursor: pointer; }
  .burger, .burger::before, .burger::after { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--schnell), opacity var(--schnell); }
  .burger { position: relative; }
  .burger::before, .burger::after { content: ""; position: absolute; left: 0; }
  .burger::before { top: -7px; } .burger::after { top: 7px; }
  [aria-expanded="true"] .burger { background: transparent; }
  [aria-expanded="true"] .burger::before { transform: translateY(7px) rotate(45deg); }
  [aria-expanded="true"] .burger::after { transform: translateY(-7px) rotate(-45deg); }
  .kopf__nav { position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 16px; padding: 12px var(--rand) 28px; background: var(--grund); border-bottom: 1px solid var(--linie); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity var(--schnell), transform var(--schnell), visibility var(--schnell); }
  .kopf__nav.ist-offen { opacity: 1; transform: none; visibility: visible; }
  .kopf__nav ul { flex-direction: column; gap: 0; }
  .kopf__nav ul a { padding: 14px 4px; font-size: 1.2rem; border-radius: 0; border-bottom: 1px solid var(--linie); color: var(--text); }
  .kopf__nav ul a[aria-current]::after { display: none; }
  .kopf__nav ul a[aria-current] { color: var(--gruen-text); }
  .kopf__nav .knopf { justify-content: center; }
}

/* Bühne (Startseite) */
.buehne { position: relative; min-height: min(88vh, 860px); display: grid; align-items: end; isolation: isolate; overflow: hidden; }
.buehne__bild { position: absolute; inset: 0; z-index: -1; }
.buehne__bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,16,15,.94) 0%, rgba(14,16,15,.78) 42%, rgba(14,16,15,.25) 100%), linear-gradient(0deg, var(--grund) 0%, rgba(14,16,15,0) 40%); }
.bild-fuellend, .bild-fuellend img { width: 100%; height: 100%; object-fit: cover; }
.buehne__text { padding-block: clamp(96px, 14vh, 160px) clamp(56px, 9vh, 104px); }
.buehne__text h1 { max-width: 15ch; }
.buehne__einleitung { font-size: clamp(1.1rem, .7vw + .95rem, 1.35rem); color: #cfd5d1; max-width: 54ch; }

/* Zahlen */
.zahlen { border-block: 1px solid var(--linie); background: var(--flaeche); }
.zahlen__liste { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin-block: 0; }
.zahlen__liste li { padding: 32px 24px 30px; border-left: 1px solid var(--linie); }
.zahlen__liste li:first-child { border-left: 0; padding-left: 0; }
.zahlen__liste strong { display: block; font-size: clamp(1.9rem, 2.4vw + .6rem, 2.8rem); line-height: 1; color: #fff; letter-spacing: -.02em; margin-bottom: 10px; }
.zahlen__liste span { color: var(--leise); font-size: .95rem; line-height: 1.4; display: block; }
.zahlen--flach { background: transparent; }
@media (max-width: 760px) {
  .zahlen__liste { grid-template-columns: 1fr 1fr; }
  .zahlen__liste li { padding: 22px 0 22px 18px; }
  .zahlen__liste li:nth-child(odd) { border-left: 0; padding-left: 0; }
  .zahlen__liste li:nth-child(n+3) { border-top: 1px solid var(--linie); }
}

/* Abschnitte */
.abschnitt { padding-block: var(--abstand); }
.abschnitt--eng { padding-block: clamp(48px, 6vw, 88px); }
.abschnitt--tief { background: var(--flaeche); }
.abschnitt--gruen { background: linear-gradient(120deg, var(--gruen-tief), var(--gruen) 120%); color: #fff; }
.abschnitt--gruen h2 { color: #fff; }
.abschnitt--gruen .gross { color: rgba(255,255,255,.85); }
.abschnitt__kopf { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }

/* Roter Faden */
.faden__raster { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faden__kopf { position: sticky; top: 120px; }
.faden__schritte { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.faden__schritte li { display: grid; grid-template-columns: 92px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--linie); position: relative; }
.faden__schritte li:last-child { border-bottom: 1px solid var(--linie); }
.faden__jahr { font-size: 1.5rem; font-weight: 700; color: var(--gruen-text); line-height: 1.1; }
.faden__schritte h3 { margin-bottom: .3em; }
.faden__schritte p { color: var(--leise); margin: 0; }
@media (max-width: 860px) { .faden__raster { grid-template-columns: 1fr; } .faden__kopf { position: static; } .faden__schritte li { grid-template-columns: 70px 1fr; } }

/* Bereichs-Karten */
.karten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.karte { grid-column: span 2; }
.karte:nth-child(-n+2) { grid-column: span 3; }
.karte__flaeche { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--flaeche-2); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; transition: border-color var(--schnell), transform var(--schnell), box-shadow var(--schnell); }
.karte__flaeche:hover { border-color: rgba(53,194,150,.5); transform: translateY(-3px); box-shadow: var(--schatten); }
.karte__bild { aspect-ratio: 3 / 2; overflow: hidden; background: #000; }
.karte__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(.2,.7,.2,1); }
.karte__flaeche:hover .karte__bild img { transform: scale(1.04); }
.karte__text { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.karte__text .ueberzeile { margin-bottom: .6rem; }
.karte__text p:not(.ueberzeile) { color: var(--leise); }
.karte__text .textlink { margin-top: auto; }
@media (max-width: 980px) { .karten { grid-template-columns: 1fr 1fr; } .karte, .karte:nth-child(-n+2) { grid-column: span 1; } }
@media (max-width: 620px) { .karten { grid-template-columns: 1fr; } }

/* Geteilt: Bild + Text */
.geteilt { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.geteilt--oben { align-items: start; grid-template-columns: 7fr 5fr; }
.geteilt--umgekehrt .geteilt__bild { order: 2; }
.bild-rund { display: block; border-radius: var(--radius); overflow: hidden; }
.bild-rund img { width: 100%; height: auto; }
.adresse { color: var(--leise); }
@media (max-width: 860px) { .geteilt, .geteilt--oben { grid-template-columns: 1fr; } .geteilt--umgekehrt .geteilt__bild { order: 0; } }

/* Band (grüne Handlungsaufforderung) */
.band { display: flex; justify-content: space-between; align-items: center; gap: 32px 64px; flex-wrap: wrap; }
.band > div:first-child { max-width: 680px; }
.band .knopfreihe { margin-top: 0; }

/* Seitenkopf (Unterseiten) */
.seitenkopf { position: relative; padding-block: clamp(72px, 10vw, 128px) clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--linie); isolation: isolate; overflow: hidden; }
.seitenkopf--bild { min-height: 520px; display: grid; align-items: end; }
.seitenkopf__bild { position: absolute; inset: 0; z-index: -1; }
.seitenkopf__bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,16,15,.95), rgba(14,16,15,.6) 60%, rgba(14,16,15,.3)), linear-gradient(0deg, var(--grund), rgba(14,16,15,0) 55%); }
.seitenkopf h1 { max-width: 18ch; }
.seitenkopf__einleitung { font-size: clamp(1.1rem, .6vw + 1rem, 1.3rem); color: #cfd5d1; max-width: 60ch; }
.krumen { font-size: .9rem; color: var(--leise); margin-bottom: 1.5rem; }
.krumen a { color: var(--leise); text-decoration: none; }
.krumen a:hover { color: #fff; }

/* Fließtext */
.fliesstext { max-width: 68ch; }
.fliesstext--breit { max-width: 80ch; }
.fliesstext h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 1.4vw + 1rem, 2.1rem); }
.fliesstext h2:first-child, .fliesstext h3:first-child { margin-top: 0; }
.fliesstext h3 { margin-top: 1.5em; }
.fliesstext p, .fliesstext li { color: #cdd3cf; }
.fliesstext ul { padding-left: 0; list-style: none; }
.fliesstext ul li { position: relative; padding-left: 1.6em; margin-bottom: .55em; }
.fliesstext ul li::before { content: ""; position: absolute; left: 0; top: .62em; width: .7em; height: 2px; background: var(--gruen-text); }
.fliesstext a { color: var(--gruen-text); text-underline-offset: 3px; }
.fliesstext strong { color: #fff; }
.fliesstext blockquote { margin: 1.5em 0; padding: 1em 1.4em; border-left: 3px solid var(--gruen); background: var(--flaeche); border-radius: 0 10px 10px 0; }

/* Kasten (Seitenspalte) */
.kasten { background: var(--flaeche-2); border: 1px solid var(--linie); border-radius: var(--radius); padding: 28px; }
.geteilt--oben > .kasten { position: sticky; top: 104px; }
.kasten__titel { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gruen-text); margin: 0 0 .8em; }
.kasten__titel:not(:first-child) { margin-top: 1.8em; }
.kasten p { color: #cdd3cf; }
.kasten__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.kasten__links a { display: block; padding: 14px 16px; border: 1px solid var(--linie); border-radius: 10px; text-decoration: none; transition: border-color var(--schnell), background var(--schnell); }
.kasten__links a:hover { border-color: var(--gruen); background: rgba(0,148,109,.08); }
.kasten__links strong { display: block; color: #fff; }
.kasten__links span { display: block; color: var(--leise); font-size: .92rem; margin-top: 2px; }
.gross-link { font-size: 1.35rem; font-weight: 700; color: #fff; text-decoration: none; word-break: break-word; }
.gross-link:hover { color: var(--gruen-text); }

/* Kacheln */
.kacheln { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.kachel { background: var(--flaeche); padding: 30px 28px; border: 1px solid var(--linie); border-radius: var(--radius); position: relative; }
.kachel::before { content: ""; display: block; width: 28px; height: 3px; border-radius: 2px; background: var(--gruen); margin-bottom: 18px; }
.abschnitt--tief .kachel { background: var(--grund); }
.kachel h3 { margin-bottom: .45em; }
.kachel p { color: var(--leise); margin: 0; }

/* Bereichsübersicht in Zeilen */
.zeilen { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(48px, 7vw, 96px); }
.zeile { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.zeile:nth-child(even) .zeile__bildlink { order: 2; }
.zeile h2 a { text-decoration: none; }
.zeile h2 a:hover { color: var(--gruen-text); }
.zeile__text > p:not(.ueberzeile) { color: var(--leise); }
@media (max-width: 860px) { .zeile { grid-template-columns: 1fr; } .zeile:nth-child(even) .zeile__bildlink { order: 0; } }

.mini-karten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.mini-karten a { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 12px; padding: 20px; border: 1px solid var(--linie); border-radius: 12px; text-decoration: none; height: 100%; transition: border-color var(--schnell), background var(--schnell); }
.mini-karten a:hover { border-color: var(--gruen); background: rgba(0,148,109,.07); }
.mini-karten .ueberzeile { grid-column: 1 / -1; margin: 0; font-size: .7rem; }
.mini-karten strong { color: #fff; font-size: 1.1rem; }
.mini-karten .pfeil { color: var(--gruen-text); }

.galerie { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.galerie figure { margin: 0; }
.galerie figcaption { color: var(--leise); font-size: .9rem; margin-top: 10px; }

/* Chronik */
.chronik { list-style: none; margin: 0; padding: 0; position: relative; }
.chronik::before { content: ""; position: absolute; left: 118px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--gruen), var(--linie) 70%); }
.chronik__punkt { display: grid; grid-template-columns: 100px 1fr; gap: 0 37px; padding-bottom: 40px; position: relative; }
.chronik__punkt::before { content: ""; position: absolute; left: 113px; top: 9px; width: 11px; height: 11px; border-radius: 50%; background: var(--grund); border: 2px solid var(--gruen-text); }
.chronik__jahr { font-size: 1.45rem; font-weight: 700; color: var(--gruen-text); text-align: right; line-height: 1.2; }
.chronik__inhalt { max-width: 640px; }
.chronik__inhalt h3 { margin-bottom: .3em; }
.chronik__inhalt p { color: var(--leise); }
.chronik__bild { margin-top: 14px; max-width: min(420px, 100%); }
.chronik__bild img { max-height: 360px; width: auto; }
@media (max-width: 620px) {
  .chronik::before { left: 6px; }
  .chronik__punkt { grid-template-columns: 1fr; padding-left: 32px; }
  .chronik__punkt::before { left: 1px; }
  .chronik__jahr { text-align: left; font-size: 1.15rem; }
}

/* Personen */
.personen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 28px; }
.person__bild { border-radius: var(--radius); overflow: hidden; margin-bottom: 14px; aspect-ratio: 4 / 5; background: var(--flaeche-2); }
.person__bild img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15); }
.person__bild--leer { display: grid; place-items: center; font-size: 3rem; color: var(--gruen-text); border: 1px solid var(--linie); }
.person h3 { margin-bottom: .15em; }
.person p { color: var(--leise); margin: 0; font-size: .95rem; }

/* Stellen, Steckbrief, Kontakt */
.stellen { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.stellen a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 16px 18px; border: 1px solid var(--linie); border-radius: 10px; text-decoration: none; transition: border-color var(--schnell), background var(--schnell); }
.stellen a:hover { border-color: var(--gruen); background: rgba(0,148,109,.08); }
.stellen strong { color: #fff; }
.stellen span { color: var(--leise); font-size: .9rem; grid-column: 1; }
.stellen .pfeil { grid-row: 1 / span 2; grid-column: 2; color: var(--gruen-text); }
.steckbrief { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; }
.steckbrief dt { color: var(--leise); }
.steckbrief dd { margin: 0; color: #fff; }
.steckbrief--breit { background: var(--grund); border: 1px solid var(--linie); border-radius: var(--radius); padding: 28px; align-self: start; }
.kontaktraster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .kontaktraster { grid-template-columns: 1fr; } .steckbrief { grid-template-columns: 1fr; gap: 2px; } .steckbrief dd { margin-bottom: 12px; } }
.zeiten { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.zeiten dt { color: var(--leise); }
.zeiten dd { margin: 0; }
.zeiten--gross { font-size: 1.05rem; margin-bottom: 2rem; gap: 10px 24px; }
@media (max-width: 520px) { .zeiten { grid-template-columns: 1fr; gap: 0; } .zeiten dd { margin-bottom: 8px; } }

/* Fuß */
.fuss { background: #090a09; border-top: 1px solid var(--linie); padding-top: clamp(56px, 7vw, 88px); font-size: .95rem; }
.fuss__raster { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr 1fr; gap: 40px; }
.fuss__logo { display: block; width: 110px; color: #fff; margin-bottom: 18px; }
.fuss__marke p { color: var(--leise); }
.fuss__titel { font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gruen-text); margin-bottom: 1em; }
.fuss p { color: #c9cfcb; }
.fuss a { text-decoration: none; }
.fuss a:hover { color: var(--gruen-text); }
.fuss__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.fuss .zeiten { font-size: .92rem; grid-template-columns: 1fr; gap: 0; }
.fuss .zeiten dd { margin-bottom: 8px; color: #c9cfcb; }
.fuss__unten { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 56px; padding-block: 24px 32px; border-top: 1px solid var(--linie); color: var(--leise); font-size: .88rem; }
.fuss__unten nav { display: flex; gap: 20px; }
@media (max-width: 980px) { .fuss__raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .fuss__raster { grid-template-columns: 1fr; } }

/* Einblenden beim Scrollen (nur mit JS, nur ohne Bewegungs-Reduktion) */
@media (prefers-reduced-motion: no-preference) {
  .js .einblenden { opacity: 0; transform: translateY(18px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1); }
  .js .einblenden.ist-sichtbar { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

/* ---------- Seitenkopf mit Bild rechts (z. B. Karriere, Stellen) ---------- */
.seitenkopf__raster { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.seitenkopf--rechts { padding-block: clamp(56px, 8vw, 104px); }
.seitenkopf__seitenbild .bild-rund { box-shadow: var(--schatten); }
@media (max-width: 860px) { .seitenkopf__raster { grid-template-columns: 1fr; } }

/* ---------- Neuigkeiten-Slider ---------- */
.abschnitt--eng-unten { padding-top: var(--abstand); padding-bottom: clamp(24px, 3vw, 40px); }
.neuigkeiten__kopf { display: flex; justify-content: space-between; align-items: end; gap: 16px 32px; flex-wrap: wrap; margin-bottom: 32px; }
.neuigkeiten__kopf h2 { margin: 0; }
.neuigkeiten__steuerung { display: flex; align-items: center; gap: 10px; }
.neuigkeiten__alle { margin-right: 12px; }
.rundknopf { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--linie-stark); background: transparent; color: #fff; cursor: pointer; transition: background var(--schnell), border-color var(--schnell), opacity var(--schnell); }
.rundknopf svg { width: 22px; height: 22px; }
.rundknopf:hover { background: var(--gruen); border-color: var(--gruen); }
.rundknopf:disabled { opacity: .35; cursor: default; background: transparent; border-color: var(--linie-stark); }
.neuigkeiten__band { list-style: none; margin: -16px 0 0; padding: 16px 0 12px; /* Platz nach oben, damit die angehobene Kachel nicht abgeschnitten wird */ display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 20px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.neuigkeiten__band::-webkit-scrollbar { display: none; }
.neuigkeiten__band:focus-visible { outline-offset: 6px; }
@media (max-width: 980px) { .neuigkeiten__band { grid-auto-columns: calc((100% - 20px) / 2); } }
@media (max-width: 620px) { .neuigkeiten__band { grid-auto-columns: 86%; } .neuigkeiten__alle { display: none; } }
.neuigkeit { scroll-snap-align: start; min-width: 0; }
.neuigkeit__flaeche { display: flex; flex-direction: column; height: 100%; background: var(--flaeche-2); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: border-color var(--schnell), transform var(--schnell); }
a.neuigkeit__flaeche:hover { border-color: rgba(53,194,150,.5); transform: translateY(-3px); }
.neuigkeit__bild { aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.neuigkeit__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms cubic-bezier(.2,.7,.2,1); }
a.neuigkeit__flaeche:hover .neuigkeit__bild img { transform: scale(1.04); }
.neuigkeit__platzhalter { height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, var(--gruen-tief), var(--gruen)); color: #fff; }
.neuigkeit__platzhalter .logo-svg { width: 38%; }
.neuigkeit__text { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.neuigkeit__text h3 { margin-bottom: .4em; }
.neuigkeit__text p:not(.neuigkeit__meta) { color: var(--leise); }
.neuigkeit__text .textlink { margin-top: auto; }
.neuigkeit__meta { font-size: .85rem; color: var(--gruen-text); letter-spacing: .04em; margin-bottom: .6rem; }

/* Übersicht /aktuelles */
.nachrichtenliste { list-style: none; margin: 0; padding: 0; display: grid; gap: 40px; }
.nachricht { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: clamp(20px, 4vw, 48px); align-items: center; padding-bottom: 40px; border-bottom: 1px solid var(--linie); }
.nachricht h2 { font-size: clamp(1.4rem, 1.2vw + 1rem, 2rem); }
.nachricht h2 a { text-decoration: none; }
.nachricht h2 a:hover { color: var(--gruen-text); }
@media (max-width: 760px) { .nachricht { grid-template-columns: 1fr; } }

/* ---------- Karriere: Stellenkarten mit Personenbild ---------- */
.karriere__stellentitel { margin-top: 0; }
.stellenkarten { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); gap: 20px; }
.stellenkarte { display: grid; grid-template-columns: 150px 1fr; height: 100%; background: var(--flaeche-2); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: border-color var(--schnell), transform var(--schnell); }
.stellenkarte:hover { border-color: rgba(53,194,150,.5); transform: translateY(-3px); }
.stellenkarte__bild { background: linear-gradient(180deg, #1b2a24, #0f1612); display: flex; align-items: flex-end; justify-content: center; padding-top: 18px; overflow: hidden; }
.stellenkarte__bild img { width: 100%; height: auto; }
.stellenkarte__text { padding: 22px 24px; display: flex; flex-direction: column; }
.stellenkarte__text .ueberzeile { margin-bottom: .5rem; font-size: .7rem; }
.stellenkarte__text p:not(.ueberzeile) { color: var(--leise); font-size: .95rem; }
.stellenkarte__text .textlink { margin-top: auto; }
@media (max-width: 520px) { .stellenkarte { grid-template-columns: 110px 1fr; } }
.seite-stelle .seitenkopf__seitenbild .bild-rund { background: linear-gradient(180deg, #1b2a24, #0f1612); max-width: 380px; margin-inline: auto; padding-top: 32px; box-shadow: none; }

/* ---------- Bausteine ---------- */
.baustein + .baustein:not(.abschnitt--tief):not(.abschnitt--gruen) { padding-top: 0; }
.zahlen__liste--baustein { padding: 0; border-block: 1px solid var(--linie); }
.zahlen__liste--baustein li:first-child { padding-left: 0; }
.kachel__link { display: block; text-decoration: none; }
.kachel__link:hover h3 { color: var(--gruen-text); }
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq__punkt { border: 1px solid var(--linie); border-radius: 12px; background: var(--flaeche); }
.faq__punkt summary { cursor: pointer; padding: 18px 22px; font-weight: 700; color: #fff; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq__punkt summary::-webkit-details-marker { display: none; }
.faq__punkt summary::after { content: "+"; color: var(--gruen-text); font-size: 1.4rem; line-height: 1; }
.faq__punkt[open] summary::after { content: "–"; }
.faq__punkt .fliesstext { padding: 0 22px 18px; max-width: none; }
.frei { max-width: 100%; overflow-x: auto; }
.abschnitt--gruen .fliesstext p, .abschnitt--gruen .fliesstext li { color: rgba(255,255,255,.9); }
.neuigkeiten__steuerung.ohne-pfeile .rundknopf { display: none; }

/* ---------- Bereiche: drei gleichwertige Hauptbereiche + weitere Shops kompakt ---------- */
.karten--haupt { grid-template-columns: repeat(3, 1fr); }
.karten--haupt .karte, .karten--haupt .karte:nth-child(-n+2) { grid-column: auto; }
.karten--haupt .karte__bild { aspect-ratio: 45 / 32; }
.karten--2 { grid-template-columns: repeat(2, 1fr); }
.karten--4 { grid-template-columns: repeat(2, 1fr); }
.karten__zwischentitel { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; color: var(--leise); margin: clamp(40px, 5vw, 64px) 0 18px; }
.karten--weitere { grid-template-columns: repeat(2, 1fr); }
.karten--weitere .karte, .karten--weitere .karte:nth-child(-n+2) { grid-column: auto; }
.karte__flaeche--quer { flex-direction: row; }
.karte__flaeche--quer .karte__bild { flex: 0 0 38%; aspect-ratio: auto; }
.karte__flaeche--quer .karte__text { padding: 20px 22px 22px; }
.karte__flaeche--quer h3 { font-size: 1.15rem; }
.karte__flaeche--quer .karte__text p:not(.ueberzeile) { font-size: .95rem; }
/* Hauptbereiche bleiben immer gleich groß: drei nebeneinander oder alle untereinander */
@media (max-width: 980px) { .karten--weitere { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .karten--haupt, .karten--2, .karten--4 { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .karte__flaeche--quer { flex-direction: column; } .karte__flaeche--quer .karte__bild { aspect-ratio: 3 / 2; } }

/* Bühne: Motiv steht rechts – auf schmalen Bildschirmen Gebäudeecke mit Schriftzug zeigen (62 %) */
.buehne__bild img { object-position: 62% center; }

/* ---------- Formulare (Online-Bewerbung) ---------- */
.formular__rahmen { margin-top: 28px; }
.formular form { display: grid; gap: 18px; }
.formular .form-field, .formular .form-group { margin: 0; }
.formular label, .formular .form-label { display: block; font-weight: 700; color: #fff; margin-bottom: 6px; font-size: .95rem; }
.formular .required, .formular .form-label .required { color: var(--gruen-text); }
.formular input[type=text], .formular input[type=email], .formular input[type=tel], .formular select, .formular textarea {
  width: 100%; padding: 13px 14px; font: inherit; color: var(--text); background: var(--flaeche-2);
  border: 1px solid var(--linie-stark); border-radius: 10px; transition: border-color var(--schnell), box-shadow var(--schnell);
}
.formular textarea { min-height: 130px; resize: vertical; }
.formular input:focus, .formular select:focus, .formular textarea:focus { outline: none; border-color: var(--gruen-text); box-shadow: 0 0 0 3px rgba(53,194,150,.25); }
.formular input::placeholder, .formular textarea::placeholder { color: #7d857f; }
.formular select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--leise) 50%), linear-gradient(135deg, var(--leise) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.formular input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--gruen); margin: 2px 10px 0 0; flex: none; }
.formular .checkboxes label, .formular .form-input-wrapper label { display: flex; align-items: flex-start; font-weight: 400; color: #cdd3cf; }
.formular .dropzone, .formular .form-input-file, .formular .filepond--root { background: var(--flaeche-2) !important; border: 2px dashed var(--linie-stark) !important; border-radius: 12px !important; color: var(--leise); min-height: 120px; padding: 18px; }
.formular .dropzone:hover { border-color: var(--gruen-text) !important; }
.formular .dz-message, .formular .dz-message span { color: var(--leise) !important; }
.formular .form-actions, .formular .button-wrapper { margin-top: 6px; }
.formular button[type=submit], .formular .button { display: inline-flex; align-items: center; min-height: 50px; padding: .8em 1.6em; background: var(--gruen); color: #fff; border: 0; border-radius: 999px; font: 700 1rem "Scada", sans-serif; cursor: pointer; }
.formular button[type=submit]:hover { background: #00a67a; }
.formular .notices, .formular .alert, .formular .form-errors { padding: 14px 18px; border-radius: 10px; margin-bottom: 8px; }
.formular .notices.green, .formular .alert-success, .formular .notices.success { background: rgba(0,148,109,.18); border: 1px solid var(--gruen); color: #fff; }
.formular .notices.red, .formular .alert-danger, .formular .form-errors, .formular .notices.error { background: rgba(200,60,60,.15); border: 1px solid #c85050; color: #fff; }
.formular .form-input-wrapper .help, .formular .hint { color: var(--leise); font-size: .88rem; }
.schritte { margin: 0 0 1.6em; padding-left: 1.2em; color: #cdd3cf; }
.schritte li { margin-bottom: .45em; }

.karte__titel { font-size: clamp(1.15rem, .6vw + 1rem, 1.4rem); margin-bottom: .5em; }
.karten__zwischentitel { font-weight: 700; }

/* Person ohne Porträt: unsichtbarer Platzhalter in Bildgröße, damit der Name auf einer Linie mit den anderen steht */
.person--ohne-bild::before { content: ""; display: block; aspect-ratio: 4 / 5; margin-bottom: 14px; }

/* Bewerbung gesendet: grüne Dankesmeldung ganz oben, sofort sichtbar */
.danke { border-bottom: 0; padding-block: clamp(40px, 6vw, 72px); }
.danke__kasten { display: flex; gap: clamp(18px, 3vw, 32px); align-items: flex-start; background: var(--gruen); color: #fff; border-radius: 18px; padding: clamp(26px, 4vw, 48px); outline: none; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
.danke__kasten .ueberzeile { color: rgba(255,255,255,.85); }
.danke__kasten h1 { max-width: none; margin: .1em 0 .35em; color: #fff; }
.danke__text { font-size: clamp(1.05rem, .6vw + .9rem, 1.25rem); line-height: 1.55; max-width: 60ch; margin: 0 0 24px; }
.danke__haken { flex: none; width: clamp(48px, 6vw, 68px); height: clamp(48px, 6vw, 68px); border-radius: 50%; background: #fff; color: var(--gruen); display: grid; place-items: center; }
.danke__haken svg { width: 60%; height: 60%; }
@media (max-width: 560px) { .danke__kasten { flex-direction: column; } }
.formular--oben { padding-top: 24px; }
/* Während des Hochladens: Knopf gesperrt mit Hinweis */
.formular button[type=submit].ist-am-senden, .formular input[type=submit].ist-am-senden { opacity: .75; cursor: progress; }
.formular__senden-hinweis { margin-top: 12px; color: var(--leise); font-size: .95rem; }
