@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Global Color System (Slate Navy & Vibrant Amber) */
    --primary: hsl(24, 100%, 50%);         /* Amber Orange */
    --primary-hover: hsl(24, 100%, 43%);
    --primary-light: hsla(24, 100%, 50%, 0.1);
    
    --slate-50: hsl(210, 40%, 98%);
    --slate-100: hsl(210, 40%, 96%);
    --slate-200: hsl(210, 30%, 90%);
    --slate-300: hsl(210, 20%, 80%);
    --slate-600: hsl(215, 16%, 47%);
    --slate-800: hsl(217, 19%, 27%);
    --slate-900: hsl(218, 19%, 18%);
    --slate-950: hsl(220, 25%, 10%);
    
    --success: hsl(150, 84%, 37%);
    --success-light: hsla(150, 84%, 37%, 0.15);
    --warning: hsl(40, 95%, 48%);
    --danger: hsl(350, 80%, 55%);
    --info: hsl(200, 90%, 45%);

    /* Dashboard-Statusfarben – identisch zu den Statuspunkten in der Anfrageliste
       (.status-new / .status-contacted / .status-offered / .status-done) */
    --color-text-dark: var(--slate-800);
    --color-status-new: var(--info);
    --color-status-contacted: var(--warning);
    --color-status-offered: var(--primary);
    --color-status-done: var(--success);

    /* Shadows & Border Radii */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 20px 35px -5px rgba(15, 23, 42, 0.12), 0 12px 16px -8px rgba(15, 23, 42, 0.04);
    --shadow-glow: 0 0 20px hsla(24, 100%, 50%, 0.25);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout Variables */
    --sidebar-width: 270px;
}

/* ==========================================================================
   Base reset & Utility
   ========================================================================== */
html {
    scrollbar-gutter: stable;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--slate-50);
    color: var(--slate-900);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--slate-950);
    font-weight: 700;
    line-height: 1.25;
}

/* ==========================================================================
   Global Button Component
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition);
}

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

.btn-primary:hover:not(:disabled) {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px hsla(24, 100%, 50%, 0.35);
}

.btn-primary:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.btn-secondary {
    background-color: white;
    border: 1px solid var(--slate-200);
    color: var(--slate-800);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--slate-100);
    border-color: var(--slate-300);
}

.btn-danger {
    background-color: transparent;
    border: 1px solid hsla(350, 80%, 55%, 0.3);
    color: var(--danger);
}

.btn-danger:hover {
    background-color: hsla(350, 80%, 55%, 0.08);
    border-color: var(--danger);
}

.btn-sm {
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
    border-radius: 6px;
}

/* ==========================================================================
   PUBLIC LANDING PAGE STYLING
   ========================================================================== */

.landing-page {
    background-color: #ffffff;
}

/* Landing Navigation Header */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 0.85rem 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1300px;
    left: 50%;
    transform: translateX(-50%);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.45rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    font-family: var(--font-heading);
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary), hsl(18, 95%, 45%));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.landing-page .logo {
    color: white;
}

.landing-page .nav-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.5rem 1.1rem;
    border-radius: 6px;
}

.landing-page .nav-link:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.landing-page .nav-link.active {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 1.8rem 2rem 1.5rem 2rem;
    min-height: 100vh; /* Cover full screen viewport vertically */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centered content vertically on load */
    align-items: center;
    overflow: hidden; /* Clips the overflow-vw width of the background */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    /* Combine gradient and background image on overlay */
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.72) 100%), url('images/hero_background.jpg');
    background-size: cover;
    background-position: center;
    z-index: 1;
    /* Center overlay using translate3d and apply GPU acceleration */
    transform: translate3d(-50%, 0, 0);
    will-change: transform;
    backface-visibility: hidden;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem; /* Increased to separate headlines from the card */
}

@media (max-width: 968px) {
    .hero-container {
        gap: 1.5rem;
        padding-top: 1.5rem;
    }
}

