/*
  MEDLEARNING – CSS-NAVIGATION: startseite.css

  ix01 – Einstieg, Nutzenargumente und Sliderüberschrift
  ix02 – Kennzahlenband mit kompakter zweizeiliger Ansicht
  ix03 – Fachgebietssuche und geordnete Fachgebietsbuttons
  ix04 – Beispielfragen und Eingabe für die KI-Suche
  ix05 – Drei Informationsspalten: Wissen, Nutzung und Sicherheit
  ix06 – Registrierungsaufruf

  Die Kennung jedes Abschnitts entspricht den Klassennamen.
  Anpassungen für kleinere Bildschirme stehen beim jeweiligen Abschnitt.
*/

/* ============================================================
   ix01 – Einstieg, Nutzenargumente und Sliderüberschrift
   ============================================================ */

.ix01-startbereich {
  container-type: inline-size;
  padding-top: 20px;
}

.ix01-startbereich > h1 {
  margin: 0 0 4px;
  text-align: center;
  color: var(--bs01-dunkelblau);
  font-size: clamp(23px, 2.35vw, 31px);
  font-weight: 400;
  line-height: 1.24;
  letter-spacing: -.035em;
}

.ix01-vorteilszeile {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  margin-bottom: 12px;
  padding-block: 8px;
  background: #fbfcfe;
}

.ix01-vorteilszeile p {
  margin: 0;
  padding: 5px 16px;
  text-align: center;
  font-size: clamp(13px, 1.25vw, 16px);
  line-height: 1.44;
  color: var(--bs01-dunkelblau);
  font-weight: 600;
}

.ix01-vorteilszeile p + p {
  border-left: 1px solid #e5eaf1;
}


.ix01-titelmotiv-ueberschrift {
  margin: 24px 0;
}

@media (max-width: 1100px) {
  .ix01-titelmotiv-ueberschrift {
    margin-block: 20px;
  }
}

@media (max-width: 600px) {
  .ix01-titelmotiv-ueberschrift {
    margin-block: 16px;
  }
}

@media (max-width: 620px) {
  .ix01-startbereich {
    padding-top: 15px;
  }
  .ix01-vorteilszeile {
    grid-template-columns: 1fr;
  }
  .ix01-vorteilszeile p {
    padding: 7px 8px;
    font-size: 13px;
  }
  .ix01-vorteilszeile p br {
    display: none;
  }
  .ix01-vorteilszeile p + p {
    border-left: 0;
    border-top: 1px solid #edf0f6;
  }
}

/* ============================================================
   ix02 – Kennzahlenband mit kompakter zweizeiliger Ansicht
   ============================================================ */

.ix02-zahlenband {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) 82px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  min-height: 109px;
  max-width: var(--bs01-sliderbreite);
  margin: 10px auto 0;
  padding: 8px 25px;
  background: #fff;
  border: 1px solid #dfe6f0;
  border-radius: 13px;
  box-shadow: 0 3px 12px #14285123;
}

.ix02-zahlengruppe {
  min-width: 0;
}

.ix02-gruppentitel {
  margin: 0 0 12px;
  color: #758090;
  text-align: center;
  font-size: 13px;
}

.ix02-werte {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  text-align: center;
}

.ix02-werte > div {
  display: grid;
  justify-items: center;
  gap: 3px;
}

.ix02-werte strong {
  font-variant-numeric: tabular-nums;
  color: var(--bs01-dunkelblau);
  font-size: clamp(20px, 2.2vw, 29px);
  line-height: 1.12;
  font-weight: 800;
  white-space: nowrap;
}

.ix02-werte span {
  font-size: clamp(11px, 1.04vw, 14px);
  color: var(--bs01-dunkelblau);
}

.ix02-cme-siegel {
  width: 75px;
  height: 75px;
  object-fit: contain;
  justify-self: center;
}

/* Bei begrenzter Inhaltsbreite werden beide Zahlengruppen getrennt.
   Die feine Trennlinie liegt hinter dem mittigen CME-Siegel. */
