/* ==========================================================================
   Builder – Website-Styles (Frontend + Editor-Leinwand)
   Alle Regeln sind unter .site gekapselt; Responsive über Container-Queries,
   damit die Geräte-Vorschau im Editor exakt stimmt.
   ========================================================================== */

.site {
  --primary: #4f46e5;
  --dark: #0f172a;
  --radius: 14px;
  --font-head: system-ui, sans-serif;
  --font-body: system-ui, sans-serif;
  --text: #1e293b;
  --heading: var(--dark);
  --muted: #64748b;
  --light: #f5f7fb;
  --border: #e2e8f0;
  --primary-soft: color-mix(in srgb, var(--primary) 12%, transparent);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 16px rgba(15, 23, 42, .06);
  --shadow-lg: 0 20px 50px -12px rgba(15, 23, 42, .25);

  container: site / inline-size;
  font-family: var(--type-body-font, var(--font-body));
  font-size: calc(17px * var(--type-body-scale, 1));
  font-weight: var(--type-body-weight, 400);
  letter-spacing: var(--type-body-spacing, 0em);
  line-height: var(--type-body-leading, 1.65);
  color: var(--type-body-color, var(--text));
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.site *, .site *::before, .site *::after { box-sizing: border-box; }
.site img { max-width: 100%; height: auto; }
.site h1, .site h2, .site h3, .site h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .5em; color: var(--heading); font-weight: 700; letter-spacing: -.01em; }
.site p { margin: 0 0 1em; }
.site a { color: var(--primary); }
.site figure { margin: 0; }

/* ---------- Grundgerüst ---------- */
.bb-container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.w-narrow .bb-container { max-width: 800px; }
.w-wide .bb-container { max-width: 1400px; }
.w-full .bb-container { max-width: none; }
.bt-map.w-full .bb-container { padding: 0; }

.bb { position: relative; background: var(--sec-bg, transparent); color: var(--sec-fg, inherit); }
.bb.has-fg, .bb.on-dark { --heading: currentColor; --muted: currentColor; }
.bb.on-dark { color: var(--sec-fg, #fff); }
.bb.has-fg .bb-sub, .bb.on-dark .bb-sub { opacity: .85; }
.pad-0 { padding: 0; }
.pad-s { padding: calc(32px * var(--section-spacing, 1)) 0; }
.pad-m { padding: calc(88px * var(--section-spacing, 1)) 0; }
.pad-l { padding: calc(120px * var(--section-spacing, 1)) 0; }
.pad-xl { padding: calc(160px * var(--section-spacing, 1)) 0; }
.alt-bg-auto main > .bb:nth-of-type(even):not(.has-bg) { background: var(--section-alt-bg, var(--light)); }
.container-wide .bb.w-normal .bb-container { max-width: 1400px; }
.container-full .bb.w-normal .bb-container { max-width: none; }

.align-left { text-align: left; }
.align-center { text-align: center; }
.align-right { text-align: right; }

/* ---------- Überschriften ---------- */
.bb-head { max-width: 760px; margin: 0 auto 52px; }
.bb-head.align-left { margin-left: 0; }
.bb-head.align-right { margin-right: 0; }
.bt-heading .bb-head { margin-bottom: 0; max-width: 860px; }
.bb-kicker {
  display: inline-block; font-size: calc(.78rem * var(--type-kicker-scale, 1)); font-weight: var(--type-kicker-weight, 700);
  letter-spacing: var(--type-kicker-spacing, .14em); line-height: var(--type-kicker-leading, 1.4); text-transform: uppercase;
  font-family: var(--type-kicker-font, var(--font-head)); color: var(--type-kicker-color, var(--primary)); margin-bottom: 14px;
}
.has-fg .bb-kicker, .on-dark .bb-kicker { color: inherit; opacity: .8; }
.bb-title {
  font-size: calc(clamp(1.75rem, 1.1rem + 2.2cqi, 2.75rem) * var(--type-h2-scale, 1)); font-weight: var(--type-h2-weight, 700);
  letter-spacing: var(--type-h2-spacing, -.01em); line-height: var(--type-h2-leading, 1.2); font-family: var(--type-h2-font, var(--font-head)); color: var(--type-h2-color, var(--heading));
}
.bb-title.bb-h1 {
  font-size: calc(clamp(2.1rem, 1.2rem + 3.2cqi, 3.6rem) * var(--type-h1-scale, 1)); font-weight: var(--type-h1-weight, 800);
  letter-spacing: var(--type-h1-spacing, -.01em); line-height: var(--type-h1-leading, 1.15); font-family: var(--type-h1-font, var(--font-head)); color: var(--type-h1-color, var(--heading));
}
.bb-title.bb-h3 {
  font-size: calc(clamp(1.35rem, 1rem + 1cqi, 1.75rem) * var(--type-h3-scale, 1)); font-weight: var(--type-h3-weight, 700);
  letter-spacing: var(--type-h3-spacing, -.01em); line-height: var(--type-h3-leading, 1.4); font-family: var(--type-h3-font, var(--font-head)); color: var(--type-h3-color, var(--heading));
}
.bb-sub { font-size: calc(1.13rem * var(--type-body-scale, 1)); color: var(--muted); margin: 0; }

/* ---------- Buttons ---------- */
.site .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: var(--btn-pad-y, 14px) var(--btn-pad-x, 28px); border-radius: var(--button-radius, calc(var(--radius) * .75)); border: 2px solid transparent;
  font-family: var(--type-button-font, var(--font-body)); font-weight: var(--type-button-weight, 600); letter-spacing: var(--type-button-spacing, 0em);
  font-size: calc(1rem * var(--type-button-scale, 1)); line-height: var(--type-button-leading, 1.2); text-decoration: none; cursor: pointer;
  box-shadow: var(--btn-shadow, none);
  transition: transform var(--anim-hover-speed, .2s) ease, box-shadow var(--anim-hover-speed, .2s) ease, background var(--anim-hover-speed, .2s) ease, color var(--anim-hover-speed, .2s) ease, filter var(--anim-hover-speed, .2s) ease;
}
.site .btn:hover { transform: translateY(var(--btn-hover-lift, -2px)); filter: var(--btn-hover-filter, none); }
.site .btn-primary { background: var(--btn-primary-bg, var(--primary)); color: var(--btn-primary-fg, #fff); border-color: var(--btn-primary-border, transparent); box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--primary) 70%, transparent); }
.site .btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.site .btn-outline:hover { background: var(--primary); color: #fff; }
.site .btn-ghost { border-color: currentColor; color: inherit; background: rgba(255, 255, 255, .08); }
.site .btn-ghost:hover { background: rgba(255, 255, 255, .2); }
.site .btn-dark { background: var(--dark); color: #fff; }
.site .btn-light { background: #fff; color: var(--dark); }
.site .btn-light:hover { box-shadow: 0 12px 26px -10px rgba(0, 0, 0, .35); }
.bb-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.bb-btns:empty { display: none; }
.bb-btns.align-center, .align-center > .bb-btns { justify-content: center; }
.bb-btns.align-right { justify-content: flex-end; }
.bt-button .bb-btns { margin-top: 0; }
.bb-btns.size-s .btn { padding: 10px 20px; font-size: calc(.92rem * var(--type-button-scale, 1)); }
.bb-btns.size-l .btn { padding: 18px 38px; font-size: calc(1.1rem * var(--type-button-scale, 1)); }

/* ---------- Hero ---------- */
.bt-hero { display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.bt-hero.h-s { min-height: 380px; }
.bt-hero.h-m { min-height: 540px; }
.bt-hero.h-l { min-height: 700px; }
.bt-hero.h-full { min-height: 100vh; min-height: 100svh; }
.bb-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; }
.bb-hero-bg.is-gradient { background: radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--primary) 80%, #fff) 0, transparent 45%), linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%); }
.bb-hero-overlay { position: absolute; inset: 0; background: #070b18; z-index: -1; }
.bb-hero-content { position: relative; }
.bb-hero-content.align-center { text-align: center; }
.bb-hero-content.align-center .bb-hero-sub { margin-left: auto; margin-right: auto; }
.bb-hero-content.align-center .bb-btns { justify-content: center; }
.bt-hero .bb-hero-title {
  font-size: calc(clamp(2.3rem, 1rem + 4.6cqi, 4.6rem) * var(--type-h1-scale, 1)); font-weight: var(--type-h1-weight, 800);
  line-height: var(--type-h1-leading, 1.08); letter-spacing: var(--type-h1-spacing, -.025em); font-family: var(--type-h1-font, var(--font-head)); color: var(--type-h1-color, inherit);
  max-width: 920px; margin: 0 0 22px;
}
.bb-hero-content.align-center .bb-hero-title { margin-left: auto; margin-right: auto; }
.bb-hero-sub { font-size: calc(clamp(1.08rem, .95rem + .5cqi, 1.3rem) * var(--type-body-scale, 1)); max-width: 680px; opacity: .9; margin: 0; }

/* ---------- Text ---------- */
.bb-prose > *:last-child { margin-bottom: 0; }
.bb-prose h2, .bb-prose h3 { margin-top: 1.2em; }
.bb-prose ul, .bb-prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.bb-prose li { margin: .35em 0; }
.bb-prose li::marker { color: var(--primary); }
.bb-prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--primary); font-style: italic; }
.bb-prose.cols-2 { columns: 2; column-gap: 56px; }
.has-fg .bb-prose a, .on-dark .bb-prose a { color: inherit; }

/* ---------- Text & Bild ---------- */
.bb-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.bb-split.img-left .bb-split-media { order: -1; }
.bb-split .bb-prose { font-size: 1.05rem; color: var(--muted); }
.bb-split .bb-title { margin-bottom: 18px; }
.bb-media { display: block; width: 100%; border-radius: var(--radius); }
.bb-split-media .bb-media { box-shadow: var(--shadow-lg); }

/* ---------- Bild ---------- */
.bb-figure { margin: 0 auto; }
.bb-figure.size-s { max-width: 420px; }
.bb-figure.size-m { max-width: 720px; }
.bb-figure.size-l { max-width: 1000px; }
.bb-figure .bb-media:not(.rounded) { border-radius: 0; }
.bb-media.shadow { box-shadow: var(--shadow-lg); }
.bb-figure figcaption, .bb-gallery-item figcaption { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 12px; }

.bb-img-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; aspect-ratio: 4 / 3; width: 100%; background: var(--light); border: 2px dashed var(--border); border-radius: var(--radius); color: var(--muted); font-size: .92rem; cursor: pointer; }
.bb-img-ph:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- Grid ---------- */
.bb-grid { display: grid; gap: calc(28px * var(--grid-gap, 1)); }
.bb-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bb-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bb-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Features ---------- */
.bb-feature h3 { font-size: 1.2rem; margin: 0 0 8px; }
.bb-feature p { margin: 0; color: var(--muted); }
.bb-feature-icon { width: 54px; height: 54px; border-radius: var(--feature-icon-radius, calc(var(--radius) * .9)); display: flex; align-items: center; justify-content: center; background: var(--primary-soft); color: var(--primary); margin-bottom: 22px; }
.feat-icon-circle .bb-feature-icon { border-radius: 50%; }
.feat-icon-square .bb-feature-icon { border-radius: 6px; }
.feat-icon-none .bb-feature-icon { background: transparent; width: auto; height: auto; }
.feat-icon-outline .bb-feature-icon { background: transparent; border: 2px solid var(--primary); }
.has-fg .bb-feature-icon, .on-dark .bb-feature-icon { background: rgba(255, 255, 255, .12); color: inherit; }
.v-cards .bb-feature {
  --heading: var(--dark); --muted: #64748b; background: var(--card-bg, #fff); color: var(--text);
  border: var(--card-border-width, 1px) solid var(--card-border, var(--border)); border-radius: var(--radius);
  padding: calc(34px * var(--card-padding, 1)) calc(30px * var(--card-padding, 1)); box-shadow: var(--card-shadow, none);
  transition: transform var(--anim-hover-speed, .25s) ease, box-shadow var(--anim-hover-speed, .25s) ease;
}
.v-cards .bb-feature .bb-feature-icon { background: var(--primary-soft); color: var(--primary); }
.v-cards .bb-feature:hover { transform: translateY(var(--card-lift, -4px)); box-shadow: var(--shadow-lg); }
.v-center .bb-feature { text-align: center; }
.v-center .bb-feature-icon { margin-left: auto; margin-right: auto; }

/* ---------- Zahlen ---------- */
.bb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 32px; text-align: center; }
.bb-stat-num { font-family: var(--font-head); font-size: clamp(2.2rem, 1.4rem + 2cqi, 3.2rem); font-weight: 800; line-height: 1.1; color: var(--primary); letter-spacing: -.02em; }
.has-fg .bb-stat-num, .on-dark .bb-stat-num { color: inherit; }
.bb-stat-label { color: var(--muted); margin-top: 6px; font-weight: 500; }

/* ---------- Galerie ---------- */
.bb-gallery { gap: 16px; }
.bb-gallery-img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); transition: transform .3s ease, filter .3s ease; }
.bb-gallery a { display: block; overflow: hidden; border-radius: var(--radius); }
.bb-gallery a:hover .bb-gallery-img { transform: scale(1.04); filter: brightness(1.05); }

/* ---------- Kundenstimmen ---------- */
.bb-testimonial { --heading: var(--dark); --muted: #64748b; background: #fff; color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.bb-stars { color: #f59e0b; display: flex; gap: 2px; margin-bottom: 16px; }
.bb-stars svg { fill: currentColor; }
.bb-testimonial blockquote { margin: 0 0 24px; font-size: calc(1.05rem * var(--type-quote-scale, 1)); flex: 1; }
.bb-person { display: flex; align-items: center; gap: 12px; }
.bb-person strong { display: block; color: var(--heading); }
.bb-person span { display: block; color: var(--muted); font-size: .9rem; }
.bb-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.bb-initials { display: flex !important; align-items: center; justify-content: center; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-family: var(--font-head); }

/* ---------- Team ---------- */
.bb-member { text-align: center; }
.bb-member-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); display: block; }
.bb-member-img.bb-initials { font-size: 2.6rem; background: linear-gradient(135deg, var(--primary-soft), color-mix(in srgb, var(--primary) 25%, transparent)); }
.bb-member h3 { font-size: 1.15rem; margin: 18px 0 2px; }
.bb-member p { color: var(--muted); margin: 0; }

