:root {
  --brand: #1f6f4a;
  --brand-dark: #164f35;
  --brand-light: #e8f3ec;
  --text: #23291f;
  --muted: #5b6259;
  --bg: #ffffff;
  --bg-alt: #f6f8f5;
  --border: #dfe6dd;
  --max-width: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Verdana, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a { color: var(--brand); }

img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-dark);
  text-decoration: none;
  letter-spacing: 0.2px;
}

.logo span { color: var(--brand); }

nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.active {
  color: var(--brand-dark);
  border-bottom-color: var(--brand);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 1.4rem;
  padding: 4px 10px;
  cursor: pointer;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--brand-light), var(--bg-alt));
  padding: 64px 0 56px;
  text-align: center;
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 14px;
  color: var(--brand-dark);
}

.hero p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 26px;
}

.btn {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.15s ease;
}

.btn:hover { background: var(--brand-dark); }

.btn-outline {
  background: transparent;
  color: var(--brand-dark);
  border: 2px solid var(--brand);
}

.btn-outline:hover { background: var(--brand-light); }

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
section { padding: 56px 0; }
section.alt { background: var(--bg-alt); }

h2 {
  font-size: 1.8rem;
  color: var(--brand-dark);
  margin-top: 0;
  text-align: center;
}

.section-lead {
  text-align: center;
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 36px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  margin-top: 30px;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px 22px;
  text-align: center;
}

.card .icon { font-size: 2.2rem; margin-bottom: 10px; }

.card h3 { margin: 0 0 8px; color: var(--brand-dark); }

.card p { color: var(--muted); margin: 0; font-size: 0.95rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

ul.check {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.check li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 12px;
  color: var(--text);
}

ul.check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.cta-band {
  background: var(--brand-dark);
  color: #fff;
  text-align: center;
  padding: 48px 0;
}

.cta-band h2 { color: #fff; }
.cta-band p { color: #dfeee5; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info .card {
  text-align: left;
  margin-bottom: 18px;
}

form.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
}

.form-row { margin-bottom: 18px; }

.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg-alt);
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--brand);
  background: #fff;
}

.form-row textarea { resize: vertical; min-height: 130px; }

.form-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 10px;
}

.form-success {
  background: var(--brand-light);
  border: 1px solid var(--brand);
  color: var(--brand-dark);
  padding: 16px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
}

/* honeypot field */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* Impressum */
.legal h2 { text-align: left; }
.legal h3 { color: var(--brand-dark); margin-top: 30px; }
.legal p { color: var(--text); }

/* Footer */
footer {
  background: var(--brand-dark);
  color: #dfeee5;
  padding: 36px 0 24px;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

footer a { color: #fff; }

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 20px;
}

.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: #a9c7b8;
  margin-top: 26px;
  border-top: 1px solid #2b6248;
  padding-top: 18px;
}

@media (max-width: 800px) {
  .two-col, .contact-grid { grid-template-columns: 1fr; }
  .legal h2 { text-align: center; }
}

@media (max-width: 700px) {
  nav { display: none; }
  nav.open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--border); }
  nav.open ul { flex-direction: column; padding: 16px 20px; gap: 16px; }
  .nav-toggle { display: inline-block; }
  .hero h1 { font-size: 1.9rem; }
  .footer-inner { flex-direction: column; }
}
