/* =========================================
   Betreuung Balken
   class="bet-balken"
   ========================================= */

.bet-balken,
.frame:has(.bet-balken) {
  --bet-icon: 44px;
  --bet-icon-col: 48px;
  --bet-green: #2f6047;
  --bet-text: #333;
}

.frame:has(.bet-balken),
.frame.bet-balken {
  --frame-spacing: 0;
  margin-top: 0;
  margin-bottom: 0.85rem;
  padding-top: 0;
  padding-bottom: 0;
}

:is(.bet-balken, .frame:has(.bet-balken)) .textmedia {
  display: grid;
  grid-template-columns: var(--bet-icon-col) minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  width: 100%;
  margin: 0;
  padding: 0.85rem 1.25rem;
  box-sizing: border-box;
  background: #fdfbfa;
  border: 1px solid rgba(47, 96, 71, 0.08);
  border-radius: 9px;
  box-shadow: 0 6px 20px rgba(45, 45, 45, 0.06);
}

:is(.bet-balken, .frame:has(.bet-balken)) .textmedia-gallery {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

:is(.bet-balken, .frame:has(.bet-balken)) :is(
  .textmedia-gallery,
  .gallery-row,
  .gallery-item,
  figure,
  .image,
  picture,
  img
) {
  width: var(--bet-icon);
  height: var(--bet-icon);
  margin: 0;
  padding: 0;
}

:is(.bet-balken, .frame:has(.bet-balken)) :is(
  .gallery-row,
  .gallery-item,
  figure,
  .image,
  picture,
  img
) {
  display: block;
}

:is(.bet-balken, .frame:has(.bet-balken)) img {
  max-width: var(--bet-icon);
  max-height: var(--bet-icon);
  object-fit: contain;
}

:is(.bet-balken, .frame:has(.bet-balken)) .textmedia-text {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 2rem;
  align-items: center;
  min-width: 0;
  margin: 0;
  padding: 0;
}

:is(.bet-balken, .frame:has(.bet-balken)) .textmedia-text > * {
  grid-column: 1;
  margin-top: 0;
  margin-bottom: 0;
}

:is(.bet-balken, .frame:has(.bet-balken)) .textmedia-text p {
  margin: 0;
  padding: 0;
  color: var(--bet-text);
  line-height: 1.35;
}

:is(.bet-balken, .frame:has(.bet-balken)) .textmedia-text strong {
  display: block;
  margin: 0 0 0.15rem;
  padding: 0;
  color: var(--bet-text);
  font-weight: 400;
}

:is(.bet-balken, .frame:has(.bet-balken)) .textmedia-text p:last-child {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  justify-self: end;
  color: var(--bet-green);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.35;
  text-align: right;
  white-space: nowrap;
}

.bet-balken a {
  color: inherit;
  text-decoration: none;
}

#c141.frame,
#c142.frame,
#c143.frame,
#c144.frame,
#c145.frame {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

@media (max-width: 575.98px) {
  .bet-balken,
  .frame:has(.bet-balken) {
    --bet-icon: 38px;
    --bet-icon-col: 40px;
  }

  .frame:has(.bet-balken),
  .frame.bet-balken {
    margin-bottom: 0.75rem;
  }

  :is(.bet-balken, .frame:has(.bet-balken)) .textmedia {
    gap: 0.75rem;
    padding: 0.85rem;
  }

  :is(.bet-balken, .frame:has(.bet-balken)) .textmedia-text {
    grid-template-columns: 1fr;
    row-gap: 0.25rem;
  }

  :is(.bet-balken, .frame:has(.bet-balken)) .textmedia-text p:last-child {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    font-size: 0.95rem;
    text-align: left;
    white-space: normal;
  }
}

/* =========================================
   PDK Betreuungs-Boxen
   class="bet-box"
   TYPO3 4 Columns / Text-Elemente
   ========================================= */

.bet-box {
  position: relative;
  margin: 2.5rem 0;
}

.bet-box :is(
  .frame-group-container,
  .frame-group-inner,
  .frame-container,
  .frame-inner
) {
  margin: 0;
  padding: 0;
}

.bet-box .row {
  row-gap: 1.25rem;
}

.bet-box [class*="col-"] {
  display: flex;
  align-items: stretch;
}

.bet-box .textmedia-gallery {
  display: none;
}

.bet-box [class*="col-"] > .frame {
  width: 100%;
  padding: 1.6rem 2rem;
  background: #f1f1ed;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(40, 60, 45, 0.08);
}

.bet-box :is(.textmedia, .textmedia-text, .ce-bodytext) {
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
}

.bet-box :is(header, .ce-header) {
  margin: 0;
  padding: 0;
}

.bet-box :is(h1, h2, h3, h4, h5) {
  margin: 0 0 0.45rem;
  padding: 0;
  color: #244534;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}

.bet-box :is(h1, h2, h3, h4, h5)::after {
  display: none;
}

.bet-box :is(p, ul, ol) {
  color: #25362d;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
}

.bet-box p {
  max-width: 360px;
  margin: 0 0 1rem;
}

.bet-box p:last-child {
  margin-bottom: 0;
}

.bet-box :is(ul, ol) {
  margin: 0;
  padding-left: 1.1rem;
}

.bet-box li + li {
  margin-top: 0.35rem;
}

@media (max-width: 991.98px) {
  .bet-box [class*="col-"] > .frame {
    padding: 1.45rem 1.6rem;
  }

  .bet-box p {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .bet-box {
    margin: 2rem 0;
  }

  .bet-box [class*="col-"] > .frame {
    padding: 1.35rem 1.4rem;
  }

  .bet-box :is(h1, h2, h3, h4, h5) {
    font-size: 1.05rem;
  }

  .bet-box :is(p, ul, ol) {
    max-width: 100%;
    font-size: 0.86rem;
  }
}

/* =========================================
   WHY Card Group
   class="why-cg"
   TYPO3 Card Group
   ========================================= */

.why-cg {
  --why-bg: #fdfbfa;
  --why-card-bg: #fffdfb;
  --why-border: rgba(47, 41, 37, 0.12);
  --why-text: #2f2925;
  --why-muted: #4f4741;
  --why-green: #164633;

  position: relative;
  width: 100%;
  margin: 2.5rem 0;
  padding: 0;
  color: var(--why-text);
}


/* Header */
.why-cg .frame-header {
  margin: 0 0 1.25rem;
  padding: 0;
}


.why-cg .frame-header .element-header::before,
.why-cg .frame-header .element-header::after,
.why-cg .card-title::before,
.why-cg .card-title::after {
  content: none;
  display: none;
}

/* Card Group mittig */
.why-cg .card-group-element,
.why-cg .card-group-element.card-group-element-align-center,
.why-cg .card-group-element.card-group-element-columns-3 {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 1rem;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
}

/* Item */
.why-cg .card-group-element-item {
  width: 100%;
  min-width: 0;
  display: flex;
}

/* Card */
.why-cg .card {
  width: 100%;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--why-border);
  border-radius: 0.75rem;
  background: var(--why-card-bg);
  overflow: hidden;
  box-shadow: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.why-cg .card:hover {
  transform: translateY(-3px);
  border-color: rgba(22, 70, 51, 0.2);
  box-shadow: 0 0.9rem 1.8rem rgba(47, 41, 37, 0.08);
}

/* Bildbereich: groß, rechteckig, obere Hälfte */
.why-cg .card-img-top {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #e9ece6;
  border-radius: 0;
  aspect-ratio: 4 / 3;
  flex: 0 0 auto;
}

.why-cg .card-img-top picture {
  display: block;
  width: 100%;
  height: 100%;
}

.why-cg .card-img-top img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}

/* Body */
.why-cg .card-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1 1 auto;
  padding: 1rem 1rem 1.1rem;
  text-align: center;
}

/* Titel */
.why-cg .card-title {
  margin: 0 0 0.6rem;
  padding: 0;
  color: var(--why-green);
  font-size: clamp(1rem, 1vw, 1.08rem);
  line-height: 1.25;
  font-weight: 600;
  text-align: center;
}

/* Text */
.why-cg .card-body p {
  margin: 0;
  padding: 0;
  color: var(--why-muted);
  font-size: clamp(0.88rem, 0.82vw, 0.95rem);
  line-height: 1.55;
  font-weight: 400;
  text-align: center;
  text-wrap: pretty;
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 1399.98px) {
  .why-cg .card-group-element,
  .why-cg .card-group-element.card-group-element-align-center,
  .why-cg .card-group-element.card-group-element-columns-3 {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
  }
}

@media (max-width: 1199.98px) {
  .why-cg .card-group-element,
  .why-cg .card-group-element.card-group-element-align-center,
  .why-cg .card-group-element.card-group-element-columns-3 {
    grid-template-columns: repeat(3, minmax(220px, 1fr));
  }
}

@media (max-width: 991.98px) {
  .why-cg .card-group-element,
  .why-cg .card-group-element.card-group-element-align-center,
  .why-cg .card-group-element.card-group-element-columns-3 {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }

  .why-cg .card-img-top {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 575.98px) {
  .why-cg {
    margin: 2rem 0;
  }

  .why-cg .frame-header {
    margin-bottom: 1rem;
  }

  .why-cg .card-group-element,
  .why-cg .card-group-element.card-group-element-align-center,
  .why-cg .card-group-element.card-group-element-columns-3 {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .why-cg .card {
    max-width: 30rem;
    margin: 0 auto;
  }

  .why-cg .card-img-top {
    aspect-ratio: 16 / 9;
  }

  .why-cg .card-body {
    padding: 0.95rem 0.95rem 1rem;
  }
}

/* Hintergrund hinter der WHY Card Group auf volle Breite */
.why-cg {
  position: relative;
  background: #f4f4ee;
}

/* Falls ein Parent den Hintergrund trotzdem begrenzt */
.why-cg::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #fcfbfa;
  z-index: -1;
}

/* Inhalt über dem Hintergrund halten */
.why-cg .frame-header,
.why-cg .card-group-element {
  position: relative;
  z-index: 1;
}

/* =========================================
   WHY Bottom
   class="why-bottom"
   TYPO3 3-Spalten Grid
   ========================================= */

.why-bottom {
  --why-bottom-green-soft: #eef3e8;
  --why-bottom-card: rgba(255, 255, 255, 0.96);
  --why-bottom-shadow: 0 1rem 2.4rem rgba(47, 41, 37, 0.12);

  position: relative;
  isolation: isolate;
  width: 100%;
  margin: 0;
  padding: clamp(2.25rem, 4vw, 4rem) 0;
  color: var(--why-bottom-text);
  overflow: hidden;
}

/* Hintergrund auf volle Breite */
.why-bottom::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--why-bottom-bg);
  z-index: -1;
}

