/* ------------------------------------- */
/* 1. VARIABLEN & GRUNDEINSTELLUNGEN   */
/* ------------------------------------- */
:root {
    /* CI Colors */
    --primary-color: rgb(0, 81, 59);
    --primary-hover: rgb(2, 54, 44);
    --secondary-color: #e8ece1;
    --bg-color: rgb(255, 255, 255);
    --body-bg: rgb(217, 231, 226);
    --text-color: rgb(0, 81, 59);
    --text-light: #444;
    --white: #ffffff;

    /* New Accent Colors */
    --accent-mint: #81C995;
    --accent-blue: #1A73E8;
    --alert-light: #fff3cd;
    --alert-dark: #856404;
    --critical-light: #f8d7da;
    --critical-dark: #721c24;

    /* Typografie wie Original, mit Fallback auf Inter/Roboto */
    --font-main: 'Inter', 'Raleway', sans-serif;

    --transition: 0.3s ease-in-out;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--body-bg);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

/* 321 MED Widget Adjustments */
/* Hide the main 'Online-Rezeption' text if possible
   This focuses the user strictly on the booking button/icon */
.med321-fab-label,
.med321-floating-button-text,
#med321-widget-container .med321-fab-label {
    display: none !important;
}

/* ------------------------------------- */
/* 2. TYPOGRAFIE & BUTTONS               */
/* ------------------------------------- */
h1,
h2,
h3,
h4 {
    color: var(--text-color);
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.2rem;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mt-4 {
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Secondary CTA - Set to match branding or mint */
.btn-secondary {
    background-color: var(--accent-mint);
    color: var(--text-color);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background-color: #6eb782;
    color: var(--text-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ------------------------------------- */
/* 3. HEADER & NAVIGATION                */
/* ------------------------------------- */
.header {
    background-color: var(--bg-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100px;
}

.header .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    height: 100%;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    white-space: nowrap;
}

.logo img {
    width: 160px;
    height: auto;
    object-fit: contain;
}

.title-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.2;
    display: flex;
    white-space: nowrap;
}

.title-text span {
    font-weight: 300;
    margin-left: 5px;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    color: rgb(0, 81, 59);
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: rgb(153, 179, 166);
    /* Pale green from original site */
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ------------------------------------- */
/* 4. SECTIONS & GENERAL LAYOUT          */
/* ------------------------------------- */
.section {
    padding: 100px 0;
}

/* ------------------------------------- */
/* 4.5 BREADCRUMB                        */
/* ------------------------------------- */
.breadcrumb-bar {
    background-color: #E2EBE5;
    /* Pale background from screenshot */
    width: 100%;
    min-height: 48px;
    /* Fixed height for empty bar */
}

.breadcrumb-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.breadcrumb-home {
    color: rgb(153, 179, 166);
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.breadcrumb-home svg {
    fill: rgb(153, 179, 166);
    stroke: none;
}

.breadcrumb-home:hover svg {
    fill: rgb(0, 81, 59);
}

.breadcrumb-text {
    font-family: 'Raleway', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: rgb(153, 179, 166);
    letter-spacing: 0.3px;
}

.breadcrumb-text a {
    color: rgb(153, 179, 166);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-text a:hover {
    color: rgb(0, 81, 59);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-mint);
    margin: 20px auto 0;
    border-radius: 2px;
}

.section-light {
    background-color: #F8F9FA;
}

.section-white {
    background-color: var(--white);
}

.section-mint {
    background-color: var(--body-bg);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------------------- */
/* 5. HERO SECTION                       */
/* ------------------------------------- */
.hero {
    position: relative;
    padding: 180px 20px 80px 20px;
    /* Increased top padding to account for header + breadcrumb */
    background-color: var(--white);
    min-height: auto;
}

.hero-mockup .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    text-align: left;
    max-width: 600px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary-color);
    /* Deep Blue/Green */
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: flex-start;
}

.btn-mockup {
    background-color: #A3E4CD;
    /* Light Mint Green */
    color: var(--primary-color);
    padding: 16px 32px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0, 81, 59, 0.1);
    font-size: 1.1rem;
    text-transform: none;
}

.btn-mockup:hover {
    background-color: #8FD5BD;
    color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(0, 81, 59, 0.15);
    transform: translateY(-2px);
}

.hero-illustration-wrapper {
    position: relative;
    display: inline-block;
    /* Shrink-wrap the container to the image size */
    margin: 0 auto;
}

.hero-illustration {
    max-width: 100%;
    height: auto;
    width: 550px;
    display: block;
    /* Remove bottom gap */
}

/* Floating Symptom Check Card */
.symptom-check-card {
    position: absolute;
    bottom: -10px;
    /* Adjust vertical overlap */
    right: -20px;
    /* Adjust horizontal overlap so it hangs off the edge */
    background-color: #E6F0FA;
    /* Light Blue BG */
    border: 2px solid #C0D6E4;
    /* Soft Blue Border */
    border-radius: 12px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(26, 115, 232, 0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 10;
}

.symptom-check-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(26, 115, 232, 0.15);
}

.symptom-check-icon {
    background-color: var(--white);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.symptom-check-text {
    display: flex;
    flex-direction: column;
}

.symptom-check-text strong {
    color: var(--primary-color);
    font-size: 1.1rem;
    line-height: 1.2;
    margin-bottom: 8px;
}

.btn-check-link {
    background-color: #AACCFF;
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease;
}

.symptom-check-card:hover .btn-check-link {
    background-color: #99C2FF;
}

/* ------------------------------------- */
/* 6. EXPERT SECTION                     */
/* ------------------------------------- */
.expert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.expert-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.rounded-image {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.shadow-img {
    box-shadow: var(--shadow-hover);
}

/* ------------------------------------- */
/* 7. SYMPTOM CHECKER                    */
/* ------------------------------------- */
.checker-container {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.quiz-step {
    display: none;
    animation: fadeInStep 0.5s ease-in-out;
}

.quiz-step.active {
    display: block;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin: 30px 0;
}

.quiz-option {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border: 2px solid var(--secondary-color);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.quiz-option:hover,
.quiz-option.selected {
    border-color: var(--primary-color);
    background-color: rgba(0, 81, 59, 0.05);
}

.quiz-option input {
    margin-right: 15px;
    transform: scale(1.2);
}

.quiz-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.quiz-result {
    text-align: center;
    padding: 20px;
}

/* ------------------------------------- */
/* 8. SYMPTOMS & PATHOLOGY               */
/* ------------------------------------- */
.symptoms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.card {
    background-color: var(--white);
    padding: 35px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--primary-color);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.symptom-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-light);
}

.symptom-list li::before {
    content: '✓';
    color: var(--accent-mint);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.content-box {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-top: 40px;
}

/* Alert Boxes (Redesign Info/Warning/Critical to uniform dark green/white style) */
.alert-box {
    padding: 25px;
    border-radius: 8px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background-color: var(--white);
    color: var(--text-color);
    border-left: 5px solid var(--primary-color);
    box-shadow: var(--shadow);
}

.alert-warning {
    border-left-color: var(--accent-mint);
}

.alert-critical {
    border-left-color: var(--primary-color);
}

.alert-info {
    border-left-color: var(--accent-mint);
}

.alert-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    flex-shrink: 0;
}

.alert-icon svg {
    width: 24px;
    height: 24px;
}

/* ------------------------------------- */
/* 9. THERAPIE / LASER                   */
/* ------------------------------------- */
.laser-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.feature-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
}

.feature-list li::before {
    content: '•';
    color: var(--accent-blue);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
    line-height: 1;
}

/* ------------------------------------- */
/* 10. ABLAUF                            */
/* ------------------------------------- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 20px auto;
}

/* ------------------------------------- */
/* 11. TEAM (NETZWERK) & EVIDENZ         */
/* ------------------------------------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.team-img {
    width: 66.66%;
    margin: 0 auto 20px auto;
    display: block;
    border-radius: 50%;
}

.team-member .subtitle {
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.contact-link {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
    color: var(--accent-blue);
}

.contact-link:hover {
    text-decoration: underline;
}

.evidence-content {
    max-width: 800px;
    margin: 0 auto;
}

.study-box {
    background: var(--body-bg);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-mint);
}

/* ------------------------------------- */
/* 12. FOOTER                            */
/* ------------------------------------- */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 80px 0 30px 0;
}

.footer h4 {
    color: var(--white);
    font-size: 1.4rem;
    margin-bottom: 25px;
}

.footer p,
.footer-link {
    color: #cbd5e1;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--white);
    text-decoration: underline;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cbd5e1;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

/* ------------------------------------- */
/* 13. RESPONSIVE DESIGN                 */
/* ------------------------------------- */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }

    .expert-grid,
    .laser-grid,
    .hero-mockup .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-mockup .hero-grid {
        gap: 60px;
    }

    .symptoms-grid,
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100px;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .hero {
        background-attachment: scroll;
        padding: 120px 0 80px 0;
    }

    .hero-title {
        font-size: 2.2rem;
        text-align: center;
    }

    .hero-subtitle {
        text-align: center;
    }

    .symptoms-grid,
    .process-steps,
    .team-grid,
    .footer-grid,
    .hero-mockup .hero-grid {
        grid-template-columns: 1fr;
    }

    .symptom-check-card {
        bottom: -30px;
        right: 0;
        left: 0;
        margin: auto;
        width: 90%;
        max-width: 350px;
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .title-text {
        font-size: 1.3rem;
    }

    .logo img {
        width: 150px;
        height: auto;
    }
}