@container (max-width: 900px) {
  .ix02-zahlenband {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    min-height: 0;
    padding: 10px clamp(14px, 3vw, 22px);
  }
  .ix02-zahlengruppe:first-child { grid-row: 1; }
  .ix02-zahlengruppe:last-child { grid-row: 3; }
  .ix02-zahlenband::before {
    content: "";
    grid-row: 2;
    grid-column: 1;
    align-self: center;
    width: 100%;
    height: 1px;
    background: #e2e8f1;
  }
  .ix02-cme-siegel {
    grid-row: 2;
    grid-column: 1;
    z-index: 1;
    width: 56px;
    height: 56px;
    padding: 4px;
    border-radius: 50%;
    background: #fff;
  }
  .ix02-gruppentitel { margin-bottom: 4px; }
  .ix02-werte { gap: clamp(10px, 2.5vw, 24px); }
  .ix02-werte > div { gap: 1px; }
  .ix02-werte strong { font-size: clamp(20px, 2.2vw, 21px); }
  .ix02-werte span { line-height: 1.25; }
}

@media (max-width: 620px) {
  .ix02-zahlenband {
    gap: 7px;
    margin: 10px auto 0;
    padding: 11px clamp(12px, 4vw, 18px);
  }
  .ix02-cme-siegel {
    width: 52px;
    height: 52px;
  }
  .ix02-gruppentitel {
    margin-bottom: 5px;
    font-size: 12px;
    line-height: 1.35;
  }
  .ix02-werte {
    gap: 12px;
  }
  .ix02-werte strong {
    font-size: 20px;
  }
  .ix02-werte span {
    font-size: 12px;
    line-height: 1.3;
  }
}

/* ============================================================
   ix03 – Fachgebietsbereich, Suche und geordnete Fachgebietsbuttons
   ============================================================ */

.ix03-fachgebiete {
  margin-top: 43px;
  padding-block: var(--bs01-abschnittsabstand);
  background: var(--bs01-hintergrund);
}

.ix03-suchkopf {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 5vw, 64px);
  row-gap: 9px;
  align-items: center;
  margin: 0 var(--bs01-titeleinzug) 15px;
}

.ix03-suchkopf-text {
  display: contents;
}

.ix03-suchkopf-text h2 {
  grid-column: 1 / -1;
  margin-left: calc(-1 * var(--bs01-titeleinzug));
}

.ix03-suchkopf-text p {
  grid-column: 1;
  grid-row: 2;
  margin: 0;
  font-size: 13px;
  color: #718093;
}

.ix03-suchfeld-rahmen {
  position: relative;
  z-index: 8;
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}

.ix03-suchfeld {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  border: 1px solid #acbacb;
  border-radius: 8px;
  background: #fff;
  transition: border-color .18s, box-shadow .18s;
}

.ix03-suchfeld:focus-within {
  border-color: #487a9d;
  box-shadow: 0 0 0 3px #9dccdf50;
}

.ix03-suchfeld .ml-symbol {
  flex: none;
  stroke: #70819a;
  fill: none;
  stroke-width: 1.8;
}

.ix03-suchfeld input {
  min-width: 0;
  width: 100%;
  height: 45px;
  padding: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--bs01-schrift);
  font-size: 14px;
}

.ix03-suchfeld input:focus-visible {
  outline: none;
}

.ix03-suchfeld input::placeholder {
  color: #8791a0;
  opacity: 1;
}

.ix03-vorschlaege {
  position: absolute;
  top: calc(100% + 5px);
  left: 0;
  right: 0;
  z-index: 15;
  max-height: 326px;
  overflow-y: auto;
  padding: 5px;
  background: #fff;
  border: 1px solid #cdd9e7;
  border-radius: 10px;
  box-shadow: 0 14px 34px #152b4b2b;
}

.ix03-vorschlag {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  padding: 8px 11px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  color: var(--bs01-schrift);
  text-align: left;
  font-size: 13px;
  cursor: pointer;
}

.ix03-vorschlag:hover, .ix03-vorschlag[aria-selected="true"] {
  background: #e9f2f8;
}

.ix03-kein-ergebnis {
  margin: 0;
  padding: 12px;
  color: #62748a;
  font-size: 13px;
}