.hero-text-content {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 920px; /* Expanded so bullets fit on a single row */
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.hero-headline {
    font-size: 2.1rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.35rem;
    letter-spacing: -1px;
}

.hero-headline .highlight {
    color: var(--primary);
}

.hero-subheadline {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    line-height: 1.5;
    max-width: 720px;
}

.hero-bullets {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.bullet-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.95);
}

.bullet-check {
    color: var(--primary);
    font-weight: 900;
}

/* WIZARD CONTAINER OVERHAUL (White Box Premium) */
.hero-wizard-container {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.landing-page .glass-card {
    background-color: #ffffff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.9);
    padding: 2.2rem; /* Spacious premium card padding */
    width: 100%;
    height: 640px; /* Locked single height for all steps to prevent any resizing jumps */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .landing-page .glass-card {
        height: auto; /* Let card adapt naturally on mobile screens */
        min-height: 540px;
    }
}

.landing-page .glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), hsl(18, 95%, 45%));
}

.landing-page .wizard-title {
    color: var(--slate-950);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.landing-page .wizard-subtitle {
    color: var(--slate-600);
    font-size: 0.85rem;
}

/* Progress bar style */
.progress-bar-container {
    height: 5px;
    background-color: var(--slate-100);
    border-radius: 10px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary);
    width: 25%;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Step content container spacing */
.step-container {
    display: none;
    flex: 1; /* Take remaining vertical space inside glass-card */
    flex-direction: column;
    justify-content: center; /* Vertically center the content inside the fixed height */
}

.step-container.active {
    display: flex;
}

/* Horizontal slide transitions */
.step-container.exiting.slide-forward {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    animation: slideOutLeft 0.22s cubic-bezier(0.4, 0, 1, 1) forwards;
}

.step-container.active.slide-forward {
    animation: slideInRight 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.step-container.exiting.slide-backward {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    animation: slideOutRight 0.22s cubic-bezier(0.4, 0, 1, 1) forwards;
}

.step-container.active.slide-backward {
    animation: slideInLeft 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideOutLeft {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(-40px);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(40px);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Options Grid customization for Light mode */
.landing-page .options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.landing-page .option-card {
    background-color: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 0.95rem;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.landing-page .option-card:hover {
    background-color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.landing-page .option-card.selected {
    background-color: var(--primary-light);
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--primary-light);
}

.landing-page .option-icon {
    font-size: 1.6rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.landing-page .option-card.selected .option-icon {
    background-color: var(--primary);
    color: white;
}

.landing-page .option-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--slate-800);
}

/* Light form fields styling */
.form-group {
    margin-bottom: 1.1rem;
    text-align: left; /* Overrides inherited center-alignment from hero section */
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 0.5rem;
    display: block;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.landing-page input[type="text"],
.landing-page input[type="email"],
.landing-page input[type="tel"] {
    width: 100%;
    background-color: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1rem;
    color: var(--slate-900);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.landing-page textarea {
    width: 100%;
    background-color: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    padding: 1.1rem;
    color: var(--slate-900);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    transition: var(--transition);
    min-height: 220px;
    resize: vertical;
}

.landing-page input:focus,
.landing-page textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: white;
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* Light pill buttons */
.landing-page .pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.landing-page .pill-button {
    background-color: var(--slate-50);
    border: 1px solid var(--slate-200);
    color: var(--slate-800);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.landing-page .pill-button:hover {
    border-color: var(--primary);
    background-color: white;
}

.landing-page .pill-button.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

/* Success screen custom styling in light wizard */
.success-screen-inner {
    text-align: center;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.success-icon-wrap {
    width: 70px;
    height: 70px;
    background-color: var(--success-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
}

.success-main-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--slate-950);
}

.success-sub-text {
    color: var(--slate-600);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 380px;
    margin: 0 auto;
}

/* Wizard navigation row */
.landing-page .button-row {
    display: flex;
    margin-top: 1.5rem;
    gap: 1rem;
}

/* ==========================================================================
   PUBLIC LANDING SECTIONS
   ========================================================================== */

/* Layout Container */
.section-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.section-badge {
    display: inline-block;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}

.section-header h2 {
    font-size: 2.25rem;
    color: var(--slate-950);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--slate-600);
    font-size: 1.05rem;
}

/* 1. HOW IT WORKS */
.section-how {
    padding: 6rem 0;
    background-color: var(--slate-50);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.step-feature-card {
    background-color: white;
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--slate-200);
    position: relative;
    transition: var(--transition);
}

.step-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--slate-300);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    box-shadow: var(--shadow-glow);
}

.step-feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
    margin-top: 0.5rem;
}

.step-feature-card p {
    color: var(--slate-600);
    font-size: 0.95rem;
}

/* 2. VALUE PROPOSITION SECTION */
.section-benefits {
    padding: 6rem 0;
    background-color: white;
}

.benefits-container {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
    align-items: center;
}

@media (max-width: 900px) {
    .benefits-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .benefits-image-block {
        display: none;
    }
}

.benefits-image-block {
    height: 420px;
    background-image: url('images/craftsman_benefits.jpg');
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    position: relative;
    box-shadow: var(--shadow-lg);
}

.benefits-image-block::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.25) 0%, rgba(15, 23, 42, 0.45) 100%);
    border-radius: var(--radius-lg);
}

