/*
 * Jupix CMS – Grundaussehen der Website (Kern): Kopf, Fuß, alle Abschnitte. Mobile first.
 * Alles hier richtet sich nach den Grundwerten (CSS-Variablen). Die Werte kommen aus dem aktiven Theme
 * (public/themes/<name>/theme.json → /theme-variables.css); das Theme verfeinert danach mit eigenem theme.css.
 * Neue Abschnitte nutzen nur diese Variablen – dann passen sie in jedes Theme.
 */

/* ---------- Grundwerte (Fallback, falls theme-variables.css fehlt) ---------- */
:root {
  --color-primary: #1fb3e0;
  --color-accent: #7a4fd8;
  --color-dark: #1b1e25;
  --color-light: #ffffff;
  --color-text: #4a505c;
  --color-muted: #8b919d;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-heading: var(--font-body);

  --container: 1140px;
  --gutter: 16px;
  --header-h: 64px;
  --edge: clamp(28px, 6vw, 80px);
  --space: 64px;
  --radius: 3px;
  --line: #e6e8ec;
  --heading-color: var(--color-dark);

  /* Stil der Abschnitt-Überschriften und Buttons (im Theme unter "tokens" einstellbar) */
  --title-weight: 300;
  --title-transform: uppercase;
  --title-spacing: 0.03em;
  --button-transform: uppercase;
  --button-spacing: 0.1em;
  --head-divider: block;
}

@media (min-width: 640px) {
  :root {
    --gutter: 24px;
  }
}

@media (min-width: 960px) {
  :root {
    --space: 96px;
    --header-h: 72px;
  }
}

/* ---------- Basis ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-light);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: var(--color-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

h1,
h2,
h3 {
  margin: 0 0 0.6em;
  color: var(--heading-color);
  font-family: var(--font-heading);
  line-height: 1.2;
}

p {
  margin: 0 0 1em;
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.jx-icon {
  width: 1.5em;
  height: 1.5em;
  flex: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.85em 1.7em;
  border: 2px solid transparent;
  border-radius: var(--radius);
  /* Auch <button> (z. B. Formular) übernimmt die Schrift des Themes */
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: var(--button-spacing);
  text-decoration: none;
  text-transform: var(--button-transform);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.btn svg {
  width: 1.3em;
  height: 1.3em;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  background: color-mix(in srgb, var(--color-primary) 85%, #000);
}

/* Auf farbigem Hintergrund wird der Haupt-Button weiß, damit er sichtbar bleibt. */
.jx-bg--accent .btn--primary {
  background: #fff;
  color: var(--color-primary);
}

.jx-bg--accent .btn--primary:hover {
  background: rgba(255, 255, 255, 0.88);
}

.btn--ghost {
  border-color: currentColor;
  color: inherit;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--small {
  padding: 0.6em 1.2em;
}

.btn--large {
  padding: 1.05em 2.2em;
  font-size: 0.85rem;
}

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  transition: box-shadow 0.2s;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: var(--color-dark);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
}

img.site-logo__image {
  width: auto;
  max-width: 200px;
  max-height: 44px;
}

/* Telefon-Knopf im Kopfbereich (Design-Einstellung): am Handy als Anruf-Symbol neben dem Menü-Knopf */
.site-header__call {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: auto;
  color: var(--color-primary);
}

.site-header__call svg {
  width: 24px;
  height: 24px;
}

.site-nav__phone .btn {
  white-space: nowrap;
}

/* Menüeintrag „als Knopf hervorheben“: bleibt ein Knopf (nicht wie die übrigen Menü-Links) */
.site-nav .site-nav__button .btn {
  display: inline-flex;
  margin: 12px 0 4px;
  padding: 0.85em 1.5em;
  border: 2px solid transparent;
  color: #fff;
  white-space: nowrap;
}

.site-nav .site-nav__button .btn:hover,
.site-nav .site-nav__button .btn[aria-current="page"] {
  color: #fff;
}

@media (min-width: 900px) {
  .site-header__call {
    display: none;
  }

  .site-nav__phone,
  .site-nav__button {
    margin-left: 8px;
  }

  .site-nav .site-nav__button .btn {
    margin: 0;
    padding: 0.7em 1.3em;
  }
}

/* Fußbereich „Logo und Links“ */
.site-footer__logo img.site-logo__image {
  max-height: 36px;
}

.site-logo__mark {
  width: 26px;
  height: 26px;
  color: var(--color-accent);
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--color-dark);
  cursor: pointer;
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
}

.nav-toggle__close,
.nav-toggle[aria-expanded="true"] .nav-toggle__open {
  display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
  display: block;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.site-header.is-open .site-nav {
  display: block;
}

.site-nav ul {
  margin: 0;
  padding: 8px var(--gutter) 16px;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--color-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-primary);
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .site-nav,
  .site-header.is-open .site-nav {
    display: block;
    position: static;
    background: none;
    box-shadow: none;
  }

  .site-nav ul {
    display: flex;
    gap: 28px;
    padding: 0;
  }

  .site-nav a {
    padding: 6px 0;
    border: 0;
    font-size: 0.72rem;
  }
}

/* ---------- Kopfbereich: Varianten (Admin → Design; Klasse am <body>) ----------
 * top: wie oben · transparent · topbar · centered · sidebar-left/-right · overlay · none
 * Am Handy (unter 900 px) sehen alle Varianten mit Menü gleich aus: Logo + Menü-Knopf. */

/* Infoleiste über dem Kopfbereich */
.site-topbar {
  background: var(--color-dark);
  color: color-mix(in srgb, var(--color-light) 78%, var(--color-dark));
  font-size: 0.78rem;
}

.site-topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 24px;
  min-height: 36px;
  padding-block: 6px;
}

.site-topbar__info,
.site-topbar__contact {
  margin: 0;
}

.site-topbar__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  padding: 0;
  list-style: none;
}

.site-topbar__info,
.site-topbar a {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
}

.site-topbar a {
  color: inherit;
  text-decoration: none;
}

.site-topbar a:hover {
  color: #fff;
}

.site-topbar svg {
  flex: none;
  width: 15px;
  height: 15px;
  color: var(--color-accent);
}

@media (min-width: 760px) {
  .site-topbar__inner {
    justify-content: space-between;
  }

  .site-topbar__contact {
    margin-left: auto;
  }
}

/* Durchsichtig über dem ersten Abschnitt (nur wenn dieser dunkel ist, sonst gilt „oben“) */
.jx-header--transparent .site-header {
  margin-bottom: calc(-1 * var(--header-h));
  background: transparent;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.jx-header--transparent .site-header.is-scrolled,
.jx-header--transparent .site-header.is-open {
  background: rgba(255, 255, 255, 0.97);
}

.jx-header--transparent .site-header:not(.is-scrolled):not(.is-open) .site-logo,
.jx-header--transparent .site-header:not(.is-scrolled):not(.is-open) .nav-toggle {
  color: #fff;
}

.jx-header--transparent main > .jx-s:first-child {
  padding-top: calc(var(--space) + var(--header-h));
}

.jx-header--transparent main > .jx-s--hero_slider:first-child {
  padding-top: 0;
}

.jx-header--transparent main > .jx-s--hero_slider:first-child .hero__slide {
  padding-top: var(--header-h);
}

@media (min-width: 900px) {
  .jx-header--transparent .site-header:not(.is-scrolled) .site-nav a {
    color: rgba(255, 255, 255, 0.88);
  }

  .jx-header--transparent .site-header:not(.is-scrolled) .site-nav a:hover,
  .jx-header--transparent .site-header:not(.is-scrolled) .site-nav a[aria-current="page"] {
    color: #fff;
  }
}

/* Logo mittig, Menü darunter */
@media (min-width: 900px) {
  :root:has(> body.jx-header--centered) {
    --header-h: 116px;
  }

  .jx-header--centered .site-header__inner {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding-block: 16px 12px;
  }

  .jx-header--centered .site-nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 32px;
  }
}

/* Seitenleiste links oder rechts (ab 1100 px; darunter wie „oben“) */
.site-header .site-header__social {
  display: none;
}

@media (min-width: 1100px) {
  :root:has(> body.jx-header--sidebar-left),
  :root:has(> body.jx-header--sidebar-right) {
    --sidebar-w: 260px;
    scroll-padding-top: 8px;
  }

  .jx-header--sidebar-left {
    padding-left: var(--sidebar-w);
  }

  .jx-header--sidebar-right {
    padding-right: var(--sidebar-w);
  }

  .jx-header--sidebar-left .site-header,
  .jx-header--sidebar-right .site-header {
    position: fixed;
    top: 0;
    bottom: 0;
    width: var(--sidebar-w);
    overflow-y: auto;
    box-shadow: 1px 0 0 var(--line);
  }

  .jx-header--sidebar-left .site-header {
    left: 0;
  }

  .jx-header--sidebar-right .site-header {
    right: 0;
    box-shadow: -1px 0 0 var(--line);
  }

  .jx-header--sidebar-left .site-header__inner,
  .jx-header--sidebar-right .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 40px;
    height: 100%;
    min-height: 0;
    padding: 40px 32px 32px;
  }

  .jx-header--sidebar-left .site-logo__mark,
  .jx-header--sidebar-right .site-logo__mark {
    flex: none;
  }

  .jx-header--sidebar-left .site-nav ul,
  .jx-header--sidebar-right .site-nav ul {
    flex-direction: column;
    gap: 2px;
  }

  .jx-header--sidebar-left .site-nav a,
  .jx-header--sidebar-right .site-nav a {
    padding: 8px 0;
    font-size: 0.78rem;
  }

  .site-header .site-header__social {
    display: flex;
    margin-top: auto;
    margin-left: -8px;
    color: var(--color-dark);
  }
}

