/* ================================================================
   BRAND CSS — NaturWege Deutschland
   Design Tokens · Typografie · Basisstile
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@300;400;500;600&display=swap');

/* ── Design Tokens ─────────────────────────────────────────────── */
:root {
  /* Hauptfarben */
  --c-primary:       #1F3A45;
  --c-secondary:     #2E4A3E;
  --c-accent:        #C9A24A;
  --c-accent-h:      #CFAC5C;
  --c-accent-2:      #8C3F3A;

  /* Hintergrundfarben */
  --c-bg:            #E1E8EA;
  --c-bg-alt:        #D2DBDE;
  --c-contrast:      #2B3436;
  --c-white:         #FFFFFF;

  /* Textfarben */
  --c-text:          #1E2324;
  --c-text-muted:    rgba(30, 35, 36, 0.58);
  --c-text-inv:      rgba(255, 255, 255, 0.88);
  --c-text-inv-m:    rgba(255, 255, 255, 0.55);

  /* Rahmen */
  --c-border:        rgba(31, 58, 69, 0.13);
  --c-border-l:      rgba(31, 58, 69, 0.07);
  --c-border-inv:    rgba(255, 255, 255, 0.12);

  /* Gradienten */
  --grad-hero:       linear-gradient(135deg, #1F3A45 0%, #2E4A3E 55%, #2B3436 100%);
  --grad-bg:         linear-gradient(180deg, #E1E8EA 0%, #D2DBDE 100%);
  --grad-accent:     linear-gradient(135deg, #C9A24A 0%, #D9B96E 100%);
  --grad-accent-h:   linear-gradient(135deg, #CFAC5C 0%, #D9B96E 100%);
  --grad-forest:     linear-gradient(135deg, #2E4A3E 0%, #5F776B 100%);
  --grad-warm:       linear-gradient(135deg, #8C3F3A 0%, #A65750 100%);
  --overlay-img:     rgba(31, 58, 69, 0.42);

  /* Typografie */
  --font:            'Inter', 'IBM Plex Sans', sans-serif;
  --font-mono:       'IBM Plex Mono', monospace;

  /* Layout */
  --wrap:            1280px;
  --wrap-sm:         860px;
  --pad-x:           clamp(1.25rem, 4vw, 2.5rem);
  --section-py:      clamp(4.5rem, 9vw, 9rem);
  --section-py-sm:   clamp(3rem, 6vw, 6rem);

  /* Radien */
  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   32px;

  /* Schatten */
  --sh-sm:  0 2px 12px rgba(31, 58, 69, 0.08);
  --sh-md:  0 8px 32px rgba(31, 58, 69, 0.12);
  --sh-lg:  0 24px 64px rgba(31, 58, 69, 0.18);
  --sh-xl:  0 40px 90px rgba(31, 58, 69, 0.22);
  --sh-glow:0 8px 30px rgba(201, 162, 74, 0.38);

  /* Übergänge */
  --ease:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --t-fast:  0.18s var(--ease);
  --t-base:  0.35s var(--ease);
  --t-slow:  0.65s var(--ease);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.78;
  color: var(--c-text);
  background: var(--c-bg);
  position: relative;
  overflow-x: hidden;
  max-width: 100vw;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol { list-style: none; }

/* ── Typografie ─────────────────────────────────────────────────── */
.t-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  display: inline-block;
}
.t-label--gold  { color: var(--c-accent); }
.t-label--inv   { color: var(--c-text-inv-m); }

h1, .h1 {
  font-family: var(--font);
  font-size: clamp(2.4rem, 5.5vw, 4.6rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--c-primary);
}

h2, .h2 {
  font-family: var(--font);
  font-size: clamp(1.8rem, 3.5vw, 2.9rem);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.018em;
  color: var(--c-primary);
}

h3, .h3 {
  font-family: var(--font);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--c-primary);
}

h4, .h4 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--c-primary);
}

p { line-height: 1.82; }

/* ── Buttons ────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  border-radius: var(--r-sm);
  transition: all var(--t-base);
  cursor: pointer;
  white-space: nowrap;
  border: none;
  line-height: 1;
}

.btn-primary {
  background: var(--grad-accent);
  color: var(--c-contrast);
  box-shadow: var(--sh-glow);
}
.btn-primary:hover {
  background: var(--grad-accent-h);
  box-shadow: 0 12px 38px rgba(201, 162, 74, 0.48);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid var(--c-accent);
  color: var(--c-accent);
  background: transparent;
}
.btn-outline:hover {
  background: var(--c-accent);
  color: var(--c-contrast);
  transform: translateY(-2px);
  box-shadow: var(--sh-glow);
}

.btn-ghost {
  color: var(--c-white);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

.btn-sm {
  padding: 0.6rem 1.35rem;
  font-size: 0.82rem;
}
.btn-lg {
  padding: 1.05rem 2.4rem;
  font-size: 1rem;
}

/* ── Container ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.container--sm {
  max-width: var(--wrap-sm);
}

/* ── Grid ───────────────────────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}

/* ── Section Defaults ───────────────────────────────────────────── */
section, header, footer {
  overflow-x: clip;
  max-width: 100%;
  box-sizing: border-box;
}

.section {
  padding: var(--section-py) 0;
}
.section--sm { padding: var(--section-py-sm) 0; }

.section--dark {
  background: var(--grad-hero);
  color: var(--c-text-inv);
}
.section--dark h2, .section--dark h3, .section--dark h4 { color: var(--c-white); }
.section--dark .t-label { color: rgba(201, 162, 74, 0.75); }
.section--dark p { color: var(--c-text-inv); }

.section--alt  { background: var(--grad-bg); }
.section--contrast { background: var(--c-contrast); color: var(--c-text-inv); }
.section--contrast h2, .section--contrast h3 { color: var(--c-white); }

/* ── Section Header ─────────────────────────────────────────────── */
.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-header--center { text-align: center; }
.section-header .t-label { margin-bottom: 0.75rem; }
.section-header p {
  max-width: 56ch;
  color: var(--c-text-muted);
  margin-top: 0.85rem;
}
.section-header--center p { margin-left: auto; margin-right: auto; }

/* ── Divider ────────────────────────────────────────────────────── */
.divider {
  width: 2.8rem;
  height: 2px;
  background: var(--c-accent);
  border-radius: 2px;
  margin-top: 1.1rem;
}
.section-header--center .divider { margin-left: auto; margin-right: auto; }
.divider--inv { background: rgba(201, 162, 74, 0.6); }

/* ── Tag Chip ───────────────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.8rem;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.tag--gold { background: rgba(201, 162, 74, 0.14); color: var(--c-accent); border: 1px solid rgba(201, 162, 74, 0.3); }
.tag--green { background: rgba(46, 74, 62, 0.1); color: var(--c-secondary); border: 1px solid rgba(46, 74, 62, 0.2); }
.tag--red { background: rgba(140, 63, 58, 0.1); color: var(--c-accent-2); border: 1px solid rgba(140, 63, 58, 0.2); }
.tag--inv { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.75); border: 1px solid rgba(255,255,255,0.15); }

/* ── Animated Underline ─────────────────────────────────────────── */
.anim-ul {
  position: relative;
  display: inline;
}
.anim-ul::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.12em;
  width: 100%;
  height: 2px;
  background: var(--c-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}
a:hover .anim-ul::after,
.anim-ul:hover::after { transform: scaleX(1); }

/* ── Scroll Reveal ──────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Stagger Group ──────────────────────────────────────────────── */
.stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.stagger.is-visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.stagger.is-visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.stagger.is-visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.stagger.is-visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.stagger.is-visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.stagger.is-visible > *:nth-child(6) { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }

/* ── Safety Net ─────────────────────────────────────────────────── */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw;
}
