/* Startseite - Layout & Responsive */

body.wiesn-redesign.wiesn-home #wiesn-main .theme-page,
body.wiesn-redesign.wiesn-home #mk-page-introduce,
body.wiesn-redesign.wiesn-home .mk-page-section-wrapper {
    display: none !important;
}

body.wiesn-redesign.wiesn-home #wiesn-main,
body.wiesn-redesign.wiesn-home #mk-boxed-layout,
body.wiesn-redesign.wiesn-home #mk-theme-container {
    width: 100% !important;
    max-width: 100% !important;
}

.wiesn-home {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

.wiesn-home > section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* Volle Breite auf der Startseite (ersetzt enge max-w-7xl-Box) */
.wiesn-home .max-w-7xl {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 4vw, 2rem);
    padding-right: clamp(1rem, 4vw, 2rem);
    box-sizing: border-box;
}

/* -- Hero -- */
.wiesn-home-hero {
    position: relative;
    width: 100%;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    isolation: isolate;
}

@media (min-width: 1024px) {
    .wiesn-home-hero {
        min-height: 100dvh;
    }
}

.wiesn-home-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.wiesn-home-hero__bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    transform: none;
    will-change: auto;
}

/* Wie Vorschau.html: links lesbar, rechts oben ohne Overlay (Bild sichtbar) */
.wiesn-home-hero__gradient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, #fafafa 0%, rgba(250, 250, 250, 0.92) 22%, rgba(250, 250, 250, 0.5) 42%, rgba(250, 250, 250, 0) 58%),
        linear-gradient(180deg, rgba(250, 250, 250, 0) 50%, rgba(250, 250, 250, 0.72) 62%, rgba(250, 250, 250, 0.92) 74%, #fafafa 100%);
}

.wiesn-home-hero__container {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    padding-top: clamp(4.5rem, 11vw, 6.25rem);
    padding-bottom: clamp(2rem, 6vw, 3.5rem);
}

.wiesn-home-hero__layout {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: start;
}

.wiesn-home-hero__content {
    min-width: 0;
    max-width: 52rem;
    margin-top: 0;
    padding-top: 2rem;
}

.wiesn-home-hero__copy {
    transform: translateY(-4.5rem);
}

.wiesn-home-hero__kicker {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.9);
}

@media (min-width: 640px) {
    .wiesn-home-hero__kicker {
        font-size: 1.125rem;
    }
}

.wiesn-home-hero__title {
    margin: 0;
    margin-left: -0.055em;
    font-size: clamp(2.25rem, 10vw, 4.5rem);
    font-weight: 600;
    line-height: 1.02;
    letter-spacing: -0.025em;
    text-wrap: balance;
    color: #000;
}

@media (min-width: 640px) {
    .wiesn-home-hero__title {
        font-size: 6rem;
    }
}

@media (min-width: 768px) {
    .wiesn-home-hero__title {
        font-size: 8rem;
    }
}

.wiesn-home-hero__title-accent {
    color: #f29a30;
    font-weight: 600;
}

.wiesn-home-hero__subtitle {
    margin: clamp(1rem, 3vw, 1.35rem) 0 0;
    max-width: 40rem;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.45;
    color: rgba(0, 0, 0, 0.9);
}

@media (min-width: 640px) {
    .wiesn-home-hero__subtitle {
        font-size: 1.5rem;
    }
}

.wiesn-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: clamp(1.25rem, 4vw, 1.75rem);
}

.wiesn-home-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.65rem 1.35rem;
    font-size: clamp(0.9375rem, 2.8vw, 1.125rem);
    font-weight: 600;
    text-decoration: none;
    border-radius: 9999px !important;
    transform: none !important;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.wiesn-home-hero__btn--primary {
    background: #f29a30;
    color: #fff !important;
    box-shadow: none !important;
}

.wiesn-home-hero__btn--primary:hover {
    background: #c97d20;
}

.wiesn-home-hero__btn--secondary {
    border: 1px solid rgba(255, 255, 255, 0.75);
    background: rgba(255, 255, 255, 0.45);
    color: #000 !important;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.wiesn-home-hero__btn--secondary:hover {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: #fff !important;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28) !important;
}

.wiesn-home-hero__widgets {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: clamp(1rem, 3vw, 1.5rem);
    width: 100%;
    min-width: 0;
}

