/* ==========================================================================
[hidden] { display: none !important; }
   Reso-Witt e.V. – Design-System
   Schriften: Inter (Text/UI, nah an SF Pro) + Plus Jakarta Sans (Headlines)
   ========================================================================== */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url("../fonts/inter-latin-wght-italic.woff2") format("woff2"); }
@font-face { font-family: "Jakarta"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Jakarta"; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  --teal-900: #17393a; --teal-800: #1f4d4a; --teal-700: #285d59; --teal-600: #336e6a; --teal-500: #4c8682;
  --teal-400: #649793; --teal-300: #93bdb9; --teal-200: #bededa; --teal-100: #def0ee; --teal-50: #f0f8f7;
  --coral-700: #b23d35; --coral-600: #c94b42; --coral-500: #dd5f56; --coral-300: #f0a49e; --coral-100: #fde8e6;
  --sand-100: #faf6f0; --sand-200: #f3ece1;
  --violet-500: #7c6bc4; --sky-500: #3f8fc4; --amber-500: #d69a2d;
  --ink-900: #141b24; --ink-800: #212934; --ink-700: #3a4452; --ink-600: #556070; --ink-500: #5f6a78; --ink-300: #c3cad3; --ink-200: #dde2e8; --ink-100: #eef1f4;

  --bg: #ffffff; --bg-soft: var(--teal-50); --bg-muted: var(--sand-100); --surface: #ffffff; --surface-2: #f7f9fa;
  --text: var(--ink-800); --text-soft: var(--ink-600); --text-faint: var(--ink-500);
  --border: var(--ink-200); --border-soft: var(--ink-100);
  --primary: var(--teal-600); --primary-strong: var(--teal-700); --primary-soft: var(--teal-100); --on-primary: #fff;
  --accent: var(--coral-500); --accent-strong: #a63a32; --accent-soft: var(--coral-100); --accent-btn: #b8433a;
  --violet-text: #6352b0; --sky-text: #2b6f9e; --amber-text: #8a5d0c;
  --focus: #2f6fd6;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Jakarta", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", sans-serif;

  --fs-xs: .8125rem; --fs-sm: .9375rem; --fs-base: 1.0625rem; --fs-lg: 1.1875rem;
  --fs-h4: clamp(1.15rem, 1rem + .5vw, 1.35rem);
  --fs-h3: clamp(1.3rem, 1.1rem + .8vw, 1.65rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
  --fs-h1: clamp(2.25rem, 1.5rem + 3.2vw, 4.25rem);
  --fs-hero: clamp(2.6rem, 1.4rem + 5vw, 5.75rem);

  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 34px; --r-full: 999px;
  --shadow-sm: 0 1px 2px rgba(20, 27, 36, .06), 0 1px 3px rgba(20, 27, 36, .05);
  --shadow-md: 0 6px 16px -4px rgba(20, 27, 36, .10), 0 2px 6px -2px rgba(20, 27, 36, .06);
  --shadow-lg: 0 24px 48px -16px rgba(20, 27, 36, .22), 0 8px 16px -8px rgba(20, 27, 36, .10);
  --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --container: 1240px; --gutter: clamp(1rem, .5rem + 2.5vw, 2.5rem);
  --header-h: 76px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1518; --bg-soft: #13201f; --bg-muted: #151b1f; --surface: #182024; --surface-2: #1d272b;
    --text: #e7ecee; --text-soft: #b2bdc2; --text-faint: #8a979d; --border: #2a363b; --border-soft: #222d31;
    --primary: #6fb3ad; --primary-strong: #8cc8c2; --primary-soft: #1d3634; --on-primary: #0d1a19;
    --accent: #f07a71; --accent-strong: #ff958d; --accent-soft: #3a2220; --accent-btn: #c94b42;
    --violet-text: #b3a8ec; --sky-text: #8cc4ea; --amber-text: #f0c46e;
    --shadow-md: 0 6px 16px -4px rgba(0, 0, 0, .5); --shadow-lg: 0 24px 48px -16px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1518; --bg-soft: #13201f; --bg-muted: #151b1f; --surface: #182024; --surface-2: #1d272b;
  --text: #e7ecee; --text-soft: #b2bdc2; --text-faint: #8a979d; --border: #2a363b; --border-soft: #222d31;
  --primary: #6fb3ad; --primary-strong: #8cc8c2; --primary-soft: #1d3634; --on-primary: #0d1a19;
  --accent: #f07a71; --accent-strong: #ff958d; --accent-soft: #3a2220; --accent-btn: #c94b42;
    --violet-text: #b3a8ec; --sky-text: #8cc4ea; --amber-text: #f0c46e;
  --shadow-md: 0 6px 16px -4px rgba(0, 0, 0, .5); --shadow-lg: 0 24px 48px -16px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 var(--fs-base)/1.65 var(--font-sans); font-feature-settings: "cv11", "ss01", "ss03";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .2s; }
a:hover { color: var(--accent); }
h1, h2, h3, h4, h5 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -.022em; margin: 0 0 .6em; color: var(--text); text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: var(--fs-h2); letter-spacing: -.03em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
p { margin: 0 0 1.1em; text-wrap: pretty; }
ul, ol { padding-left: 1.25em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }
::selection { background: var(--teal-200); color: var(--ink-900); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.icon { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: middle; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 1000; background: var(--ink-900); color: #fff; padding: .75rem 1.25rem; border-radius: var(--r-sm); font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container-narrow { width: min(100% - 2 * var(--gutter), 780px); margin-inline: auto; }
.section { padding-block: clamp(4rem, 3rem + 5vw, 8rem); position: relative; }
.section-sm { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.section-soft { background: var(--bg-soft); }
.section-muted { background: var(--bg-muted); }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font: 600 var(--fs-xs)/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); border-radius: 2px; }
.lead { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); line-height: 1.6; color: var(--text-soft); max-width: 62ch; }
.muted { color: var(--text-soft); }
.text-center { text-align: center; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head h2 { margin: 0; }
.section-head .lead { margin: .75rem 0 0; }
.grid { display: grid; gap: clamp(1rem, .75rem + 1vw, 2rem); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split-60 { grid-template-columns: 1.2fr .8fr; } .split-40 { grid-template-columns: .85fr 1.15fr; } }
.stack > * + * { margin-top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--primary); --btn-fg: var(--on-primary);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .8rem 1.5rem;
  border-radius: var(--r-full); border: 0; background: var(--btn-bg); color: var(--btn-fg);
  font: 600 var(--fs-sm)/1.1 var(--font-sans); letter-spacing: .005em; text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .25s, color .25s;
  box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--btn-bg) 80%, transparent); will-change: transform;
}
.btn:hover { color: var(--btn-fg); background: color-mix(in srgb, var(--btn-bg) 88%, #000); box-shadow: 0 14px 28px -12px color-mix(in srgb, var(--btn-bg) 90%, transparent); }
.btn .icon { width: 1.15em; height: 1.15em; transition: transform .35s var(--ease-out); }
.btn:hover .icon-arrow { transform: translateX(4px); }
.btn-accent { --btn-bg: var(--accent-btn); --btn-fg: #fff; }
.btn-light { --btn-bg: #fff; --btn-fg: var(--ink-900); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--border); }
.btn-ghost:hover { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--text-faint); }
.btn-glass { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.btn-sm { min-height: 38px; padding: .5rem 1rem; font-size: var(--fs-xs); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; text-decoration: none; }
.link-arrow .icon { transition: transform .3s var(--ease-out); width: 1.1em; height: 1.1em; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.topbar { background: var(--teal-900); color: rgba(255,255,255,.86); font-size: var(--fs-xs); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; opacity: .8; }
.topbar-contact, .topbar-social { display: flex; gap: 1.25rem; align-items: center; }
@media (max-width: 720px) { .topbar-contact .hide-sm { display: none !important; } .topbar-social a span { display: none; } .topbar-social { gap: .9rem; } }

.site-header { position: sticky; top: 0; z-index: 100; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s, background .3s; }
.site-header.is-scrolled { border-bottom-color: var(--border-soft); box-shadow: 0 6px 24px -18px rgba(0,0,0,.4); }
.is-home .site-header:not(.is-scrolled):not(.menu-open) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); transition: height .35s var(--ease-out); }
.site-header.is-scrolled .header-inner { height: 64px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--text); flex: none; }
.brand img { height: 46px; width: auto; transition: height .35s var(--ease-out); }
.site-header.is-scrolled .brand img { height: 40px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font: 800 1.2rem/1 var(--font-display); letter-spacing: -.02em; }
.brand-sub { font-size: .7rem; color: var(--text-faint); letter-spacing: .08em; text-transform: uppercase; margin-top: .25rem; }
.is-home .site-header:not(.is-scrolled):not(.menu-open) .brand, .is-home .site-header:not(.is-scrolled):not(.menu-open) .brand-sub { color: #fff; }
.is-home .site-header:not(.is-scrolled):not(.menu-open) .nav-link { color: #fff; }
.is-home .site-header:not(.is-scrolled):not(.menu-open) .menu-toggle, .is-home .site-header:not(.is-scrolled):not(.menu-open) .theme-toggle { color: #fff; }

.main-nav { display: none; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.nav-item { position: relative; }
.nav-link { display: inline-flex; align-items: center; gap: .25rem; padding: .6rem .85rem; border: 0; background: none; border-radius: var(--r-full); font: 500 var(--fs-sm)/1 var(--font-sans); color: var(--text); text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.nav-link:hover, .nav-item:focus-within > .nav-link, .nav-link[aria-current="page"], .nav-link.is-active { background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); }
.is-home .site-header:not(.is-scrolled) .nav-link:hover { background: rgba(255,255,255,.16); color: #fff; }
.nav-link .icon { width: 14px; height: 14px; transition: transform .3s var(--ease-out); }
.nav-item:hover > .nav-link .icon, .nav-item.is-open > .nav-link .icon { transform: rotate(180deg); }
.dropdown { position: absolute; top: calc(100% + 10px); left: 50%; min-width: 300px; padding: .6rem; list-style: none; margin: 0;
  background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px) scale(.98); transform-origin: top center; transition: opacity .25s var(--ease-out), transform .35s var(--ease-out), visibility .25s; }
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.nav-item:hover > .dropdown, .nav-item.is-open > .dropdown, .nav-item:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.dropdown a { display: flex; align-items: center; gap: .75rem; padding: .65rem .8rem; border-radius: var(--r-sm); color: var(--text); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; transition: background .2s, color .2s, transform .25s var(--ease-out); }
.dropdown a:hover, .dropdown a[aria-current="page"] { background: var(--bg-soft); color: var(--primary); }
.dropdown a:hover { transform: translateX(3px); }
.dropdown .dd-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); flex: none; }
.dropdown .dd-icon .icon { width: 18px; height: 18px; }
.dropdown .is-sub a { padding-left: 3.6rem; font-size: var(--fs-xs); color: var(--text-soft); }
.header-actions { display: flex; align-items: center; gap: .5rem; }
.theme-toggle, .menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-full); border: 0; background: transparent; color: var(--text); cursor: pointer; transition: background .2s; }
.theme-toggle:hover, .menu-toggle:hover { background: color-mix(in srgb, var(--text) 8%, transparent); }
.theme-toggle .i-sun { display: none; }
[data-theme="dark"] .theme-toggle .i-sun { display: block; } [data-theme="dark"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .i-sun { display: block; } :root:not([data-theme="light"]) .theme-toggle .i-moon { display: none; } }
.header-cta { display: none; }
@media (min-width: 1100px) {
  .main-nav { display: block; }
  .menu-toggle { display: none; }
  .header-cta { display: inline-flex; }
}

/* Mobile Off-Canvas */
.mobile-nav { position: fixed; inset: 0; z-index: 99; background: var(--bg); padding: calc(var(--header-h) + 40px + 1.25rem) var(--gutter) 2rem; overflow-y: auto; overscroll-behavior: contain;
  clip-path: circle(0 at calc(100% - 44px) 36px); visibility: hidden; transition: clip-path .7s var(--ease-out), visibility 0s .7s; }
.menu-open .mobile-nav, body.menu-open .mobile-nav { clip-path: circle(150% at calc(100% - 44px) 36px); visibility: visible; transition: clip-path .7s var(--ease-out), visibility 0s; }
body.menu-open { overflow: hidden; }
.mobile-nav details { border-bottom: 1px solid var(--border-soft); }
.mobile-nav summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 0; font: 700 1.5rem/1.2 var(--font-display); letter-spacing: -.02em; cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary .icon { transition: transform .3s var(--ease-out); }
.mobile-nav details[open] summary .icon { transform: rotate(180deg); }
.mobile-nav ul { list-style: none; padding: 0 0 1rem; margin: 0; }
.mobile-nav ul a { display: flex; align-items: center; gap: .75rem; padding: .65rem 0; color: var(--text-soft); text-decoration: none; font-size: 1.05rem; }
.mobile-nav ul .is-sub a { padding-left: 1.5rem; font-size: .95rem; }
.mobile-nav .m-link { display: block; padding: 1.1rem 0; font: 700 1.5rem/1.2 var(--font-display); color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border-soft); }
.mobile-nav .m-contact { margin-top: 2rem; display: grid; gap: .75rem; }
.menu-open .mobile-nav details, .menu-open .mobile-nav .m-link { animation: m-in .6s var(--ease-out) both; }
.menu-open .mobile-nav > :nth-child(2) { animation-delay: .05s; } .menu-open .mobile-nav > :nth-child(3) { animation-delay: .1s; }
.menu-open .mobile-nav > :nth-child(4) { animation-delay: .15s; } .menu-open .mobile-nav > :nth-child(5) { animation-delay: .2s; }
.menu-open .mobile-nav > :nth-child(6) { animation-delay: .25s; } .menu-open .mobile-nav > :nth-child(7) { animation-delay: .3s; }
@keyframes m-in { from { opacity: 0; transform: translateY(18px); } }
.menu-toggle .bar { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease-out), opacity .2s; }
.menu-toggle .bars { display: grid; gap: 5px; }
.menu-open .menu-toggle .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle .bar:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (Startseite) ---------- */
.hero { position: relative; min-height: min(100svh, 980px); margin-top: calc(-1 * var(--header-h)); display: grid; align-items: end; color: #fff; overflow: hidden; isolation: isolate; background: var(--teal-900); }
.hero-slides { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform-origin: var(--kb-origin, center); }
.hero-slide.is-active img { animation: kenburns var(--kb-duration, 9s) linear both; }
.hero-slide:nth-child(2n) { --kb-origin: 20% 30%; --kb-from: scale(1.18) translate(2%, 1%); --kb-to: scale(1.02) translate(-1%, 0); }
.hero-slide:nth-child(3n) { --kb-origin: 80% 60%; }
@keyframes kenburns { from { transform: var(--kb-from, scale(1.02)); } to { transform: var(--kb-to, scale(1.16) translate(-1.5%, -1%)); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(15, 30, 32, .55) 0%, rgba(15, 30, 32, .05) 30%, rgba(15, 30, 32, .25) 55%, rgba(12, 26, 28, .88) 100%),
  radial-gradient(120% 80% at 0% 100%, rgba(23, 57, 58, .85), transparent 60%); }
.hero-content { padding-block: calc(var(--header-h) + 6rem) clamp(4rem, 3rem + 6vw, 8rem); }
.hero h1 { font-size: var(--fs-hero); color: #fff; max-width: 15ch; margin-bottom: 1.5rem; line-height: 1.02; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #9fe0d8, #f7b1aa); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: rgba(255, 255, 255, .86); margin-bottom: 2.25rem; max-width: 52ch; }
.hero-badge { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .9rem .45rem .5rem; margin-bottom: 1.75rem; border-radius: var(--r-full); background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: var(--fs-xs); font-weight: 500; }
.hero-badge span { display: inline-grid; place-items: center; padding: .25rem .6rem; border-radius: var(--r-full); background: var(--accent); font-weight: 700; letter-spacing: .02em; }
.hero-controls { position: absolute; right: var(--gutter); bottom: clamp(1.5rem, 1rem + 2vw, 3rem); display: flex; align-items: center; gap: .75rem; z-index: 2; }
.hero-dots { display: flex; gap: .4rem; }
.hero-dot { width: 34px; height: 4px; border: 0; padding: 0; border-radius: 4px; background: rgba(255,255,255,.3); cursor: pointer; overflow: hidden; position: relative; }
.hero-dot::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active::after { animation: dotfill var(--kb-duration, 7s) linear forwards; }
.hero.is-paused .hero-dot.is-active::after { animation-play-state: paused; }
.hero.is-paused .hero-slide.is-active img { animation-play-state: paused; }
@keyframes dotfill { to { transform: scaleX(1); } }
.hero-pause { width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgba(255,255,255,.16); color: #fff; backdrop-filter: blur(8px); }
.hero-pause .i-play { display: none; } .hero.is-paused .hero-pause .i-play { display: block; } .hero.is-paused .hero-pause .i-pause { display: none; }
.hero-caption { position: absolute; left: var(--gutter); bottom: clamp(1.5rem, 1rem + 2vw, 3rem); font-size: var(--fs-xs); color: rgba(255,255,255,.7); display: none; }
.scroll-cue { position: absolute; left: 50%; bottom: 1.5rem; width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 2px rgba(255,255,255,.55); transform: translateX(-50%); display: none; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease-out) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (min-width: 900px) { .scroll-cue { display: block; } }

/* Seiten-Hero (Unterseiten) */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(3.5rem, 2.5rem + 5vw, 7.5rem) clamp(3rem, 2rem + 4vw, 6rem); background: var(--bg-soft); }
.page-hero.has-image { color: #fff; background: var(--teal-900); min-height: clamp(380px, 52vh, 560px); display: grid; align-items: end; }
.page-hero-media { position: absolute; inset: -12% 0; z-index: -2; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-out both; }
.page-hero.has-image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 30, 32, .35), rgba(14, 30, 32, .82)); }
.page-hero.has-image h1, .page-hero.has-image .lead { color: #fff; }
.page-hero.has-image .lead { color: rgba(255,255,255,.85); }
.page-hero h1 { margin-bottom: .5em; max-width: 22ch; }
.page-hero .lead { margin: 0; }
.page-hero-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--primary); color: #fff; margin-bottom: 1.5rem; box-shadow: var(--shadow-md); }
.page-hero.has-image .page-hero-icon { background: rgba(255,255,255,.16); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.page-hero-icon .icon { width: 28px; height: 28px; }
.page-hero .blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .55; }
.page-hero .blob-1 { width: 420px; height: 420px; background: var(--teal-200); right: -120px; top: -140px; }
.page-hero .blob-2 { width: 300px; height: 300px; background: var(--coral-100); right: 18%; bottom: -160px; }
[data-theme="dark"] .page-hero .blob { opacity: .18; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: var(--fs-xs); color: var(--text-faint); }
.breadcrumbs a { color: inherit; text-decoration: none; } .breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .icon { width: 14px; height: 14px; opacity: .6; }
.page-hero.has-image .breadcrumbs { color: rgba(255,255,255,.75); }
.page-hero.has-image .breadcrumbs a:hover { color: #fff; }

/* ---------- Karten ---------- */
.card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border-soft); border-radius: var(--r-lg); overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s; }
a.card, .card a.card-link { color: inherit; text-decoration: none; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.07); }
.card-body { padding: 1.5rem 1.5rem 1.75rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.card-title { font: 700 var(--fs-h4)/1.25 var(--font-display); letter-spacing: -.015em; margin: 0; }
.card-text { color: var(--text-soft); font-size: var(--fs-sm); margin: 0; }
.card-meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; font-size: var(--fs-xs); color: var(--text-faint); }
.card-meta .icon { width: 15px; height: 15px; }
.card-foot { margin-top: auto; padding-top: .75rem; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tag { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .7rem; border-radius: var(--r-full); background: var(--primary-soft); color: var(--primary); font-size: .75rem; font-weight: 600; letter-spacing: .01em; text-decoration: none; position: relative; z-index: 2; }
.tag-coral { background: var(--accent-soft); color: var(--accent-strong); }
.tag-violet { background: color-mix(in srgb, var(--violet-500) 15%, transparent); color: var(--violet-text); }
.tag-sky { background: color-mix(in srgb, var(--sky-500) 15%, transparent); color: var(--sky-text); }
.tag-amber { background: color-mix(in srgb, var(--amber-500) 18%, transparent); color: var(--amber-text); }
.tag-teal { background: var(--primary-soft); color: var(--primary); }
.tag-danger { background: #fde4e2; color: #a3261d; }
.card-media .tag { position: absolute; top: 1rem; left: 1rem; background: rgba(255,255,255,.92); color: var(--ink-800); backdrop-filter: blur(6px); }

/* Leistungs-Kacheln */
.service { padding: 2rem; gap: 1rem; }
.service .s-icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--primary-soft); color: var(--primary); transition: transform .6s var(--ease-spring), background .3s, color .3s; }
.service .s-icon .icon { width: 28px; height: 28px; }
.service:hover .s-icon { transform: rotate(-8deg) scale(1.08); background: var(--primary); color: #fff; }
.service h3 { font-size: 1.3rem; margin: .25rem 0 0; }
.service p { color: var(--text-soft); margin: 0; font-size: var(--fs-sm); }
.service .link-arrow { margin-top: auto; padding-top: .5rem; }
.service::before { content: ""; position: absolute; inset: auto -40% -60% auto; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--primary) 18%, transparent), transparent 70%); opacity: 0; transition: opacity .5s; pointer-events: none; }
.service:hover::before { opacity: 1; }