/* TYPO3 Wrapper ruhigstellen */
.why-bottom .frame,
.why-bottom .frame-group-container,
.why-bottom .frame-group-inner,
.why-bottom .frame-container,
.why-bottom .frame-inner {
  margin: 0;
  padding: 0;
}

/* Innere Breite */
.why-bottom > .container,
.why-bottom .container {
  width: min(100% - 2rem, 1280px);
  max-width: 1280px;
  margin: 0 auto;
  padding: 0;
}

/* Hauptlayout: Text links, Bild rechts */
.why-bottom .row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(340px, 0.85fr) minmax(520px, 1.15fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
  margin: 0;
  overflow: visible;
}

/* Bootstrap-Spalten neutralisieren */
.why-bottom .row > [class*="col-"] {
  width: auto;
  max-width: none;
  flex: none;
  padding: 0;
}

/* =========================================
   Spalte 1: Text
   ========================================= */

.why-bottom .row > [class*="col-"]:nth-child(1) {
  grid-column: 1;
  position: relative;
  z-index: 2;
  max-width: 420px;
}

.why-bottom .row > [class*="col-"]:nth-child(1) .frame-header {
  margin: 0 0 1.15rem;
  padding: 0;
}



.why-bottom .row > [class*="col-"]:nth-child(1) :is(h1, h2, h3, .element-header)::before,
.why-bottom .row > [class*="col-"]:nth-child(1) :is(h1, h2, h3, .element-header)::after {
  content: none;
  display: none;
}

