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

:root {
    --orange: #E8742A;
    --orange-light: #F5A66A;
    --orange-dark: #C45E1C;
    --dark: #2C3E50;
    --dark-light: #34495E;
    --cream: #FFF8F2;
    --white: #FFFFFF;
    --gray: #6C757D;
    --light-bg: #F8F5F1;
}

/* 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(--orange);
    text-decoration: none;
    transition: color 0.3s;
}

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

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

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

.section-label {
    color: var(--orange);
    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(--orange);
    border-color: var(--orange);
    border-radius: 50px;
    padding: 12px 36px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--orange-dark);
    border-color: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 116, 42, 0.3);
}

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

.navbar.scrolled {
    background: rgba(44, 62, 80, 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(--orange) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--orange);
    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(44, 62, 80, 0.85) 0%, rgba(44, 62, 80, 0.5) 50%, rgba(232, 116, 42, 0.2) 100%);
}

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

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--orange-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(--orange);
    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(--orange);
}

.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(--orange);
}

.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(--orange);
    transition: all 0.3s;
}

.service-card:hover .service-icon {
    background: var(--orange);
    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(44, 62, 80, 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;
}

.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(--orange);
    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(--orange);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--orange) 0%, var(--orange-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(--orange);
    border-color: var(--white);
}

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

/* Footer */
.footer {
    background: #1a2530;
    padding: 40px 0 25px;
    color: rgba(255, 255, 255, 0.6);
}

.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(--orange);
    color: var(--white);
}

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

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

.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(--orange);
    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(232, 116, 42, 0.3);
}

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

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 37, 48, 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(--orange-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(--orange);
}

.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(--orange);
    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(--orange);
    color: var(--orange);
}

.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(--orange);
    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(--orange);
}

.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(44, 62, 80, 0.97);
        border-radius: 10px;
        padding: 15px 20px;
        margin-top: 10px;
    }

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

@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;
    }
}
