/* =========================================================
   Grund- und Mittelschule Oy-Mittelberg — zentrale Styles
   Farben/Abstände/Typo als CSS-Variablen (Auftrag §17)
   ========================================================= */

/* ---- Lokale Schriften (keine externen Schriftserver) ---- */
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/source-sans-3-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+20AC; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/source-sans-3-400-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+1E00-1E9F, U+2020, U+20A0-20C0; }
@font-face { font-family: 'Source Sans 3'; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/source-sans-3-400-italic-latin.woff2") format('woff2'); }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/source-sans-3-500-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/source-sans-3-500-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+1E00-1E9F; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/source-sans-3-600-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../assets/fonts/source-sans-3-600-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+1E00-1E9F; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../assets/fonts/source-sans-3-700-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: 'Source Sans 3'; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../assets/fonts/source-sans-3-700-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+1E00-1E9F; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/newsreader-400-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/newsreader-400-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+1E00-1E9F; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/newsreader-500-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/newsreader-500-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+1E00-1E9F; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-400-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-400-latin-ext.woff2") format('woff2'); unicode-range: U+0100-02BA, U+1E00-1E9F; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../assets/fonts/ibm-plex-mono-500-latin.woff2") format('woff2'); unicode-range: U+0000-00FF, U+2000-206F, U+20AC; }

/* ---- Design-Tokens ---- */
:root {
  --c-ink: #1D1F1C;            /* Haupttext */
  --c-primary: #1F3765;        /* Dunkelblau: Buttons, Links, Navigation */
  --c-school-blue: #91AFC7;    /* Logo-Hellblau: ruhige Flächen */
  --c-accent: #F8B145;         /* warmes Orange: Akzente */
  --c-alert: #B8352D;          /* Rot: Warnungen, sparsame Akzente */
  --c-sand: #F8DBA1;           /* Sandgelb: Hinweisflächen */
  --c-neutral: #717270;        /* Neutralgrau: nur groß/dekorativ */
  --c-neutral-text: #5B5D5B;   /* AA-konforme Abstufung für kleine Sekundärtexte */
  --c-meta: #6C6249;           /* AA-konforme Abstufung des alten #96896f für Meta-Texte */
  --c-bg: #FBF7EF;             /* Grundfläche */
  --c-paper: #FFFFFF;
  --c-line: #ece2cf;
  --c-line-strong: #d9cbb0;
  --c-footer-bg: #1D1F1C;
  --c-footer-text: #c7ccc9;

  --font-body: 'Source Sans 3', system-ui, sans-serif;
  --font-serif: 'Newsreader', Georgia, serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --fs-base: 16px;
  --fs-small: 14px;
  --fs-meta: 13px;
  --radius-s: 8px;
  --radius-m: 12px;
  --radius-l: 18px;
  --space-1: 8px;
  --space-2: 14px;
  --space-3: 22px;
  --space-4: 36px;
  --space-5: 56px;
  --wrap: 1180px;
  --wrap-narrow: 1000px;
  --wrap-legal: 820px;
  --shadow-card: 0 16px 40px -16px rgba(0,0,0,.35);
}

/* ---- Basis ---- */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body { margin: 0; background: var(--c-bg); font-family: var(--font-body); color: var(--c-ink); line-height: 1.6; font-size: var(--fs-base); }
a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { text-wrap: balance; font-family: var(--font-serif); font-weight: 500; }
h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 10px; }
h2 { font-size: clamp(22px, 3vw, 28px); margin: 26px 0 10px; }
p { text-wrap: pretty; }
input, textarea, button, select { font-family: inherit; }
:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--space-3); padding-right: var(--space-3); }
.wrap-narrow { max-width: var(--wrap-narrow); margin: 0 auto; padding: 30px var(--space-3) 60px; }
.wrap-legal { max-width: var(--wrap-legal); margin: 0 auto; padding: 30px var(--space-3) 60px; font-size: 15.5px; }
.strong { font-weight: 700; }
.muted { color: var(--c-neutral-text); }
.mt { margin-top: 10px; }
main { min-height: 60vh; }

