/* --- Local Google Fonts (Outfit) for 100% DSGVO & GDPR Compliance --- */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/outfit-v11-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/outfit-v11-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/outfit-v11-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/outfit-v11-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/outfit-v11-latin-700.woff2') format('woff2');
}

/* ==========================================================================
   MY-WOHNART.DE - PREMIUM ARCHITECTURAL DESIGN SYSTEM
   ========================================================================== */

/* --- CSS Variables / Tokens --- */
:root {
    /* Color Palette - Bright Architectural Luxury Harmonized with Logo (Azure Blue #008CF9, Gold #E5C158, Crimson #FF0008) */
    --bg-dark: #0F1218;
    --bg-card: rgba(22, 27, 36, 0.78);
    --bg-card-hover: rgba(28, 35, 48, 0.90);
    --bg-glass: rgba(15, 18, 24, 0.72);
    
    /* Logo Color Accents */
    --accent-gold: #E5C158;
    --accent-gold-bright: #F5D36B;
    --accent-gold-glow: rgba(229, 193, 88, 0.28);

    --accent-blue: #008CF9;
    --accent-blue-bright: #38A6FF;
    --accent-blue-glow: rgba(0, 140, 249, 0.25);
    
    --accent-red: #FF1A25;
    --accent-red-subtle: #E63946;
    --accent-red-glow: rgba(255, 26, 37, 0.20);

    /* Luxury Logo Tri-Color Gradients */
    --gradient-logo-harmony: linear-gradient(135deg, rgba(0, 140, 249, 0.18) 0%, rgba(229, 193, 88, 0.20) 50%, rgba(255, 26, 37, 0.12) 100%);
    --gradient-gold-cta: linear-gradient(135deg, #F5D36B 0%, #CFA533 100%);
    
    --text-main: #FFFFFF;
    --text-muted: #CBD5E1;
    --text-dim: #94A3B8;
    
    --border-light: rgba(255, 255, 255, 0.14);
    --border-gold: rgba(229, 193, 88, 0.40);
    --border-blue: rgba(0, 140, 249, 0.35);

    /* Fonts */
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    /* Transitions & Shadows */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.45), 0 0 25px rgba(0, 140, 249, 0.12);
    --shadow-gold: 0 12px 35px -10px rgba(229, 193, 88, 0.40);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

.nobr {
    white-space: nowrap;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Layout Containers --- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    position: relative;
    padding: 6rem 0;
    border-top: 1px solid rgba(229, 193, 88, 0.22);
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 45%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-gold-bright) 50%, transparent 100%);
    box-shadow: 0 0 15px var(--accent-gold-bright);
    z-index: 5;
}

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

.section-tag {
    display: inline-block;
    color: var(--accent-gold);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-sans);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
    letter-spacing: -0.5px;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* --- Buttons & Badges --- */
.badge {
    display: inline-block;
    background: var(--gradient-logo-harmony);
    border: 1px solid var(--border-gold);
    color: var(--accent-gold-bright);
    padding: 0.45rem 1.3rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 140, 249, 0.08);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all var(--transition-smooth);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--gradient-gold-cta);
    color: #0A0D12;
    font-weight: 600;
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-gold-bright) 0%, var(--accent-gold) 100%);
    transform: translateY(-2px);
    box-shadow: 0 15px 35px -10px rgba(212, 175, 55, 0.45), 0 5px 15px rgba(0, 140, 249, 0.2);
}

.btn-outline {
    background: transparent;
    border-color: var(--border-light);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1.1rem 2.2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* --- Header / Navigation --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all var(--transition-smooth);
}

.site-header.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    padding: 0.85rem 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--text-main);
    transition: transform var(--transition-fast);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
    transition: transform var(--transition-fast);
}

.logo:hover .logo-img {
    transform: rotate(-3deg) scale(1.05);
}

.logo-text {
    display: inline-flex;
    align-items: center;
}

.logo-accent {
    color: var(--text-muted);
    font-weight: 400;
}

