:root {
  --green: #4f6228;
  --green-light: #c2d6a0;
  --green-mid: #6b8535;
  --grey: #7f7f7f;
  --grey-light: #f5f5f5;
  --grey-dark: #2a2a2a;
  --white: #ffffff;
  --border: #e0e0e0;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* ===== A11Y / FOCUS ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

:focus-visible {
  outline: 3px solid var(--green-mid);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--green);
  color: #fff;
  padding: 12px 20px;
  z-index: 9999;
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

/* Hamburger als <button> – Browser-Defaults überschreiben */
button.hamburger {
  background: transparent;
  border: none;
  font-family: inherit;
}

/* Form-Error-Box */
.form-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 12px 16px;
  border-radius: 8px;
  margin-top: 14px;
  font-size: .9rem;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--grey-dark);
  background: var(--white);
  overflow-x: hidden;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo img { height: 44px; width: auto; object-fit: contain; }
.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--grey-dark);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s;
}
.nav-links a:hover {
  background: var(--green-light);
  color: var(--green);
}
.nav-links .nav-cta {
  background: var(--green);
  color: white;
  padding: 9px 20px;
  border-radius: 8px;
  margin-left: 8px;
}
.nav-links .nav-cta:hover {
  background: var(--green-mid);
  color: white;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--grey-dark);
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1a2510 0%, #2d3d18 40%, #3a5020 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../images/hero.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}
.hero-pattern {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(194,214,160,0.04) 40px,
    rgba(194,214,160,0.04) 41px
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 32px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero-tag {
  display: inline-block;
  background: rgba(194,214,160,0.15);
  border: 1px solid rgba(194,214,160,0.3);
  color: var(--green-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-title span { color: var(--green-light); }
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-light);
  color: var(--green);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}
.btn-primary:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all 0.25s;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}
.hero-image-wrap { position: relative; }
.hero-image-main {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}
.hero-image-main img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* ===== STATS BAR ===== */
.stats-bar { background: var(--green); padding: 40px 0; }
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: white;
}
.stat-item span {
  font-size: 0.88rem;
  color: var(--green-light);
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ===== SHARED SECTION ===== */
section { padding: 96px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--grey-dark);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.02rem;
  color: var(--grey);
  line-height: 1.75;
  max-width: 600px;
}
.section-head {
  margin-bottom: 56px;
}
.divider {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  border-radius: 2px;
  margin-bottom: 20px;
}

/* ===== LEISTUNGEN ===== */
#leistungen { background: var(--grey-light); }
.leistungen-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.leistung-card {
  background: white;
  border-radius: 16px;
  padding: 40px 36px;
  border: 1px solid var(--border);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.leistung-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green), var(--green-light));
  transform: scaleX(0);
  transition: transform 0.35s;
  transform-origin: left;
}
.leistung-card:hover { transform: translateY(-5px); box-shadow: 0 20px 48px rgba(79,98,40,0.1); border-color: var(--green-light); }
.leistung-card:hover::before { transform: scaleX(1); }
.leistung-icon {
  width: 52px; height: 52px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 22px;
}
.leistung-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--grey-dark);
  margin-bottom: 16px;
}
.leistung-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.leistung-card ul li {
  font-size: 0.91rem;
  color: var(--grey);
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}
.leistung-card ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.leistung-card p {
  font-size: 0.92rem;
  color: var(--grey);
  line-height: 1.7;
}

/* ===== ERFAHRUNG ===== */
#erfahrung { background: white; }
.erfahrung-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.erfahrung-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.erfahrung-image img { width: 100%; height: 380px; object-fit: cover; display: block; }
.erfahrung-image-accent {
  position: absolute;
  bottom: -24px; right: -24px;
  width: 180px;
  border-radius: 12px;
  overflow: hidden;
  border: 5px solid white;
  box-shadow: var(--shadow);
}
.erfahrung-image-accent img { width: 100%; height: 140px; object-fit: cover; display: block; }
.erfahrung-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.erfahrung-tag {
  background: var(--grey-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--grey-dark);
  display: flex;
  align-items: center;
  gap: 8px;
}
.erfahrung-tag::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}

/* ===== TEAM ===== */
#team { background: var(--grey-light); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}
.team-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(79,98,40,0.1);
}
.team-card-img {
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.team-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.team-card-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--green-light), #a8c878);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: -0.02em;
}
.team-card-body { padding: 24px 24px 28px; }
.team-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--grey-dark);
  margin-bottom: 4px;
}
.team-card-body .role {
  font-size: 0.78rem;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.team-card-body .desc {
  font-size: 0.87rem;
  color: var(--grey);
  line-height: 1.65;
}

/* ===== KONTAKT ===== */
#kontakt { background: white; }
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 72px;
  align-items: start;
}
.kontakt-info-card {
  background: var(--green);
  border-radius: 20px;
  padding: 48px 40px;
  color: white;
  
  
}
.kontakt-info-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 32px;
}
.kontakt-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.kontakt-info-item .icon {
  width: 42px; height: 42px;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.kontakt-info-item strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 4px;
}
.kontakt-info-item span { font-size: 0.95rem; opacity: 0.9; line-height: 1.5; }
.kontakt-info-item a { color: white; text-decoration: none; opacity: 0.9; }
.kontakt-info-item a:hover { opacity: 1; text-decoration: underline; }