/* Nur Menü-Knopf mit Vollbild-Menü (auf allen Bildschirmgrößen) */
.jx-header--overlay .site-header .nav-toggle {
  display: grid;
  position: relative;
  z-index: 2;
}

.jx-header--overlay .site-header .site-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  overflow-y: auto;
  background: var(--color-dark);
  box-shadow: none;
}

.jx-header--overlay .site-header.is-open .site-nav {
  display: grid;
  place-items: center;
}

.jx-header--overlay .site-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: calc(var(--header-h) + 24px) var(--gutter) 48px;
}

.jx-header--overlay .site-nav a {
  padding: 8px 0;
  border: 0;
  color: #fff;
  font-size: clamp(1.15rem, 3vw, 1.8rem);
  letter-spacing: 0.06em;
}

.jx-header--overlay .site-nav a:hover,
.jx-header--overlay .site-nav a[aria-current="page"] {
  color: var(--color-accent);
}

.jx-header--overlay .site-header.is-open .site-logo,
.jx-header--overlay .site-header.is-open .nav-toggle {
  position: relative;
  z-index: 2;
  color: #fff;
}

/* Logo im Menü (nur „Nur Menü-Knopf“): standardmäßig aus – ein Theme kann es zeigen, z. B. bei einem Menü von der Seite */
.site-nav__logo {
  display: none;
}

html.jx-nav-locked {
  overflow: hidden;
}

/* ---------- Abschnitte: Abstände, Hintergründe, Kanten ---------- */
.jx-s {
  position: relative;
  isolation: isolate;
  padding-block: var(--space);
}

.jx-space--compact {
  --space: 40px;
}

.jx-space--large {
  --space: 128px;
}

@media (max-width: 959px) {
  .jx-space--large {
    --space: 88px;
  }
}

.jx-bg--light {
  background: var(--color-light);
}

.jx-bg--dark {
  --heading-color: #fff;
  background: var(--color-dark);
  color: color-mix(in srgb, var(--color-light) 72%, var(--color-dark));
}

.jx-bg--accent {
  --heading-color: #fff;
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.9);
}

.jx-bg--image {
  --heading-color: #fff;
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.88);
}

.jx-bg--dark a,
.jx-bg--accent a,
.jx-bg--image a:not(.btn) {
  color: #fff;
}

.jx-s__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.jx-s__bg picture,
.jx-s__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jx-s__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  /* Abdunklung im Farbton der dunklen Theme-Farbe */
  background: color-mix(in srgb, var(--color-dark) 70%, #000);
  opacity: var(--overlay, 0.4);
}

.jx-overlay--0 { --overlay: 0; }
.jx-overlay--10 { --overlay: 0.1; }
.jx-overlay--20 { --overlay: 0.2; }
.jx-overlay--30 { --overlay: 0.3; }
.jx-overlay--40 { --overlay: 0.4; }
.jx-overlay--50 { --overlay: 0.5; }
.jx-overlay--60 { --overlay: 0.6; }
.jx-overlay--70 { --overlay: 0.7; }
.jx-overlay--80 { --overlay: 0.8; }

/*
 * Kanten: ein gemeinsames Polygon. Jede Kanten-Klasse setzt nur ihre Werte, so lassen sich oben und unten
 * frei kombinieren. Die Punkte neben der Mitte (± --nt/--nb) bilden die kleine Kerbe; ohne Kerbe liegen sie
 * auf der Linie und fallen nicht auf.
 */
.jx-s:not(.jx-edge-top--none),
.jx-s:not(.jx-edge-bottom--none) {
  clip-path: polygon(
    0 var(--tl, 0px),
    calc(50% - var(--nt, 0px)) var(--tm, 0px),
    50% calc(var(--tm, 0px) + var(--nt, 0px)),
    calc(50% + var(--nt, 0px)) var(--tm, 0px),
    100% var(--tr, 0px),
    100% calc(100% - var(--br, 0px)),
    calc(50% + var(--nb, 0px)) calc(100% - var(--bm, 0px)),
    50% calc(100% - var(--bm, 0px) - var(--nb, 0px)),
    calc(50% - var(--nb, 0px)) calc(100% - var(--bm, 0px)),
    0 calc(100% - var(--bl, 0px))
  );
}

.jx-edge-top--slant-left { --tl: var(--edge); --tm: calc(var(--edge) / 2); }
.jx-edge-top--slant-right { --tr: var(--edge); --tm: calc(var(--edge) / 2); }
.jx-edge-top--chevron { --tm: var(--edge); }
.jx-edge-bottom--slant-left { --bl: var(--edge); --bm: calc(var(--edge) / 2); }
.jx-edge-bottom--slant-right { --br: var(--edge); --bm: calc(var(--edge) / 2); }
.jx-edge-bottom--chevron { --bl: var(--edge); --br: var(--edge); }

/* Kerbe: kleines Dreieck in der Mitte – oben zeigt der Abschnitt davor hinein, unten der danach */
.jx-edge-top--notch { --nt: var(--notch, 16px); }
.jx-edge-bottom--notch { --nb: var(--notch, 16px); }

.jx-s:not(.jx-edge-top--none) {
  z-index: 1;
  margin-top: calc(var(--edge) * -1);
  padding-top: calc(var(--space) + var(--edge));
}

.jx-s:not(.jx-edge-bottom--none) {
  padding-bottom: calc(var(--space) + var(--edge));
}

/* Die Kerbe braucht nur ihre eigene Tiefe als Überlappung */
.jx-s.jx-edge-top--notch {
  margin-top: calc(var(--notch, 16px) * -1);
  padding-top: calc(var(--space) + var(--notch, 16px));
}

.jx-s.jx-edge-bottom--notch {
  z-index: 2;
  padding-bottom: var(--space);
}

.jx-s.jx-edge-bottom--notch + .jx-s {
  margin-top: calc(var(--notch, 16px) * -1);
  padding-top: calc(var(--space) + var(--notch, 16px));
}

/* ---------- Überschriften und Text ---------- */
.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head--divider {
  margin-top: 64px;
}

.section-head::after {
  content: "";
  display: var(--head-divider);
  width: min(100%, 480px);
  height: 1px;
  margin: 28px auto 0;
  background: var(--line);
}

.jx-bg--dark .section-head::after,
.jx-bg--image .section-head::after,
.jx-bg--accent .section-head::after {
  background: rgba(255, 255, 255, 0.2);
}

.section-title,
.banner__title,
.hero__title,
.cta__title {
  font-weight: var(--title-weight);
  letter-spacing: var(--title-spacing);
  text-transform: var(--title-transform);
}

.section-title {
  margin-bottom: 0.5em;
  font-size: clamp(1.45rem, 3.2vw, 2rem);
  text-align: center;
}

.section-title strong,
.banner__title strong,
.hero__title strong,
.cta__title strong {
  font-weight: 700;
}

.section-title--stacked {
  font-weight: 700;
}

.section-title--left {
  text-align: left;
}

.section-intro {
  color: var(--color-muted);
}

.jx-s > .jx-s__inner > .container > .section-title {
  margin-bottom: 40px;
}

.prose > :last-child {
  margin-bottom: 0;
}

.prose ul,
.prose ol {
  margin: 0 0 1em;
  padding-left: 1.3em;
}

.prose li + li {
  margin-top: 0.3em;
}

/* Zwischenüberschriften in langen Texten (z. B. Datenschutzerklärung) */
.prose h3,
.prose h4 {
  margin: 1.6em 0 0.5em;
  line-height: 1.3;
}

.prose h3 {
  font-size: 1.2rem;
}

.prose h4 {
  font-size: 1rem;
}

.prose > :is(h3, h4):first-child {
  margin-top: 0;
}

/* ---------- Hero-Slider ---------- */
.jx-s--hero_slider {
  padding-block: 0;
  border-bottom: 4px solid var(--color-primary);
}

.hero__slide {
  display: flex;
  align-items: center;
  min-height: clamp(460px, 72vh, 620px);
}

.hero__grid {
  display: grid;
  gap: 28px;
  align-items: center;
  padding-block: 56px 72px;
}

.hero__media {
  order: 2;
  justify-self: center;
}

.hero__image img,
.hero__media img {
  width: auto;
  max-height: 300px;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
}

.hero__content {
  text-align: center;
}

