/* ============================================================
   style.css — site-wide styles
   ============================================================ */

/* ── Utility ─────────────────────────────────────────────── */
.container {
    width: min(100% - 2rem, var(--container-max));
    margin-inline: auto;
}
.container--narrow {
    padding-block: 9rem;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: 1.5rem;
    text-align: center;
}


/* ── HEADER ─────────────────────────────────────────────── */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: var(--color-header-bg);
    color: var(--color-header-fg);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.5rem;
    max-width: var(--max-width);
    margin-inline: auto;
}
.header-menu {
    display: flex;
    gap: 4rem;
    align-items: center;
}
.logo {
    display: block;
    width: 120px;
    height: 60px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}
.main-nav ul {
    display: flex;
    gap: 2rem;
    backdrop-filter: blur(12px);
    padding-block: 1rem;
    padding-inline: 2rem;
    border-radius: 12px;
}
.main-nav a {
    font-size: var(--fs-md);
    letter-spacing: .03em;
    transition: opacity .2s;
    color: var(--color-primary);
    font-weight: 500;
}

/* White nav on home hero, black after scroll */
.is-home .main-nav a                        { color: white; }
.is-home .site-header.scrolled .main-nav a  { color: black; }

.main-nav a:hover,
.main-nav a.active { opacity: 1; color: var(--color-accent); }

/* Burger — hidden on desktop */
.nav-toggle {
    display: none;
}



/* ── MOBILE NAV OVERLAY ─────────────────────────────────── */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 102;      
    background: #000000A8;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(9px);
    z-index: 50 !important;
}
.nav-overlay.open { display: flex; }

.nav-overlay__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}
.nav-overlay__nav a {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 6vw, 3rem);
    font-weight: 500;
    color: #fff;
    letter-spacing: .04em;
    text-decoration: none;
    transition: opacity .2s;
}
.nav-overlay__nav a:hover,
.nav-overlay__nav a.active { opacity: .5; }


/* ── Mobile breakpoint ──────────────────────────────────── */
@media (max-width: 940px) {
    /* Nav — hide desktop, show burger */
    .main-nav   { display: none !important; }
    .nav-toggle { display: flex; }

    /* Hero */
    .hero-btns  { flex-direction: column; }

    /* Carousel */
    .carousel__slide   { flex: 0 0 100%; }
    .carousel__btn     { width: 36px; height: 36px; }
    .carousel__btn svg { width: 18px; height: 18px; }

    /* Aussteller */
    .aussteller-grid { grid-template-columns: repeat(2, 1fr); }

    /* Marquee */
    .home-marquee { border-radius: 0; margin: 0; padding: 0; }

    /* Programm */
    .programm-grid { grid-template-columns: 1fr; }

    /* Gallery */
    .gallery-grid { grid-template-columns: 1fr; }

    /* Footer */
    .footer-inner { padding-left: 0rem; }
}


.lang-switcher {
    display: flex;
  align-items: center;
  gap: 3px;
  font-family: var(--font-main);
  font-weight: 600;
  letter-spacing: .03em;
}

.lang-switcher__active {
    color: var(--color-accent); 
    cursor: default;
}

.lang-switcher__divider {
    color: var(--color-text-muted, #999);
}

.lang-switcher__link {
    color: var(--color-text, #333);
    text-decoration: none;
    transition: color 0.2s;
}

.lang-switcher__link:hover {
    color: var(--color-primary);
}


/* ── HERO ───────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 90vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
}
.hero-inner {
    position: relative;
    z-index: 1;
    padding: 2rem 1.5rem;
    max-width: var(--max-width);
    margin-inline: auto;
    width: 100%;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-title {
    line-height: 1.1;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--color-bg);
}
.hero-subtitle {
    opacity: .85;
    text-align: center;
    color: white;
}
.hero-btns {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}


/* ── RUNNING BANNER ─────────────────────────────────────── */
.running-banner {
    background: var(--color-banner-bg);
    padding: 4rem 0;
    overflow: hidden;
}
.banner-track {
    display: flex;
    gap: 4rem;
    align-items: center;
    width: max-content;
    animation: marquee 24s linear infinite;
}
.banner-track:hover { animation-play-state: paused; }
.banner-item img {
    height: 40px;
    width: auto;
    opacity: .6;
    filter: grayscale(1);
    transition: opacity .3s, filter .3s;
}
.banner-item img:hover { opacity: 1; filter: grayscale(0); }
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.running-banner-cta {
    justify-content: end;
    display: flex;
    padding: 2rem;
}


/* ── SUBPAGE CARDS ──────────────────────────────────────── */
.subpage-links {
    padding: var(--spacing) 0;
}
.subpage-links .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}
.subpage-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 1;
    height: max-content;
    max-height: calc(100vh - var(--header-visible-height) - var(--spacing-s));
    width: 100%;
}
.subpage-card .btn {
    position: absolute;
    bottom: 1rem;
    z-index: 2;
    margin-bottom: 1.5rem;
}
.subpage-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
      filter: brightness(60%);
}
.subpage-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 60%);
    z-index: 1;
}
.card-title,
.subpage-card .btn {
    position: relative;
    z-index: 2;
}
.card-title {
    position: absolute;
    bottom: 6rem;
    z-index: 2;
    color: #fff;
    font-family: var(--font-heading);
    text-align: center;
    margin-bottom: 1rem;
}
.subpage-card--centered {
    justify-content: center;
}
.subpage-card--centered .card-title {
    position: relative;
    bottom: unset;
    margin-bottom: 1rem;
}
.subpage-card--centered .btn {
    position: relative;
    bottom: unset;
    margin-bottom: 0;
}


