/* ============================================
   MGee Media – Dark Agency Theme v2
   ============================================ */

:root {
    --bg-dark: #0a0e27;
    --bg-section: #0f1535;
    --bg-surface: #151c3a;
    --bg-surface-hover: #1a2347;
    --accent-cyan: #00e5ff;
    --accent-magenta: #ff2d7b;
    --accent-yellow: #f5ff00;
    --text-primary: #f0f0f0;
    --text-muted: #8892b0;
    --text-dark: #0a0e27;
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(0, 229, 255, 0.3);
    --gradient-accent: linear-gradient(135deg, #00e5ff, #ff2d7b);
    --gradient-subtle: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(255, 45, 123, 0.15));
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow-cyan: 0 0 30px rgba(0, 229, 255, 0.15);
    --shadow-glow-magenta: 0 0 30px rgba(255, 45, 123, 0.15);
    --bs-body-font-weight: 300;
    --bs-body-font-size: 17px;
}

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

html {
    scroll-behavior: auto;
}

html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Noise overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

section a {
    color: var(--accent-cyan);
    text-decoration: underline;
    text-decoration-color: rgba(0, 229, 255, 0.3);
    text-underline-offset: 3px;
    transition: color var(--transition-normal), text-decoration-color var(--transition-normal);
}

section a:hover {
    color: #fff;
    text-decoration-color: var(--accent-cyan);
}

b, strong {
    font-weight: 600;
    color: #a8b2c8;
}

/* ---- Custom Cursor ---- */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
    mix-blend-mode: difference;
}

.custom-cursor.hover {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 229, 255, 0.1);
    border-color: var(--accent-magenta);
}

/* ============================================
   NAVBAR – Floating Pill Style
   ============================================ */
.navbar {
    background: transparent;
    backdrop-filter: none;
    transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid transparent;
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(10, 14, 39, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    border-bottom-color: var(--border-subtle);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-nav {
    gap: 0.25rem;
}

.navbar-nav .nav-link {
    position: relative;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0.5rem 1.25rem;
    transition: all 0.3s ease;
    border-radius: 50px;
    border: 1px solid transparent;
}

/* No underline – clean pill hover */
.navbar-nav .nav-link::after {
    display: none;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-cyan);
    background: rgba(0, 229, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.2);
}

.navbar-nav .nav-link.active {
    color: var(--text-dark);
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

/* Hamburger */
.hamburger-icon {
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
}

.hamburger-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: var(--accent-cyan);
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transition: .25s ease-in-out;
}

.navbar-toggler.collapsed .hamburger-icon span:nth-child(1) { top: 0; transform: rotate(0deg); }
.navbar-toggler.collapsed .hamburger-icon span:nth-child(2) { top: 10px; opacity: 1; }
.navbar-toggler.collapsed .hamburger-icon span:nth-child(3) { top: 20px; transform: rotate(0deg); }

.navbar-toggler:not(.collapsed) .hamburger-icon span:nth-child(1) { top: 10px; transform: rotate(135deg); }
.navbar-toggler:not(.collapsed) .hamburger-icon span:nth-child(2) { top: 10px; opacity: 0; }
.navbar-toggler:not(.collapsed) .hamburger-icon span:nth-child(3) { top: 10px; transform: rotate(-135deg); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    background-color: var(--bg-dark);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0 5rem 0;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 0;
}

.hero-glow--cyan {
    background: var(--accent-cyan);
    top: -10%;
    right: -5%;
}

.hero-glow--magenta {
    background: var(--accent-magenta);
    bottom: -10%;
    left: -5%;
}

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

.hero-headline {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400; /* Bebas Neue only has 400, it's naturally ultra-bold */
    font-size: clamp(3.5rem, 11vw, 12rem);
    line-height: 0.86;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: #fff;
}

.hero-headline .word {
    display: inline-block;
    overflow: hidden;
}

.hero-headline .word .char {
    display: inline-block;
    transform: translateY(100%);
    opacity: 0;
}

/* Accent word: solid cyan, no gradient */
.hero-headline .accent-word {
    color: var(--accent-cyan);
}

.hero-h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(30px);
}