/* Platzhalter für fehlende Bilder (Bild-ID im Text) */
.ph { background-image: repeating-linear-gradient(135deg, #d8e2ea 0 16px, #cbd8e2 16px 32px);
  color: #3c5064; font-family: var(--font-mono); font-size: 12px; letter-spacing: .02em;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 14px; }

/* Ohne JavaScript: interaktive Filter/Formular-Elemente ausblenden, Inhalte bleiben sichtbar */
.js-only { display: none; }
.js .js-only { display: block; }
.js form.js-only { display: grid; }
.js .cat-row.js-only { display: flex; }

/* ---- Skip-Link ---- */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--c-primary); color: #fff;
  padding: 10px 16px; border-radius: 0 0 var(--radius-s) 0; z-index: 300; }
.skip-link:focus { left: 0; }

/* ---- Topbar ---- */
.topbar { background: var(--c-footer-bg); color: #d4d8d5; font-size: 13.5px; }
.topbar-inner { padding-top: 8px; padding-bottom: 8px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar .topbar-edoop { color: var(--c-sand); }
.topbar-links { display: flex; gap: 18px; align-items: center; }
.lang-wrap { position: relative; }
.lang-btn { background: none; border: 1px solid #4a4c47; color: #fff; padding: 4px 10px; border-radius: 6px; cursor: pointer; font-size: 13px; }
.lang-menu { position: absolute; right: 0; top: 110%; background: #fff; color: var(--c-ink); border: 1px solid var(--c-line);
  border-radius: var(--radius-s); padding: 8px; min-width: 190px; box-shadow: var(--shadow-card); z-index: 50; font-size: 13px; }
.lang-current { font-weight: 700; padding: 4px 8px; }
.lang-hint { padding: 6px 8px; color: var(--c-neutral-text); line-height: 1.4; }

/* ---- Header / Navigation ---- */
.site-header { background: var(--c-bg); border-bottom: 1px solid var(--c-line); position: sticky; top: 0; z-index: 100; }
.header-inner { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.logo-img { height: 58px; width: auto; border-radius: 6px; }
.logo-img-small { height: 46px; width: auto; border-radius: 6px; }
.main-nav { display: flex; align-items: center; gap: 4px; font-weight: 600; font-size: 15.5px; flex-wrap: wrap; }
.main-nav > a, .dropdown-btn { padding: 9px 12px; border-radius: 7px; color: var(--c-ink); background: none; border: none;
  cursor: pointer; font-weight: 600; font-size: 15.5px; font-family: inherit; }
.main-nav > a:hover, .dropdown-btn:hover { background: #f3ecdd; text-decoration: none; }
.main-nav > a.active, .dropdown-btn.active { color: var(--c-primary); box-shadow: inset 0 -2px 0 var(--c-primary); border-radius: 7px 7px 0 0; }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; left: 0; top: 108%; background: #fff; border: 1px solid var(--c-line); border-radius: 10px;
  padding: 8px; min-width: 250px; box-shadow: var(--shadow-card); z-index: 60; display: grid; gap: 2px; }
.dropdown-menu a { padding: 9px 12px; border-radius: 7px; color: var(--c-ink); font-size: 14.5px; }
.dropdown-menu a:hover { background: #f6f1e6; text-decoration: none; }
.menu-btn { display: none; background: var(--c-primary); color: #fff; border: none; border-radius: 9px; padding: 11px 14px;
  font-weight: 700; cursor: pointer; font-size: 15px; }

/* ---- Mobile Drawer ---- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(29,31,28,.5); z-index: 150; border: none; }
.mobile-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(88vw, 360px); background: var(--c-bg); z-index: 160;
  overflow-y: auto; padding: 20px; box-shadow: -20px 0 50px -20px rgba(0,0,0,.5); }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.menu-close { background: none; border: 1px solid var(--c-line); border-radius: 50%; width: 40px; height: 40px; font-size: 20px; cursor: pointer; }
.mobile-links { display: grid; gap: 2px; font-weight: 600; }
.mobile-links a { padding: 12px 10px; border-bottom: 1px solid var(--c-line); color: var(--c-ink); }
.mobile-links.small a { padding: 10px; border-bottom: 1px solid #f0e8d8; font-size: 14.5px; font-weight: 400; }
.mobile-links.extra { margin-top: 14px; }
.mobile-links.extra a { border-bottom: none; padding: 10px; }
.mobile-group-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-neutral-text); margin: 18px 0 6px; }

@media (max-width: 919px) {
  .main-nav { display: none; }
  .menu-btn { display: inline-block; }
}
/* Ohne JavaScript: Burger nutzlos → volle Navigation untereinander zeigen */
.no-js .menu-btn { display: none; }
@media (max-width: 919px) {
  .no-js .main-nav { display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
  .no-js .header-inner { flex-wrap: wrap; }
}

/* ---- Breadcrumb, Kicker, Lead ---- */
.breadcrumb { font-size: var(--fs-small); color: var(--c-neutral-text); margin-bottom: 10px; }
.kicker { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #8a5a00; }
.kicker-sand { color: #8a5a00; }
.lead { font-size: 18px; line-height: 1.6; color: #3a3d3a; margin: 0 0 22px; max-width: 680px; }

/* ---- Buttons & Badges ---- */
.btn { display: inline-block; padding: 12px 22px; border-radius: var(--radius-s); font-weight: 700; border: none; cursor: pointer; font-size: 15px; }
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-secondary { background: #fff; color: var(--c-primary); border: 1px solid var(--c-line-strong); }
.btn-sand { background: var(--c-sand); color: #3a2600; }
.badge-missing { background: #f7e0de; color: var(--c-alert); padding: 8px 14px; border-radius: var(--radius-s); font-weight: 700; font-size: var(--fs-small); }

/* ---- Startseite: Hero-Slider ---- */
.hero-section { padding-top: var(--space-3); }
.slider { position: relative; border-radius: var(--radius-l); overflow: hidden; }
.slides { display: flex; transition: transform .5s ease; }
.slide { flex: 0 0 100%; height: min(52vw, 460px); position: relative; }
.slide-ph { width: 100%; height: 100%; background-image: repeating-linear-gradient(135deg, #c9d7e2 0 18px, #bccdda 18px 36px); }
.no-js .slide { display: none; }
.no-js .slide.current { display: block; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,55,101,.66), rgba(31,55,101,.12) 60%, transparent); pointer-events: none; }
.hero-text { position: absolute; left: clamp(20px, 4vw, 44px); bottom: clamp(20px, 4vw, 40px); right: 20px; color: #fff; max-width: 600px; pointer-events: none; }
.hero-kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-sand); }
.hero-text h1 { font-weight: 500; font-size: clamp(26px, 4.4vw, 48px); line-height: 1.1; margin: 10px 0 8px; }
.hero-text p { font-size: clamp(15px, 1.8vw, 18px); margin: 0; color: #eef2f6; max-width: 520px; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.88); cursor: pointer; font-size: 20px; font-weight: 700; color: var(--c-ink); }
.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }
.slider-pause { position: absolute; left: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; border: none;
  background: rgba(255,255,255,.88); cursor: pointer; font-size: 15px; color: var(--c-ink); }
.no-js .slider-btn, .no-js .slider-pause, .no-js .slider-dots { display: none; }
.slider-dots { position: absolute; right: 16px; bottom: 14px; display: flex; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(31,55,101,.4); cursor: pointer; background: rgba(255,255,255,.45); padding: 0; }
.dot.current { background: #fff; }

/* ---- Startseite: Schnellzugriffe ---- */
.quick-section { padding-top: 44px; padding-bottom: 8px; }
.quick-section h2, .teaser-section h2, .partner-band h2 { margin-top: 0; }
.section-sub { margin: 0 0 22px; color: var(--c-neutral-text); }
.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--c-line);
  border: 1px solid var(--c-line); border-radius: 14px; overflow: hidden; }
.quick-card { background: #fff; padding: 24px 20px; display: flex; flex-direction: column; gap: 11px; min-height: 132px; color: var(--c-ink); }
.quick-card:hover { background: #fdfaf3; text-decoration: none; }
.quick-title { font-weight: 700; font-size: 16.5px; }
.quick-desc { font-size: 13.5px; color: var(--c-neutral-text); }

/* ---- Startseite: Teaser ---- */
.teaser-section { padding-top: var(--space-4); padding-bottom: var(--space-4); display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 26px; }
.teaser-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.teaser-head h2 { margin: 0; }
.latest-list { border-top: 2px solid var(--c-primary); }
.latest-row { display: flex; gap: 14px; align-items: center; padding: 15px 4px; border-bottom: 1px solid var(--c-line); color: var(--c-ink); }
.latest-row:hover { text-decoration: none; background: #fffdf8; }
.latest-info { flex: 1; }
.latest-title { font-weight: 700; display: block; }
.latest-arrow { color: var(--c-primary); font-weight: 700; }
.termine-teaser { background: var(--c-sand); border-radius: 14px; padding: 26px; }
.termine-teaser h2 { margin: 6px 0 12px; font-size: 24px; }
.termine-teaser p { margin: 0 0 16px; color: #4a3a10; font-size: 15px; }
.termine-teaser-sub { margin-top: 18px; border-top: 1px solid rgba(138,90,0,.25); padding-top: 14px; font-size: var(--fs-small); color: #4a3a10; }

/* ---- Partner-Band (Startseite) + Partnerseite ---- */
.partner-band { background: var(--c-primary); color: #fff; }
.partner-band-inner { padding-top: 40px; padding-bottom: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 26px; align-items: center; }
.partner-band h2 { margin: 8px 0 10px; font-size: 28px; }
.partner-band p { margin: 0 0 18px; color: #cdd8e5; max-width: 440px; }
.partner-logo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 12px; }
.partner-band .partner-logo-ph { height: 70px; border-radius: 10px; background-image: repeating-linear-gradient(135deg, #33507e 0 14px, #2c476f 14px 28px); color: #b9c8db; }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 18px; }
.partner-card { background: #fff; border: 1px solid var(--c-line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.partner-card .partner-logo-ph { height: 76px; border-radius: var(--radius-s); }
.partner-name { font-weight: 700; font-size: 18px; }
.partner-supports { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #8a5a00; }
.partner-card p { margin: 0; font-size: 14.5px; color: #4a4d4a; flex: 1; }
.cta-band { margin-top: 32px; background: var(--c-primary); color: #fff; border-radius: 14px; padding: 30px; text-align: center; }
.cta-band h2 { margin: 0 0 10px; font-size: 26px; }
.cta-band p { margin: 0 auto 18px; max-width: 520px; color: #cdd8e5; }

/* ---- Downloads ---- */
.dl-search { margin-bottom: 20px; }
.dl-search input { width: 100%; max-width: 480px; padding: 12px 14px; border: 1px solid var(--c-line-strong); border-radius: 9px; background: #fff; font-size: 15px; }
.cat-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.cat-btn { padding: 8px 15px; border-radius: 999px; border: 1px solid var(--c-line-strong); cursor: pointer; font-weight: 600;
  font-size: var(--fs-small); background: #fff; color: var(--c-ink); }
.cat-btn.current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.dl-grid { display: grid; gap: 12px; }
.dl-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-m); padding: 18px 20px; display: flex;
  gap: 16px; align-items: center; flex-wrap: wrap; }
.dl-type { flex: 0 0 auto; width: 48px; height: 48px; border-radius: 10px; background: #fde6d5; color: #a05e00; display: flex;
  align-items: center; justify-content: center; font-weight: 700; font-size: 12px; font-family: var(--font-mono); }
.dl-info { flex: 1; min-width: 200px; }
.dl-title { font-weight: 700; font-size: 16.5px; }
.dl-desc { font-size: 13.5px; color: var(--c-neutral-text); }
.dl-meta { font-size: 12.5px; color: var(--c-meta); margin-top: 3px; font-family: var(--font-mono); }
.pflege-hinweis { margin-top: 26px; font-size: var(--fs-meta); color: var(--c-meta); background: #fff; border: 1px dashed var(--c-line-strong);
  border-radius: 10px; padding: 14px; }
.pruefhinweis { font-size: var(--fs-meta); color: var(--c-alert); font-weight: 600; }

/* ---- Artikel ---- */
.content h2 { font-size: 23px; margin: 26px 0 8px; }
.content ul { margin: 0 0 16px; padding-left: 22px; line-height: 1.7; }
.content li { margin-bottom: 5px; }
.note { background: #fdf2d6; border: 1px solid #f0dca0; border-radius: 10px; padding: 14px 18px; margin: 0 0 16px; color: #6a4e05; }
.contact-card { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-m); padding: 20px; margin: 8px 0 20px; line-height: 1.8; }
.termine-liste { border-top: 2px solid var(--c-primary); padding-top: 8px; }
.termin-row { display: flex; gap: 14px; padding: 12px 4px; border-bottom: 1px solid var(--c-line); align-items: baseline; flex-wrap: wrap; }
.termin-datum { font-family: var(--font-mono); font-size: var(--fs-small); color: var(--c-primary); font-weight: 500; min-width: 110px; }
.termin-titel { font-weight: 700; flex: 1; }
.termin-meta { font-size: var(--fs-meta); color: var(--c-neutral-text); }

/* ---- Kontakt ---- */
.kontakt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 30px; margin-top: 16px; }
.kontakt-grid h2 { margin: 0 0 12px; font-size: 22px; }
.kontakt-form { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-m); padding: 22px; display: grid; gap: 14px; }
.kontakt-form label { display: grid; gap: 5px; font-weight: 600; font-size: var(--fs-small); }
.kontakt-form input, .kontakt-form textarea { padding: 11px 13px; border: 1px solid var(--c-line-strong); border-radius: var(--radius-s); font-size: 15px; }
.kontakt-form textarea { resize: vertical; }
.captcha-input { max-width: 160px; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form-err { color: var(--c-alert); font-weight: 600; font-size: var(--fs-small); }
.form-ok { background: #e7f0e8; border: 1px solid #bcd6bf; border-radius: var(--radius-m); padding: 20px; color: #2b5a30; margin-bottom: 14px; }
.form-note { margin: 0; font-size: 12.5px; color: var(--c-meta); }
.kontakt-form .btn { justify-self: start; }

/* ---- Suche ---- */
.search-results { display: grid; gap: 10px; margin-top: 10px; }
.search-hit { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-m); padding: 14px 18px; }
.search-hit a { font-weight: 700; }
.search-empty { color: var(--c-neutral-text); }

/* ---- 404 ---- */
.center-404 { text-align: center; padding-top: 70px; padding-bottom: 90px; }

/* ---- Footer ---- */
.site-footer { background: var(--c-footer-bg); color: var(--c-footer-text); margin-top: 20px; }
.footer-grid { padding-top: 44px; padding-bottom: 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.footer-logo { background: #fff; border-radius: var(--radius-s); padding: 6px; height: 56px; width: auto; }
.site-footer p { margin: 16px 0 0; line-height: 1.7; font-size: 14.5px; }
.site-footer a { color: var(--c-footer-text); }
.site-footer p a { color: #fff; }
.footer-col { font-size: 14.5px; line-height: 2; }
.footer-col a { display: block; }
.footer-head { color: #fff; font-weight: 700; margin-bottom: 6px; }
.footer-bottom { border-top: 1px solid #33352f; margin-top: 20px; }
.footer-bottom .wrap { padding-top: 16px; padding-bottom: 16px; font-size: var(--fs-meta); color: #9aa09a; }

/* ---- Druck ---- */
@media print {
  .topbar, .site-header, .mobile-nav, .drawer-backdrop, .site-footer, .slider-btn, .slider-pause, .slider-dots,
  .menu-btn, .dl-search, .cat-row, .skip-link { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
  .contact-card, .dl-card { border: 1px solid #999; }
}
