/* ==========================================================================
   HD Gutachterbüro Premium Light Frontend Design System
   ========================================================================== */

:root {
    /* Color Tokens - Ultra Premium Minimalist Corporate WordPress Style */
    --clr-dark: 0, 0%, 100%;          /* Pure White #ffffff */
    --clr-dark-alt: 210, 40%, 98%;   /* Soft light backdrop #f8fafc */
    --clr-light: 215, 28%, 17%;       /* Headings Dark Charcoal #1e293b */
    --clr-gray: 215, 16%, 47%;        /* Main Body Text Color #64748b */
    --clr-accent-blue: 221, 83%, 53%; /* Premium Astra Corporate Blue #2563eb */
    --clr-accent-hover: 224, 76%, 48%;/* Astra Blue Hover #1d4ed8 */
    --clr-accent-red: 221, 83%, 53%;  
    --clr-accent-gold: 224, 76%, 48%; 
    --clr-border: 214, 32%, 91%;      /* Soft clean border #e2e8f0 */
    
    /* Typography */
    --ff-primary: 'Outfit', sans-serif;
    --ff-secondary: 'Inter', sans-serif;
    
    /* Shadow & Border Radius */
    --br-sm: 8px;
    --br-md: 12px;
    --br-lg: 20px;
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.02), 0 2px 8px rgba(0, 0, 0, 0.01);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.06), 0 10px 20px -10px rgba(15, 23, 42, 0.04);
}

/* Base Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--ff-secondary);
    background-color: hsl(var(--clr-dark));
    color: hsl(var(--clr-gray));
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ff-primary);
    font-weight: 700;
    color: hsl(var(--clr-light));
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Layout Utilities */
.section {
    padding: 5.5rem 1.5rem;
}

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

.text-gradient-red {
    color: hsl(var(--clr-accent-blue));
}

.text-gradient-gold {
    color: hsl(var(--clr-accent-hover));
}

/* Premium Top Bar (Hidden for visual simplicity) */
.top-bar {
    display: none;
}

/* Glassmorphism Navigation (Light Mode) */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(var(--clr-border));
    padding: 0.6rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    height: 85px;
}

.navbar-brand-custom {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--ff-primary);
    font-size: 1.5rem;
    font-weight: 800;
    color: hsl(var(--clr-light));
}

.navbar-brand-custom img {
    height: 68px !important;
    width: auto !important;
    object-fit: contain !important;
}

.navbar-brand-custom i {
    color: hsl(var(--clr-accent-blue));
}

.navbar-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.navbar-link {
    font-family: var(--ff-primary);
    font-weight: 500;
    font-size: 0.95rem;
    color: hsl(var(--clr-light));
    position: relative;
    padding: 0.25rem 0;
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: hsl(var(--clr-accent-blue));
    transition: width 0.3s;
}

.navbar-link:hover::after {
    width: 100%;
}

.navbar-link:hover {
    color: hsl(var(--clr-accent-blue));
}

.nav-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Premium Buttons */
.btn-premium {
    font-family: var(--ff-primary);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--br-sm);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}