.logo-dot {
    color: var(--accent-red-subtle);
}

.header-contact-bar {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.header-contact-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1.1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-light);
    border-radius: 50px;
    font-size: 0.88rem;
    color: var(--text-main);
    transition: all var(--transition-fast);
}

.header-contact-item:hover {
    background: rgba(197, 160, 89, 0.12);
    border-color: var(--border-gold);
    color: var(--accent-gold-bright);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.15);
}

.header-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    transition: transform var(--transition-fast);
}

.header-contact-item:hover .header-contact-icon {
    transform: scale(1.1);
}

.header-contact-text {
    font-weight: 500;
    letter-spacing: 0.3px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition-fast);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 6rem;
    background-image: url('Images/hero_oldenburg_modern.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 13, 18, 0.65) 0%,
        rgba(10, 13, 18, 0.35) 45%,
        rgba(10, 13, 18, 0.60) 100%
    );
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 880px;
    background: rgba(15, 18, 24, 0.62);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 3rem 3.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.45), 
                0 0 35px rgba(0, 140, 249, 0.18);
}

.hero-title {
    font-family: var(--font-sans);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 0.85rem;
    letter-spacing: -0.5px;
    color: #FFFFFF;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.8);
}

.hero-subtitle-seo {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent-gold-bright);
    letter-spacing: 1.8px;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    line-height: 1.4;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #E2E8F0;
    margin-bottom: 2.5rem;
    max-width: 720px;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
}

/* --- Services Section (Buttonbereich: 4 in a row) --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.service-card-link {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 2.2rem 1.6rem;
    border-radius: 18px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Glass Sheen / Specular Light Reflection Sweep on Hover */
.service-card-link::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -150%;
    width: 220%;
    height: 220%;
    background: linear-gradient(
        115deg,
        transparent 0%,
        rgba(255, 255, 255, 0.02) 40%,
        rgba(255, 255, 255, 0.22) 50%,
        rgba(255, 255, 255, 0.02) 60%,
        transparent 100%
    );
    transform: rotate(25deg);
    transition: left 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 2;
}

.service-card-link:hover::before {
    left: 110%;
}

.service-card-link:hover {
    background: linear-gradient(160deg, rgba(28, 35, 48, 0.95) 0%, rgba(18, 22, 30, 0.95) 100%);
    border-color: var(--accent-gold);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 45px -10px rgba(0, 0, 0, 0.6), 
                0 0 30px rgba(0, 140, 249, 0.25), 
                0 0 15px rgba(229, 193, 88, 0.2);
}

.service-icon {
    width: 58px;
    height: 58px;
    background: rgba(0, 140, 249, 0.12);
    border: 1px solid var(--border-blue);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue-bright);
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-link:hover .service-icon {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #0066CC 100%);
    color: #FFFFFF;
    border-color: var(--accent-gold-bright);
    transform: scale(1.12) rotate(-3deg);
    box-shadow: 0 12px 25px rgba(0, 140, 249, 0.45);
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.service-card-link:hover h3 {
    color: var(--accent-gold-bright);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-gold-bright);
    font-size: 0.88rem;
    font-weight: 600;
    margin-top: 1.5rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card-link:hover .service-link-btn {
    color: #FFFFFF;
    transform: translateX(6px);
}

.service-card-link:hover .service-link-btn svg {
    transform: translateX(4px);
    stroke: var(--accent-gold-bright);
}

/* --- About Section --- */
.about-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #12151B 100%);
    border-y: 1px solid var(--border-light);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.about-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-main);
}

.about-visual {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-card-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-gold);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: var(--shadow-premium);
    position: relative;
}

.quote-symbol {
    font-family: var(--font-sans);
    font-size: 5rem;
    line-height: 1;
    color: var(--accent-gold);
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 20px;
}