.hero__title {
  margin-bottom: 0.4em;
  color: #fff;
  font-size: clamp(1.8rem, 6vw, 3rem);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero__text {
  max-width: 34em;
  margin: 0 auto 1.6em;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.jx-s--hero_slider .jx-slider {
  color: #fff;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 5fr 6fr;
    gap: 64px;
    padding-inline: 72px;
  }

  .hero__grid--text {
    grid-template-columns: 1fr;
  }

  .hero__media {
    order: 0;
  }

  .hero__media img {
    max-height: 480px;
  }

  .hero__content {
    text-align: left;
  }

  .hero__grid--text .hero__content {
    text-align: center;
  }

  .hero__text {
    margin-left: 0;
  }

  .hero__grid--text .hero__text {
    margin-left: auto;
  }
}

/* ---------- Feature-Kacheln ---------- */
.features {
  display: grid;
  gap: 40px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 560px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .features--cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .features--cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature {
  text-align: center;
}

.feature__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  color: var(--heading-color);
}

.feature__title {
  margin-bottom: 0.5em;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature__text {
  font-size: 0.9rem;
}

.feature__text > :last-child {
  margin-bottom: 0;
}

/* ---------- Banner ---------- */
.banner {
  text-align: center;
}

.banner__title {
  margin-bottom: 0.3em;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
}

.banner__text {
  margin-bottom: 1.6em;
  opacity: 0.85;
}

.banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.jx-v--left .banner {
  text-align: left;
}

.jx-v--left .banner__title {
  max-width: 18em;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
}

.jx-v--left .banner__text {
  max-width: 36em;
}

.jx-v--left .banner__actions {
  justify-content: flex-start;
}

/* Brotkrumen-Navigation (Bild-Banner) */
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: inherit;
  gap: 0.4em;
  margin: 0 0 1em;
  padding: 0;
  list-style: none;
  font-size: 0.85rem;
}

.banner .breadcrumb ol {
  justify-content: center;
}

.jx-v--left .banner .breadcrumb ol {
  justify-content: flex-start;
}

.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.4em;
  opacity: 0.6;
}

.breadcrumb a {
  color: inherit;
  opacity: 0.8;
}

.breadcrumb [aria-current] {
  font-weight: 600;
}

/* ---------- Bild-Banner „Im hellen Kasten“ ---------- */
.jx-v--box .banner {
  --heading-color: var(--color-primary);
  width: min(560px, calc(100% - 2 * var(--gutter)));
  margin-inline: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))) auto;
  padding: clamp(24px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-text);
  text-align: left;
}

:is(.jx-bg--image, .jx-bg--accent).jx-v--box .banner .section-eyebrow,
:is(.jx-bg--image, .jx-bg--accent).jx-v--box .text-block .section-eyebrow {
  color: var(--color-primary);
}

:is(.jx-bg--image, .jx-bg--accent).jx-v--box :is(.banner, .text-block) a:not(.btn) {
  color: var(--color-primary);
}

.jx-v--box .banner .breadcrumb ol,
.jx-v--box .banner__actions {
  justify-content: flex-start;
}

/* ---------- Text „Im hellen Kasten“ (rechts, z. B. auf einem Bild) ---------- */
.jx-v--box .text-block {
  max-width: 640px;
  margin-left: auto;
  padding: clamp(24px, 4vw, 44px);
  background: var(--color-light);
  color: var(--color-text);
  text-align: left;
}

.jx-v--box .text-block .section-title {
  --heading-color: var(--color-dark);
  text-align: left;
}

.text-block__action {
  margin: 1.6em 0 0;
}

/* ---------- Preisliste mit Bildern daneben ---------- */
.prices-media {
  display: grid;
  gap: 32px;
}

.prices-media__images {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.prices-media__images img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

@media (min-width: 760px) {
  .prices-media {
    grid-template-columns: minmax(140px, 220px) minmax(0, 1fr);
    gap: 40px;
  }

  .prices-media__images {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
  }
}

.prices__text {
  margin-top: 1em;
  font-size: 0.9rem;
}

/* ---------- Kontakt „Drei Spalten“ ---------- */
.contact-columns {
  display: grid;
  gap: 32px;
}

.contact-columns__title {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.contact-columns__list {
  display: grid;
  gap: 6px;
  margin: 1.2em 0 0;
  padding: 0;
  list-style: none;
}

.contact-columns__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.contact-columns__icon {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--color-primary);
}

.contact-columns__media img {
  width: 100%;
  object-fit: cover;
}

@media (min-width: 900px) {
  .contact-columns {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
  }
}

/* ---------- Team ---------- */
.team {
  display: grid;
  gap: 40px;
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  text-align: center;
}

@media (min-width: 640px) {
  .team {
    grid-template-columns: repeat(3, 1fr);
  }
}

.team__photo {
  position: relative;
  max-width: 260px;
  margin: 0 auto 18px;
  overflow: hidden;
}

.team__photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.team__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  opacity: 0;
  transition: opacity 0.3s;
}

.team__member:hover .team__photo::after {
  opacity: 0.55;
}

.team__name {
  margin-bottom: 0.2em;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team__role {
  color: var(--color-muted);
  font-size: 0.85rem;
}

.columns-2 {
  display: grid;
  gap: 8px 40px;
  font-size: 0.92rem;
}

@media (min-width: 760px) {
  .columns-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- Kundenstimmen ---------- */
.testimonials {
  display: grid;
  gap: 32px;
  max-width: 920px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .testimonials {
    grid-template-columns: 1fr 1fr;
  }
}

.testimonial {
  margin: 0;
}

.testimonial__quote {
  position: relative;
  margin: 0 0 22px;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-text);
  font-size: 0.92rem;
  font-style: italic;
}

.testimonial__quote::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: -9px;
  width: 18px;
  height: 18px;
  background: #fff;
  rotate: 45deg;
}

.testimonial__quote > :last-child {
  margin-bottom: 0;
}

.testimonial__author {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  align-items: center;
  font-size: 0.85rem;
}

.testimonial__photo {
  grid-row: span 2;
}

.testimonial__photo img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border: 3px solid #fff;
}

.testimonial__name {
  color: var(--heading-color);
  font-weight: 700;
}

.testimonial__role {
  opacity: 0.75;
}

/* ---------- Galerie ---------- */
.gallery-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 18px;
  margin: -16px 0 32px;
}

.gallery-filter__btn {
  padding: 6px 2px;
  border: 0;
  background: none;
  color: var(--heading-color);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}

.gallery-filter__btn[aria-pressed="true"],
.gallery-filter__btn:hover {
  color: var(--color-primary);
}

.gallery {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 560px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .gallery--cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery--cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery__item figure {
  margin: 0;
}

.gallery__link {
  display: block;
  overflow: hidden;
}

.gallery__image {
  width: 100%;
  transition: transform 0.4s, filter 0.4s;
}

.gallery--ratio-1-1 .gallery__image { aspect-ratio: 1; object-fit: cover; }
.gallery--ratio-4-3 .gallery__image { aspect-ratio: 4 / 3; object-fit: cover; }
.gallery--ratio-16-9 .gallery__image { aspect-ratio: 16 / 9; object-fit: cover; }

.gallery__link:hover .gallery__image,
.gallery__link:focus-visible .gallery__image {
  transform: scale(1.04);
  filter: brightness(1.05);
}

.gallery__caption {
  padding-top: 8px;
  color: var(--color-muted);
  font-size: 0.85rem;
}

/* ---------- Karte ---------- */
.jx-s--map {
  padding-block: 0 !important;
}

.jx-s--map .jx-s__inner {
  position: relative;
}

.map__image img {
  width: 100%;
  height: clamp(260px, 38vw, 440px);
  object-fit: cover;
}

.map__overlay {
  padding-block: 24px;
}

.map__card {
  max-width: 340px;
  padding: 24px 26px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  color: var(--color-text);
}

.map__pin {
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.map__title {
  margin-bottom: 0.4em;
  color: var(--color-dark);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.map__address {
  margin-bottom: 1em;
  font-size: 0.92rem;
}

.map__address > :last-child {
  margin-bottom: 0;
}

/* Eigenes Handy-Bild in voller Höhe statt Ausschnitt; der Kasten liegt unten auf der Karte */
@media (max-width: 759px) {
  .map__image--mobile img {
    height: auto;
  }

  .map--mobile .map__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    pointer-events: none;
  }

  .map--mobile .map__card {
    pointer-events: auto;
  }
}

.map__mobile-edit {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-block: 16px;
  font-size: 0.85rem;
}

.map__mobile-edit img {
  width: 200px;
  height: auto;
}

@media (min-width: 760px) {
  .map__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    pointer-events: none;
  }

  .map__card {
    pointer-events: auto;
  }
}

/* ---------- Kontakt ---------- */
.contact {
  display: grid;
  gap: 40px;
}

@media (min-width: 860px) {
  .contact {
    grid-template-columns: 3fr 2fr;
    gap: 64px;
  }
}

.contact__intro {
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact__details {
  font-size: 0.92rem;
}

.contact__label {
  margin: 1.6em 0 0.5em;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact__label:first-child {
  margin-top: 0;
}

/* Kontakt: Kontaktdaten links (große Telefonnummer), Formular rechts im Kasten */
.contact-split {
  display: grid;
  gap: 40px;
}

.contact-split__phone {
  margin: 0.4em 0 1em;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
}

.contact-split__phone a {
  color: var(--heading-color);
  text-decoration: none;
}

.contact-split__details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px;
  font-size: 0.92rem;
}

.contact-split__details .contact__label {
  margin: 0 0 0.4em;
}

.contact-split__details p {
  margin: 0;
}

.contact-split__form {
  padding: clamp(20px, 4vw, 36px);
  border-radius: var(--radius);
  background: var(--surface, rgba(127, 127, 127, 0.08));
}

.contact-split__form-heading {
  margin: 0 0 1.2em;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (min-width: 900px) {
  .contact-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: start;
  }
}

.contact__company {
  margin-bottom: 0.2em;
  color: var(--heading-color);
  font-weight: 700;
}

.contact__address > :last-child {
  margin-bottom: 0.4em;
}

.contact__details a {
  text-decoration: none;
}

/* ---------- Social ---------- */
.social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: inherit;
}

.social svg {
  width: 20px;
  height: 20px;
}

.social--round a {
  border-radius: 50%;
  background: #fff;
  color: var(--color-dark) !important;
}

.social--round svg {
  width: 17px;
  height: 17px;
}

/* ---------- Text / Text + Bild / CTA ---------- */
.text-block {
  max-width: 760px;
  margin: 0 auto;
}

.text-block--wide {
  max-width: none;
}

.text-block .section-title {
  text-align: left;
}

.text-block--center,
.text-block--center .section-title {
  text-align: center;
}

.split {
  display: grid;
  gap: 32px;
  align-items: center;
}

.split__media {
  position: relative;
  margin: 0;
}

.split__media img {
  width: 100%;
  border-radius: var(--radius);
}

/* Namensschild auf dem Bild (z. B. Geschäftsführer) */
.name-tag {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  gap: 2px;
  max-width: calc(100% - 32px);
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--color-dark);
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.35;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.name-tag strong {
  font-size: 1rem;
}

.name-tag span {
  opacity: 0.75;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .split--image-left .split__media {
    order: -1;
  }
}

.split .btn {
  margin-top: 1.2em;
}

/* Knopf und zweiter Link nebeneinander (Text + Bild) */
.split__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
}

