/* WordPress Content-Wrapper */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.site-main {
    margin: 0 !important;

    p {
        word-break: normal;
        hyphens: auto;
        -webkit-hyphens: auto;
        -ms-hyphens: auto;
    }

}



.bemd-header {
    box-shadow: 0 12px 24px -16px rgba(0, 0, 0, .45);
}

@media (max-width: 767px) {
    .bemd-header {
        box-shadow: 0 8px 18px -14px rgba(0, 0, 0, .38);
    }
}

.entry-content {
    margin: 0 !important;
}

.bemd-section-content {
    /* Breite zuerst flexibel machen, dann Kappung setzen */
    width: 100%;
    max-width: var(--wrap, 1200px);
    margin: 0 auto;

    /* Außenabstände fluid statt fix */
    padding-block: clamp(40px, 8vw, 100px);
    padding-inline: var(--gutter, 16px);
    box-sizing: border-box;
    /* verhindert “Überlaufen” durchs Padding */
}


@media (max-width: 1024px) {
    .bemd-section-content {
        max-width: var(--wrap-tablet, 840px);
    }
}

@media (max-width: 767px) {
    .bemd-section-content {
        max-width: var(--wrap-mobile, 100%);
        padding-inline: var(--gutter-mobile, 14px);
    }
}

/* Header Width */
.grid-container {
    width: 100%;
    max-width: none;
    margin: 0;
}

.bemd-heading-block .kt-inside-inner-col {
    display: inline-flex;
    align-items: center;
    gap: .4em;
}

/* 2) Einheitliche Heading-Größe per CSS-Variable */
.bemd-heading-block {
    --heading-size: var(--bemd-headline, 3rem);
}

/* 3) Headline selbst */
.bemd-heading-block h2 {
    font-size: var(--heading-size);
    line-height: 1.1;
    margin: 0;
    /* Kadence lässt gern default margins stehen */
}

/* 4) Figure (Icon-Wrapper) an dieselbe Größe „binden“ */
.bemd-heading-arrow {
    margin: 0;
    /* figure-Default-Margins resetten */
    display: inline-flex;
    align-items: center;
    font-size: var(--heading-size);

    /* <- entscheidend: Icon bekommt H2-Größe als Em-Basis */
}

/* 5) SVG-Bild exakt in Text-Höhe, Seitenverhältnis bleibt */
.bemd-heading-arrow img {
    height: 1em;
    /* = genau so hoch wie Schrift */
    width: auto !important;
    /* Aspect Ratio halten */
    max-width: none;
    /* überschreibt evtl. Theme-Styles */
    vertical-align: baseline;
}

/*Smooth Scrolling*/
html {
    scroll-behavior: smooth;
}

:target {
    scroll-margin-top: 5rem;
    /* Höhe deines fixen Headers */
}

:root {
    --bemd-title: 3.625rem;
    /* 58px */
    --bemd-headline: 3rem;
    /* 48px */
    --bemd-subline: 2rem;
    /* 32px */
    --bemd-subsubline: 1.5rem;
    /* 24px */
    --bemd-intro: 1.25rem;
    /* 20px */
    --bemd-body: 1.0625rem;
    /* 17px */

    --bemd-teal: #105c60;
    --bemd-blue: #97D2D4;
    --bemd-yellow: #f2e500;
    --bemd-text: #111;
    --bemd-muted: #6c7a81;
    --bemd-card-bg: #fff;
}

/* Tablet 768–1024px */
@media (max-width: 1024px) {
    :root {
        --bemd-title: 3rem;
        /* 48px */
        --bemd-headline: 2.25rem;
        /* 36px */
        --bemd-subline: 1.75rem;
        /* 28px */
        --bemd-subsubline: 1.375rem;
        /* 22px */
        --bemd-intro: 1.125rem;
        /* 18px */
        --bemd-body: 1rem;
        /* 16px */
    }
}

/* Mobile ≤767px */
@media (max-width: 767px) {
    :root {
        --bemd-title: 1.75rem;
        /* ~28px: große H1/Hero */
        --bemd-headline: 1.375rem;
        /* ~22px: H2/H3 */
        --bemd-subline: 1.125rem;
        /* ~18px: Teaser/Lead */
        --bemd-subsubline: 1rem;
        /* ~16px: Sekundär-Head / Meta */
        --bemd-intro: 1rem;
        /* ~16px: Intro/Teaser-Text */
        --bemd-body: 0.9375rem;
        /* 15px: Fließtext; notfalls 1rem */
    }
}

/* Headings & Paragraphs an deine Vars koppeln */
h2,
h3 {
    font-size: var(--bemd-headline) !important;
}

/* du nutzt h2/h3 = headline */
h4 {
    font-size: var(--bemd-subline) !important;
}

h5,
h6 {
    font-size: var(--bemd-subsubline) !important;
}

p p:not(.cmplz-message) {
    font-size: var(--bemd-intro) !important;
}

/* Body-Text Utility (falls gebraucht) */
.bemd-body {
    font-size: var(--bemd-body);
}

/* Button-Typo von fixen px lösen */
.bemd-btn {
    /* vorher: font: 700 48px ... */
    font-weight: 700;
    font-size: 2rem;
    /* Desktop-Default */
    line-height: 1.1;
}

@media (max-width: 1024px) {
    .bemd-btn {
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .bemd-btn {
        font-size: 1.25rem;
    }
}


/* Termine ausblenden, Feature not ready */
.termine {
    display: none !important;
}

/* Blog ausblenden,Feature not ready */
.bemd-blog {
    display: none !important;
}

.bemd-heading-block div {
    height: 5.625rem;
}

.bemd-hero {
    height: 100vh;
    margin-top: calc(-1 * 54px);
    overflow: hidden;
}

.bemd-hero-headings {
    margin: 0 !important;
}


.bemd-section-info .kt-inside-inner-col {
    row-gap: 1.25rem !important;
}

.bemd-title {
    font-size: var(--bemd-subsubline) !important;
}


/*------------*/


.bemd-fokus-swiper-wrap {
    margin-bottom: 24px;
}


/* Floating Kontakt-Button */

:root {
    --bemd-teal: #105c60;
    --bemd-aqua: #7ec7cb;
    --bemd-yellow: #f2e500;
}

#bemd-floating-contact {
    position: fixed;
    right: max(2rem, env(safe-area-inset-right));
    bottom: max(2rem, env(safe-area-inset-bottom));
    z-index: 99999;
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .95rem 1.2rem;
    border-radius: 9999px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    background: var(--bemd-teal);
    /* Fallback, falls Gradient nicht unterstützt */
    box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
    isolation: isolate;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

#bemd-floating-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .32);
}

#bemd-floating-contact:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

/* Icon + Text */
#bemd-floating-contact .bemd-floating-contact__icon img {
    width: 24px;
    height: 24px;
    display: block;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .35));
}

#bemd-floating-contact .bemd-floating-contact__text {
    white-space: nowrap;
    line-height: 1;
    font-weight: 700;
}

/***********/


