/* suche: inline */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root { --green: #006b3e; --green-dark: #006b3e; --green-bg: #ecf7f1; --text: #1a1a2e; --muted: #374151; --bg: #fff; --bg-alt: #f5f7fa; --bg-top: #f1f3f5; --border: #e5e7eb; --radius: 10px; --shadow: 0 1px 3px rgba(0,0,0,.06); --shadow-md: 0 4px 14px rgba(0,0,0,.08); --font: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, sans-serif; --max: 1120px; }
body { font-family: var(--font); color: var(--text); background: var(--bg-alt); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
.topbar { background: linear-gradient(to right, #00c06a, #005430); border-bottom: 1px solid rgba(0,0,0,.18); font-size:14px; color: rgba(255,255,255,.92); }
.topbar-inner { max-width: var(--max); margin: auto; padding: .45rem 1.5rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.topbar-left { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.topbar-left span { display: flex; align-items: center; gap: .3rem; }
.topbar-right a { color: rgba(255,255,255,.92); transition: color .2s; }
.topbar-right a:hover { color: #fff; }
.mainnav { background: var(--bg); border-bottom: 2px solid var(--border); position: sticky; top: 0; z-index: 100; }
.nav-inner { max-width: var(--max); margin: auto; padding: 0 1.5rem; display: flex; align-items: center; gap: 2rem; height: 62px; }
.nav-logo { font-size: 1.25rem; font-weight: 800; color: var(--green); letter-spacing: -.5px; white-space: nowrap; }
.nav-links { display: flex; gap: .25rem; align-items: center; list-style: none; margin-left: .5rem; }
.nav-links a { padding: .45rem .85rem; border-radius: 6px; font-size: .88rem; font-weight: 500; color: var(--text); transition: background .15s, color .15s; white-space: nowrap; }
.nav-links a:hover { background: var(--bg-alt); color: var(--green); }
.nav-links a.active { background: var(--green-bg); color: var(--green); font-weight: 700; }
.nav-cta { margin-left: auto; flex-shrink: 0; display: flex; gap: .5rem; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1.2rem; border-radius: 7px; font-size: .88rem; font-weight: 600; cursor: pointer; border: none; transition: all .18s; text-decoration: none; }
.btn-primary { background: linear-gradient(to right, #00c06a, #005430); color: #fff; }
.btn-primary:hover { background: linear-gradient(to right, #009a58, #003d24); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,135,78,.25); }
.btn-outline { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn-outline:hover { background: linear-gradient(var(--green-bg),var(--green-bg)) padding-box, linear-gradient(to right, #00c06a, #005430) border-box; }
.burger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: .4rem; background: none; border: none; }
.burger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all .25s; }
.page-hero { background: var(--bg-alt); border-bottom: 1px solid var(--border); padding: 56px 0 60px; }
.page-hero-inner { max-width: var(--max); margin: auto; padding: 0 1.5rem; }
.page-hero h1 { color: var(--text); margin-bottom: .6rem; overflow-wrap: break-word; hyphens: auto; }
.page-hero p { color: var(--muted); font-size: 1rem; margin: 0; }
.search-section { max-width: 700px; margin: 3rem auto; padding: 0 1.5rem; text-align: center; }
.search-box { display: flex; gap: 0; margin-bottom: 2rem; }
.search-input { flex: 1; padding: .85rem 1.2rem; font-size: 1rem; border: 2px solid var(--border); border-radius: 8px 0 0 8px; outline: none; font-family: var(--font); transition: border .2s; }
.search-input:focus { border-color: var(--green); }
.search-btn { padding: .85rem 1.4rem; background: var(--green); color: #fff; border: none; border-radius: 0 8px 8px 0; font-size: .95rem; font-weight: 700; cursor: pointer; transition: background .15s; white-space: nowrap; }
.search-btn:hover { background: var(--green-dark); }
.topics-section { max-width: var(--max); margin: 0 auto 3rem; padding: 0 1.5rem; text-align: center; }
.topics-section h2 { font-size: 1.2rem; font-weight: 800; margin-bottom: 1rem; }
.topics-wrap { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.topic-chip { display: inline-flex; align-items: center; padding: .4rem 1rem; border-radius: 20px; font-size: .88rem; font-weight: 600; border: 1px solid var(--border); background: var(--bg); color: var(--text); cursor: pointer; transition: all .15s; text-decoration: none; }
.topic-chip:hover { background: var(--green-bg); color: var(--green); border-color: var(--green); }
.pages-section { max-width: var(--max); margin: 0 auto 4rem; padding: 0 1.5rem; }
.pages-section h2 { font-size: 1.2rem; font-weight: 800; margin-bottom: 1.2rem; }
.pages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.page-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: var(--shadow); transition: box-shadow .2s; }
.page-card:hover { box-shadow: var(--shadow-md); }
.page-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: .3rem; color: var(--green); }
.page-card p { font-size:14px; color: var(--muted); line-height: 1.5; margin-bottom: .6rem; }
.page-card a { font-size:14px; color: var(--green); font-weight: 600; }
.footer { background: #111827; color: #9ca3af; padding: 3rem 1.5rem 1.5rem; }
.footer-grid { max-width: 1240px; margin: auto; display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand p { font-size:14px; line-height: 1.7; margin-top: .6rem; }
.footer-col h4 { color: #f9fafb; font-size:14px; font-weight: 700; margin-bottom: .8rem; text-transform: uppercase; letter-spacing: .05em; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0; }
.footer-col ul li a { font-size:14px; color: #9ca3af; transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { max-width: var(--max); margin: auto; padding-top: 1.2rem; border-top: 1px solid #374151; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .5rem; font-size:14px; }
.footer-logo { font-size: 1.1rem; font-weight: 800; color: #fff; }
@media(max-width:900px) { .pages-grid { grid-template-columns: 1fr 1fr; } .footer-grid { grid-template-columns: 1fr 1fr; } }
@media(max-width:640px) { .nav-links { display: none; flex-direction: column; position: absolute; top: 62px; left: 0; right: 0; background: #fff; border-bottom: 2px solid var(--border); padding: 1rem 1.5rem; gap: .25rem; } .nav-links.open { display: flex; } .burger { display: flex; } .pages-grid { grid-template-columns: 1fr; } .footer-grid { grid-template-columns: 1fr; } }
    /* ─── nav v2 override ─────────────────────── */
    .btn-sm { padding: .45rem 1rem; font-size:14px; }
    .btn-secondary { background:#fff; color:#000; border:2px solid #000; padding-top:calc(.45rem - 2px); padding-bottom:calc(.45rem - 2px); }
    .btn-secondary:hover { background:#000; color:#fff; border-color:#000; }
    .topbar { font-size:14px; }
    .topbar-inner { height: 34px; padding: 0 1.5rem; flex-wrap: nowrap; }
    .topbar-left { color: rgba(255,255,255,.92); flex-wrap: nowrap; gap: 1.25rem; }
    .topbar-left a { color: rgba(255,255,255,.92); transition: color .15s; }
    .topbar-left a:hover { color: #fff; }
    .topbar-right { display: flex; align-items: center; gap: .85rem; }
    .topbar-right a { font-weight: 500; transition: color .15s; white-space: nowrap; }
    .topbar-sep { color: rgba(255,255,255,.45); }
    nav.mainnav { background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); box-shadow: 0 1px 4px rgba(0,0,0,.05); }
    .nav-inner { height: 60px; gap: 1.5rem; }
    .nav-logo { font-size: 0; }
    .nav-logo img { height: 32px; width: auto; display: block; }
    .nav-links { list-style: none; margin-left: 0; gap: .1rem; flex: 1; }
    .nav-links li { display: contents; }
    .nav-links a { color: var(--muted); padding: .38rem .62rem; font-size:14px; }
    .nav-links a:hover { color: var(--green); background: var(--green-bg); }
    .nav-cta { flex-shrink: 0; }
    .nav-burger { display: none; flex-direction: column; gap: 5px; padding: 6px; margin-left: auto; cursor: pointer; border: none; background: none; }
    .nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
    .nav-mobile { max-height: 0; overflow: hidden; visibility: hidden; background: var(--bg); border-top: 1px solid var(--border); flex-direction: column; display: flex; }
    .nav-mobile.open { max-height: calc(100vh - 60px); min-height: calc(100vh - 60px); overflow-y: auto; visibility: visible; background: #fff; }
    .nav-mobile a { padding: .7rem 1.5rem; font-size: .95rem; color: var(--text); border-bottom: 1px solid var(--border); font-weight: 500; }
    .nav-mobile .btn { margin: 1rem 1.5rem; justify-content: center; }
    @media (max-width: 640px) {
      .topbar { display: none; }
      .nav-links, .nav-cta { display: none; }
      .nav-burger { display: flex; }
    }
/* suche: css/suche.css */
/* Suchseite: grosses Suchfeld, Vorschlagsliste, Themenkacheln, aufklappbare Gruppen */
.suche-hero { padding: 48px 0 56px; }
.suche-hero-inner { text-align: center; }
.suche-hero h1 { margin-bottom: .6rem; }
.suche-hero p { max-width: 640px; margin: 0 auto 1.6rem; }
.suche-form { max-width: 760px; margin: 0 auto; }
.suche-feldwrap { position: relative; text-align: left; }
.suche-lupe { position: absolute; left: 1.25rem; top: 50%; transform: translateY(-50%); color: #1a1a2e; pointer-events: none; z-index: 2; }
.suche-feld {
  width: 100%; box-sizing: border-box; padding: 1.05rem 1.4rem 1.05rem 3.5rem;
  font-size: 1.25rem; font-weight: 500; font-family: inherit; color: #1a1a2e;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(to right, #00c06a, #005430) border-box;
  border: 2px solid transparent; border-radius: 14px; outline: none;
  box-shadow: 0 4px 16px rgba(0, 107, 62, .08); -webkit-appearance: none; appearance: none;
  transition: box-shadow .18s ease;
}
.suche-feld::placeholder { color: #94a3b8; font-weight: 400; }
.suche-feldwrap:has(.suche-platzhalter) .suche-feld::placeholder { color: transparent; }
.suche-platzhalter {
  position: absolute; left: 3.5rem; right: 1.4rem; top: 50%; transform: translateY(-50%);
  pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-size: 1.25rem; line-height: 1.3; z-index: 1;
}
.suche-ph-frage { color: #374151; font-weight: 500; }
.suche-ph-bsp { color: #94a3b8; font-weight: 400; margin-left: .25rem; }
.suche-feld:not(:placeholder-shown) + .suche-platzhalter,
.suche-platzhalter[hidden] { display: none; }
.suche-feld:focus { box-shadow: 0 0 0 3px rgba(0, 192, 106, .2), 0 6px 20px rgba(0, 107, 62, .12); }
.suche-feld::-webkit-search-cancel-button { height: 1.2rem; width: 1.2rem; cursor: pointer; }

.suche-vorschlag {
  position: absolute; z-index: 50; left: 0; right: 0; top: calc(100% + 6px);
  margin: 0; padding: 0 0 .35rem; list-style: none;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(to right, #00c06a, #005430) border-box;
  border: 1.5px solid transparent; border-radius: 14px; box-shadow: 0 12px 30px rgba(0, 0, 0, .14);
  max-height: 70vh; overflow-y: auto; overflow-x: hidden;
}
.suche-vorschlag[hidden] { display: none; }
.suche-gruppe {
  padding: .42rem 1.2rem; font-size: .78rem; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; color: #fff;
  background: linear-gradient(to right, #00c06a, #005430);
}
.suche-gruppe:not(:first-child) { margin-top: .35rem; }
.suche-leer { padding: .8rem 1.2rem; color: #374151; font-size: .95rem; }
.suche-vorschlag [role="option"] a { display: block; padding: .6rem 1.2rem; color: #1a1a2e; font-size: 1.02rem; text-decoration: none; }
.suche-vorschlag [role="option"][aria-selected="true"] a,
.suche-vorschlag [role="option"] a:hover { background: #ecf7f1; color: #006b3e; }
.suche-vorschlag mark, .suche-ergebnis mark { background: #d6f1e2; color: inherit; font-weight: 600; border-radius: 3px; padding: 0 1px; }

.suche-bereich { max-width: 1100px; margin: 2rem auto 3rem; padding: 0 1.5rem; }
.suche-ergebnis:empty { display: none; }
.suche-ergebnis { margin-bottom: 2.2rem; }
.suche-ergebnis-kopf { font-size: 1.15rem; font-weight: 600; margin-bottom: .75rem; }
.suche-ergebnis-sektion { margin-bottom: 1.35rem; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; }
.suche-ergebnis-gruppe {
  margin: 0; padding: .5rem 1.1rem; font-size: .82rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; color: #fff;
  background: linear-gradient(to right, #00c06a, #005430);
}
.suche-ergebnis-liste { list-style: none; margin: 0; padding: 0 1.1rem; }
.suche-ergebnis-liste li { padding: .55rem 0; border-bottom: 1px solid #e5e7eb; }
.suche-ergebnis-liste li:last-child { border-bottom: none; }
.suche-ergebnis-liste a { font-weight: 500; color: #006b3e; }
.suche-tag { margin-left: .6rem; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: #006b3e; background: #ecf7f1; border-radius: 999px; padding: .1rem .55rem; }

.suche-browse h2 { font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; text-align: center; }
.suche-kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: .8rem; }
.suche-kachel {
  display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; text-align: left;
  padding: 1rem 1.1rem; font-family: inherit; cursor: pointer; color: #1a1a2e;
  background: #fff; border: 1.5px solid #e5e7eb; border-radius: 12px; transition: border-color .15s, background .15s;
}
.suche-kachel:hover { border-color: #006b3e; background: #ecf7f1; }
.suche-kachel.ist-offen { border-color: #006b3e; background: #ecf7f1; box-shadow: 0 0 0 1.5px #006b3e inset; }
.suche-kachel:focus-visible { outline: 3px solid #006b3e; outline-offset: 2px; }
.suche-kachel-name { font-size: 1.05rem; font-weight: 600; }
.suche-kachel-zahl { font-size: .85rem; font-weight: 400; color: #374151; }

.suche-panel { margin-top: 1.4rem; padding: 1.2rem 1.4rem; background: #f5f7fa; border: 1px solid #e5e7eb; border-radius: 14px; }
.suche-panel[hidden] { display: none; }
.suche-panel-kopf { font-size: 1.2rem; font-weight: 600; color: #006b3e; margin-bottom: .8rem; }
.suche-hub { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; margin-bottom: .5rem; }
.suche-hub > summary { display: flex; justify-content: space-between; gap: 1rem; align-items: center; cursor: pointer; padding: .65rem 1rem; font-weight: 500; list-style: none; }
.suche-hub > summary::-webkit-details-marker { display: none; }
.suche-hub > summary::before { content: "\25B8"; color: #006b3e; margin-right: .6rem; transition: transform .15s; }
.suche-hub[open] > summary::before { transform: rotate(90deg); }
.suche-hub > summary > span:first-child { flex: 1; }
.suche-hub-zahl { font-size: .8rem; font-weight: 500; color: #374151; background: #f1f3f5; border-radius: 999px; padding: .05rem .6rem; }
.suche-hub-inhalt { padding: .2rem 1rem .9rem 2rem; }
.suche-hub-inhalt .suche-hub { background: #f9fafb; }
.suche-hub-link { margin: .2rem 0 .6rem; font-weight: 500; }
.suche-hub-link a { color: #006b3e; }
.suche-seiten { list-style: none; margin: 0; padding: 0; columns: 2 320px; column-gap: 2rem; }
.suche-seiten li { break-inside: avoid; padding: .18rem 0; font-size: .95rem; }
.suche-seiten a { color: #1a1a2e; text-decoration: underline; text-decoration-color: #b7e0c9; text-underline-offset: 3px; }
.suche-seiten a:hover { color: #006b3e; text-decoration-color: #006b3e; }
.suche-hinweis { color: #374151; text-align: center; }

@media (max-width: 640px) {
  .suche-hero { padding: 32px 0 40px; }
  .suche-feld { font-size: 1.08rem; padding: .9rem 1rem .9rem 3rem; border-radius: 12px; }
  .suche-platzhalter { left: 3rem; right: 1rem; font-size: 1.05rem; }
  .suche-lupe { left: .95rem; width: 22px; height: 22px; }
  .suche-hub-inhalt { padding-left: 1rem; }
  .suche-seiten { columns: 1; }
}