.hero-subline {
    font-size: clamp(1rem, 2vw, 1.35rem);
    color: var(--text-muted);
    max-width: 650px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(30px);
}

.hero-cta {
    opacity: 0;
    transform: translateY(20px);
    margin-top: 2.5rem;
}

/* ---- Glowing Section Divider ---- */
.section-divider {
    height: 1px;
    background: var(--accent-cyan);
    opacity: 0.2;
    margin: 0;
    border: none;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
}

/* ---- Section styling ---- */
section {
    position: relative;
    z-index: 1;
}

/* ============================================
   SERVICES / LEISTUNGEN – Simplified Cards
   ============================================ */
#leistungen {
    background-color: var(--bg-section);
    padding: 6rem 0;
}

#leistungen h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 3rem;
    letter-spacing: 0.02em;
    color: #fff;
    margin-bottom: 3rem;
}

.service-card {
    background: var(--bg-surface);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    text-align: center;
    height: 100%;
}

.service-card:hover {
    background: var(--bg-surface-hover);
    border-color: rgba(0, 229, 255, 0.2);
    transform: translateY(-4px);
}

.service-card h3 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Icons: solid cyan, no gradient */
.service-card i {
    font-size: 2.5rem;
    color: var(--accent-cyan);
    margin-bottom: var(--spacing-md);
    transition: transform var(--transition-normal);
    display: inline-block;
}

.service-card:hover i {
    transform: scale(1.1);
}

/* ============================================
   ABOUT / ÜBER MICH
   ============================================ */
#ueber-mich {
    background: var(--bg-dark);
    padding: 6rem 0;
}

#ueber-mich h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 3rem;
    letter-spacing: 0.02em;
    color: #fff;
}

#ueber-mich p {
    color: var(--text-muted);
    line-height: 1.8;
}

#ueber-mich img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-glow-cyan);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

#ueber-mich img:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-glow-magenta);
}

#ueber-mich .btn {
    display: inline-block;
}

/* ============================================
   CONTACT / KONTAKT
   ============================================ */
#kontakt {
    background: var(--bg-section);
    padding: 6rem 0;
}

#kontakt h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 3rem;
    letter-spacing: 0.02em;
    color: #fff;
}

.form-control {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-sm);
    transition: all var(--transition-normal);
    font-size: 1rem;
}

.form-control::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-control:focus {
    background-color: var(--bg-surface-hover);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 .2rem rgba(0, 229, 255, 0.15);
    color: var(--text-primary);
}

.form-check-label {
    color: var(--text-muted);
}

.form-check-label a {
    color: var(--accent-cyan) !important;
}

.form-check-input:checked {
    background-color: var(--accent-cyan);
    border-color: var(--accent-cyan);
}

/* ============================================
   BUTTONS – Solid Cyan, no gradient
   ============================================ */
.btn-primary {
    background-color: var(--accent-cyan);
    border: none;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: var(--text-dark);
    transition: all var(--transition-normal);
}

.btn-primary:hover {
    background-color: #33ebff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 229, 255, 0.3);
    color: var(--text-dark);
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary:active:focus {
    background-color: #194092 !important;
    border-color: #194092 !important;
    color: #fff;
    box-shadow: 0 0 0 .25rem rgba(25, 64, 146, 0.4);
}

.btn-primary:focus-visible {
    background-color: #194092;
    box-shadow: 0 0 0 .25rem rgba(25, 64, 146, 0.4);
    color: #fff;
}

/* ============================================
   CTA SECTION – Before Footer
   ============================================ */
.cta-section {
    background: var(--bg-dark);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: var(--accent-cyan);
    border-radius: 50%;
    filter: blur(180px);
    opacity: 0.07;
    pointer-events: none;
}

.cta-headline {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cta-headline span {
    color: var(--accent-cyan);
}

.cta-section .btn-primary {
    font-size: 1.1rem;
    padding: 0.85rem 2.5rem;
    position: relative;
    z-index: 1;
}

/* ============================================
   SCROLL TO TOP BUTTON
   ============================================ */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: var(--bg-surface);
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: none;
}

.scroll-top-btn.visible {
    opacity: 0.6;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    opacity: 1;
    color: var(--accent-cyan);
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateY(-2px);
}

/* ============================================
   ACCORDION (FAQ)
   ============================================ */
.custom-accordion .accordion-item {
    border: none;
    margin-bottom: var(--spacing-md);
    border-radius: var(--radius-sm) !important;
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
}

.custom-accordion .accordion-button {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--text-primary);
    background-color: var(--bg-surface);
    box-shadow: none;
    transition: all var(--transition-normal);
}

