/* unternehmensfoerdermittel.de – eigenes, schlankes CSS. Palette laut Bauspezifikation. */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("/static/fonts/lato-normal-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("/static/fonts/lato-normal-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("/static/fonts/lato-normal-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("/static/fonts/lato-normal-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 400; font-display: swap; src: url("/static/fonts/lato-italic-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Lato"; font-style: italic; font-weight: 400; font-display: swap; src: url("/static/fonts/lato-italic-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --gruen: #1B6B4A; --gruen-dunkel: #145238; --dunkel: #12263A; --akzent: #E07A1F; --flaeche: #F2F5F3; --text: #2B3440;
  --grau: #5F6873; --linie: #D9E0DC; --weiss: #fff; --rot: #B3362B; --gelb: #B8860B;
  --radius: 10px; --wrap: 1120px; --gutter: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: Lato, "Segoe UI", Helvetica, Arial, sans-serif; font-size: 17px; line-height: 1.55; color: var(--text); background: var(--weiss); overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }
a { color: var(--gruen); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--gruen-dunkel); }
h1, h2, h3, h4 { color: var(--dunkel); line-height: 1.2; margin: 0 0 .5em; overflow-wrap: anywhere; }
h1 { font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.75rem); margin-top: 1.6em; }
h3, .h3 { font-size: 1.25rem; margin-top: 1.4em; }
h4, .h4 { font-size: 1.05rem; margin-top: 1em; }
h1 + .lead, h1 + p { margin-top: 0; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--dunkel); }
.klein { font-size: .9rem; color: var(--grau); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: #A85413; margin-bottom: .4em; }  /* Text-Orange ≥ 4,5:1 (Audit B-2) */
.eyebrow a { color: inherit; }
ul, ol { padding-left: 1.3em; }
.sr { position: absolute; left: -9999px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--dunkel); color: #fff; padding: .5em 1em; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-schmal { max-width: 800px; }
.abschnitt { padding: 2.2rem 0; }
.abschnitt-flaeche { background: var(--flaeche); }
.zwei-spalten { display: grid; gap: 2rem; }
.zwei-spalten > *, .programm-grid > *, .hero-grid > *, .wege > *, .vertiefung-grid > * { min-width: 0; }
@media (min-width: 900px) { .zwei-spalten { grid-template-columns: 1fr 1fr; } }

/* Kopf */
.kopf { background: var(--weiss); border-bottom: 1px solid var(--linie); position: sticky; top: 0; z-index: 50; }
.kopf-zeile { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; flex-wrap: wrap; }
.marke { display: block; flex: 0 1 300px; max-width: min(300px, 62vw); }
.marke .logo { display: block; width: 100%; height: auto; font-family: Lato, "Segoe UI", Helvetica, Arial, sans-serif; }
[hidden] { display: none !important; }
.nav-toggle { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nav-toggle:focus-visible + .nav-btn, .nav-knopf:focus-visible { outline: 3px solid var(--gruen); outline-offset: 2px; border-radius: 6px; }
.nav-knopf { background: none; border: 0; font: inherit; font-weight: 700; }
.js .nav-toggle, .js .nav-label { display: none; }
.nav.offen { display: flex; }
.nav-btn { display: inline-flex; align-items: center; gap: .5rem; cursor: pointer; font-weight: 700; color: var(--dunkel); padding: .5rem .2rem; user-select: none; }
.nav-btn span { display: block; width: 22px; height: 2px; background: var(--dunkel); margin: 2px 0; }
.nav-btn span + span { margin-left: -22px; }
.nav-btn span:nth-child(1) { transform: translateY(-5px); }
.nav-btn span:nth-child(3) { transform: translateY(5px); }
.nav { display: none; width: 100%; flex-direction: column; gap: .2rem; padding: .5rem 0 1rem; }
.nav a { padding: .55rem .4rem; border-radius: 6px; text-decoration: none; color: var(--dunkel); font-weight: 700; }
.nav a.aktiv, .nav a:hover { background: var(--flaeche); color: var(--gruen-dunkel); }
.nav-toggle:checked ~ .nav { display: flex; }
.nav-cta { margin-top: .4rem; }
@media (min-width: 900px) {
  .nav-btn, .nav-knopf, .nav-toggle { display: none !important; }
  .nav { display: flex !important; width: auto; flex-direction: row; align-items: center; gap: .1rem; padding: 0; }
  .nav a { padding: .5rem .7rem; }
  .nav-cta { margin: 0 0 0 .6rem; }
}

/* Buttons, Badges, Karten */
.btn { display: inline-block; background: var(--gruen); color: #fff; font-weight: 700; padding: .7rem 1.25rem; border-radius: 8px; border: 2px solid var(--gruen); text-decoration: none; cursor: pointer; font-family: inherit; font-size: 1rem; line-height: 1.2; }
.btn:hover { background: var(--gruen-dunkel); border-color: var(--gruen-dunkel); color: #fff; }
.btn-zweit { background: transparent; color: var(--gruen); }
.btn-zweit:hover { background: var(--flaeche); color: var(--gruen-dunkel); }
.btn-klein { padding: .5rem .9rem; font-size: .92rem; }
.nav .btn { color: #fff; }
.nav .btn:hover { background: var(--gruen-dunkel); color: #fff; }
.aktionen { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.badge { display: inline-block; font-size: .78rem; font-weight: 700; padding: .12em .55em; border-radius: 999px; background: #E6ECE9; color: var(--dunkel); vertical-align: middle; }
.badge-passt, .badge-neu { background: #DDF0E5; color: var(--gruen-dunkel); }
.badge-ungeprueft { background: #E9ECEF; color: #4A5560; }
.badge-pruefung, .badge-geaendert, .badge-wieder_aktiv { background: #FBE9D7; color: #8A4A0F; }
.badge-aus, .badge-entfallen { background: #F6DDDA; color: var(--rot); }
.tag { font-size: .78rem; color: var(--grau); border: 1px solid var(--linie); border-radius: 6px; padding: .1em .5em; white-space: nowrap; }
.karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.2rem 1.3rem; margin-bottom: 1.2rem; }
.abschnitt-flaeche .karte { background: var(--weiss); }
.karte > :first-child { margin-top: 0; }
.karte-aktion { background: var(--flaeche); }
.hinweis { background: #FFF6EA; border-left: 4px solid var(--akzent); padding: .7rem 1rem; border-radius: 6px; }
.hinweis-betreiber { background: var(--flaeche); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.hinweis-betreiber p { margin: 0; }
.punkt { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: .5em; background: #B8C0C8; vertical-align: middle; }
.punkt-passt { background: var(--gruen); }
.punkt-pruefung { background: var(--akzent); }
.punkt-aus, .punkt-nicht { background: var(--rot); }
.punkt-ungeprueft { background: #B8C0C8; }

/* Startseite */
.hero { background: var(--flaeche); padding: 2.6rem 0 2.2rem; }
.hero-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 3fr 2fr; gap: 3rem; } }
.hero h1 { margin-bottom: .6rem; }
.hero-karte { background: var(--weiss); border-radius: var(--radius); padding: 1.3rem 1.4rem; border: 1px solid var(--linie); }
.hero-karte .h3 { margin-top: 0; }
.liste-karten { list-style: none; padding: 0; margin: 0; }
.liste-karten li { border-top: 1px solid var(--linie); }
.liste-karten li:first-child { border-top: 0; }
.liste-karten a { display: block; padding: .7rem 0; text-decoration: none; color: var(--text); }
.liste-karten a strong { color: var(--gruen); }
.liste-karten a:hover strong { text-decoration: underline; }
.kacheln { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.kachel { display: flex; flex-direction: column; gap: .3rem; padding: .9rem 1rem; border: 1px solid var(--linie); border-radius: var(--radius); text-decoration: none; color: var(--dunkel); background: var(--weiss); min-height: 90px; }
.kachel:hover { border-color: var(--gruen); background: var(--flaeche); }
.kachel-titel { font-weight: 700; }
.kachel-zahl { font-size: .85rem; color: var(--grau); }
.schritte { padding-left: 1.3em; }
.schritte li { margin-bottom: .6em; }
.liste-schlicht { list-style: none; padding: 0; margin: 0 0 1em; }
.liste-schlicht li { padding: .3rem 0; border-bottom: 1px solid var(--linie); }
.liste-schlicht li:last-child { border-bottom: 0; }

/* Check */
.fortschritt { display: flex; gap: .4rem; list-style: none; padding: 0; margin: 0 0 1.2rem; }
.fortschritt li { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--linie); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--grau); }
.fortschritt li a, .fortschritt li span { text-decoration: none; color: inherit; }
.fortschritt li.fertig { border-color: var(--gruen); color: var(--gruen); }
.fortschritt li.jetzt { background: var(--gruen); border-color: var(--gruen); color: #fff; }
fieldset { border: 0; padding: 0; margin: 0 0 1.2rem; }
.option { display: flex; gap: .8rem; align-items: flex-start; padding: .8rem 1rem; border: 1px solid var(--linie); border-radius: 8px; margin-bottom: .5rem; cursor: pointer; background: var(--weiss); }
.option:hover { border-color: var(--gruen); }
.option input { margin-top: .3rem; width: 18px; height: 18px; flex: none; accent-color: var(--gruen); }
.option-klein { padding: .45rem .7rem; margin-bottom: .3rem; font-size: .95rem; }
.zwischen { background: var(--flaeche); border-radius: var(--radius); padding: 1rem 1.2rem; margin: 1.5rem 0 1rem; }
.zwischen p { margin: 0; }

/* Ergebnis */
.antworten { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-bottom: 1rem; }
.chip { display: inline-block; background: var(--weiss); border: 1px solid var(--linie); border-radius: 999px; padding: .2em .7em; font-size: .85rem; }
.chip b { color: var(--dunkel); }
.wege { display: grid; gap: 1rem; }
@media (min-width: 900px) { .wege { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); } }
.weg { border: 1px solid var(--linie); border-left-width: 6px; border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.weg h3 { margin-top: 0; font-size: 1.1rem; }
.weg-passend { border-left-color: var(--gruen); }
.weg-pruefung { border-left-color: var(--akzent); }
.weg-nicht { border-left-color: var(--rot); }
.ergebniswort { font-weight: 700; color: var(--dunkel); }
.gruende { list-style: none; padding: 0; margin: 0 0 .8em; }
.gruende li { padding: .25rem 0 .25rem 1.4em; text-indent: -1.4em; }
.gruende .punkt { text-indent: 0; }
.offenlegung { border-color: var(--akzent); }
.vertiefung { margin-top: 1.5rem; background: var(--flaeche); border-radius: var(--radius); padding: 1.2rem 1.3rem; }
.vertiefung .h4 { margin-top: 0; }
.vertiefung-grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .vertiefung-grid { grid-template-columns: 1fr 1fr; } }
.feld label { display: block; margin-bottom: .3rem; }
.checks { display: flex; flex-wrap: wrap; gap: .3rem; }
select, input[type=number], input[type=search], input[type=text] { font: inherit; padding: .5rem .6rem; border: 1px solid #B8C0C8; border-radius: 6px; background: var(--weiss); color: var(--text); max-width: 100%; width: 100%; }
.filterleiste { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: end; margin: 1rem 0 1.4rem; }
.filterleiste label { display: flex; flex-direction: column; font-size: .85rem; color: var(--grau); gap: .2rem; min-width: 140px; flex: 1 1 140px; }
.filterleiste .feld-suche { flex: 2 1 240px; }
.filterleiste select, .filterleiste input { width: 100%; }
.filterleiste .btn { flex: none; }
.treffer { border: 1px solid var(--linie); border-radius: var(--radius); padding: .9rem 1.1rem; margin-bottom: .8rem; background: var(--weiss); }
.treffer-kopf { display: flex; justify-content: space-between; gap: .8rem; align-items: flex-start; flex-wrap: wrap; }
.treffer h4, .treffer .h4 { margin: 0; font-size: 1.05rem; flex: 1 1 260px; }
.treffer p { margin: .4rem 0; }
.ampel { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.kriterien summary { cursor: pointer; color: var(--gruen); font-size: .92rem; }
.kriterien ul { list-style: none; padding: 0; margin: .5rem 0; font-size: .92rem; }
.kriterien li { padding: .2rem 0; }
.seiten { display: flex; gap: 1rem; align-items: center; justify-content: center; margin-top: 1.5rem; }
.meta { color: var(--grau); }

/* Programmseite */
.daten-drei { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .92rem; }
.programm-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .programm-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } }
.programm-text h2 { font-size: 1.35rem; margin-top: 1.4em; }
.quelltext h3 { font-size: 1.1rem; margin-top: 1.2em; }
.quelltext h4, .quelltext h5 { font-size: 1rem; }
.quelltext table { border-collapse: collapse; width: 100%; font-size: .92rem; display: block; overflow-x: auto; }
.tabelle-scroll { overflow-x: auto; margin: 0 0 1em; }
.tabelle-scroll > table { display: table; margin: 0; }
.tabelle-scroll:focus-visible { outline: 3px solid var(--gruen); outline-offset: 2px; }
.quelltext td, .quelltext th { border: 1px solid var(--linie); padding: .4rem .6rem; vertical-align: top; }
.quelltext a { overflow-wrap: anywhere; }
abbr[title] { text-decoration: underline dotted; cursor: help; }
.attribution { margin-top: 2rem; background: var(--flaeche); border-radius: var(--radius); padding: 1rem 1.2rem; font-size: .92rem; }
.attribution a { overflow-wrap: anywhere; }
.steckbrief { margin: 0; }
.steckbrief dt { font-weight: 700; color: var(--dunkel); margin-top: .5rem; font-size: .9rem; }
.steckbrief dd { margin: 0; font-size: .95rem; }
.kontakt { margin-bottom: 1rem; font-size: .95rem; overflow-wrap: anywhere; }

/* Förderwege */
.wege-nav { display: flex; flex-wrap: wrap; gap: .4rem; }
.wege-nav a { padding: .35rem .8rem; border: 1px solid var(--linie); border-radius: 999px; text-decoration: none; background: var(--weiss); color: var(--dunkel); font-size: .92rem; }
.wege-nav a.aktiv { background: var(--gruen); border-color: var(--gruen); color: #fff; }
.tabelle { border-collapse: collapse; width: 100%; margin-bottom: 1rem; font-size: .95rem; }
.tabelle th, .tabelle td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--linie); vertical-align: top; }
.tabelle th { color: var(--dunkel); background: var(--flaeche); }
.tabelle-rechner td:last-child { text-align: right; white-space: nowrap; }
.tabelle-rechner td:first-child { min-width: 9em; }
.tabelle-rechner tr:first-child td:last-child { white-space: normal; }   /* Betriebsgröße kann lang sein (45+/Schwerbehinderung, BV) */
@media (max-width: 640px) { .tabelle-rechner td:last-child { white-space: normal; } .tabelle { font-size: .9rem; } .tabelle th, .tabelle td { padding: .4rem .4rem; } }
.karte, .treffer, .weg { overflow-wrap: anywhere; }
.tabelle .summe td { font-weight: 700; color: var(--dunkel); background: var(--flaeche); }
.rechner label { display: block; font-size: .9rem; color: var(--dunkel); margin-bottom: .7rem; }
.rechner label input, .rechner label select { margin-top: .2rem; }
.version { margin-bottom: 2rem; }
.wissen h2 { margin-top: 2em; }
.wissen ul li { margin-bottom: .4em; }

/* Fuß */
.fuss { background: var(--dunkel); color: #D5DEE6; padding: 2.2rem 0 1.4rem; margin-top: 2rem; }
.fuss a { color: #fff; }
.fuss .klein { color: #B9C6D2; }
.fuss-spalten { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .fuss-spalten { grid-template-columns: 1fr 1fr 1fr; } }
.fuss-ende { border-top: 1px solid #2C4257; padding-top: 1rem; margin-top: 1.2rem; }

/* Druck */
@media print {
  .kopf, .fuss, .nav, .nav-btn, .btn, .filterleiste, .vertiefung, .skip, .karte-aktion, .aktionen { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .abschnitt { padding: .6cm 0; }
  .abschnitt-flaeche, .hero, .zwischen, .attribution, .weg, .treffer { background: #fff !important; }
  details { display: block; }
  details > summary { display: none; }
  details:not([open]) > *:not(summary) { display: block; }
  .kriterien ul { display: block !important; }
  a { color: #000; text-decoration: none; }
  .attribution a[href]::after, .programm-text a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .programm-grid, .zwei-spalten, .wege { display: block; }
  .treffer, .weg { break-inside: avoid; border: 1px solid #999; }
}

/* Förderhöhe (Chip, Abzeichen 80–100 %, Steckbrief) */
.hoehe { margin: .35rem 0 .45rem; display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.chip-hoehe { font-size: .82rem; background: #FFF8F1; border-color: #F0C9A2; color: var(--dunkel); max-width: 100%; white-space: normal; text-decoration: none; }
.chip-hoehe.chip-leer { background: var(--weiss); border-color: var(--linie); color: var(--grau); }
.chip-hoehe.chip-geprueft { border-color: #E07A1F; }
.abzeichen { display: inline-block; background: #E07A1F; color: #1F1200; font-weight: 700; font-size: .8rem; padding: .18em .65em; border-radius: 6px; white-space: nowrap; }
.hoehe-start { margin-top: .9rem; }
.hoehe-start a { font-weight: 700; }
.karte-hoehe { border-top: 4px solid #E07A1F; }
.hoehe-eintrag + .hoehe-eintrag { border-top: 1px solid var(--linie); margin-top: .7rem; padding-top: .7rem; }
.beleg { margin: .4rem 0; padding: .4rem .7rem; border-left: 3px solid #F0C9A2; background: #FFF8F1; font-size: .85rem; overflow-wrap: anywhere; }
.steckbrief-eng dt, .steckbrief-eng dd { font-size: .85rem; }
.option-zeile { display: inline-flex; gap: .4rem; align-items: center; white-space: normal; }
.filterleiste label.option-zeile { flex-direction: row; align-items: center; gap: .45rem; color: var(--dunkel); font-weight: 700; padding-bottom: .45rem; }
.filterleiste label.option-zeile input { width: auto; flex: none; accent-color: #E07A1F; }
/* Fördergebiet im Katalog: Länder-Mehrfachauswahl (details/summary). Zu: sieht aus wie ein select.
   Offen: ab 700 px schwebendes Panel unter dem Feld (Leiste bleibt stehen), darunter im Fluss. filter.js schließt bei Klick außerhalb/Escape. */
.filterleiste .feld-gebiet { position: relative; display: flex; flex-direction: column; gap: .2rem; font-size: .85rem; color: var(--grau); min-width: 140px; flex: 1 1 140px; }
.laender-wahl > summary { list-style: none; cursor: pointer; font: inherit; line-height: 1.33; color: var(--text); background: var(--weiss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%232B3440' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right .65rem center;
  border: 1px solid #B8C0C8; border-radius: 6px; padding: .5rem 2rem .5rem .6rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; user-select: none; }
.laender-wahl > summary::-webkit-details-marker { display: none; }
.laender-wahl > summary::marker { content: ""; }
.laender-wahl > summary:hover { border-color: var(--grau); }
.laender-wahl > summary:focus-visible { outline: 2px solid var(--gruen); outline-offset: 1px; }
.laender-wahl[open] > summary { border-color: var(--gruen); box-shadow: 0 0 0 1px var(--gruen); }
.laender-panel { margin-top: .35rem; padding: .9rem 1rem .8rem; background: var(--weiss); border: 1px solid var(--linie); border-radius: 8px; box-shadow: 0 10px 28px rgba(18, 38, 58, .16); color: var(--text); }
@media (min-width: 700px) {
  .laender-panel { position: absolute; z-index: 30; top: 100%; left: 0; width: min(700px, calc(100vw - 2rem)); }
}
.laender-wahl fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.laender-wahl .panel-titel { padding: 0; margin: 0 0 .45rem; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--grau); }
.laender-wahl .panel-titel span { font-weight: 400; text-transform: none; letter-spacing: 0; }
.laender-liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .1rem .9rem; }
.laender-wahl .laender-liste { padding-bottom: .7rem; border-bottom: 1px solid var(--linie); }
.umfang-wahl { display: grid; gap: .1rem; margin-top: .7rem !important; }
.filterleiste .laender-wahl label { flex-direction: row; align-items: center; gap: .5rem; min-width: 0; flex: none; color: var(--text); font-size: .92rem; line-height: 1.3; padding: .3rem .35rem; margin: 0 -.35rem; border-radius: 5px; cursor: pointer; }
.filterleiste .laender-wahl label:hover { background: var(--flaeche); }
.filterleiste .laender-wahl label small { color: var(--grau); font-size: .85em; }
.filterleiste .laender-wahl input { width: 1.05rem; height: 1.05rem; flex: none; margin: 0; accent-color: var(--gruen); }
.laender-wahl .panel-fuss { display: flex; justify-content: flex-end; margin-top: .7rem; }
@media (max-width: 699px) { .filterleiste .feld-gebiet, .filterleiste label.option-zeile { flex-basis: 100%; } .laender-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Kuratierte Einträge (Quelle „kuratiert“) */
.kennzeichnung { display: inline-block; margin: .2rem 0 .6rem; padding: .35rem .7rem; border-left: 3px solid var(--gruen, #1B6B4A); background: #fff; font-size: .9rem; overflow-wrap: anywhere; }
.quelltext table th, .quelltext table td { text-align: left; vertical-align: top; }

/* Bereich „Beispiele" auf der Programmseite */
.beispiele { scroll-margin-top: 84px; background: var(--flaeche); border-left: 4px solid var(--gruen); border-radius: var(--radius); padding: 1.1rem 1.3rem; margin: 1.6rem 0 1.8rem; }
.beispiele > h2 { margin-top: 0; }
.beispiele h3 { margin: 1.2rem 0 .4rem; }
.beispiele-kennz { font-size: .9rem; color: var(--dunkel); background: var(--weiss); border: 1px solid var(--linie); border-radius: 8px; padding: .55rem .8rem; }
.beispiele-kurz { margin: .4rem 0 0; padding-left: 1.2rem; }
.beispiele-kurz li { margin: .15rem 0; }
.beispiele .hinweis { margin: .6rem 0; }
.szenario { background: var(--weiss); border: 1px solid var(--linie); border-radius: 8px; padding: .7rem .9rem; margin: .6rem 0; }
.szenario p { margin: 0 0 .3rem; }
.szenario p:last-child { margin-bottom: 0; }
.beispiele p, .szenario p { overflow-wrap: anywhere; }
/* Konkreter Anwendungsfall (Programme mit Abzeichen 80–100 %): Orange nur als Rand/Tönung, Text in Dunkel (Kontrast ≥ 7:1) */
.anwendungsfall { scroll-margin-top: 84px; background: #FDF4EB; border: 1px solid #F3C9A1; border-left: 5px solid var(--akzent); border-radius: 8px; padding: .9rem 1.1rem; margin: 1rem 0 1.4rem; }
.anwendungsfall-kopf { display: flex; flex-wrap: wrap; gap: .4rem .7rem; align-items: center; margin-bottom: .3rem; }
.anwendungsfall-kopf h3 { margin: 0; }
.anwendungsfall p { margin: 0 0 .5rem; overflow-wrap: anywhere; }
.anwendungsfall-titel { font-size: 1.05rem; color: var(--dunkel); }
.anwendungsfall-schritte { margin: 0 0 .6rem; padding-left: 1.4rem; }
.anwendungsfall-schritte li { margin: .15rem 0; overflow-wrap: anywhere; }
.anwendungsfall-fuss { color: var(--dunkel); margin-top: .6rem !important; }

/* Förderlotse (KI-Chat) */
.lotse-kasten { background: var(--weiss); border: 1px solid var(--linie); border-left: 4px solid var(--gruen); border-radius: var(--radius); padding: .9rem 1.1rem; margin-top: 1rem; }
.lotse-kasten p { margin: 0 0 .5em; }
.lotse-kasten p:last-child { margin-bottom: 0; }
.lotse-kasten-titel { color: var(--dunkel); }
.ki-marke { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .05em; padding: .05em .45em; border-radius: 4px; background: var(--dunkel); color: #fff; vertical-align: middle; }
.lotse-kasten-form { display: flex; gap: .5rem; margin-bottom: .5em; }
.lotse-kasten-form input[type=text] { flex: 1 1 auto; min-width: 0; width: auto; }
.lotse-kasten-form .btn { flex: none; }
.lotse { margin: 1rem 0; }
.lotse-verlauf { display: flex; flex-direction: column; gap: .8rem; margin-bottom: .8rem; }
.lotse-verlauf:empty { display: none; }
.lotse-nachricht { border-radius: var(--radius); padding: .7rem 1rem; overflow-wrap: anywhere; min-width: 0; }
.lotse-nachricht > :last-child { margin-bottom: 0; }
.lotse-nachricht p, .lotse-nachricht ul, .lotse-nachricht ol { margin: 0 0 .6em; }
.lotse-nachricht li { margin: .15em 0; }
.lotse-nutzer { background: var(--flaeche); align-self: flex-end; max-width: 90%; white-space: pre-wrap; }
.lotse-ki { border: 1px solid var(--linie); background: var(--weiss); }
.lotse-wer { display: block; font-size: .78rem; font-weight: 700; color: var(--grau); margin-bottom: .2rem; white-space: normal; }
.lotse-hinweis { color: #8A4A0F; font-size: .9rem; }
.lotse-status { margin: 0 0 .6rem; }
.lotse-form textarea { display: block; width: 100%; font: inherit; padding: .5rem .6rem; border: 1px solid #B8C0C8; border-radius: 6px; resize: vertical; color: var(--text); }
.lotse-leiste { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: .5rem; }
.lotse-leiste #lotse-zaehler { margin-right: auto; }
.ki-hinweis { margin-bottom: 1rem; }

/* Status-Hinweis (Antragsstopp/Frist, portal/status.py) – roter Kasten oben auf der Programmseite, Kennzeichen in Listen */
.status-hinweis { background: #FBECEA; border: 1px solid #EBB9B3; border-left: 5px solid var(--rot); border-radius: 8px; padding: .75rem 1rem; margin: .4rem 0 1rem; color: var(--dunkel); overflow-wrap: anywhere; }
.status-hinweis p { margin: 0 0 .35rem; }
.status-hinweis p:last-child { margin-bottom: 0; }
.status-hinweis strong { color: #8E2A21; }
.status-quelle { font-size: .88rem; }
.status-hinweis a { color: #145238; }
.tag-status { color: #8E2A21; border-color: #EBB9B3; background: #FBECEA; font-weight: 700; }

/* Ergebnis: nächste Schritte und Ergebnis behalten (Audit U-2) */
.weiter-kasten { background: var(--weiss); border: 1px solid var(--linie); border-left: 5px solid var(--gruen); border-radius: var(--radius); padding: 1rem 1.2rem; margin-top: 1.2rem; }
.weiter-kasten .h3 { margin-top: 0; }
.weiter-kasten .schritte { margin-bottom: .8rem; }
.behalten { border-top: 1px solid var(--linie); padding-top: .8rem; }
.behalten-titel { display: block; font-size: .9rem; font-weight: 700; color: var(--dunkel); margin-bottom: .3rem; }
.behalten-link { font-size: .85rem; }
.behalten-knoepfe { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: .6rem 0 0; }
.nur-druck { display: none; }
@media print {
  .behalten-link, .behalten-knoepfe, .behalten-titel { display: none !important; }
  .nur-druck { display: block; overflow-wrap: anywhere; }
  .weiter-kasten { border: 1px solid #999; }
}
