/* ─── RESET & BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.6;
}

/* ─── VARIABLEN ────────────────────────────────────────────────── */
:root {
  --green-dark:  #1b3a2d;
  --green-mid:   #2d6a4f;
  --green-light: #52b788;
  --accent:      #e8a020;
  --text:        #1a1a1a;
  --text-light:  #555;
  --bg-light:    #f7f9f7;
  --white:       #ffffff;
  --radius:      10px;
  --shadow:      0 4px 24px rgba(0,0,0,.10);
}

/* ─── UTILITY ──────────────────────────────────────────────────── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 80px 0; }
.section-alt { background: var(--bg-light); }

.badge {
  display: inline-block;
  background: var(--green-light);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

h2.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}
p.section-sub {
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin-bottom: 48px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: opacity .2s, transform .15s;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn-primary  { background: var(--accent);    color: #fff; }
.btn-green    { background: var(--green-mid); color: #fff; }
.btn-outline  { background: transparent; border: 2px solid #fff; color: #fff; }

/* ─── HEADER / NAV ─────────────────────────────────────────────── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(27,58,45,.96);
  backdrop-filter: blur(8px);
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1100px;
  margin: 0 auto;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: #fff;
}
.logo-icon { font-size: 1.8rem; }
.logo-text  { font-size: 1.1rem; font-weight: 800; line-height: 1.1; }
.logo-sub   { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-light); }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .03em;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--green-light); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 6px;
}

/* ─── PAGE HERO (Unterseiten) ──────────────────────────────────── */
.page-hero {
  padding: 140px 24px 60px;
  background: linear-gradient(to right, var(--green-dark), var(--green-mid));
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}
.page-hero p {
  color: rgba(255,255,255,.78);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ─── KONTAKT ──────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 { font-size: 1.4rem; font-weight: 800; color: var(--green-dark); margin-bottom: 20px; }
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-info-icon { font-size: 1.3rem; color: var(--green-mid); flex-shrink: 0; margin-top: 2px; }
.contact-info-item p { color: var(--text-light); font-size: .95rem; }
.contact-info-item strong { color: var(--text); display: block; margin-bottom: 2px; }

form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input, textarea, select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e8e3;
  border-radius: 6px;
  font-size: .95rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color .2s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--green-mid); }
textarea { min-height: 120px; resize: vertical; }

/* ─── GALERIE ──────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #dde9e3;
  position: relative;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
}
.gallery-item:hover { transform: scale(1.02); box-shadow: var(--shadow); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--green-mid);
  font-size: .85rem;
  font-weight: 600;
}
.gallery-placeholder span { font-size: 2rem; }

/* ─── IMPRESSUM / LEGAL ────────────────────────────────────────── */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--green-dark);
  margin: 36px 0 12px;
  border-bottom: 2px solid var(--bg-light);
  padding-bottom: 8px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--text-light); margin-bottom: 12px; font-size: .95rem; }
.legal-content a { color: var(--green-mid); }

/* ─── FOOTER ───────────────────────────────────────────────────── */
footer {
  background: var(--green-dark);
  color: rgba(255,255,255,.7);
  padding: 48px 0 24px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo-text { color: #fff; font-size: 1rem; }
.footer-brand p { margin-top: 12px; font-size: .88rem; line-height: 1.7; }
.footer-col h4 { color: #fff; font-weight: 700; margin-bottom: 14px; font-size: .95rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,.65); text-decoration: none; font-size: .9rem; }
.footer-col ul li a:hover { color: var(--green-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .82rem;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: rgba(255,255,255,.6); text-decoration: none; }
.footer-bottom a:hover { color: var(--green-light); }

/* ─── MOBILE ───────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .contact-grid, .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}
