/*== Homepage ==*/
.hero {
    position: relative;
    padding: 80px 0 70px;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.92), rgba(229, 57, 53, 0.65)),
    url('https://images.unsplash.com/photo-1511578314322-379afb476865?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 30%, rgba(255, 122, 24, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(229, 57, 53, 0.25) 0%, transparent 50%);
    animation: pulse 15s infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    font-weight: 700;
    margin-bottom: 28px;
    animation: float 3s ease-in-out infinite;
}

.hero-title {
    font-size: 2rem;
    line-height: 3rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin: 0;
    background: linear-gradient(to right, #fff, #ffe5e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    max-width: 760px;
    margin: 0 auto 36px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.search-modern {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.search-modern input {
    flex: 1;
    min-width: 300px;
    padding: 18px 24px;
    border-radius: 999px;
    border: none;
    outline: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    font-size: 0.8rem;
    transition: all 0.3s ease;
    color: var(--text);
}

.search-modern input:focus {
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.search-modern input::placeholder {
    color: var(--muted);
    opacity: 1;
}

.search-modern button {
    border: none;
    border-radius: 999px;
    padding: 18px 36px;
    background: var(--gradient);
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px rgba(229, 57, 53, 0.25);
}

.search-modern button:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 50px rgba(229, 57, 53, 0.35);
}

.categories-section {
    position: relative;
    overflow: visible;
}

.categories-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 10% 20%, rgba(229, 57, 53, 0.05), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(255, 122, 24, 0.07), transparent 28%);
    pointer-events: none;
}

.section-head {
    margin-bottom: 48px;
    position: relative;
    z-index: 1;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(229, 57, 53, 0.08);
    color: var(--primary);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* Categories */
.categories-grid-modern {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.category-tile {
    display: block;
    height: 100%;
    color: inherit;
}

.category-tile-inner {
    position: relative;
    display: flex;
    align-items: stretch;
    height: 220px;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 250, 0.96));
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.10);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    isolation: isolate;
}

.category-tile-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.04), rgba(255, 122, 24, 0.06));
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
    z-index: 0;
}

.category-tile-inner::after {
    content: "";
    position: absolute;
    top: -30%;
    left: -20%;
    width: 40%;
    height: 160%;
    background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.18) 50%,
            rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(12deg) translateX(-220%);
    transition: transform 0.9s ease;
    z-index: 2;
    pointer-events: none;
}

.category-tile:hover .category-tile-inner {
    transform: translateY(-8px);
    box-shadow: 0 28px 64px rgba(17, 24, 39, 0.16);
    border-color: rgba(229, 57, 53, 0.16);
}

.category-tile:hover .category-tile-inner::before {
    opacity: 1;
}

.category-tile:hover .category-tile-inner::after {
    transform: rotate(12deg) translateX(420%);
}

.category-tile-image {
    position: relative;
    width: 52%;
    height: 100%;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    transition: transform 0.7s ease, filter 0.4s ease;
    z-index: 1;
}

.category-tile-content {
    position: relative;
    z-index: 3;
    width: 48%;
    padding: 16px 14px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.35);
    border-radius: 0 30px 30px 0;
    overflow: hidden;
}

.category-tile-title {
    margin: 0 0 6px;
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.category-tile-text {
    margin: 0;
    color: var(--muted);
    font-size: 0.6rem;
    line-height: 1.45;
}

.category-tile-arrow {
    margin-top: auto;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    background: rgba(17, 24, 39, 0.05);
    color: var(--text);
    font-size: 0.6rem;
    box-shadow: 0 8px 16px rgba(17, 24, 39, 0.08);
    transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}

.category-tile:hover .category-tile-arrow {
    transform: translateX(4px);
    background: var(--gradient);
    color: #fff;
    box-shadow: 0 14px 28px rgba(229, 57, 53, 0.24);
}

.category-tile:focus-visible .category-tile-inner {
    outline: 3px solid rgba(229, 57, 53, 0.22);
    outline-offset: 3px;
}

.card-modern {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    height: 100%;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card-modern:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-light);
}