.benefits-stats-badge {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background-color: white;
    padding: 1.2rem 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    z-index: 5;
    border-left: 5px solid var(--primary);
}

.badge-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--slate-950);
    line-height: 1;
}

.badge-text {
    font-size: 0.85rem;
    color: var(--slate-600);
    font-weight: 600;
}

.benefits-accent-box {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background-color: var(--primary-light);
    border-radius: var(--radius-md);
    z-index: -1;
}

.benefits-text-block h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.benefits-text-block > p {
    color: var(--slate-600);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.benefit-item {
    display: flex;
    gap: 1.25rem;
}

.benefit-icon {
    font-size: 1.6rem;
    width: 50px;
    height: 50px;
    background-color: var(--slate-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-desc h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.benefit-desc p {
    color: var(--slate-600);
    font-size: 0.95rem;
}

/* 3. TESTIMONIALS SECTION */
.section-testimonials {
    padding: 6rem 0;
    background-color: var(--slate-900);
    color: white;
}

.section-testimonials .section-header h2 {
    color: white;
}

.section-testimonials .section-header p {
    color: var(--slate-300);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 868px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.testimonial-card {
    background-color: var(--slate-950);
    border-radius: var(--radius-md);
    padding: 2.2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-md);
}

.stars {
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.testi-text {
    font-size: 0.95rem;
    color: var(--slate-300);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testi-avatar-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testi-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.testi-user {
    display: flex;
    flex-direction: column;
}

.testi-user strong {
    font-size: 1rem;
    color: white;
}

.testi-user span {
    font-size: 0.8rem;
    color: var(--slate-400);
    font-weight: 500;
}

/* 4. PUBLIC FOOTER */
.landing-footer {
    background-color: var(--slate-950);
    color: white;
    padding: 5rem 0 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 2rem 3rem 2rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

.footer-brand p {
    color: var(--slate-300);
    font-size: 0.9rem;
    margin-top: 1.25rem;
    max-width: 320px;
}

.footer-links-col h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

.footer-links-col a {
    color: var(--slate-300);
    text-decoration: none;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.85rem;
    transition: var(--transition);
}

.footer-links-col a:hover {
    color: var(--primary);
    transform: translateX(3px);
}

.footer-bottom {
    max-width: 1200px;
    width: 100%;
    margin: 2rem auto 0 auto;
    padding: 0 2rem;
    text-align: center;
    color: var(--slate-600);
    font-size: 0.85rem;
}


/* ==========================================================================
   PARTNER DASHBOARD PAGES STYLING (Premium SaaS Dark UI)
   ========================================================================== */

.dashboard-page {
    background-color: var(--slate-50);
    color: var(--slate-800);
    display: flex;
    min-height: 100vh;
    overflow-x: hidden;
}

.dashboard-page h1,
.dashboard-page h2,
.dashboard-page h3,
.dashboard-page h4 {
    color: var(--slate-950);
}

/* 1. Sidebar Navigation (Left) */
.sidebar {
    width: var(--sidebar-width);
    background-color: white;
    border-right: 1px solid var(--slate-200);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    z-index: 100;
}

.sidebar-brand {
    padding: 1.8rem 1.75rem;
    border-bottom: 1px solid var(--slate-200);
}

.sidebar-brand .logo {
    color: var(--slate-950);
}

/* Sidebar profile card */
.sidebar-profile {
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid var(--slate-200);
}

.profile-avatar-placeholder {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), hsl(18, 95%, 45%));
    border-radius: 50%;
    color: white;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
}

.profile-info {
    display: flex;
    flex-direction: column;
}

.profile-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--slate-900);
    line-height: 1.25;
}

.profile-company {
    font-size: 0.75rem;
    color: var(--slate-500);
    margin-bottom: 0.25rem;
}

.profile-status-badge {
    align-self: flex-start;
    background-color: var(--success-light);
    color: var(--success);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.1rem 0.5rem;
    border-radius: 50px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Sidebar navigation links */
.sidebar-nav {
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex-grow: 1;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    color: var(--slate-600);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.sidebar-nav-link:hover {
    color: var(--primary);
    background-color: var(--slate-50);
}

.sidebar-nav-link.active {
    background-color: rgba(246, 115, 22, 0.05);
    color: var(--primary);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.sidebar-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--slate-200);
}

.sidebar-exit-btn {
    border: 1px solid var(--slate-200);
    color: var(--slate-600);
    background-color: var(--slate-50);
}

.sidebar-exit-btn:hover {
    background-color: var(--slate-100);
    color: var(--slate-900);
}

/* 2. Main Workspace (Right Side) */
.dashboard-content-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    height: 100vh;
    overflow-y: auto;
}

/* Dashboard Topbar */
.dashboard-top-navbar {
    padding: 1.8rem 3rem 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--slate-200);
    background-color: white;
}

@media (max-width: 768px) {
    .dashboard-top-navbar {
        padding: 1.5rem 2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .navbar-right {
        width: 100%;
    }
    .dashboard-actions {
        width: 100%;
        justify-content: space-between;
    }
}

.navbar-left h2 {
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--slate-900);
}

.navbar-subtext {
    font-size: 0.85rem;
    color: var(--slate-500);
}

.dashboard-main-area {
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (max-width: 768px) {
    .dashboard-main-area {
        padding: 1.5rem 2rem;
    }
}

/* Dashboard stat metrics cards */
.dashboard-page .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.dashboard-page .stat-card {
    background-color: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.dashboard-page .stat-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.dashboard-page .stat-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dashboard-page .stat-value {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--slate-900);
}

.dashboard-page .stat-trend {
    font-size: 0.75rem;
    color: var(--slate-500);
    font-weight: 500;
}

/* Dashboard Filter Bar */
.dashboard-page .filter-bar {
    display: flex;
    gap: 1.5rem;
    background-color: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.5rem;
    align-items: center;
}

@media (max-width: 600px) {
    .dashboard-page .filter-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .dashboard-page .filter-group {
        width: 100%;
        justify-content: space-between;
    }
}

.dashboard-page .filter-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dashboard-page .filter-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--slate-500);
    text-transform: uppercase;
}