/* ---------- Preise ---------- */
.bb-pricing { align-items: stretch; }
.bb-plan { --heading: var(--dark); --muted: #64748b; position: relative; display: flex; flex-direction: column; background: #fff; color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); padding: 38px 30px; text-align: left; }
.bb-plan.is-highlight { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); }
.bb-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--primary); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 99px; white-space: nowrap; }
.bb-plan h3 { font-size: 1.2rem; margin: 0 0 10px; }
.bb-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.bb-price-num { font-family: var(--font-head); font-size: 2.7rem; font-weight: 800; color: var(--heading); letter-spacing: -.02em; }
.bb-price-per { color: var(--muted); }
.bb-plan ul { list-style: none; padding: 0; margin: 24px 0 30px; flex: 1; }
.bb-plan li { display: flex; gap: 10px; margin: 10px 0; align-items: flex-start; }
.bb-plan li svg { color: var(--primary); flex-shrink: 0; margin-top: 5px; }
.bb-plan .btn { width: 100%; }

/* ---------- FAQ ---------- */
.bb-faq { display: flex; flex-direction: column; gap: 12px; }
.bb-faq-item { --heading: var(--dark); --muted: #64748b; background: #fff; color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); padding: 0 24px; }
.bb-faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-weight: 600; font-size: 1.06rem; cursor: pointer; list-style: none; color: var(--heading); }
.bb-faq-q::-webkit-details-marker { display: none; }
.bb-faq-q svg { flex-shrink: 0; color: var(--primary); transition: transform .25s ease; }
details[open] > .bb-faq-q svg, .bb-faq-item.is-open .bb-faq-q svg { transform: rotate(45deg); }
.bb-faq-a { color: var(--muted); padding-bottom: 20px; }
.bb-faq-a p { margin: 0; }

/* ---------- CTA ---------- */
.bb-cta { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.bb-cta .bb-title { margin: 0 0 8px; }
.bb-cta p { margin: 0; font-size: 1.12rem; opacity: .9; }
.bb-cta .bb-btns { margin: 0; flex-shrink: 0; }

/* ---------- Kontakt ---------- */
.bb-contact { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: start; }
.bb-contact.no-form { grid-template-columns: 1fr; max-width: 640px; }
.bb-contact .bb-sub { margin-bottom: 28px; }
.bb-contact-list { list-style: none; padding: 0; margin: 0; }
.bb-contact-list li { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; }
.bb-contact-list a { color: inherit; text-decoration: none; }
.bb-contact-list a:hover { color: var(--primary); }
.bb-ci { width: 46px; height: 46px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bb-form { background: #fff; color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); position: relative; }
.bb-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 18px; }
.bb-form input, .bb-form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 13px 15px; font: inherit; font-weight: 400; font-size: 1rem; color: var(--text);
  background: var(--form-bg, #fff); border: 1px solid var(--form-border, var(--border)); border-radius: var(--form-radius, calc(var(--radius) * .6));
  transition: border-color .2s, box-shadow .2s;
}
.form-underline .bb-form input, .form-underline .bb-form textarea { background: transparent; border: 0; border-bottom: 2px solid var(--form-border, var(--border)); border-radius: 0; padding-left: 2px; padding-right: 2px; }
.form-filled .bb-form input, .form-filled .bb-form textarea { background: var(--light); border-color: transparent; }
.bb-form input:focus, .bb-form textarea:focus { outline: none; border-color: var(--form-focus, var(--primary)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--form-focus, var(--primary)) 16%, transparent); }
.form-underline .bb-form input:focus, .form-underline .bb-form textarea:focus { box-shadow: none; }
.bb-form textarea { resize: vertical; min-height: 130px; }
.bb-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bb-form .btn { width: 100%; }
.bb-hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Video / Karte ---------- */
.bb-ratio { position: relative; aspect-ratio: 16 / 9; border-radius: var(--image-radius, var(--radius)); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); }
.bb-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.bb-ratio-ph { aspect-ratio: 16 / 9; }
.bb-mapframe { width: 100%; overflow: hidden; }
.bb-mapframe iframe { width: 100%; height: 100%; border: 0; display: block; }
.w-normal .bb-mapframe, .w-narrow .bb-mapframe, .w-wide .bb-mapframe { border-radius: var(--radius); }

/* ---------- Abstand / Linie ---------- */
.bb-divider { border: 0; border-top: 1px solid var(--border); margin: 0 auto; }
.bb-divider.v-dashed { border-top: 2px dashed var(--border); }
.bb-divider.v-dots { border-top: 4px dotted color-mix(in srgb, var(--primary) 50%, var(--border)); }
.has-fg .bb-divider, .on-dark .bb-divider { border-color: currentColor; opacity: .3; }