/* Bento-Grid Startseite */
.bento { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .bento { grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(240px, auto); } .bento .b-wide { grid-column: span 2; } .bento .b-tall { grid-row: span 2; } }
.bento-img { position: relative; color: #fff; min-height: 300px; justify-content: flex-end; }
.bento-img .card-media { position: absolute; inset: 0; aspect-ratio: auto; }
.bento-img .card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(10, 25, 27, .85)); }
.bento-img .card-body { position: relative; z-index: 1; flex: 0; }
.bento-img .card-text { color: rgba(255,255,255,.85); }
.bento-img h3 { color: #fff; }
.bento-img .link-arrow { color: #fff; }

/* Zähler / Statistiken */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--border-soft); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border-soft); }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: var(--surface); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.stat-num { font: 800 clamp(2.4rem, 1.6rem + 3vw, 4rem)/1 var(--font-display); letter-spacing: -.04em; color: var(--primary); display: block; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--text-soft); font-size: var(--fs-sm); margin-top: .5rem; display: block; }

/* Parallax-Banner */
.parallax-band { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding-block: clamp(6rem, 4rem + 10vw, 12rem); background: var(--teal-900); }
.parallax-band .pb-media { position: absolute; inset: -25% 0; z-index: -2; will-change: transform; }
.parallax-band .pb-media img { width: 100%; height: 100%; object-fit: cover; }
.parallax-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(23, 57, 58, .92) 10%, rgba(23, 57, 58, .45) 70%, rgba(221, 95, 86, .35)); }
.parallax-band h2 { color: #fff; max-width: 18ch; }
.parallax-band p { color: rgba(255,255,255,.86); }
.quote { font: 600 clamp(1.5rem, 1.1rem + 1.8vw, 2.6rem)/1.25 var(--font-display); letter-spacing: -.025em; max-width: 28ch; }
.quote .icon { width: 44px; height: 44px; color: var(--coral-300); margin-bottom: 1.25rem; }

/* Bildkomposition mit Parallax-Ebenen */
.layered { position: relative; aspect-ratio: 5 / 5.2; }
.layered .l-main { position: absolute; inset: 0 14% 12% 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.layered .l-sub { position: absolute; width: 48%; right: 0; bottom: 0; aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; border: 6px solid var(--bg); box-shadow: var(--shadow-lg); }
.layered img { width: 100%; height: 100%; object-fit: cover; }
.layered .l-badge { position: absolute; left: -1rem; bottom: 18%; padding: 1rem 1.25rem; border-radius: var(--r-md); background: var(--surface); box-shadow: var(--shadow-lg); display: flex; gap: .85rem; align-items: center; max-width: 260px; }
.layered .l-badge .s-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--accent); color: #fff; flex: none; }
.layered .l-badge strong { display: block; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.2; }
.layered .l-badge small { color: var(--text-soft); }
.dots-deco { position: absolute; width: 140px; height: 140px; background-image: radial-gradient(var(--teal-300) 2px, transparent 2px); background-size: 16px 16px; z-index: -1; opacity: .7; }

/* ---------- Termine ---------- */
.event-row { display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: center; padding: 1.25rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border-soft); text-decoration: none; color: inherit; position: relative; transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s; }
.event-row:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: transparent; color: inherit; }
@media (min-width: 720px) { .event-row { grid-template-columns: auto 1fr auto; } }
.date-badge { display: grid; place-items: center; align-content: center; width: 72px; height: 76px; border-radius: 18px; background: var(--primary-soft); color: var(--primary); line-height: 1; text-align: center; flex: none; }
.date-badge .d { font: 800 1.75rem/1 var(--font-display); letter-spacing: -.03em; }
.date-badge .m { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin-top: .3rem; }
.date-badge .w { font-size: .68rem; margin-bottom: .2rem; }
.date-badge.coral { background: var(--accent-soft); color: var(--accent-strong); }
.date-badge.violet { background: color-mix(in srgb, var(--violet-500) 14%, transparent); color: var(--violet-text); }
.date-badge.sky { background: color-mix(in srgb, var(--sky-500) 14%, transparent); color: var(--sky-text); }
.date-badge.amber { background: color-mix(in srgb, var(--amber-500) 16%, transparent); color: var(--amber-text); }
.event-row h3 { font-size: 1.15rem; margin: 0 0 .35rem; }
.event-row .card-meta { gap: .35rem 1rem; }
.event-row .er-go { display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; background: var(--surface-2); color: var(--primary); transition: background .3s, color .3s, transform .4s var(--ease-out); }
.event-row:hover .er-go { background: var(--primary); color: #fff; transform: rotate(-45deg); }
@media (min-width: 720px) { .event-row .er-go { display: grid; } }
.event-row.is-cancelled { opacity: .7; }
.event-row.is-cancelled h3 { text-decoration: line-through; text-decoration-color: var(--accent); }
.event-list { display: grid; gap: .75rem; }
.month-label { font: 700 var(--fs-xs)/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); margin: 2rem 0 .5rem; padding-left: .25rem; }
.month-label:first-child { margin-top: 0; }