.dashboard-page .select-compact {
    background-color: var(--slate-50);
    border: 1px solid var(--slate-200);
    color: var(--slate-800);
    padding: 0.4rem 1.5rem 0.4rem 0.75rem;
    font-size: 0.85rem;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
}

.dashboard-page .select-compact:focus {
    border-color: var(--primary);
    background-color: white;
}

/* CRM Workspace layout */
.dashboard-page .requests-layout {
    display: grid;
    grid-template-columns: 1.15fr 1.85fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .dashboard-page .requests-layout {
        grid-template-columns: 1fr;
    }
}

/* Fullscreen Detail View toggles */
.requests-layout.detail-view-active {
    grid-template-columns: 1fr;
}
.requests-layout.detail-view-active .requests-list {
    display: none;
}
.requests-layout.detail-view-active .request-detail-panel {
    min-height: 550px;
}
body.detail-active .stats-grid,
body.detail-active .filter-bar {
    display: none;
}

.detail-back-container {
    display: none;
    margin-bottom: 1.25rem;
    align-items: center;
}
.requests-layout.detail-view-active .detail-back-container {
    display: flex;
}
.btn-detail-back {
    background: none;
    border: none;
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0.5rem 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
}
.btn-detail-back:hover {
    color: hsl(18, 90%, 40%);
}