.wiesn-home-hero__countdown,
.wiesn-home-hero__application {
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.34));
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 28px 58px rgba(15, 23, 42, 0.28);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.wiesn-home-hero__countdown:hover,
.wiesn-home-hero__application:hover {
    box-shadow:
        0 28px 58px rgba(15, 23, 42, 0.28),
        0 10px 20px rgba(15, 23, 42, 0.14);
    transform: translateY(-3px);
}

body.wiesn-redesign #wiesn-app .wiesn-home .wiesn-home-hero__countdown,
body.wiesn-redesign #wiesn-app .wiesn-home .wiesn-home-hero__countdown:hover,
body.wiesn-redesign #wiesn-app .wiesn-home .wiesn-home-hero__application,
body.wiesn-redesign #wiesn-app .wiesn-home .wiesn-home-hero__application:hover {
    border: 1px solid rgba(255, 255, 255, 0.7) !important;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.34)) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    box-shadow: 0 28px 58px rgba(15, 23, 42, 0.28) !important;
}

body.wiesn-redesign #wiesn-app .wiesn-home .wiesn-home-hero__countdown:hover,
body.wiesn-redesign #wiesn-app .wiesn-home .wiesn-home-hero__application:hover {
    box-shadow:
        0 28px 58px rgba(15, 23, 42, 0.28),
        0 10px 20px rgba(15, 23, 42, 0.14) !important;
    transform: translateY(-3px) !important;
}

.wiesn-home-hero__countdown {
    width: min(94vw, 28rem);
    max-width: 28rem;
    margin-inline: auto;
    padding: 1.125rem 1.125rem;
    border-radius: 1.5rem;
}

.wiesn-home-hero__countdown:hover {
    transform: translateY(-3px);
}

.wiesn-home-hero__countdown-label {
    margin: 0 0 0.75rem;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: center;
    color: rgba(0, 0, 0, 0.75);
}

.wiesn-home-hero__countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.wiesn-home-hero__countdown-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0.75rem 0.625rem;
    border-radius: 1rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 10px 20px rgba(242, 154, 48, 0.12);
    transform: translateY(0);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.wiesn-home-hero__countdown-cell:hover {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 10px 20px rgba(242, 154, 48, 0.12),
        0 26px 50px rgba(15, 23, 42, 0.24),
        0 10px 20px rgba(15, 23, 42, 0.14);
    transform: translateY(-3px);
}

.wiesn-home-hero__countdown-value {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 2ch;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    color: #f29a30;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    white-space: nowrap;
}

.wiesn-home-hero__countdown-unit {
    display: block;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    color: rgba(0, 0, 0, 0.7);
}

.wiesn-home-hero__stamp {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    flex-shrink: 0;
    width: clamp(7.5rem, 32vw, 11rem);
    height: clamp(7.5rem, 32vw, 11rem);
    margin-inline: auto;
    padding: 0.75rem;
    box-sizing: border-box;
}

.wiesn-home-hero__stamp-body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 72%;
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    gap: 0.15rem;
}

.wiesn-home-hero__stamp-text {
    margin: 0;
    font-size: clamp(0.5rem, 2vw, 0.6875rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #000;
}

.wiesn-home-hero__stamp-image {
    display: block;
    width: auto;
    max-width: 100%;
    height: clamp(2.25rem, 12vw, 5rem);
    margin: 0 auto;
    object-fit: contain;
}

.wiesn-home-hero__stamp.seal-stamp {
    padding: 0.75rem;
    border: none;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.34));
    box-shadow:
        0 28px 58px rgba(15, 23, 42, 0.28),
        0 8px 22px rgba(15, 23, 42, 0.18);
}

.wiesn-home-hero__stamp.seal-stamp::after {
    display: none;
}

