/* =========================================================
   IWWIT IKONEN – SECTION CARD
   orientiert sich an den bestehenden IWWIT-Widgets
   ========================================================= */

.iwwit-ikonen-section {
  width: 100%;
  max-width: none !important;

  margin: 0 0 24px !important;
  padding: 0 !important;

  overflow: hidden;

  background: var(--ik-soft);
  border: 1px solid var(--ik-border);
  border-radius: 18px;
}


/* Überschrift */
.iwwit-ikonen-section > h2 {
  width: 100%;
  max-width: none !important;

  margin: 0 !important;
  padding: 16px 18px !important;

  color: var(--ik-heading) !important;
  background: transparent !important;

  border: 0 !important;
  border-bottom: 1px solid var(--ik-border) !important;
  border-radius: 0 !important;

  font-family: inherit !important;
  font-size: clamp(20px, 2vw, 24px) !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
}


/* bisherigen H2-Farbstrich entfernen */
.iwwit-ikonen-section > h2::before {
  display: none !important;
}


/* Inhaltsbereich */
.iwwit-ikonen-section > p {
  width: 100% !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 18px 14px !important;

  color: var(--ik-text) !important;

  font-family: inherit !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
}


/* erster Absatz etwas Abstand zur Überschrift */
.iwwit-ikonen-section > h2 + p {
  padding-top: 16px !important;

  color: var(--ik-text) !important;

  font-size: 16px !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
}


/* letzter Absatz */
.iwwit-ikonen-section > p:last-child {
  padding-bottom: 18px !important;
}


/* =========================================================
   DARKMODE
   ========================================================= */

body.pcdark-mode .iwwit-ikonen-section,
html.pcdark-mode body .iwwit-ikonen-section {
  background: var(--ik-soft);
  border-color: var(--ik-border);
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

  .iwwit-ikonen-section {
    margin-bottom: 18px !important;
    border-radius: 15px;
  }

  .iwwit-ikonen-section > h2 {
    padding: 14px 15px !important;

    font-size: 20px !important;
  }

  .iwwit-ikonen-section > p {
    padding-left: 15px !important;
    padding-right: 15px !important;

    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  .iwwit-ikonen-section > h2 + p {
    padding-top: 14px !important;
  }

  .iwwit-ikonen-section > p:last-child {
    padding-bottom: 15px !important;
  }
}


/* =========================================================
   LEICHTE SPRACHE – Icon links neben Text
   ========================================================= */

.iwwit-ikonen-easy__item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  align-items: center;

  width: 100%;
  margin: 0 0 14px;
}

.iwwit-ikonen-easy__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 56px;
  height: 56px;

  flex-shrink: 0;
}

.iwwit-ikonen-easy__icon img {
  display: block !important;

  width: 32px !important;
  height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;

  object-fit: contain;
  margin: 0 !important;
  padding: 0 !important;
}

.iwwit-ikonen-easy__text {
  min-width: 0;
}

.iwwit-ikonen-easy__text p {
  margin: 0 !important;
} 

/* =========================================================
   BEDEUTUNG – Infoboxen responsive
   Desktop: 4 Spalten | Tablet: 2 Spalten | Mobil: 1 Spalte
   ========================================================= */

#bedeutung {
  width: 100%;
  max-width: 100%;
}

#bedeutung .iwwit-infoboxes,
#bedeutung .iwwit-infoboxes__grid {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

#bedeutung .iwwit-infoboxes__grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 16px;
}

#bedeutung .iwwit-infoboxes__card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  #bedeutung .iwwit-infoboxes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px;
  }
}

@media (max-width: 640px) {
  #bedeutung .iwwit-infoboxes__grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px;
  }

  #bedeutung .iwwit-infoboxes__card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }
}


/* =========================================================
   IKONEN – WIRKEN
   Anpassung: keine Bindestriche, kompakter, größere Nummern
   ========================================================= */

.iwwit-ikonen-wirken__items {
  width: 100%;
  margin-top: 28px;
}


/* einzelner Punkt */

