/* HERO */

.price-hero {
    position: relative;
    height: 65vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    filter: blur(20px);
    transform: scale(1.05);
    transition: all 0.8s ease;
}

.hero-img.loaded {
    filter: blur(0);
    transform: scale(1);
}

.price-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
}

.hero-overlay {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

/* INTRO */

.price-intro {
    text-align: center;
    max-width: 700px;
    margin: 80px auto;
    color: #555;
}

/* SECTION */

.preise-section {
    width: 85%;
    max-width: 1000px;
    margin: 60px auto;
}

/* TABS */

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 60px;
}

.tab {
    cursor: pointer;
    padding: 8px 0;
    position: relative;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.tab:hover {
    opacity: 1;
}

.tab.active {
    opacity: 1;
}

.tab::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: #554c40;
    transition: width 0.3s ease;
}

.tab.active::after {
    width: 100%;
    background: #554c40;
}

/* Tabs fix */

.category-item {
    display: none;
}

.category-item.active {
    display: block;
}





/* PRICE LIST */

.price-list {
    margin-top: 40px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 30px 0;
    border-bottom: 1px solid #d0c9af;
}

.price-row.highlight {
    border-left: 3px solid #554c40;
    padding-left: 15px;
}

.price-info h3 {
    margin-bottom: 10px;
}

.price-info p {
    color: #555;
}

.price-meta {
    text-align: right;
}

.price-meta .price {
    font-size: 1.4rem;
    display: block;
    margin-bottom: 8px;
}

.price-meta a {
    text-decoration: none;
    color: #554c40;
}

/* WORKFLOW */

.workflow-section {
    max-width: 800px;
    margin: 140px auto;
}

.price-info,
.price-meta {
    min-width: 0;
}

.price-info h3,
.price-info p,
.price-meta .price,
.price-meta a {
    overflow-wrap: anywhere;
}

.workflow-step {
    margin-bottom: 50px;
    padding-left: 30px;
    position: relative;
}

.workflow-step span {
    position: absolute;
    left: 0;
    color: #aaa;
}

.addons-title {
    margin-bottom: 20px;
    font-size: 1.4rem;
    opacity: 0.8;
}

.addons-list .price-row {
    opacity: 0.9;
}



/* MOBILE */

@media (max-width: 768px) {
    .price-hero {
        height: auto;
        min-height: 320px;
        padding: 120px 20px 56px;
        box-sizing: border-box;
    }

    .hero-overlay h1 {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
    }

    .price-intro {
        width: calc(100% - 32px);
        margin: 56px auto;
    }

    .preise-section {
        width: calc(100% - 32px);
        margin: 40px auto;
    }

    .category-tabs {
        flex-wrap: wrap;
        gap: 14px 18px;
        margin-bottom: 36px;
    }

    .tab {
        min-width: max-content;
    }

    .price-row {
        flex-direction: column;
        gap: 10px;
        padding: 24px 0;
    }

    .price-meta {
        text-align: left;
        margin-top: 10px;
    }

    .workflow-section {
        width: calc(100% - 32px);
        margin: 90px auto;
    }
}

@media (max-width: 480px) {
    .price-hero {
        min-height: 280px;
        padding: 110px 24px 44px;
    }

    .price-intro,
    .preise-section,
    .workflow-section {
        width: calc(100% - 48px);
    }

    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
        gap: 10px;
        scrollbar-width: none;
    }

    .category-tabs::-webkit-scrollbar {
        display: none;
    }

    .tab {
        flex: 0 0 auto;
    }

    .price-row.highlight {
        padding-left: 10px;
    }
}