/* Tablet: zentriert, Countdown unter dem Hero-Text */
@media (min-width: 640px) and (max-width: 1023px) {
    .wiesn-home-hero__bg-image {
        object-position: center 32%;
    }

    .wiesn-home-hero__gradient {
        background:
            linear-gradient(180deg, rgba(250, 250, 250, 0) 52%, rgba(250, 250, 250, 0.48) 72%, rgba(250, 250, 250, 0.88) 86%, #fafafa 100%),
            linear-gradient(90deg, rgba(250, 250, 250, 0.88) 0%, rgba(250, 250, 250, 0.5) 32%, rgba(250, 250, 250, 0.1) 52%, rgba(250, 250, 250, 0) 62%);
    }

    .wiesn-home-hero__container {
        align-items: center;
        justify-content: center;
    }

    .wiesn-home-hero__layout {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: clamp(1.5rem, 4vh, 2.25rem);
        width: 100%;
    }

    .wiesn-home-hero__content {
        width: 100%;
        max-width: 100%;
        padding-top: 1rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .wiesn-home-hero__copy {
        transform: none;
    }

    .wiesn-home-hero__kicker,
    .wiesn-home-hero__title,
    .wiesn-home-hero__subtitle {
        text-align: center;
    }

    .wiesn-home-hero__title {
        font-size: clamp(3.25rem, 9vw, 5.5rem);
        margin-left: 0;
    }

    .wiesn-home-hero__subtitle {
        max-width: 36rem;
        margin-left: auto;
        margin-right: auto;
    }

    .wiesn-home-hero__actions {
        justify-content: center;
    }

    .wiesn-home-hero__widgets {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 28rem;
        margin-inline: auto;
        gap: 0;
    }

    .wiesn-home-hero__countdown {
        flex: none;
        width: 100%;
        max-width: 28rem;
        margin-inline: auto;
        padding: 1.375rem 1.5rem;
    }
}

/* Tablet/Desktop: Countdown-Größe wie Vorschau */
@media (min-width: 640px) {
    .wiesn-home-hero__countdown {
        padding: 1.375rem 1.625rem;
    }

    .wiesn-home-hero__countdown-label {
        font-size: 0.75rem;
    }

    .wiesn-home-hero__countdown-grid {
        gap: 0.875rem;
    }

    .wiesn-home-hero__countdown-cell {
        padding: 0.875rem 0.75rem;
    }

    .wiesn-home-hero__countdown-value {
        font-size: 1.5rem;
    }
}

@media (min-width: 768px) {
    .wiesn-home-hero__stamp {
        width: 10rem;
        height: 10rem;
    }

    .wiesn-home-hero__stamp-text {
        font-size: 0.6875rem;
    }

    .wiesn-home-hero__stamp-image {
        height: 4rem;
    }
}

/* Desktop: Countdown links, Stempel rechts (wie Vorschau) */
@media (min-width: 1024px) {
    .wiesn-home-hero__container {
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: calc(clamp(4.5rem, 11vw, 6.25rem) + 6.5rem);
    }

    .wiesn-home-hero__content {
        padding-top: 2.5rem;
        padding-left: var(--wiesn-hero-side-inset);
        text-align: left;
    }

    .wiesn-home-hero__copy {
        transform: translateY(-6.5rem);
    }

    .wiesn-home-hero__kicker {
        text-align: left;
    }

    .wiesn-home-hero__title {
        text-align: left;
    }

    .wiesn-home-hero__subtitle {
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .wiesn-home-hero__actions {
        justify-content: flex-start;
    }

    .wiesn-home-hero__layout {
        --wiesn-hero-side-inset: clamp(2.5rem, 5vw, 4rem);
        grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.85fr);
        align-items: start;
        gap: clamp(1.5rem, 3vw, 2.5rem);
    }

    .wiesn-home-hero__widgets {
        align-items: stretch;
        align-self: start;
        justify-self: end;
        gap: 0;
        max-width: calc(36rem + var(--wiesn-hero-side-inset));
        width: 100%;
        margin-top: 0;
        padding-right: var(--wiesn-hero-side-inset);
        padding-left: 0;
        box-sizing: border-box;
    }

    .wiesn-home-hero__timer-group {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 36rem;
        margin-left: 0;
        margin-right: 0;
        transform: translateY(-4rem);
    }

    .wiesn-home-hero__countdown {
        align-self: flex-start;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        max-width: none;
        padding: 1.875rem 2rem;
        transform: none;
    }

    .wiesn-home-hero__countdown-label {
        font-size: 0.875rem;
        margin-bottom: 1.125rem;
    }

    .wiesn-home-hero__countdown-grid {
        gap: 1.125rem;
    }

    .wiesn-home-hero__countdown-cell {
        padding: 1.125rem 1rem;
        border-radius: 1.125rem;
    }

    .wiesn-home-hero__countdown-value {
        font-size: 2.75rem;
    }

    .wiesn-home-hero__countdown-unit {
        font-size: 0.6875rem;
        margin-top: 0.375rem;
    }

    .wiesn-home-hero__stamp {
        align-self: flex-end;
        margin-top: 5rem;
        margin-right: -2rem;
        margin-left: auto;
        width: 11rem;
        height: 11rem;
    }

    .wiesn-home-hero__stamp.seal-stamp {
        animation: wiesnHeroStampFloat 7.5s ease-in-out infinite;
    }

    .wiesn-home-hero__stamp-image {
        height: 5rem;
    }
}

@media (min-width: 1280px) {
    .wiesn-home-hero__layout {
        grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.8fr);
    }

    .wiesn-home-hero__widgets {
        max-width: calc(38rem + var(--wiesn-hero-side-inset));
    }

    .wiesn-home-hero__timer-group {
        max-width: 38rem;
        transform: translateY(-4.5rem);
    }

    .wiesn-home-hero__countdown {
        padding: 2rem 2.125rem;
    }

    .wiesn-home-hero__countdown-value {
        font-size: 3rem;
    }

    .wiesn-home-hero__application {
        padding: 1rem 1.125rem;
    }

    .wiesn-home-hero__application-icon {
        width: 2.75rem;
        height: 2.75rem;
    }

    .wiesn-home-hero__application-kicker {
        font-size: 0.6875rem;
        letter-spacing: 0.16em;
    }

    .wiesn-home-hero__application-title {
        font-size: 1rem;
    }

    .wiesn-home-hero__stamp {
        margin-top: 6rem;
        margin-right: -2.5rem;
    }
}

/* Mobil/Tablet: Hero-Hintergrund bis in die Notch (iOS safe area) */
@media (max-width: 1023px) {
    body.wiesn-redesign.wiesn-home,
    body.wiesn-redesign.wiesn-home #wiesn-home.bg-white {
        background-color: transparent;
    }

    body.wiesn-redesign.wiesn-home .wiesn-home-hero {
        margin-top: calc(-1 * env(safe-area-inset-top, 0px));
        padding-top: env(safe-area-inset-top, 0px);
        min-height: calc(100svh + env(safe-area-inset-top, 0px));
    }

    /*
     * Hintergrund auf die groesste stabile Viewport-Hoehe (lvh) fixieren.
     * So skaliert das Hero-Bild beim Ein-/Ausklappen der mobilen Browserleiste
     * NICHT neu (kein Zoomen/Verschieben beim Scrollen).
     */
    body.wiesn-redesign.wiesn-home .wiesn-home-hero__bg,
    body.wiesn-redesign.wiesn-home .wiesn-home-hero__gradient {
        top: 0;
        bottom: auto;
        height: 100lvh;
        min-height: 100lvh;
        max-height: 100lvh;
    }

    body.wiesn-redesign.wiesn-home .wiesn-home-hero__bg-image {
        height: 100lvh;
        transform: none;
        will-change: auto;
    }
}