.quote-text {
    font-family: var(--font-sans);
    font-size: 1.3rem;
    font-weight: 500;
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.quote-author {
    display: block;
    color: var(--accent-gold);
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- Portfolio Section --- */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.portfolio-image-placeholder {
    height: 380px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-1 {
    background-image: linear-gradient(to top, rgba(13,15,18,0.9), transparent 60%), radial-gradient(circle at center, #2C3240, #14171E);
}
.project-2 {
    background-image: linear-gradient(to top, rgba(13,15,18,0.9), transparent 60%), radial-gradient(circle at center, #3A3228, #14171E);
}
.project-3 {
    background-image: linear-gradient(to top, rgba(13,15,18,0.9), transparent 60%), radial-gradient(circle at center, #222B27, #14171E);
}

.portfolio-card:hover .portfolio-image-placeholder {
    transform: scale(1.04);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(13, 15, 18, 0.95), transparent);
}

.portfolio-cat {
    color: var(--accent-gold);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.25rem;
}

.portfolio-title {
    font-size: 1.3rem;
    font-weight: 600;
}

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

.process-step {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 2rem;
    border-radius: 12px;
    position: relative;
}

.step-num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    opacity: 0.8;
    margin-bottom: 1rem;
}

.process-step h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Contact Section --- */
.contact-section {
    background: linear-gradient(180deg, #12151B 0%, var(--bg-dark) 100%);
}
/* --- Contact Section (Kostenlose Erstberatung Box) --- */
.contact-box-centered {
    max-width: 880px;
    margin: 0 auto;
}

.contact-box-glass {
    background: linear-gradient(135deg, rgba(22, 27, 36, 0.92) 0%, rgba(14, 17, 23, 0.95) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-gold);
    padding: 4rem 3rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.6), 
                0 0 35px rgba(229, 193, 88, 0.18),
                0 0 45px rgba(0, 140, 249, 0.12);
    position: relative;
    overflow: hidden;
}

.badge-free {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-gold-bright) 0%, var(--accent-gold) 100%);
    color: #0A0D12;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(229, 193, 88, 0.4);
}

.contact-box-title {
    font-family: var(--font-sans);
    font-size: 2.6rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.contact-box-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto 2.5rem auto;
}

.contact-action-bar {
    margin-bottom: 2.5rem;
}

.contact-btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    background: var(--gradient-gold-cta);
    color: #0A0D12;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 1.25rem 2.8rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: var(--shadow-gold), 0 0 25px rgba(0, 140, 249, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-btn-main:hover {
    transform: translateY(-4px) scale(1.03);
    background: linear-gradient(135deg, #FFF2A3 0%, var(--accent-gold-bright) 100%);
    box-shadow: 0 20px 40px -10px rgba(229, 193, 88, 0.6), 0 0 35px rgba(0, 140, 249, 0.4);
}

.contact-direct-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
}

.contact-direct-item {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.contact-direct-item svg {
    color: var(--accent-gold-bright);
}

.contact-direct-item:hover {
    color: var(--accent-gold-bright);
    transform: translateY(-2px);
}

/* --- Footer --- */
.site-footer {
    position: relative;
    background: #090B0E;
    border-top: 1px solid rgba(229, 193, 88, 0.25);
    padding: 4rem 0 0 0;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 45%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-gold-bright) 50%, transparent 100%);
    box-shadow: 0 0 15px var(--accent-gold-bright);
    z-index: 5;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 300px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-col h4 {
    color: var(--text-main);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col li {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* --- Responsive Layout Adjustments --- */
@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
}

@media (max-width: 1024px) {
    .subpage-hero {
        padding-top: 4.8rem;
        padding-bottom: 1.5rem;
    }

    .subpage-header-content {
        padding: 1.25rem 1.1rem;
        border-radius: 14px;
    }

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

    .subpage-intro {
        font-size: 0.98rem;
        line-height: 1.6;
    }
}

@media (max-width: 992px) {
    .header-contact-bar {
        gap: 0.75rem;
    }

    .header-contact-item {
        padding: 0.45rem 0.85rem;
        font-size: 0.82rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }
    
    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* --- Unified Mobile Responsive Optimizations --- */
@media (max-width: 768px) {
    /* Base Section Spacing */
    .section {
        padding: 3rem 0;
    }

    .service-details-section {
        padding: 3rem 0;
    }

    /* Container Padding */
    .container {
        padding: 0 1.15rem;
    }

    /* Header */
    .site-header {
        padding: 0.55rem 0;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0.5rem;
    }

    .logo-img {
        height: 34px;
    }

    .logo-text {
        font-size: 1.35rem;
    }

    .header-contact-bar {
        flex-wrap: nowrap;
        gap: 0.45rem;
    }

    .header-contact-item {
        padding: 0;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        justify-content: center;
    }

    .header-contact-text {
        display: none;
    }

    /* Hero & Subpage Banners */
    .hero {
        padding-top: 5.5rem;
        padding-bottom: 3.5rem;
    }

    .hero-content {
        padding: 2rem 1.35rem;
        border-radius: 16px;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.25;
        margin-bottom: 0.85rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-subtitle-seo {
        font-size: 0.88rem;
        letter-spacing: 1px;
        margin-bottom: 0.85rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 0;
        line-height: 1.6;
    }

    .subpage-hero {
        padding-top: 4.5rem;
        padding-bottom: 1.25rem;
    }

    .back-link {
        font-size: 0.78rem;
        margin-bottom: 0.5rem;
    }

    .subpage-header-content {
        padding: 1.15rem 1rem;
        border-radius: 14px;
        width: 100%;
        box-sizing: border-box;
    }

    .subpage-title {
        font-size: 1.2rem;
        line-height: 1.25;
        margin-bottom: 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .subpage-intro {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* Section Headers */
    .section-header {
        margin-bottom: 2rem;
    }

    .section-tag {
        font-size: 0.78rem;
        letter-spacing: 1.5px;
        margin-bottom: 0.5rem;
    }

    .section-title {
        font-size: 1.65rem;
        line-height: 1.25;
        margin-bottom: 0.75rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .section-description {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    /* 4 Service Cards Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .service-card {
        padding: 1.25rem 1rem;
        border-radius: 14px;
    }

    .service-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 0.75rem;
    }

    .service-icon svg {
        width: 20px;
        height: 20px;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.4rem;
    }

    .service-card p {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 0.75rem;
    }

    .service-link-btn {
        font-size: 0.8rem;
    }

    /* Detail Cards (Subpages: Maler, Fassaden, Boden, Bäder, Impressum, Datenschutz) */
    .service-details-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        margin-bottom: 2rem;
    }

    .detail-card {
        padding: 1rem 0.85rem;
        border-radius: 12px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .detail-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }

    .detail-icon svg {
        width: 18px;
        height: 18px;
    }

    .detail-card h2 {
        font-size: 1.05rem;
        font-weight: 600;
        margin-bottom: 0.4rem;
        word-wrap: break-word;
    }

    .detail-card h3 {
        font-size: 0.98rem;
        font-weight: 600;
        margin-bottom: 0.35rem;
        word-wrap: break-word;
    }

    .detail-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .detail-list {
        margin-bottom: 0.75rem;
        gap: 0.4rem;
    }

    .detail-list li {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Process Steps (01, 02, 03, 04) */
    .process-grid {
        gap: 0.75rem;
        margin-top: 1.25rem;
    }

    .process-step {
        padding: 1.15rem 1rem;
        border-radius: 10px;
    }

    .step-num {
        font-size: 1.3rem;
        margin-bottom: 0.3rem;
    }

    .process-step h3 {
        font-size: 1.02rem;
        margin-bottom: 0.3rem;
    }

    .process-step p {
        font-size: 0.88rem;
        line-height: 1.5;
    }

    /* Contact Box */
    .contact-box-glass {
        padding: 1.85rem 1.15rem;
        border-radius: 16px;
    }

    .badge-free {
        font-size: 0.7rem;
        padding: 0.3rem 0.85rem;
        margin-bottom: 0.85rem;
        letter-spacing: 1px;
    }

    .contact-box-title {
        font-size: 1.55rem;
        line-height: 1.25;
        margin-bottom: 0.75rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .contact-box-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.35rem;
    }

    .contact-action-bar {
        margin-bottom: 1.5rem;
    }

    .contact-btn-main {
        font-size: 0.92rem;
        padding: 0.8rem 1.25rem;
        border-radius: 40px;
        gap: 0.5rem;
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
    }

    .contact-btn-main svg {
        width: 18px;
        height: 18px;
    }

    .contact-direct-links {
        gap: 0.85rem;
        flex-direction: column;
        align-items: center;
        padding-top: 1.25rem;
    }

    .contact-direct-item {
        font-size: 0.9rem;
    }

    /* Subpage CTA Box */
    .subpage-cta-box {
        padding: 1.65rem 1.15rem;
        border-radius: 16px;
    }

    .subpage-cta-box h2 {
        font-size: 1.35rem;
        margin-bottom: 0.65rem;
    }

    .subpage-cta-box p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }

    .cta-actions {
        gap: 0.5rem;
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        justify-content: center;
    }

    /* Buttons Scaling */
    .btn {
        padding: 0.6rem 1.15rem;
        font-size: 0.85rem;
    }

    .btn-lg {
        padding: 0.7rem 1.3rem;
        font-size: 0.88rem;
    }

    /* Slideshow & Lightbox */
    .slideshow-section {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }

    .slideshow-wrapper {
        padding: 0;
    }

    .slide-nav,
    .lightbox-nav {
        display: none !important;
    }

    .slide-item {
        height: 270px;
        border-radius: 12px;
    }

    .slideshow-controls-bottom {
        gap: 0.85rem;
        margin-top: 1.5rem;
    }

    .slideshow-counter-badge {
        font-size: 0.82rem;
        padding: 0.35rem 1.1rem;
    }

    /* Footer */
    .site-footer {
        padding: 2.5rem 0 0 0;
    }

    .footer-container {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .footer-brand p {
        font-size: 0.85rem;
    }

    .footer-bottom {
        padding: 1.25rem 0;
        font-size: 0.8rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .form-group-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Extra Small Screens (Smartphones under 480px width) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .subpage-title {
        font-size: 1.08rem;
    }

    .subpage-intro {
        font-size: 0.82rem;
        line-height: 1.48;
    }

    .section-title {
        font-size: 1.45rem;
    }

    .contact-box-title {
        font-size: 1.4rem;
    }

    .detail-card h2 {
        font-size: 1.2rem;
    }
}

/* --- Subpage Styling (Malerarbeiten.html) --- */
.subpage-hero {
    position: relative;
    padding-top: 8.5rem;
    padding-bottom: 4.5rem;
    background-image: url('Images/malerarbeiten_bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
}

.subpage-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 13, 18, 0.72) 0%,
        rgba(10, 13, 18, 0.42) 50%,
        rgba(10, 13, 18, 0.68) 100%
    );
    z-index: 1;
}

.subpage-hero .container {
    position: relative;
    z-index: 2;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-gold-bright);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
    transition: transform var(--transition-fast);
}

.back-link:hover {
    transform: translateX(-4px);
    color: var(--accent-blue-bright);
}

.subpage-header-content {
    max-width: 880px;
    background: rgba(15, 18, 24, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 3rem 3.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.45), 
                0 0 35px rgba(0, 140, 249, 0.18);
}

.subpage-title {
    font-family: var(--font-sans);
    font-size: clamp(1.15rem, 2.5vw, 1.85rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
    color: #FFFFFF;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.subpage-intro {
    font-size: clamp(0.92rem, 1.8vw, 1.15rem);
    color: var(--text-muted);
    line-height: 1.65;
    font-weight: 300;
}

.service-details-section {
    padding: 5rem 0;
}

.service-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.detail-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 2.5rem;
    border-radius: 16px;
    transition: all var(--transition-smooth);
}

.detail-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-premium);
    transform: translateY(-4px);
}

.detail-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 140, 249, 0.12);
    border: 1px solid var(--border-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue-bright);
    margin-bottom: 1.5rem;
}

.detail-card h2 {
    font-size: clamp(1.05rem, 2vw, 1.4rem);
    font-weight: 700;
    margin-bottom: 0.65rem;
    color: var(--text-main);
}

.detail-text {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.65;
}

.detail-list {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.detail-list li {
    position: relative;
    padding-left: 1.4rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.detail-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-gold-bright);
    font-size: 1.2rem;
    line-height: 1;
}

.subpage-cta-box {
    background: var(--gradient-logo-harmony);
    border: 1px solid var(--border-gold);
    padding: 3.5rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
    box-shadow: var(--shadow-premium);
}

.subpage-cta-box h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.subpage-cta-box p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Slideshow & Lightbox Modal --- */
.slideshow-section {
    position: relative;
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 140, 249, 0.09) 0%, rgba(13, 16, 23, 0.98) 70%),
                linear-gradient(180deg, #0e1218 0%, #151a24 50%, #0e1218 100%);
    border-top: 1px solid rgba(229, 193, 88, 0.25);
    border-bottom: 1px solid rgba(229, 193, 88, 0.25);
    padding-top: 5rem;
    padding-bottom: 5rem;
    overflow: hidden;
    box-shadow: inset 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 -20px 40px rgba(0, 0, 0, 0.5);
}

.slideshow-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-gold-bright) 50%, transparent 100%);
    box-shadow: 0 0 15px var(--accent-gold-bright);
}