.iwwit-ikonen-wirken__item {
  position: relative;

  display: grid;

  /* Nummer näher an den Textblock */
  grid-template-columns: 44px minmax(0, 1fr);

  gap: 10px;

  width: 100%;

  margin: 0;
  padding: 24px 0;
}


/* dezente Trennung */

.iwwit-ikonen-wirken__item + .iwwit-ikonen-wirken__item {
  border-top: 1px solid #e6e8ea;
}


/* Nummer */

.iwwit-ikonen-wirken__number {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;

  margin: 0;
  padding: 3px 0 0;

  color: #5084ab;

  font-family: inherit;

  /* etwas größer */
  font-size: 18px;

  line-height: 1;
  font-weight: 600;
  letter-spacing: .02em;

  opacity: .85;
}


/* Inhalt */

.iwwit-ikonen-wirken__content {
  min-width: 0;

  padding-right: 12px;
}


/* Titel */

.iwwit-ikonen-wirken__title {
  margin: 0 0 8px !important;
  padding: 0 !important;

  color: #2c3e50 !important;

  font-family: inherit !important;
  font-size: 21px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
}


/* Bindestrich / Akzent komplett entfernen */

.iwwit-ikonen-wirken__title::before {
  display: none !important;
  content: none !important;
}


/* Text */

.iwwit-ikonen-wirken__text {
  width: 100%;
  max-width: none;

  margin: 0;
  padding: 0;

  color: #333333;

  font-family: inherit;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
}


.iwwit-ikonen-wirken__text p {
  margin: 0 !important;
  padding: 0 !important;
}


/* =========================================================
   DARKMODE
   ========================================================= */

body.pcdark-mode .iwwit-ikonen-wirken__item + .iwwit-ikonen-wirken__item,
html.pcdark-mode body .iwwit-ikonen-wirken__item + .iwwit-ikonen-wirken__item {
  border-color: #333333;
}


body.pcdark-mode .iwwit-ikonen-wirken__title,
html.pcdark-mode body .iwwit-ikonen-wirken__title {
  color: #ffffff !important;
}


body.pcdark-mode .iwwit-ikonen-wirken__text,
html.pcdark-mode body .iwwit-ikonen-wirken__text {
  color: #e1e1e1;
}


body.pcdark-mode .iwwit-ikonen-wirken__number,
html.pcdark-mode body .iwwit-ikonen-wirken__number {
  color: #78a9c8;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 640px) {

  .iwwit-ikonen-wirken__items {
    margin-top: 22px;
  }


  .iwwit-ikonen-wirken__item {
    grid-template-columns: 38px minmax(0, 1fr);

    gap: 8px;

    padding: 20px 0;
  }


  .iwwit-ikonen-wirken__number {
    padding-top: 2px;

    font-size: 16px;
  }


  .iwwit-ikonen-wirken__content {
    padding-right: 0;
  }


  .iwwit-ikonen-wirken__title {
    font-size: 19px !important;
  }


  .iwwit-ikonen-wirken__text {
    font-size: 16px;
    line-height: 1.55;
  }

}


/* =========================================================
   IKONEN – BIOGRAFIE
   Titel + Beschreibung übernehmen das globale Styling.
   Bild kompakt rechts oben.
   Fakten komplett darunter in einer eigenen Zeile.
   ========================================================= */

.iwwit-ikonen-bio {
  width: 100%;
  max-width: none;
  margin: 46px 0;
  padding: 0;
}


/* =========================================================
   HAUPTLAYOUT
   ========================================================= */

.iwwit-ikonen-bio__main {
  position: relative;

  display: grid;
  grid-template-columns: minmax(0, 1fr) 200px;
  grid-template-rows: auto auto auto;

  column-gap: 28px;
  row-gap: 14px;

  align-items: start;

  width: 100%;
  margin: 0;
  padding: 28px;

  border: 1px solid #e6e8ea;
  border-radius: 22px;

  background: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .03);
}


/* Wrapper auflösen:
   Titel, Intro und Fakten können dadurch direkt
   im Haupt-Grid positioniert werden. */

