/* === Reset & Basis === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --color-primary: #2e7d32;
  --color-primary-dark: #1b5e20;
  --color-primary-light: #a5d6a7;
  --color-bg: #fafafa;
  --color-text: #333;
  --color-text-light: #fff;
  --color-gray: #666;
  --color-border: #e0e0e0;
  --max-width: 900px;
}
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
/* === Header === */
header {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  padding: 1.2rem 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
header .container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
header .logo {
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--color-text-light);
}
header .logo span {
  font-weight: 300;
  opacity: 0.85;
}
nav {
  display: flex;
  gap: 1.5rem;
}
nav a {
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}
nav a:hover,
nav a.active {
  border-color: var(--color-primary-light);
}
/* === Main === */
main {
  flex: 1;
  max-width: var(--max-width);
  margin: 2.5rem auto;
  padding: 0 2rem;
  width: 100%;
}
/* === Provisorisch-Hinweis === */
.notice {
  background-color: #fff3cd;
  border: 1px solid #ffca28;
  border-left: 4px solid #ff9800;
  color: #6d4c00;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.6;
}
/* === Hero (Startseite) === */
.hero {
  text-align: center;
  padding: 3rem 0 2rem;
}
.hero h1 {
  font-size: 2.2rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.8rem;
}
.hero p {
  font-size: 1.15rem;
  color: var(--color-gray);
  max-width: 600px;
  margin: 0 auto;
}
/* === Sections === */
section {
  margin-bottom: 2.5rem;
}
section h2 {
  font-size: 1.4rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.8rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--color-primary-light);
}
section p,
section address {
  font-style: normal;
  margin-bottom: 0.6rem;
}
section ul {
  list-style: none;
  padding: 0;
}
section ul li {
  padding: 0.3rem 0;
}
section ul li::before {
  content: '\2714';
  color: var(--color-primary);
  margin-right: 0.6rem;
  font-weight: 700;
}
/* === Kontakt-Info === */
.contact-info {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 1.5rem 2rem;
}
.contact-info p {
  margin-bottom: 0.4rem;
}
.contact-info a {
  color: var(--color-primary);
  text-decoration: none;
}
.contact-info a:hover {
  text-decoration: underline;
}
/* === Legal Pages (Impressum, Datenschutz) === */
.legal h1 {
  font-size: 1.8rem;
  color: var(--color-primary-dark);
  margin-bottom: 1.5rem;
}
.legal h2 {
  font-size: 1.2rem;
  margin-top: 2rem;
}
.legal p,
.legal address {
  font-style: normal;
  margin-bottom: 0.5rem;
}
.legal a {
  color: var(--color-primary);
}
/* === Footer === */
footer {
  background-color: var(--color-primary-dark);
  color: var(--color-text-light);
  text-align: center;
  padding: 1.2rem 2rem;
  font-size: 0.85rem;
  margin-top: auto;
}
footer a {
  color: var(--color-primary-light);
  text-decoration: none;
  margin: 0 0.5rem;
}
footer a:hover {
  text-decoration: underline;
}
/* === Responsive === */
@media (max-width: 600px) {
  header .container {
    flex-direction: column;
    text-align: center;
  }
  nav {
    gap: 1rem;
  }
  .hero h1 {
    font-size: 1.6rem;
  }
  main {
    padding: 0 1rem;
    margin: 1.5rem auto;
  }
}
