/* ==========================================================================
   consalty.com – Optimierungen
   Diese Datei wird nach allen Original-Stylesheets geladen und überschreibt
   sie gezielt. Die Abschnitte folgen der Reihenfolge der Anpassungsliste.
   ========================================================================== */

:root {
  /* Schriftskala: jede Textgröße der Seite kommt aus dieser Liste. */
  --opt-display: clamp(34px, 3.05vw, 44px); /* Überschrift im Kopfbereich */
  --opt-h2: clamp(26px, 2.25vw, 32px);      /* Abschnittsüberschriften, KPI-Zahlen */
  --opt-akzent: clamp(21px, 1.75vw, 25px);  /* Rollen */
  --opt-h3: 20px;                           /* Kacheltitel, Namen, Infobox, gelber Button */
  --opt-lead: 18px;                         /* Unterzeile im Kopfbereich */
  --opt-text: 16px;                         /* Fließtext */
  --opt-ui: 15px;                           /* Menü, Kundenstimmen, Team-Texte */
  --opt-klein: 14px;                        /* Knöpfe, Fuß, Grafikbeschriftung */
  --opt-text-lh: 1.55;
  --opt-ls: .03em;                          /* Laufweite der Lexend Deca */
  --opt-ls-serif: .01em;                    /* Laufweite der Literata */
  --opt-ease: cubic-bezier(.4, 0, .2, 1);
}

html { background: var(--white); }

/* --------------------------------------------------------------------------
   Schrift insgesamt etwas kleiner, Silbentrennung nur an gesetzten Stellen
   -------------------------------------------------------------------------- */
html body .custom-sorted-modules > div :is(p, li, .text, .author, .answer, .answer a, .text strong) {
  font-size: var(--opt-text);
  line-height: var(--opt-text-lh);
  letter-spacing: var(--opt-ls);
}

html body .custom-sorted-modules :is(h1, h2, h3, h4, h5, p, li, .text, a, span) {
  -webkit-hyphens: manual;
  hyphens: manual;
}

html body .custom-sorted-modules :is(h1, h2, h3, h5) {
  overflow-wrap: normal;
  text-wrap: balance;
}

html body .custom-sorted-modules :is(p, li) { text-wrap: pretty; }

html body :is(.outer-tabelement, .outer-amlcompliance, .outer-ctabig, .outer-beratungsleistungen, .outer-kundenstimmen, .outer-cta) h2 {
  font-size: var(--opt-h2);
  line-height: 1.25;
  letter-spacing: var(--opt-ls);
}

/* Literata läuft enger als Lexend Deca. */
html body :is(.outer-amlcompliance, .outer-kundenstimmen, .outer-firmen) h2,
html body .custom-sorted-modules :is(h2, h3) strong {
  letter-spacing: var(--opt-ls-serif);
}

/* --------------------------------------------------------------------------
   CTAs als Liquid Glass
   Aufbau: fast durchsichtige Fläche, die den Hintergrund weichzeichnet und
   aufhellt; Lichtkante als Haarlinie, die nur oben links und unten rechts
   hell ist. Das Glas bewegt sich nicht von selbst.
   -------------------------------------------------------------------------- */
html body :is(.link-farbehell-button, .link-farbemittel-button) > a,
html body .outer-team .social,
html body .outer-footer .footer-contact a.social,
html body .outer-kundenstimmen .arrow {
  --glas-licht: 255, 255, 255;
  --glas-flaeche: .16;
  --glas-kante: .95;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background:
    radial-gradient(120% 160% at 12% -20%,
      rgba(var(--glas-licht), calc(var(--glas-flaeche) + .30)) 0%,
      rgba(var(--glas-licht), var(--glas-flaeche)) 45%,
      rgba(var(--glas-licht), calc(var(--glas-flaeche) + .10)) 100%);
  -webkit-backdrop-filter: blur(9px) saturate(190%) brightness(1.08);
  backdrop-filter: blur(9px) saturate(190%) brightness(1.08);
  box-shadow:
    inset 1.5px 1.5px 1px -1px rgba(var(--glas-licht), .9),
    inset -1px -1.5px 1px -1px rgba(var(--glas-licht), .55),
    inset 0 -7px 10px -8px rgba(43, 43, 43, .22),
    inset 0 0 14px rgba(var(--glas-licht), .14),
    0 1px 2px rgba(43, 43, 43, .10),
    0 10px 22px -12px rgba(43, 43, 43, .40);
  transition: transform .3s var(--opt-ease), box-shadow .3s var(--opt-ease);
}

/* Lichtkante: 1px Haarlinie mit Verlauf statt gleichmäßigem Rand. */
html body :is(.link-farbehell-button, .link-farbemittel-button) > a::after,
html body .outer-team .social::after,
html body .outer-footer .footer-contact a.social::after,
html body .outer-kundenstimmen .arrow::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(140deg,
    rgba(var(--glas-licht), var(--glas-kante)) 0%,
    rgba(var(--glas-licht), .35) 22%,
    rgba(var(--glas-licht), .04) 46%,
    rgba(var(--glas-licht), .10) 68%,
    rgba(var(--glas-licht), calc(var(--glas-kante) * .75)) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 1;
  filter: none;
  box-shadow: none;
  pointer-events: none;
}

/* Alle Knöpfe haben dieselbe Größe: 14px Regular, 42px hoch. */
html body :is(.link-farbehell-button, .link-farbemittel-button) > a {
  padding: .6rem 1.2rem;
  font-size: var(--opt-klein);
  font-weight: 400;
  line-height: 20px;
  letter-spacing: .04em;
  white-space: nowrap;
}

html body :is(.link-farbehell-button, .link-farbemittel-button) > a::before {
  width: 15px;
  height: 13px;
  margin-right: 8px;
  vertical-align: -2px;
}

html body :is(.link-farbehell-button, .link-farbemittel-button) > a:hover,
html body .outer-team .social:hover,
html body .outer-footer .footer-contact a.social:hover,
html body .outer-kundenstimmen .arrow:hover {
  --glas-flaeche: .26;
  /* Beim Überfahren wird das Glas nur heller und hebt sich an. */
  background:
    radial-gradient(120% 160% at 12% -20%,
      rgba(var(--glas-licht), calc(var(--glas-flaeche) + .30)) 0%,
      rgba(var(--glas-licht), var(--glas-flaeche)) 45%,
      rgba(var(--glas-licht), calc(var(--glas-flaeche) + .10)) 100%);
  border-color: transparent;
  opacity: 1;
  transform: translateY(-1px) scale(1.015);
  box-shadow:
    inset 1.5px 1.5px 1px -1px rgba(var(--glas-licht), 1),
    inset -1px -1.5px 1px -1px rgba(var(--glas-licht), .65),
    inset 0 -7px 10px -8px rgba(43, 43, 43, .22),
    inset 0 0 16px rgba(var(--glas-licht), .2),
    0 2px 4px rgba(43, 43, 43, .10),
    0 16px 28px -12px rgba(43, 43, 43, .45);
}

html body :is(.link-farbehell-button, .link-farbemittel-button) > a:active { transform: translateY(0) scale(.99); }

/* Auf Weiß hat Glas nichts zu brechen: zarte dunkle Haarlinie und leichte Tönung. */
html body .outer-footer .footer-contact a.social,
html body .outer-kundenstimmen .arrow,
html body .outer-header .link-farbehell-button > a {
  --glas-flaeche: .34;
  box-shadow:
    inset 1.5px 1.5px 1px -1px rgba(255, 255, 255, 1),
    inset -1px -1.5px 1px -1px rgba(255, 255, 255, .7),
    inset 0 -8px 12px -8px rgba(43, 43, 43, .16),
    0 0 0 .5px rgba(43, 43, 43, .14),
    0 1px 2px rgba(43, 43, 43, .08),
    0 10px 22px -12px rgba(43, 43, 43, .35);
}

html body .outer-footer .footer-contact a.social,
html body .outer-kundenstimmen .arrow { background-color: rgba(43, 43, 43, .035); }

/* Auf dunklem Grund: dünneres Licht, helle Schrift. */
html body .outer-team :is(.link-farbemittel-button > a, .social) {
  --glas-flaeche: .07;
  --glas-kante: .7;
  color: var(--white);
  -webkit-backdrop-filter: blur(9px) saturate(160%) brightness(1.25);
  backdrop-filter: blur(9px) saturate(160%) brightness(1.25);
  box-shadow:
    inset 1.5px 1.5px 1px -1px rgba(255, 255, 255, .6),
    inset -1px -1.5px 1px -1px rgba(255, 255, 255, .3),
    inset 0 0 14px rgba(255, 255, 255, .06),
    0 10px 22px -12px rgba(0, 0, 0, .7);
}

/* Auf den gelben Boxen: weißes Glas. Oben und unten liegt Licht auf dem Glas,
   in der Mitte scheint das Gelb nur noch leicht durch. Der Schatten ist vom Gelb
   getönt, wie bei echtem Glas auf farbigem Grund. */
html body .outer-beratungsleistungen .item .link-farbehell-button > a {
  --glas-kante: 1;
  background:
    radial-gradient(90% 120% at 18% -10%, rgba(255, 255, 255, .85) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg,
      rgba(255, 255, 255, .92) 0%,
      rgba(255, 255, 255, .64) 42%,
      rgba(255, 255, 255, .54) 62%,
      rgba(255, 255, 255, .84) 100%);
  -webkit-backdrop-filter: blur(6px) saturate(100%) brightness(1.1);
  backdrop-filter: blur(6px) saturate(100%) brightness(1.1);
  box-shadow:
    inset 1.5px 1.5px 1px -1px rgba(255, 255, 255, 1),
    inset -1px -1.5px 1px -1px rgba(255, 255, 255, .9),
    inset 0 7px 8px -7px rgba(255, 255, 255, 1),
    inset 0 -9px 10px -8px rgba(255, 255, 255, .95),
    inset 0 0 0 .5px rgba(255, 255, 255, .5),
    0 1px 1px rgba(110, 100, 0, .12),
    0 9px 18px -12px rgba(110, 100, 0, .36);
}

html body .outer-beratungsleistungen .item .link-farbehell-button > a:hover {
  background:
    radial-gradient(90% 120% at 18% -10%, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg,
      rgba(255, 255, 255, .96) 0%,
      rgba(255, 255, 255, .76) 42%,
      rgba(255, 255, 255, .66) 62%,
      rgba(255, 255, 255, .9) 100%);
  box-shadow:
    inset 1.5px 1.5px 1px -1px rgba(255, 255, 255, 1),
    inset -1px -1.5px 1px -1px rgba(255, 255, 255, .9),
    inset 0 7px 8px -7px rgba(255, 255, 255, 1),
    inset 0 -9px 10px -8px rgba(255, 255, 255, .95),
    inset 0 0 0 .5px rgba(255, 255, 255, .5),
    0 1px 2px rgba(110, 100, 0, .14),
    0 12px 22px -12px rgba(110, 100, 0, .44);
}

/* Auf den graugrünen Flächen: helle Schrift, damit das Glas durchsichtig bleiben kann. */
html body :is(.outer-ctabig, .outer-cta) .link-farbehell-button > a {
  --glas-flaeche: .10;
  color: var(--white);
}

