@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- CUSTOM VARIABLES (Design System) --- */
:root {
    --primary: #0f766e;        /* Deep Teal */
    --primary-light: #14b8a6;  /* Bright Teal */
    --primary-hover: #0d9488;  /* Medium Teal */
    --primary-bg: #f0fdfa;     /* Very Light Teal */
    --secondary: #d97706;      /* Warm Amber/Gold */
    --secondary-light: #f59e0b;/* Gold */
    --secondary-hover: #b45309;/* Darker Amber */
    --secondary-bg: #fffbeb;   /* Very Light Amber */
    --dark: #0f172a;           /* Slate 900 */
    --light: #f8fafc;          /* Slate 50 */
    --white: #ffffff;
    --gray-dark: #334155;     /* Slate 700 */
    --gray: #64748b;          /* Slate 500 */
    --gray-light: #e2e8f0;     /* Slate 200 */
    --border: #f1f5f9;         /* Slate 100 */
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & BASIC STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
    color: var(--gray-dark);
    background-color: var(--light);
}

body {
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--dark);
    font-weight: 700;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- LAYOUT UTILITIES --- */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

.text-center {
    text-align: center;
}

.flex { display: flex; }
.grid { display: grid; }

/* --- STUNNING BACKGROUNDS & GRAPHICS --- */
.bg-gradient-teal {
    background: radial-gradient(circle at 10% 20%, rgba(20, 184, 166, 0.05) 0%, rgba(15, 118, 110, 0.03) 90.1%);
}

.bg-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(15, 118, 110, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 118, 110, 0.4);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.2);
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary-bg);
    transform: translateY(-2px);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background-color: var(--primary-bg);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* --- HEADER --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 84px;
    transition: var(--transition);
}

.header.scrolled .nav-wrapper {
    height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
}

.logo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-bg);
    color: var(--primary);
    border-radius: 8px;
    border: 2px solid var(--primary-light);
    font-size: 1.1rem;
    font-weight: 900;
}

.logo-accent {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-dark);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-light);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray-dark);
}

.phone-link:hover {
    color: var(--primary);
}

.phone-icon {
    color: var(--secondary);
    display: flex;
    align-items: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--dark);
    border-radius: 99px;
    transition: var(--transition);
}

/* --- HERO SECTION --- */
.hero {
    padding-top: 140px;
    padding-bottom: 6rem;
    overflow: hidden;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 680px;
}

.badge-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-bg);
    border: 1px solid rgba(20, 184, 166, 0.2);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero-bullets {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.bullet-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1.05rem;
}

.bullet-icon {
    width: 24px;
    height: 24px;
    background-color: var(--primary-bg);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* --- PFLEGEGRAD CALCULATOR CARD --- */
.calc-card {
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.calc-header {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
    padding-bottom: 1rem;
}

.calc-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.calc-step-info {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 500;
}

.calc-steps {
    position: relative;
    min-height: 240px;
}

.calc-step {
    display: none;
    animation: fadeIn 0.4s ease-out forwards;
}

.calc-step.active {
    display: block;
}

.calc-question {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 1.25rem;
}

.calc-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.calc-option {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.calc-option:hover {
    border-color: var(--primary-light);
    background-color: var(--primary-bg);
}

.calc-option.selected {
    border-color: var(--primary);
    background-color: var(--primary-bg);
    color: var(--primary);
}

.calc-option input[type="radio"] {
    margin-right: 0.75rem;
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
}

.calc-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
    gap: 1rem;
}

/* Results panel inside calculator */
.calc-results {
    text-align: center;
    padding: 1rem 0;
}

.result-badge {
    background-color: var(--primary-bg);
    color: var(--primary);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    border: 1px dashed var(--primary);
}

.result-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0.5rem 0;
}

.result-label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- TRUST SYMBOLS & HEALTH INSURANCE CAROUSEL --- */
.trust-bar {
    background-color: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2.5rem 0;
    overflow: hidden;
}

.trust-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--secondary-bg);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.stat-text h4 {
    font-size: 1.2rem;
    font-weight: 700;
}

.stat-text p {
    font-size: 0.85rem;
    color: var(--gray);
}

.insurance-slider-title {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-container::before, .marquee-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
}

.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--white), transparent);
}

.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--white), transparent);
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    animation: marquee 25s linear infinite;
    gap: 5rem;
}

.marquee-logo {
    height: 40px;
    opacity: 0.6;
    transition: var(--transition);
    object-fit: contain;
}

.marquee-logo:hover {
    opacity: 1;
    filter: none;
}

/* --- SECTION HEADERS --- */
.section-header {
    max-width: 700px;
    margin: 0 auto 4rem auto;
    text-align: center;
}