.bemd-cta {
    border-style: solid;

    border-color: conic-gradient(from 0deg at 80% 20%,
            /* Hotspot oben/rechts */
            var(--bemd-aqua) 0deg,
            var(--bemd-teal) 120deg,
            var(--bemd-aqua) 360deg) !important;

    display: inline-flex;
    align-items: center;
    gap: .6rem;
    padding: .95rem 1.2rem;
    border-radius: 9999px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    background: var(--bemd-teal);
    /* Fallback, falls Gradient nicht unterstützt */
    box-shadow: 0 10px 28px rgba(0, 0, 0, .25);
    isolation: isolate;
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.bemd-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .32);
}


/* ==============================
   Animierter Angular-Gradient (transform-basiert)
   ============================== */
.bemd-cta::before {
    content: "";
    position: absolute;

    left: 50%;
    top: 50%;
    width: 25%;
    height: 2000%;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
    transform-origin: 50% 50%;
    z-index: -1;

    /*
    border-color: conic-gradient(from 0deg at 80% 20%,
            /* Hotspot oben/rechts 
            var(--bemd-aqua) 0deg,
            var(--bemd-teal) 120deg,
            var(--bemd-aqua) 360deg) !important;

    background: conic-gradient(from 0deg at 80% 20%,
            /* Hotspot oben/rechts 
            var(--bemd-aqua) 0deg,
            var(--bemd-teal) 120deg,
            var(--bemd-aqua) 360deg) !important;
            */
    filter: blur(16px) saturate(115%);
    opacity: .95;
    will-change: transform;
    animation: bemd-spin 10s linear infinite;
}

#bemd-floating-contact:hover::before {
    animation-duration: 7s;
    /* leicht schneller bei Hover */
    filter: blur(14px) saturate(125%);
}


/***********/

/* ==============================
   Animierter Angular-Gradient (transform-basiert)
   ============================== */
#bemd-floating-contact::before {
    content: "";
    position: absolute;

    left: 50%;
    top: 50%;
    width: 220%;
    height: 220%;
    transform: translate(-50%, -50%) rotate(0deg) scale(1);
    transform-origin: 50% 50%;
    z-index: -1;
    border-radius: 50%;
    background: conic-gradient(from 0deg at 80% 20%,
            /* Hotspot oben/rechts */
            var(--bemd-aqua) 0deg,
            var(--bemd-teal) 120deg,
            var(--bemd-yellow) 300deg,
            var(--bemd-aqua) 360deg);
    filter: blur(16px) saturate(115%);
    opacity: .95;
    will-change: transform;
    animation: bemd-spin 10s linear infinite;
}

#bemd-floating-contact:hover::before {
    animation-duration: 7s;
    /* leicht schneller bei Hover */
    filter: blur(14px) saturate(125%);
}

/* Sanfte Rotation (GPU-freundlich) */
@keyframes bemd-spin {
    to {
        transform: translate(-50%, -50%) rotate(360deg) scale(1);
    }
}

@media (max-width: 767px) {
    #bemd-floating-contact .bemd-floating-contact__text {
        display: none;
    }

    #bemd-floating-contact {
        padding: .9rem;
    }
}

body.admin-bar #bemd-floating-contact {
    bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 46px);
}

@media (min-width: 1024px) {
    body.admin-bar #bemd-floating-contact {
        bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 32px);
    }
}

@media (prefers-reduced-motion: reduce) {
    #bemd-floating-contact {
        transition: none;
    }

    #bemd-floating-contact::before {
        animation: none;
    }
}

/*********/


.bemd-title {
    font-size: var(--bemd-subsubline) !important;
}

.bemd-fokus__claim {
    font-size: var(--bemd-subsubline) !important;
    font-weight: bold !important;
}

/* Social Feed CSS */
.swiper {
    font-family: "Univers", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-size: var(--bemd-body, 16px);
    line-height: 1.6;
    color: var(--bemd-text, #111);
}

.image-contact-parent {
    margin-bottom: 50px;
}


.image-contact-parent .kt-inside-inner-col {
    display: flex;
    align-items: stretch;
}

.image-contact {
    display: flex;
    /* Trick: damit das Bild die Höhe übernehmen kann */
    align-items: stretch;
    flex-shrink: 0;
    border-radius: 40px !important;
    overflow: hidden;
}

.image-contact img {
    height: auto;
    /* behält Seitenverhältnis */
    width: auto;
    /* keine Verzerrung */
    max-height: 100%;
    /* wächst bis zur Containerhöhe */
    display: block;
    overflow: visible;
}

.contact-content {
    flex: 1;
    padding-left: 40px;
}


@media (max-width: 1024px) {
    .image-contact-parent .kt-inside-inner-col {
        flex-direction: column;
    }

    .image-contact img {
        width: 100%;
        height: auto;
    }

    .contact-content {
        padding-left: 0;
        padding-top: 20px;
        padding-bottom: 40px;
    }
}


/* ==============================
   Panorama-Aussteller (Blur + Button + Titel)
   ============================== */

.bemd-aussteller {
    --bg: none;
    --accent: #2b2b2b;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    color: #fff;
    background: var(--bg) center/cover no-repeat;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    margin-block: 24px;
}

.bemd-aussteller__hero {
    position: relative;
    z-index: 2;
    padding: clamp(20px, 4vw, 48px);
    display: grid;
    grid-template-columns: auto;
    align-items: center;
    gap: 12px;
}

.bemd-aussteller__logo {
    max-height: 64px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .55));
}

/* Runder Pfeilbutton rechts oben */
.bemd-aussteller__cta {
    position: absolute;
    right: 24px;
    top: 24px;
    width: 70px;
    height: 70px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, .85);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .4);
    cursor: pointer;
}

.bemd-cta__icon {
    width: 26px;
    height: 26px;
    transition: transform .25s ease;
    transform: rotate(0);
}

.bemd-aussteller__toggle[aria-expanded="true"] .bemd-cta__icon {
    transform: rotate(180deg);
}

.bemd-aussteller__cta:hover {
    filter: brightness(1.05);
}

.bemd-aussteller__cta:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

/* Aufklappbarer Content mit Blur */
.bemd-aussteller__content {
    position: relative;
    overflow: hidden;
    transition: height .35s ease;
}

.bemd-aussteller__content::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(to bottom,
            rgba(10, 15, 35, 0.00) 0%,
            rgba(10, 15, 35, 0.10) 30%,
            rgba(10, 15, 35, 0.35) 60%,
            rgba(10, 15, 35, 0.60) 100%);
}

@supports (backdrop-filter: blur(1px)) {
    .bemd-aussteller__content::before {
        backdrop-filter: blur(18px) saturate(130%);
    }
}

/* Inhalt */
.bemd-aussteller__inner {
    position: relative;
    z-index: 2;
    padding: clamp(24px, 4vw, 48px);
    max-width: 1100px;
    margin: 0 auto;
    color: #fff;
}

.bemd-aussteller__title {
    margin: 0 0 .6em;
    font-size: clamp(24px, 3.2vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .55);
}

