/* allrounderX – Feinschliff für alle Seiten und die Bausteine der Bereichsseiten.
   Liegt hinter style.css: Farben und Grundmaße kommen von dort, hier stehen nur Ergänzungen. */
:root {
  --tief: #070d1a;
  --tief-2: #0d1730;
  --linie-dunkel: rgba(255, 255, 255, .11);
  --text-dunkel: #b8c5da;
  --schatten-weich: 0 1px 2px rgba(11, 27, 58, .05), 0 8px 24px rgba(11, 27, 58, .07);
  --schatten-bild: 0 2px 6px rgba(7, 13, 26, .12), 0 24px 60px rgba(7, 13, 26, .24);
  --kopf-hoehe: 76px;
}
html { scroll-padding-top: 136px; }
h1 { font-weight: 800; letter-spacing: -.028em; }
h2 { font-weight: 800; letter-spacing: -.024em; }
:focus-visible { outline: 3px solid rgba(0, 102, 253, .55); outline-offset: 2px; border-radius: 4px; }

/* Kopfzeile und Knöpfe auf allen Seiten */
.kopf { background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: saturate(170%) blur(14px); backdrop-filter: saturate(170%) blur(14px); }
.knopf { border-radius: 11px; font-weight: 700; }
.knopf--primaer { background: var(--accent); box-shadow: 0 1px 2px rgba(0, 40, 120, .3), 0 8px 18px rgba(0, 102, 253, .24); }
.knopf--primaer:hover { background: var(--accent-dunkel); filter: none; box-shadow: 0 1px 2px rgba(0, 40, 120, .3), 0 10px 22px rgba(0, 102, 253, .3); }
.knopf:hover { transform: translateY(-1px); }
.funktionsmenue__spalten { gap: .35rem 1rem; }
.funktionsmenue__eintrag { padding: .45rem .7rem; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.gewerkkarte--breit { grid-column: 1 / -1; }

/* Held der Startseite mit echtem Bild */
.held__bild--echt .rahmen { box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }

/* ---------- Rahmen um Bildschirmfotos ---------- */
.rahmen { overflow: hidden; border: 1px solid rgba(120, 140, 175, .28); border-radius: 12px; background: #0f1a30; box-shadow: var(--schatten-bild); }
.b-abschnitt .rahmen:not(.rahmen--telefon), .b-abschnitt--tief .rahmen:not(.rahmen--telefon) { background: #e8edf5; }
.rahmen__leiste { display: flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; background: #141f37; }
.rahmen__leiste i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.rahmen__leiste span { flex: 1; max-width: 60%; margin: 0 auto; overflow: hidden; padding: 2px 10px; border-radius: 6px; background: rgba(255, 255, 255, .07); color: #a9b6cc; font-size: 11px; text-align: center; white-space: nowrap; text-overflow: ellipsis; }
.rahmen img { display: block; width: 100%; height: auto; }
.rahmen img[data-gross] { cursor: zoom-in; }
/* Manche Ansichten sind höher als ein Bildschirm. Im Rahmen steht einheitlich ihr oberer Teil, ganz sind sie beim Vergrößern zu sehen. */
.rahmen:not(.rahmen--telefon) img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
/* Der Programmfilm im Seitenkopf (bereichsseiten.programmfilm, js/bereich.js) */
.rahmen--film { position: relative; }
.rahmen__film { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: #0f1a30; }
.rahmen__gross { position: absolute; right: 14px; top: 46px; display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .95rem .55rem .75rem; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font: inherit; font-size: .86rem; font-weight: 600; cursor: pointer; box-shadow: 0 8px 22px rgba(0, 0, 0, .38); transition: background .2s, transform .2s; }
.rahmen__gross:hover, .rahmen__gross:focus-visible { background: var(--accent-dunkel); transform: translateY(-1px); }
.rahmen__gross svg { width: 16px; height: 16px; }
.filmansicht { cursor: default; }
.filmansicht video { display: block; width: 100%; height: auto; max-height: 94vh; background: #000; }
.rahmen__leer { display: grid; place-items: center; aspect-ratio: 16 / 10; color: #8ea0bd; font-weight: 700; text-align: center; }
.rahmen__leer small { font-weight: 500; }
.rahmen--telefon { width: min(270px, 100%); margin-inline: auto; padding: 7px; border: 0; border-radius: 34px; background: #0a1020; box-shadow: 0 0 0 1px rgba(255, 255, 255, .13), var(--schatten-bild); }
.rahmen--telefon img { border-radius: 27px; }
.rahmen--telefon .rahmen__leer { aspect-ratio: 9 / 19; }

/* ---------- Seitenkopf ---------- */
.b-held { position: relative; overflow: hidden; padding: clamp(2.6rem, 5vw, 4.6rem) 0 clamp(3rem, 6vw, 5.2rem); background: radial-gradient(900px 480px at 82% -8%, rgba(0, 102, 253, .32), transparent 68%), radial-gradient(640px 380px at 0% 100%, rgba(0, 185, 254, .12), transparent 70%), var(--tief); color: var(--text-dunkel); }
.b-held__raster { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.b-held__film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; }
.b-held__film.laeuft { opacity: .2; }
.b-held__zeile { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; gap: clamp(2rem, 4vw, 3.6rem); }
.b-held h1 { margin: .8rem 0 1rem; color: #fff; font-size: clamp(2.15rem, 4.3vw, 3.5rem); }
.b-held__satz { max-width: 38rem; margin: 0 0 1.2rem; font-size: 1.1rem; line-height: 1.6; }
.b-held__punkte { display: grid; gap: .5rem; margin: 0 0 .4rem; padding: 0; list-style: none; }
.b-held__punkte li { display: flex; gap: .55rem; color: #e3eaf6; font-weight: 550; }
.b-held__punkte .symbol { flex: none; width: 20px; height: 20px; margin-top: 2px; color: #4fd0ff; }
/* Die drei Sätze über den Bildern der Bauelemente-Ansicht stehen auf hellem Grund, nicht im dunklen Kopf. */
.ansicht__punkte { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin: 0 0 1.8rem; padding: 0; list-style: none; }
.ansicht__punkte li { display: flex; gap: .5rem; color: var(--ink); font-weight: 600; }
.ansicht__punkte .symbol { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }
.ansicht__film { margin: 0 auto 2.4rem; max-width: 1000px; }
.ansicht__film video { display: block; width: 100%; height: auto; border-radius: 14px; background: #0b1a2b;
  box-shadow: 0 1px 2px rgba(10, 30, 60, .08), 0 18px 40px rgba(10, 30, 60, .16); }
.ansicht__film figcaption { margin-top: .7rem; color: var(--muted); font-size: .92rem; text-align: center; }
.b-held--mittig { text-align: center; }
.b-held--mittig .container { position: relative; }
.b-held--mittig .b-held__satz { margin-inline: auto; }
.b-gruppe { display: inline-flex; align-items: center; gap: .45rem; padding: .32rem .7rem .32rem .5rem; border: 1px solid var(--linie-dunkel); border-radius: 99px; background: rgba(255, 255, 255, .06); color: #dbe6f6; font-size: .84rem; font-weight: 650; }
.b-gruppe .symbol { width: 16px; height: 16px; color: #4fd0ff; }
.pfad { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.1rem; color: #8a9ab5; font-size: .84rem; }
.pfad a:hover { color: #fff; }
.pfad [aria-current] { color: #c9d5ea; }

/* ---------- Unternavigation ---------- */
.b-unter { position: sticky; top: var(--kopf-hoehe); z-index: 30; border-bottom: 1px solid var(--rand); background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.b-unter__zeile { display: flex; align-items: center; gap: .25rem; overflow-x: auto; scrollbar-width: none; }
.b-unter__zeile::-webkit-scrollbar { display: none; }
.b-unter a { position: relative; flex: none; padding: .85rem .8rem; color: var(--muted); font-size: .92rem; font-weight: 600; }
.b-unter a:hover { color: var(--ink); }
.b-unter a.aktiv { color: var(--accent-dunkel); }
.b-unter a.aktiv::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 0; height: 2px; background: var(--accent); }
.b-unter__demo { margin-left: auto; color: var(--accent-dunkel) !important; font-weight: 700 !important; }

/* ---------- Abschnitte ---------- */
.b-abschnitt { padding: clamp(3.4rem, 7vw, 5.8rem) 0; }
.b-abschnitt--eng { padding: clamp(2.4rem, 4vw, 3.4rem) 0; }
.b-abschnitt--grau { background: var(--bg); }
.b-abschnitt--tief { background: linear-gradient(180deg, #f1f5fc, #fff 70%); }
.b-abschnitt--dunkel { background: var(--tief-2); color: var(--text-dunkel); }
.b-abschnitt--dunkel h2, .b-abschnitt--dunkel h3 { color: #fff; }
.b-kopf { max-width: 720px; margin: 0 0 2.4rem; }
.b-kopf h2 { margin-bottom: .45rem; font-size: clamp(1.75rem, 3.1vw, 2.5rem); }
.b-kopf p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.b-abschnitt--dunkel .b-kopf p { color: var(--text-dunkel); }
.b-vorzeile { display: block; margin-bottom: .5rem; color: var(--accent); font-size: .82rem; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.b-abschnitt--dunkel .b-vorzeile { color: #4fd0ff; }
.b-eng { max-width: 820px; }
.b-zweier { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.4rem; }
.b-zweier h3 { font-size: 1.1rem; }
.beispielhinweis { margin: 1.4rem 0 0; color: var(--muted); font-size: .85rem; }

.b-fakten { border-bottom: 1px solid var(--rand); background: #fff; }
.b-fakten ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem 2rem; margin: 0; padding: 1.6rem 0; list-style: none; }
.b-fakten b { display: block; color: var(--ink); font-size: 1.85rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.b-fakten span { color: var(--muted); font-size: .92rem; }

/* ---------- Fallbeispiel ---------- */
.szenen { position: relative; }
.szenen__liste { display: grid; gap: .55rem; margin: 0; padding: 0; list-style: none; }
.szene { position: relative; overflow: hidden; border: 1px solid var(--rand); border-radius: 13px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.szene__kopf { display: flex; align-items: center; gap: .7rem; width: 100%; padding: .78rem .9rem; border: 0; background: none; color: var(--ink); font: inherit; font-weight: 700; text-align: left; cursor: pointer; }
.szene__titel { flex: 1; }
.szene__nr { display: grid; flex: none; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--bg); color: var(--muted); font-size: .82rem; font-weight: 750; transition: background .2s, color .2s; }
.szene__inhalt { padding: 0 .95rem .95rem 3.05rem; color: var(--muted); font-size: .96rem; line-height: 1.55; }
.szene__inhalt p { margin: 0 0 .45rem; }
.szene__entsteht { color: var(--text); }
.szene__anderswo { font-size: .84rem; }
.szene__bild { margin: 0 .9rem .9rem; }
.szene__bild figcaption { margin-top: .6rem; color: var(--muted); font-size: .86rem; }
.szene__balken { display: none; }
.szenen.bereit .szene:not(.aktiv) .szene__inhalt, .szenen.bereit .szene:not(.aktiv) .szene__bild { display: none; }
.szene.aktiv { border-color: rgba(0, 102, 253, .4); box-shadow: var(--schatten-weich); }
.szene.aktiv .szene__nr { background: var(--accent); color: #fff; }
.wer { flex: none; padding: .12rem .5rem; border-radius: 99px; font-size: .72rem; font-weight: 700; }
.wer--kunde { background: #fff1dc; color: #8a5300; }
.wer--buero { background: var(--accent-hell); color: var(--accent-dunkel); }
.wer--bau { background: var(--mint-hell); color: #13763a; }
.wer--liefer { background: #efe9ff; color: #5a35b5; }
@media (min-width: 981px) {
  .szenen.bereit { display: grid; grid-template-columns: minmax(0, 370px) minmax(0, 1fr); gap: 2rem; align-items: start; }
  .szenen__platz { aspect-ratio: 16 / 10.8; }
  /* Das Bild steht neben dem gewählten Schritt: bereich.js setzt --bild-oben auf dessen Oberkante, begrenzt auf die
     Höhe der Liste. Mit festem top: 0 stand es bei einem unteren Schritt weit darüber, oft schon aus dem Bild gerollt. */
  .szenen.bereit .szene__bild, .szenen.bereit .szene:not(.aktiv) .szene__bild { display: block; position: absolute; top: var(--bild-oben, 0px); right: 0; left: calc(370px + 2rem); margin: 0; opacity: 0; visibility: hidden; transform: translateY(8px) scale(.992); }
  /* Erst nach dem Einrichten überblenden: Sonst flackerten beim Laden alle Bilder übereinander. */
  .szenen.eingerichtet .szene__bild { transition: opacity .45s, transform .55s cubic-bezier(.2, .7, .2, 1), visibility .45s, top .35s cubic-bezier(.2, .7, .2, 1); }
  .szenen.bereit .szene { position: static; }
  .szenen.bereit .szene.aktiv .szene__bild { opacity: 1; visibility: visible; transform: none; }
  .szene__kopf, .szene__inhalt { position: relative; }
  .szene { position: relative; }
  .szene__balken { display: block; position: relative; height: 2px; margin-top: -2px; background: transparent; transform: scaleX(0); transform-origin: left; }
  .szenen.laeuft .szene.aktiv .szene__balken { background: var(--accent); animation: szenenlauf 7.5s linear forwards; }
  .szenen.angehalten .szene.aktiv .szene__balken { animation-play-state: paused; }
  .szenen.bereit .szene { overflow: visible; }
}
@keyframes szenenlauf { to { transform: scaleX(1); } }
.ergebnis { display: flex; gap: .7rem; margin: 1.6rem 0 0; padding: 1rem 1.2rem; border-radius: 12px; background: var(--mint-hell); color: #0f5a2d; }
.ergebnis .symbol { flex: none; width: 22px; height: 22px; }

/* ---------- Funktionen ---------- */
.fgruppe { margin: 2.2rem 0 .9rem; font-size: 1.12rem; }
.fgruppe:first-of-type { margin-top: 0; }
.fraster { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: .9rem; }
.fraster--vier { grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); }
.fkarte { padding: 1.15rem 1.2rem; border: 1px solid var(--rand); border-radius: 13px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.fkarte:hover { border-color: rgba(0, 102, 253, .35); box-shadow: var(--schatten-weich); transform: translateY(-2px); }
.fkarte .symbol { width: 22px; height: 22px; color: var(--accent); }
.fkarte h4 { margin: .55rem 0 .3rem; font-size: 1.02rem; }
.fkarte p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.5; }

/* Funktionsgruppe mit großem Bild ("gruppenbilder" im JSON, bereichsseiten.funktionen): Liste und Foto nebeneinander,
   abwechselnd links und rechts. Das Foto bleibt beim Lesen einer langen Liste stehen (sticky unter Kopf und Leiste). */
.fschau { --fschau-farbe: #1d4ed8; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.8rem, 4.5vw, 4rem); align-items: start; margin: 0 0 clamp(3rem, 6vw, 5rem); }
.fschau:last-child { margin-bottom: 0; }
.fschau + .fgruppe { margin-top: 0; }
.fschau--links { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.fschau--links .fschau__text { order: 2; }
.fschau__titel { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.2rem; font-size: clamp(1.35rem, 2.3vw, 1.85rem); line-height: 1.15; letter-spacing: -.02em; }
.fschau__titel .ikon { width: 56px; height: 56px; border-radius: 16px; }
.fschau__titel .ikon svg { width: 26px; height: 26px; color: #fff; }
.fschau__liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.fschau__liste li { position: relative; padding: .8rem 1rem .85rem 2.5rem; border: 1px solid var(--rand); border-radius: 12px; background: #fff; }
.fschau__liste li::before { content: ""; position: absolute; left: 1.05rem; top: 1.15rem; width: 9px; height: 9px; border-radius: 50%; background: var(--fschau-farbe); box-shadow: 0 0 0 4px color-mix(in srgb, var(--fschau-farbe) 16%, transparent); }
.fschau__liste b { display: block; color: var(--ink); font-size: 1rem; }
.fschau__liste span { display: block; margin-top: .2rem; color: var(--muted); font-size: .92rem; line-height: 1.5; }
.fschau__buehne { position: sticky; top: calc(var(--kopf-hoehe) + 70px); padding: 0 clamp(0px, 3.5vw, 48px) clamp(22px, 3.5vw, 40px) 0; }
.fschau--links .fschau__buehne { padding: 0 0 clamp(22px, 3.5vw, 40px) clamp(0px, 3.5vw, 48px); }
.fschau__buehne::before { content: ""; position: absolute; z-index: 0; inset: 8% -4% -2% 10%; border-radius: 40px; background: radial-gradient(circle at 30% 30%, var(--fschau-farbe), transparent 70%); opacity: .16; filter: blur(8px); }
.fschau__buehne .rahmen { position: relative; z-index: 1; }
.fschau__telefon { position: absolute; z-index: 2; right: 0; bottom: 0; width: clamp(105px, 19%, 165px); padding: 6px; border-radius: 26px; background: #0a1020; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 24px 50px -12px rgba(7, 13, 26, .45); }
.fschau--links .fschau__telefon { right: auto; left: 0; }
.fschau__telefon img { display: block; width: 100%; height: auto; border-radius: 20px; }
.fschau--blau { --fschau-farbe: #1d4ed8; } .fschau--tuerkis { --fschau-farbe: #0f766e; } .fschau--orange { --fschau-farbe: #ea580c; }
.fschau--violett { --fschau-farbe: #6d28d9; } .fschau--gruen { --fschau-farbe: #059669; } .fschau--rosa { --fschau-farbe: #db2777; }
.fschau--indigo { --fschau-farbe: #4338ca; }
@media (max-width: 900px) {
  .fschau, .fschau--links { grid-template-columns: 1fr; gap: 1.4rem; }
  .fschau--links .fschau__text { order: 0; }
  .fschau__buehne, .fschau--links .fschau__buehne { position: relative; top: auto; padding: 0 0 26px; }
  .fschau__telefon, .fschau--links .fschau__telefon { width: 24%; right: 3%; left: auto; }
}
@media (max-width: 560px) {
  .fschau__titel { gap: .8rem; }
  .fschau__titel .ikon { width: 46px; height: 46px; border-radius: 14px; }
  .fschau__titel .ikon svg { width: 22px; height: 22px; }
}

/* ---------- Galerie ---------- */
.galerie { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr)); gap: 1.8rem; }
.gbild { margin: 0; }
.gbild figcaption { margin-top: .75rem; color: var(--muted); font-size: .93rem; }
.gbild figcaption b { display: block; color: var(--ink); }

/* ---------- Karten auf dunklem Grund ---------- */
.draster { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.dkarte { padding: 1.35rem; border: 1px solid var(--linie-dunkel); border-radius: 13px; background: rgba(255, 255, 255, .04); }
.dkarte h3 { font-size: 1.08rem; }
.dkarte p { margin: 0; font-size: .95rem; line-height: 1.55; }
.nochnicht { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--linie-dunkel); }
.nochnicht ul { margin: 0; padding-left: 1.1rem; }

/* ---------- Neu, Listen ---------- */
.neuliste { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.neuliste li { display: grid; grid-template-columns: 104px 1fr; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--rand); }
.neuliste p { margin: .2rem 0 0; color: var(--muted); }
.stand { color: var(--accent-dunkel); font-size: .84rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.chips li { padding: .28rem .7rem; border: 1px solid var(--rand); border-radius: 99px; background: #fff; font-size: .88rem; font-weight: 600; }
.grenzen { margin: 0; padding-left: 1.1rem; color: var(--muted); }

/* ---------- Karten der Bereiche und Filter ---------- */
.bkarten { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1rem; }
.bkarten--drei { margin-bottom: 2rem; }
.bkarte { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--rand); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.bkarte:hover { border-color: rgba(0, 102, 253, .4); box-shadow: var(--schatten-weich); transform: translateY(-3px); }
.bkarte__bild { display: block; aspect-ratio: 16 / 8.2; overflow: hidden; background: linear-gradient(135deg, #e9f0fb, #f6f8fc); }
.bkarte__bild img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.bkarte:hover .bkarte__bild img { transform: scale(1.04); }
.bkarte__text { display: flex; flex: 1; flex-direction: column; gap: .15rem; padding: .95rem 1.05rem 1rem; }
.bkarte .symbol { width: 20px; height: 20px; margin-bottom: .25rem; color: var(--accent); }
.bkarte b { color: var(--ink); font-size: 1.03rem; }
.bkarte small { color: var(--muted); font-size: .88rem; line-height: 1.42; }
.bkarte__mehr { display: inline-flex; align-items: center; gap: .3rem; margin-top: auto; padding-top: .55rem; color: var(--accent-dunkel); font-size: .86rem; font-weight: 700; }
.pfeilchen { width: 14px; height: 14px; }
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; margin-bottom: 1.8rem; }
.filter__chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { padding: .42rem .85rem; border: 1px solid var(--rand); border-radius: 99px; background: #fff; color: var(--text); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer; }
.chip:hover { border-color: var(--accent); }
.chip.aktiv { border-color: var(--accent); background: var(--accent); color: #fff; }
.suchfeld { display: flex; flex: 1 1 340px; align-items: center; gap: .55rem; padding: 0 .9rem; border: 1px solid var(--rand); border-radius: 12px; background: #fff; }
.suchfeld:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 102, 253, .14); }
.suchfeld svg { flex: none; width: 18px; height: 18px; color: var(--muted); }
.suchfeld input { width: 100%; padding: .72rem 0; border: 0; outline: 0; background: none; color: var(--ink); font: inherit; }
.bgruppe { margin-bottom: 2.6rem; }
.bgruppe__kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem 1rem; margin-bottom: .9rem; }
.bgruppe__kopf h2 { margin: 0; font-size: 1.4rem; }
.bgruppe__kopf p { margin: 0; color: var(--muted); }
.filter__leer { padding: 2rem; color: var(--muted); text-align: center; }
.blaettern { display: flex; align-items: stretch; justify-content: space-between; gap: 1rem; }
.blaettern a { display: block; padding: .4rem 0; }
.blaettern a:last-child { text-align: right; }
.blaettern small { display: block; color: var(--muted); }
.blaettern b { color: var(--ink); }
.blaettern a:hover b { color: var(--accent-dunkel); }
.blaettern__alle { align-self: center; color: var(--accent-dunkel); font-weight: 700; }

/* ---------- Animationen ---------- */
.anims { display: grid; gap: 1.2rem; }
.anims--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 430px), 1fr)); }
.anim { position: relative; padding: 1.4rem; border: 1px solid var(--rand); border-radius: 15px; background: #fff; box-shadow: var(--schatten-weich); }
.anims--1 .anim, .anim--tafel, .anims:has(> .anim--tafel) > .anim { grid-column: 1 / -1; }
.anim h3 { margin-bottom: 1rem; font-size: 1.08rem; }
.anim__neu { margin-top: .9rem; padding: 0; border: 0; background: none; color: var(--accent-dunkel); font: inherit; font-size: .86rem; font-weight: 700; cursor: pointer; }
.fluss2 { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; }
.fluss2 li { position: relative; padding: 0 .7rem 0 0; }
.fluss2 li::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 2px; background: var(--accent); }
.fluss2 li:last-child::before { right: 100%; }
.fluss2 .anim__punkt { position: relative; display: grid; place-items: center; width: 30px; height: 30px; margin-bottom: .55rem; border-radius: 50%; background: var(--accent); color: #fff; font-size: .82rem; font-weight: 750; }
.fluss2 b { display: block; color: var(--ink); font-size: .95rem; line-height: 1.25; }
.fluss2 small { display: block; margin-top: .2rem; color: var(--muted); font-size: .84rem; line-height: 1.4; }
.anim.bereit .fluss2 li::before { background: linear-gradient(90deg, var(--accent) 50%, var(--rand) 50%); background-size: 200% 100%; background-position: 100% 0; transition: background-position .55s linear; }
.anim.bereit .fluss2 li.an::before { background-position: 0 0; }
.anim.bereit .fluss2 .anim__punkt { background: var(--rand); color: var(--muted); transition: background .25s, color .25s, transform .25s; }
.anim.bereit .fluss2 li.an .anim__punkt { background: var(--accent); color: #fff; transform: scale(1.08); }
.anim.bereit .fluss2 b, .anim.bereit .fluss2 small { opacity: .35; transition: opacity .3s; }
.anim.bereit .fluss2 li.an b, .anim.bereit .fluss2 li.an small { opacity: 1; }

/* Neben einer zweiten Animation läuft der Weg senkrecht: So stehen beide gleich breit nebeneinander. */
.anims--2 .fluss2 { grid-auto-flow: row; gap: .7rem; }
.anims--2 .fluss2 li { padding: 0 0 0 2.6rem; min-height: 30px; }
.anims--2 .fluss2 li::before { left: 14px; right: auto; top: 0; bottom: -.7rem; width: 2px; height: auto; }
.anims--2 .fluss2 li:last-child::before { display: none; }
.anims--2 .fluss2 .anim__punkt { position: absolute; left: 0; top: 0; }
.anims--2 .anim.bereit .fluss2 li::before { background: var(--accent); opacity: .25; transition: opacity .4s; }
.anims--2 .anim.bereit .fluss2 li.an::before { opacity: 1; }

.gespraech { overflow: hidden; border: 1px solid var(--rand); border-radius: 13px; background: var(--bg); }
.gespraech__kopf { display: flex; align-items: center; gap: .5rem; padding: .6rem .85rem; background: #fff; border-bottom: 1px solid var(--rand); font-size: .86rem; font-weight: 700; }
.gespraech__kopf i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.gespraech__zeilen { display: flex; flex-direction: column; gap: .5rem; min-height: 230px; padding: .9rem; }
.sprech { max-width: 84%; margin: 0; padding: .55rem .78rem; border-radius: 13px 13px 13px 4px; background: #fff; font-size: .93rem; line-height: 1.42; box-shadow: 0 1px 1px rgba(11, 27, 58, .06); }
.sprech--kunde { align-self: flex-end; border-radius: 13px 13px 4px 13px; background: var(--accent); color: #fff; }
.sprech--team { background: var(--mint-hell); }
.anim.bereit .sprech:not(.an):not(.tippt) { visibility: hidden; }
.anim.bereit .sprech.an { animation: hochkommen .28s ease-out; }
.sprech.tippt { position: relative; color: transparent; animation: hochkommen .2s ease-out; }
.sprech.tippt::after { content: "•••"; position: absolute; left: .78rem; top: .5rem; color: var(--muted); letter-spacing: .14em; animation: tippen 1s infinite; }
.sprech--kunde.tippt::after { color: #fff; }
@keyframes tippen { 50% { opacity: .35; } }

/* Auftrag: Gespräch mit einem verbundenen Assistenten, Werkzeugaufruf, Karte dessen, was in allrounderX entsteht. */
.auftrag { display: grid; gap: .9rem; }
.auftrag .gespraech__zeilen { min-height: 0; }
.auftrag__werkzeug { align-self: flex-start; display: inline-flex; align-items: center; gap: .5rem; margin: 0; padding: .4rem .75rem; border: 1px solid #b8d2ff; border-radius: 10px; background: var(--accent-hell); color: var(--ink); font-size: .84rem; }
.auftrag__werkzeug i { position: relative; flex: none; width: 15px; height: 15px; border: 2px solid var(--accent); border-right-color: transparent; border-radius: 50%; animation: drehen .8s linear infinite; }
.auftrag__werkzeug.fertig i, .anim:not(.bereit) .auftrag__werkzeug i { border: 0; background: var(--mint); animation: none; }
.auftrag__werkzeug.fertig i::after, .anim:not(.bereit) .auftrag__werkzeug i::after { content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.auftrag__karte { padding: .95rem 1.1rem; border: 1px solid var(--rand); border-left: 4px solid var(--accent); border-radius: 12px; background: #fff; }
.auftrag__marke { color: var(--accent-dunkel); font-size: .74rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.auftrag__karte h4 { margin: .25rem 0 .6rem; font-size: 1rem; }
.auftrag__karte ul { margin: 0; padding: 0; list-style: none; }
.auftrag__karte li { display: flex; justify-content: space-between; gap: 1rem; padding: .38rem 0; border-top: 1px solid var(--rand); font-size: .9rem; }
.auftrag__karte li span { color: var(--muted); }
.auftrag__karte li b { font-weight: 650; text-align: right; }
.auftrag__hinweis { margin: .6rem 0 0; color: var(--muted); font-size: .84rem; }
.anim.bereit .auftrag__werkzeug:not(.an) { visibility: hidden; }
.anim.bereit .auftrag__werkzeug.an { animation: hochkommen .25s ease-out; }
.anim.bereit .auftrag__karte { opacity: .14; transition: opacity .35s; }
.anim.bereit .auftrag__karte.an { opacity: 1; }
.anim.bereit .auftrag__karte li { opacity: 0; transition: opacity .3s; }
.anim.bereit .auftrag__karte li.an { opacity: 1; }
@keyframes drehen { to { transform: rotate(360deg); } }

/* Filme von der Bühne (Handy und Programm nebeneinander): 16 : 9, ohne Adressleiste, der Knopf sitzt oben. */
.rahmen--buehne .rahmen__film { aspect-ratio: 16 / 9; }
.rahmen--buehne .rahmen__gross { top: auto; bottom: 12px; }
.bfilm .rahmen__gross { padding: .4rem .75rem .4rem .6rem; font-size: .8rem; }
.bfilme { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 1.8rem; }
.bfilm { margin: 0; }
.bfilm figcaption { margin-top: .8rem; color: var(--muted); font-size: .93rem; }
.bfilm figcaption b { display: block; margin-top: .35rem; color: var(--ink); font-size: 1.05rem; }
.bfilm figcaption small { display: block; margin-bottom: .3rem; color: var(--muted); font-size: .84rem; }
.bfilm__ki { display: inline-block; padding: .18rem .6rem; border-radius: 999px; background: var(--accent-hell); color: var(--accent-dunkel); font-size: .78rem; font-weight: 700; }

/* Tippen gegen Sagen: links eine gewohnte Maske, die sich Zeichen für Zeichen füllt, rechts ein Satz. */
.anims .anim--sagen { grid-column: 1 / -1; }
.sagen__reiterleiste { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; }
.sagen__reiter { padding: .42rem .95rem; border: 1px solid var(--rand); border-radius: 999px; background: #fff; color: var(--ink); font: inherit; font-size: .9rem; font-weight: 650; cursor: pointer; }
.sagen__reiter:hover { border-color: var(--accent); }
.sagen__reiter.aktiv { border-color: var(--accent); background: var(--accent); color: #fff; }
.sagen__fall { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.sagen__fall[hidden] { display: none; }
.sagen__seite { position: relative; display: flex; flex-direction: column; gap: .7rem; padding: 1.1rem 1.2rem; border-radius: 13px; }
.sagen__seite--tippen { border: 1px dashed #c4ccd8; background: #f4f6f9; color: #4b5563; }
.sagen__seite--sagen { border: 1px solid #b8d2ff; background: linear-gradient(160deg, #eef5ff, #fff 65%); }
.sagen__kopf { font-size: .76rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sagen__seite--sagen .sagen__kopf { color: var(--accent-dunkel); }
.sagen__weg { display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; list-style: none; font-size: .8rem; }
.sagen__weg li { padding: .2rem .55rem; border-radius: 6px; background: #e5e9ef; }
.sagen__weg li + li::before { content: "→ "; color: #9aa3af; }
.sagen__maske { display: grid; gap: .45rem; }
.sagen__feld { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); align-items: center; gap: .6rem; margin: 0; font-size: .85rem; }
.sagen__feld b { min-height: 2.1rem; padding: .45rem .6rem; border: 1px solid #cfd6e0; border-radius: 6px; background: #fff; color: #1f2937; font-weight: 500; font-family: ui-monospace, Consolas, monospace; font-size: .85rem; overflow-wrap: anywhere; }
.sagen__feld b.tippt { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(0, 102, 253, .12); }
.sagen__feld b.tippt::after { content: "|"; margin-left: 1px; color: var(--accent); animation: tippen .8s infinite; }
.sagen__zahl { margin: auto 0 0; font-size: .86rem; color: var(--muted); }
.sagen__zahl b { color: var(--ink); font-size: 1.35rem; font-variant-numeric: tabular-nums; margin-right: .25rem; }
.sagen__seite--sagen .sagen__zahl b { color: var(--accent-dunkel); }
.sagen__wer { display: flex; align-items: center; gap: .5rem; margin: 0; font-size: .85rem; font-weight: 650; color: var(--accent-dunkel); }
.sagen__wer .symbol { width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--accent); color: #fff; }
.sagen.hoert .sagen__wer .symbol { animation: hoeren 1s ease-in-out infinite; }
.sagen__satz { margin: 0; color: var(--ink); font-size: 1.12rem; font-weight: 650; line-height: 1.45; }
.sagen__satz .wort { opacity: .12; transition: opacity .15s; }
.sagen__satz .wort.an { opacity: 1; }
.sagen__ergebnis { display: flex; gap: .5rem; align-items: flex-start; margin: 0; padding: .7rem .85rem; border-radius: 10px; background: #fff; border: 1px solid var(--rand); font-size: .92rem; }
.sagen__ergebnis .symbol { flex: none; width: 20px; height: 20px; color: var(--mint); }
.sagen.bereit .sagen__ergebnis { opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.sagen.bereit .sagen__ergebnis.an { opacity: 1; transform: none; }
.sagen__unter { margin: .9rem 0 0; color: var(--muted); font-size: .84rem; }
@keyframes hoeren { 50% { box-shadow: 0 0 0 8px rgba(0, 102, 253, .18); } }
/* Untereinander steht der Satz oben: Sonst sähe man auf dem Telefon nur die tippende Maske und den Satz nie. */
@media (max-width: 760px) { .sagen__fall { grid-template-columns: minmax(0, 1fr); } .sagen__seite--sagen { order: -1; } .sagen__feld { grid-template-columns: 6rem minmax(0, 1fr); } }
.kiblock__vergleich { margin-top: 2.2rem; }

/* Startseite: Block „Mit ChatGPT, Claude oder Jarvis“. */
.kiblock { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.6rem, 4vw, 3.2rem); align-items: center; }
.kiblock__namen { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.1rem 0 1.4rem; padding: 0; list-style: none; }
.kiblock__namen li { padding: .35rem .85rem; border: 1px solid var(--rand); border-radius: 999px; background: #fff; font-weight: 650; font-size: .92rem; }
.kiblock__unter { margin: .7rem 0 0; color: var(--muted); font-size: .86rem; text-align: center; }
@media (max-width: 900px) { .kiblock { grid-template-columns: minmax(0, 1fr); } }
@keyframes hochkommen { from { opacity: 0; transform: translateY(7px); } }

.rechnung ul { margin: 0; padding: 0; list-style: none; }
.rechnung li, .rechnung__summe { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1px solid var(--rand); font-variant-numeric: tabular-nums; }
.rechnung li b { font-weight: 650; white-space: nowrap; }
.rechnung__summe { margin: 0; border: 0; color: var(--ink); font-size: 1.15rem; font-weight: 800; }
.rechnung__summe b { color: var(--accent-dunkel); white-space: nowrap; }
.anim.bereit .rechnung li, .anim.bereit .rechnung__summe { opacity: .12; transition: opacity .3s; }
.anim.bereit .rechnung li.an, .anim.bereit .rechnung__summe.an { opacity: 1; }

.pruefung, .wegtabelle, .vergleich2 table { width: 100%; border-collapse: collapse; font-size: .93rem; }
.pruefung th, .pruefung td, .wegtabelle th, .wegtabelle td { padding: .6rem .7rem; border-bottom: 1px solid var(--rand); text-align: left; vertical-align: top; }
.pruefung thead th, .wegtabelle thead th { color: var(--muted); font-size: .8rem; font-weight: 700; }
.pruefung tbody th, .wegtabelle tbody th { color: var(--ink); font-weight: 650; }
.marke { display: inline-block; padding: .1rem .5rem; border-radius: 99px; background: var(--mint-hell); color: #13763a; font-size: .8rem; font-weight: 700; white-space: nowrap; }
.pruefung .ab .marke { background: #fde8e8; color: #b42318; }
.pruefung .ab td:nth-child(3) { color: #b42318; font-weight: 700; }
.anim.bereit .pruefung tbody tr { opacity: .3; transition: opacity .25s, background .25s; }
.anim.bereit .pruefung tbody tr.an { opacity: 1; background: var(--accent-hell); }
.anim.bereit .pruefung tbody tr.fertig { background: none; }
.anim.bereit .pruefung tr:not(.fertig) .marke { visibility: hidden; }

.tafel2 { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .6rem; }
.tafelspalte { min-height: 170px; padding: .6rem; border-radius: 11px; background: var(--bg); }
.tafelspalte h4 { margin: 0 0 .5rem; color: var(--muted); font-size: .8rem; }
.tafelkarte { margin-bottom: .4rem; padding: .5rem .6rem; border: 1px solid var(--rand); border-radius: 9px; background: #fff; }
.tafelkarte b { display: block; color: var(--ink); font-size: .86rem; line-height: 1.25; }
.tafelkarte small { color: var(--muted); font-size: .77rem; }

/* ---------- Vergleich ---------- */
.vergleich2 { padding: 1.3rem; border: 1px solid var(--rand); border-radius: 15px; background: #fff; }
.vergleich2__werkzeug { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem 1.4rem; margin-bottom: .9rem; }
.legende { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: 0; padding: 0; color: var(--muted); font-size: .85rem; list-style: none; }
.legende li { display: flex; align-items: center; gap: .35rem; }
.schalter { display: inline-flex; align-items: center; gap: .4rem; font-size: .9rem; font-weight: 600; cursor: pointer; }
.vergleich2 th, .vergleich2 td { padding: .58rem .6rem; border-bottom: 1px solid var(--rand); text-align: center; }
.vergleich2 tbody th { color: var(--text); font-weight: 550; text-align: left; }
.vergleich2 thead th { color: var(--ink); font-size: .87rem; }
.vergleich2 thead th:first-child { text-align: left; }
.vergleich2 .wir { background: var(--accent-hell); color: var(--accent-dunkel); }
.vergleich2__erklaerung { margin: 0 0 .9rem; color: var(--text); font-size: .95rem; }
.vergleich2__fuss { margin: .9rem 0 0; color: var(--muted); font-size: .82rem; }
.v { position: relative; overflow: hidden; display: inline-block; width: 19px; height: 19px; border-radius: 50%; vertical-align: middle; }
.v--ja { background: #16a34a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3.2 3.2L17 8.8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100%; }
.v--teil { background: linear-gradient(90deg, #e8a33d 50%, #fff 50%); box-shadow: inset 0 0 0 2px #e8a33d; }
.v--nein { box-shadow: inset 0 0 0 2px #aab4c4; background: linear-gradient(#aab4c4, #aab4c4) center / 9px 2px no-repeat; }
.v--offen { box-shadow: inset 0 0 0 1px #c4ccd8; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ctext x='12' y='17' font-size='14' font-family='Arial' font-weight='700' text-anchor='middle' fill='%238a96a8'%3E%3F%3C/text%3E%3C/svg%3E") center / 100%; }

/* ---------- Umstieg ---------- */
.bereichsseite .reiter { justify-content: flex-start; margin-bottom: 1rem; }
.umstieg__titel { margin: 3rem 0 1rem; }
.umstieg { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.umstieg li { display: flex; flex-direction: column; gap: .45rem; padding: 1.1rem; border: 1px solid var(--rand); border-radius: 13px; }
.umstieg li > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: #fff; font-weight: 750; }
.umstieg p { margin: .2rem 0 0; color: var(--muted); font-size: .92rem; }

/* ---------- Bildansicht ---------- */
.bildansicht { width: min(96vw, 1500px); max-height: 94vh; padding: 0; overflow: hidden; border: 0; border-radius: 12px; background: #0c1426; cursor: zoom-out; }
.bildansicht::backdrop { background: rgba(5, 9, 18, .84); }
.bildansicht img { display: block; width: 100%; height: auto; max-height: 94vh; object-fit: contain; }
.bildansicht button { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .55); color: #fff; font-size: 22px; cursor: pointer; }

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 980px) {
  :root { --kopf-hoehe: 76px; }
  .b-held__zeile { grid-template-columns: minmax(0, 1fr); }
  .szenen__platz { display: none; }
}
@media (max-width: 720px) {
  .fluss2 { grid-auto-flow: row; gap: .7rem; }
  .fluss2 li { padding: 0 0 0 2.6rem; min-height: 30px; }
  .fluss2 li::before { left: 14px; right: auto; top: 0; bottom: -.7rem; width: 2px; height: auto; }
  .fluss2 li:last-child::before { display: none; }
  .fluss2 .anim__punkt { position: absolute; left: 0; top: 0; }
  .anim.bereit .fluss2 li::before { background: var(--accent); opacity: .25; }
  .anim.bereit .fluss2 li.an::before { opacity: 1; }
  /* Der Vergleich passt ganz aufs Telefon: Die Spalte allrounderX darf nicht hinter dem Rand verschwinden. */
  .vergleich2 { padding: .8rem; }
  .vergleich2 table { table-layout: fixed; font-size: .8rem; }
  .vergleich2 th:first-child { width: 43%; }
  .vergleich2 th, .vergleich2 td { padding: .5rem .15rem; }
  .vergleich2 thead th { font-size: .64rem; letter-spacing: -.01em; overflow-wrap: anywhere; }
  .vergleich2 thead th.wir { padding-inline: 0; font-size: .58rem; overflow-wrap: normal; }
  .tafel2 { grid-auto-flow: row; }
  .tafelspalte { min-height: 0; }
  .neuliste li { grid-template-columns: 1fr; gap: .2rem; }
  .b-unter__demo { display: none; }
  .szene__inhalt { padding-left: .95rem; }
  .wer { display: none; }
  .blaettern__alle { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bkarte, .fkarte, .bkarte__bild img, .szene__bild { transition: none !important; }
}
.bewegung-aus .szene__balken { animation: none !important; }

/* ---------- Ihr Gewerk: Kacheln der Startseite (bereichsseiten.gewerkewahl) ---------- */
.gewerkwahl { padding: clamp(2.8rem, 5vw, 4.2rem) 0; border-bottom: 1px solid var(--rand); background: linear-gradient(180deg, #fff, var(--bg)); }
.gewerkwahl__kopf { max-width: 760px; margin: 0 auto 2rem; text-align: center; }
.gewerkwahl__kopf h2 { margin: 0 0 .6rem; color: var(--ink); font-size: clamp(1.6rem, 3vw, 2.25rem); letter-spacing: -.02em; }
.gewerkwahl__kopf p { margin: 0; color: var(--muted); font-size: 1.05rem; }
.gewerkwahl__raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: .85rem; }
.gewerkwahl__kachel { position: relative; display: flex; align-items: center; gap: .8rem; min-height: 74px; padding: .85rem 2.4rem .85rem .95rem; border: 1px solid var(--rand); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.gewerkwahl__kachel:hover, .gewerkwahl__kachel:focus-visible { border-color: var(--accent); box-shadow: 0 12px 28px rgba(10, 18, 33, .1); transform: translateY(-2px); }
.gewerkwahl__kachel:hover .menuezeichen .f { fill: #bcd9ff; }
.gewerkwahl__kachel .menuezeichen { width: 38px; height: 38px; margin: 0; }
.gewerkwahl__kachel b { font-size: .98rem; font-weight: 700; line-height: 1.25; }
.gewerkwahl__film { position: absolute; top: -9px; right: 12px; padding: .14rem .5rem; border-radius: 999px; background: var(--accent); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .02em; }
/* Dunkleres Grün als --mint: Weiß auf #22c55e läge unter 3 : 1. */
.gewerkwahl__film--neu { background: #15803d; }
.gewerkwahl__mehr { position: absolute; right: .9rem; top: 50%; display: grid; place-items: center; width: 22px; height: 22px; color: var(--accent); transform: translateY(-50%); transition: transform .2s; }
.gewerkwahl__mehr svg { width: 18px; height: 18px; }
.gewerkwahl__kachel:hover .gewerkwahl__mehr { transform: translate(3px, -50%); }
/* Zwei Spalten, die nie breiter werden als der Bildschirm: „1fr“ allein wächst mit dem längsten Wort
   („Photovoltaik“) über den Rand, minmax(0, 1fr) bricht stattdessen. */
@media (max-width: 560px) {
  .gewerkwahl__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .gewerkwahl__kachel { gap: .55rem; min-height: 64px; padding: .75rem .7rem; }
  .gewerkwahl__kachel .menuezeichen { width: 30px; height: 30px; }
  .gewerkwahl__mehr { display: none; }
  .gewerkwahl__kachel b { min-width: 0; font-size: .86rem; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
}
/* Kapitel unter dem Film der Bauelemente-Ansicht: Zeit, Titel und der gewohnte Name des Bildschirms. */
.ansicht__kapitel { list-style: none; margin: 1.1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .5rem; }
.ansicht__kapitel button { display: grid; grid-template-columns: auto 1fr; column-gap: .6rem; align-items: baseline; width: 100%; min-height: 44px; padding: .55rem .75rem; border: 1px solid var(--rand); border-radius: 10px; background: #fff; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.ansicht__kapitel button:hover, .ansicht__kapitel button:focus-visible { border-color: var(--accent); }
.ansicht__kapitel button.aktiv { border-color: var(--accent); background: var(--accent-hell); }
.ansicht__kapitel time { grid-row: span 2; color: var(--accent-dunkel); font-weight: 700; font-variant-numeric: tabular-nums; }
.ansicht__kapitel b { font-size: .92rem; }
.ansicht__kapitel small { color: var(--muted); font-size: .8rem; }