/* =========================
   GLOBAL
   ========================= */

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #000;
    color: #f5f5f5;
    margin: 0;
}

html, body {
    height: 100%;
    margin: 0;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-wrapper {
    flex: 1;
}

/* =========================
   HERO VIDEO
   ========================= */

.hero-video-container {
    position: relative;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    background: #000;
}

    .hero-video-container video {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        transform: translate(-50%, -50%);
        object-fit: cover;
        opacity: 0.35;
    }

:root {
    --bg: #000;
    --card: #0e0e11;
    --card2: #141418;
    --border: rgba(255,255,255,.14);
    --text: rgba(255,255,255,.95);
    --muted: rgba(255,255,255,.62);
    --accent: #7c3aed;
    --accent2: #22c55e;
    --accent3: #0ea5e9;
    --radius: 18px;
    --shadow: 0 18px 44px rgba(0,0,0,.65);
}

/* =========================
   HERO OVERLAY
   ========================= */

.hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}

/* =========================
   HERO TEXT
   ========================= */

.hero-slogan {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    max-width: 900px;
    line-height: 1.3;
    margin-bottom: 28px;
}

.hero-subtitle {
    color: #bfbfbf;
    max-width: 32rem;
}

/* =========================
   BUTTONS GLOBAL
   ========================= */

.hero-btn,
.btn {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: none;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.25s ease;
}

    .hero-btn:hover,
    .btn:hover,
    .hero-btn:focus,
    .btn:focus {
        color: #000000 !important;
        transform: scale(1.06);
    }

    .hero-btn:active,
    .btn:active {
        transform: scale(1.03);
    }

/* =========================
   HEADER
   ========================= */

.header {
    width: 100%;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 10000; /* header above arrows and cards */
}

.logo-box {
    padding: 10px 18px;
    border: 1px solid #fff;
    border-radius: 0 0 12px 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    text-decoration: none;
    color: #fff;
}

.logo {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.03em;
}

/* =========================
   HAMBURGER
   ========================= */

.hamburger {
    width: 30px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10001; /* above arrows but same layering with logo */
}

    .hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background: #fff;
        border-radius: 3px;
    }

/* =========================
   SIDEBAR
   ========================= */

.sidebar {
    position: fixed;
    inset: 0 0 0 auto;
    width: 260px;
    background: rgba(30, 30, 30, 0.55);
    backdrop-filter: blur(6px);
    padding-top: 72px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 2000;
}

    .sidebar.active {
        transform: translateX(0);
    }

    .sidebar ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .sidebar ul li a {
            color: #fff;
            text-decoration: none;
            font-size: 1.3rem;
            padding: 12px 25px;
            display: block;
        }

            .sidebar ul li a:hover {
                background: rgba(255,255,255,0.08);
            }

/* =========================
   FOOTER
   ========================= */

.site-footer {
    background: #0a0a0a;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.1rem 1rem;
    text-align: center;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.footer-brand,
.footer-links {
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.55);
}

.site-footer a {
    color: rgba(255,255,255,0.55) !important;
    text-decoration: none !important;
}

    .site-footer a:hover {
        color: #fff !important;
    }

.separator {
    margin: 0 0.4rem;
    opacity: 0.45;
}

/* =========================
   CAROUSEL – GLOBAL
   ========================= */

.carousel {
    position: relative;
    padding-top: 12px;
    overflow: visible; /* allow cards to rise above carousel bounds */
}

    .carousel .nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        border-radius: 999px;
        border: 1px solid rgba(255,255,255,.18);
        background: rgba(0,0,0,.55);
        color: #fff;
        display: none;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 9500; /* arrows above cards but below header */
        transition: .15s ease;
        backdrop-filter: blur(6px);
    }

        .carousel .nav.prev {
            left: -10px;
        }

        .carousel .nav.next {
            right: -10px;
        }

        .carousel .nav:hover {
            background: rgba(124,58,237,.25);
            border-color: rgba(124,58,237,.55);
        }

/* =========================
   TRACKS (Pricing + Hosting)
   ========================= */

