/* =====================================================
   PHYSIOTHERAPIE WEBSITE
   style.css
   Hauptdesign
===================================================== */

/* ---------- Farben ---------- */

:root{

    --primary:#0086BC;
    --primary-dark:#006A94;
    --primary-light:#EAF6FB;

    --white:#FFFFFF;
    --black:#111111;

    --gray:#F5F7FA;
    --text:#444444;

    --shadow:0 15px 40px rgba(0,0,0,.08);

    --radius:18px;

    --transition:.3s ease;

    --max-width:1280px;

}

/* ---------- Reset ---------- */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:"Poppins",sans-serif;

    background:var(--white);

    color:var(--text);

    line-height:1.7;

}

img{

    width:100%;

    display:block;

}

a{

    text-decoration:none;

    color:inherit;

}

ul{

    list-style:none;

}

.container{

    width:min(92%,var(--max-width));

    margin:auto;

}

/* ---------- Überschriften ---------- */

h1{

    font-size:clamp(2.6rem,6vw,4.8rem);

    line-height:1.1;

    color:white;

    margin-bottom:25px;

}

h2{

    font-size:2.4rem;

    color:var(--black);

    margin-bottom:20px;

}

h3{

    font-size:1.3rem;

    margin-bottom:10px;

    color:var(--black);

}

section{

    padding:90px 0;

}

/* ---------- Buttons ---------- */

.button{

    display:inline-block;

    padding:15px 34px;

    border-radius:50px;

    background:var(--primary);

    color:white;

    font-weight:600;

    transition:var(--transition);

    box-shadow:var(--shadow);

}

.button:hover{

    background:var(--primary-dark);

    transform:translateY(-3px);

}

.button-light{

    background:white;

    color:var(--primary);

}

.button-light:hover{

    background:var(--gray);

}
/* =====================================================
HEADER
===================================================== */

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:999;

    background:rgba(255,255,255,.96);

    backdrop-filter:blur(12px);

    box-shadow:0 3px 12px rgba(0,0,0,.05);

}

header .container{

    height:90px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo{

    font-size:2rem;

    font-weight:700;

}

.logo-blue{

    color:var(--primary);

}

nav ul{

    display:flex;

    gap:35px;

}

nav a{

    font-weight:500;

    transition:.25s;

}

nav a:hover{

    color:var(--primary);

}
/* =====================================================
HERO
===================================================== */

.hero{

    position:relative;

    height:100vh;

    overflow:hidden;

}

.hero-image{

    position:absolute;

    width:100%;

    height:100%;

    object-fit:cover;

}

.hero-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        rgba(0,0,0,.45),
        rgba(0,0,0,.45)
    );

}

.hero-content{

    position:relative;

    z-index:10;

    height:100%;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:flex-start;

    width:min(90%,1200px);

    margin:auto;

}

.hero p{

    color:white;

    font-size:1.25rem;

    max-width:700px;

    margin-bottom:35px;

}

.hero-buttons{

    display:flex;

    gap:20px;

}

/* =====================================================
   KARTEN
===================================================== */

.cards{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}


.card,
.service-card,
.review{

    background:white;

    padding:35px;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    transition:var(--transition);

}


.card:hover,
.service-card:hover,
.review:hover{

    transform:translateY(-8px);

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}


.features{

    background:var(--gray);

}


.services{

    background:white;

}


.service-card{

    border-top:5px solid var(--primary);

}

/* =====================================================
   ABOUT
===================================================== */


.about{

    background:var(--gray);

}


.about-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}


.about img{

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}

/* =====================================================
   REVIEWS
===================================================== */


.reviews{

    background:white;

}


.review{

    text-align:center;

    font-size:1.05rem;

}


.review:first-letter{

    color:#FFD700;

}

/* =====================================================
   CONTACT
===================================================== */


.contact{

    background:var(--primary-light);

}


.contact-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:50px;

}


.map-placeholder{

    height:350px;

    background:#ddd;

    border-radius:var(--radius);

    display:flex;

    justify-content:center;

    align-items:center;

    color:#666;

}

/* =====================================================
   FOOTER
===================================================== */


footer{

    background:var(--black);

    color:white;

    padding:35px 0;

}


footer .container{

    display:flex;

    justify-content:space-between;

}


footer a{

    margin-left:20px;

    color:white;

}


footer a:hover{

    color:var(--primary);

}

/* =====================================================
   POPUP
===================================================== */


.popup{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.65);

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:2000;

}


.popup.hidden{

    display:none;

}


.popup-box{

    position:relative;

    background:white;

    width:min(90%,500px);

    padding:45px;

    border-radius:20px;

    text-align:center;

    animation:popupShow .4s ease;

}


#popup-close{

    position:absolute;

    right:20px;

    top:10px;

    font-size:30px;

    cursor:pointer;

    color:#777;

}