.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: 2rem; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1rem; border-radius: var(--r-full); border: 1px solid var(--border); background: var(--surface); color: var(--text-soft); font-size: var(--fs-xs); font-weight: 600; text-decoration: none; transition: all .2s; }
.chip:hover { border-color: var(--primary); color: var(--primary); }
.chip.is-active { background: var(--ink-800); color: #fff; border-color: var(--ink-800); }
[data-theme="dark"] .chip.is-active { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.segmented { display: inline-flex; padding: 4px; border-radius: var(--r-full); background: var(--surface-2); border: 1px solid var(--border-soft); }
.segmented a { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem 1rem; border-radius: var(--r-full); font-size: var(--fs-xs); font-weight: 600; color: var(--text-soft); text-decoration: none; }
.segmented a.is-active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }

.cal { border: 1px solid var(--border-soft); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.cal-head { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border-soft); }
.cal-head h2 { font-size: 1.4rem; margin: 0; }
.cal-nav { display: flex; gap: .4rem; }
.cal-nav a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); color: var(--text); }
.cal-nav a:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-dow { padding: .6rem; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); text-align: center; border-bottom: 1px solid var(--border-soft); }
.cal-day { min-height: 118px; padding: .45rem; border-right: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); display: flex; flex-direction: column; gap: 3px; }
.cal-day:nth-child(7n) { border-right: 0; }
.cal-day.is-other { background: var(--surface-2); }
.cal-day.is-other .cal-num { opacity: .4; }
.cal-num { font-size: .8rem; font-weight: 600; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; }
.cal-day.is-today .cal-num { background: var(--accent); color: #fff; }
.cal-day .holiday { font-size: .64rem; color: var(--accent-strong); line-height: 1.2; }
.cal-ev { display: block; padding: 3px 6px; border-radius: 6px; font-size: .72rem; line-height: 1.3; text-decoration: none; background: var(--primary-soft); color: var(--primary-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-left: 3px solid var(--primary); }
.cal-ev.coral { background: var(--accent-soft); color: var(--accent-strong); border-color: var(--accent); }
.cal-ev.violet { background: color-mix(in srgb, var(--violet-500) 14%, transparent); color: var(--violet-text); border-color: var(--violet-500); }
.cal-ev.sky { background: color-mix(in srgb, var(--sky-500) 14%, transparent); color: var(--sky-text); border-color: var(--sky-500); }
.cal-ev.amber { background: color-mix(in srgb, var(--amber-500) 16%, transparent); color: var(--amber-text); border-color: var(--amber-500); }
.cal-ev.is-cancelled { text-decoration: line-through; opacity: .6; }
@media (max-width: 760px) {
  .cal-day { min-height: 64px; padding: .25rem; }
  .cal-ev { font-size: 0; padding: 0; width: 8px; height: 8px; border-radius: 50%; border: 0; background: var(--primary); display: inline-block; }
  .cal-ev.coral { background: var(--accent); } .cal-ev.violet { background: var(--violet-500); } .cal-ev.sky { background: var(--sky-500); } .cal-ev.amber { background: var(--amber-500); }
  .cal-day .holiday { display: none; }
}

.series-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border-soft); text-decoration: none; color: inherit; transition: box-shadow .3s, transform .4s var(--ease-out); }
.series-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); color: inherit; }
.series-card .s-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--primary-soft); color: var(--primary); flex: none; }
.series-card h3 { font-size: 1.05rem; margin: 0 0 .25rem; }
.series-card p { font-size: var(--fs-xs); color: var(--text-soft); margin: 0; }

