.hbg1-guide-intro,
.hbg1-guide {
    --guide-ink: #171717;
    --guide-muted: #484848;
    --guide-rule: #dce3e8;
    --guide-blue: #4db2ec;
    --guide-accent: #17577d;
    --guide-date-bg: #eef7fc;
    color: var(--guide-ink);
    overflow-wrap: anywhere;
}

.hbg1-guide-intro {
    border-top: 2px solid var(--guide-accent);
    padding-top: .875rem;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.hbg1-guide-intro p {
    max-width: 65ch;
    margin: 0 0 .5rem;
}

.hbg1-guide-intro a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--guide-accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.hbg1-guide-intro--festive {
    position: relative;
    isolation: isolate;
    display: grid;
    border: 0;
    padding: 0;
    background: #0e1114;
    color: #fff;
}

.hbg1-guide-intro--festive .hbg1-guide-intro__copy {
    align-self: center;
    max-width: 47rem;
    padding: clamp(1.5rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem);
}

.hbg1-guide-intro--festive .hbg1-guide-intro__title {
    margin: 0 0 .75rem;
    color: #fff;
    font: 700 clamp(1.75rem, 4.4vw, 3.25rem)/1.04 Georgia, Palatino, serif;
    overflow-wrap: anywhere;
}

.hbg1-guide-intro__title em {
    display: block;
    color: var(--guide-blue);
}

.hbg1-guide-intro__region {
    display: block;
    margin-top: .65rem;
    font-size: .5em;
    color: #e0e4e8;
}

.hbg1-guide-intro--festive p {
    max-width: 42ch;
    margin: 0 0 1.5rem;
    line-height: 1.55;
    color: #f0f2f4;
}

.hbg1-guide-intro__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.hbg1-guide-intro--festive a {
    padding: 0 1rem;
    background: var(--guide-blue);
    color: var(--guide-ink);
    border: 1px solid transparent;
    border-radius: 999px;
    text-decoration: none;
}

.hbg1-guide-intro--festive .hbg1-guide-intro__actions a + a {
    border-color: #b8c4ce;
    background: transparent;
    color: #fff;
}

.hbg1-guide-intro--festive a:is(:hover, :focus-visible) {
    color: var(--guide-ink);
    text-decoration: underline;
}

.hbg1-guide-intro--festive .hbg1-guide-intro__photo {
    position: absolute;
    inset: 0;
    z-index: -2;
    margin: 0;
}

.hbg1-guide-intro--festive::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgb(10 13 16 / 98%) 0%, rgb(10 13 16 / 94%) 43%, rgb(10 13 16 / 55%) 72%, rgb(10 13 16 / 35%) 100%);
}

.hbg1-guide-intro--festive .hbg1-guide-intro__photo img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hbg1-guide .hbg1-guide__section {
    margin: 0 0 2.75rem;
}

.hbg1-guide h2 {
    margin: 0 0 1rem;
    font: 700 clamp(1.65rem, 3.5vw, 2.5rem)/1.1 Georgia, Palatino, serif;
}

.hbg1-guide .hbg1-guide__highlight {
    padding: clamp(.875rem, 3vw, 1.5rem);
    border: 1px solid var(--guide-rule);
    border-top: 3px solid var(--guide-blue);
    background: var(--guide-date-bg);
}

.hbg1-guide .hbg1-guide__highlight-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem 1rem;
}

.hbg1-guide .hbg1-guide__highlight :is(h2, .hbg1-guide__filters) {
    margin: 0;
}

.hbg1-guide .hbg1-guide__highlight-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
    gap: .625rem;
    list-style: none;
    padding: 0;
    margin: .75rem 0 0;
}

.hbg1-guide .hbg1-guide__highlight-item {
    display: grid;
    align-content: start;
    gap: .2rem;
    margin: 0;
    padding: .625rem .75rem;
    background: #fff;
    border: 1px solid var(--guide-rule);
}

.hbg1-guide .hbg1-guide__highlight-time {
    color: var(--guide-accent);
    font-weight: 700;
}