.btn-accent {
    background: linear-gradient(135deg, hsl(var(--clr-accent-blue)) 0%, hsl(var(--clr-accent-hover)) 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(138, 186, 211, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(138, 186, 211, 0.5);
}

.btn-outline {
    background: transparent;
    color: hsl(var(--clr-light));
    border: 2px solid hsl(var(--clr-accent-blue));
}

.btn-outline:hover {
    border-color: hsl(var(--clr-accent-hover));
    background: rgba(138, 186, 211, 0.08);
    color: hsl(var(--clr-accent-hover));
}

/* CSS Hover Dropdown for Navigation */
.nav-dropdown {
    position: relative;
}
.dropdown-menu-custom {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #ffffff;
    border: 1px solid hsl(var(--clr-border));
    border-radius: var(--br-sm);
    padding: 0.75rem 0;
    min-width: 260px;
    list-style: none;
    display: none;
    box-shadow: var(--shadow-lg);
    z-index: 1020;
}
.dropdown-menu-custom li a {
    display: flex;
    align-items: center;
    padding: 0.7rem 1.5rem;
    font-size: 0.92rem;
    color: hsl(var(--clr-light));
    transition: all 0.25s;
    font-family: var(--ff-primary);
    font-weight: 500;
}
.dropdown-menu-custom li a:hover {
    background: rgba(138, 186, 211, 0.08);
    color: hsl(var(--clr-accent-hover));
    padding-left: 1.75rem;
}
.nav-dropdown:hover .dropdown-menu-custom {
    display: block;
    transform: translateX(-50%) translateY(0);
    animation: fadeInSlide 0.25s forwards;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Hero Section */
.hero-section {
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.04) 0%, rgba(248, 250, 252, 1) 70%);
    padding-top: 7.5rem;
    padding-bottom: 3.5rem;
    position: relative;
}

/* Premium Rebuilt Simplified Hero Card */
.hero-card-wrapper {
    background: #ffffff;
    border: 1px solid hsl(var(--clr-border));
    border-radius: var(--br-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    width: 100%;
}

.hero-card-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-card-left {
    display: flex;
    flex-direction: column;
}

.hero-card-title {
    font-size: 2.35rem;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    color: hsl(var(--clr-accent-blue));
    font-weight: 800;
}

.hero-card-subtitle {
    color: hsl(var(--clr-gray));
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 2rem;
}

.hero-phone-cta a {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    text-decoration: none;
    transition: transform 0.3s;
}

.hero-phone-cta a:hover {
    transform: scale(1.02);
}

.hero-phone-cta i {
    font-size: 2.2rem;
    color: #ff9800;
}

.hero-phone-cta span {
    font-family: var(--ff-primary);
    font-size: 2.1rem;
    font-weight: 800;
    color: #ff9800;
}

.hero-card-right {
    display: flex;
    flex-direction: column;
    background: hsl(var(--clr-dark-alt));
    border: 1px solid hsl(var(--clr-border));
    border-radius: var(--br-md);
    padding: 2rem;
}

.hero-services-title {
    font-family: var(--ff-primary);
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    color: hsl(var(--clr-light));
}

.hero-services-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-services-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.hero-services-list i {
    font-size: 1.1rem;
    color: #ff9800;
    margin-top: 0.25rem;
}

.hero-services-list span {
    font-size: 0.95rem;
    color: hsl(var(--clr-gray));
    line-height: 1.5;
}

.hero-bold-footer {
    font-family: var(--ff-primary);
    font-weight: 700;
    color: hsl(var(--clr-light));
    font-size: 1rem;
    border-top: 1px solid hsl(var(--clr-border));
    padding-top: 1rem;
    margin-top: 0.5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: hsl(var(--clr-light));
}

.hero-subtitle {
    color: hsl(var(--clr-gray));
    font-size: 1.15rem;
    margin-bottom: 2rem;
    max-width: 650px;
}

.hero-checklist {
    list-style: none;
    margin-bottom: 2.5rem;
}

.hero-checklist li {
    position: relative;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: hsl(var(--clr-gray));
}

.hero-checklist i {
    color: hsl(var(--clr-accent-blue));
    font-size: 1.25rem;
    margin-top: 0.15rem;
}

/* Accident Reporter Form (Schaden online melden) */
.reporter-form-wrapper {
    background: #ffffff;
    border: 1px solid hsl(var(--clr-border));
    border-radius: var(--br-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}

.form-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
}

.form-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: hsl(var(--clr-border));
    z-index: 1;
    transform: translateY(-50%);
}

.step-indicator {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid hsl(var(--clr-border));
    color: hsl(var(--clr-gray));
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.step-indicator.active {
    border-color: hsl(var(--clr-accent-blue));
    background: hsl(var(--clr-accent-blue));
    color: #ffffff;
    box-shadow: 0 0 12px rgba(138, 186, 211, 0.4);
}

.form-group-custom {
    margin-bottom: 1.5rem;
}

.form-label-custom {
    display: block;
    font-family: var(--ff-primary);
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
    color: hsl(var(--clr-light));
}

.form-input-custom {
    width: 100%;
    background: #ffffff;
    border: 1px solid hsl(var(--clr-border));
    border-radius: var(--br-sm);
    padding: 0.85rem 1rem;
    color: hsl(var(--clr-light));
    font-family: var(--ff-secondary);
    font-size: 0.95rem;
    transition: all 0.3s;
}

.form-input-custom:focus {
    outline: none;
    border-color: hsl(var(--clr-accent-blue));
    box-shadow: 0 0 0 3px rgba(138, 186, 211, 0.15);
}

/* Service Card Design */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.card-premium {
    background-color: #ffffff;
    border: 1px solid hsl(var(--clr-border));
    border-radius: var(--br-md);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.card-premium:hover {
    transform: translateY(-6px);
    border-color: hsl(var(--clr-accent-blue));
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.05);
}

.learn-more-link:hover {
    color: #ffb74d !important;
    gap: 0.75rem !important;
}

.card-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.card-premium:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-content {
    padding: 1.75rem;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: hsl(var(--clr-light));
}

.card-text {
    color: var(--clr-gray);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Process Section (Ablauf) */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.process-step-card {
    background: #ffffff;
    border: 1px solid hsl(var(--clr-border));
    border-radius: var(--br-md);
    padding: 2.25rem 1.75rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.process-step-card:hover {
    transform: translateY(-3px);
    border-color: hsl(var(--clr-accent-blue));
    box-shadow: var(--shadow-md);
}

.process-step-num {
    font-size: 2.8rem;
    font-family: var(--ff-primary);
    font-weight: 800;
    color: hsl(var(--clr-accent-blue));
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.85;
}

.process-step-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: hsl(var(--clr-light));
}

.process-step-desc {
    font-size: 0.92rem;
    color: hsl(var(--clr-gray));
}

/* Local SEO Coverage Areas */
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-top: 3rem;
}

.city-badge {
    background: hsl(var(--clr-dark-alt));
    border: 1px solid hsl(var(--clr-border));
    border-radius: var(--br-sm);
    padding: 1rem 1.5rem;
    text-align: center;
    font-weight: 600;
    transition: all 0.3s;
    font-family: var(--ff-primary);
    color: hsl(var(--clr-light));
    display: block;
}

.city-badge:hover {
    border-color: hsl(var(--clr-accent-blue));
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
    color: hsl(var(--clr-accent-hover));
}

/* FAQ Accordion (Light Mode) */
.faq-accordion-wrapper {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: #ffffff;
    border: 1px solid hsl(var(--clr-border));
    border-radius: var(--br-sm);
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: hsl(var(--clr-accent-blue));
}

.faq-question {
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-family: var(--ff-primary);
    color: hsl(var(--clr-light));
}

.faq-question i {
    color: hsl(var(--clr-accent-blue));
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: hsl(var(--clr-gray));
    display: none;
    font-size: 0.95rem;
    border-top: 1px solid hsl(var(--clr-border));
    padding-top: 1rem;
}

/* Two-column layout helper for FAQ & Kontakt pages */
.page-layout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    margin-top: 3rem;
}

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

/* Sidebar Info Card */
.sidebar-info-card {
    background: hsl(var(--clr-dark-alt));
    border: 1px solid hsl(var(--clr-border));
    border-radius: var(--br-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid hsl(var(--clr-border));
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--clr-accent-blue));
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.info-item-content h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: hsl(var(--clr-light));
}