/* Zwei Hauptspalten mit gleichmäßigen Buttonrastern. */
.ix03-fachgebietsauswahl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(24px, 5vw, 64px);
  margin-inline: var(--bs01-titeleinzug);
}

.ix03-fachgebietsspalte {
  min-width: 0;
}

/* Beide Hauptspalten enden auf derselben Grundlinie. */
.ix03-fachgebietsspalte:first-child {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ix03-fachgebietsspalte.ix03-fachgebietsraster {
  grid-template-rows: repeat(6, minmax(49px, 1fr));
  align-content: stretch;
}

.ix03-fachgebietsraster {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 7px;
}

.ix03-fachgebietsknopf {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 49px;
  padding: 9px 11px;
  border: 1px solid #b9cbed;
  border-radius: 6px;
  background: #fbfcff;
  color: var(--bs01-dunkelblau);
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
  overflow-wrap: break-word;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.ix03-fachgebietsknopf:hover {
  border-color: #24305e;
  background: #24305e;
  color: #fff;
}

.ix03-fachgebietsknopf:active {
  background: #16244d;
  border-color: #16244d;
  color: #fff;
}

.ix03-fachgebietsknopf:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid var(--bs01-rot);
  outline-offset: 2px;
}

/* Die Gruppenfläche ordnet die internistischen Schwerpunkte sichtbar unter. */
.ix03-innere-gruppe {
  display: grid;
  gap: 7px;
  flex: 1;
  grid-template-rows: auto minmax(0, 1fr);
  padding: 7px;
  border: 1px solid #b9cbed;
  border-radius: 9px;
  background: #f1f5ff;
}

/* Die vier Innenreihen nutzen die Höhe des gemeinsamen Spaltenrasters. */
.ix03-innere-gruppe > .ix03-fachgebietsraster {
  grid-template-rows: repeat(4, minmax(0, 1fr));
}

.ix03-fachgebietsknopf-innere {
  min-height: 45px;
  background: #dfe9f8;
}

@media (min-width: 881px) {
  .ix03-innere-gruppe > .ix03-fachgebietsraster .ix03-fachgebietsknopf {
    min-height: 0;
    padding-block: 5px;
  }
}

@media (max-width: 1000px) {
  .ix03-fachgebietsauswahl {
    gap: 22px;
  }
  .ix03-fachgebietsknopf {
    font-size: 12px;
    padding-inline: 7px;
  }
}

@media (max-width: 880px) {
  .ix03-suchkopf {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .ix03-suchkopf-text {
    display: block;
  }
  .ix03-suchkopf-text p {
    margin: 7px 0 0;
  }
  .ix03-suchfeld-rahmen {
    grid-column: 1;
    grid-row: auto;
  }
  .ix03-fachgebietsauswahl {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .ix03-fachgebietsknopf {
    font-size: 14px;
  }
}

@media (max-width: 620px) {
  .ix03-fachgebiete {
    margin-top: 35px;
  }
  .ix03-suchkopf,
  .ix03-fachgebietsauswahl {
    margin-inline: 0;
  }
  .ix03-suchkopf-text h2 {
    margin-left: 0;
  }
  .ix03-suchkopf-text p {
    font-size: 12px;
  }
  .ix03-fachgebietsknopf {
    font-size: 12px;
    min-height: 58px;
    padding: 8px 7px;
  }
}

@media (max-width: 360px) {
  .ix03-fachgebietsknopf {
    font-size: 11px;
    min-height: 66px;
    padding-inline: 5px;
  }
}

/* ============================================================
   ix04 – Beispiele und Eingabe für die KI-Suche
   ============================================================ */

.ix04-ki-suche {
  padding-block: var(--bs01-abschnittsabstand);
}

.ix04-ki-einleitung {
  margin: 8px var(--bs01-titeleinzug) 16px;
  color: #758092;
  font-size: 14px;
}

.ix04-beispielfragen {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(13px, 3.6vw, 45px);
}

.ix04-beispielfrage {
  min-height: 60px;
  padding: 9px 12px;
  border: 1px solid #9cabc0;
  border-radius: 7px;
  background: #fff;
  color: var(--bs01-dunkelblau);
  text-align: left;
  font-size: 14px;
  line-height: 1.4;
  transition: border-color .18s, background-color .18s;
}

.ix04-beispielfrage:hover {
  border-color: #5187a8;
  background: #f0f6fb;
}

.ix04-ki-formular {
  margin: 24px 0 0;
}

.ix04-ki-formular label {
  display: block;
  margin-bottom: 5px;
  color: #788496;
  font-size: 13px;
}

.ix04-eingabezeile {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 60px;
  gap: 11px;
}

.ix04-eingabezeile input {
  width: 100%;
  min-width: 0;
  height: 49px;
  border: 1px solid #e8edf4;
  border-radius: 9px;
  padding: 0 15px;
  background: #f3f6fa;
  color: var(--bs01-schrift);
  font-size: 14px;
}

.ix04-eingabezeile input::placeholder {
  color: #a0aab7;
}

.ix04-ki-absenden {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: #d6002a;
  color: #fff;
  transition: background-color .18s;
}

.ix04-ki-absenden:hover {
  background: var(--bs01-rot-dunkel);
}

.ix04-ki-absenden .ml-symbol {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
}

.ix04-ki-hinweis {
  max-width: 1100px;
  margin: 10px 0 0;
  color: #798497;
  font-size: 13px;
  line-height: 1.55;
}

/* Gleiche Textflucht für Beispiele, Formular und Hinweis. */
.ix04-beispielfragen-rahmen,
.ix04-ki-formular,
.ix04-ki-hinweis {
  margin-inline: var(--bs01-titeleinzug);
}

@media (max-width: 880px) {
  .ix04-beispielfragen {
    gap: 11px;
  }
  .ix04-beispielfrage {
    font-size: 12px;
  }
}

@media (max-width: 620px) {
  .ix04-ki-einleitung,
  .ix04-beispielfragen-rahmen,
  .ix04-ki-formular,
  .ix04-ki-hinweis {
    margin-inline: 0;
  }
  .ix04-beispielfragen {
    grid-template-columns: 1fr;
  }
  .ix04-beispielfrage {
    min-height: 0;
    font-size: 13px;
  }
  .ix04-eingabezeile {
    grid-template-columns: minmax(0, 1fr) 51px;
  }
}

/* ============================================================
   ix05 – Drei Informationsspalten: Wissen, Nutzung und Sicherheit
   ============================================================ */

.ix05-informationsbereich {
  padding-block: 60px 57px;
  background: var(--bs01-hintergrund);
}

.ix05-informationsraster {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(17px, 2.7vw, 31px);
}

.ix05-informationskarte {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px clamp(17px, 2.1vw, 28px);
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e7edf6;
}

.ix05-informationskarte-mitte {
  background: #fbfcff;
}

.ix05-informationskarte h2 {
  min-height: 63px;
  margin: 0 0 26px;
  color: #273762;
  font-size: clamp(19px, 1.65vw, 24px);
  line-height: 1.24;
  letter-spacing: -.025em;
}

.ix05-informationskarte h3 {
  margin: 0 0 15px;
  color: #293a69;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.42;
}

.ix05-informationskarte p, .ix05-informationskarte li {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.55;
  color: #2e416b;
}

.ix05-informationskarte ul {
  margin: 0 0 13px;
  padding-left: 19px;
}

.ix05-informationskarte li {
  padding-left: 3px;
}

.ix05-informationskarte li::marker {
  color: #263a69;
}

.ix05-informationskarte > a {
  margin-top: auto;
  padding-top: 10px;
  color: #253962;
  font-size: 14px;
  font-weight: 800;
}

.ix05-informationskarte > a:hover {
  color: var(--bs01-rot);
}

@media (max-width: 880px) {
  .ix05-informationsbereich {
    padding-block: 39px;
  }
  .ix05-informationsraster {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }
  .ix05-informationskarte {
    padding: 24px;
  }
  .ix05-informationskarte h2 {
    min-height: 0;
    margin-bottom: 17px;
  }
}
