/* ==========================================================================
   STE-Harvolk Meisterbetrieb - Haupt-Stylesheet (Dezente Premium-Edition)
   Modernes, barrierearmes und minimalistisch-elegantes Design
   DSGVO-konform, optimiert für Light- & Dark-Mode
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. FARBSYSTEM & THEME-VARIABLEN
   -------------------------------------------------------------------------- */
:root {
    /* Markenfarben inspiriert vom STE-Logo (Dezenter, feiner abgestimmt) */
    --brand-red: #c9341b;
    --brand-orange: #d9531e;
    --brand-gold: #e59008;
    --brand-yellow: #f59e0b;
    
    --brand-gradient: linear-gradient(135deg, #e59008 0%, #d9531e 60%, #c9341b 100%);
    --brand-gradient-hover: linear-gradient(135deg, #f59e0b 0%, #ea580c 60%, #dc2626 100%);
    --brand-gradient-subtle: linear-gradient(135deg, rgba(217, 83, 30, 0.08) 0%, rgba(229, 144, 8, 0.05) 100%);
    --brand-glow: rgba(217, 83, 30, 0.15);

    /* Light Mode: Sanftes, nicht grelles Off-White / Mattes Grau */
    --bg-primary: #f5f6f8;
    --bg-secondary: #ebedf2;
    --bg-tertiary: #e3e6ec;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    
    /* Feine, dezente Haarlinien */
    --border-color: rgba(15, 23, 42, 0.07);
    --border-color-hover: rgba(217, 83, 30, 0.3);
    
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-inverse: #ffffff;

    --navbar-bg: rgba(245, 246, 248, 0.94);
    --navbar-border: rgba(15, 23, 42, 0.06);
    
    /* Dezente Schatten statt fetter Glows */
    --card-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.02);
    --card-shadow-hover: 0 6px 18px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.03);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --transition-fast: 0.15s ease;
    --transition-base: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode Theme: Dunkles Schiefer, augenschonend */
[data-theme="dark"] {
    --bg-primary: #0e131d;
    --bg-secondary: #141b29;
    --bg-tertiary: #1a2335;
    --bg-card: #131a28;
    --bg-card-hover: #172133;

    --border-color: rgba(255, 255, 255, 0.06);
    --border-color-hover: rgba(217, 83, 30, 0.35);

    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-muted: #8492a6;
    --text-inverse: #0e131d;

    --navbar-bg: rgba(14, 19, 29, 0.94);
    --navbar-border: rgba(255, 255, 255, 0.06);

    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 4px 12px rgba(0, 0, 0, 0.2);
    --card-shadow-hover: 0 6px 18px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2);
    --brand-glow: rgba(217, 83, 30, 0.2);
}

