/* ============================================================
   BASE.CSS – Reset, CSS-Variablen, Typografie
   ============================================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-primary:       #32A440;
  --color-primary-dark:  #257d31;
  --color-primary-light: #e8f5ea;
  --color-dark:          #1e2b1f;
  --color-mid:           #4a5e4b;
  --color-light:         #f4f7f4;
  --color-white:         #ffffff;
  --color-border:        #d6e8d7;
  --color-accent:        #a8d5ac;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Nunito Sans', system-ui, sans-serif;

  --shadow-sm:  0 1px 3px rgba(30,43,31,0.08);
  --shadow-md:  0 4px 16px rgba(30,43,31,0.12);
  --shadow-lg:  0 8px 32px rgba(30,43,31,0.16);

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

  --transition: 0.3s ease;

  --header-height: 92px;
  --banner-height: 34px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

/* --- Typografie --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: var(--color-mid);
  max-width: 68ch;
}

/* --- Selection --- */
::selection {
  background: var(--color-accent);
  color: var(--color-dark);
}

/* --- Scrollbar (WebKit) --- */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--color-light); }
::-webkit-scrollbar-thumb { background: var(--color-accent); border-radius: 4px; }