.bemd-aussteller__inner p {
    margin: 0 0 1rem;
    line-height: 1.6;
    color: #f3f3f3;
}

.bemd-aussteller__link a {
    color: #fff;
    text-decoration: underline;
    font-weight: 700;
}

.bemd-aussteller__teaser {

    text-shadow: 0 0px 5px rgba(0, 0, 0, 1);
}

/* Grid-Layout */
.bemd-aussteller-grid {
    display: grid;
    gap: 24px;
}

.bemd-aussteller-grid.cols-1 {
    grid-template-columns: 1fr;
}

.bemd-aussteller-grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bemd-aussteller-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1024px) {
    .bemd-aussteller-grid {
        grid-template-columns: 1fr !important;
    }

    .bemd-aussteller__logo {
        max-height: 56px;
    }

    .bemd-aussteller__cta {
        width: 52px;
        height: 52px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bemd-cta__icon {
        transition: none;
    }

}




/* ==============================
   Buttons
   ============================== */




.bemd-btn .kt-inside-inner-col {
    gap: 1.25rem;
    padding: 20px 30px;
    transition: background .3s ease;
}

.bemd-btn__arrow {
    margin: 0;
    /* figure-Default-Margins resetten */
    display: inline-flex;
    align-items: center;
    height: var(--bemd-subline) !important;
    transition: transform .3s ease;
}

.bemd-btn:hover {
    background: rgba(0, 0, 0, .85);
}

.bemd-btn:hover .bemd-btn__arrow,
.bemd-btn:active .bemd-btn__arrow {
    transform: rotate(22.5deg);
}






/* ===============================
   FOKUS-AUSSTELLER-SLIDER (FINAL)
   =============================== */

/* Karten */
.bemd-card--fokus {
    --bg: none;
    position: relative;
    height: 360px;
    border-radius: 18px;
    overflow: hidden;
    background: var(--bg) center/cover no-repeat;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform .25s ease, box-shadow .25s ease;
}

.bemd-card--fokus:hover {
    transform: translateY(-4px);
}

/* Verlauf unten */
.bemd-fokus__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .55) 65%, rgba(0, 0, 0, .75) 100%);
    pointer-events: none;
}

/* Logo oben links */
.bemd-fokus__logo {
    position: absolute;
    left: 18px;
    top: 18px;
    max-height: 56px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .6));
}

/* Text unten */
.bemd-fokus__body {
    position: relative;
    z-index: 3;
    padding: 0 18px 18px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .6);
}

.bemd-fokus__teaser {
    margin: 0;
    line-height: 1.55;
}

.bemd-fokus-swiper-wrap button {
    display: none;
}

/* ===============================
   Responsive
   =============================== */
@media (max-width: 1024px) {
    .bemd-card--fokus {
        height: 320px;
    }
}

@media (max-width: 767px) {
    .bemd-card--fokus {
        height: 280px;
    }

    .bemd-fokus__logo {
        max-height: 48px;
        left: 14px;
        top: 14px;
    }

    .bemd-fokus__body {
        padding: 0 14px 14px;
    }
}



/* =========================
   BEMD Footer – 3 Spalten Layout
   ========================= */
.bemd-footer {
    --bg: var(--bemd-teal, #165c5c);
    --fg: #e6f2f2;
    --fg-dim: #b9d4d4;
    --line: rgba(230, 242, 242, .35);
    --link: #fff;

    background: var(--bg);
    color: var(--fg);
    padding: clamp(32px, 4vw, 56px) 0;
}

.bemd-footer,
.bemd-footer * {
    box-sizing: border-box;
}

.bemd-footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 32px);
    display: grid;
    grid-template-columns: 1fr 1.3fr 0.8fr;
    gap: clamp(24px, 4vw, 64px);
    align-items: start;
}

@media (max-width: 1024px) {
    .bemd-footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Spaltenausrichtung */
.bemd-footer__col--logo {
    justify-self: start;
}

.bemd-footer__col--text {
    justify-self: center;
}

.bemd-footer__col--nav {
    justify-self: end;
}

@media (max-width: 1024px) {

    .bemd-footer__col--logo,
    .bemd-footer__col--text,
    .bemd-footer__col--nav {
        justify-self: center;
    }
}

/* Logo */
.bemd-footer__logo img {
    display: block;
    width: clamp(160px, 18vw, 240px);
    height: auto;
    margin: 0 auto;
}

/* Texte */
.bemd-footer__lead {
    font-weight: 700;
    line-height: 1.4;
    font-size: clamp(16px, 1.5vw, 18px);
    margin: 0 0 14px;
    max-width: 60ch;
}

.bemd-footer__body {
    line-height: 1.6;
    color: var(--fg-dim);
    font-size: clamp(15px, 1.3vw, 17px);
    margin: 0 0 22px;
    max-width: 60ch;
}

/* Social */
.bemd-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    align-items: center;
    justify-content: flex-start;
    font-size: clamp(14px, 1.2vw, 16px);
}

@media (max-width: 1024px) {
    .bemd-footer__social {
        justify-content: center;
    }
}

.bemd-footer__social span {
    opacity: .9;
    margin-right: 6px;
}

.bemd-footer__ln,
.bemd-footer__web {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.bemd-footer__social img {
    height: auto;
}

/* Menü rechts */
.bemd-footer__nav-title {
    margin: 4px 0 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
    font-size: var(--bemd-subsubline, clamp(18px, 2vw, 22px));
}

.bemd-footer__menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.bemd-footer__menu li {
    margin: 0;
}

.bemd-footer__menu a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--link);
    text-decoration: none;
    line-height: 1.3;
}

.bemd-footer__menu img.bemd-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 1px;
    transition: transform .2s ease, filter .2s ease;
}

.bemd-footer__menu a:hover img.bemd-icon {
    transform: translateX(3px);
    filter: brightness(1.2);
}

/* Linien + Bottom */
.bemd-footer__rule {
    height: 1px;
    background: var(--line);
    margin: clamp(24px, 4vw, 40px) auto;
    max-width: 1200px;
    width: calc(100% - clamp(32px, 6vw, 64px));
}

.bemd-footer__bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 32px);
}

.bemd-footer__copy {
    color: var(--fg-dim);
    font-size: clamp(13px, 1.1vw, 15px);
    text-align: center;
}

/* Fokus / Accessibility */
.bemd-footer a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}




/* ===============================
   SPOT-AUSSTELLER LOGO-SLIDER
   =============================== */
.bemd-spot-swiper {
    width: 100%;
    overflow: hidden;
    padding: 24px 0;
    user-select: none;
}

.bemd-spot-swiper .swiper-wrapper {
    align-items: center;
}

.bemd-spot-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    opacity: 0.9;
    transition: opacity .3s ease;
}

.bemd-spot-swiper .swiper-slide:hover {
    opacity: 1;
}

.bemd-spot__logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 180px;
    max-height: 100px;
}

.bemd-spot__logo {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25));
    transition: transform .3s ease;
}