.section-tag {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--gray);
}

/* --- WARUM WIR? (ADVANTAGES) --- */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.advantage-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-light);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.advantage-card:hover::before {
    transform: scaleX(1);
}

.advantage-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: var(--primary-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.advantage-card:hover .advantage-icon-box {
    background-color: var(--primary);
    color: var(--white);
}

.advantage-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.advantage-card p {
    font-size: 0.925rem;
    color: var(--gray);
    line-height: 1.5;
}

/* --- UNSERE LEISTUNGEN (SERVICES) --- */
.services-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.services-left {
    max-width: 500px;
}

.services-left .btn-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.services-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background-color: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.75rem;
    cursor: pointer;
    user-select: none;
    background-color: var(--white);
}

.accordion-title-box {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.accordion-title-icon {
    color: var(--primary);
    font-size: 1.2rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.accordion-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--dark);
}

.accordion-arrow {
    font-size: 0.8rem;
    color: var(--gray);
    transition: var(--transition);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background-color: var(--light);
}

.accordion-content-inner {
    padding: 1.25rem 1.75rem 1.75rem 1.75rem;
    font-size: 0.95rem;
    color: var(--gray-dark);
    border-top: 1px solid var(--border);
}

.accordion-item.active {
    border-color: var(--primary-light);
}

.accordion-item.active .accordion-header {
    background-color: var(--primary-bg);
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
    transition: max-height 1s cubic-bezier(1, 0, 1, 0);
}

