/* Zentrale Rückkehrberatung (ZRB) Nord- und Westbayern — MODERNE Design-Variante.
   Zweitinstanz zrb-nordbayern2.usp24.eu. Gleiche Inhalte/Marke wie die
   Original-Variante, aber zeitgemäßes Layout: großes Headerbild im Vordergrund,
   viel Weißraum, weiche Radien und Schatten, größere Typo. Systemschriften
   (keine externen Requests, kein Consent-Banner). */

:root {
  --bg:        #ffffff;
  --bg-soft:   #f5f7f6;
  --bg-tint:   #ecf5f3;
  --ink:       #1e2521;
  --muted:     #596058;
  --line:      #e2e6e1;
  --accent:    #2da09c;   /* ZRB-Teal */
  --accent-dk: #0a746f;
  --accent-lt: #e3f1ef;
  --accent-2:  #c8aa59;   /* ZRB-Gold */
  --accent-2-dk:#83692a;  /* WCAG AA: 5.23:1 auf Weiß (statt #9c7f34 = 3.82:1) */
  --cta:       #0a746f;   /* WCAG AA: 5.61:1 Weiß-auf-CTA (statt #2da09c = 3.17:1) */
  --cta-ink:   #ffffff;
  --wrap:      1200px;
  --pad:       clamp(22px, 4vw, 52px);
  --sec:       clamp(64px, 10vw, 128px);
  --radius:    20px;
  --radius-sm: 12px;
  --shadow:    0 2px 8px rgba(20,40,38,0.06), 0 12px 32px rgba(20,40,38,0.08);
  --shadow-lg: 0 8px 24px rgba(20,40,38,0.10), 0 32px 64px rgba(20,40,38,0.16);
  --font:      -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 100%; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.7 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid var(--accent-dk); outline-offset: 2px; border-radius: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--pad); }
.wrap.narrow { max-width: 780px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dk); text-underline-offset: 3px; }

h1, h2, h3 { letter-spacing: -0.025em; text-wrap: balance; color: var(--ink); }
h1 { font: 800 clamp(2.3rem, 1.4rem + 3.6vw, 3.75rem)/1.06 var(--font); margin: 0 0 24px; }
h2 { font: 750 clamp(1.6rem, 1.2rem + 1.9vw, 2.4rem)/1.15 var(--font); font-weight: 700; margin: 0 0 20px; }
h3 { font: 650 clamp(1.15rem, 1.08rem + 0.4vw, 1.35rem)/1.3 var(--font); font-weight: 600; margin: 0 0 10px; }
p  { margin: 0 0 18px; max-width: 66ch; text-wrap: pretty; }
.lede { font-size: clamp(1.125rem, 1.05rem + 0.5vw, 1.35rem); line-height: 1.55; color: var(--muted); max-width: 56ch; }
.eyebrow { display: inline-block; font: 700 0.8125rem/1 var(--font); letter-spacing: 0.11em; text-transform: uppercase; color: var(--accent-dk); background: var(--accent-lt); padding: 8px 14px; border-radius: 999px; margin: 0 0 22px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--cta); color: var(--cta-ink); padding: 12px 20px; border-radius: 8px; font: 600 1rem/1 var(--font); text-decoration: none; }
.skip:focus { top: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--cta); color: var(--cta-ink); font: 650 1.03rem/1 var(--font); font-weight: 600; padding: 1.05rem 2rem; border: 2px solid var(--cta); border-radius: 999px; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(45,160,156,0.30); }
.btn-ghost { background: none; color: var(--accent-dk); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-lt); box-shadow: none; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.88); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding-block: 14px; }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 52px; width: auto; }
@media (max-width: 480px) { .brand img { height: 42px; } }

.site-nav { display: flex; gap: 26px; align-items: center; }
.site-nav > a, .site-nav .has-sub > a { font: 550 0.98rem/1 var(--font); font-weight: 500; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 5px; padding: 8px 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { color: var(--accent-dk); }
.site-nav a[aria-current="page"] { color: var(--accent-dk); border-bottom-color: var(--accent-2); }
.has-sub { position: relative; }
.caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 5px solid currentColor; opacity: .6; }
.subnav { position: absolute; left: -16px; top: calc(100% + 10px); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px; min-width: 252px; box-shadow: var(--shadow-lg); display: none; flex-direction: column; z-index: 120; }
.subnav a { padding: 11px 14px; border-radius: 8px; color: var(--ink); text-decoration: none; font: 500 0.96rem/1.3 var(--font); }
.subnav a:hover { background: var(--accent-lt); color: var(--accent-dk); }
.has-sub:hover .subnav, .has-sub:focus-within .subnav, .has-sub[data-open] .subnav { display: flex; }
.header-cta { padding: 12px 22px; font-size: 0.9375rem; white-space: nowrap; }

