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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
  list-style: none;
}

/* === Scrollbar === */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-tint);
}

::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--blue-dark);
}

/* === Layout Helpers === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-pad {
  padding: 60px 0;
}

.section-pad-sm {
  padding: 40px 0;
}

/* === Utility Classes === */
.text-center { text-align: center; }
.text-white  { color: #ffffff; }
.bg-blue     { background: var(--blue); }
.bg-tint     { background: var(--bg-tint); }

/* Blauer Trennstreifen (zwischen Hero und Inhalt) */
.blue-stripe {
  background: var(--blue);
  padding: 14px 0;
}

/* Bildergalerie (z.B. Team-Impressionen) */
.img-grid {
  display: grid;
  gap: 16px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 5%;
}
.img-grid--2col { grid-template-columns: 1fr 1fr; }
.img-grid--2col-wide { grid-template-columns: 2fr 1fr; }

.img-grid img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

/* Newsletter-Button (kleiner, im Footer) */
.btn-sm {
  font-size: 0.8rem;
  padding: 10px 18px;
}

@media (max-width: 768px) {
  .img-grid--2col,
  .img-grid--2col-wide {
    grid-template-columns: 1fr;
  }
}

/* === Typography === */
.heading-xl {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
}

.heading-lg {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

.heading-md {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
}

.body-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-mid);
}

.body-sm {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-soft);
}

/* === Responsive Typography === */
@media (max-width: 1024px) {
  .heading-xl {
    font-size: 2.8rem;
  }
  .heading-lg {
    font-size: 2.1rem;
  }
}

@media (max-width: 768px) {
  .heading-xl {
    font-size: 2.2rem;
  }
  .heading-lg {
    font-size: 1.8rem;
  }
  .heading-md {
    font-size: 1.3rem;
  }
  .section-pad {
    padding: 64px 0;
  }
  .section-pad-sm {
    padding: 48px 0;
  }
}

@media (max-width: 480px) {
  .heading-xl {
    font-size: 1.8rem;
  }
  .heading-lg {
    font-size: 1.5rem;
  }
}
