@charset "UTF-8";
/* ==========================================================================
   screenfox – Basis-Stylesheet (Etappe 1)
   Bootstrap 5.3.8 · Light/Dark über data-bs-theme · WCAG 2.2 AA
   Kontrastwerte stehen als Kommentar hinter den Text-Tokens.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design-Tokens – hell (Standard)
   -------------------------------------------------------------------------- */
:root,
[data-bs-theme="light"] {
  /* Marke */
  --sfx-accent: #e34735;            /* Flächen, Icons, große Schrift (4,02:1 auf Weiß) */
  --sfx-accent-hover: #e0331f;
  --sfx-accent-active: #d2301d;
  --sfx-accent-strong: #c8331f;     /* Buttons mit weißer Schrift: 5,32:1 */
  --sfx-accent-strong-hover: #a92a19;
  --sfx-link: #9c2416;              /* Fließtext-Link (Original-Farbe): 7,84:1 auf Weiß */
  --sfx-link-hover: #c4321f;        /* 5,49:1 auf Weiß */

  /* Text */
  --sfx-text: #444444;              /* 9,74:1 auf Weiß */
  --sfx-text-muted: #65686d;        /* 5,59:1 auf Weiß */
  --sfx-heading: #313538;           /* 12,38:1 auf Weiß */

  /* Flächen */
  --sfx-page-bg: #202020;
  --sfx-main-bg: #ffffff;
  --sfx-pattern-top: url("../img/page-head-bg.gif");
  --sfx-pattern-footer: url("../img/page-head-bg2.gif");
  --sfx-dark-bg: #2f3338;
  --sfx-dark-text: #9b9fa2;         /* 4,77:1 auf #2f3338 */
  --sfx-dark-link: #d6d9db;
  --sfx-dark-link-hover: #ffffff;
  --sfx-header-bg: linear-gradient(to bottom, #fcfcfc 2%, #f9f9f9 100%);
  --sfx-section-light-bg: linear-gradient(to bottom, #fcfcfc 2%, #f9f9f9 100%);
  --sfx-section-light-border: #e4e4e4;
  --sfx-section-grey-bg: #e2e2e2;
  --sfx-slider-bg: #e9e9e9;
  --sfx-bottom-bg: linear-gradient(to bottom, #f9f9f9 2%, #f5f5f5 100%);
  --sfx-bottom-border: #e2e2e2;
  --sfx-bottom-text: #65686d;       /* 5,13:1 auf #f5f5f5 */
  --sfx-bottom-heading: #343434;
  --sfx-border: #e4e4e4;

  /* Navigation */
  --sfx-nav-link: #484c4f;          /* 8,23:1 auf #f9f9f9 */
  --sfx-nav-active: #b52d1d;        /* 6,10:1 auf #fcfcfc */
  --sfx-nav-bar: var(--sfx-accent);
  --sfx-dropdown-bg: #2f3338;
  --sfx-dropdown-link: #c1c4c6;     /* 7,25:1 auf #2f3338 */
  --sfx-dropdown-hover-bg: var(--sfx-accent-strong);
  --sfx-dropdown-hover-text: #ffffff;
  --sfx-dropdown-sep-top: #393c42;
  --sfx-dropdown-sep-bottom: #26292c;

  /* Breadcrumb / Seitenkopf */
  --sfx-pagehead-bg: #ffffff;
  --sfx-breadcrumb-text: #6c7075;   /* 4,99:1 auf Weiß (Original #c4c4c4: 1,74:1) */

  /* Fokus */
  --sfx-focus: #9c2416;
  --sfx-focus-on-dark: #ffffff;

  /* Layout */
  --sfx-container-max: 1010px;      /* Original-Breite */
  --sfx-container-max-landing: 1200px;
  --sfx-header-height: 80px;
  --sfx-radius: .1875rem;

  /* Typografie */
  --sfx-font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --sfx-font-display: "PT Sans", "Open Sans", Arial, sans-serif;

  /* Bootstrap-Variablen angleichen */
  --bs-body-font-family: var(--sfx-font-body);
  --bs-body-font-size: .9375rem;
  --bs-body-line-height: 1.6;
  --bs-body-color: var(--sfx-text);
  --bs-body-bg: var(--sfx-main-bg);
  --bs-emphasis-color: var(--sfx-heading);
  --bs-heading-color: var(--sfx-heading);
  --bs-link-color: var(--sfx-link);
  --bs-link-color-rgb: 156, 36, 22;
  --bs-link-hover-color: var(--sfx-link-hover);
  --bs-link-hover-color-rgb: 196, 50, 31;
  --bs-border-color: var(--sfx-border);
  --bs-focus-ring-color: rgba(156, 36, 22, .45);
  --bs-primary: #c8331f;
  --bs-primary-rgb: 200, 51, 31;
}

/* --------------------------------------------------------------------------
   2. Design-Tokens – dunkel
   -------------------------------------------------------------------------- */
[data-bs-theme="dark"] {
  --sfx-accent: #e34735;            /* 4,11:1 auf #1d1f22 – nur Flächen/große Schrift */
  --sfx-accent-strong: #c8331f;
  --sfx-accent-strong-hover: #e0331f;
  --sfx-link: #f08a7e;              /* 6,80:1 auf #1d1f22 */
  --sfx-link-hover: #ff9c90;        /* 7,34:1 auf #25282c */

  --sfx-text: #c9cccf;              /* 10,24:1 auf #1d1f22 */
  --sfx-text-muted: #a3a7aa;        /* 6,82:1 auf #1d1f22 */
  --sfx-heading: #eef0f1;           /* 14,45:1 auf #1d1f22 */

  --sfx-page-bg: #141517;
  --sfx-main-bg: #1d1f22;
  --sfx-dark-bg: #2f3338;
  --sfx-header-bg: linear-gradient(to bottom, #25282c 2%, #212427 100%);
  --sfx-section-light-bg: linear-gradient(to bottom, #25282c 2%, #212427 100%);
  --sfx-section-light-border: #33373c;
  --sfx-section-grey-bg: #2a2d31;
  --sfx-slider-bg: #2a2d31;
  --sfx-bottom-bg: linear-gradient(to bottom, #212427 2%, #1d1f22 100%);
  --sfx-bottom-border: #33373c;
  --sfx-bottom-text: #b9bdc1;       /* 8,25:1 auf #212427 */
  --sfx-bottom-heading: #e3e5e7;
  --sfx-border: #33373c;

  --sfx-nav-link: #d6d9db;          /* 10,44:1 auf #25282c */
  --sfx-nav-active: #f28b7f;        /* 6,19:1 auf #25282c */

  --sfx-pagehead-bg: #1d1f22;
  --sfx-breadcrumb-text: #a3a7aa;   /* 6,82:1 auf #1d1f22 */

  --sfx-focus: #ffb3a9;

  --bs-body-color: var(--sfx-text);
  --bs-body-bg: var(--sfx-main-bg);
  --bs-emphasis-color: var(--sfx-heading);
  --bs-heading-color: var(--sfx-heading);
  --bs-link-color: var(--sfx-link);
  --bs-link-color-rgb: 240, 138, 126;
  --bs-link-hover-color: var(--sfx-link-hover);
  --bs-link-hover-color-rgb: 255, 156, 144;
  --bs-border-color: var(--sfx-border);
  --bs-focus-ring-color: rgba(255, 179, 169, .5);
  color-scheme: dark;
}

/* --------------------------------------------------------------------------
   3. Grundlagen
   -------------------------------------------------------------------------- */
html { background: var(--sfx-page-bg); }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  background: var(--sfx-main-bg);
  color: var(--sfx-text);
  font-family: var(--sfx-font-body);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--sfx-font-display);
  font-weight: 700;
  color: var(--sfx-heading);
  line-height: 1.2;
}

a { color: var(--sfx-link); text-underline-offset: .15em; }
a:hover { color: var(--sfx-link-hover); }

img { max-width: 100%; height: auto; }

.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl { max-width: var(--sfx-container-max); }

.sfx-layout--landing .container,
.sfx-layout--landing .container-xl { max-width: var(--sfx-container-max-landing); }

/* Sichtbarer Fokus überall (WCAG 2.4.7 / 2.4.11) */
:focus-visible {
  outline: 3px solid var(--sfx-focus);
  outline-offset: 2px;
  border-radius: 2px;
}
.sfx-on-dark :focus-visible { outline-color: var(--sfx-focus-on-dark); }

/* Skip-Link */
.sfx-skiplink {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 2000;
  padding: .75rem 1rem;
  background: #ffffff;
  color: #313538;
  font-weight: 600;
  border-radius: var(--sfx-radius);
  box-shadow: 0 2px 10px rgba(0, 0, 0, .3);
}

#sfx-main:focus { outline: none; }

/* Mindestgröße für Bedienelemente (WCAG 2.5.8) */
.sfx-target { min-width: 24px; min-height: 24px; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn-sfx {
  --bs-btn-color: #ffffff;
  --bs-btn-bg: var(--sfx-accent-strong);
  --bs-btn-border-color: var(--sfx-accent-strong);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: var(--sfx-accent-strong-hover);
  --bs-btn-hover-border-color: var(--sfx-accent-strong-hover);
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: var(--sfx-accent-strong-hover);
  --bs-btn-active-border-color: var(--sfx-accent-strong-hover);
  --bs-btn-focus-shadow-rgb: 200, 51, 31;
  font-weight: 600;
}
.btn-sfx-outline {
  --bs-btn-color: var(--sfx-link);
  --bs-btn-border-color: var(--sfx-link);
  --bs-btn-hover-color: #ffffff;
  --bs-btn-hover-bg: var(--sfx-accent-strong);
  --bs-btn-hover-border-color: var(--sfx-accent-strong);
  --bs-btn-active-color: #ffffff;
  --bs-btn-active-bg: var(--sfx-accent-strong-hover);
  font-weight: 600;
}

/* Linkartiger Button (z. B. Cookie-Einstellungen) */
.sfx-linkbutton {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .15em;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   5. Section-Hintergründe (für Module und Template)
   -------------------------------------------------------------------------- */
.sfx-bg-light  { background: var(--sfx-section-light-bg); border-bottom: 1px solid var(--sfx-section-light-border); }
.sfx-bg-white  { background: var(--sfx-main-bg); }
.sfx-bg-grey   { background: var(--sfx-section-grey-bg); }
.sfx-bg-dark   { background: var(--sfx-dark-bg) var(--sfx-pattern-top) repeat 0 0; color: var(--sfx-dark-text); }
.sfx-bg-accent { background: var(--sfx-accent-strong); color: #ffffff; }
.sfx-bg-dark h1, .sfx-bg-dark h2, .sfx-bg-dark h3, .sfx-bg-dark h4,
.sfx-bg-accent h1, .sfx-bg-accent h2, .sfx-bg-accent h3, .sfx-bg-accent h4 { color: #ffffff; }
.sfx-bg-dark a:not(.btn), .sfx-bg-accent a:not(.btn) { color: #ffffff; }

.sfx-space-top-none { padding-top: 0; }
.sfx-space-top-s    { padding-top: 1.5rem; }
.sfx-space-top-m    { padding-top: 3.125rem; }   /* 50px wie Original */
.sfx-space-top-l    { padding-top: 5rem; }
.sfx-space-bottom-none { padding-bottom: 0; }
.sfx-space-bottom-s    { padding-bottom: 1.5rem; }
.sfx-space-bottom-m    { padding-bottom: 3.125rem; }
.sfx-space-bottom-l    { padding-bottom: 5rem; }

/* Überschrift mit Linie (Original „.header span“ mit bg-head.png) */
.sfx-heading-line {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 1.375rem;
}
.sfx-heading-line::after {
  content: "";
  flex: 1 1 auto;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--sfx-border) 0 2px, transparent 2px 4px);
}

/* --------------------------------------------------------------------------
   6. Topbar
   -------------------------------------------------------------------------- */
.sfx-topbar {
  background: var(--sfx-dark-bg) var(--sfx-pattern-top) repeat 0 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
  color: var(--sfx-dark-text);
  font-size: .8125rem;
}
.sfx-topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .25rem 1.25rem;
  min-height: 2.5rem;
  padding-block: .25rem;
}
.sfx-topbar a { color: var(--sfx-dark-link); text-decoration: none; }
.sfx-topbar a:hover { color: var(--sfx-dark-link-hover); text-decoration: underline; }
.sfx-topbar__group { display: flex; align-items: center; gap: .25rem 1rem; flex-wrap: wrap; }
.sfx-topbar__phone i { margin-right: .5rem; }
.sfx-topbar__social a,
.sfx-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
}

.sfx-langswitch { display: flex; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.sfx-langswitch a { display: inline-block; padding: .25rem .5rem; border-radius: var(--sfx-radius); text-transform: uppercase; }
.sfx-langswitch a[aria-current="true"] { background: rgba(255, 255, 255, .12); color: #ffffff; font-weight: 600; }

@media (max-width: 767.98px) {
  .sfx-topbar__inner { justify-content: center; }
  .sfx-topbar__social { display: none; }
}

/* --------------------------------------------------------------------------
   7. Header + Logo
   -------------------------------------------------------------------------- */
.sfx-header {
  position: relative;
  z-index: 1030;
  background: var(--sfx-header-bg);
  border-bottom: 1px solid var(--sfx-border);
}
.sfx-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--sfx-header-height);
}
.sfx-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.sfx-logo img { display: block; width: 187px; height: auto; aspect-ratio: 232.85 / 55.15; }
.sfx-logo__dark { display: none !important; }
[data-bs-theme="dark"] .sfx-logo__light { display: none !important; }
[data-bs-theme="dark"] .sfx-logo__dark { display: block !important; }

.sfx-header__tools { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.sfx-iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--sfx-radius);
  background: transparent;
  color: var(--sfx-nav-link);
  font-size: 1.125rem;
}
.sfx-iconbtn:hover { color: var(--sfx-nav-active); border-color: var(--sfx-border); }

.sfx-theme-menu .dropdown-item { display: flex; align-items: center; gap: .5rem; }
.sfx-theme-menu .dropdown-item[aria-pressed="true"] { font-weight: 700; }
.sfx-theme-menu .dropdown-item[aria-pressed="true"]::after {
  content: "\f00c";
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  margin-left: auto;
}

/* --------------------------------------------------------------------------
   8. Hauptnavigation (eine Struktur für Desktop + Mobil)
   -------------------------------------------------------------------------- */
.sfx-nav__list { margin: 0; padding: 0; list-style: none; }
.sfx-nav__row { display: flex; align-items: stretch; }
.sfx-nav__link {
  display: block;
  flex: 1 1 auto;
  color: var(--sfx-nav-link);
  font-family: var(--sfx-font-display);
  font-size: 1.0625rem;
  text-decoration: none;
}
.sfx-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}
.sfx-nav__toggle-icon { position: relative; display: block; width: .75rem; height: .75rem; }
.sfx-nav__toggle-icon::before,
.sfx-nav__toggle-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  margin-top: -1px;
  background: currentColor;
  transition: transform .2s ease;
}
.sfx-nav__toggle-icon::after { transform: rotate(90deg); }
.sfx-nav__item.is-open > .sfx-nav__row .sfx-nav__toggle-icon::after { transform: rotate(0deg); }

/* ---------- Mobil (< 992px): Offcanvas, +/– rechts ---------- */
@media (max-width: 991.98px) {
  .sfx-offcanvas { --bs-offcanvas-width: min(22rem, 88vw); background: var(--sfx-main-bg); }
  .sfx-offcanvas .offcanvas-title { font-family: var(--sfx-font-display); font-weight: 700; }
  .sfx-nav__item { border-bottom: 1px solid var(--sfx-border); }
  .sfx-nav__link { padding: .75rem 1rem; }
  .sfx-nav__list--l1 .sfx-nav__link { padding-left: 2rem; font-size: 1rem; }
  .sfx-nav__list--l2 .sfx-nav__link { padding-left: 3rem; }
  .sfx-nav__toggle { min-width: 3rem; border-left: 1px solid var(--sfx-border); color: var(--sfx-nav-link); }
  .sfx-nav__link[aria-current="page"],
  .sfx-nav__item.is-active > .sfx-nav__row > .sfx-nav__link { color: var(--sfx-nav-active); font-weight: 700; }
  .sfx-nav__list--sub { display: none; border-top: 1px solid var(--sfx-border); background: rgba(0, 0, 0, .025); }
  [data-bs-theme="dark"] .sfx-nav__list--sub { background: rgba(255, 255, 255, .03); }
  .sfx-nav__item.is-open > .sfx-nav__list--sub { display: block; }
  .sfx-nav__list--sub .sfx-nav__item:last-child { border-bottom: 0; }
}

/* ---------- Desktop (≥ 992px): horizontal mit Dropdown ---------- */
@media (min-width: 992px) {
  .sfx-offcanvas { flex: 1 1 auto; }
  .sfx-offcanvas .offcanvas-header { display: none; }
  .sfx-offcanvas .offcanvas-body { justify-content: flex-end; padding: 0; overflow: visible; }
  .sfx-nav__list--l0 { display: flex; justify-content: flex-end; }
  .sfx-nav__list--l0 > .sfx-nav__item { position: relative; }
  .sfx-nav__list--l0 > .sfx-nav__item > .sfx-nav__row > .sfx-nav__link {
    line-height: 70px;
    padding: 0 .9375rem;
  }
  .sfx-nav__list--l0 > .sfx-nav__item.has-children > .sfx-nav__row > .sfx-nav__link { padding-right: .25rem; }
  .sfx-nav__list--l0 > .sfx-nav__item > .sfx-nav__row > .sfx-nav__toggle { min-width: 1.5rem; margin-right: .5rem; color: var(--sfx-nav-link); }
  .sfx-nav__list--l0 > .sfx-nav__item > .sfx-nav__row .sfx-nav__toggle-icon { width: .5rem; height: .5rem; }

  /* roter Balken unter aktivem / gehovertem Hauptpunkt */
  .sfx-nav__list--l0 > .sfx-nav__item::before {
    content: "";
    position: absolute;
    left: .9375rem;
    right: .9375rem;
    bottom: 0;
    height: 2px;
    background: transparent;
    transition: background-color .2s ease;
  }
  .sfx-nav__list--l0 > .sfx-nav__item:hover::before,
  .sfx-nav__list--l0 > .sfx-nav__item.is-active::before,
  .sfx-nav__list--l0 > .sfx-nav__item.is-open::before { background: var(--sfx-nav-bar); }
  .sfx-nav__list--l0 > .sfx-nav__item:hover > .sfx-nav__row > .sfx-nav__link,
  .sfx-nav__list--l0 > .sfx-nav__item.is-active > .sfx-nav__row > .sfx-nav__link { color: var(--sfx-nav-active); }

  /* Dropdown */
  .sfx-nav__list--sub {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1040;
    min-width: 13.75rem;
    padding: 0;
    border-top: 2px solid var(--sfx-accent);
    background: var(--sfx-dropdown-bg);
    box-shadow: 0 3px 5px rgba(0, 0, 0, .2);
    visibility: hidden;
    opacity: 0;
    transform: translateY(.5rem);
    transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
  }
  .sfx-nav__list--sub .sfx-nav__list--sub { top: -2px; left: 100%; }
  /* Dropdowns der letzten beiden Hauptpunkte rechtsbündig, Unter-Dropdowns dort nach links (kein Überstand rechts) */
  .sfx-nav__list--l0 > .sfx-nav__item:nth-last-child(-n+2) > .sfx-nav__list--sub { left: auto; right: 0; }
  .sfx-nav__list--l0 > .sfx-nav__item:nth-last-child(-n+2) .sfx-nav__list--sub .sfx-nav__list--sub { left: auto; right: 100%; }
  .sfx-nav__item:hover > .sfx-nav__list--sub,
  .sfx-nav__item.is-open > .sfx-nav__list--sub {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .15s ease, transform .15s ease, visibility 0s;
  }
  .sfx-nav__list--sub > .sfx-nav__item {
    position: relative;
    border-top: 1px solid var(--sfx-dropdown-sep-top);
    border-bottom: 1px solid var(--sfx-dropdown-sep-bottom);
  }
  .sfx-nav__list--sub > .sfx-nav__item:first-child { border-top: 0; }
  .sfx-nav__list--sub > .sfx-nav__item:last-child { border-bottom: 0; }
  .sfx-nav__list--sub .sfx-nav__link {
    padding: .625rem .75rem;
    color: var(--sfx-dropdown-link);
    font-family: var(--sfx-font-body);
    font-size: .8125rem;
    line-height: 1.4;
  }
  .sfx-nav__list--sub .sfx-nav__toggle { color: var(--sfx-dropdown-link); }
  .sfx-nav__list--sub > .sfx-nav__item:hover,
  .sfx-nav__list--sub > .sfx-nav__item.is-active { background: var(--sfx-dropdown-hover-bg); }
  .sfx-nav__list--sub > .sfx-nav__item:hover > .sfx-nav__row > *,
  .sfx-nav__list--sub > .sfx-nav__item.is-active > .sfx-nav__row > * { color: var(--sfx-dropdown-hover-text); }
  .sfx-nav__list--sub :focus-visible { outline-color: var(--sfx-focus-on-dark); outline-offset: -3px; }
}

@media (prefers-reduced-motion: reduce) {
  .sfx-nav__list--sub,
  .sfx-nav__toggle-icon::before,
  .sfx-nav__toggle-icon::after { transition: none !important; }
}

/* --------------------------------------------------------------------------
   9. Seitenkopf mit H1 + Breadcrumb (Unterseiten)
   -------------------------------------------------------------------------- */
.sfx-pagehead {
  background: var(--sfx-pagehead-bg);
  border-bottom: 1px solid var(--sfx-border);
}
.sfx-pagehead__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .25rem 1.5rem;
  min-height: 54px;
  padding-block: .5rem;
}
.sfx-pagehead__title { margin: 0; font-size: 1.5rem; }
p.sfx-pagehead__title { font-family: var(--sfx-font-display); font-weight: 700; line-height: 1.2; color: var(--sfx-heading); }
.sfx-breadcrumb { --bs-breadcrumb-margin-bottom: 0; --bs-breadcrumb-divider-color: var(--sfx-breadcrumb-text); font-size: .75rem; }
.sfx-breadcrumb .breadcrumb-item,
.sfx-breadcrumb .breadcrumb-item a { color: var(--sfx-breadcrumb-text); }
.sfx-breadcrumb .breadcrumb-item a:hover { color: var(--sfx-link-hover); }
.sfx-breadcrumb .breadcrumb-item.active { color: var(--sfx-breadcrumb-text); font-weight: 600; }

/* Abstände liefern die Module selbst (Abstand oben/unten je Section) */
.sfx-main-body { background: var(--sfx-main-bg); }

/* --------------------------------------------------------------------------
   10. Bottom (3 Spalten) + Footer
   -------------------------------------------------------------------------- */
.sfx-bottom {
  padding: 3.125rem 0 1.875rem;
  background: var(--sfx-bottom-bg);
  border-top: 1px solid var(--sfx-bottom-border);
  color: var(--sfx-bottom-text);
}
.sfx-bottom__title {
  margin-bottom: 1rem;
  color: var(--sfx-bottom-heading);
  font-family: var(--sfx-font-body);
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.sfx-bottom__list { margin: 0; padding: 0; list-style: none; line-height: 1.9; }
.sfx-bottom__list i { width: 1.25rem; color: var(--sfx-accent); }
.sfx-bottom a,
.sfx-bottom .sfx-linkbutton { color: var(--sfx-link); }
.sfx-bottom a:hover,
.sfx-bottom .sfx-linkbutton:hover { color: var(--sfx-link-hover); }

.sfx-footer {
  padding: 1.25rem 0;
  background: var(--sfx-dark-bg) var(--sfx-pattern-footer) repeat 0 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
  color: var(--sfx-dark-text);
  font-size: .8125rem;
}
.sfx-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
}
.sfx-footer a,
.sfx-footer .sfx-linkbutton { color: var(--sfx-dark-link); }
.sfx-footer a:hover,
.sfx-footer .sfx-linkbutton:hover { color: var(--sfx-dark-link-hover); }
.sfx-footer__social { display: flex; align-items: center; gap: .25rem; }
.sfx-footer__links { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: 0; padding: 0; list-style: none; }

@media (max-width: 767.98px) {
  .sfx-footer__inner { justify-content: center; text-align: center; }
}

/* --------------------------------------------------------------------------
   11. Landingpages
   -------------------------------------------------------------------------- */
.sfx-lp-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--sfx-header-bg);
  border-bottom: 1px solid var(--sfx-border);
  transition: background-color .2s ease, box-shadow .2s ease;
}
.sfx-lp-header.is-scrolled { box-shadow: 0 2px 12px rgba(0, 0, 0, .12); }
.sfx-lp-header__inner { display: flex; align-items: center; gap: 1rem; min-height: 72px; }
.sfx-lp-nav { margin-left: auto; }
.sfx-lp-anchors { display: flex; flex-wrap: wrap; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.sfx-lp-anchors a {
  display: inline-block;
  padding: .5rem .75rem;
  border-radius: 999px;
  color: var(--sfx-nav-link);
  font-family: var(--sfx-font-display);
  font-size: 1.0625rem;
  text-decoration: none;
}
.sfx-lp-anchors a:hover { color: var(--sfx-nav-active); background: rgba(227, 71, 53, .08); }
.sfx-lp-actions { display: flex; align-items: center; gap: .5rem; flex: 0 0 auto; }
.sfx-lp-actions .sfx-header__tools { margin-left: 0; }
.sfx-lp-nav + .sfx-lp-actions { margin-left: 0; }
.sfx-lp-header__inner > .sfx-logo + .sfx-lp-actions { margin-left: auto; }

/* Variante A „split“: klassisch hell, CTA rechts */
.sfx-lp--split .sfx-lp-header { background: var(--sfx-main-bg); }

/* Variante B „fullscreen“: Header liegt transparent über dem Hero */
.sfx-lp--fullscreen .sfx-lp-header {
  position: fixed;
  inset: 0 0 auto 0;
  background: transparent;
  border-bottom-color: transparent;
}
.sfx-lp--fullscreen .sfx-lp-header:not(.is-scrolled) .sfx-lp-anchors a,
.sfx-lp--fullscreen .sfx-lp-header:not(.is-scrolled) .sfx-iconbtn { color: #ffffff; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); }
.sfx-lp--fullscreen .sfx-lp-header:not(.is-scrolled) .sfx-lp-anchors a:hover { background: rgba(255, 255, 255, .15); }
.sfx-lp--fullscreen .sfx-lp-header:not(.is-scrolled) .sfx-logo__light { display: none !important; }
.sfx-lp--fullscreen .sfx-lp-header:not(.is-scrolled) .sfx-logo__dark { display: block !important; }
.sfx-lp--fullscreen .sfx-lp-header.is-scrolled { background: var(--sfx-header-bg); border-bottom-color: var(--sfx-border); }

/* Variante C „tiles“: Akzentband, Logo mittig, Anker als Pills darunter */
.sfx-lp--tiles .sfx-lp-header { border-top: 4px solid var(--sfx-accent); }
@media (min-width: 992px) {
  .sfx-lp--tiles .sfx-lp-header__inner { flex-wrap: wrap; justify-content: center; padding-block: .75rem; }
  .sfx-lp--tiles .sfx-lp-nav { order: 3; flex-basis: 100%; margin: 0; }
  .sfx-lp--tiles .sfx-lp-anchors { justify-content: center; margin-top: .25rem; }
  .sfx-lp--tiles .sfx-lp-anchors a { border: 1px solid var(--sfx-border); }
  .sfx-lp--tiles .sfx-lp-actions { position: absolute; top: .75rem; right: calc(var(--bs-gutter-x, 1.5rem) * .5); }
}

@media (max-width: 991.98px) {
  .sfx-lp-nav { display: none; }
  .sfx-lp-actions { margin-left: auto; }
}
/* schmale Handys: Logo und CTA verkleinern, damit längere CTA-Texte ganz sichtbar bleiben */
@media (max-width: 479.98px) {
  .sfx-lp-header__inner { gap: .5rem; }
  .sfx-lp-header .sfx-logo img { width: 140px; height: auto; }
  .sfx-lp-cta { padding: .375rem .625rem; font-size: .875rem; white-space: nowrap; }
}

.sfx-lp-footer { padding: 1.5rem 0; background: var(--sfx-dark-bg) var(--sfx-pattern-footer) repeat 0 0; color: var(--sfx-dark-text); font-size: .8125rem; }
.sfx-lp-footer a, .sfx-lp-footer .sfx-linkbutton { color: var(--sfx-dark-link); }
.sfx-lp-footer a:hover, .sfx-lp-footer .sfx-linkbutton:hover { color: var(--sfx-dark-link-hover); }

/* --------------------------------------------------------------------------
   12. Hinweise für Redakteure (nur mit Backend-Login sichtbar)
   -------------------------------------------------------------------------- */
.sfx-notice {
  margin: .75rem 0;
  padding: .75rem 1rem;
  border: 2px dashed #b45309;
  border-radius: var(--sfx-radius);
  background: #fff7e6;
  color: #5c2c00;              /* 10,4:1 auf #fff7e6 */
  font-family: var(--sfx-font-body);
  font-size: .875rem;
}
.sfx-notice strong { color: #5c2c00; }
[data-bs-theme="dark"] .sfx-notice { background: #3a2a10; color: #ffe2b3; border-color: #f0a040; }
[data-bs-theme="dark"] .sfx-notice strong { color: #ffe2b3; }

/* --------------------------------------------------------------------------
   13. Druck
   -------------------------------------------------------------------------- */
@media print {
  .sfx-topbar, .sfx-header__tools, .sfx-nav, .sfx-offcanvas, .sfx-bottom, .sfx-skiplink { display: none !important; }
  body, .sfx-main-body { background: #ffffff !important; color: #000000 !important; }
}

/* Sprungziele nicht unter dem fixierten Landingpage-Header verstecken */
.sfx-layout--landing [id] { scroll-margin-top: 5.5rem; }
.sfx-lp--tiles [id] { scroll-margin-top: 9rem; }

/* ==========================================================================
   14. Module (Etappe 2)
   ========================================================================== */

.sfx-container-narrow { max-width: 760px; }
.sfx-richtext > :last-child { margin-bottom: 0; }
.sfx-richtext img { height: auto; }
.sfx-lead { font-size: 1.0625rem; }
.sfx-heading { margin-bottom: 1.25rem; }

/* Text + Bild */
.sfx-figure { margin: 0 0 1.25rem; }
.sfx-figure__img { display: block; width: 100%; border-radius: var(--sfx-radius); }
.sfx-ratio-16x9 .sfx-figure__img { aspect-ratio: 16 / 9; object-fit: cover; }
.sfx-ratio-4x3 .sfx-figure__img { aspect-ratio: 4 / 3; object-fit: cover; }
.sfx-ratio-1x1 .sfx-figure__img { aspect-ratio: 1 / 1; object-fit: cover; }
.sfx-figure__caption { margin-top: .5rem; color: var(--sfx-text-muted); font-size: .8125rem; }
.row .sfx-figure { margin-bottom: 0; }

/* Mehrspaltig */
.sfx-columns__title { font-size: 1.25rem; margin-bottom: .75rem; }

/* Icon-Boxen */
.sfx-iconbox { position: relative; height: 100%; }
.sfx-iconbox__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--sfx-accent);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .1);
  color: #ffffff;
  font-size: 1.625rem;
}
.sfx-iconbox__title { margin-bottom: .5rem; font-size: 1.25rem; }
.sfx-iconbox__title a { color: var(--sfx-heading); text-decoration: none; }
.sfx-iconbox.is-linked:hover .sfx-iconbox__title a,
.sfx-iconbox__title a:focus-visible { color: var(--sfx-link-hover); text-decoration: underline; }
.sfx-iconbox__text { margin-bottom: .5rem; }
.sfx-iconbox__more { color: var(--sfx-link); font-weight: 600; font-size: .875rem; }
.sfx-iconbox__title a.stretched-link:focus-visible { outline: none; }
.sfx-iconbox__title a.stretched-link:focus-visible::after { outline: 3px solid var(--sfx-focus); outline-offset: 4px; border-radius: var(--sfx-radius); }

.sfx-iconboxes--left .sfx-iconbox { display: flex; gap: 1.25rem; align-items: flex-start; }
.sfx-iconboxes--card .sfx-iconbox {
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--sfx-border);
  border-radius: calc(var(--sfx-radius) * 2);
  background: var(--sfx-main-bg);
  text-align: center;
  transition: box-shadow .2s ease, transform .2s ease;
}
.sfx-iconboxes--card .sfx-iconbox__icon { margin-bottom: 1rem; }
.sfx-iconboxes--card .sfx-iconbox.is-linked:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, .08); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .sfx-iconboxes--card .sfx-iconbox { transition: none; }
  .sfx-iconboxes--card .sfx-iconbox.is-linked:hover { transform: none; }
}