.hbg1-guide .hbg1-guide__highlight-place {
    color: var(--guide-muted);
}

.hbg1-guide .hbg1-guide__highlight p {
    margin: .75rem 0 0;
}

.hbg1-guide .hbg1-guide__places,
.hbg1-guide .hbg1-guide__events {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hbg1-guide .hbg1-guide__places {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: .875rem;
}

.hbg1-guide .hbg1-guide__place {
    container-type: inline-size;
    display: grid;
    align-items: stretch;
    grid-column: span 3;
    min-height: clamp(8rem, 18vw, 13rem);
    margin: 0;
    background: #eef2f5;
    border-radius: .875rem;
}

.hbg1-guide .hbg1-guide__place:nth-child(-n + 2) {
    min-height: clamp(13rem, 27vw, 20rem);
    grid-column: span 4;
}

.hbg1-guide .hbg1-guide__place:first-child {
    grid-column: span 8;
}

.hbg1-guide .hbg1-guide__place > :is(a, div) {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: inherit;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: .35rem;
    padding: clamp(.55rem, 2vw, 1rem);
    color: var(--guide-ink);
    font: 700 clamp(.875rem, 9cqi, 1.65rem)/1.15 Georgia, Palatino, serif;
}

.hbg1-guide .hbg1-guide__place a span[aria-hidden] {
    position: absolute;
    top: .65rem;
    right: .65rem;
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 50%;
    background: #fff;
    color: var(--guide-ink);
    text-shadow: none;
    font: 700 1rem/1 Arial, sans-serif;
}

.hbg1-guide .hbg1-guide__place img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hbg1-guide .hbg1-guide__place > :has(img) {
    color: #fff;
    text-shadow: 0 1px 3px #000;
}

.hbg1-guide .hbg1-guide__place > :has(img)::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to bottom, transparent 40%, rgb(0 0 0 / 86%) 100%);
}

.hbg1-guide .hbg1-guide__place a:hover span:first-of-type,
.hbg1-guide .hbg1-guide__place a:focus-visible span:first-of-type {
    text-decoration: underline;
    text-underline-offset: .2em;
}

#hbg1-guide-orte,
#hbg1-guide-terminliste,
.hbg1-guide .hbg1-guide__event {
    scroll-margin-top: 3rem;
}

.hbg1-guide .hbg1-guide__ad {
    padding: .75rem;
    border: 1px solid var(--guide-rule);
    text-align: center;
}

.hbg1-guide .hbg1-guide__schedule-list .hbg1-guide__ad {
    margin: 1rem 0;
}

.hbg1-guide .hbg1-guide__ad-label {
    display: block;
    margin-bottom: .4rem;
    color: var(--guide-muted);
    font-size: .75rem;
}

.hbg1-guide .hbg1-guide__ad[data-hbg1-pending-ads] {
    /* Keep the available width for creatives that measure it during initialization. */
    height: 0;
    overflow: hidden;
    margin: 0;
    border: 0;
    padding: 0;
}

.hbg1-guide .hbg1-guide__ad[data-hbg1-pending-ads] .hbg1-guide__ad-label {
    display: none;
}

.hbg1-guide .hbg1-guide__ad img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-inline: auto;
}

.hbg1-guide .hbg1-guide__ad a {
    display: inline-block;
    max-width: 100%;
}

.hbg1-guide .hbg1-guide__more {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 44px;
    margin: .75rem 0 0;
    padding: .45rem .85rem;
    border: 1px solid var(--guide-accent);
    border-radius: 4px;
    background: var(--guide-date-bg);
    color: var(--guide-accent);
    font-weight: 700;
    text-decoration: none;
}

.hbg1-guide .hbg1-guide__more:hover {
    text-decoration: underline;
}

.hbg1-guide .hbg1-guide__schedule {
    display: grid;
    grid-template-columns: minmax(13rem, 1fr) minmax(0, 2.6fr);
    gap: clamp(1.25rem, 4vw, 3.5rem);
}