/* Mobil: mehr sichtbares Bild, leichteres Overlay, Inhalt nutzt die Höhe */
@media (max-width: 639px) {
    .wiesn-home-hero__bg-image {
        object-position: center 30%;
    }

    .wiesn-home-hero__gradient {
        background:
            linear-gradient(180deg, rgba(250, 250, 250, 0) 58%, rgba(250, 250, 250, 0.45) 78%, rgba(250, 250, 250, 0.82) 90%, #fafafa 100%),
            linear-gradient(90deg, rgba(250, 250, 250, 0.9) 0%, rgba(250, 250, 250, 0.55) 28%, rgba(250, 250, 250, 0.12) 46%, rgba(250, 250, 250, 0) 58%);
    }

    .wiesn-home-hero__container {
        align-items: center;
        justify-content: flex-start;
        padding-top: calc(2.65rem + env(safe-area-inset-top, 0px));
        padding-bottom: 1.5rem;
    }

    .wiesn-home-hero__copy {
        transform: translateY(-0.35rem);
    }

    .wiesn-home-hero__layout {
        flex: 0 1 auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        min-height: 0;
        gap: clamp(0.85rem, 3vh, 1.25rem);
    }

    .wiesn-home-hero__content {
        order: 1;
        flex: 0 1 auto;
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .wiesn-home-hero__kicker {
        text-align: center;
    }

    .wiesn-home-hero__title {
        font-size: clamp(3.35rem, 16vw, 5.125rem);
        text-align: center;
        width: 100%;
    }

    .wiesn-home-hero__subtitle {
        font-size: 1.05rem;
        line-height: 1.45;
        max-width: 34rem;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .wiesn-home-hero__actions {
        justify-content: center;
        width: 100%;
    }

    .wiesn-home-hero__widgets {
        order: 2;
        flex: 0 1 auto;
        margin-top: 0.5rem;
        width: 100%;
        max-width: 100%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0;
    }

    .wiesn-home-hero__countdown {
        flex: 0 1 auto;
        width: min(82vw, 18.5rem);
        max-width: 18.5rem;
        margin-inline: auto;
        padding: 0.7rem 0.65rem;
        border-radius: 1rem;
    }

    .wiesn-home-hero__countdown-label {
        font-size: 0.5rem;
        letter-spacing: 0.12em;
        line-height: 1.35;
        margin-bottom: 0.45rem;
    }

    .wiesn-home-hero__countdown-grid {
        gap: 0.4rem;
    }

    .wiesn-home-hero__countdown-cell {
        padding: 0.45rem 0.25rem;
        border-radius: 0.7rem;
    }

    .wiesn-home-hero__countdown-unit {
        font-size: 0.45rem;
        letter-spacing: 0.06em;
        line-height: 1.2;
        margin-top: 0.15rem;
    }
}

/* Sehr kleine Displays */
@media (max-width: 380px) {
    .wiesn-home-hero__layout {
        min-height: calc(100svh - 5.75rem);
    }

    .wiesn-home-hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .wiesn-home-hero__btn {
        width: min(100%, 18rem);
    }
}

/* Hero: Bewerbungs-Boxen (nur Desktop, dezent, ploppt auf) */
.wiesn-home-hero__applications {
    display: none;
}

@media (min-width: 1024px) {
    .wiesn-home-hero__applications {
        display: flex;
        align-items: stretch;
        gap: 0.875rem;
        width: 100%;
        max-width: none;
        margin: 0;
        box-sizing: border-box;
        animation: wiesnHeroApplicationPop 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
    }

    .wiesn-home-hero__application {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        flex: 1 1 0;
        min-width: 0;
        padding: 0.875rem 1rem;
        border-radius: 1.5rem;
        text-decoration: none;
        color: #1a1a1a;
    }

    .wiesn-home-hero__application:hover {
        color: #1a1a1a;
    }

    .wiesn-home-hero__application-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 9999px;
        background: #f29a30;
        color: #fff;
        box-shadow: 0 8px 18px rgba(242, 154, 48, 0.4);
    }

    .wiesn-home-hero__application-icon i {
        width: 1.15rem;
        height: 1.15rem;
    }

    .wiesn-home-hero__application-icon-svg {
        width: 1.25rem;
        height: 1.25rem;
        display: block;
    }

    .wiesn-home-hero__application-icon-svg--breze {
        width: 1.5rem;
        height: 1.5rem;
        display: block;
        filter: brightness(0) invert(1);
    }

    .wiesn-home-hero__application-text {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
        min-width: 0;
    }

    .wiesn-home-hero__application-kicker {
        font-size: 0.625rem;
        font-weight: 800;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: #c97d20;
    }

    .wiesn-home-hero__application-title {
        font-size: 0.9375rem;
        font-weight: 700;
        color: #1a1a1a;
    }

    .wiesn-home-hero__application-arrow {
        display: none;
    }
}

@keyframes wiesnHeroStampFloat {
    0%,
    100% {
        transform: translateY(0) rotate(-0.4deg);
    }

    50% {
        transform: translateY(-2px) rotate(0.4deg);
    }
}

@keyframes wiesnHeroApplicationPop {
    0% {
        opacity: 0;
        transform: translateY(14px) scale(0.94);
    }
    60% {
        opacity: 1;
        transform: translateY(-2px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* -- Livecams -- */
.wiesn-home-livecams {
    position: relative;
    z-index: 20;
    width: 100%;
    margin-top: 0;
    padding-top: clamp(2.5rem, 6vw, 3.5rem);
    padding-bottom: clamp(3rem, 8vw, 5rem);
}

.wiesn-home-livecams__inner {
    position: relative;
    z-index: 30;
    margin-top: clamp(-3rem, -8vw, -6rem);
}

/* Wie Vorschau: Livecam-Karussell in den ersten Screen (Hero) hineinziehen */
@media (min-width: 768px) {
    .wiesn-home-livecams {
        padding-top: 5rem;
    }

    .wiesn-home-livecams__inner {
        margin-top: -16rem;
    }
}

@media (min-width: 1024px) {
    .wiesn-home-livecams {
        padding-top: 6rem;
    }

    .wiesn-home-livecams__inner {
        margin-top: -18rem;
    }
}

.wiesn-home-livecams__stage {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.5rem, 2vw, 1rem);
    width: 100%;
    padding: 0.5rem 0;
}

.wiesn-home-livecams__main {
    width: 100%;
    max-width: 100%;
    flex: 1 1 auto;
    min-width: 0;
}

.wiesn-home-livecams__main-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #1c1c1c;
}

.wiesn-livecam-slide-track {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.wiesn-livecam-slide {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform, filter;
}

.wiesn-livecam-slide--active {
    z-index: 2;
}

.wiesn-livecam-slide:not(.wiesn-livecam-slide--active) {
    z-index: 1;
}

.wiesn-home-livecams__main:not(.is-livecam-animating):hover .wiesn-livecam-slide--active {
    transform: scale(1.05);
    transition: transform 0.7s ease;
}

#livecam-left-preview,
#livecam-right-preview {
    will-change: transform, opacity;
}

@media (min-width: 768px) {
    .wiesn-home-livecams__main {
        width: 75%;
    }
}

@media (min-width: 1024px) {
    .wiesn-home-livecams__main {
        width: 80%;
    }
}

.wiesn-home-livecams__logo {
    position: absolute;
    right: clamp(0.75rem, 3vw, 1rem);
    bottom: clamp(0.75rem, 3vw, 1rem);
    z-index: 15;
    width: clamp(2.75rem, 12vw, 4rem);
    height: clamp(2.75rem, 12vw, 4rem);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    pointer-events: none;
}

.wiesn-home-livecams__logo[hidden] {
    display: none !important;
}

.wiesn-home-livecams__logo-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom right;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35));
}