.why-bottom .row > [class*="col-"]:nth-child(1) p {
  margin: 0 0 0.75rem;
  color: var(--why-bottom-text);
  font-size: clamp(0.78rem, 0.82vw, 0.88rem);
  line-height: 1.48;
  font-weight: 400;
}

.why-bottom .row > [class*="col-"]:nth-child(1) p:last-child {
  margin-top: 0.9rem;
  margin-bottom: 0;
  font-weight: 700;
}

/* =========================================
   Spalte 2: Bild
   ========================================= */

.why-bottom .row > [class*="col-"]:nth-child(2) {
  grid-column: 2;
  position: relative;
  z-index: 1;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1rem 2.2rem rgba(47, 41, 37, 0.11);
  aspect-ratio: 1.42 / 1;
}

/* Bild-Wrapper vollständig füllen */
.why-bottom .row > [class*="col-"]:nth-child(2) .frame,
.why-bottom .row > [class*="col-"]:nth-child(2) .frame-group-container,
.why-bottom .row > [class*="col-"]:nth-child(2) .frame-group-inner,
.why-bottom .row > [class*="col-"]:nth-child(2) .frame-container,
.why-bottom .row > [class*="col-"]:nth-child(2) .frame-inner,
.why-bottom .row > [class*="col-"]:nth-child(2) .textmedia,
.why-bottom .row > [class*="col-"]:nth-child(2) .textmedia-item,
.why-bottom .row > [class*="col-"]:nth-child(2) .textmedia-gallery,
.why-bottom .row > [class*="col-"]:nth-child(2) .gallery-row,
.why-bottom .row > [class*="col-"]:nth-child(2) .gallery-item,
.why-bottom .row > [class*="col-"]:nth-child(2) figure,
.why-bottom .row > [class*="col-"]:nth-child(2) picture {
  width: 100%;
  height: 100%;
}

.why-bottom .row > [class*="col-"]:nth-child(2) figure {
  margin: 0;
}

.why-bottom .row > [class*="col-"]:nth-child(2) img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* =========================================
   Spalte 3: Feature Cards über/rechts am Bild
   ========================================= */

/* Karten-Spalte bewusst über den rechten Bildrand ziehen */
.why-bottom .row > [class*="col-"]:nth-child(3) {
  position: absolute;
  z-index: 10;

  top: 50%;
  right: 0;

  width: clamp(190px, 15vw, 215px);

  transform: translate(38%, -50%);
  display: flex;
  flex-direction: column;
  gap: clamp(0.75rem, 1.3vw, 1rem);

  pointer-events: auto;
}

/* Feature Card */
.why-bottom .row > [class*="col-"]:nth-child(3) .frame {
  width: 100%;
  min-height: 4.9rem;
  padding: 0.68rem 0.75rem;
  border-radius: 0.8rem;
  background: var(--why-bottom-card);
  box-shadow: var(--why-bottom-shadow);
  backdrop-filter: blur(8px);
}

/* Innere Struktur */
.why-bottom .row > [class*="col-"]:nth-child(3) .frame-inner {
  height: 100%;
}

/* TYPO3 textmedia-above trotzdem horizontal machen */
.why-bottom .row > [class*="col-"]:nth-child(3) .textmedia,
.why-bottom .row > [class*="col-"]:nth-child(3) .textmedia.textmedia-above,
.why-bottom .row > [class*="col-"]:nth-child(3) .textmedia.textmedia-below {
  display: grid;
  grid-template-columns: 2.7rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  width: 100%;
  height: 100%;
}