/* ── ANFAHRT CARDS ──────────────────────────────────────── */
.subpage-links-anfahrt .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 650px));
    gap: var(--space-md);
    justify-content: center;
}
.subpage-card-anfahrt {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    width: 100%;
    text-decoration: none;
}
.subpage-card-anfahrt img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.subpage-card-anfahrt::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
    z-index: 1;
}
.card-title-anfahrt {
    position: relative;
    z-index: 2;
    color: #fff;
    font-family: var(--font-heading);
    text-align: center;
    margin-bottom: 1rem;
}
.subpage-card-anfahrt .btn {
    position: relative;
    z-index: 2;
}


/* ── TEXT SECTION ───────────────────────────────────────── */
.text-section {
    padding: var(--spacing) 1.5rem;
}
.text-section p {
    color: var(--color-muted);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}
.text-section-text {
    text-align: center;
}


/* ── GALLERY (static grid on rueckblick) ────────────────── */
.gallery-section {
    padding: 5px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 0.8;
    background: #eee;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    color: #fff;
    background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .3s;
    font-size: .9rem;
}
.gallery-item:hover .gallery-caption { opacity: 1; }


/* ── HOME MARQUEE ───────────────────────────────────────── */
.home-marquee {
    background: var(--color-accent);
    color: var(--color-primary);
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: var(--space-md);
    padding: 2rem;
}
.home-marquee__track {
    display: inline-flex;
    gap: 0;
    animation: home-marquee-scroll 30s linear infinite;
}
.home-marquee__track:hover { animation-play-state: paused; }
.home-marquee__item {
    font-family: var(--font-heading);
    font-size: 30px;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 0 2.5rem;
    font-weight: 500;
}
.home-marquee__dot {
    margin-left: 2.5rem;
    color: var(--color-accent);
    font-size: .7em;
}
@keyframes home-marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}


/* ── GALLERY CAROUSEL ───────────────────────────────────── */
.gallery-section .container { padding-inline: 1.5rem; }
.carousel {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
}
.carousel__track {
    display: flex;
    gap: var(--space-md);
    height: 100%;
    transition: transform .6s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}
.carousel__slide {
    flex: 0 0 calc(50% - 0.75rem);
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    aspect-ratio: 3.5 / 4;
}
.carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}
.carousel__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(to top, rgba(0,0,0,.6) 0%, transparent 60%);
    color: #fff;
    font-size: .95rem;
    letter-spacing: .02em;
}
.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,.45);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background .2s;
    padding: 0;
}
.carousel__btn:hover  { background: rgba(0,0,0,.75); }
.carousel__btn--prev  { left: .5rem; }
.carousel__btn--next  { right: .5rem; }
.carousel__btn svg    { width: 22px; height: 22px; }
.carousel__dots {
    display: flex;
    justify-content: center;
    gap: .4rem;
    margin-top: 1rem;
}
.carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.2);
    cursor: pointer;
    padding: 0;
    transition: background .2s, transform .2s;
}
.carousel__dot.is-active {
    background: var(--color-accent, #e05a2b);
    transform: scale(1.3);
}


/* ── FOOTER ─────────────────────────────────────────────── */
.footer-divider {
    display: flex;
    align-items: center;
    padding-block: 2rem;
    max-width: var(--max-width);
    margin-inline: auto;
}
.footer-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-primary);
}
.footer-divider__label {
    padding-right: 1rem;
    text-transform: uppercase;
    white-space: nowrap;
    color: #000;
    font-weight: 600;
}
.site-footer {
    background: var(--color-accent);
    padding: var(--space-xl) 1.5rem 0;
    display: none;
}
.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin-inline: auto;
    padding-bottom: 3rem;
    padding-left: 12rem;
}
.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: .5rem;
}
.footer-col h4 {
    margin-bottom: .75rem;
    font-size: .85rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #000;
}
.footer-col p,
.footer-col a {
    line-height: 1.8;
    opacity: .8;
    transition: opacity .2s;
    color: #000;
}
.footer-col a:hover { opacity: 1; }
.footer-bottom {
    padding: 1.25rem 0;
    text-align: center;
    font-size: .8rem;
    opacity: .7;
    max-width: var(--max-width);
    margin-inline: auto;
}