.dashboard-page .requests-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-height: 600px;
    overflow-y: auto;
}

/* List elements cards */
.dashboard-page .request-card {
    background-color: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.dashboard-page .request-card:hover {
    background-color: var(--slate-50);
    border-color: var(--slate-300);
    transform: translateX(3px);
}

.dashboard-page .request-card.active {
    background-color: rgba(246, 115, 22, 0.03);
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(246, 115, 22, 0.05);
}

.dashboard-page .request-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.6rem;
}

.dashboard-page .request-badge {
    background-color: rgba(246, 115, 22, 0.08);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.dashboard-page .request-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dashboard-page .status-new { background-color: var(--info); box-shadow: 0 0 8px var(--info); }
.dashboard-page .status-contacted { background-color: var(--warning); box-shadow: 0 0 8px var(--warning); }
.dashboard-page .status-offered { background-color: var(--primary); box-shadow: 0 0 8px var(--primary); }
.dashboard-page .status-done { background-color: var(--success); box-shadow: 0 0 8px var(--success); }

.dashboard-page .request-card-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--slate-900);
    margin-bottom: 0.4rem;
}

.dashboard-page .request-card-meta {
    font-size: 0.75rem;
    color: var(--slate-500);
    display: flex;
    gap: 1rem;
}

/* CRM DETAIL WORKSPACE CARD */
.dashboard-page .request-detail-panel {
    background-color: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    min-height: 480px;
    box-shadow: var(--shadow-sm);
}

.dashboard-page .panel-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--slate-500);
    text-align: center;
    padding: 6rem 2rem;
    gap: 1rem;
}

.dashboard-page .panel-placeholder h3 {
    font-size: 1.25rem;
    color: var(--slate-800);
}

.dashboard-page .panel-placeholder-icon {
    font-size: 3.5rem;
    opacity: 0.45;
    color: var(--slate-300);
}

/* Active Detail View layout */
.dashboard-page .detail-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.dashboard-page .detail-header {
    border-bottom: 1px solid var(--slate-200);
    padding-bottom: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.dashboard-page .detail-title h2 {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--slate-900);
}

.dashboard-page .detail-timestamp {
    font-size: 0.8rem;
    color: var(--slate-500);
    display: block;
    margin-top: 0.25rem;
}

.dashboard-page .status-dropdown-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dashboard-page .status-label-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--slate-500);
    text-transform: uppercase;
}

/* CRM Description vs metadata split grid */
.dashboard-page .detail-grid {
    display: grid;
    grid-template-columns: 1.55fr 1.45fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .dashboard-page .detail-grid {
        grid-template-columns: 1fr;
    }
}

.dashboard-page .detail-card-desc,
.dashboard-page .detail-card-info {
    background-color: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.dashboard-page .detail-section-title {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    color: var(--slate-500);
    border-bottom: 1px solid var(--slate-200);
    padding-bottom: 0.5rem;
    margin-bottom: 0.25rem;
}

.dashboard-page .detail-text {
    font-size: 0.95rem;
    color: var(--slate-800);
    line-height: 1.6;
    white-space: pre-wrap;
    word-break: break-word;
}

/* Customer metadata styling inside dashboard panel */
.dashboard-page .info-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dashboard-page .info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--slate-200);
    padding-bottom: 0.45rem;
    gap: 0.5rem;
}

.dashboard-page .info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.dashboard-page .info-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--slate-500);
}

.dashboard-page .info-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--slate-900);
    text-align: right;
    word-break: break-all;
}

/* Button group actions bar */
.dashboard-page .action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1rem;
    border-top: 1px solid var(--slate-200);
    padding-top: 1.5rem;
}

.dashboard-page .action-buttons a,
.dashboard-page .action-buttons button {
    flex: 1 1 150px;
    text-decoration: none;
    text-align: center;
}