.split__actions .btn {
  margin-top: 0;
}

.split__actions:not(:first-child) {
  margin-top: 1.6em;
}

/* Zweiter Link als Text mit Pfeil */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.4em 0;
  border-bottom: 1px solid currentColor;
  color: inherit;
  font-weight: 600;
  text-decoration: none;
}

.link-arrow::after {
  content: "→";
  color: var(--color-primary);
  transition: transform 0.2s;
}

.link-arrow:hover::after {
  transform: translateX(4px);
}

.cta {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.cta__title {
  font-size: clamp(1.4rem, 3.4vw, 2rem);
}

.cta__text .prose {
  max-width: 40em;
}

@media (min-width: 860px) {
  .cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
  }
}

/* ---------- Fußzeile ---------- */
.site-footer {
  padding-block: 28px;
  background: color-mix(in srgb, var(--color-dark) 82%, #000);
  color: color-mix(in srgb, var(--color-light) 55%, var(--color-dark));
  font-size: 0.82rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
  text-align: center;
}

.site-footer__copy {
  margin: 0;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
}

@media (min-width: 760px) {
  .site-footer__inner {
    justify-content: space-between;
  }
}

/* Fußbereich mehrspaltig: Kontakt, Seiten, Social Media; darunter Copyright und Rechtliches */
.jx-footer--columns .site-footer {
  padding-top: 52px;
}

.site-footer__cols {
  display: grid;
  gap: 32px;
  padding-bottom: 36px;
  line-height: 1.7;
}

@media (min-width: 760px) {
  .site-footer__cols {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
  }
}

/* Fußbereich „Logo und Menü, Kontakt, Kartenbild“ */
.site-footer__cols--map .site-footer__logo {
  display: inline-block;
  margin-bottom: 16px;
}

.site-footer__menu a {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}

.site-footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.site-footer__contact svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 0.25em;
}

.site-footer__map a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.site-footer__map img {
  width: 100%;
  border-radius: var(--radius);
}

.site-footer__route {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 0.6em 1.4em;
  border-radius: var(--radius);
  background: var(--color-primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  transition: background-color 0.2s;
}

.site-footer__route svg {
  width: 16px;
  height: 16px;
}

.site-footer__map a:hover .site-footer__route {
  background: color-mix(in srgb, var(--color-primary) 80%, #000);
}

.site-footer__title {
  margin: 0 0 10px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.site-footer__address {
  margin: 0 0 8px;
  font-style: normal;
}

.site-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__cols .social {
  margin-left: -8px;
}

.site-footer__bottom {
  padding-top: 24px;
  /* Linie nur so breit wie der Inhalt (ohne Seitenabstand) */
  background: linear-gradient(color-mix(in srgb, var(--color-light) 12%, transparent), color-mix(in srgb, var(--color-light) 12%, transparent)) 50% 0 / calc(100% - 2 * var(--gutter)) 1px no-repeat;
}

/* Aufrufstreifen über dem Fußbereich */
.site-cta {
  padding-block: 44px;
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.9);
}

.site-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 40px;
}

.site-cta__text {
  max-width: 680px;
}

.site-cta__text p {
  margin: 0;
}

.site-cta__text .site-cta__title {
  margin-bottom: 6px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: var(--title-weight);
  line-height: 1.25;
  letter-spacing: var(--title-spacing);
  text-transform: var(--title-transform);
}

.site-cta .btn--primary {
  background: #fff;
  color: var(--color-primary);
}

.site-cta .btn--primary:hover {
  background: rgba(255, 255, 255, 0.88);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

/* ---------- Galerie-Varianten (Schritt 4b) ---------- */
.gallery--gap-none { gap: 0; }
.gallery--gap-small { gap: 6px; }
.gallery--gap-large { gap: 28px; }

@media (min-width: 960px) {
  .gallery--cols-5 {
    grid-template-columns: repeat(5, 1fr);
  }
}

.gallery__link {
  position: relative;
}

.gallery__placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, var(--color-dark), color-mix(in srgb, var(--color-dark) 70%, #fff));
}

.gallery__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 64px;
  height: 64px;
  translate: -50% -50%;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
}

.gallery__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  translate: -50% -50%;
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
}

/* Masonry: unterschiedlich hohe Bilder in Spalten */
.gallery--masonry {
  display: block;
  columns: 1;
  column-gap: 16px;
}

.gallery--masonry .gallery__item {
  margin-bottom: 16px;
  break-inside: avoid;
}

.gallery--masonry.gallery--gap-none { column-gap: 0; }
.gallery--masonry.gallery--gap-none .gallery__item { margin-bottom: 0; }
.gallery--masonry.gallery--gap-small { column-gap: 6px; }
.gallery--masonry.gallery--gap-small .gallery__item { margin-bottom: 6px; }
.gallery--masonry.gallery--gap-large { column-gap: 28px; }
.gallery--masonry.gallery--gap-large .gallery__item { margin-bottom: 28px; }

@media (min-width: 560px) {
  .gallery--masonry { columns: 2; }
}

@media (min-width: 960px) {
  .gallery--masonry.gallery--cols-3 { columns: 3; }
  .gallery--masonry.gallery--cols-4 { columns: 4; }
  .gallery--masonry.gallery--cols-5 { columns: 5; }
}

/* Mosaik: große und kleine Kacheln gemischt */
.gallery--mosaic {
  grid-auto-rows: 160px;
  grid-auto-flow: dense;
}

.gallery--mosaic .gallery__item,
.gallery--mosaic figure,
.gallery--mosaic .gallery__link {
  height: 100%;
}

.gallery--mosaic .gallery__image,
.gallery--mosaic .gallery__placeholder,
.gallery--mosaic picture {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

@media (min-width: 560px) {
  .gallery--mosaic {
    grid-template-columns: repeat(4, 1fr);
  }

  .gallery--mosaic .gallery__item:nth-child(6n + 1) {
    grid-column: span 2;
    grid-row: span 2;
  }

  /* Je 6 Bilder ein lückenloser Block aus 3 Reihen: 1 groß, 2 klein, 3 breit */
  .gallery--mosaic .gallery__item:nth-child(6n + 4),
  .gallery--mosaic .gallery__item:nth-child(6n + 5),
  .gallery--mosaic .gallery__item:nth-child(6n) {
    grid-column: span 2;
  }
}

@media (min-width: 960px) {
  .gallery--mosaic {
    grid-auto-rows: 200px;
  }
}

/* Slider: großes Bild mit Vorschaubildern */
.gallery-slider {
  color: #fff;
}

.gallery-slider__slide .gallery__image,
.gallery-slider__slide .gallery__placeholder {
  width: 100%;
  object-fit: cover;
}

.gallery-slider__slide.gallery--ratio-original .gallery__image {
  max-height: 72vh;
  object-fit: contain;
  background: var(--color-dark);
}

.gallery-slider__slide.gallery--ratio-1-1 .gallery__image { aspect-ratio: 1; }
.gallery-slider__slide.gallery--ratio-4-3 .gallery__image { aspect-ratio: 4 / 3; }
.gallery-slider__slide.gallery--ratio-16-9 .gallery__image { aspect-ratio: 16 / 9; }

.gallery-slider .jx-slider__arrow {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 50%;
}

.gallery-slider__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.gallery-slider__thumb {
  flex: none;
  width: 88px;
  padding: 0;
  border: 3px solid transparent;
  background: none;
  opacity: 0.6;
  cursor: pointer;
}

.gallery-slider__thumb img,
.gallery-slider__thumb .gallery__placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery-slider__thumb[aria-current="true"],
.gallery-slider__thumb:hover {
  border-color: var(--color-primary);
  opacity: 1;
}

/* Karussell: mehrere Bilder nebeneinander, seitlich scrollbar */
.gallery-carousel {
  position: relative;
}

.gallery-carousel__track {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0 0 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  list-style: none;
  scrollbar-width: thin;
}

.gallery-carousel__item {
  flex: 0 0 80%;
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .gallery-carousel__item { flex-basis: 45%; }
}

@media (min-width: 960px) {
  .gallery-carousel__item { flex-basis: calc((100% - 32px) / 3); }
}

.gallery-carousel .gallery__image {
  width: 100%;
  object-fit: cover;
}

.gallery-carousel__btn {
  position: absolute;
  top: 40%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-dark);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  cursor: pointer;
}

