*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #ffffff;
  --bg-light: #f7f5f0;
  --bg-green: #1c3225;
  --bg-green-2: #243d2e;
  --text: #111111;
  --text-muted: #4b5563;
  --accent: #2d6a4f;
  --accent-light: #52b788;
  --border: #d8d3c8;
  --white: #ffffff;
  --mono: 'Space Mono', monospace;
  --font: 'Space Grotesk', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }
.bg-green { background: var(--bg-green); }
.bg-white { background: var(--white); border-top: 1px solid var(--border); }
.mono { font-family: var(--mono); }

/* ── HEADER ─────────────────────────────────────── */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent; transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-color: var(--border);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); transition: color 0.3s; }
header.scrolled .logo { color: var(--text); }

.logo-mark {
  width: 36px; height: 36px; background: var(--accent-light); color: var(--bg-green);
  font-family: var(--mono); font-size: 1.1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
header.scrolled .logo-mark { background: var(--accent); color: var(--white); }

.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-main { font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; }
.logo-sub { font-size: 0.6rem; opacity: 0.55; letter-spacing: 0.05em; text-transform: uppercase; }

nav { display: flex; align-items: center; gap: 32px; }
nav a { text-decoration: none; font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,0.7); transition: color 0.2s; }
header.scrolled nav a { color: var(--text-muted); }
nav a:hover { color: var(--white) !important; }
header.scrolled nav a:hover { color: var(--text) !important; }
nav a.nav-cta {
  color: var(--bg-green) !important; background: var(--accent-light);
  padding: 8px 20px; font-weight: 600;
}
header.scrolled nav a.nav-cta { background: var(--accent); color: var(--white) !important; }
nav a.nav-cta:hover { opacity: 0.85; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: all 0.3s; border-radius: 2px; }
header.scrolled .nav-toggle span { background: var(--text); }

/* ── HERO ───────────────────────────────────────── */
.hero {
  min-height: 100vh;
  padding: 120px 24px 60px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

body::before {
  content: '';
  position: fixed; top: 0; left: 0; right: 0; height: 100vh;
  background: var(--bg-green);
  z-index: -1;
}

.hero-label { margin-bottom: 40px; }
.hero-label .mono {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em;
  color: var(--accent-light); text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(4rem, 9vw, 8rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 48px;
}
.h1-accent { color: var(--accent-light); display: block; }

.hero-bottom {
  display: flex; align-items: flex-start; gap: 60px;
  margin-bottom: 48px;
}
.hero-sub {
  flex: 1; font-size: 1rem; color: rgba(255,255,255,0.5);
  max-width: 480px; line-height: 1.8; font-weight: 300;
}
.hero-btns { display: flex; gap: 12px; flex-direction: column; flex-shrink: 0; }

.hero-rule { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin-bottom: 32px; }

.hero-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.meta-item {
  padding: 20px 0; border-right: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; gap: 4px;
  padding-right: 24px; margin-right: 24px;
}
.meta-item:last-child { border-right: none; }
.meta-key { font-family: var(--mono); font-size: 0.65rem; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.12em; }
.meta-val { font-size: 0.875rem; color: rgba(255,255,255,0.75); font-weight: 500; }
a.meta-link { color: var(--accent-light) !important; text-decoration: none; }
a.meta-link:hover { text-decoration: underline; }

/* ── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; font-size: 0.875rem; font-weight: 600;
  text-decoration: none; transition: all 0.2s; cursor: pointer;
  font-family: var(--font); border: none; letter-spacing: 0.01em;
}
.btn-primary { background: var(--accent-light); color: var(--bg-green); }
.btn-primary:hover { background: #74c69d; }
.btn-ghost { background: transparent; color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.2); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.5); color: var(--white); }

/* ── LEISTUNGEN ─────────────────────────────────── */
.section-header { display: flex; align-items: baseline; gap: 20px; margin-bottom: 56px; border-bottom: 2px solid var(--text); padding-bottom: 16px; }
.section-header.light { border-color: rgba(255,255,255,0.15); }
.section-num { font-size: 0.75rem; color: var(--text-muted); }
.section-header.light .section-num { color: rgba(255,255,255,0.3); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.section-header.light h2 { color: var(--white); }

.leistungen-list { display: flex; flex-direction: column; }
.leistung {
  display: grid; grid-template-columns: 40px 1fr;
  gap: 32px; padding: 36px 0; border-bottom: 1px solid var(--border);
  align-items: start; transition: background 0.2s;
}
.leistung:first-child { border-top: 1px solid var(--border); }
.leistung:hover { background: rgba(255,255,255,0.5); margin: 0 -24px; padding: 36px 24px; }
.leistung-num { font-size: 1.2rem; color: var(--accent); padding-top: 3px; }
.leistung-body h3 { font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: 10px; letter-spacing: -0.01em; }
.leistung-body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; max-width: 600px; }

/* ── ÜBER UNS ───────────────────────────────────── */
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-lead { font-size: 1.4rem; font-weight: 600; color: var(--white); line-height: 1.4; margin-bottom: 24px; letter-spacing: -0.01em; }
.about-main > p { color: rgba(255,255,255,0.55); margin-bottom: 16px; font-size: 0.95rem; line-height: 1.8; font-weight: 300; }

.about-facts { display: flex; flex-direction: column; gap: 0; }
.fact { padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.08); display: flex; flex-direction: column; gap: 4px; }
.fact-label { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(255,255,255,0.3); }
.fact-val { font-size: 0.9rem; color: rgba(255,255,255,0.75); font-weight: 500; }

.insta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 28px; color: var(--accent-light); text-decoration: none;
  font-size: 0.875rem; font-weight: 600; border: 1px solid rgba(82,183,136,0.3);
  padding: 12px 20px; transition: all 0.2s;
}
.insta-btn:hover { background: rgba(82,183,136,0.1); border-color: var(--accent-light); }

