/* ============================================================
   EIFEL-KURIER – main.css
   Reset, Custom Properties, Basis-Styles
   ============================================================ */

/* --- Custom Properties ------------------------------------ */
:root {
  --color-white:       #ffffff;
  --color-black:       #111111;
  --color-dark-green:  #2d5a27;
  --color-light-green: #6abf4b;
  --color-gray-dark:   #333333;
  --color-gray-mid:    #666666;
  --color-gray-light:  #f5f5f5;
  --color-border:      #e0e0e0;

  --gradient-hero: linear-gradient(135deg, #1a3a14 0%, #111111 100%);
  --gradient-section: linear-gradient(135deg, #2d5a27 0%, #1a3a14 100%);

  --font-main: 'Inter', system-ui, -apple-system, sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,.08);
  --shadow-md:  0 6px 24px rgba(0,0,0,.12);
  --shadow-lg:  0 12px 40px rgba(0,0,0,.18);

  --transition: 0.28s ease;

  --max-width: 1200px;
  --section-pad: 80px 0;
}

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

/* Kein horizontales Wackeln: Das geschlossene Off-Canvas-Menü parkt rechts
   außerhalb des Viewports, und die Reveal-Animationen verschieben Elemente
   kurzzeitig über den rechten Rand hinaus. Beides darf nicht scrollbar sein. */
html, body {
  overflow-x: hidden;
}

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

body {
  font-family: var(--font-main);
  color: var(--color-gray-dark);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
}

/* --- Utility --------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad);
}

.section--gray {
  background: var(--color-gray-light);
}

.section--dark {
  background: var(--color-dark-green);
  color: var(--color-white);
}

.section--black {
  background: #1a1a1a;
  color: var(--color-white);
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-light-green);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--color-black);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title--white {
  color: var(--color-white);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-gray-mid);
  max-width: 600px;
  line-height: 1.7;
}

.section-subtitle--white {
  color: rgba(255,255,255,0.8);
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* --- Responsive prefers-reduced-motion ------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* --- Responsive base ------------------------------------- */
@media (max-width: 768px) {
  :root { --section-pad: 56px 0; }
  .container { padding: 0 16px; }
}