.wiesn-home-livecams #livecam-prev,
.wiesn-home-livecams #livecam-next {
    width: clamp(2.5rem, 8vw, 2.75rem);
    height: clamp(2.5rem, 8vw, 2.75rem);
}

.wiesn-home-livecams #livecam-prev {
    left: clamp(0.5rem, 2vw, 1rem);
}

.wiesn-home-livecams #livecam-next {
    right: clamp(0.5rem, 2vw, 1rem);
}

/* -- Spotlight / News / Today / Partner -- */
.wiesn-home-spotlight__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: center;
}

.wiesn-home-spotlight__image {
    width: 100%;
    max-width: min(100%, 30rem);
    margin-inline: auto;
    aspect-ratio: 16 / 9;
    min-height: 0;
}

@media (max-width: 1023px) {
    .wiesn-home-spotlight__image {
        order: -1;
    }
}

@media (min-width: 640px) {
    .wiesn-home-spotlight__image {
        max-width: min(100%, 36rem);
    }
}

@media (min-width: 1024px) {
    .wiesn-home-spotlight__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
        align-items: center;
    }

    .wiesn-home-spotlight__image {
        max-width: 100%;
        justify-self: stretch;
    }
}

.wiesn-home-today__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: stretch;
}

@media (max-width: 1023px) {
    body.wiesn-redesign.wiesn-home .wiesn-home-today__highlights {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    .wiesn-home-today__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Tageskalender: dezenter Schatten wie Vorschau (shadow-sm), keine Floating-Card */
.wiesn-home-today__calendar {
    display: flex;
    flex-direction: column;
    min-height: 0;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    transform: none !important;
}

.wiesn-home-today__calendar:hover {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    transform: none !important;
}

.wiesn-home-today__entry {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    transform: none !important;
    flex-shrink: 0;
}

.wiesn-home-today__entry:hover {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
    transform: none !important;
}

/* Ab ~4 Einträgen: Liste scrollen statt Karte endlos wachsen zu lassen */
.wiesn-home-today__entries {
    max-height: clamp(15rem, 36vh, 22rem);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    padding-right: 0.35rem;
    margin-right: -0.35rem;
    scrollbar-gutter: stable;
    -webkit-overflow-scrolling: touch;
}

.wiesn-home-today__entries:focus {
    outline: 2px solid rgba(242, 154, 48, 0.45);
    outline-offset: 2px;
}

.wiesn-home-today__entries::-webkit-scrollbar {
    width: 6px;
}

.wiesn-home-today__entries::-webkit-scrollbar-track {
    background: transparent;
}

.wiesn-home-today__entries::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.18);
    border-radius: 9999px;
}

