/* ========================================
   MUSIKUNTERRICHT KOLORIT - MAIN STYLES
   ======================================== */

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

/* CSS Variables */
:root {
    --rot: #FF4757;
    --orange: #FF8C00;
    --gelb: #FFD700;
    --gruen: #32CD32;
    --blau: #1E90FF;
    --lila: #9370DB;
    --marine: #0F172A;
    --marine-light: #1E293B;
    
    /* Glassmorphism Variables */
    --glass-bg: rgba(255, 255, 255, 0.15);
    --glass-bg-hover: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.25);
    --glass-border-hover: rgba(255, 255, 255, 0.4);
    --glass-blur: blur(20px) saturate(180%);
    --glass-blur-strong: blur(25px) saturate(200%);
    --text-primary: rgba(15, 23, 42, 0.9);
    --text-secondary: rgba(15, 23, 42, 0.7);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.12);
    --glass-shadow-hover: 0 12px 40px rgba(31, 38, 135, 0.18);
}

/* Body & Background */
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--marine);
    overflow-x: hidden;
    position: relative;
    background: 
        linear-gradient(47deg, #FF6B9D, #FFAB47, #FFE066, #66D9EF, #6BC5FF, #A569BD, #FF69B4, #FF6B9D),
        linear-gradient(137deg, #4FACFE 0%, #00F2FE 20%, #FDBB2D 40%, #EE5A24 60%, #C44569 80%, #4FACFE 100%),
        linear-gradient(227deg, #667eea 0%, #764ba2 15%, #f093fb 30%, #f5576c 45%, #4facfe 60%, #667eea 75%, #764ba2 90%, #f093fb 100%);
    background-size: 400% 400%, 350% 350%, 450% 450%;
    background-blend-mode: multiply, screen, overlay;
    animation: 
        kolorit-rainbow 25s ease infinite,
        gradientShift 30s ease-in-out infinite;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 13% 27%, rgba(255, 107, 157, 0.3) 0%, transparent 60%),
        radial-gradient(ellipse at 87% 73%, rgba(102, 217, 239, 0.28) 0%, transparent 65%),
        radial-gradient(ellipse at 67% 15%, rgba(255, 171, 71, 0.32) 0%, transparent 58%),
        radial-gradient(ellipse at 23% 85%, rgba(107, 197, 255, 0.29) 0%, transparent 62%),
        radial-gradient(ellipse at 93% 31%, rgba(165, 105, 189, 0.31) 0%, transparent 59%),
        radial-gradient(ellipse at 31% 67%, rgba(255, 105, 180, 0.27) 0%, transparent 61%),
        radial-gradient(ellipse at 71% 89%, rgba(79, 172, 254, 0.30) 0%, transparent 64%),
        radial-gradient(ellipse at 45% 12%, rgba(255, 224, 102, 0.26) 0%, transparent 63%);
    animation: colorBubbles 45s ease-in-out infinite;
    pointer-events: none;
    z-index: -2;
    filter: blur(12px);
    transform: scale(1.5);
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 8% 92%, #FFE066 2.0px, transparent 2.0px),
        radial-gradient(circle at 34% 56%, #66D9EF 1.5px, transparent 1.5px),
        radial-gradient(circle at 73% 28%, #FF6B9D 2.2px, transparent 2.2px),
        radial-gradient(circle at 91% 84%, #6BC5FF 1.2px, transparent 1.2px),
        radial-gradient(circle at 52% 7%, #A569BD 1.8px, transparent 1.8px),
        radial-gradient(circle at 19% 41%, #FF69B4 1.6px, transparent 1.6px),
        radial-gradient(circle at 86% 63%, #4FACFE 1.3px, transparent 1.3px);
    background-size: 280px 290px, 240px 260px, 300px 270px, 320px 300px, 250px 280px, 290px 240px, 260px 300px;
    opacity: 0.2;
    animation: sparkleMove 50s linear infinite;
    pointer-events: none;
    z-index: -1;
    filter: blur(4px);
    transform: scale(1.8);
}

/* Animations */
@keyframes kolorit-rainbow {
    0%, 100% { 
        background-position: 0% 50%, 0% 50%, 0% 50%; 
    }
    25% { 
        background-position: 100% 25%, 25% 100%, 75% 25%; 
    }
    50% { 
        background-position: 50% 100%, 100% 50%, 25% 100%; 
    }
    75% { 
        background-position: 25% 75%, 75% 25%, 100% 75%; 
    }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%, 0% 50%, 0% 50%; }
    33% { background-position: 80% 20%, 20% 80%, 60% 40%; }
    66% { background-position: 40% 90%, 90% 30%, 30% 70%; }
}

@keyframes colorBubbles {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-70px) translateX(50px) scale(1.2) rotate(90deg);
        opacity: 0.4;
    }
    50% {
        transform: translateY(20px) translateX(-40px) scale(0.8) rotate(180deg);
        opacity: 0.7;
    }
    75% {
        transform: translateY(55px) translateX(35px) scale(1.1) rotate(270deg);
        opacity: 0.5;
    }
}

@keyframes sparkleMove {
    0% { transform: translateX(0px) translateY(0px) rotate(0deg) scale(1.8); }
    20% { transform: translateX(80px) translateY(-60px) rotate(72deg) scale(1.8); }
    40% { transform: translateX(-35px) translateY(85px) rotate(144deg) scale(1.8); }
    60% { transform: translateX(60px) translateY(-25px) rotate(216deg) scale(1.8); }
    80% { transform: translateX(-45px) translateY(45px) rotate(288deg) scale(1.8); }
    100% { transform: translateX(0px) translateY(0px) rotate(360deg) scale(1.8); }
}

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

@keyframes float3D {
    0%, 100% { 
        transform: translateY(0px) scale(1);
    }
    50% { 
        transform: translateY(-20px) scale(1.05);
    }
}

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

@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateY(100vh) rotate(0deg);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) rotate(360deg);
    }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: var(--glass-blur);
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: var(--glass-shadow);
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--rot), var(--orange), var(--gelb), var(--gruen), var(--blau), var(--lila));
    background-size: 200% 200%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05) rotate(-2deg);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
    backdrop-filter: var(--glass-blur);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.nav-links a:hover {
    background: var(--glass-bg-hover);
    transform: translateY(-2px);
    box-shadow: var(--glass-shadow-hover);
    border-color: var(--glass-border-hover);
    color: var(--text-primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero Section - Mobile Header Fix */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 0 2rem;
    /* Mobile Header Fix */
    padding-top: 120px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 71, 87, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 144, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(50, 205, 50, 0.3) 0%, transparent 50%);
    animation: float 8s ease-in-out infinite;
}

