/* **** Webdesign & Entwicklung: Elias Lohse, Daniel Kowinew. **** */

@import url('https://fonts.googleapis.com/css2?family=Poiret+One&display=swap');

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    :root {
        --pastel-blue: #E6F3FF;
        --pastel-mint: #E8F8F5;
        --pastel-lavender: #F0E6FF;
        --pastel-peach: #FFE6E6;
        --pastel-yellow: #FFF8E1;
        --soft-gray: #F8F9FA;
        --text-dark: #2C3E50;
        --text-medium: #5A6C7D;
        --accent-blue: #3498DB;
    }

    #home.hero {
        background: linear-gradient(45deg, var(--pastel-lavender), var(--pastel-peach));
    }

    #about {
        background: var(--pastel-mint);
    }

    #systemisch {
        background: var(--pastel-peach);
    }

    #meditation {
        background: var(--pastel-blue);
    }

    #termine-preise {
        background: var(--soft-gray);
    }

    #buecher {
        background: var(--pastel-yellow);
    }

    #aktuelles {
        background: var(--pastel-mint);
    }

    #kalender {
        background: var(--pastel-peach);
    }

    #interactive {
        background: var(--pastel-blue);
    }

    #contact {
        background: var(--pastel-lavender);
    }

    body {
        font-family: 'Poiret One', sans-serif;
        
        line-height: 1.6;
        color: var(--text-dark);
        background: linear-gradient(45deg, var(--pastel-lavender), var(--pastel-peach));
        min-height: 100vh;
        overflow-x: hidden; 
        overflow-y: auto; 
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
    }

    header {
        background: rgba(255, 255, 255, 0.9);
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
        transition: all 0.3s ease;
    }

    nav {
        padding: 50px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: fixed;
        width: 100%;
        z-index: 1000;
        margin-right: 5%;
    }

    .logo {
        color: rgb(0, 0, 0);
        font-size: 24px;
        font-weight: bold;
        margin-left: 2.5%;
        z-index: 1001;
    }

    .hamburger {
        width: 30px;
        height: 25px;
        position: relative;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger span {
        display: block;
        width: 90%;
        height: 2px;
        background: rgb(0, 0, 0);
        position: absolute;
        transition: 0.6s cubic-bezier(0.68, -0.6, 0.32, 1.6);
        transform-origin: center;
    }

    .hamburger.active span {
        background: black;
    }

    .hamburger span:nth-child(1) { 
        top: 0;
        transform-origin: left center;
    }

    .hamburger span:nth-child(2) { 
        top: 11px;
        transform-origin: center;
    }

    .hamburger span:nth-child(3) { 
        top: 22px;
        transform-origin: left center;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg);
        top: -3px;
        left: 4px;
        width: 125%;
    }

    .hamburger.active span:nth-child(2) {
        transform: scaleX(0);
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg);
        top: 25px;
        left: 4px;
        width: 125%;
    }

    .hamburger::before {
        content: '';
        position: absolute;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: transparent;
        transform: translate(-10px, -12px) scale(0);
        transition: 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    }

    .hamburger.active::before {
        transform: translate(-10px, -12px) scale(1);
    }

    .menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.98);
        transform: translateY(-100%);
        transition: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 100;
    }

    .menu-overlay.active {
        transform: translateY(0);
    }

    .menu-content {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        z-index: 10000;
        margin-top: 20px;
    }

    .menu-content a {
        color: black;
        text-decoration: none;
        font-size: 24px;
        transition: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        opacity: 0;
        transform: translateY(20px);
    }

    .menu-content a:hover {
        cursor: pointer;
    }

    .menu-overlay.active .menu-content a {
        opacity: 1;
        transform: translateY(0);
    }

    @media (max-height: 615px) {
        .menu-content a {
            font-size: 18px;
        }
    }

    .menu-bar{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 40px 0px;
        background: rgba(255, 255, 255, 0);
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 10;
        transition: all 0.4s ease;  
    }

    .menu-bar.shrink {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 25px 0px;
        background: rgba(255, 255, 255, 0);
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 10;
        transition: all 0.4s ease;            
    }

    .menu-bar2{
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 40px 0px;
        background: rgba(255, 255, 255, 0.563);
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 10;
        backdrop-filter: blur(7px);
        transition: all 0.4s ease;  
    }

    .menu-bar2.shrink {
        padding: 25px 0px;           
    }

    h1 {
        font-size: 2.2rem;
        font-weight: 600;
        color: var(--text-dark);
        margin-bottom: 15px;
        text-align: center;
    }

    h2 {
        font-size: 1.8rem;
        font-weight: 500;
        color: var(--accent-blue);
        margin-bottom: 15px;
        text-align: center;
    }

    h3 {
        font-size: 1.3rem;
        font-weight: 500;
        margin-top: 10px;
        color: var(--text-dark);
        text-align: center;
    }

    h4 {
        font-size: 1.1rem;
        font-weight: 500;
        margin-bottom: 5px;
        color: var(--text-medium);
    }

    p {
        line-height: 1.7;
        font-size: 1.2rem;
        color: var(--text-medium);
        margin-bottom: 15px;
        text-align: justify; 
    }

    #buecher .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 30px;
        justify-items: center;
        margin-top: 30px;
    }

    #buecher .service-card {
        background: #fff;
        border-radius: 12px;
        padding: 20px;
        height: 70px;
        text-align: center;
        box-shadow: 0 5px 15px rgba(0,0,0,0.08);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        outline: none; 
    }

    #buecher .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.15);
        outline: none;
        border-color: #fffb0000;
    }

    #buecher button {
        background: #fff3cd;
        color: rgb(0, 0, 0);
        padding: 10px 20px;
        border: none;
        border-radius: 12px;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        font-family: 'Poiret One', sans-serif;
    }

    #buecher button:hover {
        background: #ffebae;
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        color: rgb(0, 0, 0);
    }

    .book-img {
        width: 180px;      
        height: 180px;     
        object-fit: contain;
        background: #fff;   
        padding: 5px;       
        margin: 0 auto 15px auto;
        display: block;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    #buecher .service-card {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        height: 340px;
    }

    #buecher h3 {
        min-height: 3em; 
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .hero {
        text-align: center;
        background: linear-gradient(45deg, var(--pastel-lavender), var(--pastel-peach));
        border-radius: 0px;
        margin-bottom: 0px;
        position: relative;
        overflow: hidden;
        padding: 10px 40px;
    }

    .hero h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
        animation: fadeInUp 1s ease;
    }

    .hero p {
        font-size: 1.2rem;
        color: var(--text-medium);
        margin-bottom: 2rem;
        animation: fadeInUp 1s ease 0.2s both;
    }