.card-image {
    width: 100%;
    height: 300px;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.card-modern:hover .card-image {
    transform: scale(1.05);
}

.card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    align-items: center;
    margin-top: 1rem;
}

.card-title {
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text);
    line-height: 1.2;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-price {
    color: var(--primary);
    font-size: 0.6rem;
    font-weight: 900;
    margin-bottom: 20px;
}

#item-card-details {
    width: fit-content;
    padding: 6px 8px;
    font-size: 0.7rem;
    margin-top: 1rem;
}

.categories-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

.categories-sidebar {
    position: sticky;
    top: calc(var(--navbar-height) + 24px);
    align-self: start;
}

.categories-sidebar-inner {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 246, 242, 0.96));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.08);
    padding: 20px;
}

.categories-sidebar-label {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(229, 57, 53, 0.08);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.categories-sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.categories-sidebar-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--text);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.04);
    font-weight: 700;
    line-height: 1.35;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.categories-sidebar-link:hover {
    transform: translateX(4px);
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.08), rgba(255, 122, 24, 0.10));
    border-color: rgba(229, 57, 53, 0.18);
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.08);
    color: var(--text);
}

.categories-sidebar-link:hover::after {
    transform: translateX(3px);
    opacity: 0.9;
}

.categories-sidebar-link.active {
    background: var(--gradient);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 16px 32px rgba(229, 57, 53, 0.22);
}

.categories-sidebar-link.active::after {
    opacity: 1;
}

.categories-content {
    min-width: 0;
}

.category-block {
    margin-bottom: 80px;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background-color: white;
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.06);
}

.category-block-hero {
    margin-bottom: 20px;
    padding: 16px;
    background-color: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.04);
}

.category-block-hero .row {
    margin: 0;
    background-color: white;
    border-radius: var(--radius-sm);
}

.category-block-hero .col-lg-6 {
    background: #fff;
}

.category-block-image {
    width: 100%;
    height: 370px;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: var(--radius-sm);
    background-color: white;
    padding: 12px;
}
.category-block-image img{
    background-color: white; !important
}
.category-block-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 370px;
    background: #fff;
    color: var(--muted);
    border-radius: var(--radius-sm);
}

.category-block-description {
    height: 100%;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: none;
    display: flex;
    align-items: flex-start;
}

.category-block-description p {
    margin: 0;
    color: var(--text);
    line-height: 1.7;
    font-size: 1rem;
    background: transparent;
}

.category-block-items {
    margin-top: 8px;
}

.category-item-tile {
    display: flex;
    align-items: center;
    gap: 16px;

    padding: 18px;
    border-radius: var(--radius-sm);

    background: #fff;
    border: 1px solid var(--border);

    text-decoration: none;
    color: var(--text);

    transition: all 0.25s ease;
}

/* Image */
.category-item-tile img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Title */
.category-item-tile span {
    font-weight: 700;
    font-size: 1rem;
}

/* Hover */
.category-item-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
    border-color: var(--border-light);
}

/* GRID FIX */
.category-block-items .col-xl-3,
.category-block-items .col-lg-4,
.category-block-items .col-md-6,
.category-block-items .col-sm-6 {
    display: flex;
}

/* SQUARE TILE */
.category-item-tile {
    width: 100%;
    aspect-ratio: 1 / 1;

    position: relative;
    overflow: hidden;

    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);

    text-decoration: none;
    color: var(--text);

    display: block;
}

/* INNER CENTERED CONTENT */
.category-item-inner {
    position: relative;
    width: 100%;
    height: 100%;
    margin-top: 1rem;
}

.category-item-inner img {
    position: absolute;
    inset: 0;
    scale: 1.8;
    width: 100%;
    height: 100%;
    object-fit: contain;
    margin-bottom: 2rem;
    padding: 24px 16px 60px;
    background-color: white;
}

/* TITLE */
.category-item-inner span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    padding: 10px 8px;
    font-weight: 700;
    font-size: 0.7rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}

/* HOVER */
.category-item-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.08);
    border-color: var(--border-light);
}