/* ── KONTAKT ────────────────────────────────────── */
.kontakt-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.kontakt-lead { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 20px; }
.phone-link {
  display: block; font-family: var(--mono); font-size: 2.2rem; font-weight: 700;
  color: var(--accent); text-decoration: none; letter-spacing: -0.02em;
  margin-bottom: 40px; transition: color 0.2s;
}
.phone-link:hover { color: var(--bg-green); }

.kontakt-details { display: flex; flex-direction: column; gap: 24px; }
.kd { display: flex; flex-direction: column; gap: 4px; }
.kd-key { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--text-muted); }
.kd address { font-style: normal; font-size: 0.9rem; color: var(--text); line-height: 1.6; }
.kd a { color: var(--accent); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.kd a:hover { text-decoration: underline; }

.kontakt-map { display: flex; flex-direction: column; gap: 8px; }
.kontakt-map iframe { width: 100%; height: 380px; border: 2px solid var(--border); }
.map-link { font-size: 0.78rem; color: var(--text-muted); text-align: right; text-decoration: none; }
.map-link:hover { color: var(--accent); }

/* ── FOOTER ─────────────────────────────────────── */
footer { background: var(--text); padding: 32px 0; }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 32px; }
.footer-left strong { display: block; color: var(--white); font-size: 0.875rem; margin-bottom: 2px; }
.footer-left span { font-size: 0.75rem; color: rgba(255,255,255,0.3); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: 0.75rem; color: rgba(255,255,255,0.2); font-family: var(--mono); }

/* ── MODAL ──────────────────────────────────────── */
.modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 200; align-items: center; justify-content: center; padding: 24px; backdrop-filter: blur(4px); }
.modal.open { display: flex; }
.modal-box { background: var(--bg-light); max-width: 560px; width: 100%; max-height: 80vh; overflow-y: auto; padding: 40px; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.2); border: 1px solid var(--border); }
.modal-box h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 20px; }
.modal-box h3 { font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin: 20px 0 8px; }
.modal-box p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 8px; }
.modal-box a { color: var(--accent); }
.modal-close { position: absolute; top: 16px; right: 20px; background: none; border: none; color: var(--text-muted); font-size: 1.5rem; cursor: pointer; line-height: 1; }
.modal-close:hover { color: var(--text); }

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 900px) {
  .hero h1 { font-size: clamp(3rem, 12vw, 6rem); }
  .hero-bottom { flex-direction: column; gap: 32px; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
  .meta-item:nth-child(2) { border-right: none; }
  .about-layout { grid-template-columns: 1fr; }
  .kontakt-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .leistung { grid-template-columns: 1fr; gap: 8px; }
  .leistung-num { display: none; }
  nav { display: none; position: fixed; inset: 0; top: 68px; background: var(--bg-green); flex-direction: column; justify-content: center; align-items: center; gap: 32px; }
  body.nav-open nav { display: flex; }
  nav a { font-size: 1.2rem; color: rgba(255,255,255,0.8) !important; }
  nav a.nav-cta { background: var(--accent-light); color: var(--bg-green) !important; padding: 12px 32px; }
  .nav-toggle { display: flex; }
  .footer-links { flex-wrap: wrap; gap: 16px; }
}
