/* Basic Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

.logo a:hover {
    opacity: 0.8; 
    cursor: pointer;
}

/* Navigation */

/* Lux Schlange*/
.wavy-nav-text {
    display: flex;
    font-size: 2.3rem; /* Hier haben wir die Schrift größer gemacht (vorher 1.5rem) */
    font-weight: bold;
    letter-spacing: 3px; /* Den Abstand zwischen den Buchstaben auch leicht erhöht für die Optik */
}

.wavy-nav-text span {
    position: relative;
    display: inline-block;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    
    /* Der vertikale Farbverlauf (Rot -> Weiß -> Hellblau) */
    background: linear-gradient(to bottom, #EA1432 0%, #FFFFFF 50%, #00A3E0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    
    filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 0.2));
    
    animation: 
        fadeInLetter 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards, 
        waveEffect 1.2s ease-in-out infinite;
    
    animation-delay: calc(0.2s * var(--i)), calc(1.2s + (0.2s * var(--i)));
}

/* 1. Animation fürs Reinkommen */
@keyframes fadeInLetter {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 2. Die Schwing-Animation */
@keyframes waveEffect {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1);
    }
}


/*Ende der Lux Schlange*/
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: #fff;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo span {
    color: #ff69b4; /* Matching the pink theme */
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
    font-weight: 500;
    opacity: 0.8;
}

/*.nav-links a:hover {
    color: var(--accent);
}*/

/* Hero Section */
.hero {
    background: pink;
    height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #333; /* Darker text for better contrast on pink */
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    background: #333; 
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn:hover {
    opacity: 0.8;
    background:pink;
}


.section-title {
    text-align: center;
    margin: 50px 0;
    font-size: 2rem;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    padding: 0 10%;
    margin-bottom: 50px;
}

.course-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

.course-card:hover {
    transform: translateY(-10px);
}

.course-icon {
    font-size: 3rem;
    font-weight: bold;
    color: #ff69b4;
    margin-bottom: 15px;
}

.price {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: #ff69b4;
}

/* Footer & Contact */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 50px 10%;
}

footer form {
    margin-top: 20px;
}

footer input {
    padding: 12px;
    width: 250px;
    border-radius: 5px;
    border: none;
    margin-right: 10px;
}

/* About Page Specific Styles */
.about-container {
    padding: 50px 10%;
    max-width: 1200px;
    margin: 0 auto;
}

.about-hero {
    text-align: center;
    margin-bottom: 50px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.about-image {
    flex: 1;
    background: #f0f0f0;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 8rem;
    border-radius: 10px;
}

/* --- CSS für das Foto auf der About-Seite --- */


.about-image img {
   
    max-width: 100%;    
    height: auto;         
    border-radius: 15px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); 
    display: block;
}
/* End of --- CSS für das Foto auf der About-Seite --- */



.about-text {
    flex: 2;
}

.about-text h2 {
    margin-bottom: 20px;
    color: #ff69b4;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-text ul {
    list-style: none;
    margin-bottom: 30px;
}

.about-text ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.about-text ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ff69b4;
    font-weight: bold;
}

/* Responsive fix for About Page */
@media (max-width: 768px) {
    .about-content {
        flex-direction: column;
    }
}

/* End of About Page Specific Styles  */

/* Contact Page Layout */
.contact-page {
    padding: 60px 10%;
    background-color: #f9f9f9;
}

.contact-header {
    text-align: center;
    margin-bottom: 40px;
}

.contact-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Sidebar Info */
.contact-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-item h3 {
    color: #ff69b4;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

/* Form Styling */
.contact-form-container {
    flex: 2;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input, 
.form-group select, 
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.main-contact-form .btn {
    width: 100%;
    font-size: 1.1rem;
    background-color: #ff69b4; /* Consistent with your branding */
}

/* Mobile Fix */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }
}

/* End of Contact Page Layout */

/* --- BACK TO TOP BUTTON --- */

#back-to-top {
    display: none; /* Standardmäßig unsichtbar */
    position: fixed;
    bottom: 30px; 
    right: 30px; 
    z-index: 99; 
    
    background-color: #ff69b4;
    color: white;
    border: none;
    outline: none;
    cursor: pointer;
    
    /* Zentrierung vorbereiten */
    justify-content: center; 
    align-items: center;     
    
    border-radius: 50%; 
    width: 60px;  
    height: 60px;
    font-size: 30px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: background-color 0.3s, transform 0.3s;
}

#back-to-top:hover {
    background-color: #333;
    transform: scale(1.1);
}

/* Für Mobilgeräte etwas kleiner machen */
@media (max-width: 600px) {
    #back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 16px;
    }
}





/* Ai Bot */
#chat-circle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #ff69b4;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 1000;
}

#chat-box {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 300px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 1000;
    overflow: hidden;
    font-family: Arial, sans-serif;
}

#chat-header {
    background: #ff69b4;
    color: white;
    padding: 15px;
}

#chat-content {
    padding: 15px;
}

.chat-options button {
    display: block;
    width: 100%;
    margin-bottom: 8px;
    padding: 8px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.chat-options button:hover {
    background: #ff69b4;
    color: white;
}

#bot-response {
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #eee;
    font-weight: bold;
    color: #333;
}
/* ende Ai Bot */