:root {
  --bg: #f4f1ea;
  --bg-soft: #ebe6dc;
  --text: #1c2b24;
  --muted: #5f6f66;
  --card: #ffffff;
  --line: #d8d0c3;
  --brand: #2f5d44;
  --brand-dark: #1f3f2f;
  --brand-light: #e8f0eb;
  --accent: #8a9f7a;
  --topbar-bg: #1c2b24;
  --topbar-text: #f4f1ea;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

h1,
h2,
h3,
.logo-text {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.container {
  width: min(920px, 90%);
  margin: 0 auto;
}

.topbar {
  background: var(--topbar-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 20;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  gap: 1.5rem;
}

.logo {
  text-decoration: none;
  flex-shrink: 0;
}

.logo-text {
  color: var(--topbar-text);
  font-size: 1.45rem;
}

.logo-dot {
  color: var(--accent);
}

.nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  text-decoration: none;
  color: rgba(244, 241, 234, 0.78);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.nav a:hover {
  color: #ffffff;
}

.hero {
  background:
    radial-gradient(circle at top right, rgba(138, 159, 122, 0.35), transparent 55%),
    linear-gradient(160deg, var(--brand-dark), var(--brand));
  color: #f8faf8;
  padding: 5.5rem 0 4.5rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
  max-width: 14ch;
}

.hero p {
  max-width: 38rem;
  margin: 0 0 1.6rem;
  font-size: 1.08rem;
  color: rgba(248, 250, 248, 0.92);
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  background: #f4f1ea;
  color: var(--brand-dark);
  text-decoration: none;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.98rem;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.hero-compact {
  padding: 3.5rem 0 2.5rem;
}

.hero-compact h1 {
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section {
  padding: 3.5rem 0;
}

.focus-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.section-label {
  margin: 0 0 0.4rem;
  color: var(--brand);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.focus-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.focus-content {
  max-width: 42rem;
}

.focus-content p {
  color: var(--muted);
  margin: 0 0 1rem;
}

.focus-content p:last-child {
  margin-bottom: 0;
}

.member-section {
  padding-top: 0;
}

.member-box {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 12px 32px rgba(28, 43, 36, 0.06);
}

.member-box h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.member-box .btn-brand {
  margin-top: 1.5rem;
  background: var(--brand);
  color: #ffffff;
}

.member-box .btn-brand:hover {
  background: var(--brand-dark);
  color: #ffffff;
}

.section-intro {
  max-width: 38rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.card-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(28, 43, 36, 0.05);
}

.card h2 {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
}

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

.card-link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
}

.card-link:hover {
  text-decoration: underline;
}

.content-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 12px 32px rgba(28, 43, 36, 0.06);
}

.content-block h2 {
  margin-top: 0;
  font-size: 1.5rem;
}

.content-block p {
  color: var(--muted);
}

.content-block p:last-child {
  margin-bottom: 0;
}

.page-header {
  padding: 3.5rem 0 2rem;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}

.page-header h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.contact {
  padding-top: 2rem;
}

#kontaktformular {
  scroll-margin-top: 5.5rem;
}

.contact-intro {
  color: var(--muted);
  margin-top: 0;
}

.contact-form {
  margin-top: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.form-row .form-field {
  margin-bottom: 0;
}

.form-field label {
  font-weight: 600;
  font-size: 0.92rem;
}

.form-field .required {
  color: #b45309;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  font: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(47, 93, 68, 0.15);
}

.form-field textarea {
  resize: vertical;
  min-height: 140px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-alert {
  margin: 0 0 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  font-weight: 600;
}

.form-alert-success {
  background: var(--brand-light);
  color: var(--brand-dark);
  border: 1px solid #b8d4c3;
}

.form-alert-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.contact-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 0.25rem;
}

.link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}

.link:hover {
  text-decoration: underline;
}

.site-footer {
  background: var(--topbar-bg);
  color: rgba(244, 241, 234, 0.75);
  margin-top: 2rem;
  padding: 2rem 0;
}

.footer-inner {
  text-align: center;
}

.footer-inner a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

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

@media (max-width: 900px) {
  .card-grid-three {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 0;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
  }

  .card-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 4rem 0 3.5rem;
  }
}
