/* Übergangshelden Course - Modern, Responsive Design */

/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #764ba2;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #f8f9ff;
}

/* Main Content */
main {
    background: white;
    margin: 2rem 0;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Module Grid */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    padding: 3rem;
}

.module-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.module-number {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.module-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.module-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.module-link {
    display: inline-block;
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid #667eea;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.module-link:hover {
    background: #667eea;
    color: white;
    transform: translateX(5px);
}

/* Content Pages */
.content-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    line-height: 1.8;
}

.content-page h1 {
    color: #333;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    text-align: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-page h2 {
    color: #667eea;
    margin: 2rem 0 1rem 0;
    font-size: 1.8rem;
    border-bottom: 2px solid #e8ecff;
    padding-bottom: 0.5rem;
}

.content-page h3 {
    color: #764ba2;
    margin: 1.5rem 0 1rem 0;
    font-size: 1.4rem;
}

.content-page p {
    margin-bottom: 1.5rem;
    color: #444;
}

.content-page ul, .content-page ol {
    margin: 1rem 0 1.5rem 2rem;
    color: #444;
}

.content-page li {
    margin-bottom: 0.5rem;
}

.content-page strong {
    color: #667eea;
    font-weight: 600;
}

.content-page em {
    color: #764ba2;
    font-style: italic;
}

/* Back Navigation */
.back-nav {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid #e8ecff;
}

.back-link {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    border-radius: 20px 20px 0 0;
}

.footer-content {
    color: #666;
}

.footer-content a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.footer-content a:hover {
    color: #764ba2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
        padding: 2rem;
    }
    
    .content-page {
        padding: 2rem 1rem;
    }
    
    .content-page h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .modules-grid {
        padding: 1.5rem;
    }
    
    .module-card {
        padding: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.6s ease forwards;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}



/* Testimonials Slider */
.testimonial-slider {
    display: flex;
    overflow-x: auto; /* Enable horizontal scrolling */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-top: 2rem;
    padding-bottom: 1rem; /* Space for scrollbar */
}

.testimonial-slide {
    flex: 0 0 100%; /* Each slide takes full width */
    scroll-snap-align: start;
    background: #fff;
    border-radius: 10px;
    padding: 2rem;
    margin: 0 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    min-width: 300px; /* Minimum width for smaller screens */
}

.testimonial-slide .stars {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-slide p {
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
}

.testimonial-slide .author {
    font-weight: bold;
    color: #333;
}

/* Hide scrollbar for a cleaner look */
.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-slider {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Navigation dots */
.slider-dots {
    text-align: center;
    margin-top: 1.5rem;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
    cursor: pointer;
}

.dot.active {
    background-color: #717171;
}




/* Gender selection cards */
.gender-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.gender-card .cta-button:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

/* Comparison section */
.comparison-grid {
    margin-bottom: 2rem;
}

.comparison-column ul li {
    font-size: 0.95rem;
    color: #555;
}

.comparison-column h4 {
    font-weight: bold;
}

/* Responsive design for gender cards */
@media (max-width: 768px) {
    .gender-selection {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .gender-card {
        padding: 1.5rem !important;
    }
    
    .gender-icon {
        font-size: 2.5rem !important;
    }
}

/* Visual enhancements for better UX */
.vater-rolle {
    border-left: 4px solid #4f46e5;
}

.comparison-section {
    position: relative;
    overflow: hidden;
}

.comparison-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.05) 0%, transparent 70%);
    pointer-events: none;
}



/* Course Section Styling */
.course-section {
    padding: 3rem 0;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.course-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.course-short-text {
    font-size: 1.1rem;
    color: #555;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    line-height: 1.7;
}

.course-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 2rem;
}

.course-details-grid.reverse-grid {
    grid-template-columns: 1fr 1fr;
}

.course-bullets ul {
    list-style: none;
    padding: 0;
}

.course-bullets li {
    background: #fff;
    padding: 1rem 1.5rem;
    margin-bottom: 0.8rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    font-size: 1rem;
    color: #444;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: transform 0.2s ease;
}

.course-bullets li:hover {
    transform: translateX(5px);
}

.course-bullets li::before {
    content: 
}

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

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .course-details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .course-details-grid.reverse-grid {
        grid-template-columns: 1fr;
    }
    .course-image {
        order: -1; /* Image comes first on mobile for reverse grid */
    }
    .course-section h2 {
        font-size: 1.8rem;
    }
    .course-short-text {
        font-size: 1rem;
    }
    .course-bullets li {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}



/* Course Section Styles */
.course-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.course-short-text {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    line-height: 1.7;
}

.course-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 2rem 0;
}

.course-details-grid.reverse-grid {
    grid-template-columns: 1fr 1fr;
}

.course-bullets ul {
    list-style: none;
    padding: 0;
}

.course-bullets li {
    padding: 0.8rem 0;
    font-size: 1.1rem;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.course-bullets li:hover {
    background: #f8f9ff;
    padding-left: 1rem;
    border-radius: 8px;
}

.course-bullets li:last-child {
    border-bottom: none;
}

.course-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.course-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.course-image img:hover {
    transform: scale(1.05);
}

.mt-2 {
    margin-top: 2rem;
}

/* Gender Selection Cards */
.gender-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.gender-card {
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    color: white;
}

.gender-card:hover {
    transform: translateY(-5px);
}

.gender-card .gender-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.gender-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.gender-card p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.gender-card .price {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.boy-card {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

.girl-card {
    background: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
}

/* Comparison Section */
.comparison-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8ecff 100%);
    padding: 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.comparison-column ul {
    list-style: none;
    padding: 0;
}

.comparison-column li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.comparison-column li:last-child {
    border-bottom: none;
}

.vater-rolle {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

/* Testimonials */
.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-slide {
    display: none;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    margin: 1rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-slide:first-child {
    display: block;
}

.stars {
    font-size: 1.5rem;
    color: #ffd700;
    margin-bottom: 1rem;
}

.testimonial-slide p {
    font-size: 1.1rem;
    color: #444;
    font-style: italic;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.author {
    font-weight: bold;
    color: #667eea;
}

/* Responsive Design for Course Sections */
@media (max-width: 768px) {
    .course-details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .course-details-grid.reverse-grid {
        grid-template-columns: 1fr;
    }
    
    .course-details-grid.reverse-grid .course-image {
        order: -1;
    }
    
    .gender-selection {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .course-section {
        padding: 2rem 1rem;
    }
}