/* ---------- Animation ---------- */
.reveal-on .bb:not(.anim-none) > .bb-container, .reveal-on .bb:not(.anim-none) .bb-hero-content { opacity: 0; transform: var(--anim-default-transform, translateY(26px)); transition: opacity var(--anim-reveal-speed, .8s) ease, transform var(--anim-reveal-speed, .8s) cubic-bezier(.2, .7, .2, 1); transition-delay: var(--anim-stagger-delay, 0ms); }
.reveal-on .anim-fade > .bb-container { transform: none; }
.reveal-on .anim-left > .bb-container { transform: translateX(-56px); }
.reveal-on .anim-right > .bb-container { transform: translateX(56px); }
.reveal-on .anim-zoom > .bb-container { transform: scale(.92); }
.reveal-on .bb.is-visible > .bb-container, .reveal-on .bb.is-visible .bb-hero-content { opacity: 1; transform: none; }
.anim-left, .anim-right { overflow-x: clip; }
.reveal-on .bt-progress:not(.is-visible) .bb-bar i { width: 0 !important; }
@media (prefers-reduced-motion: reduce) {
  .reveal-on .bb > .bb-container, .reveal-on .bb-hero-content { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ---------- Responsive (Container-Queries) ---------- */
@container site (max-width: 980px) {
  .bb-grid.cols-3, .bb-grid.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bb-split { gap: 48px; }
  .bb-contact { gap: 40px; }
}
@container site (max-width: 860px) {
  .bb-split, .bb-contact { grid-template-columns: 1fr; }
  .bb-split .bb-split-media { order: -1; }
  .bb-cta { flex-direction: column; text-align: center; }
}
@container site (max-width: 640px) {
  .site { font-size: calc(16px * var(--type-body-scale, 1)); }
  .pad-m { padding: 60px 0; }
  .pad-l { padding: 76px 0; }
  .pad-xl { padding: 100px 0; }
  .bb-container { padding: 0 18px; }
  .bb-grid.cols-2, .bb-grid.cols-3, .bb-grid.cols-4 { grid-template-columns: 1fr; }
  .bb-gallery.cols-3, .bb-gallery.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bb-prose.cols-2 { columns: 1; }
  .bb-form-row { grid-template-columns: 1fr; }
  .bb-form { padding: 24px; }
  .bt-hero.h-l { min-height: 560px; }
  .bb-head { margin-bottom: 36px; }
  .bb-hero-content .bb-btns .btn { width: 100%; }
}

/* ==========================================================================
   Header – 6 Aufbauten × 5 Farbstile × 4 Menü-Stile (15 Modelle)
   ========================================================================== */
.site-header { --h-bg: rgba(255, 255, 255, .94); --h-fg: var(--text); --h-link: var(--text); --h-hover: var(--light); --h-line: var(--border); position: relative; z-index: 50; color: var(--h-fg); overflow-anchor: none; }
.site-header.is-sticky { position: sticky; top: 0; }
/* Header und Infoleiste unabhängig fixierbar (sonst wären beide über denselben, zu kurzen <header>-Block
   gemeinsam fixiert oder gar nicht – position:sticky "klebt" nur innerhalb der Höhe des Elternelements).
   Nur Header fix: der ganze <header>-Block bleibt sticky, aber mit negativem top in Höhe der Infoleiste –
   dadurch "verschwindet" nur die Infoleiste nach oben, die Hauptzeile bleibt bei 0 stehen (kein Seiteneffekt
   auf Kindelemente). Nur Infoleiste fix: <header> bekommt display:contents (kein eigener, zu kurzer Rahmen
   mehr), die Infoleiste bekommt ihr eigenes position:sticky; das mobile Menü (normalerweise absolut zum
   <header> positioniert) bekommt dafür position:fixed mit der gemessenen Infoleisten-Höhe als Abstand. */
.site-header.main-sticky { position: sticky; top: calc(-1 * var(--topbar-h, 0px)); }
.site-header.topbar-sticky { display: contents; }
.site-header.topbar-sticky .sh-topbar { position: sticky; top: 0; z-index: 51; }
.site-header.topbar-sticky .sh-mobile { position: fixed; top: var(--topbar-h, 40px); left: 0; right: 0; z-index: 49; }
/* Admin-Leiste (nur für angemeldete Benutzer): immer als eigenes, von Header/Infoleiste unabhängiges
   fixes Werkzeugband ganz oben im Viewport – unabhängig davon, ob Header und/oder Infoleiste sticky sind,
   damit sie beim Scrollen nie verschwindet. .site bekommt dafür oben Platz (padding-top), und alle
   sticky-Varianten von Header/Infoleiste rücken um die 36px Admin-Leiste nach unten. */
.sh-adminbar { position: fixed; top: 0; left: 0; right: 0; z-index: 9999; }
.site:has(.sh-adminbar) { padding-top: 36px; }
.site-header.is-sticky:has(.sh-adminbar) { top: 36px; }
.site-header.main-sticky:has(.sh-adminbar) { top: calc(36px - var(--topbar-h, 0px)); }
.site-header.topbar-sticky:has(.sh-adminbar) .sh-topbar { top: 36px; }
.site-header.topbar-sticky:has(.sh-adminbar) .sh-mobile { top: calc(36px + var(--topbar-h, 40px)); }
.sh-main { background: var(--h-bg); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); transition: background .3s, box-shadow .3s; }
.has-border .sh-main { border-bottom: 1px solid var(--h-line); }
/* Höhe wächst automatisch mit der Logogröße mit (min-height statt starrer Höhe), damit ein großes Logo
   nie über den Header hinausragt und immer sauber vertikal zentriert bleibt (align-items: center). */
.sh-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: max(76px, calc(var(--logo-max-h, 46px) + var(--logo-pad, 12px) * 2)); }
/* „Kompakt“ ist ein bewusstes Signal für einen niedrigen Header: das Logo wird hier zusätzlich auf eine
   vernünftige Höchstgröße begrenzt, statt die Kompakt-Wahl durch ein großes Logo zu überstimmen. */
.hh-s .sh-inner { min-height: max(62px, calc(min(var(--logo-max-h, 46px), 40px) + var(--logo-pad, 12px) * 2)); }
.hh-l .sh-inner { min-height: max(92px, calc(var(--logo-max-h, 46px) + var(--logo-pad, 12px) * 2)); }
.hw-wide .bb-container { max-width: 1400px; }
.hw-full .bb-container { max-width: none; padding: 0 32px; }

