/* =========================================================
   LP Creator – ai-core.css (empfohlene Version)
   Stand: 2026-01-16
   Hinweis: Button-States so angepasst, dass NUR Hover den Stil ändert.
   ========================================================= */

/* =========================================================
   TEST Version 1
   UTILITIES – Media helpers (v2)
   Ziel:
   - Inline-Styles vermeiden
   - Radius zuverlässig durchsetzen (gegen evtl. Overrides)
   ========================================================= */

/* Images / Media */
.lp-img-fluid {
  display: block;
  width: 100%;
  height: auto;
}

/* Border radius */
.lp-radius-24 {
  border-radius: 24px !important;
}

/* Reserviertes AEM-Topmodul ausblenden,
   damit der Hero direkt unter der Navigation startet */
.topmodule-wrapper {
  display: none;
}

@media (min-width: 669px) {
  .usp-two-column .grid-item.margin-bottom-xl {
    margin-bottom: 0 !important;
  }
}

/* =========================================================
   LP Spacer – Vertikaler Abstand zwischen Modulen
   - .lp-spacer-xl: Desktop 80px | Mobile (<= 767px) 50px
   - .lp-spacer-l : Desktop 50px | Mobile (<= 767px) 40px
   ========================================================= */

.lp-spacer-xl,
.lp-spacer-l {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.lp-spacer-xl {
  height: 80px;
}

.lp-spacer-l {
  height: 50px;
}

@media (max-width: 767px) {
  .lp-spacer-xl {
    height: 50px;
  }

  .lp-spacer-l {
    height: 40px;
  }
}

/* =========================================
   Typografie – Headings & Body (Token-basiert)
   ========================================= */

/* Headline Tokens – Desktop */
.heading-xlarge-regular {
  font-size: 48px;
  line-height: 58px;
  font-weight: 400;
}

.heading-xlarge-bold {
  font-size: 48px;
  line-height: 58px;
  font-weight: 700;
}

.heading-large-regular {
  font-size: 34px;
  line-height: 44px;
  font-weight: 400;
}

.heading-large-bold {
  font-size: 34px;
  line-height: 44px;
  font-weight: 700;
}

.heading-medium-regular {
  font-size: 26px;
  line-height: 36px;
  font-weight: 400;
}

.heading-medium-bold {
  font-size: 26px;
  line-height: 36px;
  font-weight: 700;
}

.heading-small-regular {
  font-size: 20px;
  line-height: 30px;
  font-weight: 400;
}

.heading-small-bold {
  font-size: 20px;
  line-height: 30px;
  font-weight: 700;
}

.heading-xsmall-regular {
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
}

.heading-xsmall-bold {
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
}

/* Body Tokens – Desktop */
p,
.body-large-regular {
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
}

.body-large-bold {
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
}

.body-medium-regular {
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
}

.body-medium-bold {
  font-size: 14px;
  line-height: 22px;
  font-weight: 700;
}

.body-small-regular {
  font-size: 12px;
  line-height: 18px;
  font-weight: 400;
}

.body-small-bold {
  font-size: 12px;
  line-height: 18px;
  font-weight: 700;
}

/* Semantische Überschriften (Basis) */
h1,
h2,
h3,
h4,
h5 {
  margin: 0 0 8px;
  font-weight: 400;
  line-height: 1.2;
  color: #111827;
}

strong {
  font-weight: 700;
}

/* Standard-Absatzabstand */
p {
  margin: 0 0 16px;
}

/* Mobile-Anpassungen für Typografie */
@media (max-width: 668px) {
  .heading-xlarge-regular,
  .heading-xlarge-bold {
    font-size: 32px;
    line-height: 38px;
  }

  .heading-large-regular,
  .heading-large-bold {
    font-size: 28px;
    line-height: 36px;
  }

  .heading-medium-regular,
  .heading-medium-bold {
    font-size: 24px;
    line-height: 35px;
  }

  .heading-small-regular,
  .heading-small-bold {
    font-size: 20px;
    line-height: 30px;
  }

  .heading-xsmall-regular,
  .heading-xsmall-bold {
    font-size: 16px;
    line-height: 26px;
  }

  .body-large-regular,
  .body-large-bold {
    font-size: 16px;
    line-height: 26px;
  }

  .body-medium-regular,
  .body-medium-bold {
    font-size: 14px;
    line-height: 22px;
  }

  .body-small-regular,
  .body-small-bold {
    font-size: 12px;
    line-height: 18px;
  }
}

/* =========================================
   Buttons & Textlinks (empfohlen)
   Ziel:
   - Nur Hover ändert den Button
   - :active verhält sich wie :hover
   - :focus/:focus-visible bleiben wie Default (und ohne Outline)
   - :visited ändert nichts
   ========================================= */

/* Button Base */
a.ai-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  min-height: 40px;
  border-radius: 9999px;
  font-size: 16px;
  line-height: 1.2;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 700;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Mobile: full width */
@media (max-width: 668px) {
  a.ai-button {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
}

/* Link-State Neutralisierung (gegen globale AEM/Browser Styles) */
a.ai-button,
a.ai-button:link,
a.ai-button:visited,
a.ai-button:hover,
a.ai-button:active,
a.ai-button:focus,
a.ai-button:focus-visible {
  text-decoration: none !important;
}

/* Fokus-Ring komplett aus (gewünscht: nur Hover) */
a.ai-button:focus,
a.ai-button:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* Disabled (für <a> via Klasse) */
a.ai-button.is-disabled,
a.ai-button[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* --- filled default --- */
a.ai-button.button-filled-default,
a.ai-button.button-filled-default:link,
a.ai-button.button-filled-default:visited,
a.ai-button.button-filled-default:focus,
a.ai-button.button-filled-default:focus-visible {
  background-color: #333333;
  color: #ffffff !important;
  border-color: #333333;
}

a.ai-button.button-filled-default:hover,
a.ai-button.button-filled-default:active {
  background-color: #484848;
  color: #ffffff !important;
  border-color: #484848;
}

/* --- filled brand --- */
a.ai-button.button-filled-brand,
a.ai-button.button-filled-brand:link,
a.ai-button.button-filled-brand:visited,
a.ai-button.button-filled-brand:focus,
a.ai-button.button-filled-brand:focus-visible {
  background-color: #3df5dc;
  color: #333333 !important;
  border-color: #3df5dc;
}

a.ai-button.button-filled-brand:hover,
a.ai-button.button-filled-brand:active {
  background-color: #55e6cb;
  color: #333333 !important;
  border-color: #55e6cb;
}

/* --- outline strong --- */
a.ai-button.button-outline-strong,
a.ai-button.button-outline-strong:link,
a.ai-button.button-outline-strong:visited,
a.ai-button.button-outline-strong:focus,
a.ai-button.button-outline-strong:focus-visible {
  background-color: #ffffff;
  color: #333333 !important;
  border-color: #333333;
}

a.ai-button.button-outline-strong:hover,
a.ai-button.button-outline-strong:active {
  background-color: #e8e5e3;
  color: #333333 !important;
  border-color: #333333;
}

/* --- outline weak --- */
a.ai-button.button-outline-weak,
a.ai-button.button-outline-weak:link,
a.ai-button.button-outline-weak:visited,
a.ai-button.button-outline-weak:focus,
a.ai-button.button-outline-weak:focus-visible {
  background-color: #ffffff;
  color: #333333 !important;
  border-color: #bdbbb9;
}

a.ai-button.button-outline-weak:hover,
a.ai-button.button-outline-weak:active {
  background-color: #e8e5e3;
  color: #333333 !important;
  border-color: #333333;
}

/* Textlink */
a.ai-textlink,
a.ai-textlink:link,
a.ai-textlink:visited {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 700;
  color: #1677ff;
  text-decoration: none;
}

a.ai-textlink:hover,
a.ai-textlink:active {
  text-decoration: underline;
}

a.ai-textlink:focus,
a.ai-textlink:focus-visible {
  outline: none;
  text-decoration: underline;
}

/* Teaser Grid – Textlink mit Icon (Chevron)
   - Farbe bleibt immer #333333
   - Hover: Text (Span) wird unterstrichen, Icon nicht
*/
a.teaser-grid__textlink,
a.teaser-grid__textlink:link,
a.teaser-grid__textlink:visited,
a.teaser-grid__textlink:active,
a.teaser-grid__textlink:focus,
a.teaser-grid__textlink:focus-visible {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #333333 !important;
  font-weight: 700;
  text-decoration: none !important;
  outline: none;
  box-shadow: none;
}

/* Hover/Active: nur Text unterstreichen (keine Farbänderung) */
a.teaser-grid__textlink:hover,
a.teaser-grid__textlink:active {
  text-decoration: none !important; /* verhindert Unterstreichung am Icon */
}

a.teaser-grid__textlink:hover span,
a.teaser-grid__textlink:active span {
  text-decoration: underline;
}

.teaser-grid__textlink-icon {
  display: inline-block;
  flex: 0 0 auto;
}

/* ---------------------------------------------
   Hero Full Width – Layout & Visuals
   --------------------------------------------- */

/* Basislayout des Hero-Moduls */
.hero-full-width {
  position: relative;
  display: grid;
  align-items: center;
}

/* Vollbreites Hintergrundbild (Full-Width-Hack) */
.hero-full-width__image {
  position: relative;
  z-index: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  height: 53.1rem;
  background-size: 100% auto;
  background-position: center;
  background-repeat: no-repeat;
}

/* Bild & Content übereinander legen */
.hero-full-width__image,
.hero-full-width__content {
  grid-row: 1 / -1;
  grid-column: 1 / -1;
}

/* Weiße Content-Kachel */
.hero-full-width__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-gap: 1.6rem;
  justify-items: start;
  background-color: #ffffff;
  border-radius: 24px;
  padding: 32px;
  width: 48%;
}

/* Ab 900px: Contentfläche volle Breite */
@media (max-width: 900px) {
  .hero-full-width__content {
    width: 100% !important;
  }
}

/* Utility-Abstände für Typo innerhalb des Hero-Moduls */
.hero-full-width .title {
  margin: 0;
}

.hero-full-width .body-large {
  margin: 0;
}

/* Mobile-Anpassungen */
@media (max-width: 668px) {
  .hero-full-width__image {
    height: 20rem;
    background-size: cover;
  }

  /* Auf Mobile nicht mehr überlagern, sondern untereinander */
  .hero-full-width__image,
  .hero-full-width__content {
    grid-row: initial;
    grid-column: initial;
  }

  .hero-full-width__content {
    padding-top: 2.4rem !important;
    border-radius: 0;
    padding: 0;
    width: 100%;
  }
}

/* =========================================================
   HERO-SPLIT (stabil)
   - Text links im Content-Raster (wie teaser-two-column)
   - Bild rechts bis zum Viewport-Rand (ab Viewport-Mitte)
   - Kein horizontaler Scroll
   - Desktop max-height 500px, Mobile Bildhöhe klein
   ========================================================= */

/* Section auf Viewport-Breite ziehen (damit 50% = Viewport-Mitte ist) */
.hero-split {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow-x: clip;
  height: clamp(360px, 35vw, 500px);
}

/* Innerer Container = „1er Grid“ in der Mitte */
.hero-split__inner {
  max-width: 1157px;
  margin: 0 auto;
  padding: 0 16px;

  height: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  position: relative;
  z-index: 1; /* liegt über dem Bild */
}

/* Text links: vertikal zentriert */
.hero-split__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-right: 32px;
}

/* Rechte Grid-Hälfte bleibt frei */
.hero-split__spacer {
  min-height: 1px;
}

/* Bild: absolut ab Viewport-Mitte bis rechts */
.hero-split__visual {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  right: 0;

  overflow: hidden;
  background: #e6f3ff;
}

.hero-split__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1120px) {
  .hero-split__text {
    padding-left: 8px;
  }
}