.nav-toggle { display: none; position: relative; }
.nav-toggle > summary { list-style: none; cursor: pointer; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; }
.nav-toggle > summary::-webkit-details-marker { display: none; }
.hamburger { display: block; width: 20px; }
.hamburger span { display: block; height: 2px; border-radius: 2px; background: var(--ink); margin: 4px 0; }
.mobile-nav-panel { position: absolute; right: 0; top: calc(100% + 12px); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px; min-width: 264px; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); z-index: 100; }
.mobile-nav-panel a { padding: 12px 8px; color: var(--ink); text-decoration: none; font: 500 1.0625rem/1 var(--font); border-bottom: 1px solid var(--line); }
.mobile-nav-panel a.sub { padding-left: 24px; font-weight: 400; font-size: 1rem; color: var(--muted); }
.mobile-nav-panel a:last-child { border: none; margin-top: 10px; text-align: center; }
@media (max-width: 940px) { .site-nav, .header-cta { display: none; } .nav-toggle { display: block; } }

/* Sections */
section { padding-block: var(--sec); }
section.soft { background: var(--bg-soft); }
section.dark { background: var(--ink); color: #fff; }
section.dark h2, section.dark h3 { color: #fff; }
section.dark p { color: rgba(255,255,255,0.82); }

/* ===== Hero — Headerbild im Vordergrund ===== */
.hero { padding: clamp(36px, 5vw, 72px) 0 clamp(72px, 9vw, 116px); background:
  radial-gradient(1100px 520px at 88% -20%, var(--bg-tint) 0%, transparent 60%),
  linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(32px, 5vw, 68px); align-items: center; }
.hero-head { max-width: 34rem; }
.hero-head h1 { color: var(--ink); font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.1rem); }
.hero-head .lede { color: var(--muted); max-width: 34rem; }
.hero-head > p:not(.lede):not(.actions) { color: var(--muted); font-size: 1rem; }
.hero .btn-ghost { color: var(--accent-dk); }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; gap: 0; } .hero-head { max-width: 40rem; margin-bottom: clamp(28px, 5vw, 44px); } }

.hero-media { position: relative; }
.hero-img { width: 100%; height: clamp(340px, 52vw, 540px); object-fit: cover; object-position: center 32%; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.hero-card { background: rgba(255,255,255,0.82); backdrop-filter: blur(16px) saturate(160%); border: 1px solid rgba(255,255,255,0.7); box-shadow: var(--shadow-lg); border-radius: var(--radius); padding: 24px 26px; }
.hero-media .hero-card { position: absolute; left: clamp(-32px, -3vw, -16px); bottom: clamp(-36px, -4vw, -20px); max-width: 320px; }
.hero-card h2 { font-size: 1rem; margin-bottom: 14px; color: var(--ink); }
.hero-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 9px 18px; font-size: 0.9rem; }
.hero-card dt { color: var(--muted); }
.hero-card dd { margin: 0; color: var(--ink); font-weight: 600; }
@media (max-width: 920px) {
  .hero-media .hero-card { position: static; max-width: none; margin: -44px 16px 0; }
}

/* Info-Karten */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: var(--bg); box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.card p:last-child { margin-bottom: 0; }
.card-tag { display: inline-block; font: 700 0.75rem/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2-dk); margin: 0 0 14px; }
.card.linkcard { text-decoration: none; color: inherit; display: block; }
.card.linkcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }
.card.linkcard a { font-weight: 650; font-weight: 600; text-decoration: none; color: var(--accent-dk); }
.card.linkcard a::after { content: " \2192"; display: inline-block; transition: transform .18s ease; }
.card.linkcard:hover a::after { transform: translateX(4px); }

/* Listen */
.checks { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 6px 40px; }
.checks li { padding: 11px 0 11px 34px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 16px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-lt); box-shadow: inset 0 0 0 2px var(--accent); }
.checks li::after { content: ""; position: absolute; left: 6px; top: 21px; width: 8px; height: 5px; border-left: 2px solid var(--accent-dk); border-bottom: 2px solid var(--accent-dk); transform: rotate(-45deg); }
.checks strong { color: var(--ink); }

