/* 🚀 Moderne Base Styles - 2025 Design System */
:root {
  /* Farb-Palette */
  --primary-blue: #007acc;
  --primary-blue-dark: #0056b3;
  --primary-blue-light: #4a9eff;
  --accent-color: #00d4aa;
  --success: #28a745;
  --warning: #ffc107;
  --error: #dc3545;
  --info: #17a2b8;
  
  /* Neutrale Farben */
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #e9ecef;
  --gray-200: #dee2e6;
  --gray-300: #ced4da;
  --gray-400: #adb5bd;
  --gray-500: #6c757d;
  --gray-600: #495057;
  --gray-700: #343a40;
  --gray-800: #212529;
  --gray-900: #1a1a1a;
  
  /* Spacing System */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  
  /* Typography */
  --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
  
  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-base: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Z-Index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1040;
  --z-popover: 1050;
  --z-tooltip: 1060;
  --z-top: 9999;
}
/* Globale Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

body {
  font-family: var(--font-family-primary);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--gray-800);
  background: linear-gradient(135deg, #f6faff 0%, #ffffff 50%, #f0f7ff 100%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
  overflow-x: hidden;
}

/* Container System */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--space-lg);
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--gray-900);
  letter-spacing: -0.025em;
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
  margin-bottom: var(--space-md);
  color: var(--gray-600);
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: all var(--transition-base);
}

a:hover {
  color: var(--primary-blue-dark);
  text-decoration: none;
}

/* Fokus-Styles für Accessibility */
*:focus {
  outline: 2px solid var(--primary-blue);
  outline-offset: 2px;
}

*:focus:not(:focus-visible) {
  outline: none;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gray-400);
}
    .ueber-list {
      list-style: disc;
      margin: 0 0 1em 0;
      padding-left: 2em;
      max-width: 420px;
    }
    .ueber-list li {
      margin-bottom: 0.3em;
    }
    .ueber-list li {
      margin-bottom: 0.3em;
      text-indent: 0;
      padding-left: 0;
      display: list-item;
    }
/* Moderne Button System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  user-select: none;
  white-space: nowrap;
}

/* Button Variants */
.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-base);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-blue-dark) 0%, #003d82 100%);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary-blue);
  border-color: var(--primary-blue);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--primary-blue);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--primary-blue);
  border-color: var(--primary-blue);
}

.btn-outline:hover {
  background: var(--primary-blue);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--primary-blue);
  border-color: transparent;
}

.btn-ghost:hover {
  background: var(--gray-50);
}

/* Button Sizes */
.btn-sm {
  padding: var(--space-xs) var(--space-md);
  font-size: var(--text-sm);
}

.btn-lg {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--text-lg);
}

/* Button States */
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

/* Legacy Button Support */
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-lg);
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  user-select: none;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
  color: var(--white);
  box-shadow: var(--shadow-base);
}

button:hover {
  background: linear-gradient(135deg, var(--primary-blue-dark) 0%, #003d82 100%);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
/* Moderne Form Elements */
.form-input,
.form-textarea,
.form-select,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
textarea,
select {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  margin-bottom: var(--space-md);
  font-family: inherit;
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--gray-800);
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus,
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 122, 204, 0.1);
  transform: translateY(-1px);
}

.form-input:disabled,
input:disabled,
textarea:disabled {
  background: var(--gray-50);
  color: var(--gray-400);
  cursor: not-allowed;
}

/* Form Error States */
.form-input.error,
input.error,
textarea.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-input.success,
input.success,
textarea.success {
  border-color: var(--success);
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}
form {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #ccc;
  max-width: 600px;
  width: 100%;
  margin: 2rem auto;
  box-sizing: border-box;
  display: block;
}
.active {
  font-weight: bold;
}
.status-text {
  font-weight: bold;
  margin-top: 1rem;
  min-height: 1.5rem;
}
.status-text.green { color: green; }
.status-text.red { color: red; }
.page-title {
  text-align: center;
  margin-top: 2rem;
  font-size: 2rem;
  color: #005f99;
}
.form-group label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: bold;
}
.form-group input {
  margin-bottom: 1rem;
  border-radius: 6px;
}
.center-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 80vh;
  width: 100%;
  margin-top: 3.5rem;
}
#passwordStrength {
  width: 100%;
  height: 8px;
  background: #eee;
  border-radius: 5px;
  margin: 0.5em 0 0.2em 0;
  overflow: hidden;
}
#passwordStrength > div {
  height: 100%;
  width: 0%;
  background: #ff4d4d;
  border-radius: 5px;
  transition: width 0.2s, background 0.2s;
}

/* Cookie Consent Banner Styling */
.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  background: #222;
  color: #fff;
  padding: 18px 32px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  z-index: 9999;
  font-size: 1rem;
  max-width: 90vw;
}
.cookie-consent .cookie-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cookie-consent button {
  background: #28a745;
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

/* Mobile-freundlicher Cookie Banner */
@media (max-width: 768px) {
  .cookie-consent {
    left: 20px;
    right: 20px;
    bottom: 20px;
    transform: none;
    max-width: none;
    padding: 16px 20px;
    font-size: 0.9rem;
  }
  
  .cookie-consent .cookie-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    text-align: center;
  }
  
  .cookie-consent .cookie-inner span {
    line-height: 1.5;
    margin-bottom: 8px;
  }
  
  .cookie-consent button {
    padding: 12px 16px;
    font-size: 0.9rem;
    width: 100%;
    margin-bottom: 8px;
  }
  
  .cookie-consent button:last-child {
    margin-bottom: 0;
    background: #6c757d;
  }
}

@media (max-width: 480px) {
  .cookie-consent {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 14px 16px;
    font-size: 0.85rem;
  }
  
  .cookie-consent .cookie-inner span {
    font-size: 0.85rem;
  }
  
  .cookie-consent button {
    padding: 10px 14px;
    font-size: 0.85rem;
  }
}

/* Utility Classes für inline Style Ersetzung */
.auth-main {
  padding-top: 40px;
}

.auth-title {
  margin-top: 0;
}

.main-90px {
  padding-top: 90px;
  min-height: calc(100vh - 160px);
}

.main-40px {
  padding-top: 40px;
  min-height: calc(100vh - 160px);
}

.main-auth {
  padding-top: 90px;
  min-height: calc(100vh - 160px);
}

.gtm-noscript {
  display: none !important;
  visibility: hidden !important;
}

.cookie-consent {
  display: none;
}

.cookie-decline-btn {
  margin-left: 8px;
}