.wiesn-home-today__entries::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.28);
}

.wiesn-home .wiesn-news-slider__track {
    --wiesn-news-slider-gap: clamp(0.5rem, 2vw, 1.5rem);
}

.wiesn-home-spotlight .wiesn-news-slider__archive {
    margin-top: 1.25rem;
}

@media (max-width: 1023px) {
    .wiesn-home-hero__stamp,
    .wiesn-home-hero__stamp.seal-stamp {
        display: none !important;
    }

    .wiesn-home-hero__countdown-cell {
        container-type: inline-size;
        overflow: hidden;
        padding-inline: 0.35rem;
        transform: none !important;
    }

    .wiesn-home-hero__countdown-cell:hover {
        transform: translateY(-3px) !important;
    }

    .wiesn-home-hero__countdown-grid {
        gap: clamp(0.35rem, 2vw, 0.75rem);
    }

    .wiesn-home-hero__countdown-value {
        max-width: 100%;
        font-size: clamp(0.875rem, 26cqw, 1.5rem);
        letter-spacing: 0;
    }

    .wiesn-home-hero__actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
        width: 100%;
    }

    .wiesn-home-hero__btn--primary {
        background: #f29a30 !important;
        color: #fff !important;
        border: none !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .wiesn-home-hero__btn--primary:hover {
        background: #c97d20 !important;
        box-shadow: none !important;
        transform: none !important;
    }

    .wiesn-home-hero__btn--secondary {
        background: rgba(255, 255, 255, 0.45) !important;
        border: 1px solid rgba(255, 255, 255, 0.75) !important;
        color: #000 !important;
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
        transform: none !important;
    }

    .wiesn-home-hero__btn--secondary:hover {
        background: rgba(255, 255, 255, 0.92) !important;
        border-color: #fff !important;
        color: #000 !important;
        box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28) !important;
        transform: none !important;
    }
}