.hbg1-guide .hbg1-guide__events {
    border-top: 2px solid var(--guide-blue);
}

.hbg1-guide .hbg1-guide__event {
    display: grid;
    grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr);
    gap: clamp(.75rem, 2.5vw, 1.75rem);
    padding: 0;
    margin: 0;
    border-bottom: 1px solid var(--guide-rule);
}

.hbg1-guide .hbg1-guide__date {
    padding: .875rem clamp(.45rem, 1.5vw, .875rem);
    background: var(--guide-date-bg);
    color: var(--guide-ink);
    font: 700 1.25rem/1.15 Georgia, Palatino, serif;
    font-variant-numeric: tabular-nums;
}

.hbg1-guide .hbg1-guide__date time {
    white-space: nowrap;
}

.hbg1-guide .hbg1-guide__date-end {
    display: block;
    margin-top: .2rem;
    color: var(--guide-muted);
    font: 400 .85rem/1.4 Arial, sans-serif;
}

.hbg1-guide .hbg1-guide__event-copy {
    padding-block: .875rem;
    min-width: 0;
}

.hbg1-guide .hbg1-guide__event-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: .35rem;
}

.hbg1-guide .hbg1-guide__actions {
    position: relative;
    flex: 0 0 auto;
    margin: -.625rem 0 -.625rem auto;
}

.hbg1-guide .hbg1-guide__actions[hidden],
.hbg1-guide .hbg1-guide__action-panel input[hidden] {
    display: none;
}

.hbg1-guide .hbg1-guide__actions summary {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 4px;
    color: var(--guide-accent);
    cursor: pointer;
    list-style: none;
    font: 700 1.5rem/1 Arial, sans-serif;
}

.hbg1-guide .hbg1-guide__actions summary::-webkit-details-marker {
    display: none;
}

.hbg1-guide .hbg1-guide__actions summary:focus-visible {
    outline: 2px solid var(--guide-accent);
    outline-offset: 2px;
}

.hbg1-guide .hbg1-guide__actions:is([open], :hover) summary {
    background: var(--guide-date-bg);
}

.hbg1-guide .hbg1-guide__action-panel {
    position: absolute;
    z-index: 2;
    inset-block-start: 100%;
    inset-inline-end: 0;
    box-sizing: border-box;
    width: min(14rem, 75vw);
    padding: .25rem;
    border: 1px solid var(--guide-rule);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 .25rem .75rem rgb(0 0 0 / 14%);
}

.hbg1-guide .hbg1-guide__action-panel button,
.hbg1-guide .hbg1-guide__action-panel input {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: .4rem .6rem;
    font: inherit;
}

.hbg1-guide .hbg1-guide__action-panel button {
    border: 0;
    background: #fff;
    color: var(--guide-accent);
    text-align: start;
    cursor: pointer;
}

.hbg1-guide .hbg1-guide__action-panel button:hover {
    background: var(--guide-date-bg);
}

.hbg1-guide .hbg1-guide__action-status:not(:empty) {
    display: block;
    padding: .25rem .6rem;
    color: var(--guide-muted);
    font-size: .875rem;
}

.hbg1-guide .hbg1-guide__event-title {
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.3;
}

.hbg1-guide .hbg1-guide__event-meta {
    display: grid;
    gap: .125rem;
    margin-top: .25rem;
    color: var(--guide-muted);
    font-size: .875rem;
    line-height: 1.4;
}