.info-item-content p {
    font-size: 0.9rem;
    color: hsl(var(--clr-gray));
}

/* Call to Action Banner */
.cta-banner {
    background: linear-gradient(135deg, hsl(var(--clr-accent-blue)) 0%, hsl(var(--clr-accent-hover)) 100%);
    border-radius: var(--br-md);
    padding: 3.5rem 2.5rem;
    text-align: center;
    color: #ffffff;
    margin-top: 5rem;
    box-shadow: var(--shadow-md);
}

.cta-banner h2 {
    color: #ffffff;
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

/* Footer & Legal */
.footer-custom {
    background-color: hsl(var(--clr-dark-alt));
    border-top: 1px solid hsl(var(--clr-border));
    padding: 5rem 1.5rem 2.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
}

.footer-logo {
    font-family: var(--ff-primary);
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--clr-light));
}

.footer-logo i {
    color: hsl(var(--clr-accent-blue));
}

.footer-col-title {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: hsl(var(--clr-light));
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: hsl(var(--clr-accent-blue));
}

.footer-list {
    list-style: none;
}

.footer-list li {
    margin-bottom: 0.85rem;
}

.footer-list a {
    color: hsl(var(--clr-gray));
    font-size: 0.92rem;
    transition: all 0.3s;
}

.footer-list a:hover {
    color: hsl(var(--clr-accent-blue));
    padding-left: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid hsl(var(--clr-border));
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: hsl(var(--clr-gray));
    font-size: 0.88rem;
}