/* Tabs / Accordion */
.sfx-tabs__nav { --bs-nav-link-color: var(--sfx-nav-link); --bs-nav-link-hover-color: var(--sfx-nav-active); font-family: var(--sfx-font-display); font-size: 1.0625rem; }
.sfx-tabs__nav.nav-tabs { --bs-nav-tabs-link-active-color: var(--sfx-heading); --bs-nav-tabs-link-active-border-color: var(--sfx-border) var(--sfx-border) var(--sfx-main-bg); }
.sfx-tabs__nav.nav-tabs .nav-link.active { border-top: 2px solid var(--sfx-accent); }
.sfx-tabs__nav.nav-pills { --bs-nav-pills-link-active-bg: var(--sfx-accent-strong); --bs-nav-pills-link-active-color: #ffffff; gap: .5rem; }
.sfx-tabs__content { padding: 1.5rem 0 0; }
.sfx-tabs--scroll .sfx-tabs__nav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
.sfx-tabs--scroll .sfx-tabs__nav .nav-link { white-space: nowrap; }
.sfx-accordion {
  --bs-accordion-active-color: var(--sfx-heading);
  --bs-accordion-active-bg: rgba(227, 71, 53, .08);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(156, 36, 22, .35);
}
.sfx-accordion .accordion-header { margin: 0; font-size: 1rem; }
.sfx-accordion .accordion-button { font-family: var(--sfx-font-display); font-size: 1.0625rem; }

/* Preisboxen */
.sfx-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 2rem 1.5rem 1.5rem;
  border: 1px solid var(--sfx-border);
  border-radius: calc(var(--sfx-radius) * 2);
  background: var(--sfx-main-bg);
}
.sfx-price-card.is-highlight { border: 2px solid var(--sfx-accent); box-shadow: 0 8px 24px rgba(227, 71, 53, .15); }
.sfx-price-card__badge {
  position: absolute;
  top: 0;
  left: 50%;
  margin: 0;
  padding: .25rem .875rem;
  border-radius: 999px;
  background: var(--sfx-accent-strong);
  color: #ffffff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
}
.sfx-price-card__name { margin-bottom: .5rem; font-size: 1.375rem; text-align: center; }
.sfx-price-card__price { margin-bottom: .75rem; text-align: center; }
.sfx-price-card__amount { color: var(--sfx-heading); font-family: var(--sfx-font-display); font-size: 2.5rem; font-weight: 700; line-height: 1.1; }
.sfx-price-card__interval { display: block; color: var(--sfx-text-muted); font-size: .875rem; }
.sfx-price-card__desc { color: var(--sfx-text-muted); text-align: center; }
.sfx-price-card__features { flex: 1 1 auto; margin: 0 0 1.5rem; padding: 1rem 0 0; border-top: 1px solid var(--sfx-border); list-style: none; }
.sfx-price-card__features li { display: flex; gap: .625rem; padding: .3125rem 0; }
.sfx-price-card__features i { margin-top: .25rem; width: 1rem; }
.sfx-price-card__features .is-included i { color: var(--sfx-accent); }
.sfx-price-card__features .is-excluded { color: var(--sfx-text-muted); }
.sfx-price-card__features .is-excluded i { color: var(--sfx-text-muted); }
.sfx-price-card__cta { margin: 0; }
.sfx-pricing__note { margin: 1.5rem 0 0; color: var(--sfx-text-muted); font-size: .8125rem; text-align: center; }

