/* Fastenwandern im Harz — Variante 04 (Tailwind)
   Ergänzende Regeln für Dinge, die Utility-Klassen allein nicht abdecken:
   Wegmarken-Listenpunkte, Wegweiser-Form, Timeline-Linie, FAQ-Marker. */

h1, h2, h3, h4, p, li, dd, td, th {
  overflow-wrap: break-word;
}
h1, h2, h3, h4 {
  hyphens: auto;
}

body {
  overflow-x: hidden;
}

.check-item {
  position: relative;
  padding-left: 2rem;
}
.check-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 4px;
  border-radius: 2px;
  background: #e2ff4d;
}
.check-item::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ff5b33;
}

.fingerpost {
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%);
}

.timeline-item {
  position: relative;
  padding-left: 2rem;
}
.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 22px;
  bottom: -24px;
  width: 2px;
  background: #d7e7dc;
}
.timeline-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e2ff4d;
  border: 2px solid #0a2a1a;
}

details.faq-item summary {
  cursor: pointer;
  list-style: none;
}
details.faq-item summary::-webkit-details-marker {
  display: none;
}
details.faq-item summary .faq-icon::after {
  content: "+";
}
details.faq-item[open] summary .faq-icon::after {
  content: "\2212";
}

input[type="radio"],
input[type="checkbox"] {
  accent-color: #0fa854;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
