html, body {
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    margin: 0;
    background: #f6f7fb;
}


/* ===== GLOBAL TYPOGRAPHY ===== */
body {
    font-family: 'Inter', sans-serif;
}

/* Headlines */
h1, h2, h3, h4, h5, h6,
.mud-typography-h1,
.mud-typography-h2,
.mud-typography-h3,
.mud-typography-h4,
.mud-typography-h5,
.mud-typography-h6 {
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.3px;
}

/* Buttons & Inputs */
.mud-button,
.mud-input {
    font-family: 'Inter', sans-serif;
}


.event-card {
    height: 100%;
}

.ticket-summary {
    border-radius: 12px;
    background: white;
    padding: 1rem;
}


/* ===== Layout / Sections ===== */

.hero-clean {
    background: white;
    border-radius: 16px;
    border: 1px solid #eee;
}

.hero-title {
    font-weight: 700;
    color: #111;
}

.hero-subtitle {
    color: #666;
}

.hero-search {
    max-width: 500px;
}

.section-title {
    font-weight: 600;
}

.event-card-clean {
    background: white;
    border-radius: 16px;
    border: 1px solid #eee;
    transition: all 0.2s ease;
}

    .event-card-clean:hover {
        transform: translateY(-4px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    }

.event-title {
    font-weight: 600;
    margin-bottom: 8px;
}

.text-muted {
    color: #666;
}

.page-section {
    background: white;
    border-radius: 16px;
    border: 1px solid #eee;
    padding: 24px;
}

.section-title {
    font-weight: 700;
    color: #111;
}

/* ===== Hero ===== */

.hero-event {
    margin: 24px;
}

.event-hero-image {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    max-height: 320px;
}

/* ===== Typography ===== */

.event-title {
    font-weight: 800;
    line-height: 1.2;
}

.text-muted {
    color: #666;
}

/* ===== Meta Info ===== */

.meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
}

/* ===== Cards ===== */

.card-clean {
    background: white;
    border-radius: 16px;
    border: 1px solid #eee;
    padding: 20px;
}

.ticket-card {
    background: #fafafa;
    border-radius: 12px;
    padding: 16px;
    border: 1px solid #eee;
    transition: all 0.2s ease;
}

    .ticket-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    }

/* ===== Date Header ===== */

.date-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

/* ===== Loading ===== */

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 300px;
}

/* ===== Ticket Page ===== */

.ticket-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #eee;
}

.ticket-name {
    font-weight: 600;
}

.ticket-price {
    font-weight: 600;
    color: #111;
    min-width: 90px;
    text-align: right;
}

.ticket-quantity {
    width: 100px;
}

/* ===== Summary ===== */

.summary-box {
    position: sticky;
    top: 100px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    margin-bottom: 6px;
    color: #444;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.1rem;
}

/* ===== Cart ===== */

.cart-row {
    display: grid;
    grid-template-columns: 1fr 120px 120px 40px;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.cart-title {
    font-weight: 600;
}

.cart-quantity {
    width: 100px;
}

.cart-price {
    font-weight: 600;
    text-align: right;
}

/* Mobile */
@media (max-width: 900px) {
    .cart-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .cart-price {
        text-align: left;
    }
}

/* ===== Checkout ===== */

.checkout-button {
    height: 50px;
    font-weight: 600;
    font-size: 1rem;
}

.summary-box {
    position: sticky;
    top: 100px;
}

/* ===== Payment Selection ===== */

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
}

.payment-card {
    background: white;
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
}

    .payment-card:hover {
        border-color: #FFC107;
        transform: translateY(-2px);
    }

    .payment-card.selected {
        border-color: #FFC107;
        box-shadow: 0 0 0 2px rgba(255,193,7,0.2);
    }

.payment-logo {
    height: 32px;
    object-fit: contain;
    margin-bottom: 0px;
}

.payment-name {
    font-size: 0.85rem;
    color: #444;
}

.payment-card.selected {
    border-color: #FFC107;
    background: #fff9e6;
    background: white;
}

/* ===== Footer ===== */

.app-footer {
    background: #ffffff;
    border-top: 1px solid #eee;
    padding: 20px 0;
    margin-top: 40px;
}

.footer-text {
    color: #777;
    font-size: 0.9rem;
}

.footer-links a {
    color: #444;
    text-decoration: none;
    font-size: 0.9rem;
}

    .footer-links a:hover {
        color: #FFC107;
    }

/* Mobile */
@media (max-width: 768px) {
    .footer-links {
        justify-content: flex-start !important;
        margin-top: 10px;
    }
}

.main-appbar {
    background: #ffffff !important;
    border-bottom: 1px solid #eee;
}

/* Links */
.nav-link {
    color: #333 !important;
    font-weight: 500;
}

    .nav-link:hover {
        color: #FFC107 !important;
    }

/* Icons */
.nav-icon {
    color: #333 !important;
}

.quantity-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 4px 8px;
    background: #fafafa;
}

.quantity-value {
    min-width: 24px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
}

/* Buttons größer für Mobile */
.quantity-stepper .mud-icon-button {
    width: 36px;
    height: 36px;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
    .quantity-stepper {
        padding: 6px 10px;
    }

        .quantity-stepper .mud-icon-button {
            width: 42px;
            height: 42px;
        }
}

/* ===== Cart Animation ===== */

.cart-bounce {
    animation: cartPop 0.3s ease;
}

@keyframes cartPop {
    0% {
        transform: scale(1);
    }

    40% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.breadcrumb {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    color: #777;
}

    .breadcrumb a {
        color: #666;
        text-decoration: none;
    }

        .breadcrumb a:hover {
            color: #FFC107;
        }


/* ===== Event Info Text ===== */

.event-info-text {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.6;
}

    /* schöne Formatierung für HTML */
    .event-info-text p {
        margin-bottom: 8px;
    }

    .event-info-text strong {
        font-weight: 600;
    }

    .event-info-text a {
        color: #FFC107;
        text-decoration: none;
    }

        .event-info-text a:hover {
            text-decoration: underline;
        }

.event-hero-image {
    width: 100%;
    height: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 12px;
}

/* Desktop: gleiche Höhe */
@media (min-width: 960px) {
    .event-hero-image {
        position: sticky;
        height: 100%;
    }
}

/* ===== Banner ===== */

.event-banner {
    width: 100%;
    height: auto; /* 🔥 wichtig: kein Stretch mehr */
    border-radius: 12px;
    display: block;
}

/* Desktop: Hero Look */
@media (min-width: 960px) {
    .event-banner {
        height: 360px;
        object-fit: cover; /* nur Desktop croppen */
    }
}

/* ===== Info Box rechts ===== */

.event-info-box {
    background: #fff9e6;
    border-left: 4px solid #FFC107;
    padding: 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.6;
}

    /* HTML Styling */
    .event-info-box p {
        margin-bottom: 8px;
    }

    .event-info-box a {
        color: #FFC107;
        text-decoration: none;
    }

        .event-info-box a:hover {
            text-decoration: underline;
        }


.ticketset-hero-image,
.event-banner {
    width: 100%;
    height: auto; /* 🔥 wichtig */
    display: block;
    border-radius: 12px;
}

/* Desktop Hero Look */
@media (min-width: 960px) {
    .ticketset-hero-image,
    .event-banner {
        height: 360px;
        object-fit: cover;
    }
}