/* Trenner */
.sfx-divider { position: relative; }
.sfx-divider--space-s { margin-block: 1rem; }
.sfx-divider--space-m { margin-block: 2rem; }
.sfx-divider--space-l { margin-block: 3.5rem; }
.sfx-divider--line, .sfx-divider--dashed, .sfx-divider--dotted, .sfx-divider--icon { border-top: 1px solid var(--sfx-border); }
.sfx-divider--dashed { border-top-style: dashed; }
.sfx-divider--dotted { border-top: 3px dotted var(--sfx-border); }
.sfx-divider--accent { border-top-color: var(--sfx-accent); }
.sfx-divider--icon { display: flex; justify-content: center; }
.sfx-divider__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: -1.25rem;
  border-radius: 50%;
  background: var(--sfx-main-bg);
  color: var(--sfx-accent);
  font-size: 1.125rem;
}
.sfx-divider--shape { line-height: 0; }
.sfx-divider__svg { display: block; width: 100%; height: clamp(40px, 6vw, 90px); }
.sfx-divider__svg.is-flipped { transform: scaleX(-1); }
.sfx-fill-white  { fill: var(--sfx-main-bg); }
.sfx-fill-light  { fill: #fbfbfb; }
.sfx-fill-grey   { fill: var(--sfx-section-grey-bg); }
.sfx-fill-dark   { fill: var(--sfx-dark-bg); }
.sfx-fill-accent { fill: var(--sfx-accent-strong); }
[data-bs-theme="dark"] .sfx-fill-light { fill: #232629; }
.sfx-bg-light.sfx-divider--shape { border-bottom: 0; }

/* ==========================================================================
   15. Hero-Slider (Slider Revolution 5.4.8)
   ========================================================================== */
.sfx-rs { position: relative; background: var(--sfx-slider-bg); }
.sfx-hero--h360 { min-height: 360px; }
.sfx-hero--h440 { min-height: 440px; }
.sfx-hero--h520 { min-height: 520px; }
.sfx-hero--h600 { min-height: 600px; }
@media (max-width: 777.98px) {
  .sfx-hero--h360, .sfx-hero--h440, .sfx-hero--h520, .sfx-hero--h600 { min-height: 380px; }
}

/* Statischer Fallback (ohne JS bzw. bis der Slider bereit ist) */
.sfx-hero-fallback { position: relative; display: flex; align-items: center; overflow: hidden; color: #ffffff; }
.sfx-hero-fallback__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.sfx-hero-fallback__bg.sfx-bgpos--center { object-position: center; }
.sfx-hero-fallback__bg.sfx-bgpos--centerbottom { object-position: center bottom; }
.sfx-hero-fallback__bg.sfx-bgpos--lefttop { object-position: left top; }
.sfx-hero-fallback__bg.sfx-bgpos--righttop { object-position: right top; }
.sfx-hero-fallback::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.sfx-hero-fallback__inner { position: relative; z-index: 1; padding-block: 2.5rem; }
.sfx-rs.is-ready .sfx-hero-fallback { display: none; }
.sfx-rs__wrapper[hidden] { display: none !important; }
.sfx-rs:not(.is-ready) .sfx-rs__wrapper { position: absolute; inset: 0; opacity: 0; }

/* Abdunklung (Overlay) – links stärker, damit der Text sicher lesbar ist */
.sfx-rs-overlay--20::after, .sfx-rs-overlay.sfx-rs-overlay--20 { background: linear-gradient(90deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .1) 70%); }
.sfx-rs-overlay--35::after, .sfx-rs-overlay.sfx-rs-overlay--35 { background: linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .2) 75%); }
.sfx-rs-overlay--50::after, .sfx-rs-overlay.sfx-rs-overlay--50 { background: linear-gradient(90deg, rgba(0, 0, 0, .68) 0%, rgba(0, 0, 0, .35) 80%); }
.sfx-rs-overlay--65::after, .sfx-rs-overlay.sfx-rs-overlay--65 { background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .5) 80%); }
.sfx-rs-overlay { z-index: 4; }
@media (max-width: 777.98px) {
  .sfx-rs-overlay--20::after, .sfx-rs-overlay.sfx-rs-overlay--20 { background: rgba(0, 0, 0, .3); }
  .sfx-rs-overlay--35::after, .sfx-rs-overlay.sfx-rs-overlay--35 { background: rgba(0, 0, 0, .5); }
  .sfx-rs-overlay--50::after, .sfx-rs-overlay.sfx-rs-overlay--50 { background: rgba(0, 0, 0, .6); }
  .sfx-rs-overlay--65::after, .sfx-rs-overlay.sfx-rs-overlay--65 { background: rgba(0, 0, 0, .7); }
}