/* Service Detail Page layout */
.service-details-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3.5rem;
    margin-top: 3rem;
}

.service-content {
    background: #ffffff;
}

.service-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
}
.service-content h3:first-child {
    margin-top: 0;
}

.service-content h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.service-content p {
    font-size: 1.02rem;
    color: hsl(var(--clr-gray));
    margin-bottom: 1.5rem;
}

.service-content ul {
    list-style-type: none;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
}

.service-content ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    color: hsl(var(--clr-gray));
}

.service-content ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: hsl(var(--clr-accent-blue));
}

.sidebar-menu {
    list-style: none;
    background: hsl(var(--clr-dark-alt));
    border: 1px solid hsl(var(--clr-border));
    border-radius: var(--br-md);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.sidebar-menu-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: hsl(var(--clr-light));
    border-bottom: 1px solid hsl(var(--clr-border));
    padding-bottom: 0.5rem;
}

.sidebar-menu li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: var(--br-sm);
    color: hsl(var(--clr-light));
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: #ffffff;
    border: 1px solid hsl(var(--clr-border));
}

.sidebar-menu li a:hover, .sidebar-menu li.active a {
    background: hsl(var(--clr-accent-blue));
    color: #ffffff;
    border-color: hsl(var(--clr-accent-blue));
}

