:root {
    --bg: #F8F8F8;
    --bg-rgb: 248, 248, 248;
    --text: #1d1d1f;
    --hover: #0071e3;
    --subtle: #f5f6fa;
    --muted: #6c757d; /* Standard Bootstrap Muted */
}

body.dark {
    --bg: #212529;
    --bg-rgb: 33, 37, 41;
    --text: #f2f2f2;
    --hover: #66aaff;
    --subtle: #1b1c1f;
    --muted: #bbb;
    --navbar-bg: #1b1c1f;
}

/* Hintergrund mit Textur */
.textured-bg {
    background: #f3f6fb url('https://www.transparenttextures.com/patterns/shattered.png');
    position: relative;
    overflow: hidden;
}


body.dark .textured-bg {
    background: #1b1c1f url('https://www.transparenttextures.com/patterns/shattered.png');
}


body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.text-muted {
    color: var(--muted) !important;
}

.navbar {
    background-color: var(--bg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Dark Mode: sauber abgedunkelt */
body.dark .navbar {
    background-color: #1b1c1f; /* Optional: statt var(--subtle) oder var(--bg) */
    border-color: rgba(255, 255, 255, 0.05);
}


.nav-link {
    color: var(--text);
    font-weight: 500;
    margin: 0 1rem;
    transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus,
.nav-link.dropdown-toggle.show {
    color: var(--hover);
}

.dropdown-menu.custom-dropdown-hosting {
    background-color: var(--subtle);
    border: none;
    border-radius: 14px;
    margin-top: 12px !important;
    min-width: 340px;
    padding: 18px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Ersetze dies in deinem CSS */
.dropdown-menu.custom-dropdown-cart {
    background-color: var(--subtle);
    border: none;
    border-radius: 14px;
    margin-top: 8px !important;
    min-width: 260px;
    padding: 16px 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    right: 0; /* Stelle sicher, dass sie am rechten Rand des Containers ausgerichtet ist */
    left: auto; /* überschreibt etwaige vorherige Werte */
    transform: translateX(0); /* entfernt alte Verschiebungen */
}

.dropdown-hosting-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 20px;
    border-radius: 10px;
    color: var(--text);
    text-decoration: none;
    transition: background 0.2s ease;
}

.dropdown-hosting-item:hover {
    background-color: rgba(0, 0, 0, 0.05);
    text-decoration: none;
}

.dropdown-hosting-item .icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

.dropdown-hosting-item strong {
    font-weight: 600;
    display: block;
}

/* Animation: Fade & Slide leicht nach unten */
@keyframes dropdownFadeSlide {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu.custom-dropdown-cart.show {
    animation: dropdownFadeSlide 0.25s ease-out;
}
.icon-btn {
    background: transparent;
    border: 1px solid var(--text);
    color: var(--text);
    font-size: 14px;
    margin-left: 0.25rem;
    padding: 4px 8px;
    height: 34px;
    min-width: 34px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

.icon-btn .cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--hover);
    color: #fff;
    font-size: 11px;
    padding: 2px 5px;
    border-radius: 50%;
}

.icon-btn span.small {
    font-size: 12px;
    font-weight: 500;
}

.icon-btn:hover {
    border-color: var(--hover);
    color: var(--hover);
}
/* HERO Section */

.hero-hosting {
    background: url('img/hero.jpg') center center/cover no-repeat;
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.hero-hosting::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 20, 40, 0.6);
    z-index: 1;
}
.hero-hosting::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-hosting .container {
    position: relative;
    z-index: 2;
}