.iwwit-ikonen-bio__copy {
  display: contents;
}


/* Nur Positionierung – KEIN typografisches Styling
   für "Wer war …" und die Beschreibung. */

.iwwit-ikonen-bio__title {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  text-align: left !important;
  justify-self: start;
}

.iwwit-ikonen-bio__intro {
  grid-column: 1;
  grid-row: 2;
}


/* =========================================================
   BILD RECHTS OBEN
   3:2 / entspricht 600 × 400
   ========================================================= */

.iwwit-ikonen-bio__image {
  grid-column: 2;
  grid-row: 1 / 3;

  display: flex;
  flex-direction: column;

  width: 200px;
  max-width: 100%;

  justify-self: end;
  align-self: start;

  margin: 0 !important;
  padding: 0 !important;
}

.iwwit-ikonen-bio__image picture {
  display: block;

  width: 100%;
  aspect-ratio: 3 / 2;

  overflow: hidden;

  margin: 0;
  padding: 0;

  border-radius: 14px;
  background: #f4f5f6;
}

.iwwit-ikonen-bio__image img {
  display: block !important;

  width: 100% !important;
  height: 100% !important;
  max-width: none !important;

  margin: 0 !important;
  padding: 0 !important;

  object-fit: cover;
  border-radius: 14px;
}

.iwwit-ikonen-bio__image > img {
  display: block !important;

  width: 100% !important;
  height: auto !important;

  aspect-ratio: 3 / 2;
  object-fit: cover;
}


/* Bildunterschrift */

.iwwit-ikonen-bio__caption {
  width: 100%;

  margin: 7px 0 0 !important;
  padding: 0 !important;

  color: #666666;

  font-family: inherit;
  font-size: 10px !important;
  line-height: 1.4 !important;
  font-weight: 400;
}

/* Links innerhalb der Bildunterschrift exakt gleich groß */
.iwwit-ikonen-bio__caption a {
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit !important;
  display: inline !important;
}


/* =========================================================
   FAKTEN
   Komplett neue Zeile unter Text UND Bild
   ========================================================= */

.iwwit-ikonen-bio__facts {
  grid-column: 1 / -1;
  grid-row: 3;

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

  gap: 10px;

  width: 100%;

  margin: 15px 0 0;
  padding: 0;
}

.iwwit-ikonen-bio__fact {
  display: block;

  min-width: 0;

  margin: 0;
  padding: 10px 14px;

  border: 1px solid #e6e8ea;
  border-radius: 12px;

  background: #fafbfc;
}

.iwwit-ikonen-bio__fact-icon {
  display: none !important;
}

.iwwit-ikonen-bio__fact-label {
  margin: 0 0 3px;

  color: #5084ab;

  font-family: inherit;
  font-size: 9px;
  line-height: 1.1;
  font-weight: 600;

  letter-spacing: .07em;
  text-transform: uppercase;
}

.iwwit-ikonen-bio__fact-value {
  margin: 0;

  color: #2c3e50;

  font-family: inherit;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 400;
}


/* =========================================================
   OBERER AKZENT
   ========================================================= */

.iwwit-ikonen-bio__main::before {
  content: "";

  position: absolute;

  left: 28px;
  top: 0;

  width: 72px;
  height: 4px;

  border-radius: 0 0 999px 999px;
  background: #5084ab;
}


/* =========================================================
   DARKMODE
   Titel + Intro bleiben bewusst unangetastet
   ========================================================= */

body.pcdark-mode .iwwit-ikonen-bio__main,
html.pcdark-mode body .iwwit-ikonen-bio__main {
  border-color: #333333;

  background: #1c1c1e;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .22);
}

body.pcdark-mode .iwwit-ikonen-bio__fact,
html.pcdark-mode body .iwwit-ikonen-bio__fact {
  border-color: #333333;
  background: #242427;
}

body.pcdark-mode .iwwit-ikonen-bio__fact-label,
html.pcdark-mode body .iwwit-ikonen-bio__fact-label {
  color: #78a9c8;
}