.cta-button {
    background: rgb(60, 96, 60);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: box-shadow 0.3s ease, background 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-button:hover {
    background: rgb(73, 133, 73);
    box-shadow: 0 10px 25px rgba(60, 219, 52, 0.3);
}


    @keyframes fadeInUp {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }

    section {
        margin: 80px 0;
        padding: 40px 0;
        align-content: center;
        min-height: 100vh;
    }

    .section-header {
        text-align: center;
        margin-bottom: 60px;
    }

    .section-header h2 {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        color: var(--text-dark);
    }

    .section-header p {
        color: var(--text-medium);
        font-size: 1.1rem;
    }

    .about {
        background: var(--pastel-mint);
        border-radius: 0px;
        padding: 10px 50px;
        margin: 0px 0;
        padding-top: 60px;
    }

    .about-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 40px;
        align-items: center;
        text-align: center;
    }

    .profile-card {
        background: white;
        padding: 30px;
        border-radius: 20px;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }

    .profile-card:hover {
        transform: translateY(-5px);
    }

    .profile-img {
        width:153px;
        height: 165px;
        border-radius:70%;
        background: var(--pastel-lavender);
        margin: 0 auto 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 3rem;
        color: var(--accent-blue);
    }

    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 30px;
        margin-top: 40px;
    }

    .service-card {
        background: white;
        padding: 40px 30px;
        border-radius: 20px;
        text-align: center;
        transition: all 0.3s ease;
        border: 3px solid transparent;
        cursor: pointer;
    }

    .services-grid2 {
        display: grid;
        justify-content: center; 
        margin-top: 40px;
    }

    .service-card2 {
        background: #fff;
        padding: 40px 30px;
        border-radius: 20px;
        text-align: center;
        transition: all 0.3s ease;
        border: 3px solid transparent;
        cursor: pointer;

        width: 100%;
        max-width: 800px;   
        margin: 0 auto;    
    }

    @media (max-width: 768px) {
        .service-card2 {
            margin-left: 40px;
            margin-right: 40px;
            max-width: calc(100% - 80px); 
        }
    }

    .service-card:nth-child(1) { background: var(--pastel-blue); }
    .service-card:nth-child(2) { background: var(--pastel-peach); }
    .service-card:nth-child(3) { background: var(--pastel-yellow); }

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        border-color: none;
    }

    .service-icon {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: rgb(204, 227, 204);
        margin: 0 auto 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        color: rgb(0, 0, 0);
    }

    .mood-tracker {
        background: var(--pastel-lavender);
        border-radius: 30px;
        padding: 60px 40px;
        text-align: center;
        margin: 80px 0;
    }

    .mood-buttons {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin: 40px 0;
        flex-wrap: wrap;
    }

    .mood-btn {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        border: none;
        font-size: 2rem;
        cursor: pointer;
        transition: all 0.3s ease;
        background: white;
    }

    .mood-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

    .mood-result {
        margin-top: 30px;
        padding: 20px;
        background: white;
        border-radius: 15px;
        display: none;
    }

    .breathing-exercise {
        background: var(--pastel-yellow);
        border-radius: 30px;
        padding: 60px 40px;
        text-align: center;
        margin: 80px 0;
    }

    .breathing-circle {
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: linear-gradient(45deg, var(--accent-blue), #5DADE2);
        margin: 40px auto;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.2rem;
        transition: transform 4s ease-in-out;
        cursor: pointer;
    }

    .breathing-active {
        transform: scale(1.3);
    }

    .breathing-instruction {
        margin-top: 20px;
        font-weight: bold;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .contact .section-header h2 {
        text-align: center;
        margin-bottom: 0px;
        font-size: 2rem;
    }

    .contact-wrapper {
        display: flex;
        gap: 0px;
        max-width: px;
        margin: 0 auto;
        flex-wrap: wrap;
    }

    .contact-info {
        flex: 1;
        font-size: 1.1rem;
        line-height: 1.6;
        text-align: center; 
    }

    .contact-info h3 {
        margin-bottom: 20px;
    }

    .contact-text {
        margin-left: -20px; 
        margin-top: 20px;
        display: inline-block; 
    }

    .contact-form {
        flex: 1;
        background: #ffffff85;
        padding: 25px;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(132, 0, 255, 0.1);
    }

    .contact-form h3 {
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .contact-form label {
        display: block;
        margin-bottom: 6px;
        font-weight: 600;
    }

    .contact-form input,
    .contact-form textarea {
        width: 100%;
        padding: 10px;
        border: 1.5px solid hsl(276, 100%, 68%);
        border-radius: 8px;
        font-size: 1rem;
    }

    .contact-form input:focus,
    .contact-form textarea:focus {
        border-color: #ebabff;
        outline: none;
        box-shadow: 0 0 5px rgba(163, 0, 204, 0.4); 
    }

    .contact-form button {
        background: #d792ff;
        color: rgb(255, 255, 255);
        padding: 12px 20px;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        font-size: 1rem;
        transition: background 0.3s;
    }

    .contact-form button:hover {
        background: #f1c4ff;
    }

    @media (max-width: 768px) {
        .contact-wrapper {
        flex-direction: column;
        }

        .contact-info, .contact-form {
        flex: 100%;
        }

        .contact-form {
            margin-top: 40px;
            margin-bottom: 40px;
        }
    }

    .about-list {
        text-align: left;
        margin-top: 10px;
        padding-left: 20px; 
        line-height: 1.6;
    }

    .footer {
        text-align: center;
        margin: 40px 0;
        font-size: 0.9rem;
        color: var(--text-medium);
    }

    .footer a {
        color: var(--text-dark);
        text-decoration: none;
        margin: 0 10px;
        transition: color 0.3s ease;
    }

    .footer a:hover {
        color: var(--accent-blue);
    }

    .menu-toggle {
        display: none;
        font-size: 2rem;
        cursor: pointer;
        display: block;
        color: var(--text-dark);
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        right: 20px;
        background: white;
        flex-direction: column;
        gap: 1rem;
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .start-section {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 2rem;
        flex-wrap: wrap;
        padding: 2rem;
    }

    .text-content {
        flex: 1 1 400px;
        text-align: center;
    }

    .text-content h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .text-content p {
        margin-bottom: 1.5rem;
        text-align: center;
    }


    @media (max-width: 768px) {
    .start-section {
        flex-direction: column;   
        align-items: center;      
        text-align: center;
    }

    .text-content {
        flex: unset;              
        width: 100%;
    }

    .maps {
        width: 100% !important; 
        height: 300px;     
        display: block;
        margin-left: auto;   
    }
    }


    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
        cursor: pointer;
    }

    .map-container {
        flex: 1 1 400px;
        min-width: 300px;
    }


    .footer-basic {
        padding:10px 0;
        background-color:#f2feff;
        color:#000000;
        padding-top: 10px;
    }

    .footer-basic ul {
        padding: 0;
        list-style: none;
        display: flex;              
        flex-wrap: wrap;            
        justify-content: center;  
        gap: 15px;                  
        font-size: 18px;
        line-height: 1.6;
        margin: 0;
    }

    .footer-basic li {
        padding: 0;
    }

    .footer-basic ul a {
        color: inherit;
        text-decoration: none;
        opacity: 0.8;
        transition: opacity 0.3s;
    }

    .footer-basic ul a:hover {
        opacity: 1;
        cursor: pointer;
    }

    .footer-basic .social {
        text-align:center;
        padding-bottom:25px;
    }

    .footer-basic .social > a {
        font-size:24px;
        width:40px;
        height:40px;
        line-height:40px;
        display:inline-block;
        text-align:center;
        border-radius:50%;
        border:1px solid #6f6f6f;
        margin:0 8px;
        color:inherit;
        opacity:0.75;
    }

    .footer-basic .social > a:hover {
        opacity:0.9;
    }

    .footer-basic .copyright {
        margin-top:15px;
        text-align:center;
        font-size:13px;
        color:#8c8c8c;
        margin-bottom:0;
    }

    .modal-overlay {
        display: none; 
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
        justify-content: center;
        align-items: center;
        padding: 20px; 
    }

    .modal {
        position: relative;
        background: white;
        padding: 20px;
        width: 80%;
        max-width: 800px;
        border-radius: 10px;
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        align-items: flex-start;
        box-sizing: border-box;
    }

    .modal img {
        max-width: 100%;
        width: 200px;
        border-radius: 10px;
        flex-shrink: 0; 
        margin-top: auto;
        margin-bottom: auto;
    }

    .img_weg {
        width: 100%;
        max-width: 750px;
        height: auto;
        border-radius: 10px;
        margin-top: 20px;
    }

    .img_systemisch {
        width: 100%;
        max-width: 400px;
        height: auto;
        border-radius: 10px;
        margin-top: 20px;
    }
    
    .img_meditation {
        width: 100%;
        max-width: 500px;
        height: auto;
        border-radius: 10px;
        margin-top: 20px;
    }

    .img_termine {
        width: 100%;
        max-width: 500px;
        height: auto;
        border-radius: 10px;
        margin-top: 20px;
    }

    .img_trauer {
        width: 100%;
        max-width: 300px;
        height: auto;
        border-radius: 10px;
        margin-top: 20px;
        margin-left: auto;
    }


    @media (max-width: 480px) {
    .modal img {
        display: none;
    }
    }

    .modal-content {
    flex: 1;
    min-width: 200px;
    padding: 0; 
    }

    .modal h2 {
    margin-top: 0;
    color: rgb(0, 142, 14);
    }

    .close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10;
    color: rgb(0, 0, 0);
    }

    @media (max-width: 600px) {
    .modal {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    .modal img {
        width: 80%;
        margin: 0 auto;
    }
    .modal-content {
        padding: 10px 0 0 0;
    }
    }

    @media (max-width: 1175px) {
        .maps {
            margin: 0 auto;  
            max-width: 90%;  
        }

        .maps iframe {
            display: block;
            margin: 0 auto;   
        }

        .text-content p {
            text-align: center;
        }
    }