/* Farbstile */
.hs-dark { --h-bg: var(--dark); --h-fg: #fff; --h-link: rgba(255, 255, 255, .82); --h-hover: rgba(255, 255, 255, .08); --h-line: rgba(255, 255, 255, .1); }
.hs-primary { --h-bg: var(--primary); --h-fg: #fff; --h-link: rgba(255, 255, 255, .9); --h-hover: rgba(255, 255, 255, .14); --h-line: rgba(255, 255, 255, .18); }
.hs-gradient { --h-bg: linear-gradient(100deg, var(--dark), var(--primary)); --h-fg: #fff; --h-link: rgba(255, 255, 255, .88); --h-hover: rgba(255, 255, 255, .12); --h-line: rgba(255, 255, 255, .15); }
/* Transparent nur, wenn die Seite mit einem Hero beginnt – sonst automatisch hell */
.site:has(main > .bt-hero:first-child) .hs-transparent:not(.is-scrolled), .site:has(.ed-blocks > .ed-ins:first-child + .bt-hero) .hs-transparent:not(.is-scrolled) { --h-bg: transparent; --h-fg: #fff; --h-link: rgba(255, 255, 255, .9); --h-hover: rgba(255, 255, 255, .12); --h-line: rgba(255, 255, 255, .2); }
.site:has(main > .bt-hero:first-child) .hs-transparent .sh-main, .site:has(.ed-blocks > .ed-ins:first-child + .bt-hero) .hs-transparent .sh-main { -webkit-backdrop-filter: none; backdrop-filter: none; }
.site:has(main > .bt-hero:first-child) .site-header.hs-transparent, .site:has(.ed-blocks > .ed-ins:first-child + .bt-hero) .site-header.hs-transparent { margin-bottom: calc(-1 * var(--hdr-h, 77px)); }
.hs-transparent.has-topbar { --hdr-h: 113px; }
.hs-transparent.hh-s { --hdr-h: 63px; }
.hs-transparent.hh-l { --hdr-h: 93px; }
.hs-transparent.is-scrolled { --h-bg: rgba(255, 255, 255, .96); --h-fg: var(--text); --h-link: var(--text); --h-hover: var(--light); --h-line: var(--border); }
.hs-transparent.is-scrolled .sh-main { box-shadow: 0 6px 24px -12px rgba(15, 23, 42, .25); }

/* Logo */
.sh-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; flex-shrink: 0; }
.site .sh-logo { color: var(--h-fg, var(--heading)); }
.sh-logo img { max-height: var(--logo-max-h, 46px); width: auto; height: auto; display: block; transition: max-height .25s; }
.hh-s .sh-logo img { max-height: min(var(--logo-max-h, 46px), 40px); }
.sh-name-wrap { display: flex; flex-direction: column; line-height: 1.2; }
.sh-tagline { font-size: .58em; font-weight: 500; letter-spacing: .01em; opacity: .65; }
.sh-mark { width: 38px; height: 38px; border-radius: 11px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.hs-primary .sh-mark { background: #fff; color: var(--primary); }

/* Menü */
.sh-nav { display: flex; align-items: center; gap: 4px; }
.site .sh-nav a {
  padding: 9px 14px; border-radius: 9px; text-decoration: none; color: var(--type-nav-color, var(--h-link));
  font-family: var(--type-nav-font, var(--font-body)); font-weight: var(--type-nav-weight, 500); letter-spacing: var(--type-nav-spacing, 0em);
  font-size: calc(.97rem * var(--type-nav-scale, 1)); transition: background var(--anim-hover-speed, .2s), color var(--anim-hover-speed, .2s); position: relative;
}
.site .sh-nav a:hover { background: var(--h-hover); color: var(--h-fg); }
.hn-pill .sh-nav a.active { color: var(--primary); background: var(--primary-soft); }
.hs-dark.hn-pill .sh-nav a.active, .hs-primary.hn-pill .sh-nav a.active, .hs-gradient.hn-pill .sh-nav a.active, .site:has(main > .bt-hero:first-child) .hs-transparent:not(.is-scrolled).hn-pill .sh-nav a.active { color: #fff; background: rgba(255, 255, 255, .16); }
.hn-underline .sh-nav a:hover, .hn-plain .sh-nav a:hover, .hn-caps .sh-nav a:hover { background: transparent; }
.hn-underline .sh-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0); transition: transform .25s; }
.hn-underline .sh-nav a:hover::after, .hn-underline .sh-nav a.active::after { transform: scaleX(1); }
.hn-underline .sh-nav a.active { color: var(--primary); }
.hs-dark.hn-underline .sh-nav a.active, .hs-primary.hn-underline .sh-nav a.active, .hs-gradient.hn-underline .sh-nav a.active { color: #fff; }
.hn-plain .sh-nav a.active { color: var(--h-fg); font-weight: 700; }
.hn-caps .sh-nav a { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; }
.hn-caps .sh-nav a.active { color: var(--primary); }
.hs-dark.hn-caps .sh-nav a.active { color: #fff; }
/* Zusätzliche Navigations-Feinheiten (unabhängig vom Menü-Stil oben) */
.hn-upper .sh-nav a { text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.hnu-dot .sh-nav a::before { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0; transform: translateX(-50%) scale(.5); transition: opacity .2s, transform .2s; }
.hnu-dot .sh-nav a:hover::before, .hnu-dot .sh-nav a.active::before { opacity: .85; transform: translateX(-50%) scale(1); }
.hnu-line .sh-nav a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; background: currentColor; opacity: 0; transform: scaleX(.6); transition: opacity .2s, transform .2s; }
.hnu-line .sh-nav a:hover::after { opacity: .6; transform: scaleX(1); }
.hai-underline .sh-nav a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; background: var(--primary); border-radius: 2px; }
.hai-pill .sh-nav a.active { background: var(--primary-soft); color: var(--primary); border-radius: 999px; }
.has-shadow .sh-main { box-shadow: 0 6px 24px -14px rgba(15, 23, 42, .3); }
.has-blur .sh-main { -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%); background: color-mix(in srgb, var(--h-bg, #fff) 78%, transparent); }
.has-shrink .sh-inner { transition: height .25s; }
.has-shrink.is-scrolled .sh-inner { min-height: max(58px, calc(var(--logo-shrink-h, 32px) + var(--logo-pad, 12px) * 2)); }
.has-shrink.is-scrolled .sh-logo img { max-height: min(var(--logo-shrink-h, 32px), var(--logo-max-h, 46px)); }
.sh-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site .sh-cta { padding: 11px 22px; }
.hs-primary .sh-cta, .hs-gradient .sh-cta { background: #fff !important; color: var(--primary) !important; box-shadow: none; }
.site:has(main > .bt-hero:first-child) .hs-transparent:not(.is-scrolled) .sh-cta { background: #fff; color: var(--dark); box-shadow: none; }

/* Aufbau-Varianten */
.hl-centered .sh-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
.hl-centered .sh-actions { justify-self: end; }
.hl-stacked .sh-inner { flex-direction: column; justify-content: center; gap: 0; height: auto; padding-top: 16px; }
.hl-stacked .sh-row { display: flex; align-items: center; justify-content: center; width: 100%; position: relative; }
.hl-stacked .sh-row .sh-actions { position: absolute; right: 0; }
.hl-stacked .sh-nav-row { justify-content: center; width: 100%; padding: 12px 0 10px; margin-top: 14px; border-top: 1px solid var(--h-line); }
.hh-l.hl-stacked .sh-inner { padding-top: 26px; }
.hl-split .sh-inner { display: grid; grid-template-columns: 1fr auto 1fr; }
.hl-split .sh-nav-left { justify-content: flex-end; }
.hl-split .sh-nav-right { justify-content: flex-start; }
.hl-split .sh-actions { position: absolute; right: 24px; }
.hl-split .sh-actions .sh-cta { display: none; }
.hl-split .bb-container { position: relative; }
.hl-floating .sh-main { background: transparent; border: 0 !important; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 14px 0; }
.hl-floating .sh-inner { background: var(--h-bg); padding: 0 12px 0 22px; border-radius: calc(var(--radius) + 6px); box-shadow: 0 10px 30px -12px rgba(15, 23, 42, .28), 0 0 0 1px rgba(15, 23, 42, .05); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); }
.hl-floating.is-sticky { margin-bottom: -104px; }
.hl-floating.is-sticky + main > .bb:first-child:not(.bt-hero) { padding-top: 120px; }
.hl-minimal .sh-burger { display: flex !important; }

/* Infoleiste */
.sh-topbar { font-size: .84rem; background: var(--dark); color: rgba(255, 255, 255, .82); }
.sh-topbar.tb-primary { background: var(--primary); color: rgba(255, 255, 255, .92); }
.sh-topbar.tb-light { background: var(--light); color: var(--muted); border-bottom: 1px solid var(--border); }
.sh-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.sh-topbar.tb-align-center .sh-topbar-inner { justify-content: center; gap: 32px; }
.tb-side { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; }
.tb-side > * { display: inline-flex; align-items: center; gap: 7px; }
.sh-topbar.tb-divided .tb-side > * + * { padding-left: 18px; border-left: 1px solid currentColor; opacity: .9; }
.sh-topbar.tb-icons-outline svg { fill: none; stroke: currentColor; stroke-width: 1.6; }
.tb-btn { font-weight: 700; }
.site .sh-topbar a { color: inherit; text-decoration: none; }
.site .sh-topbar a:hover { color: #fff; }
.sh-topbar.tb-light a:hover { color: var(--primary); }
.site .tb-light a:hover { color: var(--primary); }
.tb-social { display: flex; gap: 12px; }
.tb-social svg { width: 15px; height: 15px; }

/* Menü-Knopf & mobiles Menü */
.sh-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--h-line); background: transparent; border-radius: 10px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; color: var(--h-fg); }
.sh-burger span { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-open .sh-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .sh-burger span:nth-child(2) { opacity: 0; }
.nav-open .sh-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.sh-mobile { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 2px; padding: 14px 20px 22px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 24px 40px -24px rgba(15, 23, 42, .35); }
.nav-open .sh-mobile { display: flex; animation: bbFade .2s ease; }
.hm-fullscreen .sh-mobile { position: fixed; top: 0; left: 0; right: 0; bottom: 0; padding: 90px 28px 32px; justify-content: flex-start; box-shadow: none; border-bottom: 0; overflow-y: auto; }
.hmbg-dark .sh-mobile { background: var(--dark); color: #fff; }
.hmbg-dark .sh-mobile a { color: #fff; }
.site .sh-mobile a { padding: 13px 14px; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 500; }
.site .sh-mobile a:hover, .site .sh-mobile a.active { background: var(--light); color: var(--primary); }
.sh-mobile-cta { margin-top: 10px; }
.site .sh-mobile .sh-cta { display: flex; color: #fff; background: var(--primary) !important; }
.hl-minimal .sh-mobile { padding: 26px 32px 32px; }
.site .hl-minimal .sh-mobile a { font-family: var(--font-head); font-size: 1.35rem; font-weight: 700; }

/* ==========================================================================
   Footer – 7 Aufbauten × 4 Farbstile (15 Modelle)
   ========================================================================== */
.site-footer {
  --f-bg: var(--dark); --f-fg: rgba(255, 255, 255, .7); --f-head: #fff; --f-line: rgba(255, 255, 255, .1); --f-soft: rgba(255, 255, 255, .08);
  background: var(--f-bg); color: var(--f-fg); padding-top: 72px; font-size: .97rem; position: relative;
}
.site-footer.has-top-border { border-top: 2px solid var(--f-line); }
.site-footer.has-bg-pattern::before { content: ""; position: absolute; inset: 0; opacity: .05; pointer-events: none; background-image: radial-gradient(currentColor 1.5px, transparent 1.5px); background-size: 18px 18px; }
.fs-light { --f-bg: var(--light); --f-fg: #475569; --f-head: var(--dark); --f-line: var(--border); --f-soft: #fff; border-top: 1px solid var(--border); }
.fs-primary { --f-bg: var(--primary); --f-fg: rgba(255, 255, 255, .85); --f-head: #fff; --f-line: rgba(255, 255, 255, .2); --f-soft: rgba(255, 255, 255, .14); }
.fs-gradient { --f-bg: linear-gradient(135deg, var(--dark), var(--primary)); --f-fg: rgba(255, 255, 255, .8); --f-head: #fff; --f-line: rgba(255, 255, 255, .15); --f-soft: rgba(255, 255, 255, .1); }
.site .site-footer .sh-logo { color: var(--f-head); }
.site-footer h3, .site-footer h4 { color: var(--f-head); }
.site-footer h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin: 8px 0 18px; }
.fh-upper .site-footer h4 { letter-spacing: .16em; }
.site-footer:not(.fh-upper) h4 { text-transform: none; letter-spacing: 0; font-size: .95rem; font-weight: 700; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0 0 10px; }
.site .site-footer a { color: inherit; text-decoration: none; transition: color .2s; }
.site .site-footer a:hover { color: var(--f-head); }
.flh-accent .site-footer a:hover { color: var(--primary); }
.flh-underline .sf-col a:hover, .flh-underline .sf-inline a:hover { text-decoration: underline; }
.fs-light .sh-mark { background: var(--primary); }
.fs-primary .sh-mark { background: #fff; color: var(--primary); }
.sf-text { margin: 16px 0 0; max-width: 380px; }
.sf-contact li { display: flex; gap: 10px; align-items: flex-start; }
.sf-contact svg { flex-shrink: 0; margin-top: 4px; opacity: .7; }
.sf-social { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.sf-social a { width: 40px; height: 40px; border-radius: 50%; background: var(--f-soft); display: flex; align-items: center; justify-content: center; }
.fsoc-square .sf-social a { border-radius: 8px; }
.fsoc-plain .sf-social a { width: auto; height: auto; background: transparent; }
.site .sf-social a:hover { background: var(--primary); color: #fff; }
.fsoc-plain .sf-social a:hover { background: transparent; color: var(--primary); }
.fs-primary .sf-social a:hover { background: #fff; color: var(--primary); }
.sf-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: var(--footer-gap, 56px); }
.sf-grid-3 { grid-template-columns: 1.4fr 1fr 1.2fr; }
.sf-grid-4 { grid-template-columns: 1.6fr 1fr 1.2fr 1.1fr; gap: calc(var(--footer-gap, 56px) * .8); }
.sf-bottom { border-top: 1px solid var(--f-line); margin-top: 60px; padding: 22px 0; font-size: calc(.88rem * var(--footer-copy-scale, 1)); }
.sf-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; }
.fb-center .sf-bottom-inner { justify-content: center; text-align: center; }
.sf-legal-links { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.site .sf-login { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--f-line); border-radius: 99px; }
.site .sf-login:hover { border-color: currentColor; }
/* zentriert */
.sf-center { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.sf-center .sf-text { max-width: 560px; }
.sf-inline { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-top: 26px; font-weight: 500; }
.sf-contact-inline { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; margin-top: 18px; }
.sf-contact-inline li { margin: 0; }
.sf-center .sf-social { justify-content: center; }
/* Leiste */
.fl-bar { padding-top: 30px; }
.sf-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; }
.sf-bar .sf-inline { margin: 0; }
.sf-bar .sf-social { margin: 0; }
.fl-bar .sf-bottom { margin-top: 26px; }
/* Handlungsaufruf */
.sf-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding: 38px 44px; margin-bottom: 64px; border-radius: calc(var(--radius) * 1.4); background: linear-gradient(120deg, var(--primary), color-mix(in srgb, var(--primary) 60%, #000)); color: #fff; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .5); }
.fs-primary .sf-cta { background: rgba(255, 255, 255, .12); box-shadow: none; }
.sf-cta h3 { color: #fff; font-size: clamp(1.4rem, 1rem + 1.4cqi, 2rem); margin: 0 0 6px; }
.sf-cta p { margin: 0; opacity: .9; }
/* Newsletter */
.sf-nl-top { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--f-line); }
.sf-nl-top h3 { font-size: 1.5rem; margin: 22px 0 4px; }
.sf-nl-top .sf-text { margin-top: 6px; }
.sf-nl-row { display: flex; gap: 8px; padding: 6px; background: #fff; border-radius: calc(var(--radius) * .9); }
.sf-nl-row input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 14px; font: inherit; color: var(--text); background: transparent; }
.sf-nl-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: .82rem; opacity: .85; cursor: pointer; }
.sf-nl-consent a { text-decoration: underline !important; }
/* Große Marke */
.sf-bigname { font-family: var(--font-head); font-weight: 800; letter-spacing: -.04em; line-height: .9; font-size: clamp(3rem, 1rem + 9cqi, 9.5rem); color: var(--f-head); opacity: .95; margin-bottom: 48px; word-break: break-word; }

/* ==========================================================================
   Rechtliche Seiten, Barrierefreiheit, Formular-Einwilligung
   ========================================================================== */
.legal-page { font-size: 1rem; line-height: 1.7; }
.legal-page h2 { font-size: 1.35rem; margin: 2em 0 .6em; }
.legal-page h2:first-child { margin-top: 0; }
.legal-page h3 { font-size: 1.08rem; margin: 1.6em 0 .4em; }
.legal-page p, .legal-page ul { margin: 0 0 1em; }
.legal-page ul { padding-left: 1.3em; }
.legal-page a { word-break: break-word; }
.legal-date { color: var(--muted); font-size: .9rem; margin-top: 2.5em !important; }
.bb-form-consent, .bb-nl-consent { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .86rem !important; color: var(--muted); }
.bb-form-consent input, .bb-nl-consent input { width: auto !important; margin: 3px 0 0 !important; accent-color: var(--primary); flex-shrink: 0; }
.bb-form-consent a, .bb-nl-consent a { color: var(--primary); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 10000; padding: 10px 16px; background: #0f172a; color: #fff; border-radius: 8px; font: 600 14px system-ui, sans-serif; }
.skip-link:focus { left: 8px; }
.site a:focus-visible, .site button:focus-visible, .site input:focus-visible, .site textarea:focus-visible { outline: 3px solid color-mix(in srgb, var(--primary) 60%, #fff); outline-offset: 2px; }

@container site (max-width: 980px) {
  .sf-grid, .sf-grid-3, .sf-grid-4 { grid-template-columns: 1fr 1fr; }
  .sf-brand { grid-column: 1 / -1; }
  .sf-nl-top { grid-template-columns: 1fr; }
}
@container site (max-width: 860px) {
  .sh-nav, .hl-centered .sh-nav, .hl-split .sh-nav, .hl-stacked .sh-nav-row { display: none; }
  .sh-burger { display: flex; }
  .sh-actions .sh-cta { display: none; }
  .hl-centered .sh-inner, .hl-split .sh-inner { display: flex; }
  .hl-split .sh-actions { position: static; }
  .hl-stacked .sh-inner { flex-direction: row; justify-content: space-between; min-height: max(70px, calc(var(--logo-max-h, 46px) + var(--logo-pad, 12px) * 2)); padding-top: 0; }
  .hl-stacked .sh-row { justify-content: space-between; }
  .hl-stacked .sh-row .sh-actions { position: static; }
  .sh-topbar .tb-social { display: none; }
  .hs-transparent.has-topbar { --hdr-h: 113px; }
}
@container site (max-width: 640px) {
  .sf-grid, .sf-grid-3, .sf-grid-4 { grid-template-columns: 1fr; gap: 34px; }
  .sf-bottom-inner { flex-direction: column; text-align: center; }
  .sf-legal-links { justify-content: center; }
  .sh-topbar { display: none; }
  .hs-transparent.has-topbar { --hdr-h: 77px; }
  .sf-cta { padding: 28px 24px; }
  .sf-nl-row { flex-direction: column; background: transparent; padding: 0; }
  .sf-nl-row input { background: #fff; height: 50px; border-radius: calc(var(--radius) * .7); }
  .hw-full .bb-container { padding: 0 18px; }
}

/* ==========================================================================
   Einwilligungs-Banner (außerhalb von .site)
   ========================================================================== */
.cc { position: fixed; z-index: 9990; font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: #1e293b; }
.cc[hidden], .cc [hidden] { display: none !important; }
.cc-box { background: #fff; border-radius: 16px; padding: 22px 24px; box-shadow: 0 24px 60px -12px rgba(15, 23, 42, .35), 0 0 0 1px rgba(15, 23, 42, .06); }
.cc-box h2 { font-size: 1.08rem; margin: 0 0 8px; color: #0f172a; }
.cc-box p { margin: 0 0 14px; font-size: .92rem; color: #475569; }
.cc-box { animation: ccIn .3s ease; }
@keyframes ccIn { from { opacity: 0; transform: translateY(14px); } }
.cc-box { max-height: calc(100vh - 32px); overflow: auto; }
.cc-box { overscroll-behavior: contain; }
.cc-box a, .cc-link { color: #4f46e5; }
.cc-box { --cc-btn: #0f172a; }
.cc-box .cc-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cc-btn { height: 44px; border-radius: 10px; border: 2px solid var(--cc-btn); background: var(--cc-btn); color: #fff; font: 600 14px system-ui, sans-serif; cursor: pointer; }
.cc-btn:hover { filter: brightness(1.2); }
.cc-foot { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; margin-top: 12px; font-size: .84rem; }
.cc-link { border: 0; background: none; padding: 0; font: inherit; cursor: pointer; text-decoration: underline; }
.cc-cats { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 8px; }
.cc-cat { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 12px; }
.cc-cat strong { display: block; font-size: .92rem; color: #0f172a; }
.cc-cat span { display: block; font-size: .82rem; color: #64748b; }
.cc-switch { position: relative; flex-shrink: 0; cursor: pointer; }
.cc-switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.cc-switch i { display: block; width: 42px; height: 24px; border-radius: 99px; background: #cbd5e1; position: relative; transition: background .2s; }
.cc-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.cc-switch input:checked + i { background: #4f46e5; }
.cc-switch input:checked + i::after { transform: translateX(18px); }
.cc-switch input:focus-visible + i { box-shadow: 0 0 0 3px rgba(79, 70, 229, .35); }
.cc-switch.is-locked { opacity: .55; cursor: not-allowed; }
.cc-box { box-sizing: border-box; }
.cc.cc-l-box { left: 16px; bottom: 16px; width: min(420px, calc(100vw - 32px)); }
.cc.cc-l-bar { left: 0; right: 0; bottom: 0; }
.cc.cc-l-bar .cc-box { border-radius: 16px 16px 0 0; max-width: none; display: grid; grid-template-columns: 1fr auto; gap: 4px 30px; padding: 20px 32px; }
.cc.cc-l-bar .cc-box > *:not(.cc-actions) { grid-column: 1; }
.cc.cc-l-bar .cc-actions { grid-column: 2; grid-row: 1 / span 3; align-self: center; min-width: 360px; }
.cc.cc-l-modal { inset: 0; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 23, 42, .5); }
.cc.cc-l-modal[hidden] { display: none; }
.cc.cc-l-modal .cc-box { width: min(520px, 100%); }
@media (max-width: 720px) {
  .cc.cc-l-bar .cc-box { display: block; padding: 18px; }
  .cc.cc-l-bar .cc-actions { min-width: 0; }
  .cc-box .cc-actions { grid-template-columns: 1fr; }
}
.bb-consent .cc-always { display: block; margin-top: 4px; border: 0; background: none; color: inherit; opacity: .8; text-decoration: underline; cursor: pointer; font: inherit; font-size: .85rem; }

/* ==========================================================================
   Erweiterte Blöcke & Design-Optionen
   ========================================================================== */

/* ---------- Hintergrundbild / Sichtbarkeit ---------- */
.bb.has-bgimg { isolation: isolate; }
.bb-bg { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; }
.bb-bg.is-fixed { background-attachment: fixed; }
.bb-bg span { position: absolute; inset: 0; background: #070b18; }
.bb-bg-video { overflow: hidden; }
.bb-bg-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@container site (min-width: 981px) { .bb.hide-d:not(.ed-blocks > .bb) { display: none; } }
@container site (min-width: 641px) and (max-width: 980px) { .bb.hide-t:not(.ed-blocks > .bb) { display: none; } }
@container site (max-width: 640px) { .bb.hide-m:not(.ed-blocks > .bb) { display: none; } }

.bb-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 99px; background: var(--primary-soft); color: var(--primary); font-weight: 700; font-size: .82rem; margin-bottom: 18px; }
.has-fg .bb-pill, .on-dark .bb-pill { background: rgba(255, 255, 255, .14); color: inherit; }

/* ---------- Hero mit Bild ---------- */
.bb-hs-title {
  font-size: calc(clamp(2.2rem, 1rem + 3.6cqi, 3.9rem) * var(--type-h1-scale, 1)); font-weight: var(--type-h1-weight, 800);
  line-height: var(--type-h1-leading, 1.08); letter-spacing: var(--type-h1-spacing, -.025em); font-family: var(--type-h1-font, var(--font-head)); color: var(--type-h1-color, var(--heading));
  margin: 0 0 20px;
}
.bb-hs-text { font-size: calc(1.15rem * var(--type-body-scale, 1)); color: var(--muted); margin: 0; max-width: 560px; }
.bb-hs-badges { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: .95rem; }
.bb-hs-badges li { display: flex; align-items: center; gap: 8px; }
.bb-hs-badges svg { color: var(--primary); }
.has-fg .bb-hs-badges svg, .on-dark .bb-hs-badges svg { color: inherit; }

/* ---------- Hinweisleiste ---------- */
.bb-banner { display: flex; align-items: center; justify-content: center; gap: 10px 14px; flex-wrap: wrap; padding: 14px 0; text-align: center; font-weight: 500; font-size: .97rem; }
.bb-banner-ico { display: flex; opacity: .9; }
.site .bb-banner-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 3px; transition: gap .2s; }
.site .bb-banner-link:hover { gap: 10px; }

/* ---------- Logo-Leiste ---------- */
.bb-logos-title { text-align: center; color: var(--muted); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; margin: 0 0 26px; }
.bb-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 60px; }
.bb-logo-img { max-height: 46px; max-width: 160px; width: auto; display: block; }
.bb-logo a { text-decoration: none; }
.bb-logo-text { font-family: var(--font-head); font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; color: var(--heading); }
.bb-logos.is-gray .bb-logo { filter: grayscale(1); opacity: .55; transition: filter .3s, opacity .3s; }
.bb-logos.is-gray .bb-logo:hover { filter: none; opacity: 1; }

/* ---------- Ablauf ---------- */
.bb-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; }
.bb-step { position: relative; }
.bb-step-num { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: var(--primary); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; margin-bottom: 22px; box-shadow: 0 0 0 8px var(--primary-soft); }
.bb-step:not(:last-child)::after { content: ""; position: absolute; top: 28px; left: 84px; right: -26px; height: 2px; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--primary) 45%, transparent) 0 8px, transparent 8px 14px); }
.bb-step h3 { font-size: 1.2rem; margin: 0 0 8px; }
.bb-step p { color: var(--muted); margin: 0; }

/* ---------- Zeitstrahl ---------- */
.bb-timeline { position: relative; max-width: 920px; margin: 0 auto; }
.bb-timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--border); transform: translateX(-50%); }
.bb-tl-item { position: relative; width: 50%; padding: 0 46px 34px 0; }
.bb-tl-item:nth-child(even) { margin-left: 50%; padding: 0 0 34px 46px; }
.bb-tl-item + .bb-tl-item { margin-top: -56px; }
.bb-tl-dot { position: absolute; top: 24px; right: -9px; width: 18px; height: 18px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px var(--primary-soft); z-index: 1; }
.bb-tl-item:nth-child(even) .bb-tl-dot { right: auto; left: -9px; }
.bb-tl-card { --heading: var(--dark); background: #fff; color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); }
.bb-tl-date { display: inline-block; font-weight: 800; color: var(--primary); font-family: var(--font-head); margin-bottom: 6px; }
.bb-tl-card h3 { font-size: 1.15rem; margin: 0 0 6px; }
.bb-tl-card p { margin: 0; color: #64748b; }

/* ---------- Registerkarten ---------- */
.bb-tabs-nav { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px; background: var(--light); border-radius: calc(var(--radius) + 4px); width: fit-content; max-width: 100%; margin: 0 auto 30px; }
.bb-tabs-nav.align-left { margin-left: 0; }
.has-fg .bb-tabs-nav, .on-dark .bb-tabs-nav { background: rgba(255, 255, 255, .1); }
.bb-tab-btn { border: 0; background: transparent; font: inherit; font-weight: 600; color: var(--muted); padding: 11px 22px; border-radius: var(--radius); cursor: pointer; transition: background .2s, color .2s, box-shadow .2s; }
.bb-tab-btn:hover { color: var(--heading); }
.bb-tab-btn.active { background: #fff; color: var(--primary); box-shadow: var(--shadow-sm); }
.bb-tab-panel { animation: bbFade .35s ease; }
.bb-tab-panel:not(.is-edit) { --heading: var(--dark); --muted: #64748b; background: #fff; color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 34px; box-shadow: var(--shadow-sm); }
.bb-tab-panel .bb-prose h3:first-child { margin-top: 0; }
.bb-tab-panel.is-edit { border: 1px dashed var(--border); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px; }
.bb-tab-tag { display: inline-block; font-size: .72rem; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }

/* ---------- Countdown ---------- */
.bb-countdown-wrap { text-align: center; }
.bb-countdown { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin: 30px 0 6px; }
.bb-cd { min-width: 112px; padding: 22px 12px 16px; border-radius: var(--radius); background: rgba(127, 127, 127, .12); border: 1px solid rgba(127, 127, 127, .2); }
.bb-cd span { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 1.4rem + 2.5cqi, 3.4rem); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.bb-cd small { display: block; margin-top: 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; opacity: .75; }
.bb-cd-done { font-family: var(--font-head); font-size: 2rem; font-weight: 800; }

/* ---------- Newsletter ---------- */
.bb-newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.bb-nl-text { display: flex; gap: 20px; align-items: flex-start; }
.bb-nl-text .bb-title { margin-bottom: 8px; }
.bb-nl-ico { width: 58px; height: 58px; border-radius: 16px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bb-nl-form { position: relative; }
.bb-nl-name { width: 100%; height: 46px; margin-bottom: 8px; padding: 0 16px; font: inherit; color: var(--text); background: #fff; border: 1px solid var(--border); border-radius: calc(var(--radius) * .9); box-shadow: var(--shadow-sm); }
.bb-nl-row { display: flex; gap: 8px; padding: 6px; background: #fff; border: 1px solid var(--border); border-radius: calc(var(--radius) * .9); box-shadow: var(--shadow-sm); }
.bb-nl-row input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; padding: 0 14px; color: var(--text); background: transparent; }
.bb-nl-row .btn { flex-shrink: 0; }
.bb-nl-consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: .85rem; opacity: .85; cursor: pointer; }
.bb-nl-consent input { margin-top: 3px; accent-color: var(--primary); }
.bb-nl-tags { border: 0; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bb-nl-tags legend { width: 100%; margin: 0 0 8px; padding: 0; font-size: .85rem; font-weight: 600; }
.bb-nl-tags label { display: flex; align-items: center; gap: 6px; padding: 6px 12px; background: #fff; border: 1px solid var(--border); border-radius: 999px; font-size: .85rem; cursor: pointer; }
.bb-nl-tags input { accent-color: var(--primary); }

/* ---------- Zitat ---------- */
.bb-quote { text-align: center; margin: 0; }
.bb-quote-mark { display: inline-flex; color: var(--primary); margin-bottom: 18px; }
.bb-quote-mark svg { fill: currentColor; stroke: none; }
.bb-quote blockquote {
  margin: 0 0 28px; font-family: var(--type-quote-font, var(--font-head)); font-size: calc(clamp(1.4rem, 1rem + 1.6cqi, 2.1rem) * var(--type-quote-scale, 1));
  line-height: var(--type-quote-leading, 1.35); font-weight: var(--type-quote-weight, 600); color: var(--type-quote-color, var(--heading)); letter-spacing: var(--type-quote-spacing, -.01em);
}
.bb-quote figcaption { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.bb-quote strong { display: block; color: var(--heading); }
.bb-quote figcaption span { display: block; color: var(--muted); font-size: .92rem; }
.has-fg .bb-quote-mark, .on-dark .bb-quote-mark { color: inherit; opacity: .5; }

/* ---------- Karten ---------- */
.bb-card { --heading: var(--dark); --muted: #64748b; display: flex; flex-direction: column; background: #fff; color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.bb-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bb-card-img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; border: 0; }
.bb-card-ph { display: flex; align-items: center; justify-content: center; color: color-mix(in srgb, var(--primary) 55%, #fff); background: linear-gradient(135deg, var(--primary-soft), color-mix(in srgb, var(--primary) 22%, #fff)); }
.bb-card-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.bb-card-tag { align-self: flex-start; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); background: var(--primary-soft); padding: 4px 10px; border-radius: 99px; margin-bottom: 12px; }
.bb-card h3 { font-size: 1.2rem; margin: 0 0 8px; }
.bb-card p { color: var(--muted); margin: 0 0 18px; flex: 1; }
.site .bb-card-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; transition: gap .2s; margin-top: auto; }
.site .bb-card-link:hover { gap: 10px; }

/* ---------- Checkliste ---------- */
.bb-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px 36px; }
.bb-checklist.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bb-checklist.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bb-checklist li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.bb-check-ico { width: 28px; height: 28px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* ---------- Fortschritt ---------- */
.bb-progress { display: flex; flex-direction: column; gap: 22px; }
.bb-pg-head { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; margin-bottom: 8px; }
.bb-pg-val { color: var(--primary); font-variant-numeric: tabular-nums; }
.has-fg .bb-pg-val, .on-dark .bb-pg-val { color: inherit; }
.bb-bar { height: 10px; border-radius: 99px; background: color-mix(in srgb, var(--primary) 12%, #e2e8f0); overflow: hidden; }
.bb-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), color-mix(in srgb, var(--primary) 60%, #fff)); transition: width 1.4s cubic-bezier(.2, .7, .2, 1) .2s; }

/* ---------- Tabelle ---------- */
.bb-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.bb-table { width: 100%; border-collapse: collapse; color: var(--text); font-size: .98rem; }
.bb-table th, .bb-table td { padding: 16px 20px; text-align: center; border-bottom: 1px solid var(--border); white-space: nowrap; }
.bb-table th[scope=row], .bb-table thead th:first-child { text-align: left; }
.bb-table thead th { font-family: var(--font-head); color: var(--dark); background: var(--light); }
.bb-table tbody tr:last-child > * { border-bottom: 0; }
.bb-table.is-striped tbody tr:nth-child(even) { background: #fafbfd; }
.bb-table th[scope=row] { font-weight: 600; color: var(--dark); }
.bb-table .is-hl { background: color-mix(in srgb, var(--primary) 8%, #fff); }
.bb-table thead .is-hl { background: var(--primary); color: #fff; }
.bb-yes { display: inline-flex; color: #16a34a; }
.bb-no { color: #cbd5e1; font-weight: 700; }

/* ---------- Vorher / Nachher ---------- */
.bb-ba { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); user-select: none; background: #e2e8f0; }
.bb-ba-img { position: absolute; inset: 0; width: 100%; height: 100% !important; max-width: none !important; object-fit: cover; display: block; }
.bb-ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.bb-ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 12px rgba(0, 0, 0, .3); }
.bb-ba-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; border-radius: 50%; background: #fff; color: var(--dark); display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.bb-ba-label { position: absolute; top: 16px; padding: 6px 12px; border-radius: 99px; background: rgba(15, 23, 42, .72); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .04em; pointer-events: none; }
.bb-ba-label.l { left: 16px; }
.bb-ba-label.r { right: 16px; }
.bb-ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }

/* ---------- Slider ---------- */
.bb-slider { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #0f172a; }
.bb-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.bb-slides::-webkit-scrollbar { display: none; }
.bb-slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; margin: 0; height: 480px; }
.bb-slider.h-s .bb-slide { height: 320px; }
.bb-slider.h-l .bb-slide { height: 640px; }
.bb-slide-img, .bb-slide .bb-img-ph { width: 100%; height: 100% !important; max-width: none; object-fit: cover; display: block; aspect-ratio: auto; border-radius: 0; }
.bb-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 30px 44px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); }
.bb-sl-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--dark); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .2); transition: transform .2s, background .2s; }
.bb-sl-btn:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.bb-sl-btn.prev { left: 16px; }
.bb-sl-btn.next { right: 16px; }
.bb-sl-dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 8px; }
.bb-sl-dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0; background: rgba(255, 255, 255, .5); cursor: pointer; transition: width .25s, background .25s; }
.bb-sl-dots button.active { width: 26px; background: #fff; }

/* ---------- Öffnungszeiten ---------- */
.bb-hours { --heading: var(--dark); background: #fff; color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 36px; box-shadow: var(--shadow-sm); }
.bb-hours-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.bb-hours-head .bb-title { margin: 0; font-size: 1.6rem; }
.bb-hours ul { list-style: none; padding: 0; margin: 0; }
.bb-hours li { display: flex; align-items: baseline; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.bb-hours li:last-child { border-bottom: 0; }
.bb-h-day { font-weight: 600; }
.bb-h-dots { flex: 1; border-bottom: 2px dotted var(--border); transform: translateY(-4px); }
.bb-h-time { color: #64748b; font-variant-numeric: tabular-nums; }
.bb-h-times { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.bb-hours-note { margin: 16px 0 0; font-size: .92rem; color: #64748b; }

/* ---------- Downloads ---------- */
.bb-downloads { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.bb-downloads li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: #fff; color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.bb-downloads li:hover { border-color: color-mix(in srgb, var(--primary) 40%, var(--border)); box-shadow: var(--shadow-sm); }
.bb-dl-ico { width: 48px; height: 48px; border-radius: 12px; background: var(--primary-soft); color: var(--primary); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.bb-dl-text { flex: 1; min-width: 0; }
.bb-dl-text strong { display: block; color: var(--dark); }
.bb-dl-text small { display: block; color: #64748b; }
.site .bb-dl-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: calc(var(--radius) * .7); background: var(--primary); color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; flex-shrink: 0; }
.site .bb-dl-btn:hover { filter: brightness(1.08); }

/* ---------- Social Media ---------- */
.bb-social-wrap { text-align: center; }
.bb-social-wrap .bb-sub { margin: 0 auto 26px; max-width: 560px; }
.bb-social { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.site .bb-social a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 56px; height: 56px; border-radius: 50%; background: var(--primary); color: #fff; text-decoration: none; font-weight: 600; transition: transform .2s, box-shadow .2s; }
.site .bb-social a:hover { transform: translateY(-3px); box-shadow: 0 10px 22px -8px color-mix(in srgb, var(--primary) 70%, transparent); }
.bb-social a span { display: none; }
.site .bb-social.v-outline a { background: transparent; color: var(--primary); border: 2px solid currentColor; }
.site .bb-social.v-labels a { width: auto; height: 50px; padding: 0 22px 0 18px; border-radius: 99px; }
.bb-social.v-labels a span { display: inline; }
.has-fg .bb-social.v-outline a, .on-dark .bb-social.v-outline a { color: inherit; }

/* ---------- Speise-/Preisliste ---------- */
.bb-menu { display: grid; gap: 26px 60px; }
.bb-menu.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bb-menu-head { display: flex; align-items: baseline; gap: 10px; }
.bb-menu-head strong { font-family: var(--font-head); font-size: 1.12rem; color: var(--heading); }
.bb-menu-tag { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); background: var(--primary-soft); padding: 3px 8px; border-radius: 99px; align-self: center; white-space: nowrap; }
.bb-menu-dots { flex: 1; min-width: 20px; border-bottom: 2px dotted color-mix(in srgb, currentColor 25%, transparent); transform: translateY(-5px); }
.bb-menu-price { font-weight: 700; color: var(--primary); white-space: nowrap; font-variant-numeric: tabular-nums; }
.has-fg .bb-menu-price, .on-dark .bb-menu-price { color: inherit; }
.bb-menu-item p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }

/* ---------- Termine ---------- */
.bb-events { display: flex; flex-direction: column; gap: 14px; max-width: 920px; margin: 0 auto; }
.bb-event { --heading: var(--dark); display: flex; align-items: center; gap: 22px; padding: 18px 22px; background: #fff; color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.bb-event:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.bb-ev-date { width: 74px; flex-shrink: 0; text-align: center; padding: 11px 0; border-radius: calc(var(--radius) * .8); background: var(--primary); color: #fff; line-height: 1; }
.bb-ev-date strong { display: block; font-family: var(--font-head); font-size: 1.9rem; font-weight: 800; }
.bb-ev-date span { display: block; margin-top: 5px; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.bb-ev-main { flex: 1; min-width: 0; }
.bb-ev-main h3 { font-size: 1.15rem; margin: 0 0 6px; }
.bb-ev-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: #64748b; font-size: .93rem; }
.bb-ev-meta > span { display: inline-flex; align-items: center; gap: 6px; }
.site .bb-event .btn { flex-shrink: 0; padding: 10px 18px; font-size: .92rem; }

/* ---------- Externe Inhalte (Zwei-Klick) ---------- */
.bb-mapframe { position: relative; }
.bb-consent { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: #fff; background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--primary) 55%, transparent), transparent 60%), #0f172a; }
.bb-consent-inner { max-width: 420px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.bb-consent p { margin: 0; font-size: .92rem; opacity: .85; }

@container site (max-width: 980px) {
  .bb-step::after { display: none; }
  .bb-newsletter { grid-template-columns: 1fr; gap: 28px; }
}
@container site (max-width: 760px) {
  .bb-timeline::before { left: 9px; }
  .bb-tl-item, .bb-tl-item:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 26px 42px; }
  .bb-tl-item + .bb-tl-item { margin-top: 0; }
  .bb-tl-dot, .bb-tl-item:nth-child(even) .bb-tl-dot { left: 0; right: auto; }
}
@container site (max-width: 640px) {
  .bb-checklist.cols-2, .bb-checklist.cols-3, .bb-menu.cols-2 { grid-template-columns: 1fr; }
  .bb-event { flex-wrap: wrap; }
  .site .bb-event .btn { width: 100%; }
  .bb-nl-row { flex-direction: column; background: transparent; border: 0; box-shadow: none; padding: 0; }
  .bb-nl-row input { background: #fff; border: 1px solid var(--border); border-radius: calc(var(--radius) * .7); height: 52px; }
  .bb-slide, .bb-slider.h-l .bb-slide { height: 300px; }
  .bb-slider.h-s .bb-slide { height: 220px; }
  .bb-sl-btn { width: 40px; height: 40px; }
  .bb-slide figcaption { font-size: 1.05rem; padding: 50px 20px 40px; }
  .bb-cd { min-width: 70px; padding: 16px 6px 12px; }
  .bb-hours { padding: 24px 20px; }
  .bb-downloads li { flex-wrap: wrap; }
  .site .bb-dl-btn { width: 100%; justify-content: center; }
  .bb-tab-btn { padding: 10px 14px; }
}

/* ==========================================================================
   Elemente außerhalb von .site (Lightbox, Hinweis, Bearbeiten-Knopf)
   ========================================================================== */
body.site-body { margin: 0; }
.bb-lightbox { position: fixed; inset: 0; z-index: 9999; background: rgba(5, 8, 20, .92); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; animation: bbFade .2s ease; }
.bb-lightbox img { max-width: 92vw; max-height: 82vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.bb-lightbox p { color: #fff; font: 500 15px/1.5 system-ui, sans-serif; margin: 16px 0 0; }
.bb-lightbox button { position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 26px; cursor: pointer; }
.bb-lightbox .lb-prev, .bb-lightbox .lb-next { top: 50%; transform: translateY(-50%); }
.bb-lightbox .lb-prev { left: 18px; right: auto; }
.bb-lightbox .lb-next { right: 18px; }
@keyframes bbFade { from { opacity: 0; } to { opacity: 1; } }

.site-toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 9998; background: #0f172a; color: #fff; padding: 14px 22px; border-radius: 12px; font: 500 15px/1.4 system-ui, sans-serif; box-shadow: 0 16px 40px rgba(0, 0, 0, .3); display: flex; align-items: center; gap: 10px; animation: toastIn .35s ease; }
.site-toast.is-error { background: #b91c1c; }
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 16px); } to { opacity: 1; transform: translate(-50%, 0); } }

.edit-fab { position: fixed; right: 22px; bottom: 22px; z-index: 9997; display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; background: #0f172a; color: #fff; border-radius: 99px; font: 600 14px/1 system-ui, sans-serif; text-decoration: none; box-shadow: 0 12px 30px rgba(15, 23, 42, .35); transition: transform .2s; }
.edit-fab:hover { transform: translateY(-2px); }
.site.maintenance { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: radial-gradient(circle at 20% 10%, var(--primary-soft), transparent 50%), #fff; }
.maintenance-box { max-width: 560px; text-align: center; }
.maintenance-box .sh-logo { justify-content: center; margin-bottom: 36px; }
.maintenance-box .bb-sub { margin: 0 0 28px; }
.maintenance-login { margin-top: 40px; font-size: .9rem; }
.maintenance-login a { color: var(--muted); }
.draft-bar { background: #fef3c7; color: #92400e; text-align: center; padding: 8px 16px; font: 500 14px/1.4 system-ui, sans-serif; }

/* Verwaltungsleiste für angemeldete Benutzer (im Header) – immer fix oben im Viewport (siehe
   .sh-adminbar position:fixed weiter oben bei den Header-Sticky-Regeln), damit sie nie unter die
   Header-/Infoleisten-Sticky-Logik fällt und beim Scrollen verschwindet. */
.sh-adminbar { height: 36px; background: #0f172a; color: #cbd5e1; font: 500 13px/1 system-ui, -apple-system, "Segoe UI", sans-serif; }
.sh-adminbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sh-adminbar .ab-user { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sh-adminbar .ab-user strong { color: #fff; font-weight: 600; }
.sh-adminbar .ab-links { display: flex; align-items: center; gap: 4px; }
.sh-adminbar .ab-links a { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 6px; color: #e2e8f0; text-decoration: none; white-space: nowrap; }
.sh-adminbar .ab-links a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.sh-adminbar .ab-links a.ab-logout { background: #dc2626; color: #fff; }
.sh-adminbar .ab-links a.ab-logout:hover { background: #b91c1c; }
@media (max-width: 640px) {
  .sh-adminbar .ab-user { display: none; }
  .sh-adminbar-inner { justify-content: flex-end; }
  .sh-adminbar .ab-links a:not(.ab-logout) span { display: none; }
}
/* ---------- Untermenüs: Dropdown & Mega-Menü ---------- */
.sh-item { position: relative; display: flex; align-items: center; }
.sh-item.has-mega { position: static; }
.site .sh-nav .sh-item > a { padding-right: 4px; }
.sh-sub-btn { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 32px; margin-left: -2px; padding: 0; border: 0; border-radius: 7px; background: transparent; color: var(--h-link); cursor: pointer; }
.sh-sub-btn:hover, .sh-sub-btn:focus-visible { background: var(--h-hover); color: var(--h-fg); }
.sh-caret { transition: transform .2s; }
.sh-item:hover > .sh-sub-btn .sh-caret, .sh-item.is-open > .sh-sub-btn .sh-caret { transform: rotate(180deg); }
.site .sh-nav a.in-trail { color: var(--primary); }
.hs-dark .sh-nav a.in-trail, .hs-primary .sh-nav a.in-trail, .hs-gradient .sh-nav a.in-trail { color: #fff; font-weight: 700; }
.sh-sub, .sh-mega { position: absolute; z-index: 60; visibility: hidden; opacity: 0; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; }
.sh-item:hover > .sh-sub, .sh-item:focus-within > .sh-sub, .sh-item.is-open > .sh-sub,
.sh-item:hover > .sh-mega, .sh-item.is-open > .sh-mega { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.sh-item.is-closed > .sh-sub, .sh-item.is-closed > .sh-mega { visibility: hidden !important; opacity: 0 !important; }
.sh-sub { top: 100%; left: -8px; padding-top: 10px; min-width: 240px; }
.sh-sub-inner { display: flex; flex-direction: column; padding: 8px; border-radius: 14px; background: #fff; border: 1px solid var(--border); box-shadow: 0 24px 50px -18px rgba(15, 23, 42, .35); }
.site .sh-nav .sh-sub a, .site .sh-nav .sh-mega a { color: var(--text); text-transform: none; letter-spacing: 0; font-size: .95rem; background: transparent; }
.site .sh-nav .sh-sub a { display: block; padding: 10px 14px; border-radius: 9px; white-space: nowrap; }
.site .sh-nav .sh-sub a:hover, .site .sh-nav .sh-sub a.active { background: var(--light); color: var(--primary); }
.site .sh-nav .sh-sub a::after, .site .sh-nav .sh-mega a::after { display: none; }
.sh-sub-group + a, a + .sh-sub-group, .sh-sub-group + .sh-sub-group { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--border); }
.site .sh-nav .sh-sub a.sh-sub-parent { font-weight: 700; }
.sh-sub-l2 { display: flex; flex-direction: column; padding-left: 10px; }
.site .sh-nav .sh-sub-l2 a { font-size: .9rem; padding: 7px 14px; color: var(--muted, #64748b); }
.sh-mega { left: 0; right: 0; top: 100%; }
.sh-mega-inner { display: grid; grid-template-columns: minmax(200px, 280px) 1fr; gap: 32px; margin-top: 10px !important; padding: 28px 32px !important; border-radius: 18px; background: #fff; border: 1px solid var(--border); box-shadow: 0 30px 60px -24px rgba(15, 23, 42, .4); color: var(--text); }
.sh-mega-inner.no-intro { grid-template-columns: 1fr; }
.sh-mega-intro { padding-right: 24px; border-right: 1px solid var(--border); }
.sh-mega-intro strong { display: block; font-family: var(--font-head); font-size: 1.3rem; margin-bottom: 8px; color: var(--dark); }
.sh-mega-intro p { margin: 0 0 14px; color: var(--muted, #64748b); font-size: .93rem; line-height: 1.55; }
.site .sh-nav .sh-mega-all { padding: 0; color: var(--primary); font-weight: 700; }
.sh-mega-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 18px; align-content: start; }
.site .sh-nav .sh-mega-link { display: block; padding: 12px 14px; border-radius: 12px; }
.site .sh-nav .sh-mega-link:hover, .site .sh-nav .sh-mega-link.active { background: var(--light); }
.sh-mega-link strong { display: block; font-weight: 700; color: var(--dark); }
.sh-mega-link:hover strong { color: var(--primary); }
.sh-mega-link span { display: block; margin-top: 3px; font-size: .86rem; line-height: 1.45; color: var(--muted, #64748b); font-weight: 400; }
.sh-mega-col ul { list-style: none; margin: 0 0 6px; padding: 0 0 0 14px; }
.site .sh-nav .sh-mega-col ul a { display: block; padding: 5px 0; font-size: .9rem; color: var(--muted, #64748b); }
.site .sh-nav .sh-mega-col ul a:hover { color: var(--primary); }
/* Mobiles Menü mit Unterseiten */
.shm-item { display: flex; flex-direction: column; }
.shm-row { display: flex; align-items: center; }
.shm-row > a { flex: 1; }
.shm-toggle { width: 44px; height: 44px; flex: 0 0 44px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: transparent; color: var(--text); cursor: pointer; }
.shm-toggle:hover { background: var(--light); }
.shm-toggle[aria-expanded="true"] .sh-caret { transform: rotate(180deg); }
.shm-sub { display: flex; flex-direction: column; margin-left: 14px; padding-left: 10px; border-left: 2px solid var(--border); }
.shm-sub[hidden] { display: none; }
.site .sh-mobile a.shm-l1, .site .sh-mobile a.shm-l2 { font-size: .95rem; padding-top: 10px; padding-bottom: 10px; }
.site .hl-minimal .sh-mobile .shm-sub a { font-size: 1.05rem; }
/* ---------- News / Beiträge ---------- */
.bb-dyn-loading { padding: 24px; text-align: center; color: var(--muted, #64748b); font: 500 14px system-ui, sans-serif; }
.nw { --nw-gap: clamp(16px, 2.2vw, 26px); }
.nw-empty { text-align: center; color: var(--muted); padding: 20px; }
.nw-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: var(--nw-gap); }
.nw-card { position: relative; display: flex; flex-direction: column; background: var(--sec-card, #fff); border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease; }
.nw-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -22px rgba(15, 23, 42, .35); }
.site .nw-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.nw-img { overflow: hidden; background: var(--light); }
.nw-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.nw-card:hover .nw-img img { transform: scale(1.04); }
.nw-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.nw-cat { align-self: flex-start; display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--primary-soft, rgba(79, 70, 229, .1)); color: var(--primary); font-size: .76rem; font-weight: 700; letter-spacing: .02em; }
.site .nw-title { margin: 0; font-size: 1.14rem; line-height: 1.35; color: var(--dark); }
.nw-link:hover .nw-title { color: var(--primary); }
.nw-pin { color: #f59e0b; margin-right: 6px; }
.nw-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); font-size: .85rem; }
.nw-meta i { font-style: normal; opacity: .6; }
.site .nw-teaser { margin: 0; color: var(--text); opacity: .85; font-size: .95rem; line-height: 1.6; }
.nw-more { margin-top: auto; padding-top: 6px; color: var(--primary); font-weight: 700; font-size: .92rem; }
.nw-more span { display: inline-block; transition: transform .2s; }
.nw-link:hover .nw-more span { transform: translateX(4px); }
.nw-list { display: flex; flex-direction: column; gap: var(--nw-gap); }
.nw-row .nw-link { flex-direction: row; }
.nw-row .nw-img { width: 38%; flex: 0 0 38%; aspect-ratio: auto !important; min-height: 190px; }
.nw-magazine { display: grid; grid-template-columns: 1.35fr 1fr; gap: var(--nw-gap); }
.nw-feature .site .nw-title, .nw-feature .nw-title { font-size: 1.55rem; }
.nw-side { display: flex; flex-direction: column; gap: 14px; }
.nw-side .nw-link { flex-direction: row; }
.nw-side .nw-img { width: 120px; flex: 0 0 120px; aspect-ratio: 1 !important; }
.nw-side .nw-body { padding: 12px 14px; gap: 5px; }
.nw-side .nw-teaser, .nw-side .nw-more { display: none; }
.nw-side .nw-title { font-size: 1rem; }
.nw-compact { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.nw-row.nw-row, .nw-compact .nw-row { border-bottom: 1px solid var(--border); }
.nw-compact .nw-link { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 16px; padding: 16px 6px; }
.nw-compact .nw-meta { font-variant-numeric: tabular-nums; }
.nw-compact .nw-title { font-size: 1.05rem; }
.nw-compact .nw-row:hover { background: var(--light); }
.nw-slider { position: relative; }
.nw-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--nw-gap)) / 3); gap: var(--nw-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.nw-track::-webkit-scrollbar { display: none; }
.nw-track .nw-card { scroll-snap-align: start; }
.nw-nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.nw-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: var(--sec-card, #fff); font-size: 22px; line-height: 1; cursor: pointer; color: var(--dark); }
.nw-nav button:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.nw-timeline { position: relative; display: flex; flex-direction: column; gap: 22px; padding-left: 130px; }
.nw-timeline::before { content: ""; position: absolute; left: 110px; top: 6px; bottom: 6px; width: 2px; background: var(--border); }
.nw-tl-item { position: relative; }
.nw-tl-item::before { content: ""; position: absolute; left: -26px; top: 22px; width: 12px; height: 12px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft, rgba(79, 70, 229, .15)); }
.nw-tl-date { position: absolute; left: -130px; top: 17px; width: 94px; text-align: right; font-weight: 700; font-size: .88rem; color: var(--muted); }
.nw-tl-item .nw-link { flex-direction: row; }
.nw-tl-item .nw-img { width: 220px; flex: 0 0 220px; aspect-ratio: auto !important; }
.nw-ticker { display: flex; align-items: center; gap: 0; border-radius: 12px; overflow: hidden; background: var(--dark); color: #fff; }
.nw-ticker-label { flex: 0 0 auto; padding: 12px 18px; background: var(--primary); font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.nw-ticker-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.nw-ticker-run { display: inline-flex; gap: 42px; padding: 12px 0; white-space: nowrap; animation: nwTicker 40s linear infinite; }
.nw-ticker:hover .nw-ticker-run, .nw-ticker:focus-within .nw-ticker-run { animation-play-state: paused; }
.site .nw-ticker-run a { color: #fff; text-decoration: none; font-weight: 600; }
.site .nw-ticker-run a:hover { text-decoration: underline; }
.nw-ticker-run time { opacity: .6; margin-right: 8px; font-weight: 500; }
@keyframes nwTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.nw-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 26px; }
.nw-filter button { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--sec-card, #fff); color: var(--text); font: 600 .9rem var(--font-body); cursor: pointer; transition: all .2s; }
.nw-filter button:hover { border-color: var(--primary); color: var(--primary); }
.nw-filter button.is-on { background: var(--primary); border-color: var(--primary); color: #fff; }
.nw-loadmore, .nw-archive { display: flex; justify-content: center; margin-top: 30px; }
.nw [hidden] { display: none !important; }
@container site (max-width: 900px) {
  .nw-grid { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); }
  .nw-magazine { grid-template-columns: 1fr; }
  .nw-track { grid-auto-columns: calc((100% - var(--nw-gap)) / 2); }
}
@container site (max-width: 600px) {
  .nw-grid { grid-template-columns: 1fr; }
  .nw-row .nw-link, .nw-tl-item .nw-link { flex-direction: column; }
  .nw-row .nw-img, .nw-tl-item .nw-img { width: 100%; flex: none; aspect-ratio: 16/10 !important; min-height: 0; }
  .nw-track { grid-auto-columns: 85%; }
  .nw-compact .nw-link { grid-template-columns: 1fr; gap: 4px; }
  .nw-timeline { padding-left: 26px; }
  .nw-timeline::before { left: 6px; }
  .nw-tl-item::before { left: -26px; }
  .nw-tl-date { position: static; width: auto; text-align: left; margin-bottom: 6px; }
}
@media (prefers-reduced-motion: reduce) { .nw-ticker-run { animation: none; } .nw-card, .nw-img img { transition: none; } }

/* Beitrags-Detailseite */
.nwa-wrap { max-width: 780px; }
.site .nwa-back { display: inline-block; margin-bottom: 22px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .92rem; }
.site .nwa-back:hover { color: var(--primary); }
.nwa-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 26px; }
.site .nwa-title { margin: 0; font-size: clamp(2rem, 4.5vw, 3.1rem); line-height: 1.12; letter-spacing: -.02em; }
.site .nwa-lead { margin: 0; font-size: 1.2rem; line-height: 1.6; color: var(--text); opacity: .85; }
.nwa-hero { margin: 0 0 30px; border-radius: calc(var(--radius) + 6px); overflow: hidden; }
.nwa-hero img { width: 100%; height: auto; display: block; }
.nwa-content { font-size: 1.08rem; line-height: 1.8; }
.nwa-content > * + * { margin-top: 1.1em; }
.site .nwa-content h2 { font-size: 1.6rem; margin-top: 1.6em; }
.site .nwa-content h3 { font-size: 1.3rem; margin-top: 1.4em; }
.nwa-content img { max-width: 100%; height: auto; border-radius: var(--radius); }
.nwa-content figure { margin: 1.6em 0; }
.nwa-content figcaption { margin-top: 8px; font-size: .88rem; color: var(--muted); text-align: center; }
.nwa-content blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--primary); font-size: 1.15em; font-style: italic; color: var(--dark); }
.site .nwa-content a { color: var(--primary); }
.nwa-content ul, .nwa-content ol { padding-left: 1.4em; }
.nwa-content hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.nwa-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--border); }
.nwa-share span { font-weight: 700; margin-right: 4px; }
.site .nwa-share a, .nwa-share button { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--sec-card, #fff); color: var(--text); text-decoration: none; font: 600 .86rem var(--font-body); cursor: pointer; }
.site .nwa-share a:hover, .nwa-share button:hover { border-color: var(--primary); color: var(--primary); }
.nwa-more { background: var(--light); }
.site .nwa-related h2 { font-size: 1.5rem; margin: 0 0 22px; }

/* Unterseiten-Übersicht */
.sp-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: clamp(16px, 2vw, 24px); }
.site .sp-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: calc(var(--radius) + 4px); overflow: hidden; background: var(--sec-card, #fff); color: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.site .sp-card:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: 0 20px 40px -22px rgba(15, 23, 42, .35); }
.sp-img { aspect-ratio: 16/9; overflow: hidden; }
.sp-img img { width: 100%; height: 100%; object-fit: cover; }
.sp-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 22px; flex: 1; }
.site .sp-body h3 { margin: 0; font-size: 1.15rem; }
.site .sp-body p { margin: 0; color: var(--text); opacity: .8; font-size: .95rem; }
.sp-more { margin-top: auto; color: var(--primary); font-weight: 700; font-size: .92rem; }
.sp-empty { text-align: center; color: var(--muted); }
@container site (max-width: 900px) { .sp-grid { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); } }
@container site (max-width: 600px) { .sp-grid { grid-template-columns: 1fr; } }.nw-card, .sp-card, .nw-compact { --muted: #64748b; color: var(--text); }