@media (prefers-reduced-motion: reduce) {
  html body :is(.link-farbehell-button, .link-farbemittel-button) > a,
  html body .outer-team .social,
  html body .outer-footer .footer-contact a.social,
  html body .outer-kundenstimmen .arrow { transition: none; transform: none !important; }
}

/* --------------------------------------------------------------------------
   Menü am Desktop: Home und Blog an der rechten Inhaltskante, Unterpunkte als
   kleines Glasfeld, das weich einblendet
   -------------------------------------------------------------------------- */
@media (min-width: 1200px) {
  html body .outer-navigation .s_container .container-inner.navigation .mod-menu {
    display: flex;
    justify-content: flex-end;
    gap: 40px;
    width: auto;
  }
  /* Die Punkte sind nur so breit wie ihr Wort. Das Original gab jedem 150px,
     dadurch standen Home und Blog weit auseinander. */
  html body .outer-navigation .s_container .container-inner.navigation .mod-menu > li {
    width: auto;
    min-width: 0;
    flex: 0 0 auto;
    text-align: left;
  }
  html body .outer-navigation .s_container .container-inner.navigation .mod-menu > li > a {
    width: auto;
    padding-inline: 0;
    font-size: var(--opt-ui);
    letter-spacing: .04em;
  }

  /* Das Feld ist immer im Dokument und wird nur ein- und ausgeblendet. */
  html body .outer-navigation .s_container .container-inner.navigation .mod-menu > li > ul {
    display: block;
    top: calc(100% + 16px);
    left: auto;
    right: -22px;
    min-width: 0;
    padding: 8px;
    border-radius: 18px;
    text-align: left;
    background: rgba(255, 255, 255, .78);
    -webkit-backdrop-filter: blur(18px) saturate(170%);
    backdrop-filter: blur(18px) saturate(170%);
    box-shadow:
      inset 1px 1px 0 rgba(255, 255, 255, .9),
      0 0 0 .5px rgba(43, 43, 43, .10),
      0 18px 36px -18px rgba(43, 43, 43, .35);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transform-origin: top right;
    transition: opacity .2s ease, transform .25s var(--opt-ease), visibility 0s .25s;
  }

  /* Unsichtbare Brücke, damit das Feld beim Hinunterfahren nicht zuklappt. */
  html body .outer-navigation .s_container .container-inner.navigation .mod-menu > li > ul::before {
    top: -16px;
    height: 16px;
  }

  html body .outer-navigation .s_container .container-inner.navigation .mod-menu > li:hover > ul,
  html body .outer-navigation .s_container .container-inner.navigation .mod-menu > li:focus-within > ul {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .2s ease, transform .25s var(--opt-ease), visibility 0s;
  }

  html body .outer-navigation .s_container .container-inner.navigation .mod-menu > li > ul > li {
    width: auto;
    flex: none;
    text-align: left;
  }

  html body .outer-navigation .s_container .container-inner.navigation .mod-menu > li > ul > li > a {
    display: block;
    padding: 9px 16px;
    border-radius: 11px;
    font-size: var(--opt-ui);
    line-height: 1.3;
    letter-spacing: var(--opt-ls);
    white-space: nowrap;
    color: var(--font-color);
    transition: background-color .2s ease;
  }

  html body .outer-navigation .s_container .container-inner.navigation .mod-menu > li > ul > li > a:hover,
  html body .outer-navigation .s_container .container-inner.navigation .mod-menu > li > ul > li > a:focus-visible {
    background-color: rgba(43, 43, 43, .06);
    color: var(--font-color);
  }
}

/* --------------------------------------------------------------------------
   Menü auf Telefon und Tablet: helles Glasfeld unter der Kopfzeile statt
   schwarzer Fläche über die ganze Seite. Logo und Kopfzeile bleiben, wie sie
   sind; die Seite dahinter wird nur leicht abgedunkelt.
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  html body .outer-navigation .s_container .container-inner.navigation {
    position: absolute;
    top: calc(100% + 8px);
    bottom: auto;
    left: auto;
    right: 12px;
    /* Auf dem Telefon fast fensterbreit, auf dem Tablet ein schmales Feld rechts. */
    width: min(420px, calc(100% - 24px));
    height: auto;
    max-height: calc(100dvh - 120px);
    padding: 8px 24px;
    border-radius: 22px;
    justify-content: flex-start;
    align-items: stretch;
    background: rgba(255, 255, 255, .8);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    backdrop-filter: blur(22px) saturate(170%);
    box-shadow:
      inset 1px 1px 0 rgba(255, 255, 255, .9),
      0 0 0 .5px rgba(43, 43, 43, .10),
      0 24px 48px -20px rgba(43, 43, 43, .4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity .22s ease, transform .28s var(--opt-ease), visibility 0s .28s;
  }

  html body .outer-navigation .s_container .container-inner.navigation.active {
    right: 12px;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .22s ease, transform .28s var(--opt-ease), visibility 0s;
  }

  /* Leichter Schleier über der Seite, solange das Menü offen ist. */
  html body .outer-navigation::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 100vh;
    background: rgba(43, 43, 43, .16);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
  }
  html body .outer-navigation:has(.menu-toggle.active)::after { opacity: 1; }

  /* Logo bleibt dunkel, das Kreuz ebenfalls. */
  html body .outer-navigation:has(.menu-toggle.active) .s_container .container-inner:not(.navigation) img { filter: none !important; }
  html body .outer-navigation .s_container .menu-toggle.active span { background-color: var(--font-color); }

  html body .outer-navigation .navigation .mobile-menu-links { gap: 0; }

  html body .outer-navigation .mobile-menu-links a {
    padding: 15px 0;
    border-bottom: 1px solid rgba(43, 43, 43, .08);
    color: var(--font-color);
    font-size: 20px;
    line-height: 1.3;
    font-weight: 300;
    letter-spacing: var(--opt-ls);
  }
  html body .outer-navigation .mobile-menu-links a:last-child { border-bottom: 0; }
  html body .outer-navigation .mobile-menu-links a:hover { opacity: 1; font-weight: 400; }
}

@media (prefers-reduced-motion: reduce) {
  html body .outer-navigation .s_container .container-inner.navigation,
  html body .outer-navigation .s_container .container-inner.navigation .mod-menu > li > ul,
  html body .outer-navigation::after { transition: none !important; transform: none !important; }
}

/* --------------------------------------------------------------------------
   Startseite, Kopfbereich: Proportionen und gelber Button
   -------------------------------------------------------------------------- */
html body .outer-header .content .headline {
  font-size: var(--opt-display);
  line-height: 1.22;
  letter-spacing: .04em;
  margin-bottom: 22px;
  text-wrap: initial;
}

html body .outer-header .content .text,
html body .outer-header .content .text p {
  font-size: var(--opt-lead);
  line-height: 1.5;
  letter-spacing: .04em;
}

html body .outer-header .content .text { margin-bottom: 36px; }

@media (min-width: 1200px) {
  /* Derselbe Seitenrand wie Kopfzeile und übrige Bereiche (100px), damit die
     Überschrift exakt unter dem Logo beginnt. */
  html body .outer-header { --header-gutter: 100px; }
  html body .outer-header { min-height: 600px; }
  html body .outer-header .s_container { padding-top: clamp(96px, 9.4vw, 142px); }
}

html body .outer-header .s_container .badge {
  width: clamp(132px, 12.2vw, 176px);
  height: clamp(132px, 12.2vw, 176px);
  right: clamp(0px, 2vw, 32px);
  bottom: clamp(24px, 3.4vw, 52px);
  font-size: clamp(16px, 1.4vw, 20px);
  box-shadow: 0 14px 30px -14px rgba(43, 43, 43, .45);
  transition: transform .3s var(--opt-ease), box-shadow .3s var(--opt-ease);
}

/* Der Text bricht nur an der gesetzten Stelle um und bleibt so immer zweizeilig. */
html body .outer-header .s_container .badge { padding: 0; }

html body .outer-header .s_container .badge p {
  font-size: inherit;
  line-height: 1.25;
  letter-spacing: 0;
  white-space: nowrap;
}

html body .outer-header .s_container a.badge:hover {
  transform: scale(1.04) rotate(-3deg);
  box-shadow: 0 20px 36px -14px rgba(43, 43, 43, .5);
}

@media (prefers-reduced-motion: reduce) {
  html body .outer-header .s_container .badge { transition: none; transform: none !important; }
}

/* Telefon: Die beiden stehen rechts neben dem Knopf, ihre Köpfe beginnen auf
   Höhe des Knopfs. Dadurch ist der Bereich nur noch so hoch wie der Text plus
   der Oberkörper der beiden. Gilt bis 599px Breite; darüber bleibt die
   bisherige Anordnung. */
