/* ============================================
   Nideggen bewegt - Physiotherapie Website
   ============================================ */

:root {
    --teal: #2E9D90;
    --teal-light: #84C8BF;
    --teal-dark: #1F726A;
    --dark: #20423F;
    --dark-light: #2D5953;
    --cream: #EFF5F3;
    --white: #FFFFFF;
    --gray: #6A7977;
    --light-bg: #EEF4F2;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

a {
    color: var(--teal);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--teal-dark);
}

.text-accent {
    color: var(--teal);
}

.section-padding {
    padding: 100px 0;
}

.section-label {
    color: var(--teal);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-desc {
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--teal);
    border-color: var(--teal);
    border-radius: 50px;
    padding: 12px 36px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--teal-dark);
    border-color: var(--teal-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(46, 157, 144, 0.3);
}

/* Navigation */
.navbar {
    padding: 20px 0;
    transition: all 0.4s;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(32, 66, 63, 0.97);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white) !important;
}

.navbar-logo {
    height: 80px;
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
    transition: height 0.4s;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.navbar.scrolled .navbar-logo {
    height: 50px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 400;
    margin-left: 20px;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--teal) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: url('images/hero-massage.jpg') center center / cover no-repeat;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(32, 66, 63, 0.85) 0%, rgba(32, 66, 63, 0.5) 50%, rgba(46, 157, 144, 0.2) 100%);
}

.hero-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: -60px auto 0 auto;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--teal-light);
    font-family: 'Playfair Display', serif;
    font-style: italic;
    margin-top: 0;
    margin-bottom: 1rem;
}

.hero-text {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    font-size: 1.05rem;
}

/* About Section */
.about-image-wrapper {
    position: relative;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--teal);
    border-radius: 0.375rem;
    z-index: -1;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.counter-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal);
}

.counter-label {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Services */
.bg-light {
    background-color: var(--light-bg) !important;
}

.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 35px 30px;
    text-align: center;
    height: 100%;
    transition: all 0.4s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--teal);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: var(--teal);
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    background: var(--teal);
    color: var(--white);
}

.service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Gallery */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(32, 66, 63, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s;
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    transform: translateY(10px);
    transition: transform 0.4s;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay span {
    transform: translateY(0);
}

/* Opening Hours & Contact */
.bg-dark {
    background-color: var(--dark) !important;
}

.opening-hours {
    margin-top: 1.5rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.05rem;
}

.hours-row .day {
    font-weight: 600;
}

.hours-row.closed .hours {
    color: rgba(255, 255, 255, 0.4);
}

.text-muted-light {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Kontakt: zwei Wege */
.contact-option-card {
    background: var(--white);
    border-radius: 16px;
    padding: 44px 34px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
    color: var(--dark);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.opt-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--teal);
    margin-bottom: 18px;
}
.opt-title {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 8px;
}
.opt-desc {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 18px;
    max-width: 320px;
}
.opt-email {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--teal);
    word-break: break-word;
}
.opt-email:hover { color: var(--teal-dark); }
.opt-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--teal);
    margin-bottom: 14px;
}
.opt-badge .num {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    background: var(--teal);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

/* Kontaktformular */
.contact-form-card {
    background: var(--white);
    border-radius: 16px;
    padding: 36px 34px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
    text-align: left;
    color: var(--dark);
}
.contact-form-card .cf-title {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 4px;
}
.contact-form-card .cf-sub {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 22px;
}
.contact-form-card .form-label {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.9rem;
    margin-bottom: 4px;
}
.contact-form-card .form-control,
.contact-form-card .form-select {
    border-radius: 10px;
    padding: 11px 14px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    font-size: 0.98rem;
}
.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 0.2rem rgba(46, 157, 144, 0.2);
}
.contact-form-card .form-check-label {
    font-size: 0.85rem;
    color: var(--gray);
}
.contact-form-card .form-check-label a {
    color: var(--teal);
    text-decoration: underline;
}
.contact-form-card .form-check-input:checked {
    background-color: var(--teal);
    border-color: var(--teal);
}
.cf-result {
    margin-top: 14px;
    margin-bottom: 0;
    font-weight: 600;
    font-size: 0.95rem;
}
.cf-result.ok { color: #1f8a5b; }
.cf-result.err { color: #c0392b; }
.contact-mail-link {
    color: var(--teal-light);
    font-weight: 600;
}
.contact-mail-link:hover { color: #fff; }

.contact-info {
    margin-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--teal);
    min-width: 30px;
    text-align: center;
    margin-top: 3px;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.85);
}

.contact-item a:hover {
    color: var(--teal);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%);
    color: var(--white);
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.cta-section .lead {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--teal);
    border-color: var(--white);
}

.cta-section .btn-primary:hover {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}

/* Footer */
.footer {
    background: #16302D;
    padding: 40px 0 25px;
    color: rgba(255, 255, 255, 0.75);
}