.footer-bottom--inner{
    display: flex;
    flex-direction: row;
    gap: 2rem;
    padding-left: 12rem;
}

.anmelden-footer{
  bottom: 20px;
  position: absolute;
  padding-left: 20px;
}

/* ── BESUCHER PAGE ──────────────────────────────────────── */
.section--surface {
    background-color: var(--color-surface);
    display: flex;
    flex-direction: row;
    gap: 20px;
    padding-top: 8rem;
}
.conatiner--besucher {
    display: flex;
    min-width: 100%;
    gap: var(--space-md);
    max-height: 60vh;
}
.besucher-top-left {
    width: 50%;
    flex-shrink: 0;
    min-height: 40vh;
    padding: var(--container-pad);
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    background-color: var(--color-bg);
    border-radius: var(--radius-md);
}
.besucher-top-right {
    width: 50%;
    flex-shrink: 0;
}

.besucher-top-title{
    margin-bottom: 5rem;
}

.besucher-top-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}



/* ── PROGRAMM SECTION ───────────────────────────────────── */
.programm-section {
    padding-top: 4rem;
    padding-bottom: 0 !important;
}
.programm-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}
.programm-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-md);
    font-family: var(--font-main);
    font-size: var(--fs-md);
    font-weight: 400;
    line-height: 1;
    padding: 1.75rem 3.5rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color var(--transition), color var(--transition), border-color var(--transition);
    text-decoration: none;
}
.programm-filter-btn.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}
.programm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}
.programm-card {
    padding: 1.75rem;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    border-radius: var(--radius-md);
    background-color: var(--color-bg);
    color: var(--color-primary);
}
.programm-card[hidden] { display: none !important; }
.programm-card__title {
    margin: 0;
    font-size: 2rem;
    font-weight: 400;
}
.programm-card__subtitle {
    margin: 0;
    font-size: 1.3rem;
    opacity: 0.7;
    text-transform: uppercase;
        word-break: break-word;
    overflow-wrap: break-word;
}
.programm-card__body {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.6;
}


/* ── RUECKBLICK / GALLERY GRID ──────────────────────────── */
.rueckblick-pdf-section {
    display: flex;
    flex-direction: row;
    gap: 3rem;
}
.gallery-grid-section {
    padding: 4rem 2rem;
    margin: 0 auto;
}
.gallery-grid-title {
    font-family: "Montserrat", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    text-align: center;
}
.gallery-grid-item {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #111;
    border-radius: 4px;
    cursor: pointer;
}
.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease, opacity 0.3s ease;
}
.gallery-grid-item:hover img {
    transform: scale(1.05);
    opacity: 0.6;
}
.gallery-grid-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.gallery-grid-overlay svg {
    width: 36px;
    height: 36px;
    color: #fff;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}
.gallery-grid-item:hover .gallery-grid-overlay { opacity: 1; }


/* ── AUSSTELLERVERZEICHNIS ──────────────────────────────── */
.aussteller-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 2rem 0;
}
.aussteller-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    transition: box-shadow 0.2s ease;
}
.aussteller-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.aussteller-card a {
    display: flex;
    align-items: center;
    justify-content: center;
}
.aussteller-logo {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}
.aussteller-name {
    font-family: var(--font-main);
    font-size: 0.85rem;
    text-align: center;
    margin: 0;
    color: var(--color-text-muted, #666);
}


/* ── ÜBER UNS ───────────────────────────────────────────── */
.ueberuns-content {
    text-align: center;
    max-width: 920px;
    width: 100%;
    padding-inline: 1.5rem;
}
.ueberuns-content p {
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    margin-bottom: 5rem;
}



/* ── KONTAKT / CF7 FORMS ────────────────────────────────── */
.wpcf7-form-control {
    border-radius: var(--radius-md);
    border: none;
    padding: 6px 0;
    width: 80%;
    outline: none;
    box-shadow: none;
}
.wpcf7-form-control.wpcf7-text.wpcf7-not-valid { border: 1px solid red; }
.wpcf7-radio {
    display: flex;
    flex-direction: column;
}
.wpcf7-radio .wpcf7-list-item {
    display: block;
    margin: 4px 0;
}
.wpcf7 input[type="submit"] {
    font-size: 20px;
    padding: 0.4rem 2.4rem;
    border: 1.5px solid var(--color-accent);
    border-radius: var(--radius-md);
    background-color: transparent;
    color: var(--color-accent);
    transition: background-color 0.2s ease, color 0.2s ease;
}
.wpcf7 input[type="submit"]:hover {
    background-color: var(--color-accent);
    color: var(--color-primary);
}
.anmelden-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 60px;
    align-items: start;
    max-width: 1550px;
    padding-bottom: 4rem;
}
.wpcf7-list-item {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}
.anmelden-flex {
    gap: 2rem;
    display: flex;
    flex-direction: column;
}
.form-section-title {
    font-family: var(--font-main);
    text-transform: uppercase;
    margin-bottom: 16px;
    padding-bottom: 8px;
}
.anmelden-section label { display: flex; gap: 20px; }
label.kontaktperson-wrap {
    flex-direction: column;
    gap: 6px;
    font-family: var(--font-main);
}