.form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 8px;
}
.form-subtitle { color: var(--grey); margin-bottom: 32px; font-size: 0.95rem; line-height: 1.6; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-dark);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--grey-dark);
  transition: border-color 0.2s;
  background: white;
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--green);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.02em;
}
.btn-submit:hover { background: var(--green-mid); transform: translateY(-1px); }
.form-notice {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.82rem;
  color: #166534;
  margin-top: 16px;
  line-height: 1.5;
}
.form-success {
  display: none;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  margin-top: 16px;
}
.form-success .check { font-size: 2.5rem; margin-bottom: 12px; }
.form-success strong { color: #166534; display: block; font-size: 1.1rem; margin-bottom: 6px; }
.form-success span { color: #15803d; font-size: 0.9rem; }

/* ===== FOOTER ===== */
footer {
  background: var(--grey-dark);
  color: rgba(255,255,255,0.55);
  padding: 48px 0 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 36px; width: auto; object-fit: contain; }
.footer-desc { font-size: 0.87rem; line-height: 1.65; margin-top: 12px; }
.footer-col h4 {
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li { font-size: 0.87rem; }
.footer-col ul a { color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--green-light); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 32px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; }
.footer-bottom .legal-links { display: flex; gap: 20px; }
.footer-bottom .legal-links a { color: rgba(255,255,255,0.45); font-size: 0.82rem; text-decoration: none; transition: color 0.2s; }
.footer-bottom .legal-links a:hover { color: var(--green-light); }

/* ===== LEGAL PAGES ===== */
.page-hero {
  background: linear-gradient(135deg, #1a2510 0%, #2d3d18 100%);
  padding: 120px 32px 64px;
  margin-bottom: 0;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: white;
  max-width: 1200px;
  margin: 0 auto;
}
.page-hero p {
  color: var(--green-light);
  font-size: 0.9rem;
  max-width: 1200px;
  margin: 8px auto 0;
  letter-spacing: 0.04em;
}
.legal-section { padding: 72px 0 96px; background: white; }
.legal-content { max-width: 780px; }
.legal-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--grey-dark);
  margin: 36px 0 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.legal-content h2:first-child { margin-top: 0; border-top: none; }
.legal-content p {
  font-size: 0.93rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 12px;
}
.legal-content ul {
  padding-left: 20px;
  margin-bottom: 12px;
}
.legal-content ul li { font-size: 0.93rem; color: #555; line-height: 1.8; margin-bottom: 4px; }
.legal-content a { color: var(--green); text-decoration: none; }
.legal-content a:hover { text-decoration: underline; }

/* ===== ADMIN PAGE ===== */
.admin-body { background: #f8fafc; min-height: 100vh; }
.admin-header {
  background: var(--green);
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-header img { height: 36px; filter: brightness(0) invert(1); }
.admin-header span { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.admin-main {
  max-width: 900px;
  margin: 48px auto;
  padding: 0 24px;
}
.admin-card {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 32px;
}
.admin-card-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.admin-card-header h2 { font-size: 1.1rem; font-weight: 600; }
.admin-card-body { padding: 32px; }
.admin-member-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.admin-member-row:last-child { border-bottom: none; }
.admin-member-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--green); font-size: 1rem;
}
.admin-member-avatar img { width: 100%; height: 100%; object-fit: cover; }
.admin-member-info { flex: 1; }
.admin-member-info strong { display: block; font-size: 0.95rem; }
.admin-member-info span { font-size: 0.83rem; color: var(--grey); }
.admin-btn-del {
  background: #fee2e2; color: #dc2626;
  border: none; padding: 8px 14px;
  border-radius: 8px; cursor: pointer;
  font-size: 0.83rem; font-weight: 600;
  transition: background 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.admin-btn-del:hover { background: #fecaca; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.admin-form-full { grid-column: 1 / -1; }
.admin-login {
  max-width: 420px;
  margin: 100px auto;
  background: white;
  border-radius: 20px;
  padding: 48px 40px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  text-align: center;
}
.admin-login img { height: 40px; margin-bottom: 32px; }
.admin-login h1 { font-size: 1.4rem; margin-bottom: 8px; }
.admin-login p { color: var(--grey); font-size: 0.9rem; margin-bottom: 28px; }
.pw-error { color: #dc2626; font-size: 0.85rem; margin-top: 8px; display: none; }
.badge-count {
  background: var(--green-light);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-content { grid-template-columns: 1fr; gap: 0; }
  .hero-image-wrap { display: none; }
  .leistungen-grid { grid-template-columns: 1fr; }
  .erfahrung-grid { grid-template-columns: 1fr; }
  .erfahrung-image { display: none; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .stats-inner { grid-template-columns: repeat(3, 1fr); }
  .nav-links { display: none; position: fixed; top: 72px; left: 0; right: 0; background: white; flex-direction: column; padding: 16px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); gap: 4px; }
  .nav-links.open { display: flex; }
  .nav-links .nav-cta { margin-left: 0; text-align: center; justify-content: center; }
  .hamburger { display: flex; }
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-form-full { grid-column: 1; }
}
@media (max-width: 600px) {
  section { padding: 64px 0; }
  .stats-inner { grid-template-columns: 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-content { padding: 100px 20px 60px; }
  .container { padding: 0 20px; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