@media (max-width: 599px) {
  html body .outer-header {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  html body .outer-header .s_container {
    position: static;
    min-height: 0;
    padding-top: 48px;
  }

  html body .outer-header .content .text { margin-bottom: 28px; }

  /* Platz unter dem Knopf für Schultern und Oberkörper. Die Haaroberkante
     liegt knapp über der Oberkante des Knopfs. */
  html body .outer-header::after {
    content: "";
    display: block;
    height: calc(62vw - 54px);
  }

  html body .outer-header > img {
    top: auto;
    /* 4px tiefer und 6vw weiter rechts, damit Julias Haar den Knopf nicht berührt. */
    bottom: calc(-82vw - 4px);
    right: auto;
    left: -14vw;
    width: 150vw;
    /* Das Foto blendet von oben und von links weich ein, damit Text und Knopf
       auf ruhiger Fläche stehen. */
    -webkit-mask-image:
      linear-gradient(180deg, transparent 0%, transparent 26%, #000 35%),
      linear-gradient(90deg, transparent 12%, #000 38%);
    mask-image:
      linear-gradient(180deg, transparent 0%, transparent 26%, #000 35%),
      linear-gradient(90deg, transparent 12%, #000 38%);
    -webkit-mask-composite: source-in;
    mask-composite: intersect;
  }

  /* Der Störer sitzt links unten auf der ruhigen Fläche neben Julia, bündig
     mit Text und Knopf, und verdeckt so niemanden. */
  html body .outer-header .s_container .badge {
    right: auto;
    left: var(--opt-rand, 24px);
    bottom: 22px;
    width: clamp(84px, 25vw, 104px);
    height: clamp(84px, 25vw, 104px);
    font-size: clamp(11.5px, 3.3vw, 13.5px);
    z-index: 2;
  }
}

/* --------------------------------------------------------------------------
   Logos: gleiche optische Größe, gleiche Abstände, gemeinsame Mittelachse
   -------------------------------------------------------------------------- */
html body .outer-firmen h2 {
  font-size: var(--opt-h3);
  line-height: 1.3;
}

/* Die drei Logos stehen bei jeder Fensterbreite in einer Reihe und schrumpfen
   mit dem Fenster. Alle drei sind senkrecht mittig ausgerichtet und liegen auf
   derselben Mittellinie. Die Hauptwörter (OTTO, NOVENTI, XXImo) sind gleich hoch. */
html body .outer-firmen { padding-block: 60px; }

html body .outer-firmen .container-inner {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: clamp(26px, 8vw, 96px);
  max-width: 900px;
  margin: 0 auto;
}

html body .outer-firmen .item {
  flex: 0 1 auto;
  min-width: 0;
  height: auto;
  align-items: center;
  justify-content: center;
}

html body .outer-firmen .item img {
  display: block;
  height: auto;
  max-height: none;
  max-width: 100%;
}

/* Breiten so gewählt, dass die Hauptwörter jeweils rund 22px hoch sind. */
html body .outer-firmen img[src*="/ottoPayments.png"] { width: min(100px, 16vw); }
html body .outer-firmen img[src*="/noventi_logo_1.png"] { width: min(132px, 21.1vw); }
html body .outer-firmen img[src*="/xxmimo.png"] { width: min(150px, 24vw); }

html body .outer-firmen .s_container { gap: clamp(30px, 6vw, 46px); }

@media (min-width: 1200px) {
  html body .outer-firmen { padding: 72px 0 64px; }
  html body .outer-firmen .s_container { max-width: 900px; }
  html body .outer-firmen h2 { height: auto; }
}

/* --------------------------------------------------------------------------
   „Welches Thema beschäftigt Sie gerade?“
   -------------------------------------------------------------------------- */
html body .outer-tabelement .question h3 {
  font-size: var(--opt-h3);
  line-height: 1.4;
}

html body .outer-tabelement .container-inner { transition: grid-template-rows .45s var(--opt-ease); }

/* Schließen geht schnell, Öffnen ruhig. Beim Schließen wechseln Fläche und
   Schrift in 0,12 s gemeinsam die Farbe. So gibt es keinen Moment, in dem die
   graue Schrift auf der grauen, noch verblassenden Fläche kurz verschwindet
   und dann hell wieder aufblitzt. */
html body .outer-tabelement .tab-white-box { transition: background-color .12s ease-out; }
html body .outer-tabelement .item.active .tab-white-box { transition: background-color .4s var(--opt-ease); }

html body .outer-tabelement .question { transition: opacity .2s ease, color .12s ease-out; }
html body .outer-tabelement .item.active .question { transition: opacity .2s ease, color .25s ease; }
html body .outer-tabelement .item.active .question:hover { opacity: 1; }

html body .outer-tabelement .answer {
  transform: none;
  transition: opacity .08s ease-out, visibility 0s .08s;
}

html body .outer-tabelement .item.active .answer {
  transform: none;
  transition: opacity .35s ease .15s, visibility 0s;
}

html body .outer-tabelement .answer .topic-list { gap: 8px; }

/* Verlinkte Fragen: gelber Markerstrich unter der Grundlinie. Beim Überfahren
   wächst das Gelb von unten bis etwa zur halben Buchstabenhöhe. */
html body .outer-tabelement .answer .topic-list a {
  text-decoration: none;
  padding: 0 .12em .16em;
  margin: 0 -.12em;
  background: linear-gradient(var(--farbehell), var(--farbehell)) no-repeat 0 100% / 100% .36em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background-size .25s var(--opt-ease);
}

html body .outer-tabelement .answer .topic-list a:hover,
html body .outer-tabelement .answer .topic-list a:focus-visible {
  background-size: 100% .78em;
}

@media (min-width: 1200px) {
  html body .outer-tabelement .s_container { padding: 64px 75px; }
  html body .outer-tabelement h2 { margin-bottom: 36px; }
  /* Breitere Antwortspalte, damit die Sätze in eine Zeile passen. */
  html body .outer-tabelement .tab-white-box {
    grid-template-columns: minmax(0, 5fr) minmax(0, 9fr);
    gap: 40px;
    padding: 24px 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .outer-tabelement :is(.container-inner, .tab-white-box, .question, .answer) { transition: none !important; }
}

/* --------------------------------------------------------------------------
   AML-Compliance: Grafik und Infobox
   Jede Dimension hat ihre eigene Farbe. Die aktive Farbe erscheint nur als
   feiner Akzent an Mittelpunkt, Linie, Knoten und Listenpunkten. Die Grafik
   bewegt sich nicht von selbst, alle Schatten sind neutral grau.
   -------------------------------------------------------------------------- */
@property --aml-aktiv {
  syntax: "<color>";
  inherits: true;
  initial-value: #759793;
}

html body .outer-amlcompliance .container-inner { transition: --aml-aktiv .5s var(--opt-ease); }
html body .outer-amlcompliance .container-inner:has(.node:nth-of-type(1).active) { --aml-aktiv: var(--aml-node-1); }
html body .outer-amlcompliance .container-inner:has(.node:nth-of-type(2).active) { --aml-aktiv: var(--aml-node-2); }
html body .outer-amlcompliance .container-inner:has(.node:nth-of-type(3).active) { --aml-aktiv: var(--aml-node-3); }
html body .outer-amlcompliance .container-inner:has(.node:nth-of-type(4).active) { --aml-aktiv: var(--aml-node-4); }
html body .outer-amlcompliance .container-inner:has(.node:nth-of-type(5).active) { --aml-aktiv: var(--aml-node-5); }
html body .outer-amlcompliance .container-inner:has(.node:nth-of-type(6).active) { --aml-aktiv: var(--aml-node-6); }

/* Zarter Lichtschein hinter der Grafik und eine ruhende Umlaufbahn durch alle Knoten. */
html body .outer-amlcompliance .graphic::before,
html body .outer-amlcompliance .graphic::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

html body .outer-amlcompliance .graphic::before {
  inset: 14%;
  z-index: 0;
  background: radial-gradient(closest-side,
    color-mix(in srgb, var(--aml-aktiv) 10%, transparent) 0%,
    color-mix(in srgb, var(--aml-aktiv) 4%, transparent) 55%,
    transparent 100%);
}

html body .outer-amlcompliance .graphic::after {
  inset: 15.6%;
  z-index: 0;
  border: 1px dashed var(--grauhell);
  opacity: .8;
}

/* Verbindungslinien: ruhig in Grau, nur die aktive trägt ihre Farbe. */
html body .outer-amlcompliance .connector-lines { z-index: 1; }

html body .outer-amlcompliance .connector-lines line {
  stroke: var(--grauhell);
  stroke-width: 1.5;
  stroke-opacity: 1;
  transition: stroke .4s ease, stroke-width .4s ease;
}

html body .outer-amlcompliance .connector-lines line.active {
  stroke: var(--aml-aktiv);
  stroke-width: 2;
}

/* Mittelpunkt: weißer Kreis mit feinem farbigem Ring. */
html body .outer-amlcompliance .graphic .center-circle {
  z-index: 2;
  border: 1px solid color-mix(in srgb, var(--aml-aktiv) 55%, white);
  background: var(--white);
  color: var(--font-color);
  font-weight: 500;
  box-shadow:
    0 0 0 6px color-mix(in srgb, var(--aml-aktiv) 9%, transparent),
    0 8px 20px -12px rgba(43, 43, 43, .25);
}

/* Knoten: weiße Pillen, die aktive leuchtet in ihrer Farbe. */
html body .outer-amlcompliance .graphic :is(.center-circle, .node) {
  font-size: 2.8cqw;
  line-height: 1.25;
  letter-spacing: .02em;
}

html body .outer-amlcompliance .graphic .node:nth-of-type(1) { --knoten: var(--aml-node-1); }
html body .outer-amlcompliance .graphic .node:nth-of-type(2) { --knoten: var(--aml-node-2); }
html body .outer-amlcompliance .graphic .node:nth-of-type(3) { --knoten: var(--aml-node-3); }
html body .outer-amlcompliance .graphic .node:nth-of-type(4) { --knoten: var(--aml-node-4); }
html body .outer-amlcompliance .graphic .node:nth-of-type(5) { --knoten: var(--aml-node-5); }
html body .outer-amlcompliance .graphic .node:nth-of-type(6) { --knoten: var(--aml-node-6); }

html body .outer-amlcompliance .graphic .node {
  z-index: 2;
  border: 1px solid color-mix(in srgb, var(--knoten) 32%, white);
  border-radius: 3cqw;
  background: var(--white);
  box-shadow:
    0 1px 2px rgba(43, 43, 43, .05),
    0 8px 18px -12px rgba(43, 43, 43, .28);
  transition: background-color .35s ease, border-color .35s ease;
}

html body .outer-amlcompliance .graphic .node:hover {
  background: color-mix(in srgb, var(--knoten) 7%, white);
  border-color: color-mix(in srgb, var(--knoten) 60%, white);
}

html body .outer-amlcompliance .graphic .node.active {
  background: color-mix(in srgb, var(--knoten) 9%, white);
  border-color: color-mix(in srgb, var(--knoten) 75%, white);
  font-weight: 500;
  box-shadow:
    0 1px 2px rgba(43, 43, 43, .05),
    0 8px 18px -12px rgba(43, 43, 43, .28);
}

/* Infobox: weiß und ruhig, Farbe nur in den Listenpunkten. */
html body .outer-amlcompliance .detail-item h3 {
  font-size: var(--opt-h3);
  line-height: 1.3;
  margin-bottom: 8px;
}

html body .outer-amlcompliance .detail-item .text ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

html body .outer-amlcompliance .detail-item .text li {
  position: relative;
  margin: 0;
  padding: 9px 0 9px 22px;
  font-size: var(--opt-text);
  line-height: 1.4;
  border-top: 1px solid var(--surface-muted);
}

/* Kein Strich zwischen Überschrift und erstem Punkt. */
html body .outer-amlcompliance .detail-item .text li:first-child { border-top: 0; }

html body .outer-amlcompliance .detail-item .text li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: calc(9px + .7em - 3px);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aml-aktiv);
}

html body .outer-amlcompliance .detail-item.active { animation: opt-aml-in .35s var(--opt-ease) both; }

@keyframes opt-aml-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (min-width: 1200px) {
  html body .outer-amlcompliance { padding: 88px 100px; }
  html body .outer-amlcompliance .intro { max-width: 860px; }
  html body .outer-amlcompliance .container-inner { margin-top: 32px; gap: 40px; }
  html body .outer-amlcompliance .detail-item.active {
    width: 360px;
    min-height: 0;
    margin-left: 30px;
    padding: 28px 30px 20px;
    border: 1px solid var(--grauhell);
    background: var(--white);
    /* Derselbe neutrale Schatten wie bei den Knöpfen, kein farbiger Schein. */
    box-shadow:
      0 1px 2px rgba(43, 43, 43, .05),
      0 16px 32px -20px rgba(43, 43, 43, .30);
  }
}

@media (prefers-reduced-motion: reduce) {
  html body .outer-amlcompliance .container-inner { transition: none; }
  html body .outer-amlcompliance .detail-item.active { animation: none; }
  html body .outer-amlcompliance .graphic .node { transition: none; }
}

/* --------------------------------------------------------------------------
   Rollen: Unterstreichung so breit wie das Wort und näher am Wort
   -------------------------------------------------------------------------- */
html body .outer-ctabig .roles .item {
  width: fit-content;
  max-width: 100%;
  justify-content: flex-start;
  gap: 0;
}

html body .outer-ctabig .roles .item::after,
html body .outer-ctabig .roles .item:nth-child(4)::after {
  width: calc(100% + 10px);
  max-width: none;
  height: 10px;
  margin: -1px 0 0 -5px;
}

html body .outer-ctabig .content .text,
html body .outer-ctabig .content .text p {
  font-size: var(--opt-text);
  line-height: var(--opt-text-lh);
}

@media (min-width: 1200px) {
  html body .outer-ctabig { padding: 84px 100px; }
  html body .outer-ctabig .s_container { min-height: 0; }
  html body .outer-ctabig h2 { margin-bottom: 36px; }
  html body .outer-ctabig .roles { margin-bottom: 36px; }
  /* Gilt für alle Sprachen, damit auch die englischen Rollen einzeilig bleiben. */
  html body .outer-ctabig .roles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  html body .outer-ctabig .roles .item {
    font-size: var(--opt-akzent);
    line-height: 1.2;
    white-space: nowrap;
    overflow-wrap: normal;
  }
  html body .outer-ctabig .s_container .container-inner.content { min-height: 0; gap: 80px; }
  html body .outer-ctabig .s_container .container-inner.content .text { max-width: 760px; }
}

/* --------------------------------------------------------------------------
   Gelbe Boxen: gleiche Zeilen in allen Kacheln, Grafiken auf einer Achse
   -------------------------------------------------------------------------- */
html body .outer-beratungsleistungen .item h5 {
  font-size: var(--opt-h3);
  line-height: 1.35;
}

/* Automatische Silbentrennung im Kacheltext. Getrennt werden Wörter ab sechs
   Buchstaben, mit mindestens vier Buchstaben vor und drei nach dem Trennstrich
   (bei drei davor trennt der Browser falsch: „Rei-fegrad“). Die
   Zeilen werden voll ausgenutzt (kein „pretty“-Umbruch), damit die Trennung
   auch wirklich greift und der rechte Rand ruhiger wird. */
html body .custom-sorted-modules .outer-beratungsleistungen .item .text,
html body .custom-sorted-modules .outer-beratungsleistungen .item .text p {
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 6 4 3;
  -webkit-hyphenate-limit-before: 4;
  -webkit-hyphenate-limit-after: 3;
  overflow-wrap: normal;
  text-wrap: wrap;
}

html body .outer-beratungsleistungen .item { overflow-wrap: normal; }

/* Verhindert 1px seitlichen Überlauf der Kacheln bei 320px Breite. */
html body .outer-beratungsleistungen { overflow-x: clip; }

html body .outer-beratungsleistungen .item-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

html body .outer-beratungsleistungen .item-image img { margin: 0 auto; }

html body .outer-beratungsleistungen .item .link-farbehell-button > a { white-space: nowrap; }

@media (min-width: 1200px) {
  html body .outer-beratungsleistungen { padding: 88px 50px; }
  html body .outer-beratungsleistungen .s_container { gap: 40px; }
  /* Bild, Titel, Text und Knopf stehen in allen vier Kacheln auf gleicher Höhe. */
  html body .outer-beratungsleistungen .container-inner { grid-template-rows: auto auto 1fr auto; }
  html body .outer-beratungsleistungen .item {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    gap: 16px;
    padding: 32px 32px 34px;
  }
  html body .outer-beratungsleistungen .item-image { margin-bottom: 4px; }
  html body .outer-beratungsleistungen .item-image img { width: min(100%, 190px); }
  html body .outer-beratungsleistungen .item .link-farbehell-button { margin-top: 12px; align-self: end; }
}

/* --------------------------------------------------------------------------
   Kundenstimmen („Trusted by“)
   -------------------------------------------------------------------------- */
html body .outer-kundenstimmen .arrow {
  font-size: 0;
  color: var(--font-color);
}

html body .outer-kundenstimmen .arrow::before {
  content: "";
  width: 18px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("/images/gestaltung/arrowBlack.svg") center / contain no-repeat;
  mask: url("/images/gestaltung/arrowBlack.svg") center / contain no-repeat;
}

html body .outer-kundenstimmen .arrow.prev::before { transform: scaleX(-1); }


/* Zitat und Name sind eine Stufe kleiner als der übrige Fließtext. */
html body .custom-sorted-modules > .outer-kundenstimmen .swiper-slide :is(.text, .text p, .text strong) {
  font-size: var(--opt-ui);
  line-height: 1.6;
}

html body .custom-sorted-modules > .outer-kundenstimmen .swiper-slide .author {
  font-size: var(--opt-klein);
  letter-spacing: var(--opt-ls);
}

@media (min-width: 1200px) {
  html body .outer-kundenstimmen { padding: 0 100px 88px; }
  html body .outer-kundenstimmen .s_container { gap: 32px; }
  html body .outer-kundenstimmen h2 { height: auto; }
  html body .outer-kundenstimmen .container-inner { height: auto; align-items: center; gap: 40px; }
  html body .outer-kundenstimmen .arrow {
    width: 48px;
    height: 48px;
    align-self: center;
    margin-top: 0;
  }
  html body .outer-kundenstimmen :is(.kundenstimmenSwiper, .swiper-slide) { height: auto; }
  /* Bild, Zitat und Name fließen untereinander, damit der Name nie am Text klebt. */
  html body .outer-kundenstimmen .swiper-slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  html body .outer-kundenstimmen .swiper-slide img {
    position: static;
    transform: none;
    width: 64px;
    height: 64px;
    margin: 0 0 22px;
  }
  html body .outer-kundenstimmen .swiper-slide .text {
    position: static;
    height: auto;
    max-width: 860px;
  }
  html body .outer-kundenstimmen .swiper-slide .author {
    position: static;
    height: auto;
    margin-top: 20px;
  }
}

/* Die Kundenstimmen wandern über die gesamte Fensterbreite hinaus. Dafür ist
   der Slider so breit wie das Fenster, die Pfeile liegen an der Inhaltskante
   darüber, und der Text bleibt in der Mitte. */
html body .outer-kundenstimmen :is(.s_container, .container-inner) { overflow: visible; }

html body .outer-kundenstimmen .container-inner {
  position: relative;
  display: block;
}

html body .outer-kundenstimmen .kundenstimmenSwiper {
  width: 100vw;
  min-width: 0;
  margin-inline: calc(50% - 50vw);
}

html body .outer-kundenstimmen .swiper-slide {
  box-sizing: border-box;
  padding-inline: 88px;
}

html body .outer-kundenstimmen .arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  margin: -24px 0 0;
}

html body .outer-kundenstimmen .arrow.prev { left: 0; }
html body .outer-kundenstimmen .arrow.next { right: 0; }
html body .outer-kundenstimmen .arrow:hover { transform: translateY(-1px); }

@media (min-width: 1200px) {
  html body .outer-kundenstimmen .swiper-slide { padding-inline: 180px; }
}

/* --------------------------------------------------------------------------
   KPIs: kleiner, fünf gleich breite Spalten, mittig ausgerichtet
   -------------------------------------------------------------------------- */
html body .outer-leistungskennzahlen .item { text-align: center; }

html body .outer-leistungskennzahlen .item h3 {
  font-size: var(--opt-h2);
  line-height: 1.2;
}

html body .outer-leistungskennzahlen .item span {
  font-size: var(--opt-text);
  line-height: 1.4;
  letter-spacing: var(--opt-ls);
  text-wrap: balance;
}

@media (min-width: 1200px) {
  html body .outer-leistungskennzahlen { padding: 64px 50px; }
  html body .outer-leistungskennzahlen .container-inner {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    max-width: 1120px;
    min-height: 0;
    gap: 32px;
  }
  html body .outer-leistungskennzahlen .item,
  html body .outer-leistungskennzahlen .item:nth-child(2),
  html body .outer-leistungskennzahlen .item:nth-child(4) {
    height: auto;
    padding: 0;
  }
  html body .outer-leistungskennzahlen .item h3 { margin-bottom: 8px; }
}

/* --------------------------------------------------------------------------
   People-Boxen und „Über consalty“
   -------------------------------------------------------------------------- */
/* Die Texte liegen auf Fotos und dunkler Fläche und sind deshalb eine Stufe kleiner. */
html body .outer-team .footer-row h3 { font-size: var(--opt-lead); line-height: 1.3; }
html body .outer-team .about h3 { font-size: var(--opt-lead); line-height: 1.3; }
html body .custom-sorted-modules > .outer-team :is(p, .text, .text strong) {
  font-size: var(--opt-ui);
  line-height: 1.55;
}

@media (min-width: 1200px) {
  html body .outer-team { padding: 88px 50px; }
  html body .outer-team :is(.item, .profile, .about) { height: 600px; min-height: 600px; }

  /* Text und Namenszeile stehen im Fluss und wachsen von unten nach oben. */
  html body .outer-team .overlay {
    top: auto;
    bottom: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 36px;
  }
  html body .outer-team .overlay .text { height: auto; }
  html body .outer-team .footer-row {
    position: static;
    height: auto;
    align-items: center;
  }
  html body .outer-team .footer-row h3 { height: auto; }
  html body .outer-team .social { flex: 0 0 48px; width: 48px; height: 48px; }

  html body .outer-team .about {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 20px;
    padding: 36px;
  }
  html body .outer-team .about :is(h3, .text, .link-farbemittel-button) {
    position: static;
    width: auto;
    height: auto;
  }
  /* Der Knopf steht in einer 48px hohen Zeile, mittig wie die LinkedIn-Knöpfe daneben. */
  html body .outer-team .about .link-farbemittel-button {
    display: flex;
    align-items: center;
    height: 48px;
    margin-top: 6px;
  }
}

/* --------------------------------------------------------------------------
   „Wie können wir Ihnen weiterhelfen?“
   -------------------------------------------------------------------------- */
html body .outer-cta .s_container h2 {
  font-size: var(--opt-h2);
  line-height: 1.25;
  letter-spacing: var(--opt-ls);
}

/* Der Unternehmensname steht im kräftigsten Schnitt. */
html body .outer-cta .link-farbehell-button > a strong { font-weight: 700; }

@media (min-width: 1200px) {
  html body .outer-cta { padding: 76px 100px; min-height: 0; }
  html body .outer-cta .s_container,
  html body .outer-cta .container-inner { height: auto; min-height: 0; }
  html body .outer-cta .container-inner { gap: 30px; }
  html body .outer-cta h2 { height: auto; }
}

/* --------------------------------------------------------------------------
   Impressum im Fuß
   -------------------------------------------------------------------------- */
/* Das Impressum ist Pflichtangabe und tritt zurück: Auf breiten Bildschirmen
   bleibt es bei 14px, unter 1200px sind es 12px. */
html body .outer-footer { --opt-fuss: var(--opt-klein); }
@media (max-width: 1199px) {
  html body .outer-footer { --opt-fuss: 12px; }
}
html body .custom-sorted-modules > .outer-footer :is(p, strong, a, .text, .text strong) {
  font-size: var(--opt-fuss);
  line-height: 1.6;
  letter-spacing: var(--opt-ls);
}

html body .outer-footer .text p { margin: 0 0 16px; }
@media (max-width: 1199px) { html body .outer-footer .text p { margin-bottom: 12px; } }
html body .outer-footer a.footer-privacy-link { text-decoration: underline; text-underline-offset: .2em; text-decoration-color: rgba(43, 43, 43, .35); }
html body .outer-footer a.footer-privacy-link:hover { text-decoration-color: currentColor; }

/* iPhones machen aus Ziffernfolgen wie der Umsatzsteuer-ID einen Telefon-Link.
   Links im Fuß sind im Original weiß und damit auf Weiß unsichtbar; solche
   automatischen Links übernehmen deshalb Farbe und Schrift des Textes. */
html body .outer-footer .text a:not(.contact-link),
html body .outer-footer a[x-apple-data-detectors],
html body .outer-footer a[href^="tel:"]:not(.contact-link) {
  color: inherit !important;
  font: inherit;
  letter-spacing: inherit;
  text-decoration: none !important;
}

@media (min-width: 1200px) {
  html body .outer-footer { padding-top: 80px; }
  html body .outer-footer .container-inner > .item:nth-child(1) > .text p:first-child,
  html body .outer-footer .container-inner > .item:nth-child(2) > .text p:first-child { margin-bottom: 16px; }
  /* „Kontakt“ steht auf derselben Zeile wie „Vertreten durch“ und „Umsatzsteuer-ID“. */
  html body .outer-footer .footer-contact { margin-top: 0; }
  html body .outer-footer .container-inner > .item:nth-child(3) > .text p {
    min-height: calc(3 * 1.6em);
    margin-bottom: 16px;
  }
  html body .outer-footer .footer-contact .text p { margin-bottom: 0; }
}

/* LinkedIn steht rechts neben dem Kontaktblock, mittig zu dessen Zeilen. */
html body .outer-footer .footer-contact {
  display: grid;
  grid-template-columns: max-content max-content;
  justify-content: start;
  align-items: center;
  column-gap: 28px;
}

html body .outer-footer .footer-contact > strong { grid-column: 1; }
html body .outer-footer .footer-contact > .text { grid-column: 1; }
/* Telefon und E-Mail bleiben jeweils in einer Zeile. */
html body .outer-footer .footer-contact > .text p { white-space: nowrap; }

html body .outer-footer .footer-contact a.social {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Graugrüne Flächen: abgedunkelt, damit weiße Schrift 4,7:1 Kontrast hat
   (vorher #B1B6AF mit etwa 2:1)
   -------------------------------------------------------------------------- */
:root { --opt-flaeche: #6F766D; }

html body .outer-ctabig,
html body .outer-cta { background: var(--opt-flaeche); }

/* --------------------------------------------------------------------------
   „Wie können wir Ihnen weiterhelfen?“ als Schlusspunkt der Seite
   Abgerundete Fläche mit Rand zum Fenster, weiches Licht auf dem Graugrün,
   größere Frage mit dem handgezeichneten Strich der Rollen, größerer Knopf.
   -------------------------------------------------------------------------- */
html body .outer-cta {
  background:
    radial-gradient(70% 120% at 18% 0%, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(60% 110% at 88% 100%, rgba(43, 43, 43, .22) 0%, rgba(43, 43, 43, 0) 60%),
    var(--opt-flaeche);
}

html body .outer-cta .s_container h2 {
  font-size: calc(var(--opt-display) * .86);
  line-height: 1.22;
  letter-spacing: .02em;
}

html body .outer-cta .s_container h2 strong {
  position: relative;
  display: inline-block;
}

html body .outer-cta .s_container h2 strong::after {
  content: "";
  position: absolute;
  left: -3%;
  right: -3%;
  bottom: -.14em;
  height: .2em;
  background: url("/images/startseite/consalty/roles/underline-long.png") center / 100% 100% no-repeat;
  pointer-events: none;
}

html body .outer-cta .container-inner { gap: 40px; }

@media (min-width: 1200px) {
  /* Derselbe Rand zum Fenster und dieselbe Rundung wie bei „Welches Thema …“. */
  html body .outer-cta {
    padding: 25px;
    background: var(--white);
  }
  html body .outer-cta .s_container {
    box-sizing: border-box;
    max-width: 1412px;
    padding: 88px 75px 84px;
    border-radius: 15px;
    background:
      radial-gradient(70% 120% at 18% 0%, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 60%),
      radial-gradient(60% 110% at 88% 100%, rgba(43, 43, 43, .22) 0%, rgba(43, 43, 43, 0) 60%),
      var(--opt-flaeche);
  }
  html body .outer-cta .container-inner { gap: 36px; }
}

/* --------------------------------------------------------------------------
   „In diesen Rollen können Sie uns beauftragen“
   Abgerundete Fläche mit weichem Licht wie der Kontaktbereich. Die Rollen
   bleiben reine Schrift mit Strich.
   -------------------------------------------------------------------------- */
html body .outer-ctabig {
  background:
    radial-gradient(70% 120% at 12% 0%, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(60% 110% at 90% 100%, rgba(43, 43, 43, .22) 0%, rgba(43, 43, 43, 0) 60%),
    var(--opt-flaeche);
}

@media (min-width: 1200px) {
  /* Derselbe Rand zum Fenster und dieselbe Rundung wie beim Kontaktbereich. */
  html body .outer-ctabig {
    padding: 25px;
    background: var(--white);
  }
  html body .outer-ctabig .s_container {
    box-sizing: border-box;
    max-width: 1412px;
    padding: 75px 75px 72px;
    border-radius: 15px;
    background:
      radial-gradient(70% 120% at 12% 0%, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 60%),
      radial-gradient(60% 110% at 90% 100%, rgba(43, 43, 43, .22) 0%, rgba(43, 43, 43, 0) 60%),
      var(--opt-flaeche);
  }
  html body .outer-ctabig .roles { margin-bottom: 40px; }
}

/* ==========================================================================
   Telefon (bis 767px): Bereiche kompakter, aber mit Luft
   Einheitlicher Seitenrand wie im Kopfbereich, 52px Abstand oben und unten.
   ========================================================================== */
@media (max-width: 767px) {
  :root { --opt-rand: clamp(22px, 6.6vw, 36px); }

  html body :is(.outer-tabelement, .outer-amlcompliance, .outer-ctabig, .outer-beratungsleistungen,
    .outer-kundenstimmen, .outer-leistungskennzahlen, .outer-team, .outer-cta) {
    padding: 52px var(--opt-rand);
  }

  html body .outer-navigation { padding-inline: var(--opt-rand); }
  html body .outer-firmen { padding-inline: var(--opt-rand); }
  html body .outer-footer { padding: 48px var(--opt-rand) 0; }

  html body :is(.outer-tabelement, .outer-amlcompliance) h2 { margin-bottom: 24px; }
  html body :is(.outer-ctabig, .outer-beratungsleistungen, .outer-kundenstimmen) .s_container { gap: 26px; }

  /* Themen-Boxen: mehr Luft, und der Inhalt fährt beim Öffnen weich heraus.
     Die Antwort ist immer im Dokument und wächst von null auf ihre Höhe, Text
     und gelbe Striche blenden dabei gemeinsam ein. Vorher sprang die Antwort
     auf, und die Striche waren kurz vor dem Text zu sehen. */
  html body .outer-tabelement .tab-white-box { padding: 22px 22px; gap: 0; border-radius: 20px; }

  html body .outer-tabelement .item .answer,
  html body .outer-tabelement .item:not(.active) .answer {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;
    transition: grid-template-rows .4s var(--opt-ease), opacity .2s ease, visibility 0s .4s;
  }

  html body .outer-tabelement .item.active .answer {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
    transition: grid-template-rows .4s var(--opt-ease), opacity .35s ease .12s, visibility 0s;
  }

  html body .outer-tabelement .item .answer > * {
    min-height: 0;
    overflow: hidden;
  }

  /* Abstand zur Überschrift als Außenabstand des ersten Punkts, damit die
     geschlossene Antwort wirklich null hoch ist. */
  html body .outer-tabelement .answer .topic-list { gap: 12px; padding: 0; }
  html body .outer-tabelement .answer .topic-list li:first-child { margin-top: 16px; }
  html body .outer-tabelement .answer .topic-list li:last-child { margin-bottom: 4px; }

  /* AML-Compliance */
  html body .outer-amlcompliance .container-inner { margin-top: 20px; gap: 12px; }
  html body .outer-amlcompliance .detail { padding: 20px 22px 12px; border-radius: 20px; background: var(--white); border: 1px solid var(--grauhell); }

  /* Rollen */
  html body .outer-ctabig .roles { gap: 12px; }
  html body .outer-ctabig .roles .item { font-size: 22px; line-height: 1.2; }
  html body .outer-ctabig .container-inner.content { gap: 22px; }

  /* Gelbe Boxen: Grafik klein neben dem Titel statt groß darüber. */
  html body .outer-beratungsleistungen .container-inner { gap: 12px; }
  html body .outer-beratungsleistungen .item {
    flex: 1 1 100%;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    column-gap: 16px;
    row-gap: 12px;
    align-items: center;
    padding: 20px 22px 24px;
    border-radius: 20px;
  }
  html body .outer-beratungsleistungen .item-image { min-height: 0; margin: 0; }
  html body .outer-beratungsleistungen .item-image img { width: 76px; height: auto; }
  html body .outer-beratungsleistungen .item h5 {
    margin: 0;
    font-size: 18px;
    /* Lange Wörter wie „Standortbestimmung“ dürfen auf sehr schmalen Telefonen trennen. */
    -webkit-hyphens: auto;
    hyphens: auto;
    /* Nur sehr lange Wörter trennen, mit mindestens acht Buchstaben davor. */
    hyphenate-limit-chars: 14 8 6;
    -webkit-hyphenate-limit-before: 8;
    -webkit-hyphenate-limit-after: 6;
  }
  html body .outer-beratungsleistungen .item .text { grid-column: 1 / -1; }
  html body .outer-beratungsleistungen .item .text p { margin: 0; }
  html body .outer-beratungsleistungen .item .link-farbehell-button { grid-column: 1 / -1; margin-top: 4px; }

  /* Kundenstimmen: Text über die volle Breite, Pfeile mittig darunter. */
  html body .outer-kundenstimmen .container-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 20px;
    column-gap: 14px;
  }
  html body .outer-kundenstimmen .kundenstimmenSwiper { grid-column: 1 / -1; grid-row: 1; }
  html body .outer-kundenstimmen .swiper-slide { padding: 0 var(--opt-rand); }
  html body .outer-kundenstimmen .swiper-slide img { width: 60px; height: 60px; margin-bottom: 16px; }
  html body .outer-kundenstimmen .swiper-slide .author { margin-top: 14px; }
  html body .outer-kundenstimmen .arrow {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    grid-row: 2;
    width: 44px;
    height: 44px;
    margin: 0;
  }
  html body .outer-kundenstimmen .arrow.prev { justify-self: end; }
  html body .outer-kundenstimmen .arrow.next { justify-self: start; }

  /* KPIs: zwei Spalten statt fünf Zeilen. */
  html body .outer-leistungskennzahlen { padding-block: 44px; }
  html body .outer-leistungskennzahlen .container-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px 16px;
  }
  html body .outer-leistungskennzahlen .item { min-width: 0; padding: 0; }
  html body .outer-leistungskennzahlen .item:last-child:nth-child(odd) { grid-column: 1 / -1; }
  html body .outer-leistungskennzahlen .item h3 { font-size: 26px; margin-bottom: 4px; }
  html body .outer-leistungskennzahlen .item span { font-size: 15px; }

  /* Team: flachere Kacheln, kleinere LinkedIn-Knöpfe. */
  html body .outer-team :is(.s_container, .container-inner) { gap: 12px; }
  html body .outer-team .item { flex: 1 1 100%; min-width: 0; border-radius: 20px; }
  html body .outer-team .profile { min-height: 0; aspect-ratio: 5 / 6; }
  html body .outer-team .overlay { padding: 22px; }
  html body .outer-team .footer-row { margin-top: 14px; flex-wrap: nowrap; }
  html body .outer-team .social { width: 44px; height: 44px; flex: none; }
  html body .outer-team .about { padding: 26px 22px; gap: 14px; }
  html body .outer-team .about h3 { margin: 0; }
  html body .outer-team .about .text p { margin: 0; }

  /* Kontaktbereich */
  html body .outer-cta { padding-block: 56px; }
  html body .outer-cta .container-inner { gap: 26px; }
  html body .outer-cta h2 { margin: 0; }

  /* Fuß */
}

/* Fuß unter 992px */
@media (max-width: 991px) {
  /* Fuß: zwei Spalten in einem gemeinsamen Raster. Die Blöcke beider Spalten
     liegen in denselben Zeilen und beginnen deshalb auf gleicher Höhe:
     Impressum | Handelsregistereintrag, Vertreten durch | Umsatzsteuer-ID,
     Credits | Kontakt. */
  html body .outer-footer { padding-top: 36px; }
  html body .outer-footer .container-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 20px;
    row-gap: 0;
    align-items: start;
  }
  html body .outer-footer .container-inner > .item,
  html body .outer-footer .container-inner > .item > .text { display: contents; }
  html body .outer-footer .container-inner > .item > strong { grid-row: 1; }
  html body .outer-footer .container-inner > .item > .text > p:nth-child(1) { grid-row: 2; }
  html body .outer-footer .container-inner > .item > .text > p:nth-child(2) { grid-row: 3; }
  html body .outer-footer .container-inner > .item > :is(a.footer-privacy-link, .footer-nebenlinks) { grid-row: 7; grid-column: 1 / -1; justify-self: start; margin-top: 16px; }
  html body .outer-footer .container-inner > .item:nth-child(1) > :is(strong, .text > p) { grid-column: 1; }
  html body .outer-footer .container-inner > .item:nth-child(2) > :is(strong, .text > p) { grid-column: 2; }
  html body .outer-footer .container-inner > .item:nth-child(3) > strong { grid-column: 1; grid-row: 5; margin-top: 20px; }
  html body .outer-footer .container-inner > .item:nth-child(3) > .text > p { grid-column: 1; grid-row: 6; }
  html body .outer-footer .text p,
  html body .outer-footer .text p:last-child { margin-bottom: 10px; }
  /* Lange Überschriften wie „Handelsregistereintrag“ trennen in der schmalen Spalte. */
  html body .outer-footer .item > strong { display: block; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

  /* Kontakt steht in der rechten Spalte. In der schmalen Spalte dürfen
     Telefon und E-Mail nach der Bezeichnung umbrechen. */
  html body .outer-footer .footer-contact {
    grid-column: 2;
    grid-row: 5 / span 2;
    grid-template-columns: minmax(0, 1fr);
    margin: 20px 0 0;
    row-gap: 0;
  }
  html body .outer-footer .footer-contact > .text p { white-space: normal; margin-bottom: 0; }
  html body .outer-footer .footer-contact .contact-link { white-space: nowrap; }

  /* LinkedIn ist hier kein Knopf, sondern eine Textzeile unter Telefon und E-Mail. */
  html body .outer-footer .footer-contact :is(a.social, a.social:hover) {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    display: inline-block;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transform: none;
    font-size: var(--opt-fuss);
    line-height: 1.6;
    letter-spacing: var(--opt-ls);
    font-weight: 300;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: .2em;
    text-decoration-color: rgba(43, 43, 43, .35);
  }
  html body .outer-footer .footer-contact a.social:hover { text-decoration-color: currentColor; }
  html body .outer-footer .footer-contact a.social::before { content: "LinkedIn"; }
  html body .outer-footer .footer-contact a.social::after,
  html body .outer-footer .footer-contact a.social img { display: none; }
  html body .outer-footer .brand { margin-top: 28px; }
}

/* Drei Spalten zwischen 992 und 1199px: Die zweiten Blöcke („Vertreten durch“,
   „Umsatzsteuer-ID“, „Kontakt“) beginnen auf gleicher Höhe. */
@media (min-width: 992px) and (max-width: 1199px) {
  html body .outer-footer .container-inner > .item > .text > p:first-child { min-height: calc(3 * 1.6em); }
  html body .outer-footer .footer-contact { margin-top: 0; }
}

/* Große Telefone und kleine Tablets (560–767px): die beiden Porträts
   nebeneinander, damit sie nicht bildschirmfüllend werden. */
@media (min-width: 560px) and (max-width: 767px) {
  html body .outer-team .profile { flex: 1 1 calc(50% - 6px); aspect-ratio: 4 / 5; }
}

/* ==========================================================================
   Blog (insights): Übersicht, Kategorien, Artikel
   Gleiche Ränder, Schriftgrößen und Knöpfe wie auf der Startseite.
   ========================================================================== */
html body div.outer-sblog.outer-sblog.outer-sblog.outer-sblog,
html body article.sblog-post.sblog-post {
  --blog-rand: var(--opt-rand, 36px);
  padding: 56px var(--blog-rand) 64px;
}
@media (min-width: 1200px) {
  html body div.outer-sblog.outer-sblog.outer-sblog.outer-sblog,
  html body article.sblog-post.sblog-post { --blog-rand: 100px; padding-block: 72px 88px; }
}
html body div.outer-sblog.outer-sblog.outer-sblog.outer-sblog.outer-sblog-kategorieuebersicht { padding-top: 8px; }
/* Der Artikel nutzt die volle Breite, damit sein Rand mit Logo und Menü fluchtet. */
html body .seidl-component-output-inner:has(.sblog-post) { max-width: none !important; margin-inline: 0; }
html body .outer-sblog.outer-sblog > .s_container,
html body article.sblog-post > .s_container { max-width: 1412px; }

/* Überschriften: Seitentitel wie auf der Startseite, „Neue Artikel“ als Abschnittskopf darunter. */
html body div.outer-sblog.outer-sblog.outer-sblog .sblog-headline.sblog-headline > :is(h1, h2),
html body div.outer-sblog.outer-sblog.outer-sblog .sblog-category-headline__copy :is(h1, h3),
html body div.outer-sblog.outer-sblog.outer-sblog .sblog-headline > h1.sblog-new-articles {
  margin: 0 0 18px;
  font-size: clamp(30px, 3.4vw, var(--opt-display));
  line-height: 1.15;
  letter-spacing: 0;
  font-weight: 300;
  color: var(--textdunkel, #2b2b2b);
}
html body div.outer-sblog.outer-sblog.outer-sblog .sblog-headline.sblog-headline > h2 { font-size: clamp(26px, 2.6vw, var(--opt-h2)); }
html body div.outer-sblog.outer-sblog.outer-sblog .sblog-headline.sblog-headline > h3.sblog-new-articles {
  margin: 0 0 10px;
  font-size: var(--opt-h3);
  line-height: 1.3;
  letter-spacing: 0;
  font-weight: 500;
}
html body div.outer-sblog.outer-sblog.outer-sblog .sblog-category-headline__eyebrow.sblog-category-headline__eyebrow { margin: 0 0 8px; padding: 0; }
html body div.outer-sblog.outer-sblog.outer-sblog .sblog-category-headline__eyebrow h2,
html body article.sblog-post .sblog-post__eyebrow {
  margin: 0;
  font-size: var(--opt-klein);
  line-height: 1.4;
  letter-spacing: .08em;
  font-weight: 400;
  text-transform: uppercase;
  color: #6b6b6b;
}
html body div.outer-sblog.outer-sblog.outer-sblog .sblog-headline.sblog-headline { margin-bottom: 32px; }
html body div.outer-sblog.outer-sblog.outer-sblog .sblog-headline.sblog-headline .text {
  max-width: 62ch;
  min-height: 0;
  margin: 0;
  font-size: var(--opt-text);
  line-height: 1.6;
  letter-spacing: var(--opt-ls);
}

/* Karten: kompakter, ruhiger Text ohne Sperrung, Datumszeile kleiner als der Text. */
html body .outer-sblog .sblog-layout.sblog-layout { gap: 0; }
html body .outer-sblog .sblog-feature.sblog-feature { min-height: 0; margin-bottom: 16px; }
html body .outer-sblog .sblog-feature .feature-bild.feature-bild { min-height: 0; height: auto; aspect-ratio: 16 / 10; }
html body .outer-sblog .sblog-feature .feature-content.feature-content { justify-content: center; padding: clamp(24px, 3.4vw, 48px); gap: 14px; }
html body .outer-sblog .sblog-cards.sblog-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 700px) { html body .outer-sblog .sblog-cards.sblog-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { html body .outer-sblog .sblog-cards.sblog-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
html body .outer-sblog .sblog-cards .sblog-card.sblog-card { min-height: 0; width: auto; max-width: none; flex: none; }
html body .outer-sblog .sblog-card .card-bild.card-bild { flex: 0 0 auto; height: auto; overflow: hidden; }
html body .outer-sblog .sblog-card .card-bild.card-bild img { width: 100%; height: auto; min-height: 0; aspect-ratio: 16 / 9; object-fit: cover; }
html body .outer-sblog .sblog-kategoriecard .card-bild.card-bild img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
html body .outer-sblog .sblog-card .card-content.card-content { min-height: 0; padding: 26px; gap: 12px; }
html body .outer-sblog :is(.feature-content, .card-content) h3,
html body article.sblog-post .sblog-post__related-title,
html body article.sblog-post .sblog-post__related-title a {
  font-size: var(--opt-h3);
  line-height: 1.35;
  letter-spacing: 0;
  font-weight: 600;
}
html body .outer-sblog .feature-content.feature-content h3 { font-size: clamp(var(--opt-h3), 2vw, var(--opt-akzent)); line-height: 1.3; }
html body .outer-sblog :is(.feature-content, .card-content) .text.text {
  font-size: var(--opt-text);
  line-height: 1.6;
  letter-spacing: var(--opt-ls);
}
html body .outer-sblog .sblog-card .card-content .text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  flex: 0 1 auto;
}
html body .outer-sblog .meta.meta,
html body article.sblog-post .sblog-post__related-meta,
html body article.sblog-post .sblog-post__title-meta {
  font-size: var(--opt-klein);
  line-height: 1.5;
  letter-spacing: var(--opt-ls);
  color: #6b6b6b;
}
html body .outer-sblog .sblog-all-articles { margin-top: 32px; }

/* Knöpfe im Blog: dieselbe Größe wie alle übrigen Knöpfe (14px, 42px hoch). */
html body :is(.link-sbloghell-frame, .link-sblogdark-frame).sblog-button > a,
html body :is(.link-sbloghell-frame, .link-sblogdark-frame) > a {
  padding: .6rem 1.2rem;
  font-size: var(--opt-klein);
  font-weight: 400;
  line-height: 20px;
  letter-spacing: .04em;
  white-space: nowrap;
}
html body :is(.link-sbloghell-frame, .link-sblogdark-frame) > a::before {
  width: 15px;
  height: 13px;
  margin-right: 8px;
  vertical-align: -2px;
}
html body .outer-sblog .sblog-button.sblog-button { margin-top: auto; padding-top: 6px; }

/* Kategorien: vier Kacheln in einer Reihe, niedriger. */
html body .outer-sblog.outer-sblog-kategorieuebersicht .sblog-kategoriecards { gap: 16px; }
html body .outer-sblog.outer-sblog-kategorieuebersicht .sblog-kategoriecard.sblog-kategoriecard { min-height: 0; }
html body .outer-sblog.outer-sblog-kategorieuebersicht .sblog-kategoriecard .card-bild.card-bild { height: auto; aspect-ratio: 16 / 10; }
html body .outer-sblog.outer-sblog-kategorieuebersicht .sblog-kategoriecard .card-content.card-content { padding: 24px; gap: 10px; }
html body .outer-sblog.outer-sblog-kategorieuebersicht .sblog-kategoriecard .card-content h3 { font-size: var(--opt-lead); line-height: 1.3; }
html body .outer-sblog.outer-sblog-kategorieuebersicht .sblog-kategoriecard .card-content .text.text { font-size: var(--opt-ui); line-height: 1.55; }
@media (min-width: 1200px) {
  html body .outer-sblog.outer-sblog-kategorieuebersicht .sblog-kategoriecards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* --------------------------------------------------------------------------
   Artikel
   -------------------------------------------------------------------------- */
html body article.sblog-post {
  --sblog-body-size: var(--opt-lead);
  --sblog-body-leading: 1.65;
  --sblog-heading-2: 28px;
  --sblog-heading-3: 22px;
  --sblog-heading-4: 18px;
  --blog-spalte: 740px;
}
@media (min-width: 1200px) {
  html body article.sblog-post .sblog-post__layout { grid-template-columns: 170px minmax(0, 1fr); gap: 48px; }
  html body article.sblog-post .sblog-post__sidebar { padding-left: 0; }
  html body article.sblog-post .sblog-post__hero-layout { grid-template-columns: minmax(300px, 440px) minmax(0, 1fr); gap: 48px; align-items: center; margin-bottom: 56px; }
  html body article.sblog-post .sblog-post__hero-copy { min-height: 0; }
}
html body article.sblog-post .sblog-post__sidebar-title {
  margin: 0;
  font-size: var(--opt-lead);
  line-height: 1.3;
  letter-spacing: 0;
  font-weight: 400;
}
html body article.sblog-post .sblog-post__eyebrow { margin-bottom: 6px; }
html body article.sblog-post .sblog-post__title.sblog-post__title {
  font-size: clamp(28px, 3.4vw, var(--opt-display));
  line-height: 1.15;
  letter-spacing: 0;
  font-weight: 300;
}
html body article.sblog-post .sblog-post__title-meta { margin-top: 16px; }
html body article.sblog-post .sblog-post__authors { margin-top: 28px; }

/* Lesespalte: rund 70 Zeichen je Zeile statt 110. Tabellen dürfen breiter sein. */
html body article.sblog-post .sblog-post__content.sblog-post__content { max-width: none; }
html body article.sblog-post .sblog-post__blocks .sblog-content-block.sblog-content-block,
html body article.sblog-post .sblog-post__blocks .sblog-content-block-body.sblog-content-block-body { max-width: var(--blog-spalte); }
html body article.sblog-post .sblog-post__blocks .sblog-content-block.sblog-content-block-table,
html body article.sblog-post .sblog-post__blocks .sblog-content-block:has(table),
html body article.sblog-post .sblog-post__blocks .sblog-content-block:has(table) .sblog-content-block-body { max-width: 1050px; }
html body article.sblog-post .sblog-content-blocks .sblog-content-block-body.sblog-content-block-body,
html body article.sblog-post .sblog-content-blocks .sblog-content-block-body :is(p, li) {
  font-size: var(--sblog-body-size);
  line-height: var(--sblog-body-leading);
  letter-spacing: 0;
}
html body article.sblog-post .sblog-content-blocks :is(.sblog-content-block-head, .sblog-content-block-body) :is(h2, h3, h4) { line-height: 1.25; letter-spacing: 0; font-weight: 500; }
html body article.sblog-post .sblog-content-blocks :is(.sblog-content-block-head, .sblog-content-block-body) h2 { font-size: var(--sblog-heading-2); margin-block: 1.5em .5em; }
html body article.sblog-post .sblog-content-blocks :is(.sblog-content-block-head, .sblog-content-block-body) h3 { font-size: var(--sblog-heading-3); margin-block: 1.3em .45em; }
html body article.sblog-post .sblog-content-blocks :is(.sblog-content-block-head, .sblog-content-block-body) h4 { font-size: var(--sblog-heading-4); font-weight: 600; margin-block: 1.2em .4em; }
html body article.sblog-post .sblog-content-blocks .sblog-content-block-body > :is(h2, h3, h4):first-child { margin-block-start: .4em; }
html body article.sblog-post .sblog-content-blocks .sblog-content-block-cta .sblog-content-block-body :is(p, a, strong) { font-size: var(--opt-lead); line-height: 1.55; }
html body article.sblog-post .sblog-content-blocks .sblog-content-faq-item > summary { font-size: var(--opt-text); line-height: 1.45; }
html body article.sblog-post .sblog-content-blocks .sblog-content-faq-item .sblog-content-block-body :is(p, li) { font-size: var(--opt-text); }

/* „auch interessant“ */
html body article.sblog-post .sblog-post__more { margin-top: 72px; }
html body article.sblog-post .sblog-post__section-title.sblog-post__section-title {
  margin: 0 0 24px;
  font-size: clamp(26px, 2.6vw, var(--opt-h2));
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 300;
}
html body article.sblog-post .sblog-post__related-grid { gap: 16px; }
html body article.sblog-post .sblog-post__related-grid .sblog-card__media { flex: 0 0 auto; width: 100%; height: auto; aspect-ratio: 16 / 9; overflow: hidden; }
html body article.sblog-post .sblog-post__related-grid .sblog-card { min-height: 0; }
html body article.sblog-post .sblog-post__related-grid .sblog-card__media img { min-height: 0; height: 100%; object-fit: cover; }
html body article.sblog-post .sblog-post__related-body { min-height: 0; padding: 24px; gap: 10px; }
html body article.sblog-post .sblog-post__related-button { padding-top: 8px; }

/* Tablet und Telefon */
@media (max-width: 1199px) {
  html body article.sblog-post .sblog-post__layout { gap: 20px; }
  html body article.sblog-post .sblog-post__sidebar-sticky { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
  html body article.sblog-post .sblog-post__eyebrow { margin: 0; }
  html body article.sblog-post .sblog-post__sidebar-title { font-size: var(--opt-klein); letter-spacing: var(--opt-ls); color: #6b6b6b; }
  html body article.sblog-post .sblog-post__back.sblog-post__back { margin-bottom: 20px; }
}
@media (max-width: 767px) {
  html body div.outer-sblog.outer-sblog.outer-sblog.outer-sblog,
  html body article.sblog-post.sblog-post { padding-block: 36px 48px; }
  html body div.outer-sblog.outer-sblog.outer-sblog.outer-sblog.outer-sblog-kategorieuebersicht { padding-top: 4px; }
  html body div.outer-sblog.outer-sblog.outer-sblog .sblog-headline.sblog-headline { margin-bottom: 24px; }
  html body .outer-sblog :is(.sblog-feature .feature-content, .sblog-card .card-content).card-content,
  html body .outer-sblog .sblog-feature .feature-content.feature-content { padding: 20px; gap: 10px; }
  html body .outer-sblog .sblog-feature .feature-bild.feature-bild { flex: 0 0 100%; aspect-ratio: 2 / 1; overflow: hidden; }
  html body .outer-sblog .sblog-card .card-bild.card-bild img { aspect-ratio: 2 / 1; }
  html body .outer-sblog :is(.feature-content, .card-content) h3,
  html body .outer-sblog .feature-content.feature-content h3,
  html body article.sblog-post .sblog-post__related-title,
  html body article.sblog-post .sblog-post__related-title a { font-size: var(--opt-lead); line-height: 1.35; }
  html body .outer-sblog :is(.feature-content, .card-content) .text.text { font-size: var(--opt-ui); line-height: 1.55; -webkit-line-clamp: 3; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  html body .outer-sblog .meta.meta,
  html body article.sblog-post .sblog-post__related-meta,
  html body article.sblog-post .sblog-post__title-meta { font-size: 13px; }
  /* Kategorien als flache Zeilen: Bild links, Titel und Text rechts. */
  html body .outer-sblog.outer-sblog-kategorieuebersicht .sblog-kategoriecard.sblog-kategoriecard { flex-direction: row; align-items: stretch; }
  html body .outer-sblog.outer-sblog-kategorieuebersicht .sblog-kategoriecard .card-bild.card-bild { flex: 0 0 32%; aspect-ratio: auto; }
  html body .outer-sblog.outer-sblog-kategorieuebersicht .sblog-kategoriecard .card-content.card-content { flex: 1 1 0; min-width: 0; padding: 18px; gap: 8px; }
  html body .outer-sblog.outer-sblog-kategorieuebersicht .sblog-kategoriecard .card-content .text.text { font-size: var(--opt-klein); }

  html body article.sblog-post { --sblog-body-size: var(--opt-text); --sblog-heading-2: 23px; --sblog-heading-3: 19px; --sblog-heading-4: 17px; }
  html body article.sblog-post .sblog-post__hero-layout { gap: 20px; margin-bottom: 28px; }
  html body article.sblog-post .sblog-post__hero { aspect-ratio: 2 / 1; }
  html body article.sblog-post .sblog-post__authors { margin-top: 18px; }
  html body article.sblog-post .sblog-content-blocks .sblog-content-block-cta .sblog-content-block-body :is(p, a, strong) { font-size: var(--opt-text); }
  html body article.sblog-post .sblog-post__more { margin-top: 48px; }
  html body article.sblog-post .sblog-post__related-body { padding: 20px; }
  html body article.sblog-post .sblog-post__related-grid .sblog-card__media { aspect-ratio: 2 / 1; }
}

/* Tablet: Bild und Titel des Artikels stehen nebeneinander, damit das Bild nicht den ganzen Bildschirm füllt. */
@media (min-width: 768px) and (max-width: 1199px) {
  html body article.sblog-post.sblog-post .sblog-post__hero-layout {
    grid-template-columns: minmax(240px, 38%) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    margin-bottom: 40px;
  }
  html body article.sblog-post .sblog-post__hero { aspect-ratio: 1 / 1; height: auto; }
}

/* Blog: Silbentrennung in den schmalen Kacheln und Spalten (Titel, Datumszeile, Text). */
html body .outer-sblog :is(.feature-content, .card-content) :is(h3, .meta, .text, .text p),
html body article.sblog-post :is(.sblog-post__related-title, .sblog-post__related-title a, .sblog-post__related-meta, .sblog-post__sidebar-title) {
  -webkit-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-chars: 6 4 3;
  -webkit-hyphenate-limit-before: 4;
  -webkit-hyphenate-limit-after: 3;
  overflow-wrap: break-word;
  text-wrap: wrap;
}

/* Gelbe Kontaktbox im Artikel: Text in normaler Stärke statt fett; die Links bleiben unterstrichen. */
html body article.sblog-post .sblog-content-blocks .sblog-content-block-cta .sblog-content-block-body :is(p, strong, b, a, span) { font-weight: 300; }

/* Artikel: Absätze stehen eine knappe Zeile auseinander (vorher eine halbe),
   Listen erhalten denselben Abstand nach unten. */
html body article.sblog-post { --sblog-paragraph-gap: 1.1em; }
html body article.sblog-post .sblog-content-blocks .sblog-content-block-body > p { margin-block: 0 var(--sblog-paragraph-gap); }
html body article.sblog-post .sblog-content-blocks .sblog-content-block-body > :is(ul, ol) { margin-block: 0 var(--sblog-paragraph-gap); }
html body article.sblog-post .sblog-content-blocks .sblog-content-block-body > :last-child { margin-block-end: 0; }
html body article.sblog-post .sblog-content-blocks .sblog-content-block-cta .sblog-content-block-body > p:last-child { margin-block-end: 0; }

/* Blog-Übersicht, Kopf: mehr Luft. Der Einleitungstext steht direkt unter dem
   Seitentitel, „Neue Artikel“ rückt als Abschnittskopf über die Karten. */
html body div.outer-sblog.outer-sblog.outer-sblog .sblog-headline.sblog-headline:has(> h3.sblog-new-articles) {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
html body div.outer-sblog.outer-sblog.outer-sblog .sblog-headline.sblog-headline:has(> h3.sblog-new-articles) > h1 { order: 1; margin-bottom: clamp(16px, 2vw, 28px); }
html body div.outer-sblog.outer-sblog.outer-sblog .sblog-headline.sblog-headline:has(> h3.sblog-new-articles) > .text { order: 2; font-size: clamp(var(--opt-text), 1.3vw, var(--opt-lead)); }
html body div.outer-sblog.outer-sblog.outer-sblog .sblog-headline.sblog-headline:has(> h3.sblog-new-articles) > h3.sblog-new-articles { order: 3; margin: clamp(36px, 5vw, 72px) 0 0; }
@media (min-width: 1200px) {
  html body div.outer-sblog.outer-sblog.outer-sblog.outer-sblog.outer-sblog-bloguebersicht { padding-top: 104px; }
}

/* Fuß ab 992px: drei Spalten in einem gemeinsamen Raster, damit die Blöcke
   zeilenweise auf gleicher Höhe beginnen und die Datenschutzerklärung unter
   „Kontakt“ in der rechten Spalte stehen kann. */
@media (min-width: 992px) {
  html body .outer-footer .container-inner {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 72px;
    row-gap: 0;
    align-items: start;
    align-content: start;
  }
  html body .outer-footer .container-inner > .item,
  html body .outer-footer .container-inner > .item > .text { display: contents; }
  html body .outer-footer .container-inner > .item > strong { grid-row: 1; }
  html body .outer-footer .container-inner > .item > .text > p:nth-child(1) { grid-row: 2; min-height: 0; }
  html body .outer-footer .container-inner > .item > .text > p:nth-child(2) { grid-row: 3; }
  html body .outer-footer .container-inner > .item:nth-child(1) > :is(strong, .text > p) { grid-column: 1; }
  html body .outer-footer .container-inner > .item:nth-child(2) > :is(strong, .text > p) { grid-column: 2; }
  html body .outer-footer .container-inner > .item:nth-child(3) > :is(strong, .text > p) { grid-column: 3; }
  html body .outer-footer .container-inner > .item:nth-child(3) > .footer-contact { grid-column: 3; grid-row: 3; margin-top: 0; padding-top: 0; }
  html body .outer-footer .container-inner > .item > :is(a.footer-privacy-link, .footer-nebenlinks) { grid-column: 1 / span 2; grid-row: 4; justify-self: start; margin-top: 4px; }
}
@media (min-width: 1200px) {
  html body .outer-footer .container-inner { column-gap: 10px; }
}

/* Die Datenschutzerklärung ist ein Nebenlink: kleiner und heller als der übrige Fußtext. */
html body .custom-sorted-modules > .outer-footer a.footer-privacy-link {
  font-size: calc(var(--opt-fuss) - 1px);
  font-weight: 300;
  color: #6f6f6f;
  text-decoration-color: rgba(43, 43, 43, .22);
}
html body .custom-sorted-modules > .outer-footer a.footer-privacy-link:hover { color: var(--textdunkel, #2b2b2b); text-decoration-color: currentColor; }

/* Datenschutzerklärung und Cookie-Einstellungen stehen nebeneinander links im
   Fuß. Das Skript fasst beide Links in einem Rahmen zusammen. Die schwebende
   Lasche unten links entfällt, sobald das Skript den Link eingebaut hat
   (Klasse am html-Element). */
html.opt-cookie-link body .cc-revoke { display: none !important; }
html body .outer-footer .footer-nebenlinks { display: flex; flex-wrap: wrap; gap: 4px 20px; }
html body .outer-footer .footer-nebenlinks > a.footer-privacy-link { display: inline-block; margin: 0; }

/* Blog: Die hellen Glas-Knöpfe auf hellem Grund sind heller – fast weißes Glas
   mit klarer Lichtkante und einem weichen neutralen Schatten, damit sie sich
   von den hellgrauen Karten abheben. */
html body .link-sbloghell-frame > a {
  background:
    radial-gradient(120% 160% at 12% -20%,
      rgba(255, 255, 255, 1) 0%,
      rgba(255, 255, 255, .82) 45%,
      rgba(255, 255, 255, .94) 100%);
  border-color: rgba(255, 255, 255, .95);
  color: var(--textdunkel, #2b2b2b);
  box-shadow:
    inset 1.5px 1.5px 1px -1px rgba(255, 255, 255, 1),
    inset -1px -1.5px 1px -1px rgba(255, 255, 255, .7),
    inset 0 -6px 9px -8px rgba(43, 43, 43, .12),
    0 1px 2px rgba(43, 43, 43, .06),
    0 10px 20px -12px rgba(43, 43, 43, .28);
}
html body .link-sbloghell-frame > a:hover {
  background: #fff;
  box-shadow:
    inset 1.5px 1.5px 1px -1px rgba(255, 255, 255, 1),
    inset 0 -6px 9px -8px rgba(43, 43, 43, .10),
    0 2px 4px rgba(43, 43, 43, .08),
    0 14px 24px -12px rgba(43, 43, 43, .34);
}

/* Blog: Die Knöpfe in den dunklen Kategorie-Kacheln sind dasselbe Liquid Glass
   wie die Knöpfe auf dunklem Grund im Team-Bereich. Beide Blog-Knöpfe erhalten
   die feine Lichtkante statt des gleichmäßigen Rands. */
html body .link-sblogdark-frame > a {
  --glas-licht: 255, 255, 255;
  --glas-flaeche: .09;
  --glas-kante: .75;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  color: var(--white, #fff);
  background:
    radial-gradient(120% 160% at 12% -20%,
      rgba(var(--glas-licht), calc(var(--glas-flaeche) + .30)) 0%,
      rgba(var(--glas-licht), var(--glas-flaeche)) 45%,
      rgba(var(--glas-licht), calc(var(--glas-flaeche) + .10)) 100%);
  -webkit-backdrop-filter: blur(9px) saturate(160%) brightness(1.25);
  backdrop-filter: blur(9px) saturate(160%) brightness(1.25);
  box-shadow:
    inset 1.5px 1.5px 1px -1px rgba(255, 255, 255, .6),
    inset -1px -1.5px 1px -1px rgba(255, 255, 255, .3),
    inset 0 0 14px rgba(255, 255, 255, .06),
    0 10px 22px -12px rgba(0, 0, 0, .7);
  transition: transform .3s var(--opt-ease), box-shadow .3s var(--opt-ease);
}
html body .link-sblogdark-frame > a:hover {
  --glas-flaeche: .16;
  color: var(--white, #fff);
  transform: translateY(-1px) scale(1.015);
  box-shadow:
    inset 1.5px 1.5px 1px -1px rgba(255, 255, 255, .75),
    inset -1px -1.5px 1px -1px rgba(255, 255, 255, .4),
    inset 0 0 16px rgba(255, 255, 255, .1),
    0 16px 28px -12px rgba(0, 0, 0, .8);
}
html body .link-sbloghell-frame > a {
  --glas-licht: 255, 255, 255;
  --glas-kante: 1;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  transition: transform .3s var(--opt-ease), box-shadow .3s var(--opt-ease);
}
html body .link-sbloghell-frame > a:hover { transform: translateY(-1px) scale(1.015); }
html body :is(.link-sbloghell-frame, .link-sblogdark-frame) > a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(140deg,
    rgba(var(--glas-licht), var(--glas-kante)) 0%,
    rgba(var(--glas-licht), .35) 22%,
    rgba(var(--glas-licht), .04) 46%,
    rgba(var(--glas-licht), .10) 68%,
    rgba(var(--glas-licht), calc(var(--glas-kante) * .75)) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 1;
  filter: none;
  box-shadow: none;
  transform: none;
  animation: none;
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  html body :is(.link-sbloghell-frame, .link-sblogdark-frame) > a { transition: none; transform: none !important; }
}

/* Datenschutzerklärung und Cookie-Einstellungen sitzen ganz unten links, direkt
   über dem Schriftzug, und stehen außerhalb des Rasters, damit der Fuß durch
   sie nicht höher wird. Unauffällig: 11px, mittleres Grau (Kontrast 4,5:1),
   unterstrichen erst beim Überfahren oder bei Tastaturfokus. */
html body .outer-footer .container-inner { position: relative; }
html body .outer-footer .container-inner > .item > :is(a.footer-privacy-link, .footer-nebenlinks) {
  position: absolute;
  left: 0;
  top: calc(100% + 14px);
  margin: 0;
  white-space: nowrap;
}
@media (max-width: 991px) {
  html body .outer-footer .brand { margin-top: 44px; }
}
@media (min-width: 1200px) {
  /* Hier hat der Bereich über dem Schriftzug bereits freie Höhe. */
  html body .outer-footer .container-inner > .item > :is(a.footer-privacy-link, .footer-nebenlinks) { top: auto; bottom: 0; }
}
html body .custom-sorted-modules > .outer-footer a.footer-privacy-link,
html body .custom-sorted-modules > .outer-footer .footer-nebenlinks > a.footer-privacy-link {
  font-size: 11px;
  line-height: 1.5;
  color: #767676;
  text-decoration: none;
}
html body .custom-sorted-modules > .outer-footer a.footer-privacy-link:is(:hover, :focus-visible) {
  color: var(--textdunkel, #2b2b2b);
  text-decoration: underline;
  text-underline-offset: .2em;
}
html body .outer-footer .footer-nebenlinks { gap: 4px 16px; }