@media (min-width: 1024px) {
    .wiesn-home-hero__stamp.seal-stamp {
        width: 11rem;
        height: 11rem;
    }
}

.wiesn-home .wiesn-partner-banners__grid {
    margin-bottom: 0;
}

/* Floating-Effekt auf Startseite-Karten etwas dämpfen */
.wiesn-home .rounded-2xl:not(.wiesn-home-hero__countdown-cell),
.wiesn-home .rounded-xl {
    transform: none !important;
}

.wiesn-home .rounded-2xl:not(.wiesn-home-hero__countdown-cell):hover,
.wiesn-home .rounded-xl:hover {
    transform: none !important;
}

/* Startseite: Button-Hover wie Navigation „Livecam ansehen“ */
.wiesn-home .wiesn-home-hero__btn--primary {
    background-color: #f29a30 !important;
}

.wiesn-home .wiesn-home-hero__btn--primary:hover {
    background-color: #c97d20 !important;
}

.wiesn-home a.rounded-full[class*="bg-[#f29a30]"]:not([class*="bg-[#f29a30]/"]),
.wiesn-home a.rounded-full.bg-\[\#f29a30\] {
    background-color: #f29a30 !important;
    color: #fff !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background-color 0.2s ease !important;
}

.wiesn-home a.rounded-full[class*="bg-[#f29a30]"]:not([class*="bg-[#f29a30]/"]):hover,
.wiesn-home a.rounded-full.bg-\[\#f29a30\]:hover {
    background-color: #c97d20 !important;
    color: #fff !important;
    box-shadow: none !important;
    transform: none !important;
}

.wiesn-home a.inline-flex.items-center.justify-center.rounded-full:not(.wiesn-home-hero__btn--secondary),
.wiesn-home a.inline-flex.items-center.justify-center.rounded-full:not(.wiesn-home-hero__btn--secondary):hover {
    box-shadow: none !important;
    transform: none !important;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}

