/* WirStadtFriedrichroda e.V. – Landingpage */
:root {
  --green-900: #12332a;
  --green-700: #1f5a47;
  --green-500: #2f8466;
  --accent: #d9822b;
  --bg: #f6f4ee;
  --card: #ffffff;
  --text: #1d2723;
  --muted: #5b6b64;
  --line: #e1ddd0;
  --radius: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101a16;
    --card: #17251f;
    --text: #eaf0ec;
    --muted: #a3b3ab;
    --line: #28392f;
    --green-700: #3da07f;
    --green-500: #56bf9a;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-700); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
a:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { width: min(1040px, 100% - 2.5rem); margin-inline: auto; }

/* Header */
.site-header { padding: 1.25rem 0; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  text-decoration: none;
  color: var(--text);
}
.brand img { width: 72px; height: 72px; display: block; border-radius: 50%; background: #fff; object-fit: cover; }
.brand span { font-weight: 700; font-size: 1.15rem; line-height: 1.2; }
.brand small { display: block; font-weight: 500; color: var(--muted); font-size: .85rem; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(2rem, 6vw, 4.5rem);
  margin-top: .5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,130,43,.55), transparent 70%);
}
.badge {
  display: inline-block;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  padding: .3rem .85rem;
  border-radius: 999px;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.9rem, 5vw, 3.1rem);
  line-height: 1.15;
  position: relative;
  z-index: 1;
}
.hero p { max-width: 38rem; margin: 0 0 1.75rem; opacity: .94; position: relative; z-index: 1; }

.actions { display: flex; flex-wrap: wrap; gap: .75rem; position: relative; z-index: 1; }
.btn {
  display: inline-flex;
  align-items: center;
  padding: .75rem 1.3rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { color: #fff; background: #bf6f1f; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.14); }

/* Sections */
main section { margin: 3rem 0; }
h2 { font-size: clamp(1.4rem, 3.2vw, 1.9rem); margin: 0 0 .5rem; line-height: 1.25; color: var(--green-700); }
.lead { color: var(--muted); margin: 0 0 1.5rem; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3.5vw, 2.25rem);
}
.card h3 { margin-top: 0; }
.grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: .35rem 0; }
.contact-list strong { display: inline-block; min-width: 5.5rem; color: var(--muted); font-weight: 600; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 4rem;
  padding: 1.75rem 0 2.5rem;
  color: var(--muted);
  font-size: .95rem;
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: space-between; }
.site-footer nav { display: flex; gap: 1.25rem; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--accent); }

/* Rechtstexte */
.legal { max-width: 52rem; }
.legal h1 { font-size: clamp(1.8rem, 4.5vw, 2.5rem); margin: 1.5rem 0 .5rem; color: var(--green-700); }
.legal h2 { margin-top: 2.5rem; font-size: 1.45rem; }
.legal h3 { margin: 1.75rem 0 .4rem; font-size: 1.1rem; }
.legal p, .legal li { color: var(--text); }
.legal ul { padding-left: 1.25rem; }
.legal .stand { color: var(--muted); font-size: .95rem; }
.back { display: inline-block; margin-top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