@media (max-width: 669px) {
  .hero-split__text {
    padding-left: 0px;
  }
}

/* Mobile: Stack (Bild oben, Text unten), Bildhöhe begrenzt */
@media (max-width: 900px) {
  .hero-split {
    height: auto;
  }

  .hero-split__inner {
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 0 16px;
  }

  .hero-split__spacer {
    display: none;
  }

  .hero-split__visual {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;

    width: 100%;
    height: 180px;
  }

  .hero-split__text {
    padding-right: 0;
    padding-top: 24px;
    padding-bottom: 32px;
  }
}

@media (max-width: 669px) {
  .hero-split__text {
    padding-top: 16px;
    padding-bottom: 24px;
  }
}

/* =========================================================
   TEASER TWO-COLUMN (shared for media-left + media-right)
   ========================================================= */

.teaser-two-column {
  overflow-x: clip;
}

.teaser-two-column .grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.teaser-two-column .grid-item {
  min-width: 0;
}

/* Media */
.teaser-two-column__media-wrapper {
  height: 400px;
}

.teaser-two-column__media-box {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
}

.teaser-two-column__media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Content */
.teaser-two-column__content {
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

/* CTA – Desktop: nur so breit wie Inhalt */
.teaser-two-column__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  width: auto;
  max-width: 100%;
  text-align: center;
  white-space: nowrap;
}

