/**
 * MAIN.CSS
 * Basis-Styles, CSS-Variablen, Reset
 * Zentrale Farbverwaltung und globale Styles
 */

/* ============================================
   CSS VARIABLES (einfach anzupassen!)
   ============================================ */
:root {
  /* Farben */
  --color-primary: #7DC4E8;
  --color-primary-dark: #6DB5E4;
  --color-primary-light: #94D0EB;
  --color-accent: #00D9C0;
  --color-accent-dark: #00BFA5;
  --color-accent-light: #1FFFE5;
  --color-navy: #17213B;
  --color-navy-light: #26314E;
  --color-navy-dark: #0A1525;
  
  /* Graustufen */
  --color-gray-100: #F5F5F5;
  --color-gray-400: #4A4A4A;
  --color-gray-500: #333333;
  --color-white: #FFFFFF;
  
  /* Schriften */
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --spacing-xs: 0.5rem;    /* 8px */
  --spacing-sm: 1rem;      /* 16px */
  --spacing-md: 1.5rem;    /* 24px */
  --spacing-lg: 2rem;      /* 32px */
  --spacing-xl: 3rem;      /* 48px */
  --spacing-2xl: 4rem;     /* 64px */
  --spacing-3xl: 6rem;     /* 96px */
  
  /* Container */
  --container-max-width: 1280px;
  --container-padding: 1rem;
  
  /* Border Radius */
  --radius-sm: 0.5rem;     /* 8px */
  --radius-md: 0.75rem;    /* 12px */
  --radius-lg: 1rem;       /* 16px */
  --radius-xl: 1.5rem;     /* 24px */
  --radius-full: 9999px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-gray-500);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-base);
}

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

ul, ol {
  list-style: none;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

@media (min-width: 768px) {
  .container {
    padding: 0 2rem;
  }
}

.section {
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 2rem;
  }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

.section-description {
  color: var(--color-gray-500);
  max-width: 42rem;
  margin: 0 auto;
  margin-top: 1rem;
}

/* Icons */
.icon {
  width: 1.25rem;
  height: 1.25rem;
}

.icon-small {
  width: 1rem;
  height: 1rem;
}

.icon-placeholder {
  width: 6rem;
  height: 6rem;
  color: rgba(125, 196, 232, 0.2);
}

/* Buttons */
.btn-gradient {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-white);
  background: linear-gradient(to right, var(--color-accent), var(--color-accent-dark));
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.btn-gradient:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 217, 192, 0.3);
}

.btn-gradient:active {
  transform: scale(0.95);
}

.btn-primary-large {
  width: 100%;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--color-white);
  background-color: var(--color-primary);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
}

.btn-primary-large:hover {
  background-color: var(--color-primary-dark);
  box-shadow: var(--shadow-lg);
  transform: scale(1.05);
}

.btn-primary-large:active {
  transform: scale(0.95);
}

/* Glow Effects */
.section-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
  z-index: 0;
}

.section-glow-right {
  top: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background-color: rgba(0, 217, 192, 0.1);
  transform: translate(50%, -50%);
}

.section-glow-left {
  bottom: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background-color: rgba(125, 196, 232, 0.05);
  transform: translate(-50%, 50%);
}

.section-glow-left-center {
  top: 33.33%;
  left: 0;
  width: 500px;
  height: 500px;
  background-color: rgba(125, 196, 232, 0.1);
  transform: translateX(-50%);
}

/* Responsive Utilities */
@media (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
}

@media (min-width: 768px) {
  .hide-desktop {
    display: none !important;
  }
}

/* Smooth Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