/* --------------------------------------------------------------------------
   2. BASICS & TYPOGRAFIE
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-base), color var(--transition-base);
    padding-bottom: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

p {
    color: var(--text-secondary);
}

a {
    color: var(--brand-orange);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--brand-red);
}

/* Utility Klassen */
.text-gradient {
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-primary-color {
    color: var(--text-primary) !important;
}

.text-highlight {
    color: var(--brand-orange) !important;
}

.bg-secondary-theme {
    background-color: var(--bg-secondary) !important;
}

.bg-tertiary-theme {
    background-color: var(--bg-tertiary) !important;
}

/* --------------------------------------------------------------------------
   3. NAVIGATION & HEADER
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: var(--navbar-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--navbar-border);
    transition: background-color var(--transition-base), border-color var(--transition-base);
}

.navbar-brand-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

/* Header-Logo ohne Text: elegant und kompakt */
.navbar-logo-img {
    height: 38px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

.navbar-brand-text {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.navbar-brand-badge {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--brand-orange);
    background: var(--brand-gradient-subtle);
    border: 1px solid var(--border-color);
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
    margin-left: 6px;
}

.navbar-brand-wrapper:hover .navbar-logo-img {
    transform: scale(1.03);
}

.nav-link-custom {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 0.45rem 0.85rem !important;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.nav-link-custom:hover {
    color: var(--brand-orange) !important;
    background-color: var(--brand-gradient-subtle);
}

/* Theme Toggle Button */
.theme-toggle-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.theme-toggle-btn:hover {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
    transform: rotate(15deg);
}

/* Header Action Buttons */
.btn-cta-phone {
    background: var(--brand-gradient);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.88rem;
    border: none;
    padding: 0.5rem 1.15rem;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    box-shadow: 0 2px 8px var(--brand-glow);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-cta-phone:hover {
    background: var(--brand-gradient-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(217, 83, 30, 0.3);
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   4. HERO SEKTION (DEZENT & OHNE KÜNSTLICHES PANEL)
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    padding: 4.5rem 0 3.5rem;
    background: radial-gradient(circle at 50% 0%, rgba(217, 83, 30, 0.03) 0%, transparent 70%),
                var(--bg-primary);
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--brand-orange);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: var(--card-shadow);
}

.hero-title {
    font-size: clamp(2.1rem, 4.2vw, 3.2rem);
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 1.25rem;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 1.12rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 680px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
    margin-bottom: 2.25rem;
}

.btn-hero-primary {
    background: var(--brand-gradient);
    color: #ffffff !important;
    font-size: 0.98rem;
    font-weight: 600;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    box-shadow: 0 4px 12px var(--brand-glow);
    transition: all var(--transition-fast);
    border: none;
}

.btn-hero-primary:hover {
    background: var(--brand-gradient-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(217, 83, 30, 0.3);
}

.btn-hero-secondary {
    background-color: var(--bg-card);
    color: var(--text-primary) !important;
    font-size: 0.98rem;
    font-weight: 500;
    padding: 0.8rem 1.6rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-fast);
}

.btn-hero-secondary:hover {
    border-color: var(--border-color-hover);
    color: var(--brand-orange) !important;
    transform: translateY(-1px);
}

.hero-trust-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.trust-item svg {
    color: var(--brand-orange);
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   5. PARTNER & GÜTESIEGEL (SAUBERE VEKTOR-CARDS OHNE WEISSE KÄSTEN)
   -------------------------------------------------------------------------- */
.partner-section {
    padding: 3rem 0;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.partner-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem 0.75rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-base);
}

.partner-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-color-hover);
    box-shadow: var(--card-shadow-hover);
}

/* Nahtlose Vektor-Container ohne harte weiße Rahmen */
.partner-logo-wrapper {
    height: 52px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    background: transparent;
    padding: 2px 6px;
}

.partner-logo-wrapper img,
.partner-logo-wrapper svg {
    max-height: 44px;
    max-width: 100%;
    object-fit: contain;
    transition: transform var(--transition-fast);
}

.partner-card:hover .partner-logo-wrapper img,
.partner-card:hover .partner-logo-wrapper svg {
    transform: scale(1.05);
}

.partner-label-pre {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.2;
    display: block;
    margin-bottom: 1px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.partner-label-title {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

/* --------------------------------------------------------------------------
   6. LEISTUNGSSPEKTRUM MIT GROSSEN BACKGROUND-ICONS
   -------------------------------------------------------------------------- */
.services-section {
    padding: 4.5rem 0;
}

.section-tag {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-orange);
    display: inline-block;
    margin-bottom: 0.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 1.8rem;
    height: 100%;
    box-shadow: var(--card-shadow);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-color-hover);
    box-shadow: var(--card-shadow-hover);
}

/* Großes Background-Icon oben links (Watermark-Look - SVG & FontAwesome) */
.service-bg-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 140px;
    height: 140px;
    font-size: 115px;
    line-height: 1;
    opacity: 0.08;
    color: var(--brand-orange);
    pointer-events: none;
    transition: opacity var(--transition-base), transform var(--transition-base);
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .service-bg-icon {
    opacity: 0.14;
}

.service-card:hover .service-bg-icon {
    opacity: 0.22;
    transform: scale(1.05) rotate(-2deg);
}

/* Vordergrund-Inhalt der Karte */
.service-content-wrapper {
    position: relative;
    z-index: 1;
}

.service-badge {
    display: inline-block;
    background: var(--bg-secondary);
    color: var(--brand-orange);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.8rem;
    border: 1px solid var(--border-color);
}

.service-card-title {
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.service-feature-list {
    list-style: none;
    padding: 0;
    margin: 1.15rem 0 0 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.service-feature-list li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.45rem;
}

.service-feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-orange);
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   7. ÜBER UNS & MEISTERBETRIEB
   -------------------------------------------------------------------------- */
.about-section {
    padding: 4.5rem 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.4rem 1rem;
    text-align: center;
    box-shadow: var(--card-shadow);
}

.stats-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.stats-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   8. KONTAKT & ERREICHBARKEIT
   -------------------------------------------------------------------------- */
.contact-section {
    padding: 4.5rem 0;
}

.contact-action-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.6rem 2.2rem;
    text-align: center;
    transition: all var(--transition-base);
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    box-shadow: var(--card-shadow);
    position: relative;
    overflow: hidden;
}

.contact-action-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
    box-shadow: var(--card-shadow-hover);
}

