/* Base Styles - Globale Variablen, Reset, Grundlagen */
:root {
  --primary: #ff7a18;
  --primary-dark: #e66a0f;
  --primary-blue: #1e40af;
  --text-dark: #1e293b;
  --text: #334155;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --border: #e2e8f0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 968px) {
  html {
    scroll-padding-top: 80px;
  }
}

body {
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  padding-top: 100px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  hyphens: none;
  word-break: keep-all;
}

/* Mobile: Verhindere horizontales Scrollen */
@media (max-width: 968px) {
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  main {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }
  
  * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  
  img, video, iframe {
    max-width: 100% !important;
    height: auto !important;
  }
}

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

/* Section Base */
.section {
  padding: 4rem 6vw;
  max-width: 1600px;
  width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

@media (max-width: 968px) {
  .section {
    padding: 3rem 1rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 2rem 0.75rem;
  }
  
  html {
    scroll-padding-top: 70px;
  }
  
  body {
    font-size: 0.95rem;
  }
}