/* Icon links */
.why-bottom .row > [class*="col-"]:nth-child(3) .textmedia-gallery,
.why-bottom .row > [class*="col-"]:nth-child(3) .textmedia-item.textmedia-gallery {
  grid-column: 1;
  grid-row: 1;

  width: 2.7rem;
  height: 2.7rem;
  margin: 0;
  padding: 0;

  border-radius: 999px;
  background: var(--why-bottom-green-soft);

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Text rechts */
.why-bottom .row > [class*="col-"]:nth-child(3) .textmedia-text,
.why-bottom .row > [class*="col-"]:nth-child(3) .textmedia-item.textmedia-text,
.why-bottom .row > [class*="col-"]:nth-child(3) .ce-bodytext {
  grid-column: 2;
  grid-row: 1;

  min-width: 0;
  display: flex;
  align-items: center;
}

/* Icon Reset */
.why-bottom .row > [class*="col-"]:nth-child(3) .gallery-row,
.why-bottom .row > [class*="col-"]:nth-child(3) .gallery-item,
.why-bottom .row > [class*="col-"]:nth-child(3) figure,
.why-bottom .row > [class*="col-"]:nth-child(3) picture {
  width: 100%;
  height: 100%;
  margin: 0;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Icons klein */
.why-bottom .row > [class*="col-"]:nth-child(3) img,
.why-bottom .row > [class*="col-"]:nth-child(3) svg {
  display: block;
  width: 1.45rem;
  height: 1.45rem;
  max-width: 1.45rem;
  max-height: 1.45rem;
  object-fit: contain;
  object-position: center;
}



.why-bottom .row > [class*="col-"]:nth-child(3) :is(h1, h2, h3, h4, .element-header)::before,
.why-bottom .row > [class*="col-"]:nth-child(3) :is(h1, h2, h3, h4, .element-header)::after {
  content: none;
  display: none;
}

/* Falls Text direkt im Frame landet */
.why-bottom .row > [class*="col-"]:nth-child(3) .frame-inner > p {
  margin: 0;
}

/* =========================================
   Responsive
   ========================================= */

@media (max-width: 1199.98px) {
  .why-bottom > .container,
  .why-bottom .container {
    width: min(100% - 2rem, 100%);
    max-width: none;
  }
}

.why-bottom .row {
    grid-template-columns: minmax(320px, 0.85fr) minmax(480px, 1.15fr);
    gap: 2.25rem;
  }

  .why-bottom .row > [class*="col-"]:nth-child(3) {
    width: 190px;
    transform: translate(32%, -50%);
  }
}

@media (max-width: 991.98px) {
  .why-bottom {
    padding: 3rem 0;
  }

  .why-bottom .row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .why-bottom .row > [class*="col-"]:nth-child(1),
  .why-bottom .row > [class*="col-"]:nth-child(2) {
    grid-column: 1;
  }

  .why-bottom .row > [class*="col-"]:nth-child(1) {
    max-width: none;
  }

  .why-bottom .row > [class*="col-"]:nth-child(2) {
    aspect-ratio: 16 / 10;
  }

  .why-bottom .row > [class*="col-"]:nth-child(3) {
    position: static;
    width: 100%;
    transform: none;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .why-bottom .row > [class*="col-"]:nth-child(3) .frame {
    min-height: auto;
    box-shadow: 0 0.8rem 1.8rem rgba(47, 41, 37, 0.08);
  }
}

@media (max-width: 699.98px) {
  .why-bottom .row > [class*="col-"]:nth-child(3) {
    grid-template-columns: 1fr;
  }

  .why-bottom .row > [class*="col-"]:nth-child(3) .frame {
    max-width: 28rem;
  }
}

@media (max-width: 575.98px) {
  .why-bottom > .container,
  .why-bottom .container {
    width: min(100% - 1.5rem, 32rem);
  }


  .why-bottom .row > [class*="col-"]:nth-child(1) p {
    font-size: 0.9rem;
  }

  .why-bottom .row > [class*="col-"]:nth-child(2) {
    aspect-ratio: 4 / 3;
  }

  .why-bottom .row > [class*="col-"]:nth-child(3) .textmedia,
  .why-bottom .row > [class*="col-"]:nth-child(3) .textmedia.textmedia-above,
  .why-bottom .row > [class*="col-"]:nth-child(3) .textmedia.textmedia-below {
    grid-template-columns: 2.7rem minmax(0, 1fr);
  }
}

/* =========================================
   WHY Bottom Feature Cards: Inhalt zentrieren
   ========================================= */

.why-bottom .row > [class*="col-"]:nth-child(3) .frame {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* TYPO3 Innenwrapper auch wirklich mittig machen */
.why-bottom .row > [class*="col-"]:nth-child(3) .frame-group-container,
.why-bottom .row > [class*="col-"]:nth-child(3) .frame-group-inner,
.why-bottom .row > [class*="col-"]:nth-child(3) .frame-container,
.why-bottom .row > [class*="col-"]:nth-child(3) .frame-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Icon + Text als gemeinsame Einheit mittig in der Karte */
.why-bottom .row > [class*="col-"]:nth-child(3) .textmedia,
.why-bottom .row > [class*="col-"]:nth-child(3) .textmedia.textmedia-above,
.why-bottom .row > [class*="col-"]:nth-child(3) .textmedia.textmedia-below {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 2.7rem minmax(0, max-content);
  gap: 0.65rem;
  align-items: center;
  justify-content: center;
}

/* Text selbst vertikal mittig */
.why-bottom .row > [class*="col-"]:nth-child(3) .textmedia-text,
.why-bottom .row > [class*="col-"]:nth-child(3) .textmedia-item.textmedia-text,
.why-bottom .row > [class*="col-"]:nth-child(3) .ce-bodytext {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
}

/* Textabstände raus, damit nichts optisch nach oben klebt */
.why-bottom .row > [class*="col-"]:nth-child(3) p,
.why-bottom .row > [class*="col-"]:nth-child(3) :is(h1, h2, h3, h4, .element-header) {
  margin: 0;
}

/* =========================================
   Kosten Unterstützung
   class="kosten-us"
   TYPO3 2 Columns
   ========================================= */

.kosten-us {
  --kosten-bg: #fcfbfa;
  --kosten-card-bg: rgba(255, 255, 255, 0.82);
  --kosten-inner-bg: rgba(255, 253, 251, 0.9);
  --kosten-text: #2f2925;
  --kosten-muted: #4f4741;
  --kosten-green: #164633;
  --kosten-green-soft: #eef3e8;
  --kosten-border: rgba(47, 41, 37, 0.13);
  --kosten-border-soft: rgba(47, 41, 37, 0.1);
  --kosten-shadow: 0 1rem 2.8rem rgba(47, 41, 37, 0.06);

  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  padding: clamp(3rem, 3vw, 5rem) 0;
  transform: translateX(-50%);
  color: var(--kosten-text);
  background: var(--kosten-bg);
  overflow-x: clip;
}

/* TYPO3 Wrapper ruhigstellen */
.kosten-us .frame,
.kosten-us .frame-group-container,
.kosten-us .frame-group-inner,
.kosten-us .frame-container,
.kosten-us .frame-inner {
  margin: 0;
  padding: 0;
}

/* Falls TYPO3/Bootstrap Container innen begrenzen */
.kosten-us > .container,
.kosten-us .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Hauptbox */
.kosten-us .row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  grid-template-rows: auto auto;
  column-gap: 0;
  row-gap: 1.25rem;

  width: min(100% - 2rem, 1280px);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(1.35rem, 2.4vw, 2rem);

  border: 1px solid var(--kosten-border);
  border-radius: 0.85rem;
  background: var(--kosten-card-bg);
  box-shadow: var(--kosten-shadow);
  overflow: visible;
}

/* Bootstrap-Spalten neutralisieren */
.kosten-us .row > [class*="col-"] {
  width: auto;
  max-width: none;
  flex: none;
  padding: 0;
}

/* Erste Spalte auflösen, damit deren zwei Inhalte sauber im Grid liegen */
.kosten-us .row > [class*="col-"]:nth-child(1) {
  display: contents;
}

/* Innere Box hinter Zuschuss-Text + rechter Liste */
.kosten-us .row::after {
  content: "";
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  z-index: 0;

  border: 1px solid var(--kosten-border-soft);
  border-radius: 0.75rem;
  background: var(--kosten-inner-bg);
}

/* =========================================
   Oberer Bereich: Haupttitel + Intro
   ========================================= */

.kosten-us .row > [class*="col-"]:nth-child(1) > .frame:nth-of-type(1) {
  grid-column: 1 / -1;
  grid-row: 1;
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.kosten-us .row > [class*="col-"]:nth-child(1) > .frame:nth-of-type(1) :is(h1, h2, h3, .element-header) {
  margin: 0 0 0.85rem;
  padding: 0;
  color: var(--kosten-green);
  font-size: clamp(1.65rem, 2.35vw, 2.25rem);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.025em;
  text-transform: none;
}

.kosten-us .row > [class*="col-"]:nth-child(1) > .frame:nth-of-type(1) :is(h1, h2, h3, .element-header)::before,
.kosten-us .row > [class*="col-"]:nth-child(1) > .frame:nth-of-type(1) :is(h1, h2, h3, .element-header)::after {
  content: none;
  display: none;
}

.kosten-us .row > [class*="col-"]:nth-child(1) > .frame:nth-of-type(1) p {
  max-width: 930px;
  margin: 0;
  color: var(--kosten-text);
  font-size: clamp(0.88rem, 0.95vw, 1rem);
  line-height: 1.55;
  font-weight: 400;
}

/* =========================================
   Unterer Bereich links: Zuschuss Text
   ========================================= */

.kosten-us .row > [class*="col-"]:nth-child(1) > .frame:nth-of-type(2) {
  grid-column: 1;
  grid-row: 2;
  position: relative;
  z-index: 1;
  padding: clamp(1.25rem, 2vw, 1.65rem) clamp(1.5rem, 2.5vw, 2.2rem);
}

.kosten-us .row > [class*="col-"]:nth-child(1) > .frame:nth-of-type(2) :is(h1, h2, h3, .element-header) {
  margin: 0 0 1rem;
  padding: 0;
  color: var(--kosten-green);
  font-size: clamp(1.35rem, 1.9vw, 1.85rem);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.02em;
  text-transform: none;
  font-family: Georgia, "Times New Roman", serif;
}

.kosten-us .row > [class*="col-"]:nth-child(1) > .frame:nth-of-type(2) :is(h1, h2, h3, .element-header)::before,
.kosten-us .row > [class*="col-"]:nth-child(1) > .frame:nth-of-type(2) :is(h1, h2, h3, .element-header)::after {
  content: none;
  display: none;
}

.kosten-us .row > [class*="col-"]:nth-child(1) > .frame:nth-of-type(2) p {
  margin: 0 0 0.9rem;
  color: var(--kosten-text);
  font-size: clamp(0.86rem, 0.92vw, 0.98rem);
  line-height: 1.58;
  font-weight: 400;
}

.kosten-us .row > [class*="col-"]:nth-child(1) > .frame:nth-of-type(2) p:last-child {
  margin-bottom: 0;
}

.kosten-us .row > [class*="col-"]:nth-child(1) > .frame:nth-of-type(2) strong,
.kosten-us .row > [class*="col-"]:nth-child(1) > .frame:nth-of-type(2) b {
  font-weight: 700;
}

/* =========================================
   Unterer Bereich rechts: Förderpunkte
   ========================================= */

.kosten-us .row > [class*="col-"]:nth-child(2) {
  grid-column: 2;
  grid-row: 2;
  position: relative;
  z-index: 1;

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

  padding: clamp(1.25rem, 2vw, 1.65rem) clamp(1.2rem, 2vw, 1.8rem);
  border-left: 1px solid var(--kosten-border-soft);
}

.kosten-us .row > [class*="col-"]:nth-child(2) .frame,
.kosten-us .row > [class*="col-"]:nth-child(2) .frame-group-container,
.kosten-us .row > [class*="col-"]:nth-child(2) .frame-group-inner,
.kosten-us .row > [class*="col-"]:nth-child(2) .frame-container,
.kosten-us .row > [class*="col-"]:nth-child(2) .frame-inner,
.kosten-us .row > [class*="col-"]:nth-child(2) .textmedia,
.kosten-us .row > [class*="col-"]:nth-child(2) .textmedia-item,
.kosten-us .row > [class*="col-"]:nth-child(2) .ce-bodytext {
  width: 100%;
}

/* Liste zu Cards umbauen */
.kosten-us .row > [class*="col-"]:nth-child(2) ul {
  width: 100%;
  max-width: 320px;
  margin: 0;
  padding: 0;
  list-style: none;

  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
}

.kosten-us .row > [class*="col-"]:nth-child(2) li {
  position: relative;
  min-height: 4.35rem;
  margin: 0;
  padding: 0.75rem 1rem 0.75rem 5.2rem;

  display: flex;
  align-items: center;

  border: 1px solid var(--kosten-border-soft);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.78);
  color: var(--kosten-green);

  font-size: clamp(0.96rem, 1vw, 1.08rem);
  line-height: 1.18;
  font-weight: 700;
}

/* runder Icon-Hintergrund */
.kosten-us .row > [class*="col-"]:nth-child(2) li::before {
  content: "";
  position: absolute;
  left: 0.8rem;
  top: 50%;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  transform: translateY(-50%);
  background: var(--kosten-green-soft);
}

/* Icon selbst */
.kosten-us .row > [class*="col-"]:nth-child(2) li::after {
  position: absolute;
  left: 0.8rem;
  top: 50%;
  width: 3.25rem;
  height: 3.25rem;
  transform: translateY(-50%);

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

  color: var(--kosten-green);
  font-size: 1.55rem;
  line-height: 1;
  font-weight: 400;
  font-family: Arial, sans-serif;
}

/* Einzelne Icons - saubere SVG Icons statt Unicode-Zeichen */
.kosten-us .row > [class*="col-"]:nth-child(2) li::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  top: 50%;
  width: 3.25rem;
  height: 3.25rem;
  transform: translateY(-50%);
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1.75rem 1.75rem;
}

/* bis zu rund 800 € monatlich */
.kosten-us .row > [class*="col-"]:nth-child(2) li:nth-child(1)::after {
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21.5 8.5C20.1 7.55 18.35 7 16.5 7C11.8 7 8 11.03 8 16C8 20.97 11.8 25 16.5 25C18.35 25 20.1 24.45 21.5 23.5' stroke='%23164633' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M6.5 13.5H18.5' stroke='%23164633' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M6.5 18.5H18' stroke='%23164633' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ab Pflegestufe 3 */
.kosten-us .row > [class*="col-"]:nth-child(2) li:nth-child(2)::after {
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='16' cy='10' r='4.2' stroke='%23164633' stroke-width='2.2'/%3E%3Cpath d='M8.5 25C9.4 20.6 12.15 18.2 16 18.2C19.85 18.2 22.6 20.6 23.5 25' stroke='%23164633' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M11.5 25H20.5' stroke='%23164633' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ärztliche Bestätigung */
.kosten-us .row > [class*="col-"]:nth-child(2) li:nth-child(3)::after {
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 6V14C10 17.3 12.7 20 16 20C19.3 20 22 17.3 22 14V6' stroke='%23164633' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M7.5 6H12.5' stroke='%23164633' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M19.5 6H24.5' stroke='%23164633' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M16 20V22.5C16 25.25 18.25 27.5 21 27.5C23.75 27.5 26 25.25 26 22.5V20' stroke='%23164633' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='26' cy='18' r='2.2' stroke='%23164633' stroke-width='2.2'/%3E%3C/svg%3E");
}

/* Einkommensgrenzen */
.kosten-us .row > [class*="col-"]:nth-child(2) li:nth-child(4)::after {
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9H26' stroke='%23164633' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M6 16H26' stroke='%23164633' stroke-width='2.2' stroke-linecap='round'/%3E%3Cpath d='M6 23H26' stroke='%23164633' stroke-width='2.2' stroke-linecap='round'/%3E%3Ccircle cx='13' cy='9' r='2.6' fill='%23eef3e8' stroke='%23164633' stroke-width='2.2'/%3E%3Ccircle cx='20' cy='16' r='2.6' fill='%23eef3e8' stroke='%23164633' stroke-width='2.2'/%3E%3Ccircle cx='11' cy='23' r='2.6' fill='%23eef3e8' stroke='%23164633' stroke-width='2.2'/%3E%3C/svg%3E");
}

/* Falls TYPO3 keine Liste, sondern Absätze ausgibt */
.kosten-us .row > [class*="col-"]:nth-child(2) p {
  margin: 0;
  color: var(--kosten-green);
  font-size: clamp(0.96rem, 1vw, 1.08rem);
  line-height: 1.25;
  font-weight: 700;
}

/* =========================================
   Responsive
   ========================================= */

@media (max-width: 1199.98px) {
  .kosten-us .row {
    width: min(100% - 2rem, 1120px);
    grid-template-columns: minmax(0, 1fr) minmax(270px, 0.45fr);
  }

  .kosten-us .row > [class*="col-"]:nth-child(2) ul {
    max-width: 300px;
  }
}

@media (max-width: 991.98px) {
  .kosten-us {
    padding: 3rem 0;
  }

  .kosten-us .row {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    row-gap: 1rem;
    padding: 1.25rem;
  }

  .kosten-us .row::after {
    display: none;
  }

  .kosten-us .row > [class*="col-"]:nth-child(1) > .frame:nth-of-type(1) {
    grid-column: 1;
    grid-row: auto;
  }

  .kosten-us .row > [class*="col-"]:nth-child(1) > .frame:nth-of-type(2) {
    grid-column: 1;
    grid-row: auto;
    padding: 1.25rem;
    border: 1px solid var(--kosten-border-soft);
    border-radius: 0.75rem;
    background: var(--kosten-inner-bg);
  }

  .kosten-us .row > [class*="col-"]:nth-child(2) {
    grid-column: 1;
    grid-row: auto;
    padding: 0;
    border-left: 0;
  }

  .kosten-us .row > [class*="col-"]:nth-child(2) ul {
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 699.98px) {
  .kosten-us .row > [class*="col-"]:nth-child(2) ul {
    grid-template-columns: 1fr;
  }

  .kosten-us .row > [class*="col-"]:nth-child(2) li {
    min-height: 4rem;
  }
}

@media (max-width: 575.98px) {
  .kosten-us {
    padding: 2.5rem 0;
  }

  .kosten-us .row {
    width: min(100% - 1.5rem, 34rem);
    padding: 1rem;
  }

  .kosten-us .row > [class*="col-"]:nth-child(1) > .frame:nth-of-type(1) :is(h1, h2, h3, .element-header) {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .kosten-us .row > [class*="col-"]:nth-child(1) > .frame:nth-of-type(2) :is(h1, h2, h3, .element-header) {
    font-size: clamp(1.25rem, 6vw, 1.65rem);
  }

  .kosten-us .row > [class*="col-"]:nth-child(1) > .frame:nth-of-type(2) {
    padding: 1rem;
  }

  .kosten-us .row > [class*="col-"]:nth-child(2) li {
    padding-left: 4.75rem;
  }

  .kosten-us .row > [class*="col-"]:nth-child(2) li::before,
  .kosten-us .row > [class*="col-"]:nth-child(2) li::after {
    left: 0.7rem;
    width: 3rem;
    height: 3rem;
  }
}

/* =========================================
   Kosten Unterstützung 2
   class="kosten-us2"
   TYPO3 2 Columns
   Dynamisch: Bild kann links oder rechts stehen
   ========================================= */

.kosten-us2 {
  --kosten2-bg: #fcfbfa;
  --kosten2-card-bg: rgba(255, 255, 255, 0.86);
  --kosten2-text: #2f2925;
  --kosten2-muted: #4f4741;
  --kosten2-green: #164633;
  --kosten2-border: rgba(47, 41, 37, 0.13);
  --kosten2-shadow: 0 1rem 2.8rem rgba(47, 41, 37, 0.06);

  position: relative;
  left: 50%;
  width: 100vw;
  max-width: 100vw;
  margin: 0;
  transform: translateX(-50%);
  color: var(--kosten2-text);
  background: var(--kosten2-bg);
  overflow-x: clip;
  padding-bottom: 0.3rem;
}

/* TYPO3 Wrapper ruhigstellen */
.kosten-us2 .frame,
.kosten-us2 .frame-group-container,
.kosten-us2 .frame-group-inner,
.kosten-us2 .frame-container,
.kosten-us2 .frame-inner {
  margin: 0;
  padding: 0;
}

/* Bootstrap/TYPO3 Container neutralisieren */
.kosten-us2 > .container,
.kosten-us2 .container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Äußere Box */
.kosten-us2 .row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.95fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;

  width: min(100% - 2rem, 1280px);
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(1.35rem, 2.4vw, 2rem);

  border: 1px solid var(--kosten2-border);
  border-radius: 0.85rem;
  background: var(--kosten2-card-bg);
  box-shadow: var(--kosten2-shadow);
}

/* Bootstrap-Spalten neutralisieren */
.kosten-us2 .row > [class*="col-"] {
  width: auto;
  max-width: none;
  flex: none;
  padding: 0;
  align-self: center;
}

/* =========================================
   Textspalte
   Alles, was KEIN Bild enthält
   ========================================= */

.kosten-us2 .row > [class*="col-"]:not(:has(img)) {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

/* Heading in Textspalte */
.kosten-us2 .row > [class*="col-"]:not(:has(img)) :is(h1, h2, h3, .element-header) {
  margin: 0 0 0.95rem;
  padding: 0;
  color: var(--kosten2-green);
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  line-height: 1.12;
  font-weight: 500;
  letter-spacing: -0.025em;
  text-transform: none;
}

.kosten-us2 .row > [class*="col-"]:not(:has(img)) :is(h1, h2, h3, .element-header)::before,
.kosten-us2 .row > [class*="col-"]:not(:has(img)) :is(h1, h2, h3, .element-header)::after {
  content: none;
  display: none;
}

/* Text in Textspalte */
.kosten-us2 .row > [class*="col-"]:not(:has(img)) p {
  margin: 0 0 0.82rem;
  color: var(--kosten2-text);
  font-size: clamp(0.86rem, 0.92vw, 0.98rem);
  line-height: 1.55;
  font-weight: 400;
}

.kosten-us2 .row > [class*="col-"]:not(:has(img)) p:last-child {
  margin-bottom: 0;
}

.kosten-us2 .row > [class*="col-"]:not(:has(img)) strong,
.kosten-us2 .row > [class*="col-"]:not(:has(img)) b {
  font-weight: 700;
}

/* =========================================
   Bildspalte
   Alles, was ein Bild enthält
   ========================================= */

.kosten-us2 .row > [class*="col-"]:has(img) {
  position: relative;
  z-index: 1;
  border-radius: 0.65rem;
  overflow: hidden;
  background: #eef3e8;
}

/* Bild-Wrapper vollständig füllen */
.kosten-us2 .row > [class*="col-"]:has(img) .frame,
.kosten-us2 .row > [class*="col-"]:has(img) .frame-group-container,
.kosten-us2 .row > [class*="col-"]:has(img) .frame-group-inner,
.kosten-us2 .row > [class*="col-"]:has(img) .frame-container,
.kosten-us2 .row > [class*="col-"]:has(img) .frame-inner,
.kosten-us2 .row > [class*="col-"]:has(img) .textmedia,
.kosten-us2 .row > [class*="col-"]:has(img) .textmedia-item,
.kosten-us2 .row > [class*="col-"]:has(img) .textmedia-gallery,
.kosten-us2 .row > [class*="col-"]:has(img) .gallery-row,
.kosten-us2 .row > [class*="col-"]:has(img) .gallery-item,
.kosten-us2 .row > [class*="col-"]:has(img) figure,
.kosten-us2 .row > [class*="col-"]:has(img) picture {
  width: 100%;
  height: 100%;
}

.kosten-us2 .row > [class*="col-"]:has(img) figure {
  margin: 0;
}

/* Bild nicht zu hart abschneiden */
.kosten-us2 .row > [class*="col-"]:has(img) .textmedia,
.kosten-us2 .row > [class*="col-"]:has(img) .textmedia-gallery,
.kosten-us2 .row > [class*="col-"]:has(img) figure,
.kosten-us2 .row > [class*="col-"]:has(img) picture {
  display: block;
  aspect-ratio: 16 / 9.5;
}

.kosten-us2 .row > [class*="col-"]:has(img) img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 285px;
  object-fit: cover;
  object-position: center center;
}

/* Falls in der Bildspalte doch Text mitkommt: ausblenden */
.kosten-us2 .row > [class*="col-"]:has(img) .textmedia-text,
.kosten-us2 .row > [class*="col-"]:has(img) .ce-bodytext {
  display: none;
}

/* =========================================
   Responsive
   ========================================= */

@media (max-width: 1199.98px) {
  .kosten-us2 .row {
    width: min(100% - 2rem, 1120px);
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
    gap: 2rem;
  }

  .kosten-us2 .row > [class*="col-"]:has(img) img {
    min-height: 260px;
  }
}

@media (max-width: 991.98px) {
  .kosten-us2 {
    padding: 3rem 0;
  }

  .kosten-us2 .row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
    padding: 1.25rem;
  }

  .kosten-us2 .row > [class*="col-"]:not(:has(img)) {
    max-width: none;
  }

  .kosten-us2 .row > [class*="col-"]:has(img) .textmedia,
  .kosten-us2 .row > [class*="col-"]:has(img) .textmedia-gallery,
  .kosten-us2 .row > [class*="col-"]:has(img) figure,
  .kosten-us2 .row > [class*="col-"]:has(img) picture {
    aspect-ratio: 16 / 9;
  }

  .kosten-us2 .row > [class*="col-"]:has(img) img {
    min-height: 280px;
  }
}

@media (max-width: 575.98px) {
  .kosten-us2 {
    padding: 2.5rem 0;
  }

  .kosten-us2 .row {
    width: min(100% - 1.5rem, 34rem);
    padding: 1rem;
  }

  .kosten-us2 .row > [class*="col-"]:not(:has(img)) :is(h1, h2, h3, .element-header) {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .kosten-us2 .row > [class*="col-"]:not(:has(img)) p {
    font-size: 0.9rem;
  }

  .kosten-us2 .row > [class*="col-"]:has(img) .textmedia,
  .kosten-us2 .row > [class*="col-"]:has(img) .textmedia-gallery,
  .kosten-us2 .row > [class*="col-"]:has(img) figure,
  .kosten-us2 .row > [class*="col-"]:has(img) picture {
    aspect-ratio: 4 / 3;
  }

  .kosten-us2 .row > [class*="col-"]:has(img) img {
    min-height: 240px;
  }
}

/* =========================================
   Disclaimer Hinweis
   class="disclaimer"
   ========================================= */

.disclaimer {
  --disclaimer-bg: #f8f5ee;
  --disclaimer-border: rgba(47, 41, 37, 0.12);
  --disclaimer-text: #2f2925;
  --disclaimer-icon: #6f665c;

  width: min(100% - 2rem, 1280px);
  margin: clamp(1.5rem, 3vw, 2.5rem) auto;
  padding: 0;
  color: var(--disclaimer-text);
}

/* TYPO3 Wrapper ruhigstellen */
.disclaimer .frame,
.disclaimer .frame-group-container,
.disclaimer .frame-group-inner,
.disclaimer .frame-container,
.disclaimer .frame-inner {
  margin: 0;
  padding: 0;
}

/* eigentliche Box */
.disclaimer .frame-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;

  min-height: 2.45rem;
  padding: 0.55rem 1rem 0.55rem 3rem;

  border: 1px solid var(--disclaimer-border);
  border-radius: 0.45rem;
  background: var(--disclaimer-bg);
}

/* Info Icon */
.disclaimer .frame-inner::before {
  content: "i";
  position: absolute;
  left: 1rem;
  top: 50%;

  width: 1.15rem;
  height: 1.15rem;
  transform: translateY(-50%);

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

  border: 1.5px solid var(--disclaimer-icon);
  border-radius: 999px;

  color: var(--disclaimer-icon);
  font-size: 0.78rem;
  line-height: 1;
  font-weight: 700;
  font-style: normal;
  font-family: Arial, sans-serif;
}

/* Text */
.disclaimer p {
  margin: 0;
  padding: 0;
  color: var(--disclaimer-text);
  font-size: clamp(0.78rem, 0.8vw, 0.88rem);
  line-height: 1.35;
  font-weight: 500;
  font-style: normal;
}

/* falls dein RTE den Text italic setzt */
.disclaimer em,
.disclaimer i {
  font-style: normal;
}

/* Mobile */
@media (max-width: 575.98px) {
  .disclaimer {
    width: min(100% - 1.5rem, 34rem);
  }

  .disclaimer .frame-inner {
    align-items: flex-start;
    padding: 0.65rem 0.85rem 0.65rem 2.75rem;
  }

  .disclaimer .frame-inner::before {
    left: 0.85rem;
    top: 0.72rem;
    transform: none;
  }
}