.pricing-track,
.hosting-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    justify-content: center;
    align-items: flex-start; /* align cards to top so they can rise within the track */
    padding-top: 12px; /* reduced space above cards */
    /* allow horizontal scrolling while keeping vertical overflow visible so hover transforms aren't clipped */
    overflow-x: auto !important;
    overflow-y: visible !important; /* ensure vertical overflow isn't clipped */
    padding-bottom: 20px !important; /* reduced bottom spacing */
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

    .pricing-track::-webkit-scrollbar,
    .hosting-track::-webkit-scrollbar {
        display: none;
    }

    .pricing-track .card,
    .hosting-track .card {
        flex: 0 0 auto;
        width: 260px;
        scroll-snap-align: center;
    }

/* =========================
   MOBILE CAROUSEL
   ========================= */

@media (max-width:1200px) {
    .carousel .nav {
        display: flex;
    }

    .pricing-track,
    .hosting-track {
        overflow-x: visible;
        scroll-behavior: smooth;
        padding: 6px 52px 14px;
        justify-content: center;
    }

        .pricing-track .card,
        .hosting-track .card {
            width: 78%;
            max-width: 520px;
            scroll-snap-align: center;
        }
}

@media (max-width:760px) {
    .pricing-track .card,
    .hosting-track .card {
        width: 88%;
    }
}

/* =========================
   CARD STYLE
   ========================= */

.card {
    background: linear-gradient(180deg,var(--card),var(--card2));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 56px 20px 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: .2s ease;
    height: 100%;
    z-index: 1; /* baseline stacking so hover can raise above siblings */
}

    .card:hover {
        transform: translateY(-12px);
        border-color: rgba(124,58,237,.55);
        box-shadow: 0 24px 60px rgba(0,0,0,0.8);
        z-index: 1000; /* keep hover visible but below carousel arrows */
    }

/* =========================
   BADGES
   ========================= */

.badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 12px;
    font-size: .7rem;
    letter-spacing: .08em;
    border-radius: 999px;
    text-transform: uppercase;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
}

    .badge.popular {
        background: rgba(124,58,237,.22);

/* =========================
   RESPONSIVE / MOBILE
   ========================= */

/* Make images responsive everywhere */
img, .img-fluid {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Base adjustments for small screens */
@media (max-width: 768px) {
    :root {
        --radius: 12px;
    }

    .hero-video-container {
        height: 60vh;
    }

    .hero-slogan {
        font-size: 1.4rem;
        margin-bottom: 16px;
        padding: 0 0.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        padding: 0 0.75rem;
    }

    .header {
        padding: 10px 14px;
    }

    .logo {
        font-size: 0.95rem;
    }

    .hamburger {
        top: 14px;
        right: 14px;
    }

    .sidebar {
        width: 100%;
        padding-top: 64px;
        transform: translateX(100%);
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .sidebar ul li a {
        font-size: 1.05rem;
        padding: 14px 20px;
    }

    .card {
        padding: 24px 12px 16px;
        border-radius: 12px;
    }

    .pricing-track .card,
    .hosting-track .card {
        width: 88%;
    }

    .footer-inner {
        gap: 0.6rem;
        padding: 8px 6px;
    }

    .site-footer {
        padding: 1rem 0.6rem;
    }

    .hero-btn,
    .btn {
        padding: 10px 16px;
        font-size: 0.95rem;
    }

    .main-wrapper {
        padding: 12px 10px;
    }

    /* Mobile: ensure carousel/notes spacing matches pricing section */
    .pricing-track,
    .hosting-track {
        padding-top: 12px !important;
        padding-bottom: 20px !important;
    }

    .carousel + .note,
    .hosting-note {
        margin-top: 8px !important;
    }
}

/* Extra small devices */
@media (max-width: 420px) {
    .hero-slogan {
        font-size: 1.1rem;
    }

    .sidebar ul li a {
        font-size: 1rem;
        padding: 12px 16px;
    }

    .hamburger {
        width: 28px;
        height: 20px;
    }
}
        border: 1px solid rgba(124,58,237,.5);
    }

    .badge.recommended {
        background: rgba(14,165,233,.22);
        border: 1px solid rgba(14,165,233,.5);
    }

/* =========================
   CARD CONTENT
   ========================= */

.title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: .2rem;
}

.price {
    font-size: 1.8rem;
    font-weight: 800;
    margin: .5rem 0 1.2rem;
}

.once {
    font-size: .9rem;
    color: var(--muted);
    margin-left: .3rem;
}

ul {
    padding: 0;
    margin: 0 0 1.4rem;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .55rem;
    font-size: .95rem;
}

li {
    display: flex;
    gap: .5rem;
    align-items: flex-start;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255,255,255,.4);
    border-radius: 50%;
    margin-top: .45rem;
    flex: 0 0 auto;
}