@media (max-width: 992px) {
    .categories-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .categories-sidebar {
        position: relative;
        top: auto;
    }

    .categories-sidebar-inner {
        padding: 16px;
    }

    .categories-sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .categories-sidebar-link {
        width: auto;
        flex: 0 0 auto;
        border-radius: 999px;
        padding: 10px 14px;
    }

    .categories-sidebar-link::after {
        display: none;
    }

    .category-block {
        padding: 18px;
    }

    .category-block-header h2 {
        font-size: 1.6rem;
    }

    .category-block-image {
        height: 240px;
    }

    .category-block-description {
        padding: 18px;
    }
}

#alle-ansehen{
    padding: 10px 12px;
}

.info-modern {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);
    padding: 28px;
    height: 100%;
    transition: 0.25s ease;
}

.info-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: white;
    font-size: 1rem;
}

.stats-section {
    background: linear-gradient(135deg, #f8fafc, #eef2f7);
    padding-top: 60px;
    padding-bottom: 60px;
}

.stats-title {
    color: var(--text);
}

.stats-subtitle {
    color: var(--muted);
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.06);
    transition: all 0.3s ease;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 32px rgba(17, 24, 39, 0.10);
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    line-height: 1.1;
    word-break: break-word;
}

.stat-label {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.35;
}

.party-banner {
    padding: 40px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.10), rgba(255, 122, 24, 0.12)), #ffffff;
    border: 1px solid rgba(229, 57, 53, 0.12);
    box-shadow: var(--shadow);
}

.teaser-link {
    display: inline-block;
    margin-top: 10px;
    font-weight: 700;
}

.teaser-banner {
    position: relative;
    height: 280px;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 24px;
    color: white;
    background-size: cover;
    background-position: center;
    transition: all 0.4s ease;
}

.teaser-banner:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.teaser-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.teaser-content {
    position: relative;
    z-index: 2;
}

.teaser-content h4 {
    font-weight: 800;
    margin-bottom: 10px;
}

.teaser-content p {
    font-size: 0.7rem;
    opacity: 0.9;
}

.teaser-eventagentur {
    background-image: url('https://images.unsplash.com/photo-1505236858219-8359eb29e329?q=80&w=1200');
}

.teaser-foto {
    background-image: url('https://images.unsplash.com/photo-1492724441997-5dc865305da7?q=80&w=1200');
}

.teaser-miet {
    background-image: url('https://images.unsplash.com/photo-1511795409834-ef04bbd61622?q=80&w=1200');
}

.eventmodule-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 22px;
}

.eventmodule-tile {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 24px;
    min-height: 320px;
    background: #ddd;
    box-shadow: 0 18px 40px rgba(17, 24, 39, 0.10);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
    isolation: isolate;
}

.eventmodule-tile:nth-child(1),
.eventmodule-tile:nth-child(4),
.eventmodule-tile:nth-child(5),
.eventmodule-tile:nth-child(8) {
    grid-column: span 3;
    min-height: 260px;
}

.eventmodule-tile:nth-child(2),
.eventmodule-tile:nth-child(3),
.eventmodule-tile:nth-child(6),
.eventmodule-tile:nth-child(7) {
    grid-column: span 3;
    min-height: 390px;
}

.eventmodule-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease, filter 0.4s ease;
}

.eventmodule-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.04) 0%, rgba(15, 23, 42, 0.15) 38%, rgba(15, 23, 42, 0.78) 100%);
    z-index: 1;
}

.eventmodule-tile::after {
    content: "";
    position: absolute;
    top: -120%;
    left: -40%;
    width: 55%;
    height: 260%;
    transform: rotate(18deg);
    background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.10) 50%,
            rgba(255, 255, 255, 0) 100%
    );
    transition: transform 0.8s ease;
    z-index: 2;
}

.eventmodule-tile:hover {
    transform: translateY(-10px) scale(1.015);
    box-shadow: 0 28px 60px rgba(17, 24, 39, 0.16);
}

.eventmodule-tile:hover .eventmodule-image {
    transform: scale(1.08);
    filter: saturate(1.08) contrast(1.04);
}

