/**
 * Hinweise auf selfservices.php.
 * Der Check-up-Kasten steht im Pill Terminvergabe.
 * Der Neupatienten-Kasten steht über den Karteireitern.
 * Kein style-Attribut, keine Animation. Die Schrift der Seite ist sonst 300
 * und 16,25 px. Der Kasten setzt 400 und mindestens 20 px.
 *
 * Kontrast, gerundet:
 * #181818 auf Weiß #ffffff liegt bei 17,8:1 (AAA). Das ist der Text.
 * Weiß #ffffff auf Anthrazit #4d4d4f liegt bei 8,4:1 (AAA). Das ist das Icon.
 * #e5ecc7 auf Weiß ist nur die Trennlinie, keine Schrift.
 */
.checkup-hinweis {
  box-sizing: border-box;
  width: 100%;
  margin: 1.25rem 0 1.5rem;
  padding: 1rem 1.25rem 1rem 1.15rem;
  background: #f4f7e8;
  border: 1px solid #e5ecc7;
  border-left: 4px solid #bcc639;
  border-radius: 4px;
  color: #181818;
  text-align: left;
}

.checkup-hinweis p {
  margin: 0 0 0.6rem;
  font-size: 1rem;
  line-height: 1.45;
  color: #181818;
}

.checkup-hinweis p:last-child {
  margin-bottom: 0;
}

/* Info-Zeichen nur für diesen Kasten. icons.css bleibt unverändert.
   Der Strich ist schwarz, die Maske von .fa zeigt ihn in currentColor, also weiß. */
.fa-hinweis {
  --fa-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.6%22%2F%3E%3Cpath%20fill%3D%22none%22%20stroke%3D%22%23000%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20d%3D%22M12%2011v6%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%221%22%20fill%3D%22%23000%22%2F%3E%3C%2Fsvg%3E");
}

/* Weißer Kasten, höchstens 48 rem, damit die Zeile nicht über die ganze Seite läuft.
   Außerhalb von .section-title, sonst gilt dort 16,25 px und die Zentrierung. */
.np-hinweis {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-sizing: border-box;
  width: 100%;
  max-width: 48rem;
  margin: 1.25rem auto 0;
  padding: 22px 24px;
  background: #ffffff;
  color: #181818;
  border: 1px solid #e4e4e4;
  border-radius: 4px;
  text-align: left;
}

/* Anthrazit mit weißer Schrift, 8,4:1. */
.np-hinweis-icon {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: #4d4d4f;
  color: #ffffff;
  font-size: 22px;
}

.np-hinweis-icon .fa {
  line-height: 1;
}

.np-hinweis-body {
  flex: 1 1 auto;
  min-width: 0;
}

/* 24 px fett ist große Schrift. 17,8:1 liegt über dem AAA-Wert 4,5:1 dafür. */
.np-hinweis-kern {
  margin: 0 0 6px;
  color: #181818;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.np-hinweis-grund,
.np-hinweis-ausnahme {
  margin: 0;
  color: #181818;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.4;
}

/* Eigene Zeile, fett. Die Linie trennt, die Bedeutung steht im Wort Ausnahme. */
.np-hinweis-ausnahme {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e5ecc7;
  font-weight: 700;
}

/* Bei 390 px steht das Icon über dem Text. Die Schriftgröße bleibt. */
@media (max-width: 767px) {
  .np-hinweis {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
    gap: 12px;
  }
}