/* ========================================================
   5. SWISS & FOOLPROOF FUNNEL EXTENSIONS
   ======================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 1rem;
}
.contact-grid .full-width {
    grid-column: span 10;
}
.contact-grid .half-width {
    grid-column: span 5;
}
.contact-grid .zip-width {
    grid-column: span 3;
}
.contact-grid .city-width {
    grid-column: span 7;
}

@media (max-width: 576px) {
    .contact-grid .half-width,
    .contact-grid .zip-width,
    .contact-grid .city-width {
        grid-column: span 10;
    }
}

.autocomplete-container {
    position: relative;
}

.autocomplete-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    z-index: 1000;
    max-height: 180px;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    margin-top: 4px;
}

.autocomplete-suggestion {
    padding: 0.75rem 1rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--slate-800);
    transition: background-color 0.2s, color 0.2s;
    border-bottom: 1px solid var(--slate-100);
    text-align: left;
}

.autocomplete-suggestion:last-child {
    border-bottom: none;
}

.autocomplete-suggestion:hover {
    background-color: rgba(246, 115, 22, 0.05);
    color: var(--primary);
}

.pill-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.pill-button-vertical {
    background-color: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.25rem;
    color: var(--slate-800);
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    font-family: inherit;
}

.pill-button-vertical:hover {
    background-color: white;
    border-color: var(--primary);
}

.pill-button-vertical.active {
    background-color: rgba(246, 115, 22, 0.05);
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(246, 115, 22, 0.1);
    color: var(--slate-950);
}

.btn-time-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--slate-900);
}

.btn-time-desc {
    font-size: 0.8rem;
    color: var(--slate-500);
    line-height: 1.4;
    font-weight: 500;
}

.btn-back-link {
    background: none;
    border: none;
    color: var(--slate-500);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.5rem 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
    outline: none;
}

.btn-back-link:hover {
    color: var(--slate-800);
}

/* Date input styling */
.date-input {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    color: var(--slate-900);
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    outline: none;
    font-family: inherit;
    transition: border-color 0.2s, background-color 0.2s;
}

.date-input:focus {
    border-color: var(--primary);
    background-color: white;
}

/* Trust Badges under Wizard Card */
.wizard-trust-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--slate-200);
    flex-wrap: wrap;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    color: var(--slate-500);
    font-weight: 600;
}

.trust-badge-item svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: var(--primary);
    stroke-width: 2.5;
}

/* Inline Form Validation Visuals */
.landing-page .form-group {
    position: relative;
}

.validation-status-icon {
    position: absolute;
    right: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    pointer-events: none;
    display: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.landing-page .form-group input + .validation-status-icon {
    top: 2.7rem;
}

.form-group.valid .validation-status-icon {
    display: block;
    opacity: 1;
    color: var(--success);
}

.form-group.invalid .validation-status-icon {
    display: block;
    opacity: 1;
    color: var(--danger);
}

/* Custom premium color and strokes for option-cards */
.landing-page .option-card svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: var(--primary);
    stroke-width: 1.5;
    transition: transform 0.3s ease, stroke 0.3s ease;
}

.landing-page .option-card:hover svg {
    transform: scale(1.1);
}

.landing-page .option-card.selected svg {
    stroke: white;
}

/* Custom premium color and strokes for pill-button-vertical inline SVGs */
.pill-button-vertical svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: var(--primary);
    stroke-width: 1.5;
    flex-shrink: 0;
}

.btn-time-title svg {
    stroke: var(--primary);
}

/* Progress-text helper next to step count */
.step-helper-text {
    font-size: 0.8rem;
    color: var(--slate-400);
    font-weight: 600;
    float: right;
}

/* End of Wizard Styles */

/* Dynamic Questions Grid Layout */
.dynamic-questions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.dynamic-questions-grid .pill-button {
    width: 100%;
    padding: 0.95rem 1.2rem;
    border-radius: var(--radius-md);
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin: 0;
    box-shadow: var(--shadow-sm);
    background-color: var(--slate-50);
    border: 1px solid var(--slate-200);
    color: var(--slate-800);
    cursor: pointer;
    transition: var(--transition);
}

