:root {
    --primary-color: #f4e4bc;
    --secondary-color: #d4a574;
    --accent-color: #8b5a3c;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --background: #fffef9;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', serif;
    background-color: var(--background);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.site-title {
    font-family: 'Brush Script MT', cursive;
    font-size: 2.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: normal;
}

.contact-btn {
    background: var(--secondary-color);
    color: var(--white);
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Main Content */
.main-content {
    margin-top: 100px; /* Standard-Abstand für Desktop */
    padding: 2rem 0;
}

.hero-section {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--background));
    border-radius: 20px;
    margin-bottom: 3rem;
}

.hero-title {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-family: 'Brush Script MT', cursive;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.section {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.section h2 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.music-icon {
    width: 30px;
    height: 30px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.profile-image,
.activity-image,
.teaching-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    margin: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.image-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    align-items: start;
}

.grid-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Footer */
.footer {
    background: var(--accent-color);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
    margin-top: 3rem;
}

.social-links {
    margin: 1rem 0;
}

.instagram-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.instagram-icon {
    width: 32px;
    height: 32px;
    fill: white;
}

.instagram-link:hover {
    transform: scale(1.1);
}

.footer-links {
    margin: 1rem 0;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

/* Contact Page */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.submit-btn {
    background: var(--secondary-color);
    color: var(--white);
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

/* Impressum Page */
.impressum-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.impressum-content h3 {
    color: var(--accent-color);
    margin: 2rem 0 1rem 0;
}

.impressum-content p {
    margin-bottom: 1rem;
}

/* Success Message */
.success-message {
    display: none;
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    text-align: center;
}

.success-message.show {
    display: block;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 0; /* Mehr Padding für bessere Abstände */
        min-height: 120px; /* Mindesthöhe für den Header */
    }

    .site-title {
        font-size: 2rem;
        order: -1;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* WICHTIG: Angepasster Abstand für mobile Geräte */
    .main-content {
        margin-top: 180px; /* Größerer Abstand für mobile Header-Höhe */
    }

    .section {
        padding: 1.5rem;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .header-content {
        min-height: 130px; /* Noch etwas mehr Platz für sehr kleine Geräte */
        padding: 1rem 0;
    }

    .hero-section {
        padding: 2rem 1rem;
    }

    .section {
        padding: 1rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    /* Noch mehr Abstand für sehr kleine Bildschirme */
    .main-content {
        margin-top: 200px;
    }
}

/* Zusätzlicher Breakpoint für sehr kleine Geräte */
@media (max-width: 360px) {
    .header-content {
        min-height: 140px;
    }
    
    .main-content {
        margin-top: 180px;
    }
    
    .site-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
}