.bemd-spot__logo:hover {
    transform: scale(1.05);
}

/* Responsive Tuning */
@media (max-width: 1024px) {
    .bemd-spot-swiper .swiper-slide {
        height: 80px;
    }

    .bemd-spot__logo-wrap {
        max-width: 140px;
        max-height: 80px;
    }
}

@media (max-width: 767px) {
    .bemd-spot-swiper .swiper-slide {
        height: 100px;
        width: auto !important;
    }

    .bemd-spot__logo-wrap {
        max-width: 240px;
        max-height: 140px;
    }
}

.bemd-aussteller-formate {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* zentriert Reihen */
    gap: 48px;
    max-width: 1200px;
    margin-inline: auto;
    padding: 40px 0;
}



/* =========================================
   BEMD Vorteilskarten – Final Version
   ========================================= */
.bemd-vorteile {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* zentriert Reihen */
    gap: 48px;
    max-width: 1200px;
    margin-inline: auto;
    padding: 40px 0;
}

/* Einzelkarte */
.bemd-vorteil {
    flex: 1 1 320px;
    /* Mindestbreite */
    max-width: 360px;
    background: #fff;
    border-radius: 18px;
    padding: 32px 24px 40px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .08);
    transition: transform .2s ease, box-shadow .2s ease;


    display: flex;
    /* NEU: vertikale Balance */
    flex-direction: column;
    justify-content: space-between;
}

.bemd-vorteil:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .12);
}

/* Icon oben */
.bemd-vorteil__icon {
    display: block;
    margin: 0 auto 20px;
    width: 72px;
    height: 72px;
    object-fit: contain;
    transition: transform .3s ease;
}

.bemd-vorteil:hover .bemd-vorteil__icon {
    transform: scale(1.05);
}

/* Wrapper für Textbereiche */
.bemd-vorteil__body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Titel oben, Text unten */
}

/* Headline */
.bemd-vorteil__title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #111;
    line-height: 1.35;
    text-wrap: balance;
}

/* Beschreibungstext */
.bemd-vorteil__text {
    font-size: 16px;
    color: #333;
    line-height: 1.55;
    margin: 0;
}

/* Responsive Anpassung */
@media (max-width: 1024px) {
    .bemd-vorteile {
        gap: 32px;
    }

    .bemd-vorteil {
        flex: 1 1 45%;
        max-width: 45%;
    }
}

@media (max-width: 767px) {
    .bemd-vorteil {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.no-bottom {
    padding-bottom: 0 !important;
}


.impressum {
    padding: 50px 0px 50px 0px;

    a {
        color: var(--bemd-yellow) !important;
    }

    a:hover {
        color: white;
    }
}


.link-no-color a {
    color: var(--bemd-teal);
}



.bemd-footer__col * {
    font-size: var(--bemd-info) !important;
}

.bemd-stand-info {
    font-size: var(--bemd-title) !important;
}

.bemd-footer__nav-title {
    font-size: var(--bemd-subsubline) !important;
}

.bemd-icon-info img {
    height: 28px !important;
}

.contact-content .kt-inside-inner-col {
    p {
        font-size: 1rem !important;
    }
}

/* Parent muss positioniert sein */
.wp-block-kadence-rowlayout {
    position: relative;
}

/* Gemeinsame Basis für alle Deko-Elemente */
.floating-deco {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    /* Klicks gehen durch */
    transform: translate(var(--deco-tx, -50%), var(--deco-ty, -50%)) rotate(var(--deco-rot, 0deg));
    transform-origin: center;
}

/* Bild skaliert über Breite, nicht über scale() */
.floating-deco img,
.floating-deco svg {
    display: block;
    width: var(--deco-size, 240px);
    max-width: none;
    height: auto;
}


.floating-bg {
    --deco-top: 110%;
    --deco-right: -90%;
    --deco-size: clamp(1200px);
    --deco-tx: -50%;
    /* translateX */
    --deco-ty: -50%;
    /* translateY */
}

.floating-bg {
    top: var(--deco-top);
    right: var(--deco-right);
}

.floating-bg-news {
    --deco-top: 3.8%;
    --deco-right: 28%;
    --deco-size: clamp(8vw, 8vw, 260px);
    --deco-tx: -50%;
    --deco-ty: -50%;
    z-index: 1000;
}

.floating-bg-news {
    top: var(--deco-top);
    right: var(--deco-right);
}

.floating-bg-2026 {
    --deco-top: 9%;
    --deco-right: -5%;
    --deco-size: clamp(12vw, 12vw, 320px);
    --deco-tx: -50%;
    --deco-ty: -50%;
    z-index: 1000;
}

.floating-bg-2026 {
    top: var(--deco-top);
    right: var(--deco-right);
}

.floating-bg-arrow {
    --deco-top: 9%;
    --deco-right: -60%;
    --deco-size: clamp(100px, 16vw, 300px);
    --deco-tx: -50%;
    --deco-ty: -50%;
    z-index: 1000;
}

.floating-bg-arrow {
    top: var(--deco-top);
    right: var(--deco-right);
}


@media (max-width: 1024px) {
    .floating-bg {
        --deco-right: -90%;
        --deco-size: clamp(900px, 24vw, 320px);
    }

    .floating-bg-news {
        --deco-right: 32%;
        --deco-size: clamp(13vw, 13vw, 240px);
    }

    .floating-bg-2026 {
        --deco-right: -3%;
        --deco-size: clamp(12vw, 12vw, 280px);
    }

    .floating-bg-arrow {
        --deco-right: -30%;
        --deco-size: clamp(18vw, 18vw, 260px);
    }

    .bemd-spot-swiper {
        padding: 2rem !important;
    }

}

@media (max-width: 767px) {
    .floating-bg {
        --deco-top: 100%;
        --deco-right: -60%;
        --deco-size: clamp(650px, 36vw, 240px);
    }

    .floating-bg-news {
        --deco-top: 5%;
        --deco-right: 30%;
        --deco-size: clamp(18vw, 18vw, 200px);
    }

    .floating-bg-2026 {
        --deco-size: clamp(12vw, 12vw, 220px);
    }

    .floating-bg-arrow {
        --deco-top: 14%;
        --deco-right: -8%;
        --deco-size: clamp(90px, 34vw, 220px);
    }

    .bemd-spot-swiper {
        padding: 1rem !important;
    }

}


@media (max-width: 600px) {
    .floating-bg-news {
        --deco-top: 5%;
        --deco-right: 22%;
        --deco-size: clamp(18vw, 18vw, 200px);
        display: none;
    }
}

.bemd-spot-swiper {
    background: var(--bemd-teal);
    padding: 3rem !important;
    border-radius: 30px;

}

/* GeneratePress Back-to-Top */
.generate-back-to-top {
    position: fixed;
    /* falls nicht schon so */
    right: max(2rem, env(safe-area-inset-right));
    bottom: max(120px, env(safe-area-inset-bottom));
    z-index: 10001;
}


/* ===============================
   BEMD – Booking & Sponsoring Tool (helles Design mit BEMD-Variablen)
   =============================== */

/* Gesamtbereich */
.bemd-booking {
    margin-block: 40px 60px;
    width: 100%;
}

/* Alle Pakete untereinander */
.bemd-booking__grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===============================
   Paket-Karte (als <details>)
   =============================== */

.bemd-paket {
    border-radius: 26px;
    background: var(--bemd-card-bg);
    color: var(--bemd-text);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    border: 1px solid rgba(16, 92, 96, 0.12);
    /* leicht teal */
    transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

/* Summary-Kopfzeile (Titelzeile) */
.bemd-paket__summary,
.bemd-paket>summary {
    list-style: none;
    display: flex;
    align-items: center;
    /* zentriert vertikal */
    gap: 12px;
    padding: 18px 24px;
    cursor: pointer;
    position: relative;
    min-height: 96px;
    /* sorgt für gleich hohe geschlossene Blöcke */
}

/* Default-Markierung von summary entfernen (Chrome/Safari/FF) */
.bemd-paket__summary::-webkit-details-marker,
.bemd-paket>summary::-webkit-details-marker {
    display: none;
}

.bemd-paket__summary::marker,
.bemd-paket>summary::marker {
    content: "";
}

/* Tag + Titel in der Kopfzeile */
.bemd-paket__tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bemd-teal);
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(16, 92, 96, 0.35);
    background: rgba(151, 210, 212, 0.25);
    /* leicht blau hinterlegt */
}

.bemd-paket__title {
    margin: 0;
    font-size: 34px !important;
    font-weight: 800;
    line-height: 1.1;
    flex: 1 1 auto;
    color: var(#3f3f3f);
}

/* Chevron rechts */
.bemd-paket__chevron {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    position: relative;
}

.bemd-paket__chevron::before {
    content: "";
    position: absolute;
    inset: 2px;
    border-right: 2px solid var(--bemd-muted);
    border-bottom: 2px solid var(--bemd-muted);
    transform: rotate(45deg) translateY(-1px);
    transform-origin: center;
    transition: transform 0.2s ease;
}

/* Wenn offen: Pfeil nach oben */
.bemd-paket[open] .bemd-paket__chevron::before {
    transform: rotate(-135deg) translateY(1px);
}

/* Hover-Highlight auf dem Kopf */
.bemd-paket__summary:hover {
    background: rgba(151, 210, 212, 0.15);
    /* hellblaues Hover */
}

/* Zu/Auf – Schatten & leichte Bewegung */
.bemd-paket[open] {
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
    transform: translateY(-2px);
    border-color: rgba(16, 92, 96, 0.45);
}

/* ===============================
   Ausklappbarer Paket-Body
   =============================== */

.bemd-paket__body {
    padding: 0 24px 18px;
    border-top: 1px solid rgba(16, 92, 96, 0.16);
    display: grid;
    gap: 10px;
}

/* Bild im Body */
.bemd-paket__image {
    margin: 10px -4px 4px;
    border-radius: 18px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.bemd-paket__image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;

}

/* Subtitel & Rahmeninfo */
.bemd-paket__subtitle {
    margin: 4px 0 2px;
    font-size: 14px;
    color: var(--bemd-muted);
}

.bemd-paket__rahmen {
    margin: 0 0 6px;
    color: var(--bemd-muted);

}

/* Inhaltsblöcke (Leistung / Mehrwert) */
.bemd-paket__section {
    padding-left: 20px;
    margin-top: 4px;
}

.bemd-paket__section h4 {
    margin: 0 0 4px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bemd-teal);
}

.bemd-paket__section p {
    margin: 0;
    color: var(--bemd-text);
    line-height: 1.5;
}

/* Preisbereich */
.bemd-paket__priceblock {
    margin-top: 6px;
}

/* Wrapper für die zwei Preis-Spalten */
.bemd-paket__prices {
    display: flex;
    justify-content: flex-end;
    /* Block hängt rechts */
    gap: 32px;
}

/* Einzelne Spalte (Nicht-Aussteller / Aussteller) */
.bemd-paket__price-col {
    min-width: 140px;
    text-align: right;
}

.bemd-paket__price {
    font-size: 18px;
    font-weight: 700;
    color: var(--bemd-text);
    text-align: right;
}

.bemd-paket__price-hint {
    margin-top: 2px;
    font-size: 12px;
    line-height: 1.4;
    color: var(--bemd-muted);
}

/* Infozeile darunter bleibt wie gehabt */
.bemd-paket__price-info {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--bemd-muted);
}