@keyframes popupShow{

    from{

        opacity:0;

        transform:scale(.8);

    }


    to{

        opacity:1;

        transform:scale(1);

    }

}

/* =====================================================
   SCROLL ANIMATIONEN
===================================================== */


.hidden-animation{

    opacity:0;

    transform:translateY(40px);

    transition:
    opacity .8s ease,
    transform .8s ease;

}


.show{

    opacity:1;

    transform:translateY(0);

}

/* =====================================================
   HERO VIDEO
===================================================== */


.hero-video{

    position:absolute;

    width:100%;

    height:100%;

    object-fit:cover;

}

.menu-button{

display:none;

font-size:30px;

cursor:pointer;

color:var(--primary);

}

/* =====================================================
   UNTERSEITEN
===================================================== */


.page-header{

    padding-top:170px;

    padding-bottom:80px;

    background:var(--primary);

    text-align:center;

}


.page-header h1{

    color:white;

}


.page-header p{

    color:white;

    font-size:1.2rem;

}



.service-card img{

    height:220px;

    object-fit:cover;

    border-radius:14px;

    margin-bottom:25px;

}



.cta{

    background:var(--primary);

    text-align:center;

    color:white;

}


.cta h2{

    color:white;

}


.cta p{

    margin-bottom:30px;

}

/* =====================================================
   TEAM
===================================================== */


.team{

    background:white;

}



.team-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}



.team-card{

    background:white;

    border-radius:var(--radius);

    overflow:hidden;

    box-shadow:var(--shadow);

    transition:var(--transition);

}



.team-card:hover{

    transform:translateY(-8px);

}



.team-card img{
    width:100%;
    height:350px;
    object-fit:cover;
    object-position:center center;
    display:block;
}

.team-card:nth-child(4) img{
    object-position:center 1%;
}

.team-card:nth-child(5) img{
    object-position:center 20%;
}

.team-card:nth-child(7) img{
    object-position:center 15%;
}

.team-card:nth-child(8) img{
    object-position:center 8%;
}

.team-card:nth-child(9) img{
    object-position:center 8%;
}

.team-card:nth-child(10) img{
    object-position:center 8%;
}

.team-card:nth-child(11) img{
    object-position:center 1%;
}


.team-content{

    padding:30px;

}



.team-content h4{

    color:var(--primary);

    margin-bottom:20px;

    font-weight:500;

}



.skills{

    margin:15px 0;

}



.skills li{

    margin-bottom:8px;

    color:var(--text);

}

/* =====================================================
   TERMINANFRAGE
===================================================== */


.appointment{

    background:var(--gray);

}


.availability-box{

    background:white;

    border-left:6px solid var(--primary);

    padding:30px;

    margin-bottom:40px;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}



.appointment-form{

    background:white;

    padding:45px;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

    max-width:800px;

    margin:auto;

}



.appointment-form label{

    display:block;

    margin-top:20px;

    margin-bottom:8px;

    font-weight:500;

}



.appointment-form input,
.appointment-form select,
.appointment-form textarea{


    width:100%;

    padding:15px;

    border:1px solid #ddd;

    border-radius:10px;

    font-family:inherit;

}



.checkbox-group{

    display:flex;

    gap:25px;

}



.checkbox-group label{

    font-weight:400;

}



.privacy{

    font-size:.9rem;

    display:flex!important;

    gap:10px;

    align-items:flex-start;

}

/* =====================================================
   KONTAKT
===================================================== */


.contact-page{

    background:white;

}



.contact-info,
.map-box{

    background:white;

    padding:40px;

    border-radius:var(--radius);

    box-shadow:var(--shadow);

}



.contact-info h3{

    color:var(--primary);

    margin-top:25px;

}



.opening-hours{

    width:100%;

    margin-top:20px;

    border-collapse:collapse;

}



.opening-hours td{

    padding:12px;

    border-bottom:1px solid #eee;

}



.map-placeholder{

    height:350px;

    background:#e5e5e5;

    border-radius:15px;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#777;

    margin-bottom:25px;

}



.contact-message{

    background:var(--primary);

    color:white;

    text-align:center;

}



.contact-message h2{

    color:white;

}

.form-message {

    margin-top:20px;

    padding:20px;

    border-radius:10px;

    display:none;

}


.form-message.success {

    display:block;

    background:#e8f7fb;

    color:#0086bc;

    border-left:5px solid #0086bc;

}

.hidden-field {

    position:absolute;

    left:-9999px;

}

/* ================= Mobiler Termin Button ================= */


.mobile-appointment {

    display:none;

}



