/* ============================================================
   Nordgut – Forstbetrieb
   Design tokens
   ============================================================ */
:root {
  --ink:        #111111;   /* primary text / headings */
  --ink-soft:   #6b6b6b;   /* secondary / muted text */
  --line:       rgba(17,17,17,0.12);   /* hairline dividers */
  --paper:      #ffffff;   /* page background */
  --paper-2:    #f4f4f2;   /* alternate section background */
  --accent:     #3c4a33;   /* muted moss – links, focus */

  --font: "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --max-width: 1180px;
  --edge: clamp(1.25rem, 5vw, 4rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

[hidden] { display: none !important; }

a { color: var(--accent); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--edge);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.topbar__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}

.topbar__crest { width: 26px; height: 26px; flex: none; }

.topbar__brand-text {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.lang-switch {
  display: flex;
  gap: 1rem;
}

.lang-btn {
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  color: var(--ink-soft);
  padding: 0.2rem 0;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lang-btn:hover { color: var(--ink); }

.lang-btn.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.lang-btn .flag { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid currentColor;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn__arrow { transition: transform 0.2s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

.btn--light {
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn--light:hover { background: #fff; color: var(--ink); }

.btn--dark {
  color: var(--ink);
  border-color: rgba(17,17,17,0.55);
}
.btn--dark:hover { background: var(--ink); color: #fff; }

.hero__ctas, .contact-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  background-color: #1a1f16;
  background-image:
    linear-gradient(0deg, rgba(10,12,8,0.75) 0%, rgba(10,12,8,0.1) 55%),
    url("images/park-1.jpg");
  background-size: cover;
  background-position: center;
}

.hero__inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem var(--edge) 3.5rem;
  color: #fff;
}

.eyebrow {
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 0 0 0.9rem;
}

.hero .eyebrow { color: rgba(255,255,255,0.75); }

.hero__title {
  font-weight: 700;
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.02;
}

.hero__tagline {
  margin: 0.6rem 0 2.2rem;
  max-width: 34ch;
  color: rgba(255,255,255,0.72);
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* ---------- Main content ---------- */
main { width: 100%; }

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4.5rem var(--edge);
}

section { border-top: 1px solid var(--line); }
section:first-of-type { border-top: none; }

section.alt { background: var(--paper-2); }

h2 {
  font-weight: 700;
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 1.1rem;
}

p { color: var(--ink); margin: 0 0 1rem; max-width: 56ch; }
p:last-child { margin-bottom: 0; }

.lede { color: var(--ink-soft); }

.section-text { max-width: 640px; }

/* ---------- Feature (text + media) ---------- */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.feature__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.feature__media--crest {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-2);
  padding: 2.5rem;
}
.feature__media--crest img {
  width: 100%;
  max-width: 260px;
  aspect-ratio: auto;
  object-fit: contain;
}

.feature__list {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.feature__list li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--line);
  font-weight: 500;
}
.feature__list li:last-child { border-bottom: 1px solid var(--line); }

@media (max-width: 780px) {
  .feature { grid-template-columns: 1fr; }
  .feature__media { order: -1; }
}

/* ---------- Forest illustration (background accent) ---------- */
.section--illustrated { position: relative; overflow: hidden; }
.section--illustrated .treeline {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(60vw, 720px);
  height: auto;
  opacity: 0.12;
  pointer-events: none;
}
.section--illustrated .section-inner { position: relative; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding-top: 0.5rem;
}

.gallery figure { margin: 0; }

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery figcaption {
  font-size: 0.88rem;
  color: var(--ink-soft);
  padding-top: 0.6rem;
}

@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact-ctas .btn { font-size: 1rem; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem var(--edge) 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.6rem;
  align-items: flex-start;
  justify-content: space-between;
}

.footer__credit {
  font-size: 0.82rem;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0;
}

.footer__links {
  display: flex;
  gap: 1.4rem;
  font-size: 0.85rem;
  white-space: nowrap;
}
.footer__links a { color: var(--ink); text-decoration: none; }
.footer__links a:hover { color: var(--accent); }

/* ---------- Legal pages (Impressum / Datenschutz) ---------- */
.legal-header {
  background: var(--paper-2);
  color: var(--ink);
  padding: 3.5rem var(--edge) 2.5rem;
  border-bottom: 1px solid var(--line);
}
.legal-header h1 {
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 2.9rem);
  letter-spacing: -0.02em;
  margin: 0.3rem 0 0;
}

.legal-back {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.legal-back:hover { color: var(--ink); }

.legal-block { max-width: var(--max-width); margin: 0 auto; padding: 3rem var(--edge) 4rem; }

table.info-table {
  width: 100%;
  max-width: 720px;
  border-collapse: collapse;
  margin: 0.5rem 0 1.5rem;
}
table.info-table th, table.info-table td {
  text-align: left;
  padding: 0.7rem 0.8rem 0.7rem 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 0.96rem;
}
table.info-table th {
  width: 38%;
  color: var(--ink);
  font-weight: 600;
}

.legal-block h2 { margin-top: 2.2rem; }
.legal-block h2:first-child { margin-top: 0; }
.legal-block h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 1.2rem 0 0.4rem;
}
.legal-block ul { margin: 0 0 1rem; padding-left: 1.2rem; max-width: 640px; }
.legal-block li { margin-bottom: 0.35rem; }