.bemd-paket__price {
    font-size: 18px;
    font-weight: 700;
    color: var(--bemd-text);
}

.bemd-paket__price--alt {
    font-size: 16px;
    opacity: 0.9;
    margin-top: 2px;
}

.bemd-paket__price-label {
    font-size: 13px;
    margin-left: 6px;
    color: var(--bemd-muted);
}

.bemd-paket__price-info {
    margin: 4px 0 0;
    font-size: 13px;
    text-align: right;
    color: var(--bemd-muted);
}

/* Mehrfach buchbar: Anzahl-Feld */
.bemd-paket__qty-label {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.bemd-paket__qty-label span {
    color: var(--bemd-muted);
}

.bemd-paket__qty {
    width: 80px;
    padding: 6px 8px;
    border-radius: 999px;
    border: 1px solid rgba(108, 122, 129, 0.8);
    background: #f9fbfb;
    color: var(--bemd-text);
    text-align: center;
}

/* Einmal buchbar: Checkbox */
.bemd-paket__single-label {
    margin-top: 10px;
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    color: var(--bemd-text);
}

.bemd-paket__single-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--bemd-yellow);
}

/* ===============================
   Summary / Auswahlübersicht
   =============================== */

.bemd-booking__summary {
    margin-top: 32px;
    padding: 20px 22px;
    border-radius: 18px;
    background: #ffffff;
    color: var(--bemd-text);
    display: grid;
    gap: 12px;
    width: 100%;
    border: 1px solid rgba(16, 92, 96, 0.16);
}



/* Rolle (Aussteller / Mitglied / Externer Interessent) */
.bemd-booking__role {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    align-items: center;
    font-size: 14px;
}

.bemd-booking__role>span {
    font-weight: 600;
    color: var(--bemd-text);
}

.bemd-booking__role label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: var(--bemd-text);
}

.bemd-booking__role input[type="radio"] {
    accent-color: var(--bemd-yellow);
}

/* Summenzeilen */
.bemd-booking__line {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: var(--bemd-text);
}

.bemd-booking__count {
    font-weight: 600;
}

.bemd-booking__total {
    font-weight: 800;
}

/* Formular innerhalb der Summary */
.bemd-booking__form {
    margin-top: 6px;
    border-top: 1px solid rgba(16, 92, 96, 0.16);
    padding-top: 12px;
}

.bemd-booking__form h4 {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bemd-teal);
}

.bemd-booking__fields {
    display: grid;
    gap: 10px;
}