@media(max-width:900px){


.mobile-appointment {

    display:block;

    position:fixed;

    bottom:20px;

    left:20px;

    right:20px;

    background:#0086bc;

    color:white;

    text-align:center;

    padding:16px;

    border-radius:50px;

    font-weight:600;

    text-decoration:none;

    z-index:9999;

    box-shadow:

    0 8px 25px rgba(0,0,0,0.25);

    transition:0.3s;

}



.mobile-appointment:hover {

    background:#006b94;

}


}

@media(max-width:900px){

body {

    padding-bottom:90px;

}

}

.map-container {

    width: 100%;

    overflow: hidden;

    border-radius: 12px;

}


.map-container iframe {

    display: block;

    width: 100%;

    border-radius: 12px;

}

.rating {

    color:#0086bc;

    font-size:32px;

    margin:20px 0;

}

/* Fitnessstudio Bereich */
/* ================= Fitnessstudio Premium Gelb / Weiß ================= */


.fitness-header {

    background:#f4c542;

    color:#1a1a1a;

    padding:90px 0;

}


.fitness-header h1 {

    color:#1a1a1a;

    font-weight:700;

}


.fitness-header p {

    color:#333;

}



/* Hauptbereich */

.fitness {

    background:#ffffff;

    padding:90px 0;

}



.fitness-grid {

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

}



.fitness-image img {

    width:100%;

    border-radius:20px;

    box-shadow:
    0 20px 45px rgba(0,0,0,0.12);

}



/* Text */

.fitness-content h2 {

    color:#0057a8;

    font-size:34px;

}


.fitness-content p {

    color:#555;

    line-height:1.8;

}



/* Vorteile */

.fitness-benefits {

    background:#fff8dc;

    padding:80px 0;

}



.fitness-card {

    background:white;

    border-radius:20px;

    padding:35px;

    border-top:6px solid #f4c542;

    box-shadow:

    0 15px 35px rgba(0,0,0,0.08);

}



.fitness-card h3 {

    color:#0057a8;

}



.fitness-card:hover {

    transform:translateY(-6px);

    transition:.3s;

}



/* CTA */

.fitness-cta {

    background:#f4c542;

    color:#111;

    padding:70px 0;

}


.fitness-cta h2 {

    color:#111;

}


.fitness-cta p {

    color:#333;

}


.fitness-cta .button {

    background:#0057a8;

    color:white;

}


.fitness-cta .button:hover {

    background:#003f7d;

}

/* ================= Fitness Philosophie ================= */


.fitness-philosophy {

    background:#ffffff;

    padding:70px 0;

    text-align:center;

}


.fitness-philosophy h2 {

    color:#0057a8;

    font-size:34px;

    margin-bottom:25px;

}


.fitness-philosophy p {

    max-width:850px;

    margin:0 auto 15px;

    color:#555;

    line-height:1.8;

}

/* =====================================================
   FITNESS HERO PREMIUM DESIGN
===================================================== */


/* Hero Bereich */

.hero.fitness-hero{

    position:relative;

    height:100vh;

    overflow:hidden;


    border-top:6px solid #f4c542;

    border-bottom:14px solid #f4c542;


    box-shadow:
        0 25px 60px rgba(0,0,0,.22);

}



/* Video */

.hero.fitness-hero .hero-video{

    position:absolute;

    inset:0;

    width:100%;

    height:100%;

    object-fit:cover;

}



/* Farbfilter über Video */

.hero.fitness-hero .hero-overlay{

    position:absolute;

    inset:0;


    background:linear-gradient(
        115deg,
        rgba(244,197,66,.75),
        rgba(244,197,66,.45) 40%,
        rgba(0,87,168,.35) 75%,
        rgba(0,0,0,.35)
    );

}



/* Inhalt */

.hero.fitness-hero .hero-content{

    position:relative;

    z-index:10;


    height:100%;

    width:min(90%,1200px);

    margin:auto;


    display:flex;

    justify-content:center;

    align-items:center;

    flex-direction:column;


    text-align:center;

}



/* Große Überschrift */

.hero.fitness-hero h1{

    color:#111;

    font-size:clamp(2.8rem,6vw,5rem);

    font-weight:700;

    line-height:1.1;


    -webkit-text-stroke:.5px rgba(255,255,255,.9);


    text-shadow:

        0 4px 18px rgba(0,0,0,.35);

}



/* Slogan Glas-Effekt */

.hero.fitness-hero p{


    position:absolute;


    bottom:45px;

    left:50%;

    transform:translateX(-50%);



    width:min(85%,760px);



    padding:18px 35px;



    color:#222;


    font-size:1.35rem;

    font-weight:700;

    line-height:1.5;


    text-align:center;



    background:rgba(255,255,255,.28);



    backdrop-filter:blur(18px);

    -webkit-backdrop-filter:blur(18px);



    border-radius:30px;



    box-shadow:

        0 15px 45px rgba(0,0,0,.25);



    -webkit-text-stroke:.2px rgba(255,255,255,.8);


    text-shadow:

        0 2px 8px rgba(0,0,0,.3);


}