/* =========================
   CARD BUTTON
   ========================= */

.btn {
    margin-top: auto;
    text-decoration: none;
    text-align: center;
    padding: .75rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    color: var(--text);
    font-weight: 600;
    transition: .2s ease;
}

    .btn:hover {
        background: rgba(124,58,237,.18);
    }

/* =========================
   INDIVIDUELL CARD
   ========================= */

.individual {
    border-color: rgba(34,197,94,.45);
}

    .individual:hover {
        border-color: rgba(34,197,94,.75);
    }

/* =========================
   HERO BUTTON FIX
   ========================= */

.hero-btn {
    padding: 16px 42px !important;
    font-size: 1.05rem !important;
    border: 1px solid #fff !important;
    background: #000 !important;
    color: #fff !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

    .hero-btn:hover {
        background: #fff !important;
        color: #000 !important;
        transform: scale(1.06);
    }

/* =========================
   LOGO HOVER FIX
   ========================= */

.logo-box,
.logo-box * {
    color: #fff !important;
    text-decoration: none !important;
}

.logo-box {
    display: inline-block;
    transition: transform .25s ease;
}

    .logo-box:hover {
        transform: scale(1.06);
        color: #fff !important;
    }

/* =========================
   SIDEBAR LINK FIX
   ========================= */

.sidebar ul li a {
    display: block;
    width: 100%;
    padding: 12px 25px;
    box-sizing: border-box;
}

    .sidebar ul li a:hover {
        background: rgba(255,255,255,0.08);
    }

/* =========================
   BACK BUTTON
   ========================= */

.back-btn {
    display: inline-block;
    margin-bottom: 20px;
    padding: 10px 22px;
    background: #fff;
    color: #000;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease;
}

    .back-btn:hover {
        color: #000;
        text-decoration: none;
        transform: scale(1.05);
    }

/* Mobile: ebenfalls fixed, nur etwas näher am Rand */
@media (max-width: 768px) {
    .back-btn {
        position: fixed;
        top: 20px;
        left: 20px;
        margin-bottom: 0;
        z-index: 1000;
    }
}

/* =========================
   MISC FIXES
   ========================= */

.once {
    display: block;
    font-size: .9rem;
    color: var(--muted);
    margin-top: 4px;
}

/* =========================
   NOTES & DIVIDER
   ========================= */

.note {
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: .9rem;
    text-align: center;
}

/* Ensure notes directly following a carousel have consistent spacing */
.carousel + .note {
    margin-top: 0.5rem !important;
}

/* Specific hosting note spacing to match pricing note */
.hosting-note {
    margin-top: 0.5rem !important; /* match pricing note spacing */
}

/* Ensure hosting track has same vertical padding as pricing track */
.hosting-track {
    padding-top: 12px !important;
    padding-bottom: 20px !important;
}

hr {
    margin: 4rem 0;
    border: none;
    height: 1px;
    background: rgba(255,255,255,.14);
}

/* =========================
   SCROLL TO TOP BUTTON
   ========================= */

#scrollToTop {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    z-index: 999999 !important;
    transition: 0.25s ease;
}

    #scrollToTop.show {
        opacity: 1;
        pointer-events: auto !important;
    }

    #scrollToTop:hover {
        background: #fff;
        color: #000;
        transform: translateX(-50%) scale(1.08);
    }

/* =========================
   WRAP FIX
   ========================= */

.pricing-page {
    padding: 64px 20px;
    background: var(--bg);
    color: var(--text);
    overflow: visible;
}

@media (min-width: 768px) {
    .pricing-page {
        padding: 80px 32px;
    }
}

@media (min-width: 1200px) {
    .pricing-page {
        padding: 100px 0;
    }
}

/* =========================
   END OF FILE
   ========================= */

h2 {
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    margin-bottom: .6rem;
    letter-spacing: .04em;
    font-weight: 600;
    text-align: center;
}

.subtitle {
    color: var(--muted);
    margin-bottom: 2.2rem;
    max-width: 60ch;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.wrap {
    max-width: 2001px;
    margin: 0 auto;
    padding: 0 30px;
    overflow: visible !important;
}