.gallery-carousel__btn svg {
  width: 24px;
  height: 24px;
}

.gallery-carousel__btn--prev { left: -8px; }
.gallery-carousel__btn--next { right: -8px; }

/* ---------- Video-Abschnitt ---------- */
.video-block--narrow .jx-video {
  max-width: 760px;
  margin: 0 auto;
}

.video-block--full .jx-video video,
.video-block--full .jx-embed {
  border-radius: 0;
}

/* ---------- Vorher/Nachher ---------- */
.compare-list {
  display: grid;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 860px) {
  .compare-list--cols-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.compare__title {
  padding-top: 10px;
  color: var(--heading-color);
  font-weight: 700;
  text-align: center;
}

/* ---------- Formular-Abschnitt ---------- */
.form-block .jx-form {
  margin: 0 auto;
}

.form-block--wide .jx-form {
  max-width: none;
}

.contact .jx-form {
  margin-bottom: 24px;
}

/* =====================================================================
 * Layout-Bausteine (Vorbild: Grid-System von Wooden Axe)
 * Feste Klassen, aus denen neue Abschnitte gebaut werden. Einheitlicher Spaltenabstand: --gap.
 * Übersicht mit Beispielen: Admin → Design → „Layout-Bausteine ansehen“.
 * ===================================================================== */
:root {
  --gap: 2rem;
}

/* Zentriert: Eyebrow, Überschrift, Text, Liste */
.bau-centered {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.bau-centered .bau-list {
  display: inline-grid;
  text-align: left;
}

/* Geteilt: Text und Bild nebeneinander (gespiegelt mit --reverse), am Handy untereinander */
.bau-split {
  display: grid;
  gap: var(--gap);
  align-items: center;
}

.bau-split__media img {
  width: 100%;
  border-radius: var(--radius);
}

@media (min-width: 900px) {
  .bau-split {
    grid-template-columns: 1fr 1fr;
    gap: calc(var(--gap) * 2);
  }

  .bau-split--reverse .bau-split__media {
    order: 2;
  }
}

/* Magazin-Zeilen: mehrere Bild-Text-Zeilen, abwechselnd gespiegelt */
.bau-rows {
  display: grid;
  gap: calc(var(--gap) * 2);
}

.bau-row {
  display: grid;
  gap: var(--gap);
  align-items: center;
}

.bau-row__media img {
  width: 100%;
  border-radius: var(--radius);
}

@media (min-width: 900px) {
  .bau-row {
    grid-template-columns: 5fr 6fr;
  }

  .bau-row--reverse {
    grid-template-columns: 6fr 5fr;
  }

  .bau-row--reverse .bau-row__media {
    order: 2;
  }
}

/* Raster mit 2–5 Spalten; am Handy eine, auf Tablets höchstens zwei Spalten */
.bau-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .bau-grid--2,
  .bau-grid--3,
  .bau-grid--4,
  .bau-grid--5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .bau-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .bau-grid--4 { grid-template-columns: repeat(4, 1fr); }
  .bau-grid--5 { grid-template-columns: repeat(5, 1fr); }
}

/* Karte mit oder ohne Foto */
.bau-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-text);
}

.bau-card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.bau-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.4rem 1.5rem 1.6rem;
}

.bau-card__title {
  margin: 0 0 0.4em;
  font-size: 1.1rem;
}

.bau-card__text > :last-child {
  margin-bottom: 0;
}

.bau-card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.bau-card__text + .btn {
  margin-top: 1.2em;
}

/* Bildkachel: Vollbild mit Titel darüber */
.bau-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  color: #fff;
  text-decoration: none;
}

.bau-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.bau-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--color-dark) 75%, transparent), transparent 60%);
}

.bau-tile__title {
  position: absolute;
  z-index: 1;
  right: 1.2rem;
  bottom: 1rem;
  left: 1.2rem;
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
}

a.bau-tile:hover img {
  transform: scale(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .bau-tile img {
    transition: none;
  }
}

/* Kleinteile: Eyebrow über der Überschrift, Liste mit ✓ / • / – */
.bau-eyebrow {
  display: inline-block;
  margin-bottom: 0.6rem;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.jx-bg--dark .bau-eyebrow,
.jx-bg--image .bau-eyebrow,
.jx-bg--accent .bau-eyebrow {
  color: inherit;
  opacity: 0.85;
}

.bau-list {
  display: grid;
  gap: 0.5em;
  margin: 0 0 1em;
  padding: 0;
  list-style: none;
}

.bau-list li {
  position: relative;
  padding-left: 1.7em;
}

.bau-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.bau-list li.is-neutral::before {
  content: "•";
  color: var(--color-muted);
}

.bau-list li.is-negative::before {
  content: "–";
  color: var(--color-muted);
}

/* ---------- Abschnitt-Varianten (⚙ → Variante; Klasse jx-v--<name> an der Abschnitts-Hülle) ----------
 * Die Grundform heißt immer „standard“ und braucht hier keine Regel. Welche Varianten ein Theme anbietet,
 * steht in seiner theme.json unter "sections".
 */

/* Helle Flächen (Karten) bleiben hell – auch auf dunklem oder farbigem Hintergrund */
:is(.jx-v--overlap .split__content, .jx-v--cards .feature, .jx-v--cards .team__member, .jx-v--cards .testimonial, .card) {
  --heading-color: var(--color-dark);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--color-light);
  color: var(--color-text);
}

:is(.jx-v--overlap .split__content, .jx-v--cards .feature, .jx-v--cards .team__member, .jx-v--cards .testimonial, .card) a:not(.btn) {
  color: var(--color-primary);
}

:is(.jx-v--overlap .split__content, .jx-v--cards .feature, .jx-v--cards .team__member, .jx-v--cards .testimonial, .card) .btn--primary {
  background: var(--color-primary);
  color: #fff;
}

/* Hero: Text links */
.jx-v--left .hero__content {
  text-align: left;
}

.jx-v--left .hero__text {
  margin-left: 0;
}

/* Hero: Text unten links, große Schrift */
.jx-v--bottom .hero__slide {
  align-items: flex-end;
}

.jx-v--bottom .hero__grid {
  padding-bottom: 88px;
}

.jx-v--bottom .hero__content {
  text-align: left;
}

.jx-v--bottom .hero__title {
  font-size: clamp(2.2rem, 8vw, 4.4rem);
  line-height: 1.05;
}

.jx-v--bottom .hero__text {
  margin-left: 0;
}

/* Linksbündiger Text: Platz für die Pfeile des Sliders lassen */
@media (max-width: 899px) {
  .jx-v--left .hero__grid,
  .jx-v--bottom .hero__grid {
    padding-inline: 52px;
  }
}

@media (min-width: 900px) {
  .jx-v--left .hero__grid {
    grid-template-columns: 6fr 5fr;
  }

  .jx-v--bottom .hero__grid {
    grid-template-columns: 7fr 4fr;
    align-items: end;
  }

  .jx-v--left .hero__grid--text,
  .jx-v--bottom .hero__grid--text {
    grid-template-columns: minmax(0, 46em);
  }

  .jx-v--left .hero__media,
  .jx-v--bottom .hero__media {
    order: 2;
  }

  .jx-v--left .hero__grid--text .hero__content,
  .jx-v--bottom .hero__grid--text .hero__content {
    text-align: left;
  }

  .jx-v--left .hero__grid--text .hero__text,
  .jx-v--bottom .hero__grid--text .hero__text {
    margin-left: 0;
  }
}

/* Text + Bild: Textkarte schiebt sich über das Bild */
.jx-v--overlap .split__content {
  position: relative;
  z-index: 1;
  padding: 32px 28px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
}

@media (max-width: 899px) {
  .jx-v--overlap .split__media {
    order: -1;
  }

  .jx-v--overlap .split__content {
    margin: -64px 12px 0;
  }
}

@media (min-width: 900px) {
  .jx-v--overlap .split {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0;
  }

  .jx-v--overlap .split__content {
    grid-row: 1;
    grid-column: 1 / 8;
    padding: 48px;
  }

  .jx-v--overlap .split__media {
    grid-row: 1;
    grid-column: 6 / -1;
  }

  .jx-v--overlap .split--image-left .split__content {
    grid-column: 6 / -1;
  }

  .jx-v--overlap .split--image-left .split__media {
    grid-column: 1 / 8;
  }
}

/* Text + Bild: Bild im Kreis */
.jx-v--circle .split__media img {
  max-width: 440px;
  margin-inline: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
}

/* Text + Bild: schräg geteilt – das Bild läuft randlos bis an den Rand des Abschnitts */
.jx-v--slant .split__media {
  order: -1;
  margin: calc(var(--space) * -1) calc(var(--gutter) * -1) 0;
}

.jx-v--slant .split__media img {
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%);
}

@media (min-width: 900px) {
  .jx-v--slant .split {
    min-height: 420px;
  }

  .jx-v--slant .split__media {
    position: absolute;
    inset: 0 0 0 50%;
    margin: 0;
  }

  .jx-v--slant .split--image-left .split__media {
    inset: 0 50% 0 0;
  }

  .jx-v--slant .split__media :is(picture, img, .jx-e) {
    display: block;
    width: 100%;
    height: 100%;
  }

  .jx-v--slant .split__media img {
    object-fit: cover;
    clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%);
  }

  .jx-v--slant .split--image-left .split__media img {
    clip-path: polygon(0 0, 100% 0, 86% 100%, 0 100%);
  }

  .jx-v--slant .split__content {
    grid-column: 1;
  }

  .jx-v--slant .split--image-left .split__content {
    grid-column: 2;
  }
}

