/* Akademie 2027 (Bauschritt 2): Bausteine der generierten Seiten (akademie2027_seiten.py). Ergänzt site.css und akademie.css.
   Farben nur aus den CI-Variablen; Türkis und Orange nie als Textfarbe; alle Raster stapeln bei 375 px. */
.a7-hero .a7-preis { font-size: 1.35rem; font-weight: 700; margin: .75rem 0 .25rem; }
.a7-zitat { font-size: 1.15rem; font-style: italic; margin: .25rem 0 .5rem; }
.a7-eckpunkte, .a7-fakten { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .5rem 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.a7-eckpunkte li { padding-left: 1.4rem; position: relative; }
.a7-eckpunkte li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; }
.a7-fakten li { display: flex; flex-direction: column; border-left: 3px solid var(--tuerkis, #3EA89F); padding-left: .75rem; }
.a7-fakten span { opacity: .9; font-size: .92rem; }
.a7-raster { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin-top: 1.25rem; }
.a7-raster > .karte, .a7-spalte > .karte { margin: 0; }
.a7-spalte { display: grid; gap: 1rem; align-content: start; }
.a7-karte { display: flex; flex-direction: column; gap: .4rem; height: 100%; }
.a7-karte h3 { margin: 0; }
.a7-karte p { margin: 0; }
.a7-karte .preis { margin-top: auto; font-weight: 700; }
.a7-marke { display: inline-block; font-size: .75rem; font-weight: 600; padding: .1rem .5rem; border-radius: 999px; background: #E8F4F3; color: #1F5F59; vertical-align: middle; margin-left: .35rem; }
.a7-katalog-art { font-size: .82rem; font-weight: 600; color: #4A5866; text-transform: none; }
.a7-grenze { border-left: 4px solid var(--orange, #D6512A); }
.a7-module { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .75rem; }
.a7-module li { display: grid; grid-template-columns: 6.5rem 1fr auto; gap: .75rem; align-items: start; background: #fff; border: 1px solid #D9E1E8; border-radius: 8px; padding: .9rem 1rem; }
.a7-module h3 { margin: 0 0 .2rem; font-size: 1.02rem; }
.a7-module p { margin: 0; }
.a7-nr { font-weight: 700; color: var(--blau, #294C6E); }
.a7-dauer { white-space: nowrap; color: #4A5866; font-size: .9rem; }
.a7-teil { margin-top: 1.5rem; }
.a7-situation { max-width: 46rem; margin: 0 auto; text-align: center; }
.a7-situation-text { font-size: 1.15rem; line-height: 1.6; }
.a7-frage { font-weight: 700; font-size: 1.2rem; color: var(--blau, #294C6E); }
.a7-schritte { list-style: none; counter-reset: a7s; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.a7-schritte li { counter-increment: a7s; background: #fff; border: 1px solid #D9E1E8; border-radius: 8px; padding: 1rem; }
.a7-schritte li::before { content: counter(a7s); display: inline-flex; width: 2rem; height: 2rem; align-items: center; justify-content: center; border-radius: 50%; background: var(--blau, #294C6E); color: #fff; font-weight: 700; margin-bottom: .5rem; }
.a7-schritte h3 { margin: 0 0 .3rem; font-size: 1.05rem; }
.a7-staffel { border-collapse: collapse; width: 100%; max-width: 26rem; }
.a7-staffel caption { text-align: left; font-weight: 600; padding-bottom: .4rem; }
.a7-staffel th, .a7-staffel td { padding: .45rem .6rem; border-bottom: 1px solid #D9E1E8; text-align: left; }
.a7-staffel td { text-align: right; font-weight: 600; }
/* Rechner und Wegweiser */
.a7-rechner, .a7-wegweiser { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); margin-top: 1.25rem; align-items: start; }
.a7-feld label, .a7-eingabe label, .a7-wahl legend { display: block; font-weight: 600; margin-bottom: .4rem; }
.a7-zaehler { display: inline-flex; align-items: stretch; }
.a7-zaehler button { min-width: 48px; min-height: 48px; font: inherit; font-size: 1.3rem; font-weight: 700; background: #fff; color: var(--blau, #294C6E); border: 1px solid #9AA8B5; cursor: pointer; }
.a7-zaehler input { width: 6.5rem; min-height: 48px; text-align: center; font: inherit; font-size: 1.15rem; border: 1px solid #9AA8B5; border-left: 0; border-right: 0; }
.a7-zaehler button:focus-visible, .a7-zaehler input:focus-visible, .a7-wahl input:focus-visible + *, .a7-filter :focus-visible, .a7-link:focus-visible { outline: 3px solid var(--blau, #294C6E); outline-offset: 2px; }
.a7-fehler { color: #A3361A; font-weight: 600; margin: .4rem 0 0; }
.a7-ergebnis, .a7-vorschlag { background: var(--blau, #294C6E); color: #fff; border-radius: 10px; padding: 1.25rem 1.5rem; }
.a7-ergebnis a.knopf, .a7-vorschlag a.knopf { margin-top: .5rem; }
.a7-ergebnis .knopf-primaer, .a7-vorschlag .knopf-primaer { background: #fff; color: var(--blau, #294C6E); }
.a7-vorschlag .knopf-zweit { color: #fff; border-color: #fff; }
.a7-vorschlag .kicker, .a7-vorschlag .kleingedruckt { color: #fff; opacity: .9; }
.a7-summe { font-size: 2rem; font-weight: 700; margin: .25rem 0; }
.a7-rechnung, .a7-hinweis { margin: .35rem 0; }
.a7-hinweis:empty { display: none; }
.a7-ergebnis-titel, .a7-v-titel { margin: 0; font-weight: 600; color: #fff; }
.a7-v-positionen { padding-left: 1.1rem; margin: .5rem 0; }
.a7-wahl { border: 0; padding: 0; margin: 1rem 0 0; }
.a7-wahl label { display: flex; gap: .6rem; align-items: center; min-height: 44px; cursor: pointer; }
.a7-wahl input { width: 1.2rem; height: 1.2rem; }
/* Katalog */
.a7-filter { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); align-items: end; margin: 1.25rem 0 .5rem; }
.a7-filter input, .a7-filter select { width: 100%; min-height: 48px; font: inherit; padding: .4rem .7rem; border: 1px solid #9AA8B5; border-radius: 6px; background: #fff; }
.a7-katalog { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.a7-katalog-eintrag[hidden] { display: none; }
.a7-treffer { font-weight: 600; margin: .5rem 0; }
.a7-leer { background: #FFF5F2; border-left: 4px solid var(--orange, #D6512A); padding: 1rem 1.25rem; }
.a7-link { background: none; border: 0; padding: 0; font: inherit; color: var(--blau, #294C6E); text-decoration: underline; cursor: pointer; }
.a7-abschluss { margin-top: 1rem; }
.a7-termin { display: flex; flex-direction: column; gap: .5rem; }
.a7-termin .knopf { align-self: flex-start; }
.a7-kennzeichnung { border-left: 4px solid var(--blau, #294C6E); background: #F2F5F8; padding: .75rem 1rem; font-weight: 600; }
.ak-feld textarea { width: 100%; min-height: 7rem; font: inherit; padding: .6rem .7rem; border: 1px solid #9AA8B5; border-radius: 6px; }
.a7-video { margin: 0; }
.a7-video figcaption { font-size: .9rem; margin-top: .4rem; }
.a7-video video, .a7-standbild { width: 100%; max-width: 860px; height: auto; border-radius: 10px; display: block; }
@media (max-width: 600px) {
  .a7-module li { grid-template-columns: 1fr; gap: .25rem; }
  .a7-summe { font-size: 1.6rem; }
}
/* Umbrüche (Achim 26.11.2026): Chrome/Edge unter Windows trennen nicht automatisch; der Generator setzt weiche Trennstellen,
   geschützte Leerzeichen und Wortverbinder (akademie2027_satz.py). Deshalb nur manuell trennen und nie mitten im Wort ohne Strich. */
main#inhalt :is(h1, h2, h3, p, li, span, a, td, th, label, legend, summary) { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: break-word; }
.a7-karte h3, .a7-hero h1, .a7-v-titel, .a7-ergebnis-titel, .a7-preis, .a7-karte .preis, .a7-summe, .a7-katalog-art { text-wrap: balance; }
.a7-karte p, .a7-eckpunkte li, .a7-fakten span, .a7-hinweis, .a7-rechnung, .a7-schritte p, .a7-module p { text-wrap: pretty; }
.a7-marke { white-space: nowrap; }
main#inhalt :is(.kicker, .a7-katalog-art, .brotkrumen, .brotkrumen a) { hyphens: none; -webkit-hyphens: none; }

/* Bestellformular */
.a7f-bestellung [hidden], .a7f-kurz [hidden] { display: none !important; }
.a7f-bestellung { max-width: 860px; }
.a7f-feld { margin: 0 0 1rem; }
.a7f-feld label, .a7f-gruppe legend { display: block; font-weight: 600; margin-bottom: .35rem; }
.a7f-feld input[type="text"], .a7f-feld input[type="email"], .a7f-feld input[type="tel"], .a7f-feld input[type="number"], .a7f-feld select {
  width: 100%; min-height: 48px; padding: .55rem .7rem; font: inherit; color: var(--text, #1B2631); background: #fff; border: 1px solid #7A8896; border-radius: 8px; }
.a7f-feld input:focus-visible, .a7f-feld select:focus-visible, .a7f-check input:focus-visible { outline: 3px solid var(--blau, #294C6E); outline-offset: 2px; }
.a7f-feld [aria-invalid="true"] { border-color: #A3361A; border-width: 2px; }
.a7f-feldreihe { display: grid; gap: 0 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.a7f-plz-ort { grid-template-columns: minmax(6rem, 1fr) 3fr; }
.a7f-optional, .a7f-hinweis { color: var(--grau, #56626F); font-weight: 400; }
.a7f-hinweis { margin: 0 0 .35rem; font-size: .92rem; }
.a7f-gruppe { border: 1px solid var(--linie, #E4E9EF); border-radius: 12px; padding: 1rem 1.1rem .4rem; margin: 1.25rem 0; background: #fff; }
.a7f-gruppe legend { padding: 0 .4rem; font-size: 1.05rem; }
.a7f-position { border: 1px solid #C9D3DD; border-radius: 12px; padding: 1rem 1.1rem; margin: 0 0 1rem; background: #fff; }
.a7f-pos-titel { font-weight: 700; font-size: 1.1rem; padding: 0 .4rem; }
.a7f-pos-preis { margin: .25rem 0 .75rem; }
.a7f-pos-preis strong { font-size: 1.15rem; color: var(--blau, #294C6E); }
.a7f-wahl { padding-bottom: .6rem; }
.a7f-check { display: flex; align-items: flex-start; gap: .6rem; margin: .35rem 0; }
.a7f-check input { width: 22px; height: 22px; margin-top: .15rem; flex: 0 0 auto; accent-color: var(--blau, #294C6E); }
.a7f-check label { font-weight: 400; margin: 0; }
.a7f-check .a7-fehler { flex-basis: 100%; }
.a7f-feld.a7f-check { flex-wrap: wrap; }
.a7f-summe { margin: 1rem 0 1.5rem; padding: 1rem 1.1rem; border-radius: 12px; background: var(--flaeche, #F4F6F9); font-size: 1.1rem; }
.a7f-summe strong { font-size: 1.5rem; color: var(--blau, #294C6E); }
.a7f-fehlerliste { border: 2px solid #A3361A; border-radius: 12px; padding: 1rem 1.2rem; margin: 0 0 1.5rem; background: #FBEAE4; }
.a7f-fehlerliste h2 { font-size: 1.15rem; margin: 0 0 .5rem; color: #A3361A; }
.a7f-fehlerliste a { color: #7A2812; font-weight: 600; }
.a7f-fehlerliste:focus-visible { outline: 3px solid var(--blau, #294C6E); outline-offset: 3px; }
.a7f-ohnejs { border: 2px solid var(--blau, #294C6E); border-radius: 12px; padding: 1rem 1.2rem; background: #fff; }
.a7f-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.a7f-kurz { margin-top: 1.5rem; max-width: 640px; }
.a7f-karte { padding: 1.25rem 1.4rem; }

/* Umbau 26.11.2026 (Achim: schnell buchen, suchen und finden, stöbern, sich informieren, ohne sich zu verlieren) */
.a7-hero-suche { margin: 1.25rem 0 .5rem; max-width: 36rem; }
.a7-hero-suche label { display: block; font-weight: 600; margin-bottom: .35rem; }
.a7-hero-suche-zeile { display: flex; gap: .5rem; }
.a7-hero-suche input { flex: 1 1 auto; min-width: 0; min-height: 48px; font: inherit; padding: .4rem .8rem; border: 1px solid #9AA8B5; border-radius: 6px; background: #fff; color: var(--text, #1B2631); }
.a7-hero-suche .knopf { flex: 0 0 auto; margin: 0; }
.a7-hero-suche input:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.a7-sprung { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: .75rem 0 1rem; font-size: .95rem; }
.a7-sprung a { color: inherit; text-underline-offset: 3px; }
.a7-chips { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 1rem 0 .25rem; }
.a7-chips-label { font-weight: 600; margin-right: .25rem; }
.a7-chip { font: inherit; font-size: .92rem; min-height: 44px; padding: .35rem .9rem; border-radius: 999px; border: 1px solid #9AA8B5; background: #fff; color: var(--blau, #294C6E); cursor: pointer; text-align: left; }
.a7-chip[aria-pressed="true"] { background: var(--blau, #294C6E); color: #fff; border-color: var(--blau, #294C6E); }
.a7-chip:focus-visible { outline: 3px solid var(--blau, #294C6E); outline-offset: 2px; }
.a7-anlass-mehr { margin: .5rem 0 0; font-weight: 600; }
.a7-katalog .a7-karte { padding: 1.1rem 1.2rem; }
.a7-leiste .knopf { flex: 0 0 auto; }
/* Bestellleiste: Handy unten, ab 768 px oben unter dem Kopf; nur sichtbar zwischen Hero und Rechner/Abschluss */
.a7-leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; border-top: 1px solid #D9E1E8; box-shadow: 0 -4px 16px rgba(27, 38, 49, .12);
  transform: translateY(110%); transition: transform .2s; visibility: hidden; }
.a7-leiste.a7-leiste-an { transform: none; visibility: visible; }
.a7-leiste-innen { display: flex; align-items: center; gap: .75rem; padding-top: .55rem; padding-bottom: .55rem; }
.a7-leiste-text { margin: 0; flex: 1 1 auto; min-width: 0; line-height: 1.3; }
.a7-leiste-titel { display: block; font-size: .85rem; color: #4A5866; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a7-leiste .knopf { margin: 0; min-height: 44px; padding-top: .45rem; padding-bottom: .45rem; white-space: nowrap; }
body.mit-leiste .nach-oben { bottom: 84px; }
@media (max-width: 600px) { .a7-leiste-alle { display: none; } .a7-leiste-text b { font-size: .92rem; } }
@media (min-width: 768px) {
  .a7-leiste { top: var(--kopf, 72px); bottom: auto; border-top: 0; border-bottom: 1px solid #D9E1E8; box-shadow: 0 4px 16px rgba(27, 38, 49, .1); transform: translateY(-120%); }
  body.mit-leiste .nach-oben { bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) { .a7-leiste { transition: none; } }
@media (max-width: 600px) {
  .a7-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .a7-chips-label { flex: 0 0 auto; }
  .a7-chip { flex: 0 0 auto; white-space: nowrap; scroll-snap-align: start; }
  .a7-filter { gap: .6rem; }
  .a7-filter .knopf { justify-self: start; }
}
.a7-wahl[hidden] { display: none; }
.a7f-feld textarea { width: 100%; min-height: 6rem; padding: .55rem .7rem; font: inherit; color: var(--text, #1B2631); background: #fff; border: 1px solid #7A8896; border-radius: 8px; }