/* Info-Kästen / Kontakt-Karten */
.info-card { padding: 1.75rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--border-soft); }
.info-card h3 { font-size: 1.15rem; display: flex; gap: .6rem; align-items: center; }
.info-card h3 .icon { color: var(--primary); }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.info-list li { display: flex; gap: .75rem; align-items: flex-start; }
.info-list .icon { color: var(--primary); margin-top: .2em; width: 18px; height: 18px; }
.info-list a { color: var(--text); text-decoration: none; } .info-list a:hover { color: var(--primary); }
.person { display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border-soft); }
.person .avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--teal-400), var(--teal-700)); color: #fff; font: 700 1.05rem/1 var(--font-display); flex: none; }
.person h4 { font-size: 1.05rem; margin: 0 0 .15rem; font-family: var(--font-display); }
.person .role { color: var(--text-faint); font-size: var(--fs-xs); margin-bottom: .5rem; display: block; }
.person .info-list { gap: .35rem; font-size: var(--fs-sm); }
.hours { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.hours th, .hours td { text-align: left; padding: .7rem .25rem; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
.hours th { font-weight: 600; width: 38%; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.callout { display: flex; gap: 1rem; padding: 1.25rem 1.5rem; border-radius: var(--r-md); background: var(--bg-soft); border-left: 4px solid var(--primary); }
.callout .icon { color: var(--primary); margin-top: .15em; }
.callout-coral { background: var(--accent-soft); border-color: var(--accent); } .callout-coral .icon { color: var(--accent-strong); }
.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .65rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: .15em; border-radius: 50%; background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23336e6a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.check-list.cols { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }

/* ---------- Prosa (Beiträge, Rechtstexte) ---------- */
.prose { font-size: var(--fs-lg); line-height: 1.75; }
.prose > * { margin-block: 0 1.15em; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-top: 2em; }
.prose h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); margin-top: 1.8em; }
.prose h4 { margin-top: 1.5em; }
.prose img { border-radius: var(--r-md); margin-inline: auto; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-size: var(--fs-sm); color: var(--text-faint); margin-top: .75em; text-align: center; }
.prose blockquote { margin: 2em 0; padding: .25em 0 .25em 1.5em; border-left: 4px solid var(--accent); font: 500 1.25em/1.5 var(--font-display); color: var(--text); }
.prose ul li::marker { color: var(--primary); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.prose th, .prose td { border-bottom: 1px solid var(--border); padding: .6rem; text-align: left; }
.prose a { word-break: break-word; }
.prose .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: .75rem; margin: 2em 0; }
.prose .gallery img, .prose .gallery figure { margin: 0; border-radius: var(--r-sm); aspect-ratio: 1; object-fit: cover; width: 100%; height: 100%; cursor: zoom-in; }
.legal { font-size: var(--fs-base); }
.legal h2 { font-size: 1.5rem; margin-top: 2.25em; padding-top: 1em; border-top: 1px solid var(--border-soft); }
.legal h3 { font-size: 1.15rem; }
.legal .check { background: #fff4c2; color: #6b4e00; padding: .05em .4em; border-radius: 4px; font-weight: 600; font-size: .9em; }
[data-theme="dark"] .legal .check { background: #4a3c08; color: #ffe38a; }
.toc { position: sticky; top: calc(var(--header-h) + 1.5rem); font-size: var(--fs-sm); }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: .1rem; counter-reset: toc; }
.toc a { display: block; padding: .4rem .75rem; border-radius: var(--r-sm); color: var(--text-soft); text-decoration: none; border-left: 2px solid var(--border-soft); }
.toc a:hover, .toc a.is-active { color: var(--primary); border-color: var(--primary); background: var(--bg-soft); }
.with-aside { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .with-aside { grid-template-columns: minmax(0, 1fr) 300px; } .with-aside.aside-left { grid-template-columns: 260px minmax(0, 1fr); } }
.aside-stack { display: grid; gap: 1.25rem; align-content: start; }
@media (min-width: 1024px) { .aside-sticky { position: sticky; top: calc(var(--header-h) + 1.5rem); } }

/* Blog-Artikel */
.article-head { padding-block: clamp(3rem, 2rem + 4vw, 6rem) 2rem; }
.article-head h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.5rem); max-width: 24ch; }
.article-cover { width: min(100% - 2 * var(--gutter), 1200px); margin: 0 auto 3rem; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 8; box-shadow: var(--shadow-lg); background: var(--bg-soft); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-cover.is-portrait { aspect-ratio: auto; max-width: 720px; }
.article-cover.is-portrait img { height: auto; object-fit: contain; }
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transform-origin: left; z-index: 200; }
.share { display: flex; gap: .5rem; flex-wrap: wrap; }
.pagination { display: flex; justify-content: center; gap: .4rem; margin-top: 3.5rem; flex-wrap: wrap; }
.pagination a, .pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .9rem; border-radius: var(--r-full); border: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 600; font-size: var(--fs-sm); }
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .is-current { background: var(--primary); border-color: var(--primary); color: #fff; }
.pagination .gap { border: 0; }
.search-field { display: flex; align-items: center; gap: .5rem; padding: 0 .5rem 0 1rem; border: 1px solid var(--border); border-radius: var(--r-full); background: var(--surface); min-height: 48px; }
.search-field input { border: 0; background: none; outline: none; flex: 1; font: inherit; color: var(--text); min-width: 0; }
.search-field:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 1.25rem; }
.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 600; font-size: var(--fs-sm); }
.field .req { color: var(--accent-strong); }
.field .hint { font-size: var(--fs-xs); color: var(--text-faint); }
.input, .field input:not([type=checkbox]):not([type=radio]), .field select, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: var(--r-sm); border: 1.5px solid var(--border); background: var(--surface); color: var(--text);
  font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23556070' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 18px; padding-right: 2.75rem; }
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.field.has-error input, .field.has-error textarea { border-color: var(--accent); }
.field .error { color: var(--accent-strong); font-size: var(--fs-xs); font-weight: 600; display: flex; gap: .35rem; align-items: center; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.25rem; border-radius: var(--r-md); font-size: var(--fs-sm); }
.alert-success { background: #e3f5ec; color: #135c37; } .alert-error { background: var(--accent-soft); color: var(--coral-700); }
[data-theme="dark"] .alert-success { background: #12352a; color: #9fe3c0; }
.form-note { font-size: var(--fs-xs); color: var(--text-faint); }

/* ---------- Slider (Swiper) ---------- */
.slider-shell { position: relative; }
.slider-nav { display: flex; gap: .5rem; }
.slider-btn { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; transition: all .25s; }
.slider-btn:hover:not(:disabled) { background: var(--primary); border-color: var(--primary); color: #fff; }
.slider-btn:disabled, .slider-btn.swiper-button-disabled { opacity: .35; cursor: default; }
.swiper { overflow: visible !important; }
.slider-clip { overflow: hidden; padding: 1rem; margin: -1rem; }
.swiper-slide { height: auto !important; }
.swiper-slide > .card { height: 100%; }
.slider-progress { height: 3px; background: var(--border-soft); border-radius: 3px; margin-top: 2rem; position: relative; overflow: hidden; }
.slider-progress .swiper-pagination-progressbar-fill { background: var(--primary) !important; }
.swiper-pagination-progressbar { position: absolute !important; background: transparent !important; }

/* Partner-Marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 1rem; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { white-space: nowrap; padding: .75rem 1.25rem; border-radius: var(--r-full); background: var(--surface); border: 1px solid var(--border-soft); font-size: var(--fs-sm); font-weight: 500; color: var(--text-soft); display: inline-flex; align-items: center; gap: .5rem; }
.marquee-track span .icon { color: var(--primary); width: 16px; height: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(8, 14, 16, .94); display: grid; place-items: center; padding: 4rem 1rem; border: 0; width: 100%; height: 100%; max-width: none; max-height: none; color: #fff; }
.lightbox::backdrop { background: rgba(8, 14, 16, .94); }
.lightbox img { max-height: 84vh; width: auto; max-width: 100%; border-radius: var(--r-sm); object-fit: contain; animation: lb-in .45s var(--ease-out); }
@keyframes lb-in { from { opacity: 0; transform: scale(.94); } }
.lightbox button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lightbox .lb-close { top: 1rem; right: 1rem; } .lightbox .lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); } .lightbox .lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox .lb-count { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); font-size: var(--fs-xs); opacity: .7; }

/* ---------- CTA & Footer ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); padding: clamp(2.5rem, 2rem + 4vw, 5rem); background: linear-gradient(130deg, var(--teal-700), var(--teal-900)); color: #fff; }
.cta h2 { color: #fff; max-width: 20ch; }
.cta p { color: rgba(255,255,255,.82); max-width: 54ch; }
.cta .orb { position: absolute; border-radius: 50%; z-index: -1; filter: blur(2px); }
.cta .orb-1 { width: 420px; height: 420px; right: -120px; top: -160px; background: radial-gradient(circle at 30% 30%, rgba(240, 122, 113, .65), transparent 65%); }
.cta .orb-2 { width: 360px; height: 360px; right: 20%; bottom: -220px; background: radial-gradient(circle, rgba(159, 224, 216, .35), transparent 65%); }

.site-footer { background: var(--ink-900); color: rgba(255,255,255,.72); padding-top: clamp(4rem, 3rem + 4vw, 6rem); margin-top: clamp(4rem, 3rem + 4vw, 7rem); font-size: var(--fs-sm); position: relative; }
[data-theme="dark"] .site-footer { background: #0a0f11; }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; } .site-footer a:hover { color: #fff; }
.site-footer h2 { font: 700 var(--fs-xs)/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 1.25rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; } }
.footer-brand img { height: 64px; width: auto; margin-bottom: 1.25rem; background: #fff; border-radius: 14px; padding: 6px 10px; }
.footer-brand p { max-width: 34ch; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.footer-links a { display: inline-flex; align-items: center; gap: .5rem; }
.footer-links .icon { width: 16px; height: 16px; color: var(--teal-300); }
.social { display: flex; gap: .6rem; margin-top: 1.5rem; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.08); transition: background .25s, transform .4s var(--ease-spring); }
.social a:hover { background: var(--accent); transform: translateY(-3px); }
.social .icon { width: 19px; height: 19px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-block: 1.75rem; margin-top: 3.5rem; border-top: 1px solid rgba(255,255,255,.1); font-size: var(--fs-xs); color: rgba(255,255,255,.5); }
.footer-bottom nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; width: 50px; height: 50px; border-radius: 50%; border: 0; display: grid; place-items: center; background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); cursor: pointer; opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .3s, transform .4s var(--ease-out); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--primary); color: #fff; }

/* ---------- Animationen (Reveal) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal="clip"] { transform: none; clip-path: inset(0 0 100% 0 round var(--r-xl)); transition: clip-path 1.3s var(--ease-out), opacity .4s; }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0 round var(--r-xl)); }
.split-line { display: inline-block; vertical-align: top; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.split-line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * .09s + var(--d, 0s)); }
.is-in .split-line > span, .split-line.is-in > span { transform: none; }
.magnetic { transition: transform .5s var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .split-line > span { transform: none; }
  .hero-slide.is-active img, .page-hero-media img { animation: none; }
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
}

/* Druck */
@media print {
  .topbar, .site-header, .site-footer, .to-top, .hero-controls, .mobile-nav, .share, .btn { display: none !important; }
  body { font-size: 11pt; color: #000; background: #fff; }
  .page-hero.has-image { color: #000; background: none; min-height: 0; }
  .page-hero-media, .page-hero::after { display: none; }
  .page-hero.has-image h1 { color: #000; }
  a { color: #000; }
}
.swiper-slide a[data-lightbox] img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.swiper-slide a[data-lightbox]:hover img { transform: scale(1.05); }
[data-reveal] > .card { flex: 1; }
.brand img { background: #fff; border-radius: 12px; padding: 3px 5px; }

/* pages agent: Prüf-Markierung außerhalb von .legal, Logo-Leiste, Akronym-Kacheln, Wochenplan */
.check { background: #fff4c2; color: #6b4e00; padding: .05em .4em; border-radius: 4px; font-weight: 600; font-size: .85em; }
.logo-strip { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; padding: 1.25rem 1.5rem; border-radius: var(--r-md); background: #fff; border: 1px solid var(--border-soft); }
.logo-strip img { height: auto; max-height: 64px; width: auto; max-width: 100%; }
.acronym { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.acronym div { padding: 1.25rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border-soft); }
.acronym b { display: block; font: 800 2.4rem/1 var(--font-display); color: var(--primary); letter-spacing: -.03em; margin-bottom: .5rem; }
.acronym span { font-size: var(--fs-sm); color: var(--text-soft); }
.week { display: grid; gap: .6rem; }
.week-day { display: grid; grid-template-columns: 5.5rem 1fr; gap: 1rem; align-items: center; padding: .9rem 1.1rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--border-soft); }
.week-day strong { font-family: var(--font-display); }
.week-day small { display: block; color: var(--text-soft); font-size: var(--fs-sm); }
.figure-link { display: block; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border-soft); background: #fff; }
.figure-link img { width: 100%; height: auto; }
.media-frame { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-soft); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.lightbox:not([open]) { display: none; }
/* Vergangene Termine: zurückgenommen, aber mit ausreichendem Kontrast (WCAG AA) */
.event-row.is-past { background: var(--surface-2); box-shadow: none; }
.event-row.is-past .date-badge { background: var(--border-soft); color: var(--text-soft); }
.event-row.is-past h3 { color: var(--text-soft); }
.logo-strip .muted, .logo-strip p { color: #556070; }

/* Termin-Ticker im Hero (nächste 5 Termine im Wechsel) */
.hero-ticker { position: relative; display: inline-grid; max-width: 100%; margin-bottom: 1.75rem; border-radius: var(--r-full); background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); overflow: hidden; }
.ht-item { grid-area: 1 / 1; display: flex; align-items: center; gap: .6rem; min-width: 0; padding: .45rem .95rem .45rem .5rem; color: #fff; text-decoration: none; font-size: var(--fs-xs); font-weight: 500;
  opacity: 0; visibility: hidden; transform: translateY(110%); transition: transform .7s var(--ease-out), opacity .5s, visibility 0s .7s; }
.ht-item.is-active { opacity: 1; visibility: visible; transform: none; transition: transform .7s var(--ease-out), opacity .5s .1s, visibility 0s; }
.ht-item.is-leaving { opacity: 0; visibility: visible; transform: translateY(-110%); transition: transform .7s var(--ease-out), opacity .4s, visibility 0s .7s; }
.ht-item:hover { color: #fff; }
.ht-item .icon { width: 16px; height: 16px; flex: none; transition: transform .3s var(--ease-out); }
.ht-item:hover .icon { transform: translateX(3px); }
.ht-date { flex: none; display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .6rem; border-radius: var(--r-full); background: var(--accent-btn); font-weight: 700; letter-spacing: .02em; }
.ht-wd { font-weight: 600; opacity: .9; }
.ht-text { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ht-label { opacity: .8; }
.ht-time { opacity: .75; }
.ht-progress { position: absolute; left: 1.1rem; right: 1.1rem; bottom: 3px; display: flex; gap: 3px; pointer-events: none; }
.ht-progress i { flex: 1; height: 2px; border-radius: 2px; background: rgba(255,255,255,.18); overflow: hidden; position: relative; }
.ht-progress i::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.85); transform: scaleX(0); transform-origin: left; }
.ht-progress i.is-done::after { transform: scaleX(1); }
.ht-progress i.is-active::after { animation: dotfill var(--ht-dur, 4.5s) linear forwards; }
.hero-ticker.is-paused .ht-progress i.is-active::after { animation-play-state: paused; }
@media (max-width: 520px) { .ht-wd, .ht-label { display: none; } }
@media (prefers-reduced-motion: reduce) { .ht-item, .ht-item.is-leaving { transform: none; } }
@media (prefers-reduced-motion: reduce) { .ht-progress { display: none; } }
.ht-item { width: max-content; max-width: 100%; justify-self: start; }
.hero-ticker { transition: width .6s var(--ease-out); }