/* Feature-Kacheln: Karten mit Rahmen */
.jx-v--cards .feature {
  padding: 32px 24px;
}

.jx-v--cards .feature__icon {
  color: var(--color-primary);
}

/* Feature-Kacheln: farbige Kacheln */
.jx-v--tiles .feature {
  --heading-color: #fff;
  padding: 32px 24px;
  border-radius: var(--radius);
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.9);
}

.jx-v--tiles .feature:nth-child(even) {
  background: var(--color-accent);
}

.jx-v--tiles.jx-bg--accent .feature {
  background: color-mix(in srgb, var(--color-dark) 30%, transparent);
}

/* Feature-Kacheln: Liste mit Icon links */
.jx-v--list .features {
  gap: 28px 48px;
}

.jx-v--list .feature {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-content: start;
  column-gap: 18px;
  text-align: left;
}

.jx-v--list .feature__icon {
  grid-row: span 2;
  margin: 2px 0 0;
}

@media (min-width: 960px) {
  .jx-v--list .features--cols-3,
  .jx-v--list .features--cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Merkmale: Überschrift links, Liste rechts (z. B. Dienstleistungen) */
.features-split {
  display: grid;
  gap: 32px;
}

.features-split .section-head {
  max-width: none;
  margin: 0;
  text-align: left;
}

.features-split .section-head::after {
  display: none;
}

.features-split .section-title {
  text-align: left;
}

.jx-v--split .features {
  gap: 0 40px;
}

.jx-v--split .feature {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.jx-v--split .feature__icon {
  display: none;
}

.jx-v--split .feature__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.jx-v--split .feature__text:empty {
  display: none;
}

@media (min-width: 960px) {
  .features-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 64px;
  }

  .jx-v--split .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.form-aside__media {
  margin: 0;
}

.form-aside__caption {
  display: grid;
  margin-top: 12px;
  font-size: 0.9rem;
}

.form-aside__caption span {
  color: var(--color-muted);
  font-style: italic;
}

.form-block__heading {
  margin: 0 0 1.2em;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Formular: neben einem Bild */
.form-aside {
  display: grid;
  gap: 40px;
  align-items: center;
}

.form-aside__media img {
  width: 100%;
  border-radius: var(--radius);
}

.form-aside .form-block {
  min-width: 0;
}

@media (min-width: 900px) {
  .form-aside {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .form-aside .section-head,
  .form-aside .section-title {
    text-align: left;
  }

  .form-aside .section-head::after {
    margin-left: 0;
  }
}

/* Formular: im farbigen Kasten */
.form-block--box {
  --heading-color: #fff;
  width: calc(100% - 2 * var(--gutter));
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius);
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.92);
}

.form-block--box:not(.form-block--wide) {
  max-width: 820px;
}

.form-block--box .section-intro {
  color: inherit;
}

.form-block--box .section-head::after {
  background: rgba(255, 255, 255, 0.3);
}

.form-block--box a:not(.btn) {
  color: #fff;
}

.form-block--box .btn--primary {
  background: #fff;
  color: var(--color-primary);
}

.form-block--box .jx-form :focus {
  outline-color: #fff;
}

.jx-bg--accent .form-block--box {
  background: var(--color-dark);
}

/* Team: runde Fotos */
.jx-v--round .team__photo {
  max-width: 200px;
  border-radius: 50%;
}

/* Team: Karten */
.jx-v--cards .team__member {
  overflow: hidden;
  padding-bottom: 22px;
}

.jx-v--cards .team__photo {
  max-width: none;
  margin: 0 0 18px;
}

/* Kundenstimmen: Karten im Raster */
.jx-v--cards .testimonials > li {
  display: flex;
}

.jx-v--cards .testimonial {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 28px;
}

.jx-v--cards .testimonial__quote,
.jx-v--single .testimonial__quote {
  padding: 0;
  background: none;
  color: inherit;
}

.jx-v--cards .testimonial__quote {
  flex: 1;
}

.jx-v--cards .testimonial__quote::after,
.jx-v--single .testimonial__quote::after {
  content: none;
}

.jx-v--cards .testimonial__quote::before,
.jx-v--single .testimonial__quote::before {
  content: "“";
  display: block;
  color: var(--color-primary);
  font: normal 700 3.2rem/0.8 Georgia, serif;
}

@media (min-width: 960px) {
  .jx-v--cards .testimonials {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
  }
}

/* Kundenstimmen: großes Zitat */
.jx-v--single .testimonials {
  grid-template-columns: minmax(0, 1fr);
  gap: 56px;
  max-width: 820px;
  text-align: center;
}

.jx-v--single .testimonial__quote {
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  line-height: 1.55;
}

.jx-v--single .testimonial__quote::before {
  font-size: 4.5rem;
}

.jx-v--single:is(.jx-bg--accent, .jx-bg--dark, .jx-bg--image) .testimonial__quote::before {
  color: #fff;
}

.jx-v--single .testimonial__author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
}

/* Call to Action: zentriert */
.jx-v--centered .cta {
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.jx-v--centered .cta__text .prose {
  margin-inline: auto;
}

/* Call to Action: als Karte */
.jx-v--card .cta {
  --heading-color: #fff;
  width: calc(100% - 2 * var(--gutter));
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius);
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
}

.jx-v--card .cta a:not(.btn) {
  color: #fff;
}

.jx-v--card .cta .btn--primary {
  background: #fff;
  color: var(--color-primary);
}

.jx-v--card.jx-bg--accent .cta {
  background: var(--color-dark);
}

/* Galerie: Text unter der Überschrift oder in einer Spalte daneben */
.gallery__intro {
  max-width: 760px;
  margin: -24px auto 40px;
  text-align: center;
}

.gallery__more {
  margin: 32px 0 0;
  text-align: center;
}

.gallery-aside {
  display: grid;
  gap: 32px;
}

.gallery-aside__media {
  min-width: 0;
}

.gallery-aside__text .btn {
  margin-top: 1.2em;
}

@media (min-width: 900px) {
  .gallery-aside {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 56px;
    align-items: center;
  }
}

/* ---------- Karten-Raster ---------- */
.cards {
  display: grid;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 560px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .cards--cols-3,
  .cards--cols-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards--cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .cards--cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.card__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
}

.card__eyebrow {
  margin: 0 0 0.5em;
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.card__title {
  margin-bottom: 0.5em;
  font-size: 1.15rem;
}

.card__text {
  margin-bottom: 1.2em;
  font-size: 0.92rem;
}

.card__text ul {
  padding-left: 0;
  list-style: none;
}

.card__text li {
  position: relative;
  padding-left: 1.6em;
}

.card__text li::before {
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.cards--marker-check .card__text li::before { content: "✓"; }
.cards--marker-dot .card__text li::before { content: "•"; }
.cards--marker-dash .card__text li::before { content: "–"; }

.card__button {
  margin-top: auto;
}

/* Karten-Raster: Bildkacheln – das Foto füllt die Karte, Text darauf */
.jx-v--tile .card {
  --heading-color: #fff;
  position: relative;
  isolation: isolate;
  justify-content: flex-end;
  min-height: 360px;
  border: 0;
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.9);
}

.jx-v--tile .card__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.jx-v--tile .card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.08) 65%);
  pointer-events: none;
}

.jx-v--tile .card__media :is(picture, img, .jx-e) {
  display: block;
  width: 100%;
  height: 100%;
}

.jx-v--tile .card__media img {
  aspect-ratio: auto;
}

.jx-v--tile .card__body {
  flex: 0 0 auto;
}

.jx-v--tile .card__eyebrow,
.jx-v--tile .card li::before,
.jx-v--tile .card a:not(.btn) {
  color: #fff;
}

/* Karten-Raster: Großes Bild + Kacheln – erste Karte über zwei Zeilen, Karten ohne Bild als farbiger Kasten */
@media (min-width: 960px) {
  .jx-v--bento .cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .jx-v--bento .card:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }

  .jx-v--bento .card:first-child .card__media {
    flex: 1;
    min-height: 0;
  }

  .jx-v--bento .card:first-child .card__media :is(picture, img) {
    display: block;
    height: 100%;
  }

  .jx-v--bento .card:first-child .card__media img {
    aspect-ratio: auto;
  }

  .jx-v--bento .card:first-child .card__body {
    flex: 0 0 auto;
  }
}

.jx-v--bento .card--no-image {
  --heading-color: #fff;
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.85);
}

/* Link neben der Überschrift (Feld „more“, z. B. „Alle ansehen →“) */
.section-head--more {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  max-width: none;
  text-align: left;
}

.section-head--more::after {
  display: none;
}

.section-head--more .section-title {
  margin-bottom: 0;
  text-align: left;
}

.section-more {
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Kleine Zeile über der Überschrift (Feld „eyebrow“, steht im Überschrift-Element) ---------- */
.section-eyebrow {
  display: block;
  margin-bottom: 0.7em;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-shadow: none;
  text-transform: uppercase;
}

:is(.jx-bg--image, .jx-bg--accent, .hero, .jx-v--card .cta, .form-block--box, .jx-v--background) .section-eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

/* Helle Flächen der neuen Abschnitte (wie die Karten aus 7c) */
:is(.jx-v--cards .price-group, .jx-v--cards .event, .jx-v--grid .logo) {
  --heading-color: var(--color-dark);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--color-light);
  color: var(--color-text);
}

