/* ============================================================
   Walk Lohn – Forst & Landtechnik
   Dark Onepager Stylesheet – responsive
   ============================================================ */

/* ---------- Design-Tokens ---------- */
:root {
  --c-bg:        #0e1210;   /* Hintergrund, sehr dunkles Grün-Schwarz */
  --c-bg-alt:    #141a16;   /* Alternativer Sektions-Hintergrund */
  --c-surface:   #1a211c;   /* Karten / Flächen */
  --c-surface-2: #212a23;   /* Hover-Flächen */
  --c-line:      #2c362e;   /* Trennlinien */
  --c-text:      #e8ede8;   /* Haupttext */
  --c-text-dim:  #9aa89c;   /* Sekundärtext */
  --c-accent:    #6da24b;   /* Waldgrün – primär */
  --c-accent-2:  #c98a3d;   /* Kupfer/Herbstgold – sekundär */
  --c-accent-dark: #4e7a36;

  --radius:      14px;
  --shadow:      0 18px 40px rgba(0, 0, 0, 0.45);
  --maxw:        1160px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

/* ---------- Reset / Basis ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

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

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-accent), var(--c-accent-dark));
  color: #0e1210;
}

.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); }

.btn-ghost {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-line);
}

.btn-ghost:hover { border-color: var(--c-accent); color: var(--c-accent); }

/* ---------- Header / Navigation ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(14, 18, 16, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--c-line);
  background: rgba(14, 18, 16, 0.95);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
}

.brand { display: flex; flex-direction: column; line-height: 1.15; }

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--c-text);
}

.brand-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--c-accent-2);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link {
  font-size: 0.95rem;
  color: var(--c-text-dim);
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover { color: var(--c-text); }
.nav-link.active { color: var(--c-accent); }

.nav-cta { padding: 9px 20px; font-size: 0.85rem; }

/* Toggle (Mobil) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(9, 12, 10, 0.72), rgba(9, 12, 10, 0.85)),
    url("../img/hero.svg") center/cover no-repeat;
}

.hero-content { max-width: 720px; padding-top: 100px; padding-bottom: 60px; }

.hero-eyebrow {
  color: var(--c-accent-2);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05;
  font-weight: 800;
}

.hero-title span { color: var(--c-accent); }

.hero-text {
  margin: 22px 0 30px;
  color: var(--c-text-dim);
  font-size: 1.1rem;
  max-width: 560px;
}

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

.hero-badges {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-badges span {
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.82rem;
  color: var(--c-text-dim);
  background: rgba(0, 0, 0, 0.25);
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }

.section-alt { background: var(--c-bg-alt); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }

.section-eyebrow {
  color: var(--c-accent-2);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.section-sub { color: var(--c-text-dim); }

/* ---------- Grid & Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: var(--c-accent);
  background: var(--c-surface-2);
}

.card-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 16px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--c-text-dim); font-size: 0.95rem; }

/* ---------- Split (Werkstatt / Kontakt) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.split-reverse .split-media { order: 2; }

.split-media { position: relative; }

.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.media-caption {
  position: absolute;
  left: 18px; bottom: 18px;
  background: rgba(14, 18, 16, 0.85);
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 0.85rem;
  color: var(--c-text);
  border-left: 3px solid var(--c-accent-2);
}

.split-content h2 { margin: 4px 0 18px; }
.split-content > p { color: var(--c-text-dim); margin-bottom: 18px; }

.checklist { display: grid; gap: 12px; margin-bottom: 26px; }

.checklist li {
  position: relative;
  padding-left: 30px;
  color: var(--c-text);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 6px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: inset 0 0 0 4px var(--c-bg), 0 0 0 2px var(--c-accent);
}

/* ---------- Galerie ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.gallery-item { margin: 0; overflow: hidden; border-radius: var(--radius); }

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

/* ---------- Kontakt ---------- */
.contact-list { display: grid; gap: 16px; margin: 22px 0 30px; }

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: baseline;
}

.contact-label {
  min-width: 90px;
  color: var(--c-accent-2);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-value a { color: var(--c-accent); border-bottom: 1px solid transparent; }
.contact-value a:hover { border-bottom-color: var(--c-accent); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--c-line);
  padding: 48px 0 26px;
  background: var(--c-bg-alt);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 34px;
}

.footer-brand { font-weight: 700; margin-bottom: 10px; }
.footer-head { color: var(--c-accent-2); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1.5px; margin-bottom: 12px; }

.footer-grid p, .footer-links a { color: var(--c-text-dim); font-size: 0.92rem; }
.footer-links li { margin-bottom: 8px; }
.footer-links a:hover { color: var(--c-accent); }
.site-footer a[href^="mailto"]:hover { color: var(--c-accent); }

.footer-bottom {
  border-top: 1px solid var(--c-line);
  padding-top: 20px;
  text-align: center;
  color: var(--c-text-dim);
  font-size: 0.85rem;
}

/* ---------- Reveal-Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split-reverse .split-media { order: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 700px) {
  .nav-cta { display: none; }

  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-line);
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.35s ease;
  }

  .nav-links.open { max-height: 420px; }

  .nav-links li { width: 100%; }
  .nav-link {
    display: block;
    padding: 16px 20px;
    border-bottom: 1px solid var(--c-line);
  }

  .grid-3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  html { scroll-padding-top: 70px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