.wpcf7 form.sent .wpcf7-response-output{
    border: none !important;
}

.wpcf7-response-output{
    padding-inline: 0 !important;
    margin-inline: 0 !important;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */

/* ── 1024px ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .aussteller-grid { grid-template-columns: repeat(3, 1fr); }

    .footer-inner { padding-left: 0; }
}

/* ── 900px ──────────────────────────────────────────────── */
@media (max-width: 900px) {
    .programm-grid        { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid         { grid-template-columns: repeat(2, 1fr); }
    .rueckblick-pdf-section { flex-direction: column; gap:1rem;}
    .running-banner-cta     {justify-content: center;}
}

/* ── 768px ──────────────────────────────────────────────── */
@media (max-width: 768px) {
    
    .container{width: min(100%, var(--container-max))!important; }

    .section--surface {
        flex-direction: column;
        padding-top: 8rem;
        gap: 12px;
    }
    .conatiner--besucher {
        flex-direction: column;
        max-height: none;
        min-width: unset;
    }
    .besucher-top-left {
        width: 100%;
        min-height: unset;
    }
    .besucher-top-right {
        width: 100%;
        aspect-ratio: 4 / 3;
    }
    .besucher-top-right img { border-radius: var(--radius-md); }

    .anmelden-grid { grid-template-columns: 1fr; }

    .programm-filter-btn {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
    .container--narrow{padding-block: 5rem;}

    .header-menu { gap: 1.5rem; }

    .home-marquee__track {padding-block: 2rem;}

    .subpage-links  {padding: var(--space-xl) 0;}

    .logo {width: 88px;}

    .footer-divider {flex-direction: column;}
    .footer-bottom--inner {display: inherit; padding-left: 0; }
    .footer-col {text-align: center;}
    .lang-switcher {justify-content: center;   padding-top: 2rem;}
}

/* ── 640px ──────────────────────────────────────────────── */
@media (max-width: 640px) {
/* Nav */
    .main-nav {
        display: none;
    }

    .nav-toggle {
        display: flex;
        position: relative;

        width: 88px;
        height: 24px;

        background: none;
        border: none;
        cursor: pointer;
        padding: 0;

        z-index: 200;
    }

    .nav-toggle span {
        position: absolute;
        right: 0;

        width: 33px;
        height: 2px;

        background: #fff;

        transition: all .3s ease;
    }

    .nav-toggle span:nth-child(1) {
        top: 0;
    }

    .nav-toggle span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-toggle span:nth-child(3) {
        bottom: 0;
    }

    /* Burger -> X */

    .nav-toggle.open span:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
    }

    .nav-toggle.open span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.open span:nth-child(3) {
        bottom: auto;
        top: 50%;
        transform: translateY(-50%) rotate(-45deg);
    }

    /* Hero */
    .hero-btns { flex-direction: column; }

    /* Carousel */
    .carousel__slide    { flex: 0 0 100%; }
    .carousel__btn      { width: 36px; height: 36px; }
    .carousel__btn svg  { width: 18px; height: 18px; }

    /* Aussteller */
    .aussteller-grid { grid-template-columns: repeat(2, 1fr); }

    /* Marquee */
    .home-marquee { border-radius: 0; margin: 0; padding: 0; }

    /* Programm */
    .programm-grid { grid-template-columns: 1fr; }

    /* Gallery */
    .gallery-grid { grid-template-columns: 1fr; }

    /* Footer */
    .footer-inner { flex-direction: column; display: flex; align-items: center;}
}

/* ── 500px ──────────────────────────────────────────────── */
@media (max-width: 500px) {
    .gallery-grid { grid-template-columns: 1fr; }
}


 /*─────────────────────────────────────────────── */
/* ── Mini-Nav  ───────────────────────────────── */

.anmelden-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 32px;
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-bg, #fff);
    border-bottom: 1px solid var(--color-border, #eee);
}

.anmelden-topbar__logo {
    display: block;
    width: 160px;
    height: 48px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}


.anmelden-hero {
  text-align: center;
}