.bemd-booking__fields label {
    display: grid;
    gap: 4px;
    font-size: 13px;
}

.bemd-booking__fields span {
    color: var(--bemd-muted);
}

.bemd-booking__input,
.bemd-booking__textarea {
    padding: 6px 9px;
    border-radius: 8px;
    border: 1px solid rgba(108, 122, 129, 0.9);
    background: #ffffff;
    color: var(--bemd-text);
    font-size: 14px;
    width: 100%;
}

.bemd-booking__input:focus-visible,
.bemd-booking__textarea:focus-visible {
    outline: 2px solid var(--bemd-teal);
    outline-offset: 1px;
    border-color: var(--bemd-teal);
}

/* Button zum Versenden */
.bemd-booking__send {
    margin-top: 10px;
    padding: 11px 20px;
    border-radius: 999px;
    border: none;
    background: var(--bemd-yellow);
    color: var(--bemd-text);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bemd-booking__send:hover {
    filter: brightness(1.06);
}

.bemd-booking__send:focus-visible {
    outline: 2px solid var(--bemd-teal);
    outline-offset: 3px;
}

/* Hinweistext unter dem Button */
.bemd-booking__hint {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--bemd-muted);
}

.bemd-paket__qty-label {
    justify-content: flex-end;

    input {
        border-radius: 18px;
    }
}

.bemd-paket__section--intro p {
    margin: 0 0 6px;
    line-height: 1.5;
    color: var(--bemd-text);
}


/* ===============================
   Responsive Feintuning
   =============================== */

@media (max-width: 768px) {

    .bemd-paket__summary,
    .bemd-paket>summary {
        padding: 14px 18px;
        min-height: 84px;
    }

    .bemd-paket__title {
        font-size: var(--bemd-subline);
    }

    .bemd-paket__body {
        padding: 0 18px 16px;
    }

    .bemd-booking__summary {
        margin-top: 24px;
        padding: 16px 16px;
    }
}

/* Wrapper / Card für den Loginbereich */
.bemd-login-wrap {
    max-width: 420px;
    margin: 4rem auto 6rem;
    padding: 2.5rem 2rem 2rem;
    background: var(--bemd-card-bg, #fff);
    color: var(--bemd-text, #111);
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(16, 92, 96, 0.12);
    /* leichter Teal-Rand */
}

/* Titel "Aussteller-Login" im Card-Style */
.bemd-login-title {
    margin: 0 0 1.5rem;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bemd-teal, #105c60);
}

/* Formular allgemein */
.bemd-login-wrap #loginform {
    margin: 0;
}

.bemd-login-wrap #loginform p {
    margin-bottom: 1rem;
}

/* Labels */
.bemd-login-wrap #loginform label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--bemd-text, #111);
}

/* Textfelder */
.bemd-login-wrap #loginform .input {
    width: 100%;
    box-sizing: border-box;
    border-radius: 999px;
    border: 1px solid rgba(151, 210, 212, 0.8);
    /* bemd-blue soft */
    padding: 0.65rem 0.9rem;
    background: #f7fbfb;
    color: var(--bemd-text, #111);
    font-size: 0.95rem;
}

.bemd-login-wrap #loginform .input::placeholder {
    color: var(--bemd-muted, #6c7a81);
}

.bemd-login-wrap #loginform .input:focus {
    outline: none;
    border-color: var(--bemd-yellow, #f2e500);
    box-shadow: 0 0 0 1px var(--bemd-yellow, #f2e500);
    background: #ffffff;
}

/* "Angemeldet bleiben" */
.bemd-login-wrap #loginform .forgetmenot {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--bemd-muted, #6c7a81);
    margin-bottom: 1.25rem;
}

.bemd-login-wrap #loginform #rememberme {
    width: auto;
}

/* Submit-Button */
.bemd-login-wrap #loginform .submit {
    margin-top: 0.5rem;
}

.bemd-login-wrap #loginform #wp-submit.button-primary {
    width: 100%;
    border-radius: 999px;
    border: none;
    padding: 0.8rem 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: var(--bemd-yellow, #f2e500);
    color: var(--bemd-teal, #105c60);
    cursor: pointer;
}

.bemd-login-wrap #loginform #wp-submit.button-primary:hover {
    background: #fff55a;
    /* leicht aufgehelltes Yellow */
}

/* "Passwort vergessen?"-Link */
.bemd-login-wrap #nav {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.85rem;
}

.bemd-login-wrap #nav a {
    color: var(--bemd-blue, #97d2d4);
    text-decoration: none;
}

.bemd-login-wrap #nav a:hover {
    color: var(--bemd-yellow, #f2e500);
    text-decoration: underline;
}



/* Mobile Feintuning */
@media (max-width: 600px) {
    .bemd-login-wrap {
        margin: 2.5rem 1.25rem 4rem;
        padding: 2rem 1.5rem 1.75rem;
    }
}

.inside-article {
    background-color: inherit !important;
}

/* "Passwort vergessen?"-Link unter dem Formular */
.bemd-login-wrap .bemd-login-lost-password {
    margin-top: 0.75rem;
    text-align: center;
    font-size: 0.85rem;
}

