/* 
 * Intuatem - Theme: Default
 * Moderneres Farbkonzept mit harmonischem Farbschema
 */

:root {
  /* Hauptfarbschema */
  --color-primary: #39547b;        /* Tiefes, beruhigendes Blau */
  --color-primary-rgb: 57, 84, 123;
  --color-primary-light: #526d96;  
  --color-primary-dark: #2a3e5c;   
  
  --color-secondary: #daa520;      /* Warmes Bernstein/Gold für Akzente */
  --color-secondary-rgb: 218, 165, 32;
  --color-secondary-light: #f4c542; 
  --color-secondary-dark: #b7860b;  
  
  /* Neutrale Töne */
  --color-background: #ffffff;     /* Hintergrundfarbe */
  --color-text: #333333;           /* Haupttextfarbe */
  --color-text-light: #6c757d;     /* Leichtere Textfarbe für weniger wichtige Elemente */
  --color-text-muted: #8e97a1;     /* Gedämpfte Textfarbe */
  --color-border: #dee2e6;         /* Randfarbe */
  
  /* Zusätzliche Farben */
  --color-light-bg: #f8f9fa;       /* Heller Hintergrund für Sektionen */
  --color-off-white: #f7f7f7;      /* Off-White für subtile Kontraste */
  --color-light-gray: #e9ecef;     /* Hellgrau für Karten und Trennelemente */
  --color-medium-gray: #ced4da;    /* Mittelgrau für Borders und Schatten */
  
  /* Box-Schatten */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 15px 20px rgba(0, 0, 0, 0.15);
  
  /* Übergänge */
  --transition-slow: all 0.5s ease;
  --transition-normal: all 0.3s ease;
  --transition-fast: all 0.15s ease;
}

/* ===== THEME-SPEZIFISCHE STYLES ===== */

/* Grundlegende Elemente */
.theme-default body {
  background-color: var(--color-background);
  color: var(--color-text);
}

/* Header & Navigation */
.theme-default .site-header {
  background-color: var(--color-background);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.theme-default .site-title a {
  color: var(--color-primary);
  font-weight: 700;
}

.theme-default .site-menu a {
  color: var(--color-text);
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
  background-color: transparent; /* Explizit kein Hintergrund */
}

.theme-default .site-menu a:hover {
  color: var(--color-primary);
  background-color: transparent; /* Explizit kein Hintergrund beim Hover */
}

.theme-default .site-menu a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 50%; /* Zentrieren des Unterstrichs */
  background-color: var(--color-secondary); /* Gelber Unterstrich */
  transition: width 0.3s ease;
  transform: translateX(-50%); /* Zentrieren des Unterstrichs */
}

.theme-default .site-menu a:hover:after,
.theme-default .site-menu .active a:after {
  width: 70%; /* Unterstrich etwas kürzer als volle Breite */
}

/* Explizites Überschreiben der aktiven Menüpunkt-Styles aus global.css */
.theme-default .site-menu .active a {
  background-color: transparent !important;
  color: var(--color-primary);
}

/* Buttons */
.theme-default .btn {
  transition: var(--transition-fast);
}

.theme-default .btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}

.theme-default .btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
  color: var(--color-secondary-light);
}

.theme-default .btn-secondary {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: white;
}

.theme-default .btn-secondary:hover {
  background-color: var(--color-secondary-dark);
  border-color: var(--color-secondary-dark);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.theme-default .btn-outline {
  background-color: transparent;
  color: white;
  border-color: white;
}

.theme-default .btn-outline:hover {
  background-color: white;
  color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Karten */
.theme-default .card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  border: 1px solid var(--color-light-gray);
  height: 100%;
}

.theme-default .card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* Anpassung für alternierenden Hintergrund */
.theme-default .alternate-bg {
  background-color: var(--color-light-bg);
}

.theme-default .card-header {
  background-color: var(--color-primary);
  color: white;
  padding: 1rem 1.25rem;
  border-bottom: none;
}

.theme-default .card-header h2 {
  color: white; /* Speziell für h2 im card-header, überschreibt die allgemeine h2-Regel */
  font-size: 1.5rem;
}

.theme-default .card-body {
  padding: 1.25rem;
  background-color: var(--color-background);
}

.theme-default .card-footer {
  background-color: var(--color-light-bg);
  border-top: 1px solid var(--color-light-gray);
  padding: 1rem 1.25rem;
}

/* Feedback-Karten */
.theme-default .feedback-card {
  background-color: var(--color-background);
}

/* Testimonial/Feedback-Bereich */
.theme-default .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.theme-default .testimonial-card {
  background-color: var(--color-background);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.theme-default .testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.theme-default .testimonial-card:before {
  content: open-quote;
  font-size: 5rem;
  position: absolute;
  top: -20px;
  left: 20px;
  color: rgba(var(--color-primary-rgb), 0.1);
  font-family: Georgia, serif;
}

.theme-default .rating {
  margin-bottom: 0.75rem;
}

.theme-default .star {
  color: #ccc;
  font-size: 1.25rem;
  margin-right: 2px;
}

.theme-default .star.filled {
  color: var(--color-secondary);
}

.theme-default .testimonial-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.theme-default .testimonial-text {
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 0.75rem;
  flex: 1;
}

.theme-default .testimonial-author {
  font-weight: 600;
  color: var(--color-primary);
  margin-top: auto;
  padding-top: 0.75rem;
  margin-bottom: 0;
}

/* Footer-Styling */
.theme-default .site-footer {
    background-color: var(--dark);
    color: var(--color-background);
    padding-top: 3rem;
    padding-bottom: 1rem;
}

.theme-default .footer-widget h4 {
    position: relative;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    color: var(--color-background);
    font-weight: 600;
}

.theme-default .footer-widget h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--color-secondary);
}

