/**
 * TT-Effektiv Main Stylesheet
 * 
 * Importiert alle CSS-Module in der korrekten Reihenfolge.
 * Diese Datei wird als einzige CSS-Datei in HTML eingebunden.
 */

/* ===========================================
   1. FOUNDATION
   =========================================== */
@import 'variables.css';
@import 'base.css';
@import 'layout.css';

/* ===========================================
   2. COMPONENTS
   =========================================== */
@import 'components/buttons.css';
@import 'components/cards.css';
@import 'components/forms.css';
@import 'components/navigation.css';
@import 'components/widgets.css';
@import 'components/alerts.css';
@import 'components/hero.css';
@import 'components/players.css';

/* ===========================================
   3. PAGE-SPECIFIC STYLES
   =========================================== */
@import 'pages/dark-theme.css';
@import 'pages/geo.css';
@import 'pages/classifieds.css';
@import 'pages/video-analysis.css';
@import 'pages/training-path.css';
@import 'pages/settings.css';
@import 'pages/community.css';
@import 'pages/auth.css';
@import 'pages/profile.css';
@import 'pages/home.css';
@import 'pages/legal.css';


/* ===========================================
   4. UTILITIES (überschreiben alles andere)
   =========================================== */

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.fade-in {
  animation: fadeInUp 0.6s forwards;
}

.fade-in.delay-1 { animation-delay: 0.15s; }
.fade-in.delay-2 { animation-delay: 0.3s; }
.fade-in.delay-3 { animation-delay: 0.45s; }

/* ===========================================
   5. LEGACY FORM SUPPORT
   preform class aus style.css
   =========================================== */
.preform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.preform input[type="text"],
.preform input[type="email"],
.preform input[type="password"],
.preform input[type="number"],
.preform select {
  padding: 10px 12px;
  border-radius: 6px;
  border: none;
  font-size: 0.95rem;
  width: 100%;
  max-width: 380px;
}

.preform-note {
  margin-top: 10px;
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Multi-Select höher */
.ziele-select {
  min-height: 110px;
}

.ziele-hinweis {
  font-size: 0.8rem;
  opacity: 0.9;
  max-width: 380px;
  text-align: left;
}

/* AGB-Zeile */
.agb-row {
  flex-basis: 100%;
  max-width: 380px;
  font-size: 0.85rem;
  text-align: left;
}

.agb-row a {
  color: inherit;
  text-decoration: underline;
}

/* Button über gesamte Breite */
.btn-full {
  width: 100%;
  max-width: 380px;
}

/* ===========================================
   6. INFO BOX
   =========================================== */
.info-box {
  margin-top: 2rem;
  padding: 18px 18px 16px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(30, 35, 48, 0.95) 0%, rgba(22, 26, 36, 0.95) 100%);
  border-left: 4px solid var(--color-accent);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.info-box h4 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
  color: #ffffff;
}

.info-box p {
  margin: 0 0 0.6rem;
}

.info-box ul {
  margin: 0.4rem 0 0.6rem 1.2rem;
  padding: 0;
}

.info-box .btn {
  margin-top: 0.5rem;
}

/* Info-box auf hellem Hintergrund */
body:not(.page-dark):not(.dashboard-widgets) .section:not(.section--primary):not(.section--dark) .info-box {
  background: #ffffff;
  color: var(--color-text);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

body:not(.page-dark):not(.dashboard-widgets) .section:not(.section--primary):not(.section--dark) .info-box h4 {
  color: var(--color-primary);
}

/* ===========================================
   7. PRINT STYLES
   =========================================== */
@media print {
  .header,
  .footer,
  .nav,
  .btn,
  .burger {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .section {
    padding: 1rem 0;
  }
}