.slideshow-wrapper {
    position: relative;
    padding: 0 3.5rem;
    touch-action: pan-y;
}

.slideshow-viewport {
    overflow: hidden;
    width: 100%;
    border-radius: 20px;
    padding: 0.5rem 0;
}

.slideshow-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-item {
    flex: 0 0 calc((100% - 3rem) / 3);
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-item:hover {
    border-color: var(--border-gold);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5), 
                0 0 25px rgba(0, 140, 249, 0.2);
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide-item:hover .slide-img {
    transform: scale(1.08);
}

.slide-hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(14, 17, 23, 0.85) 0%, rgba(14, 17, 23, 0.2) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.slide-item:hover .slide-hover-overlay {
    opacity: 1;
}

.slide-zoom-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(15, 18, 24, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-gold);
    color: var(--accent-gold-bright);
    padding: 0.45rem 1rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
}

.slide-nav {
    position: absolute;
    top: 200px;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.slide-prev { left: 0; }
.slide-next { right: 0; }

.slide-nav:hover {
    background: var(--accent-gold);
    color: #0A0D12;
    border-color: var(--accent-gold-bright);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(229, 193, 88, 0.5);
}

.slideshow-controls-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    margin-top: 2.25rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.slideshow-slider-track {
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
}

.slideshow-range-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    outline: none;
    border: 1px solid var(--border-gold);
    cursor: pointer;
    transition: background 0.3s ease;
}