@media (min-width: 669px) {
  .teaser-two-column--media-right .grid-item:first-child {
    order: 2;
  }

  .teaser-two-column--media-right .grid-item:last-child {
    order: 1;
  }
}

@media (max-width: 668px) {
  .teaser-two-column .grid {
    flex-direction: column;
  }

  .teaser-two-column__media-wrapper {
    height: 260px;
  }

  .teaser-two-column__content {
    height: auto;
    align-items: stretch;
  }

  .teaser-two-column__cta {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    white-space: normal;
  }
}

/* =========================================================
   STEPS (shared): THREE + FOUR
   ========================================================= */

.steps-three-column__step,
.steps-four-column__step {
  position: relative;
}

.steps-three-column__step-number,
.steps-four-column__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #d0d0d0;
  background-color: #ffffff;
  font-size: 16px;
  line-height: 1;
  flex: 0 0 auto;
}

.steps-three-column__step-line,
.steps-four-column__step-line {
  height: 1px;
  background-color: #333333;
}

.steps-three-column__step-text,
.steps-four-column__step-text {
  margin: 0;
}

.steps-three-column__step-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.steps-three-column__step-title {
  margin: 0 16px;
}

.steps-three-column__step-line {
  flex: 1;
}

.steps-four-column__step-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.steps-four-column__step-line {
  flex: 1;
  margin-left: 16px;
}