.theme-default .footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.theme-default .footer-menu li {
    margin-bottom: 0.5rem;
}

.theme-default .footer-menu a {
    color: var(--color-light-gray);
    text-decoration: none;
    transition: var(--transition-fast);
}

.theme-default .footer-menu a:hover {
    color: var(--color-secondary);
    padding-left: 0.5rem;
}

.theme-default .copyright {
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--color-medium-gray);
}

@media screen and (max-width: 768px) {
  .theme-default .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 576px) {
  .theme-default .testimonial-text {
    font-size: 1rem;
  }
  
  .theme-default .testimonial-card:before {
    font-size: 4rem;
    top: -15px;
    left: 10px;
  }
}

/* Call to Action */
.theme-default .cta-section {
  background-color: var(--color-primary);
  padding: 4rem 0;
  text-align: center;
  color: var(--color-background);
}

.theme-default .cta-content h2 {
  color: var(--color-background);
  margin-bottom: 1rem;
}

.theme-default .cta-content p {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.theme-default .btn-cta {
  background-color: var(--color-secondary);
  color: white;
  border: 2px solid var(--color-secondary-light);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: bold;
  font-size: 1rem;
  transition: var(--transition-normal);
}

.theme-default .btn-cta:hover {
  background-color: var(--color-secondary-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Kurskarten */
.theme-default .discount-badge {
  background-color: var(--color-secondary);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  display: inline-block;
  font-weight: bold;
  font-size: 0.9rem;
}

/* Kurse-Bereich */
.theme-default .courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.theme-default .courses-grid-centered {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  justify-content: center;
}

@media (max-width: 991px) {
  .theme-default .courses-grid-centered {
    grid-template-columns: minmax(300px, 450px);
    justify-content: center;
  }
}

.theme-default .course-card {
  background-color: var(--color-background);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.theme-default .course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.theme-default .course-header {
  background-color: var(--color-primary);
  color: white;
  padding: 1rem;
  text-align: center;
}

.theme-default .course-header h3 {
  margin-bottom: 0;
  color: white;
}

.theme-default .course-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.theme-default .course-info {
  list-style: none;
  margin: 0.75rem 0;
  margin-top: auto;
  padding: 0;
}

.theme-default .course-info li {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.theme-default .info-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.theme-default .date-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2339547b' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V5h16V4H0V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5z'/%3E%3C/svg%3E");
}

.theme-default .location-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2339547b' viewBox='0 0 16 16'%3E%3Cpath d='M8 16s6-5.686 6-10A6 6 0 0 0 2 6c0 4.314 6 10 6 10zm0-7a3 3 0 1 1 0-6 3 3 0 0 1 0 6z'/%3E%3C/svg%3E");
}

.theme-default .price-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2339547b' viewBox='0 0 16 16'%3E%3Cpath d='M4 10.781c.148 1.667 1.513 2.85 3.591 3.003V15h1.043v-1.216c2.27-.179 3.678-1.438 3.678-3.3 0-1.59-.947-2.51-2.956-3.028l-.722-.187V3.467c1.122.11 1.879.714 2.07 1.616h1.47c-.166-1.6-1.54-2.748-3.54-2.875V1H7.591v1.233c-1.939.23-3.27 1.472-3.27 3.156 0 1.454.966 2.483 2.661 2.917l.61.162v4.031c-1.149-.17-1.94-.8-2.131-1.718H4zm3.391-3.836c-1.043-.263-1.6-.825-1.6-1.616 0-.944.704-1.641 1.8-1.828v3.495l-.2-.05zm1.591 1.872c1.287.323 1.852.859 1.852 1.769 0 1.097-.826 1.828-2.2 1.939V8.73l.348.086z'/%3E%3C/svg%3E");
}

.theme-default .time-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2339547b' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5a.5.5 0 0 0-1 0V9a.5.5 0 0 0 .252.434l3.5 2a.5.5 0 0 0 .496-.868L8 8.71V3.5z'/%3E%3Cpath d='M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm7-8A7 7 0 1 1 1 8a7 7 0 0 1 14 0z'/%3E%3C/svg%3E");
}

.theme-default .deadline-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2339547b' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 1A.5.5 0 0 1 7 .5h2a.5.5 0 0 1 0 1v.57c1.36.196 2.594.78 3.584 1.64a.715.715 0 0 1 .012-.013l.354-.354-.354-.353a.5.5 0 0 1 .707-.708l1.414 1.415a.5.5 0 1 1-.707.707l-.353-.354-.354.354a.512.512 0 0 1-.013.012A7 7 0 1 1 7 2.071V1.5a.5.5 0 0 1-.5-.5zM8 3a6 6 0 1 0 .001 12A6 6 0 0 0 8 3z'/%3E%3C/svg%3E");
}