/* Tabellen */
.table-scroll { overflow-x: auto; margin-bottom: 20px; }
table { width: 100%; border-collapse: collapse; font-size: 1rem; }
caption { text-align: left; font-size: 0.875rem; color: var(--muted); padding-bottom: 10px; }
th, td { text-align: left; padding: 14px 18px 14px 0; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }

/* Team */
.team-grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 8px; }
.person { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; background: var(--bg); box-shadow: var(--shadow); }
.person .avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(140deg, var(--accent) 0%, var(--accent-dk) 100%); color: #fff; display: grid; place-items: center; font: 700 1.2rem/1 var(--font); margin-bottom: 16px; }
.person h3 { margin-bottom: 4px; font-size: 1.15rem; }
.person .role { color: var(--muted); font-size: 0.9375rem; margin: 0; }

/* Steps */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: s; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 24px 22px 76px; position: relative; box-shadow: var(--shadow); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 22px; top: 22px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--accent-lt); font: 700 0.9375rem/1 var(--font); color: var(--accent-dk); }
.steps strong { display: block; margin-bottom: 4px; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--muted); font-size: 1rem; }

/* Steps mit Icons */
.steps.with-icons li { padding-left: 88px; }
.steps.with-icons li .step-ico { position: absolute; left: 22px; top: 20px; width: 46px; height: 46px; border-radius: 12px; }
.steps.with-icons li::before { left: auto; right: 24px; top: 22px; }

/* Hinweiskästen */
.note-inline, .note { background: var(--bg-tint); border: 1px solid var(--accent-lt); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); padding: 18px 20px; font-size: 0.9688rem; line-height: 1.6; margin: 0 0 22px; max-width: 68ch; }
.note-inline strong { color: var(--ink); }

.fineprint { font-size: 0.8125rem; color: var(--muted); max-width: 62ch; }
.contact-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; margin: 8px 0 0; }
.contact-cols h3 { font-size: 1.05rem; }

/* Download-Liste */
.dl-group { margin: 0 0 38px; }
.dl-group h3 { margin-bottom: 14px; }
.dl-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 72ch; }
.dl-list a { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); font-weight: 500; background: var(--bg); box-shadow: var(--shadow); transition: transform .15s ease, border-color .15s ease; }
.dl-list a:hover { border-color: var(--accent); transform: translateX(4px); }
.dl-list a::before { content: "PDF"; font: 700 0.68rem/1 var(--font); letter-spacing: 0.04em; color: #fff; background: var(--accent-2-dk); padding: 6px 7px; border-radius: 6px; flex-shrink: 0; }

/* Form-Plugin an das Design angleichen */
.form-wrapper { max-width: 660px; }
.form-field { margin-bottom: 20px; }
.form-field .form-label, .form-field .form-label label { display: block; font: 550 0.9375rem/1.3 var(--font); font-weight: 500; margin-bottom: 7px; }
.form-data input[type=text], .form-data input[type=email], .form-data input[type=tel], .form-data input[type=number],
.form-data input:not([type]), .form-data textarea, .form-data select {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px;
  font: 400 1rem/1.4 var(--font); background: var(--bg); color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
.form-data input:focus, .form-data textarea:focus, .form-data select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-lt); outline: none; }
.form-data textarea { min-height: 140px; resize: vertical; }
.form-field:has(.form-consent-note) > .form-label { display: none; }
.form-consent-note { font-size: 0.875rem; line-height: 1.5; color: var(--muted); max-width: 62ch; margin: 4px 0 8px; }
.form-consent-note a { color: var(--accent-dk); }
form .buttons { margin-top: 10px; }
form button.button, form .button { display: inline-block; background: var(--cta); color: var(--cta-ink); font: 650 1.03rem/1 var(--font); font-weight: 600; padding: 17px 34px; border: 2px solid var(--cta); border-radius: 999px; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; }
form button.button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(45,160,156,0.30); }
.form-errors, .form-messages { max-width: 62ch; font-size: 0.9375rem; }
.form-wrapper .notices { max-width: none; margin: 0 0 18px; padding: 20px 22px; border-radius: var(--radius-sm); border: 1px solid var(--line); font-size: 1rem; line-height: 1.55; }
.form-wrapper .notices p { margin: 0; }
.form-wrapper .notices.success, .form-wrapper .notices.green { background: var(--accent-lt); border-color: var(--accent-dk); color: #08514d; }
.form-wrapper .notices.success p::before { content: "\2713 "; font-weight: 700; }
.form-wrapper .notices.error, .form-wrapper .notices.red { background: #FDECEC; border-color: #a11; color: #8a1111; }
.form-wrapper:has(.notices.success) form, .form-wrapper:has(.notices.green) form { display: none; }
section:has(.form-wrapper .notices.success) .note-inline, section:has(.form-wrapper .notices.green) .note-inline { display: none; }

/* Bilder / Figuren */
figure { margin: 0 0 26px; }
figure img { border-radius: var(--radius); width: 100%; box-shadow: var(--shadow); }
figcaption { font-size: 0.8125rem; color: var(--muted); margin-top: 10px; }
.hero-figure img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* Video (self-hosted, kein externer Dienst, kein Cookie) */
.video-embed { position: relative; margin: 0 0 24px; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.video-embed video { display: block; width: 100%; height: auto; }
figure.video-figure { margin-bottom: 30px; }

/* Material-/Download-Kacheln mit Cover */
.material-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px; margin: 8px 0 0; }
.material-grid a { text-decoration: none; color: var(--ink); font: 650 0.9rem/1.35 var(--font); font-weight: 600; display: block; }
.material-grid img { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 10px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.material-grid a:hover img { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent); }

/* Flag-Kacheln (Elternflyer nach Sprache) */
.flag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 20px; margin: 8px 0 0; }
.flag-grid a { text-decoration: none; color: var(--ink); font: 600 0.9rem/1.3 var(--font); text-align: center; display: block; }
.flag-grid img { border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 8px; box-shadow: var(--shadow); }

/* Seiten-Kopf (Unterseiten) */
.legal-hero { background:
  radial-gradient(900px 380px at 85% -20%, var(--bg-tint) 0%, transparent 65%),
  linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line); }
