/* === Global Variables === */
:root {
    --bradius: 8px;
    --max-width-mobile: 1000px;
    --footer-height: 100px;

    --btnHeight: 40px;

    --surface-gradient: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.35),
            rgba(255, 255, 255, 0));

    --ticker-height: 28px;

    /* Semantic color tokens (default theme, overridden by tenant runtime theme) */
    --color-primary: hsl(164 100% 20%);
    --color-secondary: hsl(164 100% 30%);
    --color-accent: hsl(164 100% 40%);
    --color-info: hsl(208 98% 53%);
    --color-danger: hsl(0 100% 40%);

    --color-on-primary: hsl(0 0% 100%);
    --color-on-secondary: hsl(0 0% 100%);
    --color-on-accent: hsl(100 25% 10%);

    --color-text-default: hsl(100 25% 10%);
    --color-text-muted: hsl(0 0% 31%);

    --color-surface: hsl(0 0% 100%);
    --color-surface-muted: hsl(0 0% 90%);
    --color-border-default: hsl(0 0% 90%);
    --color-border-strong: hsl(0 0% 75%);
    --color-app-bg: hsl(0 0% 84%);

    --color-slot-single: hsl(3 65% 58%);
    --color-slot-subscription: hsl(356 89% 24%);
    --color-slot-double: hsl(17 100% 74%);
    --color-slot-training: hsl(120 73% 75%);
    --color-slot-expired: hsl(0 0% 68%);
    --color-slot-block: hsl(300 100% 50%);
    --color-slot-selected: hsl(92 60% 40%);
    --color-slot-special: hsl(211 82% 73%);
    --color-slot-student: hsl(32 100% 62%);
    --color-slot-abonnement: hsl(11 100% 17%);
    --color-slot-blocked: hsl(0 0% 86%);
    --color-slot-browser: hsl(0 0% 53%);
    --color-slot-member: hsl(206 97% 53%);
    --color-slot-guest: hsl(8 100% 72%);

    /* Legacy aliases (compatibility only; remove after full migration) */
    --black: var(--color-text-default);
    --darkgrey: var(--color-text-muted);
    --grey: var(--color-border-strong);
    --lightgrey: var(--color-surface-muted);
    --white: var(--color-surface);
    --lightgreen: var(--color-accent);
    --green: var(--color-secondary);
    --darkgreen: var(--color-primary);
    --blue: var(--color-info);
    --red: var(--color-danger);
    --surface-bg: var(--color-app-bg);

    /* semantic state tokens */
    --switch-on-bg: var(--color-primary);
    --switch-off-bg: hsl(0 0% 92%);
    --switch: hsl(0 0% 72%);
    --switch-off-bg: color-mix(in hsl, var(--color-primary) 16%, white 84%);
    --switch: color-mix(in hsl, var(--color-primary) 55%, white 45%);
}


.app-feature {
    display: none;
}

/*=== GLOBAL STYLES ===*/
/* Global reset – entschärft */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
}

/* Typografie nur am Root */
html,
body {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    width: 100%;
    max-width: none;
}