body.wiesn-redesign #wiesn-app .wiesn-home .wiesn-home-hero__btn,
body.wiesn-redesign #wiesn-app .wiesn-home .wiesn-home-hero__btn:hover {
    transform: none !important;
}

body.wiesn-redesign #wiesn-app .wiesn-home .wiesn-home-hero__btn--secondary {
    background-color: rgba(255, 255, 255, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.75) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
}

body.wiesn-redesign #wiesn-app .wiesn-home .wiesn-home-hero__btn--secondary:hover {
    background-color: rgba(255, 255, 255, 0.92) !important;
    border-color: #fff !important;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28) !important;
    transform: none !important;
}

.wiesn-home .wiesn-home-livecams #livecam-prev,
.wiesn-home .wiesn-home-livecams #livecam-next {
    background-color: #f29a30 !important;
    border-color: #c97d20 !important;
    box-shadow: none !important;
    transition: background-color 0.2s ease !important;
}

.wiesn-home .wiesn-home-livecams #livecam-prev:hover,
.wiesn-home .wiesn-home-livecams #livecam-next:hover {
    background-color: #c97d20 !important;
    transform: translateY(-50%) !important;
}

.wiesn-home #livecam-play-button {
    box-shadow: none !important;
    transition: background-color 0.2s ease !important;
}

.wiesn-home #livecam-play-button:hover {
    background-color: #c97d20 !important;
    transform: none !important;
}

.wiesn-home #livecam-jump-buttons button {
    box-shadow: none !important;
    transform: none !important;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
}

.wiesn-home #livecam-jump-buttons button[aria-pressed="true"] {
    background-color: #f29a30 !important;
    border-color: #f29a30 !important;
    color: #fff !important;
}

.wiesn-home #livecam-jump-buttons button[aria-pressed="true"]:hover {
    background-color: #c97d20 !important;
    border-color: #c97d20 !important;
}

.wiesn-home .wiesn-news-slider__nav,
.wiesn-home .wiesn-news-slider__nav:hover:not(:disabled) {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    transform: translateY(-50%) !important;
}

/* iPhone: finale Mobile-Regeln (überschreibt frühere Countdown-/Hero-Blöcke) */
@media (max-width: 639px) {
    body.wiesn-redesign.wiesn-home .wiesn-home-hero__gradient {
        background:
            linear-gradient(180deg, rgba(250, 250, 250, 0) 48%, rgba(250, 250, 250, 0.42) 72%, rgba(250, 250, 250, 0.82) 88%, #fafafa 100%),
            linear-gradient(90deg, rgba(250, 250, 250, 0.55) 0%, rgba(250, 250, 250, 0.28) 24%, rgba(250, 250, 250, 0.06) 42%, rgba(250, 250, 250, 0) 54%);
    }

    body.wiesn-redesign.wiesn-home .wiesn-home-hero__bg-image {
        object-position: center 20%;
    }

    body.wiesn-redesign.wiesn-home .wiesn-home-hero__container {
        justify-content: flex-start;
        padding-top: calc(2.5rem + env(safe-area-inset-top, 0px));
    }

    body.wiesn-redesign.wiesn-home .wiesn-home-hero__title {
        font-size: clamp(3.5rem, 16.5vw, 5.25rem);
    }

    body.wiesn-redesign.wiesn-home .wiesn-home-hero__copy {
        transform: translateY(-0.35rem);
    }

    body.wiesn-redesign.wiesn-home .wiesn-home-hero__actions {
        margin-top: 1rem;
    }

    body.wiesn-redesign.wiesn-home .wiesn-home-hero__widgets {
        margin-top: 0.35rem;
    }

    body.wiesn-redesign.wiesn-home .wiesn-home-hero__countdown {
        width: min(80vw, 17.5rem);
        max-width: 17.5rem;
        padding: 0.65rem 0.6rem;
    }

    body.wiesn-redesign.wiesn-home .wiesn-home-hero__countdown-value {
        font-size: clamp(0.72rem, 20cqw, 0.92rem);
        letter-spacing: 0;
    }

    body.wiesn-redesign.wiesn-home .wiesn-home-hero__countdown-cell {
        padding: 0.4rem 0.2rem;
    }
}