/* Textebene (gleiche Gestaltung im Slider und im Fallback) */
.sfx-rs-content { z-index: 6; max-width: 640px; color: #ffffff; text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
.rev_slider .sfx-rs-content { white-space: normal !important; }
.sfx-rs-title {
  margin: 0 0 1rem;
  color: #ffffff;
  font-family: var(--sfx-font-body);
  font-size: clamp(1.75rem, 1rem + 2.6vw, 2.875rem);
  font-weight: 300;
  line-height: 1.2;
}
.sfx-rs-text { margin: 0 0 1.5rem; font-size: clamp(1rem, .9rem + .4vw, 1.125rem); line-height: 1.45; }
.sfx-rs-layerimg { z-index: 5; }
@media (max-width: 777.98px) {
  .sfx-hero-fallback__inner .sfx-rs-content { margin-inline: auto; text-align: center; }
}

/* Button im Stil des Originals (.btn-soft) – Kontrast über Abdunklung gesichert */
.btn-soft,
.rev_slider_wrapper a.btn-soft {
  display: inline-block;
  padding: .5rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: var(--sfx-radius);
  background: rgba(0, 0, 0, .35);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  text-shadow: none;
  transition: background-color .2s ease;
}
.btn-soft:hover,
.rev_slider_wrapper a.btn-soft:hover { background: var(--sfx-accent-strong); border-color: var(--sfx-accent-strong); color: #ffffff; }
.btn-soft:focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; }

/* Eigene Bedienelemente */
.sfx-rs__controls {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  display: flex;
  gap: .375rem;
}
.sfx-rs:not(.is-ready) .sfx-rs__controls { display: none; }
/* Sobald der Slider läuft, bestimmt er die Höhe selbst. Die Mindesthöhe gilt nur für den statischen Fallback;
   sonst wäre der Wrapper höher als der Slider und die Buttons rutschten in den nächsten Abschnitt. */
.sfx-rs.is-ready .sfx-rs__wrapper { min-height: 0; }
/* Smartphone/Tablet hochkant: Buttons unter der Folie statt über dem Text */
@media (max-width: 777.98px) {
  .sfx-rs.is-ready { padding-bottom: 3.75rem; }
  .sfx-rs__controls { top: 100%; right: 50%; bottom: auto; margin-top: .5rem; transform: translateX(50%); }
}
.sfx-rs__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #ffffff;
}
.sfx-rs__btn:hover { background: var(--sfx-accent-strong); border-color: var(--sfx-accent-strong); }
.sfx-rs__btn:focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; }
.rev_slider .sfx-rs-content * { white-space: normal !important; }

