/* CSS für Therapie-Praxis Website */

/* Farbpalette basierend auf #EFB827 */
:root {
    --primary-color: #EFB827;      /* Hauptfarbe - Goldgelb */
    --primary-light: #F4CC4A;      /* Heller */
    --primary-lighter: #F8E08F;    /* Noch heller */
    --primary-dark: #D4A91A;       /* Dunkler */
    --primary-darker: #B8941C;     /* Noch dunkler */
    --accent-color: #9C7D15;       /* Akzentfarbe */
    --accent-dark: #806611;        /* Dunkle Akzentfarbe */
    --background-light: #FFFCF5;   /* Sehr heller Hintergrund */
    --background-cream: #FFF8E7;   /* Cremefarbener Hintergrund */
    --text-dark: #2C2C2C;          /* Dunkler Text */
    --text-medium: #5A5A5A;        /* Mittlerer Text */
    --text-light: #8A8A8A;         /* Heller Text */
    --white: #FFFFFF;
    --shadow: rgba(47, 47, 47, 0.1);
}

/* Reset und Grundstile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Background Sound Wave Animation - Enhanced for Desktop Visibility */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
    position: relative;
    overflow-x: hidden;
}

/* Primary background wave animation - increased opacity and visibility */
/* body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(239, 184, 39, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 80% 40%, rgba(239, 184, 39, 0.30) 0%, transparent 40%),
        radial-gradient(circle at 40% 80%, rgba(239, 184, 39, 0.20) 0%, transparent 60%),
        radial-gradient(circle at 90% 90%, rgba(239, 184, 39, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 60% 30%, rgba(244, 204, 74, 0.18) 0%, transparent 45%);
    pointer-events: none;
    z-index: -2;
    animation: backgroundWaves 15s ease-in-out infinite;
} */

/* Secondary pulsing background effect for more visibility */
/* body::after {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(239, 184, 39, 0.15) 0%, rgba(239, 184, 39, 0.05) 50%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
    animation: centerPulse 8s ease-in-out infinite;
} */

/* Enhanced keyframes with more dramatic movement */
@keyframes backgroundWaves {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1) rotate(0deg);
        filter: blur(0px);
    }
    25% {
        opacity: 1.2;
        transform: scale(1.3) rotate(90deg);
        filter: blur(1px);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.7) rotate(180deg);
        filter: blur(2px);
    }
    75% {
        opacity: 1.4;
        transform: scale(1.2) rotate(270deg);
        filter: blur(1px);
    }
}

@keyframes centerPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }
    33% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.2;
    }
    66% {
        transform: translate(-50%, -50%) scale(2.2);
        opacity: 0.1;
    }
}

/* Additional floating wave elements for desktop */
@media (min-width: 769px) {
    .container::before {
        content: '';
        position: absolute;
        top: -50px;
        right: -50px;
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(239, 184, 39, 0.12) 0%, transparent 60%);
        border-radius: 50%;
        animation: floatWave1 20s ease-in-out infinite;
        z-index: -1;
    }
    
    .container::after {
        content: '';
        position: absolute;
        bottom: -50px;
        left: -50px;
        width: 150px;
        height: 150px;
        background: radial-gradient(circle, rgba(244, 204, 74, 0.15) 0%, transparent 65%);
        border-radius: 50%;
        animation: floatWave2 25s ease-in-out infinite reverse;
        z-index: -1;
    }
}

@keyframes floatWave1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-30px, -30px) scale(1.4);
        opacity: 0.6;
    }
}

@keyframes floatWave2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translate(40px, 40px) scale(1.2);
        opacity: 0.7;
    }
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    width: auto;
    border-radius: 8px;
}

.practice-name {
    font-size: 1.5rem;
    font-weight: 600;
}

.navigation ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navigation a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.navigation a:hover {
    color: var(--primary-lighter);
}

.navigation a:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-lighter);
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    transition: 0.3s;
}

/* Enhanced Sound Wave Animation with increased visibility */
.sound-wave-container {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 100px;
    height: 100px;
    z-index: 999;
    pointer-events: none;
}

.sound-wave {
    position: absolute;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    animation: soundWaveGrow 3s ease-out infinite;
    box-shadow: 0 0 30px rgba(239, 184, 39, 0.6);
}

.sound-wave-pulse {
    position: absolute;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(239, 184, 39, 0.9), rgba(239, 184, 39, 0.4) 50%, transparent 70%);
    border-radius: 50%;
    animation: soundWavePulse 3s ease-out;
    border: 3px solid rgba(239, 184, 39, 0.5);
}

@keyframes soundWaveGrow {
    0% {
        transform: scale(0);
        opacity: 1;
        box-shadow: 0 0 30px rgba(239, 184, 39, 0.8);
    }
    50% {
        opacity: 0.7;
        box-shadow: 0 0 50px rgba(239, 184, 39, 0.6);
    }
    100% {
        transform: scale(5);
        opacity: 0;
        box-shadow: 0 0 70px rgba(239, 184, 39, 0.2);
    }
}

@keyframes soundWavePulse {
    0% {
        transform: scale(0);
        opacity: 1;
        border-width: 4px;
        box-shadow: 0 0 20px rgba(239, 184, 39, 0.8);
    }
    50% {
        opacity: 0.8;
        border-width: 2px;
        box-shadow: 0 0 40px rgba(239, 184, 39, 0.6);
    }
    100% {
        transform: scale(6);
        opacity: 0;
        border-width: 0px;
        box-shadow: 0 0 60px rgba(239, 184, 39, 0.2);
    }
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--background-cream), var(--primary-lighter));
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-weight: 700;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-medium);
}