/* Footer-Texte lesbar machen (Bootstrap .text-muted ist auf dunklem Grund zu dunkel) */
.footer .text-muted {
    color: rgba(255, 255, 255, 0.72) !important;
}

.footer-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.footer-logo {
    height: 55px;
    width: auto;
    margin-right: 8px;
    vertical-align: middle;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3));
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.6);
    margin: 0 5px;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--teal);
    color: var(--white);
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    margin-left: 20px;
    font-size: 0.9rem;
}

.footer-link:hover {
    color: var(--teal);
}

.footer-hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 25px 0 15px;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--teal);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(46, 157, 144, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--teal-dark);
    color: var(--white);
    transform: translateY(-3px);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(22, 48, 45, 0.97);
    color: rgba(255, 255, 255, 0.85);
    padding: 18px 0;
    z-index: 10000;
    font-size: 0.9rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.cookie-banner a {
    color: var(--teal-light);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-banner .btn-outline-light {
    border-radius: 50px;
    font-size: 0.85rem;
}

.cookie-banner .btn-primary {
    font-size: 0.85rem;
    padding: 6px 20px;
}

/* Team Section */
.team-card {
    background: var(--white);
    border-radius: 12px;
    padding: 35px 25px;
    text-align: center;
    height: 100%;
    transition: all 0.4s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid var(--teal);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h4 {
    font-size: 1.15rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.team-role {
    color: var(--teal);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.team-desc {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Praxis Placeholder */
.praxis-placeholder {
    background: var(--white);
    border: 2px dashed rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--gray);
    transition: all 0.3s;
}

.praxis-placeholder i {
    font-size: 2.5rem;
    opacity: 0.4;
}

.praxis-placeholder span {
    font-size: 0.9rem;
    font-weight: 600;
}

.praxis-placeholder:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.praxis-placeholder:hover i {
    opacity: 0.7;
}

/* Anfahrt */
.anfahrt-info {
    margin-top: 1.5rem;
}

.anfahrt-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.anfahrt-item i {
    font-size: 1.3rem;
    color: var(--teal);
    min-width: 25px;
    text-align: center;
    margin-top: 3px;
}

.anfahrt-item strong {
    display: block;
    margin-bottom: 3px;
    color: var(--dark);
}

.anfahrt-item p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Map */
.map-container {
    overflow: hidden;
    border-radius: 12px;
}

.map-container iframe {
    display: block;
}

/* Legal Pages */
.legal-page {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
}

.legal-page h1 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.legal-page h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 0.8rem;
    color: var(--dark);
}

.legal-page p, .legal-page li {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.8;
}

.legal-page a {
    color: var(--teal);
}

.btn-outline-light {
    border-radius: 50px;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-logo {
        max-width: 350px;
    }

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

    .section-title {
        font-size: 2rem;
    }

    .section-padding {
        padding: 70px 0;
    }

    .navbar-collapse {
        background: rgba(32, 66, 63, 0.97);
        border-radius: 10px;
        padding: 15px 20px;
        margin-top: 10px;
    }

    .nav-link {
        margin-left: 0;
        padding: 8px 0 !important;
    }
}

/* ===== Neugründung / Recruiting ===== */
.hero-tag{display:inline-block;background:var(--teal);color:#fff;padding:8px 24px;border-radius:50px;font-weight:600;letter-spacing:1.5px;font-size:0.9rem;text-transform:uppercase;margin-bottom:1.2rem;box-shadow:0 6px 18px rgba(46,157,144,.35);}
.recruit-card{background:var(--white);border-radius:12px;padding:35px 32px;height:100%;border:1px solid rgba(0,0,0,.05);transition:all .4s;}
.recruit-card:hover{transform:translateY(-5px);box-shadow:0 15px 40px rgba(0,0,0,.08);}
.recruit-card .service-icon{margin:0 0 18px;}
.recruit-card h4{font-size:1.3rem;color:var(--dark);margin-bottom:0.5rem;}
.recruit-list{list-style:none;padding:0;margin:15px 0 0;}
.recruit-list li{display:flex;align-items:flex-start;gap:12px;padding:9px 0;color:var(--gray);border-bottom:1px solid rgba(0,0,0,.04);}
.recruit-list li:last-child{border-bottom:none;}
.recruit-list li i{color:var(--teal);font-size:1.1rem;margin-top:3px;flex-shrink:0;}
.recruit-cta{margin-top:40px;}
.contact-email{margin:1.6rem 0 2rem;}
.contact-email a{color:var(--teal-light);font-size:1.7rem;font-weight:700;word-break:break-word;}
.contact-email a:hover{color:var(--teal);}

@media (max-width: 575px) {
    .hero-logo {
        max-width: 280px;
    }

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

    .section-title {
        font-size: 1.7rem;
    }

    .gallery-item img {
        height: 180px;
    }

    .about-image-wrapper::before {
        display: none;
    }
}
