/* ============================================================
   base.css – Design-Tokens, Reset, Nav, Footer, Buttons
   Fill-Bau Relaunch – geteilt von allen Seiten
   ============================================================ */

/* ── Design-Tokens ── */
:root {
  --brand:         #5db52b;
  --brand-hover:   #4a9a22;
  --brand-light:   #74cc40;
  --dark-base:     #1a1c14;
  --dark-surface:  #252a19;
  --dark-surface2: #2e3420;
  --cream:         #f0ebe3;
  --cream-dark:    #e2dbd0;
  --sand:          #c4b49a;
  --sand-light:    #ddd0b8;
  --text:          #1e2014;
  --text-muted:    #6b6858;
  --white:         #faf8f5;

  --font-head:  'Playfair Display', Georgia, serif;
  --font-body:  'DM Sans', system-ui, sans-serif;
  --font-label: 'Barlow Condensed', Arial Narrow, sans-serif;

  --noise-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--dark-base);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ── Typography Helpers ── */
.eyebrow {
  font-family: var(--font-label);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-light);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-label);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn--primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 4px 24px rgba(93, 181, 43, 0.4);
}

.btn--primary:hover {
  background: var(--brand-hover);
  box-shadow: 0 6px 32px rgba(93, 181, 43, 0.6);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--sand-light);
  border: 1px solid rgba(196, 180, 154, 0.35);
}

.btn--ghost:hover {
  border-color: var(--brand-light);
  color: var(--brand-light);
  background: rgba(93, 181, 43, 0.08);
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--dark-base);
  border-bottom: 3px solid var(--brand);
}

.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav__brand {
  display: flex;
  align-items: center;
}

.nav__brand-img {
  height: 40px;
  width: auto;
  display: block;
  background: #ffffff;
  padding: 5px 10px;
  border-radius: 3px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-label);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand-light);
  transition: color 0.2s;
}

.nav__links a:hover { color: var(--brand-light); }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  font-family: var(--font-label) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  transition: background 0.2s !important;
}

.nav__cta:hover { background: var(--brand-hover) !important; color: var(--white) !important; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--sand-light);
  transition: all 0.3s;
}

/* Mobile nav */
@media (max-width: 767px) {
  .nav__toggle { display: flex; }

  .nav__links {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--dark-base);
    border-top: 1px solid var(--dark-surface2);
    padding: 1rem 1.5rem;
  }

  .nav__links.open { display: flex; }

  .nav__links li { width: 100%; }

  .nav__links a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--dark-surface2);
    font-size: 0.9rem;
  }

  .nav__cta {
    margin-top: 0.5rem;
    padding: 0.65rem 1.25rem !important;
  }
}

/* ── Footer ── */
.footer {
  background: var(--dark-base);
  border-top: 3px solid var(--brand);
  padding: 5rem 0 2.5rem;
}

.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 600px) {
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}

.footer__brand-img {
  height: 40px;
  width: auto;
  display: block;
  background: #ffffff;
  padding: 5px 10px;
  border-radius: 3px;
  margin-bottom: 1.25rem;
}

.footer__address {
  font-style: normal;
  color: var(--sand);
  font-size: 0.875rem;
  line-height: 1.8;
}

.footer__address a {
  color: var(--brand-light);
  transition: color 0.2s;
}

.footer__address a:hover { color: var(--white); }

.footer__col-title {
  font-family: var(--font-label);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  font-size: 0.875rem;
  color: var(--sand);
  transition: color 0.2s;
}

.footer__links a:hover { color: var(--brand-light); }

.footer__bottom {
  border-top: 1px solid rgba(93, 181, 43, 0.25);
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer__legal a {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer__legal a:hover { color: var(--sand); }

/* ── Shared Page-Hero (Kontakt, Impressum, Datenschutz) ── */
.page-hero {
  background: var(--dark-base);
  padding: calc(68px + 3.5rem) 1.5rem 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--noise-svg);
  background-repeat: repeat;
  background-size: 200px 200px;
  pointer-events: none;
}

.page-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sand);
}

.breadcrumb a {
  color: var(--sand);
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--brand-light); }

.breadcrumb-sep { color: rgba(196, 180, 154, 0.4); }

.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}
