/* Kierer Core: Widget „Kierer Hinweis-Box" (kierer_hinweis), seit 1.4.17.
 *
 * Ruhige Mitteilung: Symbol in einer feinen Konturfläche, kleine Zeile, Titel, Text, darunter mit
 * Haarlinie abgesetzt die Quelle. Keine farbige Seitenleiste, nur ein Hauch Kierer-Orange im Grund.
 * Farben über --kh-akzent (Regler „Akzentfarbe"), sonst die globale Primärfarbe aus dem Elementor-Kit.
 */
.kierer-hinweis {
  --kh-akzent: var(--e-global-color-primary, #E64515);
  --kh-titel: var(--e-global-color-secondary, #30373E);
  --kh-text: #4f555c;
  --kh-leise: #80868c;
  --kh-rahmen: #f1dcd3;
  --kh-grund: #fff8f5;

  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 22px;
  max-width: 900px;
  margin: 0 auto 34px;
  padding: 30px 34px 26px;
  box-sizing: border-box;
  text-align: left;
  background-color: var(--kh-grund);
  border: 1px solid var(--kh-rahmen);
  border-radius: 20px;
  box-shadow: none; /* bewusst ohne Schatten (Marcel, 16.09.2026) */
  font-family: "Plus Jakarta Sans", sans-serif;
}
.kierer-hinweis--neutral {
  --kh-rahmen: #e9e6e1;
  --kh-grund: #ffffff;
}
.kierer-hinweis--ohne-symbol {
  grid-template-columns: minmax(0, 1fr);
}

/* Symbol: weiße Fläche mit feiner Kontur */
.kierer-hinweis .kh-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-top: 2px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--kh-rahmen);
  color: var(--kh-akzent);
}
.kierer-hinweis--neutral .kh-symbol {
  background: #fff6f2;
  border-color: #f6ddd3;
}
.kierer-hinweis .kh-symbol svg {
  display: block;
  width: 24px;
  height: 24px;
}

.kierer-hinweis .kh-inhalt {
  min-width: 0;
}

/* Kleine Zeile als Kennzeichen mit Punkt, daneben optional das Datum */
.kierer-hinweis .kh-kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin: 0 0 10px;
  padding: 0;
  font-size: 13px;
  line-height: 1.4;
}
.kierer-hinweis .kh-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px 4px 10px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--kh-rahmen);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--kh-titel);
}
.kierer-hinweis .kh-label::before {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--kh-akzent);
  box-shadow: 0 0 0 3px rgba(230, 69, 21, 0.16);
}
.kierer-hinweis--neutral .kh-label {
  background: #fbf9f7;
}
.kierer-hinweis .kh-datum {
  font-weight: 500;
  color: var(--kh-leise);
}
/* Kleines Symbol in der Kopfzeile nur am Handy (dort steht das große Symbol nicht daneben) */
.kierer-hinweis .kh-symbol-klein {
  display: none;
}

/* Eckpunkte */
.kierer-hinweis .kh-punkte {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.kierer-hinweis .kh-punkt {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--kh-titel);
}
.kierer-hinweis .kh-punkt::before {
  content: none;
}
.kierer-hinweis .kh-punkt-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: -0.5px;
  border-radius: 50%;
  background: var(--kh-akzent);
  color: #ffffff;
}
.kierer-hinweis .kh-punkt--kreuz .kh-punkt-symbol,
.kierer-hinweis .kh-punkt--info .kh-punkt-symbol {
  background: #ffffff;
  border: 1px solid var(--kh-rahmen);
  color: var(--kh-akzent);
}
.kierer-hinweis .kh-punkt-symbol svg {
  display: block;
  width: 13px;
  height: 13px;
}

/* Titel */
.kierer-hinweis .kh-titel {
  margin: 0 0 14px;
  padding: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(23px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--kh-titel);
  text-wrap: balance;
}

/* Text */
.kierer-hinweis .kh-text {
  max-width: 68ch;
  font-size: 16px;
  line-height: 1.7;
  color: var(--kh-text);
}
.kierer-hinweis .kh-text p {
  margin: 0 0 12px;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  text-wrap: pretty;
}
.kierer-hinweis .kh-text p:last-child {
  margin-bottom: 0;
}
.kierer-hinweis .kh-text a {
  color: var(--kh-akzent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Fuß: Quelle und optionaler Knopf */
.kierer-hinweis .kh-fuss {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--kh-rahmen);
}
.kierer-hinweis .kh-quelle {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--kh-leise);
}
.kierer-hinweis .kh-quelle a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  color: var(--kh-titel);
  text-decoration: underline;
  text-decoration-color: rgba(48, 55, 62, 0.28);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.kierer-hinweis .kh-quelle a:hover,
.kierer-hinweis .kh-quelle a:focus-visible {
  color: var(--kh-akzent);
  text-decoration-color: currentColor;
}
.kierer-hinweis .kh-extern {
  flex: 0 0 auto;
  width: 12px;
  height: 12px;
  opacity: 0.7;
}
.kierer-hinweis .kh-knopf {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border-radius: 999px;
  background: var(--kh-titel);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background-color 0.25s ease;
}
.kierer-hinweis .kh-knopf:hover,
.kierer-hinweis .kh-knopf:focus-visible {
  background: var(--kh-akzent);
}

@media (max-width: 767px) {
  .kierer-hinweis {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px 20px 20px;
    border-radius: 16px;
  }
  .kierer-hinweis .kh-symbol {
    display: none;
  }
  .kierer-hinweis .kh-symbol-klein {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid var(--kh-rahmen);
    color: var(--kh-akzent);
  }
  .kierer-hinweis .kh-symbol-klein svg {
    display: block;
    width: 18px;
    height: 18px;
  }
  .kierer-hinweis .kh-punkte {
    flex-direction: column;
    gap: 8px;
  }
  .kierer-hinweis .kh-punkt {
    font-size: 14.5px;
  }
  .kierer-hinweis .kh-titel {
    margin-bottom: 12px;
  }
  .kierer-hinweis .kh-text {
    font-size: 15px;
    line-height: 1.65;
  }
  .kierer-hinweis .kh-fuss {
    margin-top: 16px;
    padding-top: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kierer-hinweis .kh-quelle a,
  .kierer-hinweis .kh-knopf {
    transition: none;
  }
}