/* ==========================================================================
   16. Module (Etappe 3): CTA, Logos, Hotspot, Vorher/Nachher, Portfolio, Lightbox, Formulare, Login
   ========================================================================== */

/* Call-to-Action */
.sfx-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.sfx-cta__text { flex: 1 1 18rem; min-width: 0; }
.sfx-cta__title { margin: 0; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.625rem); }
.sfx-cta__sub { margin: .25rem 0 0; color: var(--sfx-text-muted); }
.sfx-cta__icon {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--sfx-accent); color: #ffffff; font-size: 1.5rem;
}
.sfx-cta__link { font-weight: 700; color: var(--sfx-link); text-decoration: none; white-space: nowrap; }
.sfx-cta__link:hover, .sfx-cta__link:focus-visible { color: var(--sfx-link-hover); text-decoration: underline; }
.sfx-cta--promo { padding: 1.25rem 1.5rem; border: 1px solid var(--sfx-border); border-left: 4px solid var(--sfx-accent); border-radius: var(--sfx-radius); background: var(--sfx-main-bg); }
.sfx-cta--band, .sfx-cta--dark { padding: 1.75rem 2rem; border-radius: var(--sfx-radius); }
.sfx-cta--band { background: var(--sfx-accent-strong); color: #ffffff; }
.sfx-cta--dark { background: var(--sfx-dark-bg); color: var(--sfx-dark-text); }
.sfx-cta--band .sfx-cta__title, .sfx-cta--dark .sfx-cta__title { color: #ffffff; }
.sfx-cta--band .sfx-cta__sub, .sfx-cta--dark .sfx-cta__sub { color: inherit; }
.sfx-cta--band .sfx-cta__icon { background: rgba(255, 255, 255, .18); }
.sfx-cta__btn { --bs-btn-font-weight: 700; }
.sfx-cta--band .sfx-cta__btn { --bs-btn-bg: #ffffff; --bs-btn-color: #9c2416; --bs-btn-border-color: #ffffff; --bs-btn-hover-bg: #f3f3f3; --bs-btn-hover-color: #7d1c11; --bs-btn-hover-border-color: #f3f3f3; }
.sfx-cta--dark .sfx-cta__btn { --bs-btn-bg: var(--sfx-accent-strong); --bs-btn-color: #ffffff; --bs-btn-border-color: var(--sfx-accent-strong); --bs-btn-hover-bg: var(--sfx-accent-strong-hover); --bs-btn-hover-color: #ffffff; --bs-btn-hover-border-color: var(--sfx-accent-strong-hover); }
.sfx-cta--band a:focus-visible, .sfx-cta--dark a:focus-visible { outline-color: var(--sfx-focus-on-dark); }
@media (max-width: 575.98px) {
  .sfx-cta--band, .sfx-cta--dark { padding: 1.25rem; }
  .sfx-cta__btn { width: 100%; }
}

/* Kundenlogos */
.sfx-logos__item {
  display: flex; align-items: center; justify-content: center; height: 100%; min-height: 6rem; padding: 1rem;
  border: 1px solid var(--sfx-border); border-radius: var(--sfx-radius); background: #ffffff;
}
.sfx-logos__img { max-width: 100%; max-height: 4.5rem; width: auto; height: auto; object-fit: contain; }
.sfx-logos.is-greyscale .sfx-logos__img { filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.sfx-logos.is-greyscale .sfx-logos__item:hover .sfx-logos__img,
.sfx-logos.is-greyscale .sfx-logos__item:focus-visible .sfx-logos__img { filter: none; opacity: 1; }

/* Hotspot-Bild – ohne JS: Bild + nummerierte Liste; mit JS: Marker auf dem Bild */
.sfx-hotspot__stage { position: relative; }
.sfx-hotspot__img { display: block; width: 100%; height: auto; border-radius: var(--sfx-radius); }
.sfx-hotspot__point { display: none; }
.sfx-hotspot.is-enhanced .sfx-hotspot__point { display: block; position: absolute; transform: translate(-50%, -50%); z-index: 1; }
.sfx-hotspot.is-enhanced .sfx-hotspot__point:has([aria-expanded="true"]) { z-index: 3; }
.sfx-hotspot__marker {
  display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; padding: 0;
  border: 2px solid #ffffff; border-radius: 50%; background: var(--sfx-accent-strong); color: #ffffff;
  font-weight: 700; font-size: 1.125rem; line-height: 1; box-shadow: 0 2px 6px rgba(0, 0, 0, .35); cursor: pointer;
}
.sfx-hotspot__marker:hover, .sfx-hotspot__marker[aria-expanded="true"] { background: var(--sfx-accent-strong-hover); }
.sfx-hotspot__marker:focus-visible { outline: 3px solid var(--sfx-focus); outline-offset: 2px; }
.sfx-hotspot--pulse .sfx-hotspot__marker { animation: sfx-pulse 2.4s ease-out infinite; }
@keyframes sfx-pulse {
  0% { box-shadow: 0 0 0 0 rgba(227, 71, 53, .6), 0 2px 6px rgba(0, 0, 0, .35); }
  70% { box-shadow: 0 0 0 .85rem rgba(227, 71, 53, 0), 0 2px 6px rgba(0, 0, 0, .35); }
  100% { box-shadow: 0 0 0 0 rgba(227, 71, 53, 0), 0 2px 6px rgba(0, 0, 0, .35); }
}
.sfx-hotspot__panel {
  position: absolute; top: calc(100% + .5rem); left: 50%; transform: translateX(-50%); width: min(18rem, 80vw);
  padding: 1rem 2.25rem 1rem 1rem; border: 1px solid var(--sfx-border); border-radius: var(--sfx-radius);
  background: var(--sfx-main-bg); color: var(--sfx-text); box-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .2); text-align: left;
}
.sfx-hotspot__panel[hidden] { display: none; }
.sfx-hotspot__point.is-right .sfx-hotspot__panel { left: auto; right: -.5rem; transform: none; }
.sfx-hotspot__point.is-bottom .sfx-hotspot__panel { top: auto; bottom: calc(100% + .5rem); }
.sfx-hotspot__close { position: absolute; top: .5rem; right: .5rem; width: 1.5rem; height: 1.5rem; padding: 0; }
.sfx-hotspot__title { margin: 0 0 .35rem; font-family: var(--sfx-font-display); font-size: 1.125rem; color: var(--sfx-heading); }
.sfx-hotspot__text { margin: 0 0 .5rem; font-size: .9375rem; }
.sfx-hotspot__text:last-child { margin-bottom: 0; }
.sfx-hotspot__link { font-weight: 600; }
.sfx-hotspot__list { margin: 1.25rem 0 0; padding-left: 1.5rem; }
.sfx-hotspot__list li + li { margin-top: .5rem; }
.sfx-hotspot.is-enhanced.sfx-hotspot--list-never .sfx-hotspot__list { display: none; }
@media (min-width: 768px) {
  .sfx-hotspot.is-enhanced.sfx-hotspot--list-mobile .sfx-hotspot__list { display: none; }
}
@media (max-width: 575.98px) {
  .sfx-hotspot__marker { width: 2rem; height: 2rem; font-size: 1rem; }
  .sfx-hotspot__panel { width: min(16rem, 70vw); }
}

/* Vorher/Nachher – ohne JS: beide Bilder untereinander; mit JS: überlagert mit Regler */
.sfx-compare { margin: 0; }
.sfx-compare__before, .sfx-compare__after { position: relative; }
.sfx-compare__after { margin-top: 1rem; }
.sfx-compare__img { display: block; width: 100%; height: auto; border-radius: var(--sfx-radius); }
.sfx-compare__label {
  position: absolute; top: .75rem; padding: .2rem .6rem; border-radius: var(--sfx-radius);
  background: rgba(0, 0, 0, .72); color: #ffffff; font-size: .8125rem; font-weight: 600; pointer-events: none;
}
.sfx-compare__label--before { left: .75rem; }
.sfx-compare__label--after { right: .75rem; }
.sfx-compare__handle, .sfx-compare__range { display: none; }
.sfx-compare.is-enhanced .sfx-compare__stage { position: relative; overflow: hidden; border-radius: var(--sfx-radius); touch-action: pan-y; }
.sfx-compare.is-enhanced .sfx-compare__after { position: absolute; inset: 0; margin: 0; clip-path: inset(0 0 0 var(--sfx-compare-pos, 50%)); }
.sfx-compare.is-enhanced .sfx-compare__after .sfx-compare__img { width: 100%; height: 100%; object-fit: cover; }
.sfx-compare.is-enhanced .sfx-compare__img { border-radius: 0; }
.sfx-compare.is-enhanced .sfx-compare__handle {
  display: flex; align-items: center; justify-content: center; position: absolute; top: 0; bottom: 0;
  left: var(--sfx-compare-pos, 50%); width: 0; pointer-events: none;
}
.sfx-compare.is-enhanced .sfx-compare__handle::before { content: ""; position: absolute; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: #ffffff; box-shadow: 0 0 4px rgba(0, 0, 0, .5); }
.sfx-compare.is-enhanced .sfx-compare__handle i {
  position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 2.75rem; height: 2.75rem; border-radius: 50%; background: #ffffff; color: #9c2416; box-shadow: 0 2px 6px rgba(0, 0, 0, .4);
}
.sfx-compare.is-enhanced .sfx-compare__range {
  display: block; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize;
  -webkit-appearance: none; appearance: none; background: transparent;
}
.sfx-compare.is-enhanced .sfx-compare__range::-webkit-slider-thumb { -webkit-appearance: none; width: 2.75rem; height: 100vh; }
.sfx-compare.is-enhanced .sfx-compare__range::-moz-range-thumb { width: 2.75rem; height: 100vh; border: 0; }
.sfx-compare.is-enhanced .sfx-compare__stage:has(.sfx-compare__range:focus-visible) { outline: 3px solid var(--sfx-focus); outline-offset: 3px; }
.sfx-compare--start-0 { --sfx-compare-pos: 0%; }
.sfx-compare--start-5 { --sfx-compare-pos: 5%; }
.sfx-compare--start-10 { --sfx-compare-pos: 10%; }
.sfx-compare--start-15 { --sfx-compare-pos: 15%; }
.sfx-compare--start-20 { --sfx-compare-pos: 20%; }
.sfx-compare--start-25 { --sfx-compare-pos: 25%; }
.sfx-compare--start-30 { --sfx-compare-pos: 30%; }
.sfx-compare--start-35 { --sfx-compare-pos: 35%; }
.sfx-compare--start-40 { --sfx-compare-pos: 40%; }
.sfx-compare--start-45 { --sfx-compare-pos: 45%; }
.sfx-compare--start-50 { --sfx-compare-pos: 50%; }
.sfx-compare--start-55 { --sfx-compare-pos: 55%; }
.sfx-compare--start-60 { --sfx-compare-pos: 60%; }
.sfx-compare--start-65 { --sfx-compare-pos: 65%; }
.sfx-compare--start-70 { --sfx-compare-pos: 70%; }
.sfx-compare--start-75 { --sfx-compare-pos: 75%; }
.sfx-compare--start-80 { --sfx-compare-pos: 80%; }
.sfx-compare--start-85 { --sfx-compare-pos: 85%; }
.sfx-compare--start-90 { --sfx-compare-pos: 90%; }
.sfx-compare--start-95 { --sfx-compare-pos: 95%; }
.sfx-compare--start-100 { --sfx-compare-pos: 100%; }

/* Portfolio */
.sfx-portfolio__filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.sfx-portfolio__btn {
  --bs-btn-padding-y: .4rem; --bs-btn-padding-x: 1rem; --bs-btn-font-size: .9375rem;
  --bs-btn-color: var(--sfx-text); --bs-btn-bg: transparent; --bs-btn-border-color: var(--sfx-border);
  --bs-btn-hover-color: var(--sfx-link); --bs-btn-hover-bg: transparent; --bs-btn-hover-border-color: var(--sfx-link);
  --bs-btn-active-color: #ffffff; --bs-btn-active-bg: var(--sfx-accent-strong); --bs-btn-active-border-color: var(--sfx-accent-strong);
  border-radius: 2rem;
}
.sfx-portfolio__btn[aria-pressed="true"] { color: #ffffff; background: var(--sfx-accent-strong); border-color: var(--sfx-accent-strong); }
.sfx-portfolio__btn[aria-pressed="true"]::before { content: "\2713\00a0"; }
.sfx-portfolio__item[hidden] { display: none !important; }
.sfx-portfolio__item.is-appearing { animation: sfx-fade-in .35s ease-out both; }
@keyframes sfx-fade-in { from { opacity: 0; transform: translateY(.5rem); } to { opacity: 1; transform: none; } }
.sfx-pf-card { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--sfx-border); border-radius: var(--sfx-radius); background: var(--sfx-main-bg); overflow: hidden; }
.sfx-pf-card__media { position: relative; display: block; overflow: hidden; background: var(--sfx-section-grey-bg); }
.sfx-pf-card__img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; object-position: top center; transition: transform .35s ease; }
.sfx-pf-card__media:hover .sfx-pf-card__img, .sfx-pf-card__media:focus-visible .sfx-pf-card__img { transform: scale(1.04); }
.sfx-pf-card__media:focus-visible { outline: 3px solid var(--sfx-focus); outline-offset: -3px; }
.sfx-pf-card__zoom {
  position: absolute; right: .75rem; bottom: .75rem; display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%; background: rgba(0, 0, 0, .7); color: #ffffff; opacity: .9;
}
.sfx-pf-card__body { padding: 1rem 1.125rem 1.25rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.sfx-pf-card__title { margin: 0 0 .25rem; font-size: 1.125rem; }
.sfx-pf-card__title a { color: var(--sfx-heading); text-decoration: none; }
.sfx-pf-card__title a:hover, .sfx-pf-card__title a:focus-visible { color: var(--sfx-link); text-decoration: underline; }
.sfx-pf-card__tags { margin: 0 0 .5rem; color: var(--sfx-text-muted); font-size: .8125rem; }
.sfx-pf-card__teaser { margin: 0 0 .75rem; font-size: .9375rem; }
.sfx-pf-detail__media { position: relative; display: block; border-radius: var(--sfx-radius); overflow: hidden; }
.sfx-pf-detail__media img { display: block; width: 100%; height: auto; }

/* Lightbox (natives <dialog>) */
.sfx-lightbox { width: min(96vw, 1200px); max-width: none; max-height: 96vh; padding: 0; border: 0; border-radius: var(--sfx-radius); background: #111315; color: #ffffff; }
.sfx-lightbox::backdrop { background: rgba(0, 0, 0, .82); }
.sfx-lightbox__inner { position: relative; padding: 3rem 1rem 1rem; }
.sfx-lightbox__figure { margin: 0; text-align: center; }
.sfx-lightbox__img { max-width: 100%; max-height: calc(96vh - 9rem); width: auto; height: auto; }
.sfx-lightbox__caption { margin-top: .75rem; font-size: .9375rem; }
.sfx-lightbox__nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: .75rem; }
.sfx-lightbox__btn, .sfx-lightbox__close {
  display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0;
  border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; background: transparent; color: #ffffff; font-size: 1.125rem;
}
.sfx-lightbox__btn:hover, .sfx-lightbox__close:hover { background: rgba(255, 255, 255, .15); }
.sfx-lightbox__btn:focus-visible, .sfx-lightbox__close:focus-visible { outline: 3px solid #ffffff; outline-offset: 2px; }
.sfx-lightbox__btn[hidden], .sfx-lightbox__nav[hidden] { display: none; }
.sfx-lightbox__close { position: absolute; top: .5rem; right: .5rem; }
.sfx-lightbox__counter { min-width: 4rem; text-align: center; font-variant-numeric: tabular-nums; }

/* Formulare (YForm, ytemplate „sfx“) */
.sfx-form__note { color: var(--sfx-text-muted); font-size: .875rem; }
.sfx-required { color: var(--sfx-link); font-weight: 700; }
.sfx-form__errors { margin-bottom: 1.5rem; }
.sfx-form__errors:focus { outline: 3px solid var(--sfx-focus); outline-offset: 2px; }
.sfx-form__errors ul { margin: 0; padding-left: 1.25rem; }
.sfx-form__errors a { color: inherit; font-weight: 600; }
.sfx-form__actions { margin-top: 1.5rem; }
.sfx-form__links { margin-top: 1.25rem; font-size: .9375rem; }
.sfx-field .form-control, .sfx-field .form-select { border-color: #8a8d91; }
[data-bs-theme="dark"] .sfx-field .form-control, [data-bs-theme="dark"] .sfx-field .form-select { border-color: #7a7e83; }
.sfx-field--checkbox .form-check-input { width: 1.25em; height: 1.25em; margin-top: .15em; border-color: #8a8d91; }
.sfx-field--checkbox .form-check-label { padding-left: .25rem; }
.sfx-pw-strength { margin-top: .35rem; }
.sfx-pw-strength[data-level="0"], .sfx-pw-strength[data-level="1"] { color: var(--bs-danger-text-emphasis); }
.sfx-pw-strength[data-level="2"] { color: var(--bs-warning-text-emphasis); }
.sfx-pw-strength[data-level="3"], .sfx-pw-strength[data-level="4"] { color: var(--bs-success-text-emphasis); }
/* Honeypot: für Menschen unsichtbar, nicht per display:none (Bots erkennen das) */
.sfx-hp { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* Login-Bereich */
.sfx-ycom .sfx-form__actions .btn { min-width: 12rem; }

@media (prefers-reduced-motion: reduce) {
  .sfx-hotspot--pulse .sfx-hotspot__marker, .sfx-portfolio__item.is-appearing { animation: none; }
  .sfx-pf-card__img, .sfx-logos__img { transition: none; }
  .sfx-pf-card__media:hover .sfx-pf-card__img { transform: none; }
}
@media print {
  .sfx-hotspot__point, .sfx-compare__handle, .sfx-compare__range, .sfx-portfolio__filter { display: none !important; }
  .sfx-compare.is-enhanced .sfx-compare__after { position: static; clip-path: none; margin-top: 1rem; }
  .sfx-hotspot.is-enhanced .sfx-hotspot__list { display: block !important; }
}

/* ==========================================================================
   17. Module (Etappe 4): FAQ, Ablauf, Link-Karten
   ========================================================================== */

/* FAQ – natives <details>, wie im Original */
.sfx-faq { border-top: 1px solid var(--sfx-border); }
.sfx-faq__item { border-bottom: 1px solid var(--sfx-border); }
.sfx-faq__q {
  position: relative; display: block; padding: 1rem 2.5rem 1rem 0; cursor: pointer; list-style: none;
  font-family: var(--sfx-font-display); font-size: 1.1875rem; font-weight: 700; color: var(--sfx-heading);
}
.sfx-faq__q::-webkit-details-marker { display: none; }
.sfx-faq__q::after {
  content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem;
  border-radius: 50%; background: var(--sfx-accent-strong); color: #ffffff; font-family: var(--sfx-font-body); font-size: 1.125rem; line-height: 1;
}
.sfx-faq__item[open] > .sfx-faq__q::after { content: "\2212"; }
.sfx-faq__q:hover { color: var(--sfx-link); }
.sfx-faq__q:focus-visible { outline: 3px solid var(--sfx-focus); outline-offset: 2px; }
.sfx-faq__a { padding: 0 0 1.25rem; }

/* Ablauf in Schritten */
.sfx-steps { margin: 0; padding: 0; list-style: none; counter-reset: sfx-step; overflow-x: clip; }
.sfx-steps__item { position: relative; counter-increment: sfx-step; }
.sfx-steps__title { display: block; color: var(--sfx-heading); }
.sfx-steps__text { display: block; margin-top: .25rem; }
.sfx-steps--list .sfx-steps__item { padding: .5rem 0 .5rem 2.5rem; }
.sfx-steps--list .sfx-steps__item::before {
  content: counter(sfx-step) "."; position: absolute; left: 0; top: .5rem; width: 2rem; text-align: right;
  font-weight: 700; color: var(--sfx-link);
}
.sfx-steps--timeline .sfx-steps__item { padding: 0 0 1.5rem 3.5rem; }
.sfx-steps--timeline .sfx-steps__item::before {
  content: counter(sfx-step); position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--sfx-accent-strong); color: #ffffff; font-weight: 700;
}
.sfx-steps--timeline .sfx-steps__item::after {
  content: ""; position: absolute; left: 1.25rem; top: 2.75rem; bottom: .25rem; width: 2px; margin-left: -1px; background: var(--sfx-border);
}
.sfx-steps--timeline .sfx-steps__item:last-child { padding-bottom: 0; }
.sfx-steps--timeline .sfx-steps__item:last-child::after { display: none; }
.sfx-steps--timeline .sfx-steps__title { padding-top: .45rem; font-family: var(--sfx-font-display); font-size: 1.1875rem; }
@media (min-width: 992px) {
  .sfx-steps--timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.5rem; }
  .sfx-steps--timeline .sfx-steps__item { padding: 3.5rem 0 0; }
  .sfx-steps--timeline .sfx-steps__item::after { left: 2.75rem; right: -1.5rem; top: 1.25rem; bottom: auto; width: auto; height: 2px; margin: -1px 0 0; }
  .sfx-steps--timeline .sfx-steps__title { padding-top: 0; }
}

/* Link-Karten (Original: dunkle Karten mit Akzentkante) */
.sfx-linkcard {
  display: flex; flex-direction: column; height: 100%; padding: 1.125rem 1rem; border: 1px solid var(--sfx-border);
  border-left: 3px solid var(--sfx-accent); border-radius: var(--sfx-radius); background: var(--sfx-main-bg); color: var(--sfx-text); text-decoration: none;
  transition: border-color .2s, background-color .2s;
}
a.sfx-linkcard:hover { border-color: var(--sfx-accent); color: var(--sfx-text); }
a.sfx-linkcard:focus-visible { outline: 3px solid var(--sfx-focus); outline-offset: 2px; }
.sfx-linkcard__kicker { margin-bottom: .5rem; color: var(--sfx-link); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sfx-linkcard__title { margin: 0 0 .5rem; font-family: var(--sfx-font-body); font-size: 1rem; font-weight: 700; line-height: 1.45; color: var(--sfx-heading); }
a.sfx-linkcard:hover .sfx-linkcard__title { color: var(--sfx-link); text-decoration: underline; }
.sfx-linkcard__text { font-size: .875rem; color: var(--sfx-text-muted); }
.sfx-linkcard__source { margin-top: auto; padding-top: .75rem; font-size: .8125rem; color: var(--sfx-text-muted); }
.sfx-bg-dark .sfx-linkcard { background: #2c2c2c; border-color: #3a3a3a; border-left-color: var(--sfx-accent); color: #d6d6d6; }
.sfx-bg-dark .sfx-linkcard__title { color: #f0f0f0; }
.sfx-bg-dark .sfx-linkcard__kicker { color: #f08a7e; }
.sfx-bg-dark .sfx-linkcard__text, .sfx-bg-dark .sfx-linkcard__source { color: #b4b4b4; }
.sfx-bg-dark a.sfx-linkcard:hover { background: #333333; }
.sfx-bg-dark a.sfx-linkcard:hover .sfx-linkcard__title { color: #ffffff; }
.sfx-bg-dark a.sfx-linkcard:focus-visible { outline-color: var(--sfx-focus-on-dark); }

@media (prefers-reduced-motion: reduce) {
  .sfx-linkcard { transition: none; }
}

/* ==========================================================================
   18. Button „Nach oben“ (#scrollToTop, von der alten Seite übernommen)
   Alt: dunkles Quadrat rgba(52,56,59,.8) unten rechts, rot beim Hovern.
   ========================================================================== */
.sfx-totop {
  position: fixed;
  right: 20px;
  bottom: calc(20px + var(--sfx-totop-lift, 0px)); /* --sfx-totop-lift: Höhe der sichtbaren Fußzeile (screenfox.js) */
  z-index: 1030;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 3px;
  background: rgba(52, 56, 59, .8);
  color: #ffffff;
  font-size: 1.375rem;
  line-height: 1;
  cursor: pointer;
  visibility: hidden;
  opacity: 0;
  transform: translateY(.5rem);
  transition: opacity .2s ease, transform .2s ease, background-color .2s ease-in-out, visibility 0s linear .2s;
}
.sfx-totop.is-visible {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .2s ease, transform .2s ease, background-color .2s ease-in-out, visibility 0s;
}
.sfx-totop:hover,
.sfx-totop:focus-visible { background: var(--sfx-accent); color: #ffffff; }
.sfx-totop:focus-visible { outline: 3px solid var(--sfx-focus); outline-offset: 2px; }
[data-bs-theme="dark"] .sfx-totop { border-color: rgba(255, 255, 255, .25); }

@media (prefers-reduced-motion: reduce) {
  .sfx-totop, .sfx-totop.is-visible { transition: none; transform: none; }
}
@media print {
  .sfx-totop { display: none !important; }
}

/* ==========================================================================
   19. Suche (Search it): Suchfeld im Header, Modul 18 Suchformular und Treffer
   ========================================================================== */
.sfx-search-form { margin: 0 0 1.5rem; }
.sfx-search-form .form-label { display: block; margin-bottom: .375rem; color: var(--sfx-heading); font-weight: 600; }
.sfx-search-form__row { display: flex; gap: .5rem; }
.sfx-search-form__row .form-control { flex: 1 1 auto; min-width: 0; min-height: 2.75rem; border-color: #8a8e92; }
[data-bs-theme="dark"] .sfx-search-form__row .form-control { border-color: #6f7378; }
.sfx-search-form__btn { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .5rem; min-height: 2.75rem; }
/* Kompaktes Feld im Header-Dropdown */
.sfx-header-search__panel { width: 22rem; padding: 1rem; }
.sfx-header-search .dropdown-menu[data-bs-popper="static"] { top: calc(100% + .5rem); right: 0; left: auto; margin: 0; }
/* Schmale Bildschirme: Panel über die ganze Inhaltsbreite unter dem Header */
@media (max-width: 575.98px) {
  .sfx-header__inner { position: relative; }
  .sfx-header-search { position: static; }
  .sfx-header-search .dropdown-menu[data-bs-popper="static"] { top: calc(100% - .25rem); right: 1rem; left: 1rem; width: auto; }
}
.sfx-search-form--compact { margin: 0; }
.sfx-search-form--compact .form-label { font-size: .875rem; }
.sfx-search-form--compact .sfx-search-form__btn { justify-content: center; min-width: 2.75rem; }

.sfx-search { margin-top: .5rem; }
.sfx-search__summary { margin: 0 0 1rem; font-size: 1.375rem; }
.sfx-search__page { color: var(--sfx-text-muted); font-size: .875em; font-weight: 400; }
.sfx-search__message { margin: 0 0 .75rem; }
.sfx-search__results { margin: 0 0 1.5rem; padding: 0; list-style: none; }
.sfx-search-hit {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--sfx-border);
}
.sfx-search-hit:last-child { border-bottom: 1px solid var(--sfx-border); }
.sfx-search-hit__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--sfx-accent);
  color: #ffffff;
}
.sfx-search-hit__thumb { flex: 0 0 auto; width: 96px; height: 72px; border: 1px solid var(--sfx-border); border-radius: var(--sfx-radius); object-fit: cover; background: var(--sfx-section-grey-bg); }
.sfx-search-hit__body { min-width: 0; }
.sfx-search-hit__title { margin: 0 0 .25rem; font-size: 1.1875rem; line-height: 1.3; overflow-wrap: anywhere; }
.sfx-search-hit__title a { text-decoration: underline; text-underline-offset: .15em; }
.sfx-search-hit__meta { margin: 0 0 .375rem; color: var(--sfx-text-muted); font-size: .875rem; }
.sfx-search-hit__text { margin: 0; overflow-wrap: anywhere; }
.sfx-search mark,
.sfx-search-hit mark { padding: 0; border-radius: 2px; background: #fff0b3; color: inherit; }
[data-bs-theme="dark"] .sfx-search mark,
[data-bs-theme="dark"] .sfx-search-hit mark { background: #5c4a00; color: #ffffff; }
.sfx-search-hit__title mark { color: inherit; }

/* Blättern */
.sfx-search__pager .pagination {
  --bs-pagination-color: var(--sfx-link);
  --bs-pagination-hover-color: var(--sfx-link-hover);
  --bs-pagination-bg: var(--sfx-main-bg);
  --bs-pagination-border-color: var(--sfx-border);
  --bs-pagination-hover-bg: var(--sfx-section-grey-bg);
  --bs-pagination-hover-border-color: var(--sfx-border);
  --bs-pagination-focus-box-shadow: 0 0 0 3px var(--sfx-focus);
  --bs-pagination-active-bg: var(--sfx-accent-strong);
  --bs-pagination-active-border-color: var(--sfx-accent-strong);
  --bs-pagination-active-color: #ffffff;
  flex-wrap: wrap;
  gap: .25rem;
  margin: 0;
}
.sfx-search__pager .page-link { min-width: 2.75rem; min-height: 2.75rem; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--sfx-radius) !important; }

@media (max-width: 575.98px) {
  .sfx-search-hit { gap: .75rem; }
  .sfx-search-hit__thumb { width: 72px; height: 54px; }
  .sfx-search-form:not(.sfx-search-form--compact) .sfx-search-form__btn .fa-magnifying-glass { display: none; }
}
@media print {
  .sfx-header-search, .sfx-search-form, .sfx-search__pager { display: none !important; }
}