.legal-hero h1 { color: var(--ink); margin: 0 0 12px; }
.legal-hero p { color: var(--muted); margin: 0; max-width: 52ch; font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.2rem); }
.legal-content h2 { margin-top: 44px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content ul, .legal-content ol { padding-left: 24px; max-width: 72ch; }
.legal-content li { margin-bottom: 8px; color: var(--muted); }

/* Partner-Logo-Band über dem Footer */
.partner-band { background: var(--bg-soft); padding: 48px 0; border-top: 1px solid var(--line); }
.partner-label { text-align: center; font: 700 0.8125rem/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 26px; max-width: none; }
.partner-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 32px 48px; }
.partner-logos img { height: 56px; width: auto; filter: saturate(0.2) opacity(0.75); transition: filter .2s ease; }
.partner-logos img:hover { filter: none; }
.partner-logos img[alt*="Europäischen"] { height: 76px; }
.partner-note { text-align: center; font-size: 0.8125rem; color: var(--muted); margin: 26px auto 0; max-width: 60ch; }

/* Footer */
.site-footer { background: var(--ink); color: #fff; padding: 72px 0 28px; }
.site-footer a { color: rgba(255,255,255,0.9); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; margin-bottom: 40px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font: 700 0.8125rem/1 var(--font); text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-2); margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.site-footer p { color: rgba(255,255,255,0.72); font-size: 0.9375rem; }
.updated { border-top: 1px solid rgba(255,255,255,0.16); padding-top: 24px; font-size: 0.8125rem; color: rgba(255,255,255,0.6); max-width: none; }

/* A11y-Toolbar */
html[data-fontsize="1"] { font-size: 112.5%; }
html[data-fontsize="2"] { font-size: 125%; }
html[data-fontsize="3"] { font-size: 140%; }
html[data-contrast="1"] { --muted: #2c2e27; --line: #6a6c62; --bg-soft: #fff; --bg-tint: #fff; }
html[data-contrast="1"] body { background: #fff; color: #111; }
html[data-contrast="1"] a { text-decoration: underline; }
html[data-contrast="1"] .hero, html[data-contrast="1"] .legal-hero { background: #fff; }
html[data-contrast="1"] section.dark p, html[data-contrast="1"] .site-footer p { color: #fff; }
html[data-motion="0"] *, html[data-motion="0"] *::before, html[data-motion="0"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

.a11y-toggle { position: fixed; left: 16px; bottom: 16px; z-index: 900; width: 50px; height: 50px; border-radius: 50%; border: 2px solid #fff; background: var(--accent-dk); color: #fff; cursor: pointer; box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: center; }
.a11y-toggle svg { width: 27px; height: 27px; display: block; pointer-events: none; }
.a11y-toggle:hover { filter: brightness(1.12); }
.a11y-panel { position: fixed; left: 16px; bottom: 78px; z-index: 900; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); padding: 18px; width: min(290px, calc(100vw - 32px)); display: none; }
.a11y-panel[data-open] { display: block; }
.a11y-panel h2 { font: 700 0.9375rem/1 var(--font); margin: 0 0 14px; }
.a11y-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.a11y-row:last-child { margin-bottom: 0; }
.a11y-row > span { font-size: 0.9375rem; }
.a11y-btns { display: flex; gap: 6px; }
.a11y-btns button, .a11y-panel .a11y-act { border: 1px solid var(--line); background: var(--bg-soft); border-radius: 8px; padding: 9px 13px; font: 400 0.9375rem/1 var(--font); cursor: pointer; color: var(--ink); min-width: 42px; }
.a11y-btns button[aria-pressed="true"] { background: var(--accent-dk); color: #fff; border-color: var(--accent-dk); }
.a11y-panel .a11y-act { width: 100%; margin-top: 6px; font-weight: 600; }

@media (max-width: 700px) {
  h1, h2, h3 { max-width: none; }
}

/* Barrierefreiheits-Leiste: Link zu Leichter Sprache */
.a11y-ls { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; }
.a11y-ls-link { border: 1px solid var(--accent-dk); background: var(--accent-lt); color: var(--accent-dk); border-radius: 8px; padding: 9px 13px; font: 600 0.9375rem/1 var(--font); text-decoration: none; }
.a11y-ls-link:hover { background: var(--accent-dk); color: #fff; }

/* ===== Leichte Sprache ===== */
html.ls[data-fontsize="1"] { font-size: 118.75%; }
html.ls[data-fontsize="2"] { font-size: 131.25%; }
html.ls[data-fontsize="3"] { font-size: 150%; }

.ls-wrap { max-width: 42rem; margin: 0 auto; padding-inline: var(--pad); }
.ls-header .wrap { flex-wrap: wrap; gap: 14px; align-items: center; }
.ls-header .brand img { width: 220px; height: auto; }
.ls-header-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.ls-header-nav a { color: var(--ink); text-decoration: underline; font-weight: 600; font-size: 1rem; padding: 8px 10px; border-radius: 8px; }
.ls-header-nav a:hover { background: var(--bg-soft); }

.ls-hero { background: linear-gradient(140deg, var(--accent) 0%, var(--accent-dk) 100%); color: #fff; padding: 40px 0 44px; }
.ls-hero h1 { color: #fff; font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.4rem); line-height: 1.2; margin: 0; max-width: none; }
.ls-back { margin: 0 0 14px; }
.ls-back a { color: #fff; text-decoration: underline; font-weight: 600; font-size: 1rem; }

.ls-hero + section { padding-block: 44px; }
.ls-content { font-size: 1.1875rem; line-height: 1.85; }
.ls-content p { max-width: 38rem; margin: 0 0 1.1em; }
.ls-content h2 { font-size: 1.4rem; line-height: 1.3; color: var(--ink); margin: 1.9em 0 .5em; letter-spacing: normal; max-width: none; }
.ls-content h2:first-child { margin-top: 0; }
.ls-content ul { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: .7em; }
.ls-content ul li { padding-left: 1.6em; position: relative; max-width: 38rem; font-size: inherit; }
.ls-content ul li::before { content: "\203a"; position: absolute; left: 0; top: 0; color: var(--accent-dk); font-weight: 700; }
.ls-content a { color: var(--accent-dk); font-weight: 600; }
.ls-content strong { color: var(--ink); }

.ls-words { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px 22px; margin: 0 0 1.2em; }
.ls-words h2 { margin-top: 0 !important; }
.ls-words dl { margin: 0; }
.ls-words dt { font-weight: 700; color: var(--ink); margin-top: .8em; }
.ls-words dt:first-child { margin-top: 0; }
.ls-words dd { margin: .2em 0 0; }

.ls-contact { background: var(--bg); border: 2px solid var(--accent); border-radius: var(--radius-sm); padding: 20px 22px; margin: 0 0 1.2em; }
.ls-contact h2 { margin-top: 0 !important; }

.ls-switch { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 36px 0; }
.ls-switch p { margin: 0 0 12px; font-size: 1.05rem; }
.ls-btn { display: inline-block; background: var(--cta); color: var(--cta-ink); font-weight: 700; padding: 15px 24px; border-radius: 999px; text-decoration: none; font-size: 1rem; border: 2px solid var(--cta); }
.ls-btn:hover { filter: brightness(0.94); }

@media (max-width: 700px) {
  .ls-content { font-size: 1.0625rem; line-height: 1.8; }
}
