/* ==========================================================================
   BASE – Reset, Custom Properties, Typografie
   ========================================================================== */

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

:root {
  /* === FARBEN === */
  --color-primaer:       #bccf03;
  --color-akzent-hell:   #fdffed;
  --color-akzent-warm:   #e7d2b0;
  --color-akzent-text:   #6b7600;  /* dunkles Oliv: lesbarer Text-Akzent zur Limefarbe */
  --color-action:        #bc0f00;

  --color-dunkel:        #1d1f1f;
  --color-hell:          #fdffed;
  --color-weiss:         #ffffff;

  /* Digitaltreffs / Digital-Botschafter (Petrol + Gelb) */
  --dibo-teal:           #12666e;
  --dibo-yellow:         #f2c200;

  --color-text:          var(--color-dunkel);
  --color-text-muted:    #5a5c5c;
  --color-bg-light:      var(--color-akzent-hell);
  --color-bg-warm:       var(--color-akzent-warm);
  --color-bg-white:      var(--color-weiss);
  --color-cta-primary:   var(--color-action);
  --color-cta-hover:     #960c00;
  --color-border:        rgba(0, 0, 0, 0.1);

  /* === TYPOGRAFIE === */
  --font-headline: 'ABeeZee', sans-serif;
  --font-body:     'ABeeZee', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1.125rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.5rem;
  --fs-2xl:  2rem;
  --fs-3xl:  2.75rem;
  --fs-4xl:  3.5rem;

  /* === ABSTÄNDE === */
  --space-xs:   0.5rem;
  --space-sm:   1rem;
  --space-md:   1.5rem;
  --space-lg:   2rem;
  --space-xl:   3rem;
  --space-2xl:  5rem;
  --space-3xl:  8rem;

  --section-py-desktop: 5rem;
  --section-py-mobile:  3rem;

  /* === LAYOUT === */
  --max-width:         1200px;
  --max-width-narrow:  800px;
  --gutter:            1.5rem;

  /* === BORDERS & RADII === */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   16px;
  --radius-full: 9999px;

  /* === SHADOWS === */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.1);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.15);

  /* === TRANSITIONS === */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   380ms ease;
  --transition-smooth: 300ms cubic-bezier(0.4, 0, 0.2, 1);

  --stripe-height: 6px;
}

@media (max-width: 768px) {
  :root {
    --fs-base: 1.0625rem;
    --fs-lg:   1.0625rem;
  }

  h1, h2 {
    font-size: 1.6875rem !important;
  }

  h3 {
    font-size: 1.375rem !important;
  }
}

/* === FONT FACE === */
@font-face {
  font-family: 'ABeeZee';
  src: url('/fonts/abeezee-v23-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'ABeeZee';
  src: url('/fonts/abeezee-v23-latin-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}


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

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-dunkel);
}

h1 { font-size: var(--fs-4xl); margin-bottom: var(--space-md); }
h2 { font-size: var(--fs-3xl); margin-bottom: var(--space-md); }
h3 { font-size: var(--fs-2xl); margin-bottom: var(--space-sm); }
h4 { font-size: var(--fs-xl);  margin-bottom: var(--space-sm); }

p {
  margin-bottom: var(--space-sm);
}

a {
  color: var(--color-cta-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-cta-hover);
}

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

ul, ol {
  padding-left: 1.5rem;
}

:focus-visible {
  outline: 2px solid var(--color-cta-primary);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-sm);
  background: var(--color-cta-primary);
  color: #fff;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-size: var(--fs-sm);
}

.skip-link:focus {
  top: var(--space-sm);
}