.slideshow-range-slider:hover {
    background: rgba(229, 193, 88, 0.18);
}

/* Chrome, Safari, Edge, Opera Slider Thumb */
.slideshow-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 48px;
    height: 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #F5D36B 0%, #E5C158 100%);
    cursor: grab;
    border: 2px solid #FFFFFF;
    box-shadow: 0 4px 15px rgba(229, 193, 88, 0.6), 0 0 10px rgba(0, 140, 249, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.slideshow-range-slider::-webkit-slider-thumb:hover,
.slideshow-range-slider::-webkit-slider-thumb:active {
    transform: scale(1.12);
    cursor: grabbing;
    box-shadow: 0 6px 20px rgba(229, 193, 88, 0.8), 0 0 15px rgba(0, 140, 249, 0.6);
}

/* Firefox Slider Thumb */
.slideshow-range-slider::-moz-range-thumb {
    width: 48px;
    height: 20px;
    border-radius: 10px;
    background: linear-gradient(135deg, #F5D36B 0%, #E5C158 100%);
    cursor: grab;
    border: 2px solid #FFFFFF;
    box-shadow: 0 4px 15px rgba(229, 193, 88, 0.6), 0 0 10px rgba(0, 140, 249, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.slideshow-range-slider::-moz-range-thumb:hover,
.slideshow-range-slider::-moz-range-thumb:active {
    transform: scale(1.12);
    cursor: grabbing;
    box-shadow: 0 6px 20px rgba(229, 193, 88, 0.8), 0 0 15px rgba(0, 140, 249, 0.6);
}

.slideshow-counter-badge {
    display: inline-block;
    background: rgba(18, 22, 30, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-gold);
    color: var(--accent-gold-bright);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 0.45rem 1.4rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(8, 10, 14, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.lightbox-content {
    position: relative;
    z-index: 2001;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
    padding: 2rem;
}

.lightbox-image-wrapper {
    position: relative;
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image-wrapper img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid var(--border-gold);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 140, 249, 0.2);
    transition: transform 0.3s ease;
    touch-action: manipulation;
}

.lightbox-counter {
    margin-top: 1rem;
    color: var(--accent-gold-bright);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.lightbox-close {
    position: absolute;
    top: -3rem;
    right: 1rem;
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
    color: var(--accent-red);
    transform: scale(1.15);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(22, 27, 36, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-light);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lightbox-prev { left: -1rem; }
.lightbox-next { right: -1rem; }

.lightbox-nav:hover {
    background: var(--accent-gold);
    color: #0A0D12;
    border-color: var(--accent-gold-bright);
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 992px) {
    .slide-item {
        flex: 0 0 calc((100% - 1.5rem) / 2);
        height: 320px;
    }
    .slide-nav {
        top: 170px;
    }
    .slideshow-wrapper {
        padding: 0 2.5rem;
    }
}

@media (max-width: 640px) {
    .slide-item {
        flex: 0 0 100%;
        height: 280px;
    }
    .slideshow-wrapper {
        padding: 0 1.5rem;
    }
}

/* ==========================================================================
   404 ERROR PAGE STYLES (MY-WOHNART LUXURY CREATIVE 404)
   ========================================================================== */
.hero-404 {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 7rem;
    padding-bottom: 5rem;
    background: #0F1218 url('/Images/paint_splash_404.jpg') no-repeat center center / cover;
    overflow: hidden;
}

.hero-404-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(15, 18, 24, 0.25) 0%, rgba(10, 12, 16, 0.65) 100%),
                linear-gradient(180deg, rgba(15, 18, 24, 0.3) 0%, rgba(15, 18, 24, 0.5) 100%);
    z-index: 1;
}

.hero-404-container {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
}

.badge-404 {
    font-size: clamp(5rem, 15vw, 10rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    background: linear-gradient(135deg, var(--accent-blue-bright) 0%, var(--accent-gold) 50%, var(--accent-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 40px rgba(0, 140, 249, 0.3);
    margin-bottom: 1rem;
    display: inline-block;
    filter: drop-shadow(0 0 25px rgba(229, 193, 88, 0.3));
}

.card-404 {
    background: rgba(15, 18, 24, 0.68);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-gold);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.7), 0 0 35px rgba(0, 140, 249, 0.2);
}

.title-404 {
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.desc-404 {
    color: var(--text-muted);
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    line-height: 1.65;
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.quick-links-404 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border-light);
}

.quick-link-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: all var(--transition-fast);
}

.quick-link-chip:hover {
    background: rgba(0, 140, 249, 0.15);
    border-color: var(--accent-blue-bright);
    color: var(--text-main);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-404 {
        padding-top: 5.5rem;
        padding-bottom: 3rem;
    }
    .card-404 {
        padding: 2rem 1.25rem;
        border-radius: 16px;
    }
    .badge-404 {
        font-size: 5rem;
        margin-bottom: 0.5rem;
    }
}