.bemd-login-wrap .bemd-login-lost-password a {
    color: var(--bemd-blue, #97d2d4);
    text-decoration: none;
}

.bemd-login-wrap .bemd-login-lost-password a:hover {
    color: var(--bemd-yellow, #f2e500);
    text-decoration: underline;
}


/* Basis-Buttonstyle nutzt du ja schon über .btn-login – wir erweitern nur */

.btn-login.btn-login--icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.4rem 0.6rem;
    border-radius: 999px;
}

.btn-login.btn-login--icon span {
    color: var(--bemd-teal);
}

/* Icon selbst */
.btn-login-icon svg {
    display: block;
    color: var(--bemd-teal);
}

/* Screenreader-only Text (Standard-Pattern) */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Wrapper als „Card“ */
.bemd-exhibitor-bookings {
    padding: 1.75rem 1.75rem 1.5rem;
    background: var(--bemd-card-bg, #fff);
    border-radius: 18px;
    border: 1px solid rgba(16, 92, 96, 0.14);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
}

/* Titel */
.bemd-exhibitor-bookings h2,
.bemd-exhibitor-bookings-h2 {
    margin: 0 0 1.25rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--bemd-teal, #105c60);
}


/* Tabelle */
.bemd-bookings-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

/* Kopfzeile */
.bemd-bookings-table thead th {
    padding: 0.6rem 0.75rem;
    border-bottom: 2px solid #e0e6ea;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bemd-muted, #6c7a81);
}

/* Zellen */
.bemd-bookings-table tbody td {
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid #e5ecef;
    color: var(--bemd-text, #111);
}

/* Hover über Zeile */
.bemd-bookings-table tbody tr:hover {
    background: #f7fbfb;
}

/* Spalte „Leistung / Slot“ leicht hervorheben */
.bemd-bookings-table tbody td:nth-child(4) {
    font-weight: 500;
}

/* Status-Badge */
.bemd-status-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.6rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Status-Farben */
.bemd-status-chip.status-approved {
    background: rgba(16, 92, 96, 0.1);
    color: var(--bemd-teal, #105c60);
}

.bemd-status-chip.status-pending {
    background: rgba(242, 229, 0, 0.22);
    color: #6e6100;
}

.bemd-status-chip.status-canceled,
.bemd-status-chip.status-rejected {
    background: rgba(176, 0, 32, 0.12);
    color: #b00020;
}

.bemd-status-chip.status-no-show,
.bemd-status-chip.status-default {
    background: rgba(108, 122, 129, 0.14);
    color: var(--bemd-muted, #6c7a81);
}

/* Mobile: horizontales Scrollen der Tabelle erlauben, statt der ganzen Seite */
@media (max-width: 768px) {
    .bemd-exhibitor-bookings {
        padding: 1.5rem 1.25rem 1.25rem;
        margin-inline: -0.25rem;
        /* etwas Luft, falls der Content eng ist */
    }

    .bemd-bookings-table {
        display: block;
        width: 100%;
        overflow-x: auto;
    }

    .bemd-bookings-table table {
        width: 100%;
    }

    .bemd-bookings-table thead th,
    .bemd-bookings-table tbody td {
        white-space: nowrap;
    }
}

.amelia-v2-booking .am-fs__wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-shadow: none !important;
    border: 1px solid #e5ecef;

    .am-fs__main {
        max-width: 100% !important;
    }
}

/* Info-Meldung über der Tabelle */
.bemd-bookings-message {
    margin: 0 0 1rem;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
}

.bemd-bookings-message--info {
    background: rgba(16, 92, 96, 0.06);
    color: var(--bemd-teal, #105c60);
}

/* Aktionen-Spalte */
.bemd-bookings-table td.bemd-actions-cell {
    text-align: right;
    white-space: nowrap;
}

/* Storno-Button */
.bemd-cancel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(176, 0, 32, 0.35);
    background: transparent;
    color: #b00020;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
}

.bemd-cancel-btn:hover {
    background: rgba(176, 0, 32, 0.06);
}

.bemd-actions-placeholder {
    opacity: 0.5;
    font-size: 0.8rem;
}

/* Alle Tabellenüberschriften und Zellen mittig ausrichten */
.bemd-bookings-table thead th,
.bemd-bookings-table tbody td {
    text-align: center;
}

/* Aktionen-Spalte ebenfalls mittig statt rechts */
.bemd-bookings-table td.bemd-actions-cell {
    text-align: center;
}

.am-advsc__header,
.am-advsc__duration {
    display: none !important;
}

/* Desktop: alles wie gehabt, deine bisherigen Styles bleiben */

/* Mobile-Ansicht: Zeilen als Karten darstellen */
@media (max-width: 768px) {

    .bemd-exhibitor-bookings {
        margin-inline: -0.5rem;
        padding-inline: 0.75rem;
        padding-block: 1.25rem;
        border-radius: 0;
        box-shadow: none;
        border: 0;
    }

    .bemd-exhibitor-bookings h2 {
        text-align: left;
        margin-bottom: 1rem;
    }

    .bemd-bookings-table {
        width: 100%;
        border-collapse: separate;
        border-spacing: 0 0.75rem;
    }

    .bemd-bookings-table thead {
        display: none;
        /* Kopf ausblenden, wir bauen Label pro Zeile */
    }

    .bemd-bookings-table tbody tr {
        display: block;
        background: var(--bemd-card-bg, #fff);
        border-radius: 16px;
        box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
        padding: 0.6rem 0.8rem;
    }

    .bemd-bookings-table tbody td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.25rem 0;
        text-align: left;
        /* Überschreibt dein zentriertes Desktop-Layout */
        font-size: 0.9rem;
    }

    /* Label links vor den Werten einblenden */
    .bemd-bookings-table tbody td::before {
        content: '';
        font-weight: 600;
        color: var(--bemd-muted, #6c7a81);
        margin-right: 0.75rem;
    }

    .bemd-bookings-table tbody td:nth-child(1)::before {
        content: 'Tag';
    }

    .bemd-bookings-table tbody td:nth-child(2)::before {
        content: 'Slot';
    }

    .bemd-bookings-table tbody td:nth-child(3)::before {
        content: 'Bereich';
    }

    .bemd-bookings-table tbody td:nth-child(4)::before {
        content: 'Status';
    }

    .bemd-bookings-table tbody td:nth-child(5)::before {
        content: 'Aktion';
    }

    /* Status-Badge im Mobile etwas kompakter */
    .bemd-status-chip {
        margin-left: auto;
        font-size: 0.78rem;
    }

    /* Aktionen-Zelle */
    .bemd-bookings-table td.bemd-actions-cell {
        justify-content: space-between;
    }

    .bemd-cancel-btn.bemd-cancel-btn--icon {
        padding: 0.15rem 0.45rem;
    }

    /* Platzhalter-Strich etwas dezenter */
    .bemd-actions-placeholder {
        opacity: 0.5;
        font-size: 0.8rem;
    }
}

/* Responsive Layout für Termin-Übersicht – Dark Cards, volle Breite */
@media (max-width: 768px) {

    /* Wrapper nutzt die normale Content-Breite, kein negativer Margin-Trick mehr */
    .bemd-exhibitor-bookings {
        margin: 1.5rem 0 2rem;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        border: 0;
        background: transparent;
    }

    .bemd-exhibitor-bookings h2 {
        text-align: left;
        margin-bottom: 1rem;
        color: var(--bemd-teal, #105c60);
    }

    /* Tabelle nimmt volle Breite des Parents ein */
    .bemd-bookings-table {
        width: 100%;
        border-collapse: collapse;
        border-spacing: 0;
        border: none !important;
        /* keine horizontalen Abstände */
    }

    .bemd-bookings-table thead {
        display: none;
        /* Kopf ausblenden */
    }

    .bemd-bookings-table tbody {
        display: block;
        width: 100%;
    }

    /* Jede Zeile = eine Card, volle Breite */
    .bemd-bookings-table tbody tr {
        display: block;
        width: 100%;
        box-sizing: border-box;
        background: var(--bemd-teal, #105c60);
        color: #fff;
        border-radius: 18px;
        padding: 0.85rem 1rem;
        border: 1px solid rgba(0, 0, 0, 0.25);
        margin-bottom: 0.9rem;
        /* Abstand zwischen den Cards */
    }

    .bemd-bookings-table tbody td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.3rem 0;
        border-bottom: none;
        text-align: left;
        font-size: 0.9rem;
        color: #fff;
    }

    /* Label links */
    .bemd-bookings-table tbody td::before {
        content: '';
        font-weight: 600;
        color: rgba(255, 255, 255, 0.75);
        margin-right: 1rem;
        flex: 0 0 auto;
    }

    /* Labels für die 5 Spalten: Tag, Slot, Bereich, Status, Aktion */
    .bemd-bookings-table tbody td:nth-child(1)::before {
        content: 'Tag';
    }

    .bemd-bookings-table tbody td:nth-child(2)::before {
        content: 'Slot';
    }

    .bemd-bookings-table tbody td:nth-child(3)::before {
        content: 'Bereich';
    }

    .bemd-bookings-table tbody td:nth-child(4)::before {
        content: 'Status';
    }

    .bemd-bookings-table tbody td:nth-child(5)::before {
        content: 'Aktion';
    }

    /* Status-Badge auf dunklem Hintergrund */
    .bemd-status-chip {
        margin-left: auto;
        font-size: 0.78rem;
        background: rgba(255, 255, 255, 0.14) !important;
        color: #fff !important;
        border: 1px solid rgba(255, 255, 255, 0.18);
    }

    /* Aktionen-Zelle (Mülleimer) */
    .bemd-bookings-table td.bemd-actions-cell {
        justify-content: space-between;
    }

    .bemd-cancel-btn.bemd-cancel-btn--icon {
        padding: 0.15rem 0.45rem;
        border-radius: 999px;
        border: 1px solid rgba(176, 0, 32, 0.6);
        background: transparent;
        color: #ff4a4a;
    }

    .bemd-cancel-btn.bemd-cancel-btn--icon:hover {
        background: rgba(176, 0, 32, 0.18);
    }

    .bemd-actions-placeholder {
        opacity: 0.7;
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.7);
    }

    .bemd-bookings-table tbody tr:hover {
        background: var(--bemd-teal, #105c60);

    }

}

.bemd-cancel-btn {
    background: white !important;
}

/* Desktop-Layout Forum Sessions */
.bemd-forum-sessions {
    margin: 2.5rem 0 3rem;
    padding: 1.75rem 1.75rem 1.5rem;
    background: var(--bemd-card-bg, #fff);
    border-radius: 18px;
    border: 1px solid rgba(16, 92, 96, 0.14);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
}

.bemd-forum-sessions h2 {
    margin: 0 0 1.25rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--bemd-teal, #105c60);
}

.bemd-forum-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.bemd-forum-table thead th {
    padding: 0.6rem 0.75rem;
    border-bottom: 2px solid #e0e6ea;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bemd-muted, #6c7a81);
    text-align: center;
}

.bemd-forum-table tbody td {
    padding: 0.55rem 0.75rem;
    border-bottom: 1px solid #e5ecef;
    color: var(--bemd-text, #111);
    text-align: center;
}

/* kleine Hervorhebung für den Titel */
.bemd-forum-table tbody td:nth-child(3) {
    font-weight: 500;
}

.bemd-forum-table tbody tr:hover {
    background: #f7fbfb;
}

/* Aktionen-Spalte Desktop */
.bemd-forum-actions-cell {
    text-align: center;
}

.bemd-cancel-btn.bemd-cancel-btn--icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.4rem;
    border-radius: 999px;
    border: 1px solid rgba(176, 0, 32, 0.4);
    background: transparent;
    color: #b00020;
    cursor: pointer;
}

.bemd-cancel-btn.bemd-cancel-btn--icon:hover {
    background: rgba(176, 0, 32, 0.06);
}

/* Responsive Layout für Forum Sessions – Dark Cards, volle Breite */
@media (max-width: 768px) {

    .bemd-forum-sessions {
        margin: 1.5rem 0 2rem;
        padding: 0;
        border-radius: 0;
        box-shadow: none;
        border: 0;
        background: transparent;
    }

    .bemd-forum-sessions h2 {
        text-align: left;
        margin-bottom: 1rem;
        color: var(--bemd-teal, #105c60);
    }

    .bemd-forum-table {
        width: 100%;
        border-collapse: collapse;
        border-spacing: 0;
    }

    .bemd-forum-table thead {
        display: none;
    }

    .bemd-forum-table tbody {
        display: block;
        width: 100%;
    }

    .bemd-forum-table tbody tr {
        display: block;
        width: 100%;
        box-sizing: border-box;
        background: var(--bemd-teal, #105c60);
        color: #fff;
        border-radius: 18px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
        padding: 0.85rem 1rem;
        border: 1px solid rgba(0, 0, 0, 0.25);
        margin-bottom: 0.9rem;
    }

    .bemd-forum-table tbody td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0.3rem 0;
        border-bottom: none;
        text-align: left;
        font-size: 0.9rem;
        color: #fff;
    }

    .bemd-forum-table tbody td::before {
        content: '';
        font-weight: 600;
        color: rgba(255, 255, 255, 0.75);
        margin-right: 1rem;
        flex: 0 0 auto;
    }

    /* Labels für 7 Spalten: Tag, Slot, Titel, Speaker, Unternehmen, Status, Aktion */
    .bemd-forum-table tbody td:nth-child(1)::before {
        content: 'Tag';
    }

    .bemd-forum-table tbody td:nth-child(2)::before {
        content: 'Slot';
    }

    .bemd-forum-table tbody td:nth-child(3)::before {
        content: 'Titel';
    }

    .bemd-forum-table tbody td:nth-child(4)::before {
        content: 'Speaker';
    }

    .bemd-forum-table tbody td:nth-child(5)::before {
        content: 'Unternehmen';
    }

    .bemd-forum-table tbody td:nth-child(6)::before {
        content: 'Status';
    }

    .bemd-forum-table tbody td:nth-child(7)::before {
        content: 'Aktion';
    }

    /* Status-Badge */
    .bemd-forum-table .bemd-status-chip {
        margin-left: auto;
        font-size: 0.78rem;
        background: rgba(255, 255, 255, 0.14) !important;
        color: #fff !important;
        border: 1px solid rgba(255, 255, 255, 0.18);
    }

    /* Aktionen-Zelle (Mülleimer) */
    .bemd-forum-actions-cell {
        justify-content: space-between;
    }

    .bemd-forum-actions-cell .bemd-cancel-btn.bemd-cancel-btn--icon {
        padding: 0.15rem 0.45rem;
        border-radius: 999px;
        border: 1px solid rgba(176, 0, 32, 0.6);
        background: transparent;
        color: #ff4a4a;
    }

    .bemd-forum-actions-cell .bemd-cancel-btn.bemd-cancel-btn--icon:hover {
        background: rgba(176, 0, 32, 0.18);
    }

    .bemd-actions-placeholder {
        opacity: 0.7;
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.7);
    }

    /* Falls du allgemein einen Hover-Effekt hast: hier neutral halten */
    .bemd-forum-table tbody tr:hover {
        background: var(--bemd-teal, #105c60);
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
    }
}

.bemd-paket.is-soldout {
    opacity: 0.92;
}

.bemd-paket.is-soldout .bemd-paket__summary {
    background: rgba(151, 210, 212, 0.12);
}

.bemd-paket__soldout {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(242, 229, 0, 0.18);
    border: 1px solid rgba(242, 229, 0, 0.55);
    color: var(--bemd-text);
    font-weight: 700;
    font-size: 13px;
}

/* Controls sichtbar, aber disabled */
.bemd-paket.is-soldout .bemd-paket__control:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}