.floating-notes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    opacity: 0;
    animation: showNotes 0.5s ease 2s forwards;
}

.note {
    position: absolute;
    font-size: 2rem;
    font-weight: bold;
    opacity: 0;
    animation: floatUp 15s linear infinite;
}

@keyframes showNotes {
    from { opacity: 0; }
    to { opacity: 1; }
}

.note:nth-child(1) { color: #E91E63; text-shadow: 0 0 25px rgba(233, 30, 99, 0.8); }
.note:nth-child(2) { color: #FF9800; text-shadow: 0 0 25px rgba(255, 152, 0, 0.8); }
.note:nth-child(3) { color: #FFC107; text-shadow: 0 0 25px rgba(255, 193, 7, 0.8); }
.note:nth-child(4) { color: #4CAF50; text-shadow: 0 0 25px rgba(76, 175, 80, 0.8); }
.note:nth-child(5) { color: #2196F3; text-shadow: 0 0 25px rgba(33, 150, 243, 0.8); }
.note:nth-child(6) { color: #9C27B0; text-shadow: 0 0 25px rgba(156, 39, 176, 0.8); }
.note:nth-child(7) { color: #E91E63; text-shadow: 0 0 25px rgba(233, 30, 99, 0.8); }
.note:nth-child(8) { color: #00BCD4; text-shadow: 0 0 25px rgba(0, 188, 212, 0.8); }
.note:nth-child(9) { color: #673AB7; text-shadow: 0 0 25px rgba(103, 58, 183, 0.8); }
.note:nth-child(10) { color: #FF5722; text-shadow: 0 0 25px rgba(255, 87, 34, 0.8); }
.note:nth-child(11) { color: #3F51B5; text-shadow: 0 0 25px rgba(63, 81, 181, 0.8); }
.note:nth-child(12) { color: #8BC34A; text-shadow: 0 0 25px rgba(139, 195, 74, 0.8); }
.note:nth-child(13) { color: #FF9800; text-shadow: 0 0 25px rgba(255, 152, 0, 0.8); }
.note:nth-child(14) { color: #607D8B; text-shadow: 0 0 25px rgba(96, 125, 139, 0.8); }

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(15, 23, 42, 0.2);
}

.hero-text .subtitle {
    font-size: 1.4rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float3D 6s ease-in-out infinite;
}

.logo-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 35px rgba(255,255,255,0.2));
}

/* CTA Button */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-strong);
    color: var(--text-primary);
    padding: 20px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid var(--glass-border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: var(--glass-shadow);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--glass-shadow-hover);
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    color: var(--text-primary);
}

/* Contact Buttons - Erweitert */
.contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
    padding: 10px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.telegram-btn {
    background: linear-gradient(135deg, #0088CC, #0066AA);
    box-shadow: 0 2px 8px rgba(0, 136, 204, 0.3);
}

.email-btn {
    background: linear-gradient(135deg, #EA4335, #C5221F);
    box-shadow: 0 2px 8px rgba(234, 67, 53, 0.3);
}

.facebook-btn {
    background: linear-gradient(135deg, #1877F2, #42A5F5);
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.3);
}

.instagram-btn {
    background: linear-gradient(135deg, #E4405F, #FCAF45, #833AB4);
    box-shadow: 0 2px 8px rgba(228, 64, 95, 0.3);
}

.ok-btn {
    background: linear-gradient(135deg, #ED812B, #F39C12);
    box-shadow: 0 2px 8px rgba(237, 129, 43, 0.3);
}

.maps-btn {
    background: linear-gradient(135deg, #34C759, #30A14E);
    box-shadow: 0 2px 8px rgba(52, 199, 89, 0.3);
    font-size: 0.8rem;
    padding: 8px 12px;
}

.apple-maps-btn {
    background: linear-gradient(135deg, #007AFF, #0051D9);
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.3);
    font-size: 0.8rem;
    padding: 8px 12px;
}

/* Glass Container */
.glass-container {
    max-width: 1400px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-strong);
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    padding: 4rem;
    box-shadow: var(--glass-shadow);
}

/* Teacher Section - Mobile Header Fix */
.teacher-section {
    padding: 100px 2rem;
    position: relative;
    /* Mobile Header Fix */
    scroll-margin-top: 100px;
}

.teacher-content {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: center;
}

.teacher-image {
    position: relative;
}

.image-container {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-10deg);
    transition: all 0.4s ease;
    /* Korrigierte Aspect Ratio für 4:5 Bild (Hochformat) */
    aspect-ratio: 4/5;
    width: 100%;
    max-width: 400px;
}

.image-container:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.05);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(1.1) contrast(1.1);
}

.image-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, var(--rot), var(--orange), var(--gelb), var(--gruen), var(--blau), var(--lila));
    border-radius: 30px;
    z-index: -1;
    animation: gradientShift 6s ease infinite;
}

.teacher-info h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.teacher-info h3 {
    color: var(--text-secondary);
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 2rem;
}

.teacher-info p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.qualifications {
    list-style: none;
    margin: 2rem 0;
}

.qualifications li {
    padding: 1rem;
    margin: 0.5rem 0;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    position: relative;
    padding-left: 3rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    box-shadow: var(--glass-shadow);
}

.qualifications li:hover {
    background: var(--glass-bg-hover);
    transform: translateX(12px);
    box-shadow: var(--glass-shadow-hover);
    color: var(--text-primary);
    border-color: var(--glass-border-hover);
}

.qualifications li::before {
    content: '♪';
    position: absolute;
    left: 1rem;
    color: var(--gelb);
    font-size: 1.5rem;
    animation: bounce 2s ease infinite;
}

/* Services Section - Mobile Header Fix */
.services {
    padding: 100px 2rem;
    position: relative;
    /* Mobile Header Fix */
    scroll-margin-top: 100px;
}

/* Highlights Section - Neue Bereiche */
.highlights {
    padding: 100px 2rem;
    position: relative;
    scroll-margin-top: 100px;
}

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

.section-title {
    text-align: center;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 4rem;
    color: var(--text-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Einheitliche Card-Styles für Services und Highlights */
.service-card,
.highlight-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    padding: 3rem 2rem;
    border-radius: 25px;
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transform: perspective(1000px) rotateX(5deg);
    box-shadow: var(--glass-shadow);
    /* Einheitliche Mindesthöhe */
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card::before,
.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before,
.highlight-card:hover::before {
    left: 100%;
}

.service-card:hover,
.highlight-card:hover {
    transform: perspective(1000px) rotateX(0deg) translateY(-12px) scale(1.03);
    background: var(--glass-bg-hover);
    box-shadow: var(--glass-shadow-hover);
    border-color: var(--glass-border-hover);
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    animation: float 6s ease-in-out infinite;
}

.service-card:nth-child(1) .service-icon { animation-delay: 0s; }
.service-card:nth-child(2) .service-icon { animation-delay: 1.5s; }
.service-card:nth-child(3) .service-icon { animation-delay: 3s; }
.service-card:nth-child(4) .service-icon { animation-delay: 4.5s; }

.service-card h3,
.highlight-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.service-card p,
.highlight-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* Highlights spezifische Styles */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.highlight-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 2rem auto;
    background: linear-gradient(45deg, #4FACFE, #00F2FE);
}

.highlight-preview {
    background: var(--glass-bg);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    margin-bottom: 2rem;
    text-align: left;
}

.highlight-preview h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.highlight-preview ul {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    list-style: none;
    padding: 0;
}

.highlight-preview ul li {
    margin-bottom: 0.3rem;
}

/* Pricing Section - MacBook Fix */
.pricing-section {
    text-align: center;
    margin-top: 4rem;
}

.pricing-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    text-align: center;
}

.pricing-title {
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center !important;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    color: var(--text-secondary);
    text-align: center;
}

.pricing-item {
    text-align: center;
}

/* Contact Section - Mobile Header Fix */
.contact {
    padding: 100px 2rem;
    position: relative;
    /* Mobile Header Fix */
    scroll-margin-top: 100px;
}

.contact-grid-mobile {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.contact-item {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
    box-shadow: var(--glass-shadow);
}

.contact-item:hover {
    background: var(--glass-bg-hover);
    transform: translateY(-6px);
    box-shadow: var(--glass-shadow-hover);
    border-color: var(--glass-border-hover);
}

.contact-item strong {
    color: var(--text-primary);
    font-size: 1.2rem;
}

.contact-item a,
.contact-item span {
    color: var(--text-secondary);
    text-decoration: none;
}

/* Footer */
footer {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur-strong);
    color: var(--text-primary);
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.footer-links {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
}

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

/* Blog Mobile Layout Fixes */
@media (max-width: 768px) {
    .blog-article-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    
    .blog-article-icon {
        width: 100px !important;
        height: 100px !important;
        font-size: 2.5rem !important;
        margin: 0 auto 1.5rem auto !important;
        flex-shrink: 0;
    }
    
    .blog-article-content {
        text-align: left !important;
    }
}

/* Konzerte Mobile Layout Fixes */
@media (max-width: 768px) {
    .konzerte-grid > * {
        text-align: center !important;
        margin: 0 auto !important;
    }
    
    .konzerte-image {
        margin: 0 auto 1.5rem auto !important;
    }
    
    .konzerte-content {
        text-align: center !important;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Contact bleibt 3er-Layout für MacBook/Tablet */
    .contact-grid-mobile {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        max-width: 900px;
    }
    
    .teacher-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .image-container {
        max-width: 350px;
        margin: 0 auto;
    }
}

/* MacBook/iPad Pro Breakpoint */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .highlights-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    /* Contact bleibt noch 3er-Layout */
    .contact-grid-mobile {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
        max-width: 800px;
    }
    
    .contact-item {
        padding: 1.5rem;
    }
    
    /* Pricing zentriert */
    .pricing-container {
        text-align: center;
        padding: 2.5rem;
    }
    
    /* Mobile Navigation Buttons Fix */
    .highlights .cta-button {
        margin: 0 auto;
        display: block;
        text-align: center;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    /* Mobile Header Fixes */
    .hero {
        padding-top: 140px;
    }
    
    .teacher-section,
    .services,
    .contact {
        scroll-margin-top: 120px;
    }
    
    /* Mobile Farben verstärken - iPhone Fix */
    body {
        background: 
            linear-gradient(47deg, #FF1744, #FF6D00, #FFD600, #00E676, #2196F3, #7C4DFF, #E91E63, #FF1744),
            linear-gradient(137deg, #1E88E5 0%, #00BCD4 20%, #FFC107 40%, #FF5722 60%, #E91E63 80%, #1E88E5 100%),
            linear-gradient(227deg, #3F51B5 0%, #9C27B0 15%, #E91E63 30%, #F44336 45%, #2196F3 60%, #3F51B5 75%, #9C27B0 90%, #E91E63 100%);
        background-size: 300% 300%, 250% 250%, 350% 350%;
        background-blend-mode: multiply, screen, color-dodge;
        animation: 
            kolorit-rainbow 20s ease infinite,
            gradientShift 25s ease-in-out infinite;
    }

    body::before {
        background: 
            radial-gradient(ellipse at 13% 27%, rgba(255, 23, 68, 0.5) 0%, transparent 50%),
            radial-gradient(ellipse at 87% 73%, rgba(33, 150, 243, 0.45) 0%, transparent 55%),
            radial-gradient(ellipse at 67% 15%, rgba(255, 193, 7, 0.5) 0%, transparent 48%),
            radial-gradient(ellipse at 23% 85%, rgba(0, 230, 118, 0.45) 0%, transparent 52%),
            radial-gradient(ellipse at 93% 31%, rgba(156, 39, 176, 0.48) 0%, transparent 49%),
            radial-gradient(ellipse at 31% 67%, rgba(233, 30, 99, 0.44) 0%, transparent 51%),
            radial-gradient(ellipse at 71% 89%, rgba(33, 150, 243, 0.47) 0%, transparent 54%),
            radial-gradient(ellipse at 45% 12%, rgba(255, 193, 7, 0.43) 0%, transparent 53%);
        filter: blur(8px) saturate(1.5) brightness(1.2);
        transform: scale(1.8);
        opacity: 0.8;
    }

    body::after {
        background-image: 
            radial-gradient(circle at 8% 92%, #FFD600 3.0px, transparent 3.0px),
            radial-gradient(circle at 34% 56%, #00E676 2.5px, transparent 2.5px),
            radial-gradient(circle at 73% 28%, #FF1744 3.2px, transparent 3.2px),
            radial-gradient(circle at 91% 84%, #2196F3 2.2px, transparent 2.2px),
            radial-gradient(circle at 52% 7%, #7C4DFF 2.8px, transparent 2.8px),
            radial-gradient(circle at 19% 41%, #E91E63 2.6px, transparent 2.6px),
            radial-gradient(circle at 86% 63%, #1E88E5 2.3px, transparent 2.3px);
        opacity: 0.4;
        filter: blur(2px) saturate(1.3) brightness(1.1);
        transform: scale(2.0);
    }
    
    /* Glassmorphism verstärken */
    .glass-container {
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(25px) saturate(200%) brightness(1.1);
        border: 2px solid rgba(255, 255, 255, 0.35);
        box-shadow: 
            0 12px 40px rgba(31, 38, 135, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }

    .service-card,
    .contact-item {
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(20px) saturate(180%) brightness(1.05);
        border: 1.5px solid rgba(255, 255, 255, 0.3);
        box-shadow: 
            0 8px 25px rgba(31, 38, 135, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    .service-card:hover,
    .contact-item:hover {
        background: rgba(255, 255, 255, 0.35);
        backdrop-filter: blur(25px) saturate(200%) brightness(1.15);
        border-color: rgba(255, 255, 255, 0.45);
        box-shadow: 
            0 15px 35px rgba(31, 38, 135, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }

    /* Header verstärken */
    header {
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(25px) saturate(200%) brightness(1.1);
        border-bottom: 2px solid rgba(255, 255, 255, 0.35);
        box-shadow: 0 8px 25px rgba(31, 38, 135, 0.15);
    }

    .nav-links a {
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(20px) saturate(180%);
        border: 1.5px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 4px 15px rgba(31, 38, 135, 0.12);
    }

    /* Services & Highlights - Mobile */
    .services-grid,
    .highlights-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        max-width: calc(100vw - 2rem);
        margin: 0 auto;
        padding: 0 1rem;
    }
    
    .service-card,
    .highlight-card {
        padding: 2rem 1.5rem;
        transform: none;
        min-height: auto;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .service-card:hover,
    .highlight-card:hover {
        transform: translateY(-5px) scale(1.02);
    }
    
    .highlight-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    /* Highlights Mobile Button Fix */
    .highlight-card .cta-button {
        margin: 0 auto !important;
        align-self: center !important;
        display: block !important;
        text-align: center !important;
        width: fit-content !important;
    }
    
    /* Contact Layout - Jetzt erst auf Mobile 1-spaltig */
    .contact-grid-mobile {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
        max-width: 400px;
    }
    
    .contact-item {
        padding: 1.5rem !important;
    }

    /* Navigation */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .menu-toggle {
        display: flex;
    }

    /* Hero */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    
    .hero-text .subtitle {
        font-size: 1.2rem;
    }

    /* Teacher Section - Mobile */
    .teacher-content {
        gap: 2rem;
        padding: 0 1rem;
    }

    .image-container {
        max-width: 280px;
        transform: none;
        /* Korrigierte Aspect Ratio für Mobile */
        aspect-ratio: 4/5;
    }

    .image-container:hover {
        transform: scale(1.02);
    }

    .teacher-info h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .teacher-info h3 {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .teacher-info p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .qualifications li {
        padding: 0.8rem;
        padding-left: 2.5rem;
        margin: 0.3rem 0;
        font-size: 0.9rem;
    }
    
    .qualifications li::before {
        left: 0.8rem;
        font-size: 1.2rem;
    }
    
    .qualifications li:hover {
        transform: translateX(5px);
    }

    /* Section Titles */
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }

    /* Service Cards */
    .service-card {
        padding: 2rem 1.5rem;
        transform: none;
    }
    
    .service-card:hover {
        transform: translateY(-5px) scale(1.02);
    }

    /* Pricing Section - Mobile Fix */
    .pricing-title {
        font-size: 1.5rem;
        text-align: center !important;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .pricing-container {
        padding: 2rem;
        text-align: center;
    }

    /* Floating Notes - Mobile - Jetzt sichtbar und bunt! */
    .note {
        font-size: 1.2rem;
    }
    
    .floating-notes {
        display: block !important;
    }

    /* Glass Container - Mobile */
    .glass-container {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    /* Header Mobile Fix für sehr kleine Bildschirme */
    .hero {
        padding-top: 160px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .teacher-info h2 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .pricing-title {
        font-size: 1.3rem;
        text-align: center !important;
    }
    
    .image-container {
        max-width: 250px;
        /* Korrekte Aspect Ratio auch für sehr kleine Bildschirme */
        aspect-ratio: 4/5;
    }
    
    .contact-item {
        padding: 1rem !important;
    }
    
    .glass-container {
        padding: 2rem 1rem;
    }
    
    .contact-button {
        font-size: 0.8rem;
        padding: 8px 10px;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 15px 30px;
    }
    
    .contact-grid-mobile {
        max-width: 320px;
    }
    
    .pricing-container {
        text-align: center;
        padding: 1.5rem;
    }
    
    /* Alle Karten maximale Mobile-Breite */
    .services-grid,
    .highlights-grid {
        max-width: calc(100vw - 1rem);
        padding: 0 0.5rem;
    }
    
    .service-card,
    .highlight-card {
        padding: 1.5rem 1rem;
        margin: 0;
        width: 100%;
    }
    
    .highlight-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .highlight-preview {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .highlight-preview h4 {
        font-size: 0.9rem;
    }
    
    .highlight-preview ul {
        font-size: 0.8rem;
    }
    
    /* Mobile Button Fix für Highlights */
    .highlight-card .cta-button {
        font-size: 0.9rem !important;
        padding: 12px 24px !important;
    }
}