.steps-four-column__step-title {
  margin: 0 0 8px 0;
}

.steps-three-column__steps .grid-item:last-child .steps-three-column__step-line,
.steps-four-column__steps .grid-item:last-child .steps-four-column__step-line {
  display: none;
}

@media (max-width: 668px) {
  .steps-three-column__step,
  .steps-four-column__step {
    padding-left: 56px;
  }

  .steps-three-column__step-number,
  .steps-four-column__step-number {
    position: absolute;
    left: 0;
    top: 0;
  }

  .steps-three-column__step-header,
  .steps-four-column__step-header {
    display: block;
    margin-bottom: 8px;
  }

  .steps-three-column__step-title {
    margin: 0 0 8px 0;
  }

  .steps-three-column__step-line,
  .steps-four-column__step-line {
    position: absolute;
    left: 20px;
    top: 40px;
    bottom: -16px;
    width: 1px;
    height: auto;
  }

  .steps-four-column__step-line {
    margin-left: 0;
  }

  .steps-three-column__steps .grid-item:last-child .steps-three-column__step-line,
  .steps-four-column__steps .grid-item:last-child .steps-four-column__step-line {
    display: none;
  }
}

/* =========================================
   eKomi Kundenrezensionen: .ekomi-reviews
   ========================================= */

.ekomi-reviews__badge-wrapper {
  text-align: center;
  margin-bottom: 24px;
}

.ekomi-reviews__badge {
  display: none;
  width: 112px;
  height: auto;
  margin: 0 auto;
}

.ekomi-reviews__badge.is-active {
  display: block;
}

