/* ============================================================
   Statische Seiten: Grundlayout
   ============================================================ */

.static-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 1rem;
}

.static-page p {
  white-space: normal;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: normal;
  hyphens: auto;

  margin: 0 0 1rem;
  line-height: 1.6;
}

.static-page h1 {
  margin: 0 0 1.5rem;
}

.static-page h2 {
  margin: 2rem 0 0.75rem;
}

.static-page h3 {
  margin-top: 0;
}

/* ============================================================
   Info- und Hinweisboxen
   ============================================================ */

.hero-box {
  background: #f4f8fb;
  border-left: 5px solid #1976d2;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0 2rem;
  border-radius: 0.5rem;
}

.hero-box h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.info-box {
  background: #f8f9fa;
  border: 1px solid #d8dee4;
  border-radius: 0.5rem;
  padding: 1rem;
  margin: 1.25rem 0;
  line-height: 1.5;
}

.shortcut-box {
  background: #fff8e8;
  border-left: 4px solid #d6a700;
  padding: 1rem;
  border-radius: 0.5rem;
  margin: 1.25rem 0;
  line-height: 1.5;
}

.hero-box p:last-child,
.info-box p:last-child,
.shortcut-box p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   Karten
   ============================================================ */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.feature-card {
  background: #fff;
  border: 1px solid #d8dee4;
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

/* ============================================================
   Timeline
   ============================================================ */

.timeline {
  margin: 1.5rem 0;
}

.timeline-item {
  position: relative;
  padding: 0.75rem 0 0.75rem 1.5rem;
  border-left: 3px solid #1976d2;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -0.45rem;
  top: 1rem;
  width: 0.75rem;
  height: 0.75rem;
  background: #1976d2;
  border-radius: 50%;
}

/* ============================================================
   Großschrift-Modus
   ============================================================ */

html.font-large .static-page {
  max-width: 960px;
}

html.font-large .static-page p,
html.font-large .static-page li {
  line-height: 1.65;
}

html.font-xlarge .static-page {
  max-width: 980px;
}

html.font-xlarge .static-page p,
html.font-xlarge .static-page li {
  line-height: 1.75;
}

/* ============================================================
   Mobile
   ============================================================ */

@media (max-width: 700px) {
  .static-page {
    padding: 0 0.85rem;
  }

  .hero-box,
  .info-box,
  .shortcut-box,
  .feature-card {
    padding: 0.9rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}