:is(.jx-v--cards .price-group, .jx-v--cards .event) a:not(.btn) {
  color: var(--color-primary);
}

:is(.jx-v--cards .price-group, .jx-v--cards .event) .btn--primary {
  background: var(--color-primary);
  color: #fff;
}

/* ---------- Zahlen & Fakten ---------- */
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
}

.facts--count-1 {
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 760px) {
  .facts--count-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .facts--count-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .facts--count-5,
  .facts--count-6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .facts--count-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .facts--count-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.fact__value {
  margin: 0 0 0.2em;
  color: var(--heading-color);
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
}

.fact__suffix {
  margin-left: 0.1em;
  color: var(--color-primary);
  font-size: 0.55em;
}

:is(.jx-bg--image, .jx-bg--accent) .fact__suffix {
  color: inherit;
}

.fact__text {
  margin: 0;
  font-size: 0.92rem;
}

/* Mit Trennlinien */
.jx-v--lines .facts {
  column-gap: 0;
}

.jx-v--lines .fact {
  padding-inline: 16px;
}

.jx-v--lines .fact:nth-child(even) {
  border-left: 1px solid var(--line);
}

@media (min-width: 760px) {
  .jx-v--lines .fact + .fact {
    border-left: 1px solid var(--line);
  }
}

:is(.jx-bg--dark, .jx-bg--image, .jx-bg--accent).jx-v--lines .fact {
  border-color: rgba(255, 255, 255, 0.2);
}

/* Farbige Kacheln */
.jx-v--tiles .fact {
  --heading-color: #fff;
  padding: 28px 16px;
  border-radius: var(--radius);
  background: var(--color-primary);
  color: rgba(255, 255, 255, 0.9);
}

.jx-v--tiles .fact:nth-child(even) {
  background: var(--color-accent);
}

.jx-v--tiles .fact__suffix {
  color: inherit;
}

.jx-v--tiles.jx-bg--accent .fact {
  background: color-mix(in srgb, var(--color-dark) 30%, transparent);
}

/* ---------- Merkmal-Leiste ---------- */
.jx-s--highlights.jx-space--normal { --space: 28px; }
.jx-s--highlights.jx-space--compact { --space: 16px; }
.jx-s--highlights.jx-space--large { --space: 56px; }

.highlights__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  color: var(--heading-color);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.highlight + .highlight::before,
.highlights__track .highlight::before {
  content: "·";
  margin: 0 1.1em;
  color: var(--color-primary);
}

:is(.jx-bg--image, .jx-bg--accent) .highlight::before,
:is(.jx-bg--image, .jx-bg--accent) .highlight__icon {
  color: inherit;
}

.highlight__icon {
  width: 1.4em;
  height: 1.4em;
  color: var(--color-primary);
}

/* Mit großen Icons */
.jx-v--icons .highlights__list {
  gap: 28px 48px;
}

.jx-v--icons .highlight {
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.jx-v--icons .highlight + .highlight::before {
  content: none;
}

.jx-v--icons .highlight__icon {
  width: 44px;
  height: 44px;
}

/* Laufband: zwei gleiche Reihen laufen nach links; bei „weniger Bewegung“ steht es still */
.jx-v--ticker .highlights {
  max-width: none;
  padding-inline: 0;
  overflow: hidden;
}

.highlights__track {
  display: flex;
  width: max-content;
  animation: jx-ticker 36s linear infinite;
}

.highlights__track:hover {
  animation-play-state: paused;
}

.highlights__track .highlights__list {
  flex-wrap: nowrap;
}

@keyframes jx-ticker {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .highlights__track {
    width: auto;
    justify-content: center;
    animation: none;
  }

  .highlights__track .highlights__list {
    flex-wrap: wrap;
  }

  .highlights__track .highlights__list[aria-hidden] {
    display: none;
  }

  .highlights__track .highlight:first-child::before {
    content: none;
  }
}

/* ---------- Zitat ---------- */
.quote {
  max-width: 860px;
  text-align: center;
}

.quote__media img {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  border-radius: 50%;
  object-fit: cover;
}

.quote__body {
  margin: 0;
}

.quote__text {
  margin: 0 0 20px;
  color: var(--heading-color);
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  font-style: italic;
  line-height: 1.45;
}

.quote__text::before {
  content: "“";
  display: block;
  margin-bottom: 0.1em;
  color: var(--color-primary);
  font: normal 700 4rem/0.7 Georgia, serif;
}

:is(.jx-bg--image, .jx-bg--accent, .jx-v--background) .quote__text::before {
  color: #fff;
}

.quote__text > :last-child {
  margin-bottom: 0;
}

.quote__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.9rem;
}

.quote__name {
  color: var(--heading-color);
  font-weight: 700;
}

.quote__role {
  opacity: 0.75;
}

/* Bild daneben */
.jx-v--image .quote--with-image {
  display: grid;
  gap: 32px;
  align-items: center;
  max-width: var(--container);
  text-align: left;
}

.jx-v--image .quote__media img {
  width: 100%;
  height: auto;
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
}

.jx-v--image .quote--with-image .quote__author {
  align-items: flex-start;
}

@media (min-width: 900px) {
  .jx-v--image .quote--with-image {
    grid-template-columns: 2fr 3fr;
    gap: 64px;
  }
}

/* Über dem Bild: das Bild füllt den Abschnitt */
.jx-v--background {
  --heading-color: #fff;
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.88);
}

.jx-v--background .quote__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.jx-v--background .quote__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--color-dark) 70%, #000);
  opacity: 0.6;
  pointer-events: none;
}

.jx-v--background .quote__media :is(picture, img, .jx-e) {
  display: block;
  width: 100%;
  height: 100%;
}

.jx-v--background .quote__media img {
  margin: 0;
  border-radius: 0;
  object-fit: cover;
}

/* ---------- Preisliste ---------- */
.prices {
  max-width: 820px;
  margin: 0 auto;
}

.price-group + .price-group {
  margin-top: 40px;
}

.price-group__title {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
  font-size: 1.05rem;
}

.price-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.price {
  padding: 12px 0;
  break-inside: avoid;
}

.price__group {
  display: block;
  font-size: 0.75rem;
  opacity: 0.7;
}

.price__head {
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.price__name {
  color: var(--heading-color);
  font-weight: 700;
}

.price__dots {
  flex: 1;
  min-width: 24px;
  border-bottom: 2px dotted color-mix(in srgb, currentColor 35%, transparent);
  transform: translateY(-4px);
}

.price__value {
  color: var(--color-primary);
  font-weight: 700;
  white-space: nowrap;
}

:is(.jx-bg--dark, .jx-bg--image, .jx-bg--accent) .price__value {
  color: #fff;
}

.price__desc {
  margin: 2px 0 0;
  font-size: 0.88rem;
  opacity: 0.8;
}

.prices__note {
  max-width: 820px;
  margin: 28px auto 0;
  font-size: 0.85rem;
  text-align: center;
  opacity: 0.75;
}

/* Zweispaltig: Gruppen nebeneinander, eine einzelne Liste in zwei Spalten */
@media (min-width: 860px) {
  .jx-v--columns .prices {
    max-width: none;
  }

  .jx-v--columns .prices--groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 64px;
  }

  .jx-v--columns .price-group + .price-group {
    margin-top: 0;
  }

  .jx-v--columns .prices:not(.prices--groups) .price-list {
    column-gap: 64px;
    columns: 2;
  }
}

/* Karten: jede Gruppe als Karte */
.jx-v--cards .prices {
  display: grid;
  gap: 28px;
  max-width: none;
}

.jx-v--cards .price-group {
  margin-top: 0;
  padding: 28px;
}

.jx-v--cards .price-group .price__value {
  color: var(--color-primary);
}

@media (min-width: 760px) {
  .jx-v--cards .prices--groups {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

/* ---------- Produkt / Angebot und Referenz / Projekt ---------- */
.detail {
  display: grid;
  gap: 40px;
  align-items: start;
}

@media (min-width: 900px) {
  .detail {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 64px;
    align-items: center;
  }

  .jx-v--right .detail__media {
    order: 2;
  }
}

.detail__link {
  display: block;
}

.detail__main img,
.detail__thumb img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.detail__main img {
  aspect-ratio: 4 / 3;
}

.detail__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.detail__thumb img {
  aspect-ratio: 1;
}

.detail__text ul {
  padding-left: 0;
  list-style: none;
}

.detail__text li {
  position: relative;
  padding-left: 1.6em;
}

.detail__text li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

.detail__facts {
  margin: 24px 0;
}

.detail__facts > div {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) 2fr;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.detail__facts > div:last-child {
  border-bottom: 1px solid var(--line);
}

:is(.jx-bg--dark, .jx-bg--image, .jx-bg--accent) .detail__facts > div {
  border-color: rgba(255, 255, 255, 0.2);
}

.detail__facts dt,
.detail__label {
  color: var(--heading-color);
  font-size: 0.85rem;
  font-weight: 700;
}

.detail__facts dd {
  margin: 0;
  font-size: 0.92rem;
}

.detail__price {
  margin: 0 0 24px;
}

.detail__price strong {
  color: var(--heading-color);
  font-family: var(--font-heading);
  font-size: 1.7rem;
}

.detail__price small {
  opacity: 0.75;
}

.detail__label {
  margin: 0 0 8px;
}

.detail__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.detail__list li {
  padding: 4px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-primary) 14%, transparent);
  color: var(--heading-color);
  font-size: 0.82rem;
}