/* === flatpickr isolation === */
.flatpickr-calendar,
.flatpickr-calendar * {
    font-size: initial;
    font-family: inherit;
    padding: initial;
    margin: initial;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

h1,
h2,
h3 {
    text-wrap: balance;
    color: var(--color-primary);
    /* margin-top: 1rem; */
    padding: 0;
}

h1 {
    font-size: x-large;
    font-weight: 700;
    text-align: center;
    color: var(--color-primary);
    margin: 1rem 0;
}

h2 {
    font-size: medium;
    font-weight: 600;
    text-align: left;
    margin-top: .5rem;
}

h3 {
    font-size: 14px;
    font-weight: 600;
    /* margin: 1rem 0 0.5rem 0; */
}

h4 {
    font-size: small;
    font-weight: 400;
}

h5 {
    text-align: left;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat/Montserrat-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/montserrat/Montserrat-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

/*=== NAV BAR ===*/
html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: visible;
    /* ← Explizit hinzufügen */

    /* Verhindert horizontales Scrollen */
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Android WebView: Auf langen Buchungsseiten muss der Root-Scroller explizit aktiv sein */
body.calculation,
body.summary {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
}

/* iOS WKWebView/Capacitor: root scrolling explizit freigeben */
html.capacitor-ios,
html.capacitor-ios body,
body.capacitor-ios {
    height: auto !important;
    min-height: 100% !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
}

body.capacitor-ios.calculation,
body.capacitor-ios.summary,
html.capacitor-ios body.calculation,
html.capacitor-ios body.summary {
    overflow-y: auto !important;
}

/* iOS/WKWebView zoomt bei fokussierten Feldern <16px automatisch.
   In der App setzen wir deshalb textbasierte Form-Felder auf mind. 16px. */
body.channel-app.capacitor-ios input[type="text"],
body.channel-app.capacitor-ios input[type="search"],
body.channel-app.capacitor-ios input[type="email"],
body.channel-app.capacitor-ios input[type="password"],
body.channel-app.capacitor-ios input[type="tel"],
body.channel-app.capacitor-ios input[type="url"],
body.channel-app.capacitor-ios input[type="number"],
body.channel-app.capacitor-ios textarea,
body.channel-app.capacitor-ios select {
    font-size: 16px !important;
}

.icon {
    width: 24px;
    height: 24px;
}




.icon:hover {
    cursor: pointer;
    scale: 1.1;
}

/* === INPUT CHECKBOX AND LABEL === */
.bap-checkbox {
    width: 20px !important;
    height: 20px !important;
    /* important weil sonst das sonst durch lokal INPUT CSS überschrieben wird */
    margin-right: 10px;
}

input[type="checkbox"]~label {
    display: inline-block;
    margin-left: 5px;
    vertical-align: middle;
    font-weight: 200;
    cursor: pointer;
}

input.long {
    grid-column: 1 / -1;
}

select {
    /* width: 100%; */
    height: var(--btnHeight);
    padding: 10px;
    border-radius: var(--bradius);
    border: none;
    background-color: var(--color-border-strong);
    color: var(--color-text-default);
    font-size: 16px;
    cursor: pointer;
    /* appearance: none; */
}

/* === CARD STYLES === */
/* Hintergrund für alle Formulare */
.card {
    position: relative;
    display: flex;
    /* justify-content: space-between; */
    max-width: 600px;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.card.combined {
    border-radius: calc(var(--bradius) * 1.5);
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(135deg,
            color-mix(in hsl, var(--color-surface-muted) 85%, #ffffff 15%),
            color-mix(in hsl, var(--color-surface-muted) 55%, #ffffff 45%));
    box-shadow:
        0 10px 30px rgba(15, 23, 42, 0.08),
        0 1px 1px rgba(15, 23, 42, 0.04);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.card.combined.dark {
    background: linear-gradient(135deg,
            color-mix(in hsl, var(--color-text-muted) 85%, #000000 15%),
            color-mix(in hsl, var(--color-text-muted) 55%, #000000 45%));
    color: var(--color-surface);
}

.card.combined.dark h1,
.card.combined.dark h2,
.card.combined.dark h3,
.card.combined.dark h4 {
    color: var(--color-accent);
}

.card.large {
    width: 712px;
}

.card.combined:hover {
    transform: translateY(-2px);
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.14),
        0 3px 6px rgba(15, 23, 42, 0.08);
}

.card.combined.backgroundCard {
    background-color: var(--color-app-bg);
    background-image: var(--surface-gradient);
}

.card.small {
    width: 320px;
    height: auto;
    padding: 14px;
    gap: 0.5rem;
    border-radius: var(--bradius);
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
}

.card.hide {
    display: none;
}

.card.show {
    display: flex;
}

/* === Clubs === */
.club-card {
    display: flex;
    flex-direction: column;
    background-color: var(--color-surface-muted);
    border: 1px solid var(--color-border-default);
    border-radius: var(--bradius);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding-inline: 1rem;
    margin-bottom: 1rem;
    cursor: pointer;
}

.club-card.selected {
    color: var(--color-surface);
    border-color: var(--color-primary);
    background: linear-gradient(145deg, hsl(158deg, 60%, 28%), hsl(148deg, 55%, 35%), hsl(166deg, 70%, 22%));
    box-shadow: 0 8px 20px rgba(33, 156, 144, 0.35);
}

.club-card.selected * {
    color: var(--color-surface);
}

.club-card:hover {
    background-color: var(--color-border-strong);
}


/*=== DIALOG STYLES ===*/
/* Stil für den Dialog (als DIV-Modal) */
.bapDialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 40;
    display: none;
    /* Initial versteckt */
}

.dialog-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 20;
}

/*=== BUTTONS ===*/
.cancelConfirm {
    display: flex;
    justify-content: space-evenly;
    gap: 1rem;
    width: 100%;
    margin-top: 1rem;
}

.cancelConfirm button {
    flex: 1;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.bapBtn:disabled {
    opacity: 0.4;
    box-shadow: none;
}

.bapBtn {
    width: 100%;
    height: var(--btnHeight);
    border: none;
    border-radius: var(--bradius);
    cursor: pointer;
    margin: 0 auto;
    /* width: auto; */
    padding-inline: 1rem;
}

.bapBtn:hover {
    opacity: 0.8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bapBtn.red {
    background-color: var(--color-danger);
    color: var(--color-surface);
}

.bapBtn a {
    color: inherit;
    text-decoration: none;
}

.bapBtn.green {
    background-color: var(--color-secondary);
    color: var(--color-surface);
}

.bapBtn.blue {
    background-color: var(--color-info);
    color: var(--color-surface);
}

.bapBtn.grey {
    background-color: var(--color-border-strong);
    color: var(--color-text-default);
}

.bapBtn.lightgrey {
    background-color: var(--color-surface-muted);
    color: var(--color-text-default);
}

.bapBtn.white {
    background-color: var(--color-surface);
    background-blend-mode: lighten;
    color: var(--color-text-default);
    border: 2px solid var(--color-primary);
}

.bapBtn.black {
    background-color: var(--color-text-default);
    color: var(--color-surface);
    border: 2px solid var(--color-primary);
}

.bapBtn.purple {
    background-color: rebeccapurple;
    color: var(--color-surface);
    border: 2px solid var(--color-primary);
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* === RADIO BTNS === */
.radio-btns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
    border: 0;
    padding: 0;
}

.radio-btns .radiogroup {
    display: contents;
}

.radio-btns.one {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    padding-block: 1rem;
    gap: 1rem;
    box-sizing: border-box;
}

.radio-btns input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.radio-btns label {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: var(--btnHeight);
    padding: 0 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(30, 41, 59, 0.2);
    background: linear-gradient(135deg, var(--color-surface-muted), var(--color-surface-muted));
    color: var(--color-text-muted);
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.radio-btns input[type="radio"]:checked+label {
    color: var(--color-surface);
    border-color: var(--color-primary);
    background: linear-gradient(145deg, hsl(158deg, 60%, 28%), hsl(148deg, 55%, 35%), hsl(166deg, 70%, 22%));
    box-shadow: 0 8px 20px rgba(33, 156, 144, 0.35);
}

.radio-btns input[type="radio"]:focus-visible+label {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

fieldset.radio-btns.column {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    width: 100%;
    gap: 1rem;
    padding: 1rem;
}

fieldset.radio-btns.column label {
    width: 100%;
}

fieldset.radio-btns.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1rem;
    border: none;
    padding: 1rem 0;
}

/* === */
.footnote {
    padding: 1rem;
    font-size: small;
}

/* === FIELDSETS === */
fieldset.two-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    width: 100%;
    gap: 1rem;
    padding: 1rem;
}

fieldset.three-cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    width: 100%;
    gap: 1rem;
    padding: 1rem;
}

.lang {
    grid-column: 1 / -1;
}

/* === SWITCHES === */
.switch-row {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    max-width: 100%;
    min-height: var(--btnHeight);
    background: var(--color-surface-muted);
    padding: 0 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s;
}

.switch-row:hover {
    background: color-mix(in srgb, var(--color-surface-muted) 82%, var(--color-primary));
}

.switch-label {
    flex: 0 1 auto;
    min-width: 0;
    margin-right: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-text-default);
}

.switch-row input:not(.bap-checkbox) {
    display: none;
}

/* Switch Styling */
.switch {
    display: inline-block;
    flex: 0 0 48px;
    min-width: 48px;
    width: 48px;
    height: 26px;
    background: var(--switch-off-bg, hsl(0 0% 92%));
    border-radius: 30px;
    position: relative;
    transition: background 0.25s ease;
    vertical-align: middle;
}

.switch::after {
    content: "";
    display: block;
    width: 22px;
    height: 22px;
    background: var(--switch, hsl(0 0% 72%));
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    transition: transform 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.08);
    -webkit-transform: translateX(0);
    transform: translateX(0);
}

/* Activated */
.switch-row input:checked+.switch {
    background: var(--switch-on-bg, var(--color-primary));
}

.switch-row input:checked+.switch::after {
    -webkit-transform: translateX(22px);
    transform: translateX(22px);
}


/* === FORMS === */
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
select,
textarea {
    padding: 10px;
    width: 100%;
    height: var(--btnHeight);
    border-radius: var(--bradius);
    border: 1px solid var(--color-border-strong);
    background-color: var(--color-surface);
}

textarea {
    min-height: calc(var(--btnHeight) * 2);
    height: auto;
    resize: vertical;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):focus,
select:focus,
textarea:focus {
    border-color: var(--color-primary);
    outline: 2px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
    outline-offset: 1px;
}

input[readonly] {
    background-color: transparent;
    color: var(--color-text-default);
    padding: 0;
    width: auto;
}

input[type="radio"] {
    margin-right: 10px;
    height: 20px !important;
    width: 20px !important;
    /* important weil sonst das sonst durch lokal INPUT CSS überschrieben wird */
}

/* label {
    font-size: 14px;
    font-weight: 600;
} */

form {
    position: relative;
}

.small-input {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1rem;
}

.performance-slider {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.performance-slider .slider-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.performance-slider input[type="range"] {
    flex: 1;
}

.performance-slider .slider-value {
    min-width: 110px;
    text-align: right;
    font-weight: 600;
    color: var(--color-text-muted);
}

.double-form {
    display: flex;
    position: relative;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    padding: 0 1rem;
    gap: 1rem;
}

/* === INSIDE ELEMENTS === */
/* === VEREIN === */
.verein {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 20px;
    gap: 1rem;
}

#clubName,
#clubAnschrift {
    font-size: 16px;
    font-weight: 600;
    width: auto;
    padding-inline: 1rem;
}

/* Verhindern, dass der Inhalt unter dem Header-Image verschwindet */
.content-container {
    position: relative;
    clear: both;
    z-index: 1;
    width: 100%;
    margin-top: 64px;
    margin-inline: 0;
    background-color: var(--color-surface);
    padding-inline: 1rem;
    border-radius: 8px 8px 0 0;
    display: flex;
    flex-direction: column;
    /* justify-content: start; */
    padding-top: 13px;
}

body.inside-page .content-container {
    margin-top: calc(64px + env(safe-area-inset-top, 0px));
}

body.inside-page.has-visible-ticker .content-container {
    margin-top: calc(64px + 2rem + env(safe-area-inset-top, 0px));
}

/* === Static Texts === */
.lauftext {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 24px;
    width: 100%;
}

.titel {
    position: relative;
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    color: var(--color-primary);
    line-height: 24px;
    margin-bottom: 1rem;
    width: 100%;
}

:root {
    --required-label: "* Pflichtfeld";
}

.titel.pflichtfeld::after {
    content: var(--required-label);
    font-size: 12px;
    font-weight: 200;
    position: absolute;
    color: var(--color-text-default);
    left: 0;
    top: 1rem;
}

.goback:hover {
    cursor: pointer;
    user-select: none;
    font-weight: 600;
}

.backArrow {
    margin-right: .5rem;
}

/* === HINTS === */
hint {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 20000;
    /* keep hint bubble above surrounding content */
    cursor: pointer;
}

.hintIcon {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 24px;
    height: 24px;
}

.hintIcon:hover {
    scale: 1.1;
}

.hintBtn {
    --hint-shift-x: -50%;
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 50%;
    cursor: pointer;
    font-size: 0.92rem;
    text-align: left;
    width: clamp(220px, 28vw, 320px);
    border: 1px solid rgba(1, 99, 73, 0.25);
    border-radius: calc(var(--bradius) * 1.25);
    padding: 1rem 1.2rem;
    background: linear-gradient(135deg,
            color-mix(in hsl, var(--color-surface-muted) 88%, #ffffff 12%),
            color-mix(in hsl, var(--color-surface-muted) 68%, #ffffff 32%));
    color: hsl(100deg, 18%, 18%);
    opacity: 0;
    transform: translate(var(--hint-shift-x), -12px);
    transition: opacity 180ms ease, transform 180ms ease;
    pointer-events: none;
    z-index: 9999;
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.18),
        0 2px 8px rgba(15, 23, 42, 0.08);
    filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.08));
}

.hintBtn.show {
    opacity: 1;
    transform: translate(var(--hint-shift-x), 0);
    pointer-events: auto;
}

.hintBtn.align-left {
    left: 0;
    right: auto;
    --hint-shift-x: 0%;
}

.hintBtn.align-right {
    left: auto;
    right: 0;
    --hint-shift-x: 0%;
}

/* BOOKING CARDS */
/* Container für mehrere Karten nebeneinander */
.bookingContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.bookingContainer .card {
    /* position: relative; */
    overflow: visible;
    /* allow hint popovers to sit above the card */
    z-index: 20;
}


/* === flatpickr SVG arrow fix === */
.flatpickr-prev-month svg,
.flatpickr-next-month svg {
    width: 14px !important;
    height: 14px !important;
    font-size: 14px;
    /* neutralisiert Vererbung */
    line-height: 1;
    fill: currentColor;
}


/* === TICKER === */

/* Outer bar */
#bap-ticker {
    width: 100%;
    flex: 0 0 var(--ticker-height);
    background: var(--color-secondary);
    color: var(--color-surface);
    overflow: hidden;
    white-space: nowrap;
    height: var(--ticker-height);
    min-height: var(--ticker-height);
    line-height: var(--ticker-height);
    border-bottom: 1px solid var(--color-secondary);
}

body.index #bap-ticker {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
}

body.outside-page #bap-ticker {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1300;
}

body.inside-page #bap-ticker {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    z-index: 1100;
}

body.index {
    width: 100%;
    max-width: none;
}

/* Hide when no ticker text */
#bap-ticker.hidden {
    display: none;
}

/* Inner scrolling content */
#bap-ticker-content {
    display: block;
    font-size: 12px;
    /* iOS-safe */
    line-height: var(--ticker-height);
    /* zwingt sichtbare Höhe */
    height: var(--ticker-height);
    white-space: nowrap;
    width: fit-content;
    min-width: max-content;
    padding-left: 100vw;
    padding-right: 100vw;
    box-sizing: content-box;
    animation: ticker-scroll 48s linear infinite;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

#bap-ticker:hover .ticker-content {
    animation-play-state: paused;
}