.dynamic-questions-grid .pill-button:hover {
    border-color: var(--primary);
    background-color: white;
    transform: translateY(-1px);
}

.dynamic-questions-grid .pill-button.active {
    background-color: rgba(246, 115, 22, 0.05);
    border-color: var(--primary);
    color: var(--slate-950);
    box-shadow: 0 0 0 2px rgba(246, 115, 22, 0.1);
}

@media (max-width: 600px) {
    .dynamic-questions-grid {
        grid-template-columns: 1fr;
    }
}

/* Vertical Height Media Queries for Smaller Desktop Resolutions (Laptop Screen Optimization) */
@media (min-width: 769px) and (max-height: 850px) {
    .main-header {
        padding: 0.5rem 2rem;
    }
    
    .hero-section {
        padding: 1.5rem 2rem 1rem 2rem;
    }
    
    .hero-container {
        gap: 0.5rem;
    }
    
    .hero-badge {
        margin-bottom: 0.3rem;
        padding: 0.2rem 0.6rem;
        font-size: 0.72rem;
    }
    
    .hero-headline {
        font-size: 1.95rem;
        margin-bottom: 0.35rem;
    }
    
    .hero-subheadline {
        margin-bottom: 0.35rem;
        font-size: 0.88rem;
    }
    
    .landing-page .glass-card {
        height: 590px; /* Locked height for all steps on smaller height viewports */
        padding: 1.5rem 2.2rem;
    }
}

/* ==========================================================================
   LEGAL PAGES STYLES (Impressum & Datenschutz)
   ========================================================================== */
.legal-page-container {
    max-width: 850px;
    margin: 8rem auto 6rem auto;
    padding: 0 2rem;
    color: var(--slate-800);
}

.legal-page-container h1 {
    font-size: 2.6rem;
    color: var(--slate-950);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.legal-page-container h2 {
    font-size: 1.45rem;
    color: var(--slate-900);
    margin-top: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    border-bottom: 1px solid var(--slate-200);
    padding-bottom: 0.5rem;
}

.legal-page-container p, 
.legal-page-container li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--slate-600);
    margin-bottom: 1.1rem;
}

.legal-page-container ul {
    margin-left: 1.5rem;
    margin-bottom: 1.25rem;
    list-style-type: disc;
}

.legal-page-container li {
    margin-bottom: 0.5rem;
}

.legal-page-container strong {
    color: var(--slate-900);
}

/* Success Toast Animation */
@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100px);
        opacity: 0;
    }
}

.checkbox-card input[type="checkbox"]:checked + .checkbox-icon + .checkbox-label {
    color: var(--primary);
}

.checkbox-card:has(input[type="checkbox"]:checked) {
    border-color: var(--primary) !important;
    background-color: var(--primary-light) !important;
}