.hero-image {
    max-width: 100%;
    max-height: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
    margin-top: 20px;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
}

.content-section.alternate {
    background-color: var(--primary-lighter);
}

.content-section h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--primary-dark);
    font-weight: 700;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.text-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.text-content h4 {
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem;
    color: var(--primary-dark);
}

.text-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-medium);
}

.text-content ul {
    list-style: none;
    padding-left: 0;
}

.text-content li {
    margin-bottom: 0.8rem;
    padding-left: 25px;
    position: relative;
    color: var(--text-medium);
}

.text-content li::before {
    content: '♪';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.service-image {
    max-width: 100%;
    max-height: 300px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow);
    transition: transform 0.3s ease;
}

.service-image:hover {
    transform: translateY(-5px);
}

/* Termine Section */
.announcements {
    max-width: 800px;
    margin: 0 auto;
}

.announcement-item {
    background: var(--white);
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px var(--shadow);
    border-left: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.announcement-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(239, 184, 39, 0.2);
}

.announcement-date {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.announcement-item h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.announcement-item p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* Kontakt Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h3 {
    color: var(--primary-dark);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.contact-info p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-medium);
}

.contact-info strong {
    color: var(--accent-color);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark), var(--accent-dark));
    color: var(--white);
    padding: 50px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: var(--primary-light);
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.close {
    color: var(--text-light);
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 25px;
    cursor: pointer;
}

.close:hover {
    color: var(--primary-color);
}

.modal-content h2 {
    color: var(--primary-dark);
    margin-bottom: 20px;
    font-size: 2rem;
}

.modal-content h3 {
    color: var(--accent-color);
    margin: 20px 0 10px;
    font-size: 1.3rem;
}

.modal-content h4 {
    color: var(--primary-dark);
    margin: 15px 0 8px;
    font-size: 1.1rem;
}

.modal-content p {
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--text-medium);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Reduce background animation intensity on mobile */
    body::before {
        animation-duration: 20s;
        opacity: 0.6;
    }
    
    body::after {
        width: 250px;
        height: 250px;
        animation-duration: 12s;
    }
    
    .header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .navigation {
        display: none;
        width: 100%;
    }
    
    .navigation.active {
        display: block;
    }
    
    .navigation ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        background: var(--primary-darker);
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        top: 15px;
        right: 20px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .service-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .sound-wave-container {
        right: 10px;
        top: 90px;
        width: 70px;
        height: 70px;
    }
    
    .content-section {
        padding: 60px 0;
    }
    
    .content-section h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .announcement-item {
        padding: 20px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 30px;
    }
}

@media (max-width: 480px) {
    /* Further reduce animations on very small screens */
    body::before {
        opacity: 0.4;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-image {
        max-height: 250px;
        width: auto;
        margin: 10px auto 0;
    }
    
    .practice-name {
        font-size: 1.2rem;
    }
    
    .logo {
        height: 40px;
    }
    
    .content-section {
        padding: 50px 0;
        margin: 15px 0;
    }
    
    .service-content,
    .contact-content,
    .announcements {
        padding: 20px;
    }
    
    .service-image {
        max-width: 280px;
        max-height: 250px;
        width: auto;
    }
    
    .sound-wave-container {
        width: 50px;
        height: 50px;
    }
    
    .sound-wave,
    .sound-wave-pulse {
        width: 25px;
        height: 25px;
    }
    
    .modal-content {
        padding: 20px;
        margin: 15% auto;
    }
}

/* Desktop-specific enhancements for better wave visibility */
@media (min-width: 1200px) {
    body::before {
        background: 
            radial-gradient(circle at 20% 20%, rgba(239, 184, 39, 0.30) 0%, transparent 50%),
            radial-gradient(circle at 80% 40%, rgba(239, 184, 39, 0.35) 0%, transparent 40%),
            radial-gradient(circle at 40% 80%, rgba(239, 184, 39, 0.25) 0%, transparent 60%),
            radial-gradient(circle at 90% 90%, rgba(239, 184, 39, 0.20) 0%, transparent 50%),
            radial-gradient(circle at 60% 30%, rgba(244, 204, 74, 0.25) 0%, transparent 45%),
            radial-gradient(circle at 10% 70%, rgba(239, 184, 39, 0.15) 0%, transparent 55%);
    }
    
    body::after {
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(239, 184, 39, 0.20) 0%, rgba(239, 184, 39, 0.08) 50%, transparent 70%);
    }
    
    .sound-wave-container {
        width: 120px;
        height: 120px;
    }
    
    .sound-wave,
    .sound-wave-pulse {
        width: 50px;
        height: 50px;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    body::before,
    body::after {
        opacity: 0.8;
    }
    
    .sound-wave,
    .sound-wave-pulse {
        box-shadow: 0 0 50px rgba(239, 184, 39, 1);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    body::before,
    body::after,
    .sound-wave,
    .sound-wave-pulse,
    .container::before,
    .container::after {
        animation: none;
    }
    
    .sound-wave-container {
        opacity: 0.5;
    }
}