/* Bilder oben groß (Angebot „top“, Referenz „standard“): Text und Eckdaten darunter nebeneinander */
:is(.jx-s--offer.jx-v--top, .jx-s--project.jx-v--standard) .detail {
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}

:is(.jx-s--offer.jx-v--top, .jx-s--project.jx-v--standard) .detail__main img {
  aspect-ratio: 16 / 9;
}

:is(.jx-s--offer.jx-v--top, .jx-s--project.jx-v--standard) .detail__thumbs {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (min-width: 900px) {
  :is(.jx-s--offer.jx-v--top, .jx-s--project.jx-v--standard) .detail__content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-auto-flow: dense;
    column-gap: 64px;
    align-items: start;
  }

  :is(.jx-s--offer.jx-v--top, .jx-s--project.jx-v--standard) .detail__content > * {
    grid-column: 1;
  }

  :is(.jx-s--offer.jx-v--top, .jx-s--project.jx-v--standard) .detail__content > .section-title {
    grid-column: 1 / -1;
  }

  :is(.jx-s--offer.jx-v--top, .jx-s--project.jx-v--standard) .detail__content > :is(.detail__facts, .detail__price, .detail__aside, .btn) {
    grid-column: 2;
  }

  :is(.jx-s--offer.jx-v--top, .jx-s--project.jx-v--standard) .detail__content > .detail__facts {
    margin-top: 0;
  }

  :is(.jx-s--offer.jx-v--top, .jx-s--project.jx-v--standard) .detail__content > .btn {
    justify-self: start;
  }
}

/* ---------- Ablauf ---------- */
.steps {
  display: grid;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 27px;
    left: calc(50% + 38px);
    width: calc(100% + 32px - 76px);
    border-top: 2px dashed color-mix(in srgb, var(--color-primary) 45%, transparent);
  }
}

.step {
  position: relative;
  text-align: center;
}

.step__marker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
}

.jx-bg--accent .step__marker {
  background: #fff;
  color: var(--color-primary);
}

.step__icon {
  width: 26px;
  height: 26px;
}

.step__icon-choice {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--color-primary);
}

.step__title {
  margin-bottom: 0.4em;
  font-size: 1rem;
}

.step__text {
  font-size: 0.9rem;
}

/* Zeitleiste: senkrecht, Linie zwischen den Kreisen */
.jx-v--timeline .steps {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  max-width: 760px;
  margin: 0 auto;
}

.jx-v--timeline .step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 24px;
  padding-bottom: 32px;
  text-align: left;
}

.jx-v--timeline .step__marker {
  margin: 0;
}

.jx-v--timeline .step__body {
  padding-top: 12px;
}

.jx-v--timeline .step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 60px;
  bottom: 4px;
  left: 27px;
  width: 0;
  border-top: 0;
  border-left: 2px dashed color-mix(in srgb, var(--color-primary) 45%, transparent);
}

/* ---------- Termine ---------- */
.events {
  display: grid;
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.event {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.event:last-child {
  border-bottom: 1px solid var(--line);
}

:is(.jx-bg--dark, .jx-bg--image, .jx-bg--accent) .event {
  border-color: rgba(255, 255, 255, 0.2);
}

.event__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 76px;
  border-radius: var(--radius);
  background: var(--color-primary);
  color: #fff;
  line-height: 1.15;
}

.jx-bg--accent .event__date {
  background: #fff;
  color: var(--color-primary);
}

.date__day {
  font-size: 1.6rem;
  font-weight: 700;
}

.date__month {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.date__weekday {
  font-size: 0.7rem;
  opacity: 0.8;
}

.event__title {
  margin-bottom: 0.25em;
  font-size: 1.1rem;
}

.event__meta {
  margin: 0 0 0.6em;
  font-size: 0.88rem;
  opacity: 0.85;
}

.event__place {
  display: block;
}

.event__text {
  margin-bottom: 0.8em;
  font-size: 0.92rem;
}

.event--past {
  opacity: 0.55;
}

.event__past {
  margin: 0 0 4px;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 700;
}

.events__empty {
  text-align: center;
  opacity: 0.8;
}

/* Karten */
.jx-v--cards .events {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  max-width: none;
}

.jx-v--cards .event {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: 24px;
}

.jx-v--cards .event__date {
  flex-direction: row;
  gap: 8px;
  justify-content: flex-start;
  align-items: baseline;
  width: max-content;
  height: auto;
  padding: 6px 12px;
  background: var(--color-primary);
  color: #fff;
}

/* ---------- FAQ (aufklappbar über <details>) ---------- */
.faq {
  max-width: 820px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
  break-inside: avoid;
}

:is(.jx-bg--dark, .jx-bg--image, .jx-bg--accent) :is(.faq, .faq__item) {
  border-color: rgba(255, 255, 255, 0.2);
}

.faq__question {
  position: relative;
  margin: 0;
  padding: 18px 40px 18px 0;
  color: var(--heading-color);
  font-weight: 700;
  list-style: none;
  cursor: pointer;
}

.faq__question::-webkit-details-marker {
  display: none;
}

details.faq__item > .faq__question::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 4px;
  color: var(--color-primary);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  translate: 0 -50%;
  transition: rotate 0.2s;
}

:is(.jx-bg--image, .jx-bg--accent) details.faq__item > .faq__question::after {
  color: #fff;
}

details[open].faq__item > .faq__question::after {
  rotate: 45deg;
}

.faq__answer {
  padding: 0 0 18px;
  font-size: 0.95rem;
}

@media (min-width: 900px) {
  .jx-v--columns .faq {
    max-width: none;
    column-gap: 56px;
    columns: 2;
  }
}

/* ---------- Logos / Partner ---------- */
.logos {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo__link {
  display: block;
}

.logo img {
  width: auto;
  max-width: 160px;
  max-height: 64px;
  object-fit: contain;
}

.logo__name {
  font-size: 0.75rem;
}

/* Raster mit Kästen */
.jx-v--grid .logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.jx-v--grid .logo {
  justify-content: center;
  min-height: 120px;
  padding: 20px;
}

@media (min-width: 640px) {
  .jx-v--grid .logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .jx-v--grid .logos {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Grau, farbig beim Darüberfahren */
.jx-v--mono .logo img {
  opacity: 0.6;
  filter: grayscale(1);
  transition: filter 0.3s, opacity 0.3s;
}

.jx-v--mono .logo:hover img,
.jx-v--mono .logo__link:focus-visible img {
  opacity: 1;
  filter: none;
}

/* Auf dunklem Hintergrund werden graue Logos weiß (beim Darüberfahren farbig) */
.jx-v--mono:is(.jx-bg--dark, .jx-bg--image, .jx-bg--accent) .logo img {
  opacity: 0.75;
  filter: grayscale(1) brightness(0) invert(1);
}

.jx-v--mono:is(.jx-bg--dark, .jx-bg--image, .jx-bg--accent) .logo:hover img,
.jx-v--mono:is(.jx-bg--dark, .jx-bg--image, .jx-bg--accent) .logo__link:focus-visible img {
  opacity: 1;
  filter: none;
}

/* ---------- E-Mail-Schutz, WhatsApp-Knopf, Hinweis unten (Konzept 18.1) ---------- */
.jx-mail { white-space: nowrap; }

.jx-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease;
}
.jx-whatsapp:hover,
.jx-whatsapp:focus-visible { transform: scale(1.06); color: #fff; }
.jx-whatsapp svg { width: 30px; height: 30px; }

.jx-notice {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 39;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: min(440px, calc(100vw - 104px));
  padding: 10px 12px 10px 16px;
  border-radius: var(--radius);
  background: var(--color-dark);
  color: #fff;
  font-size: 0.85rem;
  line-height: 1.45;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}
.jx-notice[hidden] { display: none; }
.jx-notice p { margin: 0; }
.jx-notice a { color: inherit; text-decoration: underline; }
.jx-notice__close {
  flex: none;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.jx-notice__close:hover,
.jx-notice__close:focus-visible { background: rgba(255, 255, 255, 0.15); }
@media (max-width: 520px) {
  .jx-notice { right: 16px; max-width: none; }
  body:has(.jx-whatsapp) .jx-notice { right: 88px; }
}

/* ---------- Termine: durchgestrichen und kompakte Liste ---------- */
.jx-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.event--struck :is(.event__when, .event__title, .event__time, .event__place),
.event--struck .event__date {
  text-decoration: line-through;
}

.events--compact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 40px;
  max-width: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.events--compact .event {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0;
  border: 0;
  color: var(--heading-color);
  font-weight: 700;
}

.events--compact .event:last-child {
  border: 0;
}

.events--compact .event__icon {
  flex: none;
  width: 1.3em;
  height: 1.3em;
  color: var(--color-primary);
}

.events--compact .event__line {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.4em;
}

.events--compact :is(.event__title, .event__time, .event__place) {
  margin: 0;
  font-size: inherit;
  font-weight: 400;
}

.events--compact .event--struck .event__icon {
  opacity: 0.5;
}

.events--compact .event__past {
  margin: 0;
}

.jx-v--compact .events__empty {
  margin-bottom: 1em;
}