/* Großes Background-Icon mittig oben (SVG & FontAwesome) */
.contact-bg-icon {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 110px;
    font-size: 85px;
    line-height: 1;
    opacity: 0.07;
    color: var(--brand-orange);
    pointer-events: none;
    transition: opacity var(--transition-base), transform var(--transition-base);
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

[data-theme="dark"] .contact-bg-icon {
    opacity: 0.12;
}

.contact-action-card:hover .contact-bg-icon {
    opacity: 0.20;
    transform: translateX(-50%) scale(1.08);
}

.contact-content-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
}

.contact-action-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.contact-action-val {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-orange);
    margin-bottom: 0.45rem;
    word-break: break-all;
}

.contact-action-sub {
    font-size: 0.84rem;
    color: var(--text-muted);
}

/* Notfall Callout */
.emergency-callout {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-left: 3px solid var(--brand-red);
    border-radius: var(--radius-sm);
    padding: 1.25rem 1.5rem;
    margin-top: 2rem;
    box-shadow: var(--card-shadow);
}

/* --------------------------------------------------------------------------
   10. FAQ & AKKORDEON
   -------------------------------------------------------------------------- */
.faq-section {
    padding: 4.5rem 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
}

.accordion-custom .accordion-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md) !important;
    margin-bottom: 0.85rem;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.accordion-custom .accordion-button {
    background-color: var(--bg-card);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.98rem;
    padding: 1.15rem 1.4rem;
    box-shadow: none;
}

.accordion-custom .accordion-button:not(.collapsed) {
    color: var(--brand-orange);
    background-color: var(--bg-secondary);
}

.accordion-custom .accordion-body {
    background-color: var(--bg-card);
    color: var(--text-secondary);
    padding: 1.15rem 1.4rem;
    line-height: 1.65;
    font-size: 0.92rem;
}

/* --------------------------------------------------------------------------
   11. FOOTER & LEGAL (ELEGANTE EDITION)
   -------------------------------------------------------------------------- */
.site-footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 4.5rem 0 2.5rem;
    color: var(--text-secondary);
    font-size: 0.88rem;
    position: relative;
}

.footer-brand-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    letter-spacing: -0.01em;
}

.footer-heading {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.55rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
    font-size: 0.88rem;
}

.footer-links a:hover {
    color: var(--brand-orange);
    text-decoration: none;
    padding-left: 2px;
}

.footer-badge-pill {
    font-size: 0.72rem;
    font-weight: 500;
    padding: 0.25rem 0.65rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-color) 20%, var(--border-color) 80%, transparent 100%);
    margin: 3.5rem 0 1.75rem;
}

.footer-bottom {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Legal Cards (Impressum / Datenschutz) */
.legal-page-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.legal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
}

.contact-mini-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

/* --------------------------------------------------------------------------
   12. MOBILE STICKY CONTACT BAR
   -------------------------------------------------------------------------- */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background-color: var(--navbar-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-color);
    padding: 0.65rem 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.08);
}

.mobile-sticky-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.mobile-sticky-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    text-align: center;
}

.mobile-sticky-call {
    background: var(--brand-gradient);
    color: #ffffff !important;
}

.mobile-sticky-mail {
    background-color: var(--bg-card);
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color);
}

@media (max-width: 767.98px) {
    .mobile-sticky-bar {
        display: block;
    }
    body {
        padding-bottom: 68px;
    }
}

/* --------------------------------------------------------------------------
   13. ANIMATIONEN & SCROLL REVEAL
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }

/* --------------------------------------------------------------------------
   14. MOBILE FULLSCREEN OVERLAY NAVIGATION
   -------------------------------------------------------------------------- */
body.overlay-scroll-lock {
    overflow: hidden !important;
    touch-action: none;
}

/* Untere Sticky-Bar bei geöffnetem Fullscreen Overlay komplett ausblenden */
body.overlay-scroll-lock .mobile-sticky-bar {
    display: none !important;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background-color: var(--bg-primary);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem 1.5rem 2rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-base), visibility var(--transition-base);
    overflow-y: auto;
}

.mobile-nav-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-overlay-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.btn-close-overlay {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: var(--radius-full);
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
}

.btn-close-overlay:hover {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
    transform: rotate(90deg);
}

.mobile-overlay-menu {
    list-style: none;
    padding: 1.5rem 0;
    margin: auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
}

.mobile-overlay-link {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-block;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.mobile-overlay-link:hover,
.mobile-overlay-link:active {
    color: var(--brand-orange);
    transform: scale(1.04);
}

.mobile-overlay-footer {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}