/* Logo im laufenden Text  */
 .inline-logo-wrap {
    display: inline-block;
    height: 1em;
    line-height: 1;
    vertical-align: -0.12em;
    white-space: nowrap;
  }

  .inline-logo-wrap img {
    display: block;
    height: 90% !important;
    width: auto !important;
    max-width: none !important;
  }

/* === Responsive Design === */
@media (max-width: 1000px) {

    .double-form {
        flex-wrap: wrap;
    }

    fieldset.two-cols {
        grid-template-columns: 1fr;
    }


    .card {
        width: 100% !important;
        padding: 20px !important;
        margin: 0 auto !important;
        /* margin-top: 1.5rem !important; */
        /* margin-bottom: 1.5rem !important; */
    }

    #clubName {
        font-size: 14px;
        text-align: center;
    }

    #clubAnschrift {
        font-size: 11px;
        font-weight: 500;
        width: auto;
        padding-inline: 1rem;
    }

    /* BUTTONS & INPUTS */
    form>input,
    form>.bapBtn {
        width: 100% !important;
    }

    .hide-mobile {
        display: none !important;
    }

    .bapBtn.white {
        width: 100%;
    }

    .switch-row input:not(.bap-checkbox) {
        display: none;
    }


    #bap-ticker {
        height: var(--ticker-height) !important;
        min-height: var(--ticker-height) !important;
    }

    /* Inner scrolling content */
    #bap-ticker-content {
        font-size: 12px;
        line-height: var(--ticker-height);
        height: var(--ticker-height);
    }

    html,
    body {
        height: auto;
        /* ← Wichtig! */
        overflow-y: visible;
        /* ← Explizit setzen */
    }

}