/* weiche Übergänge an den Rändern der Glasbox */

.hero.fitness-hero p::before{

    content:"";

    position:absolute;

    inset:-15px;


    background:inherit;

    filter:blur(20px);

    z-index:-1;

    border-radius:40px;

    opacity:.8;

}

/* =====================================================
   KURSE MODERN
===================================================== */


.course-intro-section{

    padding-top:160px;

    text-align:center;

    background:#f5f7fa;

}



.course-intro-section h1{

    color:#111;

    font-size:2.8rem;

}



.course-intro-section p{

    max-width:850px;

    margin:25px auto;

}



.info-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:40px;

}



.info-box{

    padding:40px;

    border-radius:20px;

    background:white;

    box-shadow:var(--shadow);

}



.info-box h2{

    color:#0086bc;

}



.course-cards{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:30px;

}



.modern-course-card{

    background:white;

    padding:35px;

    border-radius:22px;

    box-shadow:var(--shadow);

    border-top:5px solid #f4c542;

    transition:.3s;

}



.modern-course-card:hover{

    transform:translateY(-8px);

}



.modern-course-card li{

    margin:8px 0;

}



.rehab-section{

    background:#f5f7fa;

}



.rehab-card{

    background:white;

    padding:30px;

    margin:20px 0;

    border-radius:18px;

    border-left:6px solid #0086bc;

    box-shadow:var(--shadow);

}

 /* =====================================================
    WOCHENÜBERSICHT KURSE
 ===================================================== */

.weekly-courses {
    background: #f5f7fa;
}


/* Wochentage nebeneinander */

.course-calendar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 40px;
}


/* Karte für einen Wochentag */

.course-day {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--shadow);
    transition: .3s;
}

.course-day:hover {
    transform: translateY(-8px);
}


.course-day h3 {
    text-align: center;
    color: #0086bc;
    margin-bottom: 20px;
}


/* =========================================
   ZEITGRUPPEN
   ========================================= */

.course-time-group {
    margin-bottom: 20px;
}


/* Uhrzeit */

.course-time {
    font-size: .9rem;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
}


/* =========================================
   PARALLELE KURSE
   ========================================= */

.course-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}


/* Einzelner Kurs */

.course-entry {
    padding: 15px;
    margin-bottom: 0;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.course-entry strong {
    font-size: .95rem;
}


.course-entry span {
    font-weight: 600;
}


.course-entry small {
    color: #666;
}


/* Wenn nur ein Kurs zur gleichen Zeit stattfindet,
   nimmt er die komplette Breite ein */

.course-row .course-entry:only-child {
    grid-column: 1 / -1;
}


/* =========================================
   PRÄVENTION
   ========================================= */

.course-entry.prevention {
    background: #fff8dc;
    border-left: 5px solid #f4c542;
}


/* =========================================
   REHABILITATION
   ========================================= */

.course-entry.rehab {
    background: #eaf6fb;
    border-left: 5px solid #0086bc;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 900px) {

    .course-calendar {
        grid-template-columns: 1fr;
    }

    .course-row {
        grid-template-columns: 1fr;
    }

}
/* =========================================
   MOBILE
   ========================================= */

@media(max-width:900px){

    .course-calendar {
        grid-template-columns: 1fr;
    }

    .course-row {
        grid-template-columns: 1fr;
    }

}

/* ================= Google Bewertung ================= */

.google-rating {
text-align: center;
margin: 40px auto 50px;
}

.rating-stars {
font-size: 56px;
line-height: 1;
font-weight: 700;
letter-spacing: 4px;
margin-bottom: 15px;
}

.stars-full {
color: #f4b400;
}

/* Halber Stern */
.star-half {
display: inline-block;
width: 0.5em;
overflow: hidden;
color: #f4b400;
vertical-align: bottom;
}

.rating-score {
font-size: 38px;
font-weight: 700;
color: #222;
margin-top: 10px;
}

.rating-count {
font-size: 18px;
color: #666;
margin-top: 8px;
}

/* Kursinhalte zunächst ausblenden */
.modern-course-card ul {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    transition: opacity 0.3s ease, max-height 0.4s ease, margin-top 0.3s ease;
}

/* Beim Überfahren der Karte Inhalte anzeigen */
.modern-course-card:hover ul {
    opacity: 1;
    max-height: 300px;
    margin-top: 20px;
}

.pdf-hinweis {
    text-align: center;
    padding: 25px;
    margin: 30px auto;
    background: #f4f7f9;
    border-radius: 10px;
}

.pdf-button {
    display: inline-block;
    padding: 12px 25px;
    background: #2c6e91;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    margin-top: 10px;
}

.pdf-button:hover {
    background: #20536f;
}