.custom-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300e5ff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: all var(--transition-normal);
}

.custom-accordion .accordion-button:hover,
.custom-accordion .accordion-button:focus,
.custom-accordion .accordion-button:not(.collapsed) {
    background: var(--gradient-subtle);
    color: var(--accent-cyan);
    box-shadow: none;
}

.custom-accordion .accordion-button:hover::after,
.custom-accordion .accordion-button:focus::after,
.custom-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300e5ff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.custom-accordion .accordion-button:focus {
    z-index: 3;
    border-color: var(--accent-cyan);
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(0, 229, 255, 0.15);
}

.custom-accordion .accordion-body {
    background: var(--bg-surface);
    color: var(--text-muted);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: #060919;
    color: #fff;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-subtle);
}

footer h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 1.25rem;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    margin-right: var(--spacing-md);
    transition: color var(--transition-normal);
}

.social-links a:hover {
    color: var(--accent-cyan);
}

footer a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-normal);
}

footer a:hover {
    color: var(--accent-cyan);
}

footer .text-white-50 {
    color: var(--text-muted) !important;
}

footer .text-danger {
    color: var(--accent-magenta) !important;
}

footer .border-secondary {
    border-color: var(--border-subtle) !important;
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    padding: var(--spacing-md) 0;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: none;
}

.cookie-banner p {
    margin-bottom: 0;
    color: var(--text-muted);
}

.cookie-banner .btn {
    font-size: .95rem;
    font-weight: 500;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-sm);
}

.cookie-banner .btn-primary {
    background-color: var(--accent-cyan);
    border: none;
    color: var(--text-dark);
}

.cookie-banner .btn-secondary {
    background-color: var(--bg-surface-hover);
    border-color: var(--border-subtle);
    color: var(--text-muted);
}

.cookie-banner .btn-secondary:hover {
    background-color: var(--bg-surface);
    color: var(--text-primary);
}

/* ============================================
   MODAL (Cookie Settings)
   ============================================ */
.modal-content {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
}

.modal-header {
    border-bottom: 1px solid var(--border-subtle);
}

.modal-header .modal-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.modal-footer {
    border-top: 1px solid var(--border-subtle);
}

.modal-footer .btn {
    font-size: .9rem;
    padding: var(--spacing-xs) var(--spacing-md);
    font-weight: 500;
}

.modal-body .text-muted,
.modal-body .small.text-muted {
    color: var(--text-muted) !important;
}

.form-switch {
    padding-left: 2.5em;
}

/* ============================================
   SUB-PAGE HERO
   ============================================ */
.hero.hero-sub {
    min-height: auto;
    padding: 9rem 0 4rem 0;
    background: var(--bg-section);
    overflow: hidden;
}

.hero.hero-sub::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: var(--accent-cyan);
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.08;
    pointer-events: none;
}

.hero.hero-sub::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 350px;
    height: 350px;
    background: var(--accent-magenta);
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.06;
    pointer-events: none;
}

.hero.hero-sub h1 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: 3.5rem;
    letter-spacing: 0.02em;
    color: #fff;
}

/* ============================================
   STATUS MESSAGES (Forms)
   ============================================ */
.alert-success {
    background-color: rgba(0, 229, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.3);
    color: var(--accent-cyan);
}