.eventmodule-tile:hover::after {
    transform: translateX(220%) rotate(18deg);
}

.eventmodule-label {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    z-index: 3;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #1f2937;
    font-weight: 700;
    font-size: 0.7rem;
    text-align: center;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
    transition: transform 0.35s ease, background 0.35s ease;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: anywhere;
    line-height: 1.3;
}

.eventmodule-tile:hover .eventmodule-label {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.95);
}

.eventmodule-label small {
    display: block;
    margin-top: 6px;
    font-size: 0.6rem;
    font-weight: 600;
    color: #6b7280;
}

@media (max-width: 992px) {
    .section-pad {
        padding: 56px 0;
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.15;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .hero {
        padding: 96px 0 72px;
        clip-path: none;
    }

    .hero-content {
        text-align: center;
    }

    .hero p {
        font-size: 1rem;
    }

    .search-modern {
        flex-direction: column;
        gap: 12px;
    }

    .search-modern input,
    .search-modern button {
        width: 100%;
        min-width: 0;
    }

    .card-modern .card-image {
        height: 240px;
    }

    .info-modern,
    .party-banner {
        padding: 24px;
    }

    .teaser-banner {
        height: 240px;
    }

    .categories-grid-modern {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .category-tile-inner {
        min-height: 220px;
        border-radius: 26px;
    }

    .category-tile-image {
        width: 52%;
        min-height: 220px;
    }

    .category-tile-content {
        width: 48%;
        padding: 20px;
    }

    .eventmodule-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .eventmodule-tile,
    .eventmodule-tile:nth-child(1),
    .eventmodule-tile:nth-child(2),
    .eventmodule-tile:nth-child(3),
    .eventmodule-tile:nth-child(4),
    .eventmodule-tile:nth-child(5),
    .eventmodule-tile:nth-child(6),
    .eventmodule-tile:nth-child(7),
    .eventmodule-tile:nth-child(8) {
        grid-column: span 1;
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .section-head {
        margin-bottom: 32px;
    }

    .section-pad {
        padding: 48px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero {
        padding: 88px 0 64px;
    }

    .hero-badge {
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .card-modern .card-image {
        height: 220px;
    }

    .info-modern,
    .party-banner {
        padding: 20px;
        border-radius: 20px;
    }

    .btn-primary,
    .btn-accent,
    .btn-outline-secondary,
    .btn-outline-danger {
        width: 100%;
    }

    .categories-grid-modern {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .category-tile-inner {
        flex-direction: column;
        min-height: auto;
        border-radius: 24px;
    }

    .category-tile-image {
        width: 100%;
        min-height: 210px;
        height: 210px;
    }

    .category-tile-content {
        width: 100%;
        padding: 18px;
        gap: 14px;
    }

    .category-tile-title {
        font-size: 1.08rem;
    }

    .category-tile-text {
        font-size: 0.92rem;
    }

    .stat-card {
        padding: 22px 16px;
        border-radius: 20px;
    }

    .stat-number {
        font-size: 2.4rem;
        margin-bottom: 8px;
    }

    .stat-label {
        font-size: 0.95rem;
    }

    .eventmodule-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .eventmodule-tile {
        min-height: 240px !important;
    }

    .eventmodule-label {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 14px;
    }
}

@media (max-width: 576px) {
    .stat-card {
        padding: 20px 16px;
    }

    .stat-number {
        font-size: 1.7rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    .eventmodule-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .eventmodule-tile {
        min-height: 260px !important;
        border-radius: 20px;
    }

    .eventmodule-label {
        left: 14px;
        right: 14px;
        bottom: 14px;
        padding: 16px 16px;
        font-size: 1rem;
        border-radius: 16px;
    }
}

.cat-scroll-section {
    position: relative;
    height: 300vh;
}

.cat-shell {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    gap: 0;
    align-items: stretch;
    width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(17, 24, 39, 0.05);

    --cat-progress: 0;
    transform: scale(calc(1 + (min(var(--cat-progress), 0.3) * 0.05)));
    transform-origin: center center;
    will-change: transform;
    transition: transform 0.08s linear, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cat-shell.is-active {
    border-color: #ff7a18;
    box-shadow: inset 0 0 0 2px #ff7a18,
    0 10px 30px rgba(17, 24, 39, 0.08);
}

.cat-shell.is-active {
    z-index: 30;
}

.cat-sidebar {
    width: 220px;
    flex-shrink: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    border-right: 1px solid var(--border);
    border-radius: 0;
}

.top-line {
    font-size: 1.1rem;
    font-weight: 400;
    color: white;
    display: inline-block;
    padding: 0.3125rem 0.75rem;
}

.top-line-event {
    font-size: 1.2rem;
    font-weight: 400;
    color: white;
    display: inline-block;
    padding: 0.3125rem 0.75rem;
    max-width: 40rem;
}


.cat-panel {
    flex: 1;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 24px;
    scroll-behavior: auto;
    overscroll-behavior: auto;
}

body.cat-shell-active {
    overscroll-behavior: auto;
}

.event-tools-section {
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(229, 57, 53, 0.05), transparent 30%),
    radial-gradient(circle at 90% 0%, rgba(255, 122, 24, 0.08), transparent 28%),
    var(--bg-soft);
    overflow: hidden;
}

.event-tools-head {
    max-width: 760px;
    margin: 0 auto 48px;
    position: relative;
    z-index: 1;
}

.event-tools-grid {
    display: flex;
    justify-content: center;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.event-tool-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 26px;
    border-radius: 28px;
    max-width: 420px;
    width: 100%;
    text-decoration: none;
    color: var(--text);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 246, 242, 0.96));
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 18px 45px rgba(17, 24, 39, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.event-tool-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(229, 57, 53, 0.05), rgba(255, 122, 24, 0.07));
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 0;
}

.event-tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(17, 24, 39, 0.14);
    border-color: rgba(229, 57, 53, 0.16);
    color: var(--text);
}

.event-tool-card:hover::before {
    opacity: 1;
}

.event-tool-card > * {
    position: relative;
    z-index: 1;
}

.event-tool-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    background: var(--gradient);
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 14px 28px rgba(229, 57, 53, 0.22);
}

.event-tool-body {
    flex: 1;
}

.event-tool-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(229, 57, 53, 0.08);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.event-tool-badge--muted {
    background: rgba(17, 24, 39, 0.06);
    color: var(--muted);
}

.event-tool-title {
    margin: 0 0 12px;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--text);
    letter-spacing: -0.02em;
}

.event-tool-text {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.65;
    font-size: 0.98rem;
}

.event-tool-meta {
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(17, 24, 39, 0.04);
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.45;
}

.event-tool-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
}

.event-tool-link {
    font-weight: 800;
    color: var(--primary);
}

.event-tool-arrow {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 24, 39, 0.05);
    color: var(--text);
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.event-tool-card:hover .event-tool-arrow {
    transform: translateX(4px);
    background: var(--gradient);
    color: #fff;
}

.event-tool-card--placeholder {
    opacity: 0.92;
}

.event-tool-card:focus-visible {
    outline: 3px solid rgba(229, 57, 53, 0.22);
    outline-offset: 4px;
}

@media (max-width: 992px) {
    .event-tools-grid {
        grid-template-columns: 1fr;
    }

    .event-tool-card {
        padding: 22px;
        border-radius: 24px;
    }

    .event-tool-title {
        font-size: 1.18rem;
    }
}

@media (max-width: 992px) {
    .cat-scroll-section {
        height: auto;
    }

    .cat-shell {
        position: relative;
        top: auto;
        height: auto;
        transform: none !important;
    }

    body.cat-shell-active {
        overscroll-behavior: auto;
    }
}

.event-tools-inline {
    display: flex;
    justify-content: center;
}

.event-tool-card--active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    width: 100%;
    max-width: 1100px;
    padding: 32px;
}