.theme-default .course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-top: 1px solid var(--color-light-gray);
}

.theme-default .badge-secondary {
  background-color: var(--color-text-light);
  color: white;
  padding: 0.4rem 0.8rem;
  font-size: 0.875rem;
  border-radius: 4px;
  display: inline-block;
}

/* Sektionen */
.theme-default section {
  padding: 2.5rem 0;
}

.theme-default .content-section {
  padding: 3.5rem 0;
  margin: 0;
}

.theme-default .section-header {
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
}

.theme-default .section-divider {
  height: 3px;
  width: 60px;
  background-color: var(--color-secondary);
  margin: 0.75rem auto 1.5rem;
}

.theme-default h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--color-primary-dark);
}

.theme-default .section-description {
  max-width: 700px;
  margin: 0 auto 2rem;
  text-align: center;
  color: var(--color-text-light);
}

.theme-default .lead-text {
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.theme-default .two-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.theme-default .highlight-text {
  font-size: 1.2rem;
  color: var(--color-secondary-dark);
  font-weight: 500;
  margin-top: 1.5rem;
  text-align: center;
}

.theme-default .card-content {
  padding: 1.5rem;
}

.theme-default .intuition-section {
  background-color: var(--color-light-bg);
}

.theme-default .feedback-section {
  background-color: var(--color-background);
}

.theme-default .courses-section {
  background-color: var(--color-light-bg);
}

/* Features Grid */
.theme-default .features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.theme-default .feature-card {
  background-color: var(--color-background);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.theme-default .feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.theme-default .feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-light-bg);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.theme-default .feature-card h3 {
  margin-bottom: 0.75rem;
  color: var(--color-primary-dark);
}

/* Links */
.theme-default a {
  color: var(--color-primary);
  transition: var(--transition-fast);
}

.theme-default a:hover {
  color: var(--color-primary-dark);
  text-decoration: none;
}

/* Hero-Section-Styling für das neue Theme */
.theme-default .hero-content {
  color: var(--color-background);
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
}

.theme-default .hero-title {
  color: var(--color-background);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.theme-default .hero-subtitle {
  color: var(--color-background);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Formulare */
.theme-default input, 
.theme-default select, 
.theme-default textarea {
  border: 1px solid var(--color-medium-gray);
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  transition: var(--transition-fast);
}

.theme-default input:focus, 
.theme-default select:focus, 
.theme-default textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(var(--color-primary-rgb), 0.25);
  outline: none;
}

/* Alerts und Meldungen */
.theme-default .alert {
  border-radius: 4px;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
}

.theme-default .alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

.theme-default .alert-error,
.theme-default .alert-danger {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

.theme-default .alert-warning {
  background-color: #fff3cd;
  border-color: #ffeeba;
  color: #856404;
}

.theme-default .alert-info {
  background-color: #d1ecf1;
  border-color: #bee5eb;
  color: #0c5460;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .theme-default .two-column {
    grid-template-columns: 1fr;
  }
  
  .theme-default .lead-text {
    font-size: 1.3rem;
  }
  
  /* Anpassungen für das mobile Hamburger-Menü */
  .theme-default .site-menu a:after {
    left: 0;
    transform: none;
    width: 0;
  }
  
  .theme-default .site-menu a:hover:after,
  .theme-default .site-menu .active a:after {
    width: 100%; /* Volle Breite im mobilen Menü */
  }
}