.alert-danger {
    background-color: rgba(255, 45, 123, 0.1);
    border-color: rgba(255, 45, 123, 0.3);
    color: var(--accent-magenta);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 991px) {
    #ueber-mich img {
        width: 80%;
        margin: 3rem auto 0;
        display: block;
    }

    #ueber-mich .btn {
        display: block;
        margin: 0 auto;
        text-align: center;
        width: 80%;
    }

    .navbar-collapse {
        background: transparent;
        margin: 0 -12px;
        padding: 1.5rem;
        border-radius: 0;
        border: none;
    }

    .navbar.menu-open {
        background: rgba(10, 14, 39, 0.98);
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }

    .navbar-nav {
        align-items: center;
    }

    .navbar-nav .nav-link {
        text-align: center;
        font-size: 1.1rem;
        margin: 0.2rem 0;
        padding: 0.6rem 1.5rem;
        border-radius: 50px;
        width: auto;
        display: inline-block;
    }

    .hero-headline {
        font-size: clamp(3rem, 13vw, 7rem);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: var(--spacing-xs) 0;
    }

    .hero {
        padding: 8rem 0 4rem 0;
        min-height: 85vh;
    }

    .hero-headline {
        font-size: clamp(3.5rem, 16vw, 5.5rem);
    }

    .service-card {
        margin-bottom: var(--spacing-md);
    }

    .cookie-banner .col-md-4 {
        width: 100%;
    }

    .cookie-banner .d-flex {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .cookie-banner .btn {
        width: 100%;
    }

    .custom-cursor {
        display: none !important;
    }

    #leistungen,
    #ueber-mich,
    #kontakt {
        padding: 4rem 0;
    }

    .cta-section {
        padding: 4rem 0;
    }

    .scroll-top-btn {
        bottom: 1.25rem;
        right: 1.25rem;
        width: 42px;
        height: 42px;
    }
}

/* ============================================
   GENERAL TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    color: #fff;
}

section p {
    color: var(--text-muted);
}

section h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.py-5 {
    padding: 4rem 0 !important;
}

section ul, section ol {
    color: var(--text-muted);
}

/* ============================================
   PREISE PAGE OVERRIDES
   ============================================ */
.bg-light {
    background-color: var(--bg-section) !important;
}

header.container-fluid {
    background-color: var(--bg-dark);
    padding-top: 8rem !important;
}

header .lead {
    color: var(--text-muted);
}

header img {
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-glow-cyan);
}

/* ============================================
   SELECTION & SCROLLBAR
   ============================================ */
::selection {
    background: rgba(0, 229, 255, 0.3);
    color: #fff;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-surface-hover);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-cyan);
}

/* ============================================
   BLOG
   ============================================ */
.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    transition: all var(--transition-normal);
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.blog-card:hover {
    border-color: rgba(0, 229, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.blog-card:hover h2 {
    color: var(--accent-cyan);
}

.blog-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.blog-card-body {
    padding: var(--spacing-xl);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-body h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    transition: color var(--transition-normal);
}

.blog-card-body p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    flex: 1;
}

.blog-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    display: block;
}

.blog-meta a {
    color: var(--accent-cyan);
    text-decoration: none;
}

.blog-meta a:hover {
    text-decoration: underline;
}

.blog-content {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 1.05rem;
}

.blog-content h2, .blog-content h3, .blog-content h4 {
    color: #fff;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 1.5rem 0;
}

.blog-hero-img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    margin-bottom: 2rem;
}

.blog-categories-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

/* Pagination dark theme */
.pagination .page-link {
    background-color: var(--bg-surface);
    border-color: var(--border-subtle);
    color: var(--text-muted);
}

.pagination .page-link:hover {
    background-color: var(--bg-surface-hover);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.pagination .page-item.active .page-link {
    background-color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: var(--text-dark);
}

/* Blog Kategorie-Filter Pills */
.blog-categories-filter .btn {
    border-radius: 50px;
    font-size: 0.85rem;
    padding: 0.4rem 1.1rem;
    font-weight: 500;
    letter-spacing: 0.03em;
}

.blog-categories-filter .btn-outline-primary {
    color: var(--text-muted);
    border-color: var(--border-subtle);
    background: transparent;
}

.blog-categories-filter .btn-outline-primary:hover {
    color: var(--accent-cyan);
    background: rgba(0, 229, 255, 0.08);
    border-color: rgba(0, 229, 255, 0.2);
}

.blog-categories-filter .btn-primary {
    background-color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: var(--text-dark);
}