body.pcdark-mode .iwwit-ikonen-bio__fact-value,
html.pcdark-mode body .iwwit-ikonen-bio__fact-value {
  color: #ffffff;
}

body.pcdark-mode .iwwit-ikonen-bio__caption,
html.pcdark-mode body .iwwit-ikonen-bio__caption {
  color: #a1a1a6;
}

body.pcdark-mode .iwwit-ikonen-bio__main::before,
html.pcdark-mode body .iwwit-ikonen-bio__main::before {
  background: #78a9c8;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

  .iwwit-ikonen-bio__main {
    grid-template-columns: minmax(0, 1fr) 180px;

    column-gap: 22px;
    row-gap: 12px;

    padding: 24px;
  }

  .iwwit-ikonen-bio__image {
    width: 180px;
  }

  .iwwit-ikonen-bio__facts {
    gap: 10px;
    margin-top: 16px;
  }

  .iwwit-ikonen-bio__fact {
    padding: 9px 11px;
  }

  .iwwit-ikonen-bio__fact-label {
    font-size: 8px;
  }

  .iwwit-ikonen-bio__fact-value {
    font-size: 12px;
  }

  .iwwit-ikonen-bio__main::before {
    left: 24px;
  }
}


/* =========================================================
   BIOGRAFIE – MOBILE
   ========================================================= */

@media (max-width: 640px) {

  .iwwit-ikonen-bio {
    margin: 34px 0 40px;
  }

  .iwwit-ikonen-bio__main {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 0;
    padding: 20px;
    border-radius: 18px;
  }

  .iwwit-ikonen-bio__copy {
    display: contents;
  }

  .iwwit-ikonen-bio__title {
    grid-column: 1;
    grid-row: 1;
  }

  .iwwit-ikonen-bio__intro {
    grid-column: 1;
    grid-row: 2;
    margin-bottom: 18px;
  }

  .iwwit-ikonen-bio__image {
    grid-column: 1;
    grid-row: 3;
    width: 100%;
    max-width: none;
    margin: 0 0 26px !important;
    justify-self: stretch;
  }

  .iwwit-ikonen-bio__image picture,
  .iwwit-ikonen-bio__image img,
  .iwwit-ikonen-bio__image > img {
    width: 100% !important;
    aspect-ratio: 3 / 2;
    border-radius: 14px;
  }

  .iwwit-ikonen-bio__caption {
    width: 100%;
    margin: 7px 0 0 !important;
    padding: 0 !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
  }

  .iwwit-ikonen-bio__caption a {
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
    display: inline !important;
  }

  .iwwit-ikonen-bio__facts {
    grid-column: 1;
    grid-row: 4;
    grid-template-columns: 1fr;
    gap: 13px;
    margin: 15px 0 0;
  }

  .iwwit-ikonen-bio__fact {
    width: 100%;
    padding: 13px 14px;
    border-radius: 12px;
  }

  .iwwit-ikonen-bio__fact-label {
    margin-bottom: 5px;
    font-size: 9px;
  }

  .iwwit-ikonen-bio__fact-value {
    font-size: 13px;
    line-height: 1.35;
  }

  .iwwit-ikonen-bio__main::before {
    left: 20px;
    width: 58px;
  }
}


/* =========================================================
   IKONEN – ANKER OFFSET
   Fallback für direkte #Links / externe Aufrufe
   ========================================================= */

#haltung,
#biografie,
#wirken,
#momente,
#community,
#bedeutung,
#leichte-sprache,
#faq {
    scroll-margin-top: 180px;
}


@media (max-width: 640px) {

    #haltung,
    #biografie,
    #wirken,
    #momente,
    #community,
    #bedeutung,
    #leichte-sprache,
    #faq {
        scroll-margin-top: 145px;
    }

}

/* Icons Leichte Sprache – Darkmode grau */
body.pcdark-mode .iwwit-ikonen-easy__icon img,
html.pcdark-mode body .iwwit-ikonen-easy__icon img {
  opacity: .8 !important;
  filter: brightness(0) invert(68%) !important;
}