/* Center header logo text and hide icon on mobile screens */
@media (max-width: 768px) {
    .landing-page .main-header {
        position: absolute;
        justify-content: center;
        padding: 1.1rem 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        z-index: 100;
    }
    
    .landing-page .logo-icon {
        display: none;
    }
    
    .landing-page .logo {
        flex-direction: row;
        text-align: center;
        font-size: 1.3rem;
    }

    /* Hero Section Mobile Polish */
    .hero-section {
        padding: 5rem 1rem 2rem 1rem;
        min-height: auto;
    }

    .hero-container {
        gap: 1.1rem;
    }

    .hero-headline {
        font-size: 1.55rem;
        line-height: 1.25;
        margin-bottom: 0.4rem;
    }

    .hero-subheadline {
        font-size: 0.85rem;
        line-height: 1.45;
        margin-bottom: 0.5rem;
    }

    .hero-bullets {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.45rem;
        text-align: left;
        display: inline-flex;
    }

    .bullet-item {
        font-size: 0.82rem;
    }

    /* Wizard Glass Card Mobile Polish */
    .landing-page .glass-card {
        padding: 1.25rem 1rem;
        height: auto;
        min-height: 480px;
        border-radius: var(--radius-md);
    }

    .wizard-title {
        font-size: 1.15rem;
    }

    .wizard-subtitle {
        font-size: 0.8rem;
    }

    .options-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .landing-page .option-card {
        padding: 0.75rem 0.4rem;
        gap: 0.3rem;
        border-radius: var(--radius-sm);
    }

    .landing-page .option-icon {
        width: 36px;
        height: 36px;
    }

    .landing-page .option-title {
        font-size: 0.82rem;
        line-height: 1.25;
    }

    .dynamic-questions-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .dynamic-questions-grid .pill-button {
        padding: 0.75rem 0.85rem;
        min-height: 46px;
        font-size: 0.85rem;
    }

    .wizard-trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 0.45rem;
        margin-top: 0.85rem;
        padding-top: 0.75rem;
    }

    .trust-badge-item {
        font-size: 0.75rem;
    }

    /* Partner Dashboard Mobile Overhaul */
    .dashboard-page {
        flex-direction: column;
    }
    
    .dashboard-page .sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--slate-200);
    }
    
    .dashboard-page .sidebar-brand,
    .dashboard-page .sidebar-profile,
    .dashboard-page .sidebar-footer {
        display: none !important;
    }
    
    .dashboard-page .sidebar-nav {
        flex-direction: row;
        justify-content: space-around;
        padding: 0.5rem;
        gap: 0.25rem;
    }
    
    .dashboard-page .sidebar-nav-link {
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        padding: 0.5rem 0.25rem;
        font-size: 0.72rem;
        text-align: center;
        flex: 1;
        border-left: none;
    }
    
    .dashboard-page .sidebar-nav-link .nav-icon {
        font-size: 1.2rem;
    }
    
    .dashboard-page .sidebar-nav-link.active {
        border-left: none;
        border-bottom: 3px solid var(--primary);
        border-radius: 0;
        background-color: transparent;
    }
    
    .dashboard-page .dashboard-content-wrapper {
        height: auto;
    }
    
    .dashboard-page .dashboard-top-navbar {
        padding: 1.1rem 1.25rem !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 0.5rem !important;
    }
    
    .dashboard-page .dashboard-top-navbar h2 {
        font-size: 1.2rem !important;
    }
    
    .dashboard-page .dashboard-top-navbar .navbar-subtext {
        font-size: 0.75rem !important;
    }
    
    .dashboard-page .dashboard-actions {
        width: auto !important;
        gap: 0.5rem !important;
    }
    
    .dashboard-page .dashboard-main-area {
        padding: 1.1rem 1.25rem !important;
        gap: 1.25rem !important;
    }
    
    .dashboard-page .filter-bar {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    
    .dashboard-page .filter-group {
        width: 100% !important;
    }
    
    .dashboard-page .select-compact {
        width: 100% !important;
    }

    .dashboard-page .settings-form-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
    
    .dashboard-page .settings-checkbox-grid {
        grid-template-columns: 1fr !important;
    }
    
    .dashboard-page .requests-layout {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   LEGAL PAGES HEADER & RESPONSIVENESS OVERRIDES
   ========================================================================== */
.legal-header {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    padding: 1.25rem 2rem;
    background-color: var(--slate-900);
    z-index: 100;
}

.legal-header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.legal-back-btn {
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
    text-decoration: none;
    white-space: nowrap;
}

.legal-page-container h1 {
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

@media (max-width: 768px) {
    .legal-page-container {
        margin: 5.5rem auto 3.5rem auto;
        padding: 0 1.25rem;
    }
    
    .legal-page-container h1 {
        font-size: 1.7rem !important;
        line-height: 1.3;
    }
    
    .legal-page-container h2 {
        font-size: 1.25rem !important;
        margin-top: 1.5rem;
    }
}

@media (max-width: 576px) {
    .legal-header {
        padding: 1rem 1.25rem;
    }
    
    .legal-back-btn {
        padding: 0.45rem 0.75rem;
        font-size: 0.75rem;
    }
    
    .legal-header .logo {
        font-size: 1.15rem;
        gap: 0.5rem;
    }
    
    .legal-header .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}