.ekomi-reviews__headline {
  text-align: center;
}

.ekomi-reviews__intro {
  max-width: 720px;
  margin: 8px auto 40px;
  text-align: center;
}

.ekomi-reviews__list {
  align-items: flex-start;
}

@media (max-width: 767px) {
  .ekomi-reviews__item {
    margin-bottom: 32px;
  }

  .ekomi-reviews__item:last-child {
    margin-bottom: 0;
  }
}

.ekomi-reviews__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.ekomi-reviews__avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.ekomi-reviews__avatar-icon {
  display: block;
  width: 24px;
  height: 24px;
}

.ekomi-reviews__date {
  font-size: 14px;
  line-height: 1.4;
}

.ekomi-reviews__text {
  margin-bottom: 16px;
}

.ekomi-reviews__rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ekomi-reviews__stars {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ekomi-reviews__star {
  display: block;
  width: 22px;
  height: 22px;
}

.ekomi-reviews__score {
  font-size: 14px;
}

/* =========================================
   Modul: kpi-animated
   ========================================= */

.kpi-animated {
  display: block;
}

.kpi-animated__number {
  font-size: 48px;
  line-height: 1.1;
  font-weight: 600;
  margin-bottom: 8px;
}

.kpi-animated__label {
  margin-bottom: 4px;
}

@media (max-width: 767px) {
  .kpi-animated__item {
    margin-bottom: 24px;
  }

  .kpi-animated__item:last-child {
    margin-bottom: 0;
  }
}

/* =========================================
   Checkmark List: .checkmark-list
   ========================================= */

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

.checkmark-list__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.checkmark-list__item:last-child {
  margin-bottom: 0;
}

.checkmark-list__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.checkmark-list__icon img,
.checkmark-list__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.checkmark-list__text {
  margin: 0;
}

/* -------  --------------------------------- ------- */
/* -------  CSS RELOCATE FORM FOR HEO-Module. ------- */
/* -------  --------------------------------- ------- */

.hero-full-width__content .rw-slot {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  position: relative;
}

.hero-full-width__content .rw-placeholder {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.65);
}

.hero-full-width__content .rw-slot.rw-loaded .rw-placeholder {
  display: none;
}

.hero-full-width__content .rw-root {
  width: 100%;
  max-width: none;
  min-width: 0;
}

.hero-full-width__content .rw-root [data-testid="landing-page-title"],
.hero-full-width__content .rw-root [data-testid="cosma-landing-page-img"],
.hero-full-width__content .rw-root [data-testid="landing-page-img"],
.hero-full-width__content .rw-root [data-testid*="landing-page-img" i],
.hero-full-width__content .rw-root .is24-background-img-container,
.hero-full-width__content .rw-root [class*="background-img" i],
.hero-full-width__content .rw-root [class*="landing-page-img" i] {
  display: none !important;
}

.hero-full-width__content .rw-root,
.hero-full-width__content .rw-root * {
  box-sizing: border-box;
}