/* LEFT */
.event-tool-form {
    display: flex;
    flex-direction: column;
}

/* RIGHT */
.event-tool-result {
    background: rgba(17, 24, 39, 0.04);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Placeholder */
.event-tool-result-placeholder {
    color: var(--muted);
    font-weight: 600;
}

.event-tools-section--wide .container-fluid {
    max-width: 1400px;
    margin: 0 auto;
}

/* ========================
  INLINE EVENT TOOL
  DARK MODE
======================== */

html[data-theme="dark"] .event-tools-section {
    background: radial-gradient(circle at 10% 20%, rgba(229, 57, 53, 0.08), transparent 30%),
    radial-gradient(circle at 90% 0%, rgba(255, 122, 24, 0.10), transparent 28%),
    var(--bg-soft);
}

html[data-theme="dark"] .event-tool-card--active {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45);
    color: var(--text);
}

html[data-theme="dark"] .event-tool-result {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .event-tool-result-placeholder {
    color: var(--muted);
}

html[data-theme="dark"] .event-tool-title {
    color: #f8fafc;
}

html[data-theme="dark"] .event-tools-head .section-title {
    color: var(--text);
}

html[data-theme="dark"] .event-tools-head .section-subtitle {
    color: var(--muted);
}

/* ========================
   INPUT / SELECT SIZE
======================== */

.event-tool-form .form-label {
    font-weight: 700;
    margin-bottom: 8px;
}

.event-tool-form .form-control,
.event-tool-form .form-select {
    min-height: 56px;
    padding: 14px 18px;
    border-radius: 16px;
    font-size: 1rem;
    line-height: 1.2;
    box-shadow: none;
}

.event-tool-form .form-select {
    padding-right: 48px;
}

/* optional: a bit more premium spacing */
.event-tool-form .row.g-3 {
    --bs-gutter-y: 1.1rem;
    --bs-gutter-x: 1.1rem;
}

/* ========================
   DARK INPUTS / SELECTS
======================== */

html[data-theme="dark"] .event-tool-form .form-control,
html[data-theme="dark"] .event-tool-form .form-select {
    background: #111827;
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .event-tool-form .form-control::placeholder {
    color: var(--muted);
}

html[data-theme="dark"] .event-tool-form .form-control:focus,
html[data-theme="dark"] .event-tool-form .form-select:focus {
    background: #111827;
    color: var(--text);
    border-color: rgba(255, 122, 24, 0.32);
    box-shadow: 0 0 0 0.2rem rgba(255, 122, 24, 0.10);
}

html[data-theme="dark"] .event-tool-form .form-label {
    color: var(--text);
}

/* dropdown arrow stays visible in dark mode */
html[data-theme="dark"] .event-tool-form .form-select {
    background-color: #111827;
    color: var(--text);
}

/* result card inside inline calculator */
html[data-theme="dark"] .calculator-result-card {
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
    color: var(--text);
}

html[data-theme="dark"] .calculator-result-item {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .calculator-result-label {
    color: var(--muted);
}

html[data-theme="dark"] .calculator-note {
    color: var(--muted);
}
.item-detail-summary-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.item-detail-summary-price .price-netto {
    font-size: 1.4rem;
    color: var(--accent);
}

.item-detail-summary-price .price-brutto {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--accent);
}
/* ========================
   CATEGORY BLOCK HERO FIX
======================== */
.category-block-hero,
.category-block-hero .row,
.category-block-hero .col-lg-6 {
    background: #fff !important;
}

.category-block-image,
.category-block-image-placeholder,
.category-block-description {
    background: #fff !important;
}

html[data-theme="dark"] .category-block-hero,
html[data-theme="dark"] .category-block-hero .row,
html[data-theme="dark"] .category-block-hero .col-lg-6 {
    background: #1e293b !important;
}

html[data-theme="dark"] .category-block-image,
html[data-theme="dark"] .category-block-image-placeholder {
    background: #1f2937 !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}

html[data-theme="dark"] .category-block-description {
    background: linear-gradient(180deg, #1f2937 0%, #111827 100%) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}
.category-block-hero,
.category-block-hero .row,
.category-block-hero .col-lg-6,
.category-block-hero .col-lg-6 > * {
    background: #fff !important;
}