/* Mobile Toggle Button */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1050;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.hamburger-bar {
    width: 24px;
    height: 2px;
    background-color: hsl(var(--clr-light));
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mobile-nav-toggle.active .hamburger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.active .hamburger-bar:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.active .hamburger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Glassmorphism Backdrop Overlay */
.navbar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(17, 21, 24, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.navbar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive Grid Adjustments */
@media (max-width: 992px) {
    .navbar-custom {
        top: 0;
        height: 70px;
        padding: 0.5rem 1.5rem;
    }
    
    .navbar-brand-custom img {
        height: 48px !important;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
    
    /* Sliding Navigation Drawer */
    .navbar-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: #ffffff;
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 1000;
        overflow-y: auto;
    }
    
    .navbar-links.active {
        right: 0;
    }
    
    .navbar-links li {
        width: 100%;
    }
    
    .navbar-link {
        font-size: 1.08rem;
        font-weight: 600;
        display: block;
        padding: 0.6rem 0;
        border-bottom: 1px solid hsl(var(--clr-border));
        width: 100%;
    }
    
    .navbar-link::after {
        display: none;
    }
    
    /* Mobile Dropdown */
    .dropdown-menu-custom {
        position: static;
        transform: none !important;
        box-shadow: none;
        border: none;
        padding: 0.5rem 0 0.5rem 1rem;
        display: none;
        min-width: unset;
        width: 100%;
        animation: none;
        background: transparent;
    }
    
    .nav-dropdown.open .dropdown-menu-custom {
        display: block;
    }
    
    .dropdown-menu-custom li a {
        padding: 0.6rem 0;
        font-size: 0.95rem;
        border-bottom: 1px dashed hsl(var(--clr-border));
    }
    
    .dropdown-menu-custom li a:hover {
        padding-left: 0.5rem;
        background: transparent;
        color: hsl(var(--clr-accent-hover));
    }
    
    .nav-cta {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 1rem;
        margin-top: 1rem;
    }
    
    .nav-cta .btn-premium {
        width: 100%;
        justify-content: center;
    }
    
    .nav-cta .btn-outline {
        display: none;
    }

    /* Hero section responsiveness */
    .hero-section {
        padding-top: 6.5rem;
        padding-bottom: 2.5rem;
        min-height: auto;
    }
    
    .hero-card-wrapper {
        padding: 2rem;
    }
    
    .hero-card-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .hero-card-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .hero-phone-cta span {
        font-size: 1.6rem;
    }
    
    .hero-phone-cta i {
        font-size: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .service-details-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 6rem;
    }
    
    .hero-card-wrapper {
        padding: 1.5rem;
        border-radius: var(--br-md);
    }
    
    .hero-card-title {
        font-size: 1.5rem;
    }
    
    .hero-phone-cta span {
        font-size: 1.35rem;
    }
    
    .hero-phone-cta i {
        font-size: 1.5rem;
    }
    
    .hero-card-right {
        padding: 1.25rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ==========================================================================
   Process Section Styles (Der Ablauf)
   ========================================================================== */
.process-grid-container {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 5rem;
    align-items: center;
}

.process-visual-column {
    position: relative;
    width: 100%;
}

.process-image-wrapper {
    position: relative;
    width: 90%;
    margin-right: auto;
    padding-bottom: 2rem;
}

.process-image-offset-bg {
    position: absolute;
    top: 25px;
    left: -25px;
    width: calc(100% - 25px);
    height: calc(100% - 25px);
    background-color: #8abac8; /* Premium blue-gray color matching the screenshot */
    border-radius: var(--br-sm);
    z-index: 1;
}

.process-image-wrapper img {
    position: relative;
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--br-sm);
    box-shadow: var(--shadow-md);
    z-index: 2;
    object-fit: cover;
}

.process-content-column {
    padding-left: 0;
}

.process-section-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: hsl(var(--clr-light));
    margin-bottom: 1rem;
    font-family: var(--ff-primary);
}

.process-section-subtitle {
    font-size: 1.05rem;
    line-height: 1.65;
    color: hsl(var(--clr-gray));
    margin-bottom: 3rem;
    max-width: 600px;
}

.process-steps-vertical {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.process-step-row {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.process-step-num {
    font-size: 2rem;
    font-weight: 800;
    color: #ff9800; /* Orange highlight for steps */
    font-family: var(--ff-primary);
    line-height: 1.1;
    min-width: 45px;
    flex-shrink: 0;
}

.process-step-info h5 {
    font-size: 1.3rem;
    font-weight: 700;
    color: hsl(var(--clr-light));
    margin-bottom: 0.5rem;
    font-family: var(--ff-primary);
}

.process-step-info p {
    font-size: 0.96rem;
    line-height: 1.65;
    color: hsl(var(--clr-gray));
    margin: 0;
}

/* Responsiveness for Process Section */
@media (max-width: 992px) {
    .process-grid-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .process-image-wrapper {
        width: 85%;
        margin: 0 auto;
        padding-bottom: 0;
    }
    
    .process-image-offset-bg {
        top: 20px;
        left: -20px;
        width: calc(100% - 20px);
        height: calc(100% - 20px);
    }
    
    .process-content-column {
        padding-left: 0;
    }
    
    .process-section-title {
        font-size: 2.3rem;
        margin-bottom: 0.75rem;
    }
    
    .process-section-subtitle {
        margin-bottom: 2.5rem;
    }
}

@media (max-width: 576px) {
    .process-image-wrapper {
        width: 95%;
    }
    
    .process-step-row {
        gap: 1.25rem;
    }
    
    .process-step-num {
        font-size: 1.65rem;
        min-width: 35px;
    }
    
    .process-step-info h5 {
        font-size: 1.15rem;
    }
}

/* Custom mobile navigation spacing fixes to prevent overlay overlaps */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 8.5rem !important;
    }
    .index2-hero {
        padding-top: 8.5rem !important;
    }
    /* Fixed navbar might overlap the top banner section of other pages too */
    .section[style*="padding-top: 10rem"] {
        padding-top: 8.5rem !important;
    }
}

/* Partner Logos Footer Section */
.footer-partners {
    margin-top: 2.5rem;
    margin-bottom: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-partners-title {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
    font-family: var(--ff-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.footer-partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-partner-badge {
    background: #ffffff;
    padding: 8px 20px;
    border-radius: 8px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease, filter 0.3s ease;
    opacity: 0.45;
    filter: grayscale(100%);
}

.footer-partner-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    opacity: 1;
    filter: none;
}

.footer-partner-badge img {
    height: 100%;
    width: auto;
    object-fit: contain;
    max-height: 52px;
}

@media (max-width: 576px) {
    .footer-partners-grid {
        gap: 1rem;
    }
    .footer-partner-badge {
        height: 54px;
        padding: 6px 14px;
    }
    .footer-partner-badge img {
        max-height: 42px;
    }
}