.hbg1-guide .hbg1-guide__calendar {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    min-height: 44px;
    margin-top: .75rem;
    color: var(--guide-accent);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.hbg1-guide a:focus-visible,
.hbg1-guide button:focus-visible,
.hbg1-guide-intro a:focus-visible {
    outline: 2px solid var(--guide-accent);
    outline-offset: 3px;
}

.hbg1-guide-intro--festive a:focus-visible {
    outline-color: #fff;
}

@media (max-width: 767px) {
    .hbg1-guide-intro--festive .hbg1-guide-intro__copy {
        padding: clamp(.875rem, 5vw, 1.25rem);
    }

    .hbg1-guide-intro--festive .hbg1-guide-intro__title {
        font-size: clamp(1.375rem, 6.2vw, 2.625rem);
    }

    .hbg1-guide-intro--festive::before {
        background: linear-gradient(90deg, rgb(10 13 16 / 94%), rgb(10 13 16 / 72%));
    }

    .hbg1-guide .hbg1-guide__places {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .625rem;
    }

    .hbg1-guide .hbg1-guide__place:nth-child(n) {
        grid-column: span 1;
        min-height: 0;
        aspect-ratio: 8 / 5;
    }

    .hbg1-guide .hbg1-guide__schedule {
        grid-template-columns: minmax(0, 1fr);
        gap: .5rem;
    }

    .hbg1-guide .hbg1-guide__event {
        grid-template-columns: minmax(0, 5.25rem) minmax(0, 1fr);
    }

    .hbg1-guide .hbg1-guide__date {
        padding-inline: .4rem;
        font-size: 1.0625rem;
    }

    .hbg1-guide .hbg1-guide__event-title {
        font-size: 1rem;
    }
}

.hbg1-guide .hbg1-guide__filters {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 1rem;
    margin: .25rem 0 .75rem;
}

.hbg1-guide .hbg1-guide__filters a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--guide-accent);
    border: 1px solid var(--guide-rule);
    border-radius: 999px;
    padding: .35rem .75rem;
    text-decoration: none;
    line-height: 1.2;
}

.hbg1-guide .hbg1-guide__filters [aria-current] {
    font-weight: 700;
    background: #fff;
    border-color: var(--guide-blue);
}

.hbg1-guide .hbg1-guide__search {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
}

.hbg1-guide .hbg1-guide__search input[type="search"] {
    flex: 1;
    min-width: 0;
    min-height: 44px;
    margin: 0;
}

.hbg1-guide .hbg1-guide__search button {
    min-height: 44px;
    border: 1px solid var(--guide-accent);
    background: #fff;
    color: var(--guide-accent);
    font-weight: 700;
    padding: .35rem .8rem;
}

.hbg1-guide .hbg1-guide__search label {
    flex-basis: 100%;
}

.hbg1-market-invite {
    margin-block: 2rem;
}

.hbg1-market-invite > summary {
    display: block;
    cursor: pointer;
    list-style: none;
}

.hbg1-market-invite > summary::-webkit-details-marker {
    display: none;
}

.hbg1-market-invite > summary:focus-visible {
    outline: 3px solid var(--guide-accent);
    outline-offset: 4px;
}

.hbg1-market-invite > summary img {
    display: block;
    width: 100%;
    height: auto;
}

.hbg1-guide.hbg1-market-form {
    margin-block: 2.75rem;
    padding: clamp(1rem, 4vw, 2rem);
    border-top: 3px solid var(--guide-blue);
    background: var(--guide-date-bg);
}

.hbg1-market-form .hbg1-market-form__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .875rem 1.25rem;
    margin-block: 1rem;
}

.hbg1-market-form__fields > p {
    margin: 0;
}

.hbg1-market-form__wide,
.hbg1-market-form__fields > p:has(> .hbg1-market-form__wide) {
    grid-column: 1 / -1;
}

.hbg1-market-form .hbg1-market-form__fields :is(input, select, textarea) {
    display: block;
    box-sizing: border-box;
    min-height: 44px;
    width: 100%;
    min-width: 0;
    margin-top: .25rem;
    background: #fff;
    color: var(--guide-ink);
}

.hbg1-market-form .wpcf7-submit {
    min-height: 44px;
    padding: .5rem 1rem;
    background: var(--guide-blue);
    color: var(--guide-ink);
    font-weight: 700;
}

@media (max-width: 599px) {
    .hbg1-market-form .hbg1-market-form__fields {
        grid-template-columns: minmax(0, 1fr);
    }
}