/* --- STANDORTE (LOCATIONS) --- */
.locations-wrapper {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 3.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.locations-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.locations-intro {
    padding-right: 2rem;
}

.locations-intro h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.locations-intro p {
    color: var(--gray);
    margin-bottom: 2rem;
}

.locations-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.location-badge {
    background-color: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.location-badge.active {
    background-color: var(--primary-bg);
    border-color: var(--primary-light);
}

.location-badge.active .location-icon {
    background-color: var(--primary);
    color: var(--white);
}

.location-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: var(--white);
    color: var(--gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.location-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
}

.location-info p {
    font-size: 0.8rem;
    color: var(--gray);
    font-weight: 500;
}

.location-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* --- ANSPRUCH AUF UNTERSTÜTZUNG (CLAIMS) --- */
.claims-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 2rem;
}

.claim-card-large {
    grid-column: span 5;
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.claim-image-wrapper {
    grid-column: span 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    min-height: 350px;
}

.claim-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.claim-card-small-stack {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.claim-card-small {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.claim-card-large h3, .claim-card-small h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.claim-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.icon-teal {
    background-color: var(--primary-bg);
    color: var(--primary);
}

.icon-amber {
    background-color: var(--secondary-bg);
    color: var(--secondary);
}

.claim-val {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin: 0.5rem 0 1rem 0;
}

.claim-p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
}

/* --- STEP BY STEP --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: var(--gray-light);
    z-index: 1;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 2;
}

.step-number {
    width: 80px;
    height: 80px;
    background-color: var(--white);
    border: 3px solid var(--primary-light);
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.step-card:hover .step-number {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: scale(1.1);
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.step-desc {
    font-size: 0.925rem;
    color: var(--gray);
    max-width: 320px;
    margin: 0 auto;
}

.step-meta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.step-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* --- WETTBEWERBSVERGLEICH (COMPARISON TABLE) --- */
.table-wrapper {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    margin-top: 2rem;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.compare-table th {
    background-color: var(--light);
    padding: 1.5rem 2rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    border-bottom: 2px solid var(--gray-light);
}

.compare-table th.brand-col {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
}

.compare-table td {
    padding: 1.25rem 2rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    font-weight: 500;
}

.compare-table td.brand-col {
    background-color: rgba(15, 118, 110, 0.03);
    color: var(--primary);
    font-weight: 600;
    text-align: center;
    border-left: 2px solid rgba(15, 118, 110, 0.1);
    border-right: 2px solid rgba(15, 118, 110, 0.1);
}

.compare-table tr:last-child td {
    border-bottom: none;
}

.compare-table td.other-col {
    color: var(--gray);
    text-align: center;
}

.check-icon {
    color: #10b981;
    font-size: 1.25rem;
}

.cross-icon {
    color: #ef4444;
    font-size: 1.25rem;
}

/* --- FAQ SECTION --- */
.faq-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
}

.faq-sidebar {
    position: sticky;
    top: 120px;
    align-self: start;
}

.faq-sidebar h3 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.faq-sidebar p {
    color: var(--gray);
}

/* --- CALL TO ACTION (CTA) --- */
.cta {
    background-color: var(--primary);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 5rem 3.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.2) 0%, transparent 70%);
}

.cta-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cta-card {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: var(--white);
}

.cta-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.cta-card-info h4 {
    color: var(--white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.15rem;
}

.cta-card-info p {
    font-size: 1.35rem;
    font-weight: 700;
}

.cta-card-info a:hover {
    color: var(--secondary-light);
}

/* --- CONTACT PAGE --- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    margin-top: 2rem;
}

.contact-info-panel {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.contact-info-item {
    display: flex;
    gap: 1.25rem;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background-color: var(--primary-bg);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.contact-info-text p {
    color: var(--gray);
    font-size: 0.95rem;
}

.contact-form-panel {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border: 2px solid var(--gray-light);
    border-radius: var(--radius-md);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.15);
}

.form-checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.form-checkbox-group input[type="checkbox"] {
    accent-color: var(--primary);
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.form-checkbox-label {
    font-size: 0.85rem;
    color: var(--gray);
}

.form-checkbox-label a {
    color: var(--primary);
    font-weight: 500;
    text-decoration: underline;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 5rem 0 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 1.25rem;
}

.footer-logo .logo-icon {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-column h4 {
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-light);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-link:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-contact-item {
    display: flex;
    gap: 0.75rem;
}

.footer-contact-icon {
    color: var(--secondary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-link {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-legal-link:hover {
    color: var(--primary-light);
}

.mobile-cta-wrapper {
    display: none;
}

/* --- ANIMATIONS --- */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- RESPONSIVE BREAKPOINTS --- */
@media (max-width: 1024px) {
    .nav-menu {
        display: none; /* Mobile menu hidden by default */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        flex-direction: column;
        padding: 2.5rem 1.5rem;
        gap: 1.5rem;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--gray-light);
        text-align: center;
        z-index: 999;
    }
    .nav-menu.active {
        display: flex;
    }
    .nav-link {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        display: block;
        width: 100%;
    }
    .nav-link::after {
        display: none;
    }
    .nav-cta {
        display: none; /* Hide contact details in header for cleaner look on small devices */
    }
    .hamburger {
        display: flex;
    }
    .mobile-cta-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
        border-top: 1px solid var(--border);
        padding-top: 1.5rem;
        margin-top: 0.5rem;
    }
    .mobile-phone-link {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-weight: 700;
        font-size: 1.1rem;
        color: var(--gray-dark);
        margin-bottom: 0.5rem;
    }
    .mobile-phone-link:hover {
        color: var(--primary);
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    .badge-wrapper {
        justify-content: center;
    }
    .hero-bullets {
        align-items: center;
    }
    .hero-ctas {
        justify-content: center;
    }
    .services-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .services-left {
        max-width: 100%;
        text-align: center;
    }
    .services-left .btn-group {
        justify-content: center;
    }
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .locations-intro {
        padding-right: 0;
        text-align: center;
    }
    .claims-grid {
        display: flex;
        flex-direction: column;
    }
    .claim-image-wrapper {
        display: none; /* Hide illustrative image on mobile/tablet to save space */
    }
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .faq-sidebar {
        position: relative;
        top: 0;
        text-align: center;
    }
    .cta-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .cta-content {
        text-align: center;
    }
    .cta-actions {
        justify-content: center;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 4rem 0;
    }
    .hero-title {
        font-size: 2.25rem;
    }
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .steps-grid::before {
        display: none;
    }
    .locations-list {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .compare-table th:nth-child(3),
    .compare-table td:nth-child(3) {
        display: none; /* Hide 'other' columns on small devices to fit content */
    }
}

/* --- NEW STYLES FROM CLIENT REQUESTS --- */

/* 1. Hero background gradient */
.bg-gradient-hero {
    background: linear-gradient(135deg, #fffcf6 0%, #fef8eb 50%, #ffffff 100%);
    position: relative;
}

.hero-image-wrapper {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    width: 100%;
    height: 480px;
    border: 4px solid var(--white);
    transition: var(--transition-slow);
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.hero-image-wrapper:hover .hero-img {
    transform: scale(1.03);
}

/* 2. Relocated Calculator Section */
.calculator-section {
    padding: 6rem 0;
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
}

.calculator-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.calculator-text h2 {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.calculator-text p {
    color: var(--gray);
    font-size: 1.05rem;
    margin-bottom: 2rem;
}

.calculator-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.benefit-item-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefit-item-icon {
    width: 36px;
    height: 36px;
    background-color: var(--primary-bg);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.benefit-item-text h4 {
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

.benefit-item-text p {
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 0;
}

/* 3. Insurance Logo styles */
.insurance-logo-badge {
    height: 44px;
    padding: 0.5rem 1.25rem;
    background-color: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.insurance-logo-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.insurance-logo-badge svg {
    height: 100%;
    width: auto;
    max-width: 130px;
}

/* 4. Vertical Scroll Timeline */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0 auto;
    padding-left: 60px;
}

.timeline-line {
    position: absolute;
    left: 20px;
    top: 5px;
    bottom: 5px;
    width: 4px;
    background-color: var(--gray-light);
    border-radius: var(--radius-full);
}

.timeline-progress {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0%; /* Filled dynamically */
    background-color: var(--primary);
    border-radius: var(--radius-full);
    transition: height 0.1s ease-out;
}

.timeline-step {
    position: relative;
    margin-bottom: 4rem;
    opacity: 0.35;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-step.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-dot {
    position: absolute;
    left: -52px;
    top: 8px;
    width: 20px;
    height: 20px;
    background-color: var(--white);
    border: 4px solid var(--dark);
    border-radius: 4px; /* Square styling matching client document */
    z-index: 10;
    transition: var(--transition);
}

.timeline-step.active .timeline-dot {
    background-color: var(--primary);
    border-color: var(--primary-light);
    transform: scale(1.25) rotate(45deg);
    border-radius: 2px;
}

.timeline-content {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.timeline-content:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.timeline-step-meta {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}

.timeline-step-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background-color: var(--primary-bg);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(20, 184, 166, 0.15);
}

.timeline-step-meta-icon {
    font-size: 0.95rem;
    color: var(--primary-light);
}

/* 5. Financing Table Section */
.financing-section {
    padding: 6rem 0;
    background-color: var(--light);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.financing-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.financing-text h3 {
    font-size: 1.35rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.75rem;
}

.financing-text h2 {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
    line-height: 1.25;
}

.financing-text p {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.finance-table-wrapper {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    overflow-x: auto;
}

.finance-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 500px;
}

.finance-table th {
    background-color: var(--primary);
    color: var(--white);
    padding: 1.25rem 1rem;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.finance-table th:first-child {
    text-align: left;
    padding-left: 1.75rem;
}

.finance-table th:last-child {
    border-right: none;
}

.finance-table td {
    padding: 1.1rem 1rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    color: var(--dark);
    border-right: 1px solid var(--border);
}

.finance-table td:first-child {
    text-align: left;
    padding-left: 1.75rem;
    color: var(--gray-dark);
    font-weight: 500;
}

.finance-table td:last-child {
    border-right: none;
}

.finance-table tr:nth-child(even) {
    background-color: rgba(15, 118, 110, 0.02);
}

.finance-table tr:last-child td {
    border-bottom: none;
}

.finance-table tr:hover {
    background-color: rgba(15, 118, 110, 0.05);
}

.finance-table td.highlight-pg {
    color: var(--primary);
    font-weight: 700;
    background-color: rgba(20, 184, 166, 0.05);
}

/* 6. Career Onboarding Section */
.onboarding-section {
    padding: 6rem 0;
    background-color: var(--white);
    border-top: 1px solid var(--border);
}

.onboarding-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.onboarding-card {
    background-color: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.onboarding-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
    background-color: var(--white);
}

.onboarding-number {
    position: absolute;
    top: -15px;
    background-color: var(--primary);
    color: var(--white);
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    padding: 0.25rem 0.85rem;
    border-radius: var(--radius-full);
    border: 2px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.onboarding-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background-color: var(--primary-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
    transition: var(--transition);
}

.onboarding-card:hover .onboarding-icon-box {
    background-color: var(--primary);
    color: var(--white);
}

.onboarding-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.onboarding-card p {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.6;
}

/* Onboarding arrow separators on desktop */
@media (min-width: 1025px) {
    .onboarding-card:not(:last-child)::after {
        content: '→';
        position: absolute;
        right: -1rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 1.5rem;
        color: var(--primary-light);
        z-index: 10;
        pointer-events: none;
    }
}

/* Adjustments for smaller viewports */
@media (max-width: 1024px) {
    .calculator-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .calculator-text {
        max-width: 100%;
        text-align: center;
    }
    .calculator-benefits {
        align-items: center;
        max-width: 600px;
        margin: 0 auto;
    }
    .benefit-item-box {
        text-align: left;
    }
    
    .financing-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .financing-text {
        text-align: center;
    }
    
    .onboarding-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .timeline-container {
        padding-left: 45px;
    }
    .timeline-line {
        left: 15px;
    }
    .timeline-dot {
        left: -43px;
        top: 6px;
        width: 16px;
        height: 16px;
    }
    .timeline-content {
        padding: 1.5rem;
    }
    .timeline-step-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .onboarding-grid {
        grid-template-columns: 1fr;
    }
    .hero-image-wrapper {
        height: 320px;
    }
}

