/* Grundlayout */
.am-body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222;
  background: #f5f5f7;
}

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

/* Container mit max. Breite */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem;
}

/* Header & Navigation */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e1e4e8;
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #1f2a3a;
  text-decoration: none;
}

/* Hauptnavigation */
.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: #444;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus,
.site-nav a.is-active {
  color: #0f7c4a;
  border-color: #0f7c4a;
}

/* Hero / Einleitungsbereich */
.hero {
  background: #ffffff;
  border-bottom: 1px solid #e1e4e8;
}

.hero-inner {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.hero-title {
  font-size: 2.1rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: #1f2a3a;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 46rem;
}

/* Inhaltsblöcke (Vision, Geschichte, Willkommen, News ...) */
.content-section {
  background: #ffffff;
  margin-top: 1.5rem;
  padding: 2rem 1.75rem;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.content-section + .content-section {
  margin-top: 1rem;
}

.content-section h1,
.content-section h2,
.content-section h3 {
  margin-top: 0;
  margin-bottom: 0.9rem;
  font-weight: 700;
  color: #1f2a3a;
}

.content-section h1 {
  font-size: 1.7rem;
}

.content-section h2 {
  font-size: 1.35rem;
}

.content-section p {
  margin: 0 0 0.75rem;
  line-height: 1.8;
}

/* Hervorgehobene Hinweise / News-Box */
.notice {
  padding: 1rem 1.25rem;
  border-left: 4px solid #0f7c4a;
  background: #f0faf5;
  border-radius: 4px;
  font-size: 0.95rem;
}

/* Links im Content */
.content-section a {
  color: #0f7c4a;
  text-decoration: none;
}

.content-section a:hover {
  text-decoration: underline;
}

/* Footer wie auf alter Seite: dunkel mit hellen Links */
.site-footer {
  background: #111827;
  color: #d1d5db;
  font-size: 0.85rem;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
}

.site-footer a {
  color: #e5e7eb;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* Responsive Verhalten */
@media (max-width: 768px) {
  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .content-section {
    padding: 1.5rem 1.25rem;
  }
}