@media (max-width: 668px) {
  .hero-full-width__content .rw-root .container,
  .hero-full-width__content .rw-root div.container,
  .hero-full-width__content .rw-root [class*="container" i],
  .hero-full-width__content .rw-root .landing-page-container,
  .hero-full-width__content .rw-root [class*="landing-page-container" i] {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

.hero-full-width__content .rw-root .container,
.hero-full-width__content .rw-root [class*="container" i] {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  flex-basis: auto !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
}

.hero-full-width__content .rw-root form,
.hero-full-width__content .rw-root fieldset,
.hero-full-width__content .rw-root [class*="form" i],
.hero-full-width__content .rw-root [class*="content" i] {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

.hero-full-width__content .rw-root input,
.hero-full-width__content .rw-root select,
.hero-full-width__content .rw-root textarea {
  width: 100% !important;
  max-width: none !important;
}

.hero-full-width__content .rw-root .rw-first-row {
  width: 100% !important;
  max-width: none !important;
}

@media (min-width: 669px) {
  .hero-full-width__content .rw-root .rw-first-row {
    display: flex !important;
    align-items: flex-end !important;
    gap: 16px !important;
  }

  .hero-full-width__content .rw-root .rw-first-row > .rw-field {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    max-width: none !important;
  }

  .hero-full-width__content .rw-root .rw-first-row > .rw-field--small {
    flex: 0 0 160px !important;
    width: 160px !important;
    min-width: 120px !important;
    max-width: 40% !important;
  }
}

@media (max-width: 668px) {
  .hero-full-width__content .rw-root .rw-first-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
  }

  .hero-full-width__content .rw-root .rw-first-row > .rw-field--small {
    flex: 1 1 auto !important;
    width: auto !important;
    max-width: none !important;
  }
}

.hero-full-width__content .rw-placeholder__title {
  font-weight: 700;
  margin: 0 0 6px;
}

.hero-full-width__content .rw-placeholder__text {
  margin: 0;
  line-height: 1.35;
}

.hero-full-width__content .rw-root .rw-form-stack {
  gap: 0 !important;
  row-gap: 0 !important;
}

.hero-full-width__content .rw-root .rw-first-row {
  margin-bottom: 0 !important;
}

.hero-full-width__content .rw-root .rw-to-field {
  margin-top: 15px !important;
  margin-bottom: 0 !important;
}

.hero-full-width__content .rw-root .rw-cta {
  margin-top: 15px !important;
}

.hero-full-width__content .rw-benefits {
  width: 100%;
  max-width: none;
  box-sizing: border-box;

  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;

  gap: 10px 15px;
}

.hero-full-width__content .rw-benefit {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  white-space: nowrap;
}

.hero-full-width__content .rw-benefit__icon {
  display: block;
  width: 24px !important;
  height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  min-width: 24px;
  min-height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
  margin-right: 6px;
}

.hero-full-width__content .rw-benefit__text {
  font-size: 13px;
  line-height: 1.3;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.75);
  white-space: nowrap;
}

.hero-full-width__content .rw-root .container,
.hero-full-width__content .rw-root div.container,
.hero-full-width__content .rw-root [class*="landing-page-container" i],
.hero-full-width__content .rw-root [class*="landing-page" i] .container {
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* =========================================
   Modul: teaserflex
   ========================================= */

.teaserflex__box {
  display: block;
  background: #f5f5f5;
  padding: 40px 48px;
}

.teaserflex__layout {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.teaserflex__media {
  flex: 0 0 auto;
}

.teaserflex__illu {
  display: block;
  width: 56px;
  height: 56px;
}

.teaserflex__content {
  max-width: 900px;
}

.teaserflex__title {
  margin: 0 0 8px;
}

.teaserflex__text {
  margin: 0 0 16px;
}

/* CTA (Desktop: content-sized, Mobile: full width) */
.teaserflex__content > .ai-button {
  display: inline-flex;
}

/* Expert footer */
.teaserflex__expert {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.teaserflex__avatar {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  object-fit: cover;
  display: block;
}

@media (max-width: 668px) {
  .teaserflex__box {
    padding: 24px;
  }

  .teaserflex__layout {
    flex-direction: column;
    gap: 16px;
  }

  .teaserflex__content > .ai-button {
    width: 100%;
    justify-content: center;
  }
}

/* =========================================
   Utility: Text-Highlighter (Marker)
   ========================================= */

.lp-highlight {
  --lp-highlight-color: #3df5dc;
  --lp-highlight-shift-y: 0.10em;
  --lp-highlight-cut: 56%;

  padding: 0 0.08em;
  background-image: linear-gradient(
    transparent var(--lp-highlight-cut),
    var(--lp-highlight-color) 0
  );
  background-repeat: no-repeat;
  background-size: 100% 100%;
  background-position: 0 var(--lp-highlight-shift-y);

  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
/* =========================================================
   Utility: lp-full-bleed (Full-Width Background Wrapper)
   - Hintergrund ueber den kompletten Viewport
   - Content bleibt im normalen Raster (zentriert)
   ========================================================= */

.lp-full-bleed {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  overflow: visible;  /* Badge darf nach oben raus ragen */
  overflow-x: clip;   /* verhindert horizontalen Scroll durch 100vw */
}

/* Fallback fuer Browser ohne overflow-x: clip */
@supports not (overflow-x: clip) {
  .lp-full-bleed {
    overflow: visible;
    overflow-x: hidden;
  }
}

.lp-full-bleed--bg-neutral {
  background: #f5f5f5;
}

.lp-full-bleed__inner {
  position: relative; /* Anchor fuer Stoerer/Badge */
  max-width: 1157px;  /* entspricht eurem Raster (z.B. hero-split__inner) */
  margin: 0 auto;
  padding: 56px 16px;
}

/* Mobile: weniger graue Flaeche oben */
@media (max-width: 668px) {
  .lp-full-bleed__inner {
    padding-top: 28px;
  }
}

@media (min-width: 1024px) {
  .lp-full-bleed__inner {
    padding: 72px 16px;
  }
}

/* =========================================================
   Modul: IBW Insode Page
   ========================================================= */

.full-bleed-action-tiles {
  background: transparent; /* keine Card-Flaeche */
  border: none;
  box-shadow: none;
}

.full-bleed-action-tiles__content {
  padding: 24px;
}

/* Mobile: kein Padding um Tiles + Checkmarks */
@media (max-width: 668px) {
  .full-bleed-action-tiles__content {
    padding: 0;
  }
}

/* Desktop/Tablet: etwas Luft */
@media (min-width: 669px) {
  .full-bleed-action-tiles__content {
    padding: 28px;
  }
}

.full-bleed-action-tiles__headline {
  margin: 0 0 20px 0;
  text-align: center;
}

/* Stoerer / Badge */
.full-bleed-action-tiles__badge {
  position: absolute;
  top: -20px;  /* hoeher gesetzt, darf raus ragen */
  right: 16px;
  width: 220px;
  max-width: 45vw;
  z-index: 2;
  pointer-events: none;
}

.full-bleed-action-tiles__badge img {
  width: 100%;
  height: auto;
  display: block;
}

/* Mobile: Badge im Flow + ragt nach oben raus */
@media (max-width: 668px) {
  .full-bleed-action-tiles__badge {
    position: static;
    width: 200px;
    max-width: 80vw;
    margin: -36px auto 18px;
  }
}

@media (min-width: 1024px) {
  .full-bleed-action-tiles__badge {
    top: -36px;
    right: 0;
    width: 240px;
  }
}

/* Tiles */
.full-bleed-action-tiles__tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

@media (min-width: 669px) {
  .full-bleed-action-tiles__tiles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 22px;
  }
}

.full-bleed-action-tiles__tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: 132px;
  padding: 18px 10px;

  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 12px;
  background: #ffffff;

  text-align: center;
  color: inherit;
  text-decoration: none;

  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

/* Link-State Reset (verhindert blau + underline aus globalen Styles) */
.full-bleed-action-tiles__tile,
.full-bleed-action-tiles__tile:link,
.full-bleed-action-tiles__tile:visited,
.full-bleed-action-tiles__tile:hover,
.full-bleed-action-tiles__tile:active,
.full-bleed-action-tiles__tile:focus,
.full-bleed-action-tiles__tile:focus-visible {
  color: inherit !important;
  text-decoration: none !important;
}

.full-bleed-action-tiles__tile:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.18);
}

/* Optional (Accessibility): sichtbarer Fokus fuer Keyboard */
.full-bleed-action-tiles__tile:focus-visible {
  outline: 2px solid var(--lp-color-brand, #1a5cff);
  outline-offset: 3px;
}

.full-bleed-action-tiles__tile img {
  width: 48px;
  height: 48px;
  display: block;
}

.full-bleed-action-tiles__tile-label {
  margin: 0;
}

/* Benefits */
.full-bleed-action-tiles__benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.full-bleed-action-tiles__benefits .checkmark-list__item {
  margin-bottom: 0;
}

@media (min-width: 669px) {
  .full-bleed-action-tiles__benefits {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
  }

  .full-bleed-action-tiles__benefits .checkmark-list__text {
    white-space: nowrap;
  }
}
