/* ==========================================================================
   MMIG46 app.css - korrigierte Komplettfassung
   --------------------------------------------------------------------------


   Hauptfixes:
   - doppelte und widerspruechliche Header-/Search-Regeln entfernt
   - kein transform-Hack fuer .site-tools
   - Mobile-Menue startet frueher, damit Header nicht gequetscht wird
   - Sprachauswahl bleibt im geoeffneten Mobile-Menue kompakt
   - Header-Suche und Suchseite sind getrennt gestylt
   - Travel-Cards bekommen stabile Bildhoehen und Meta-Layout
   - Footer bleibt unten, ohne Content zu ueberdecken
   ========================================================================== */

:root {
    --bg: #f6f4ef;
    --surface: #ffffff;
    --surface-soft: #fbfaf7;
    --paper: #ffffff;
    --navy: #071f45;
    --navy-2: #0d2b57;
    --text: #172033;
    --muted: #647084;
    --line: #e2ded6;
    --border: #e2ded6;
    --accent: #b77a43;
    --accent-dark: #8f5a2c;
    --sand: #efe6da;
    --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    --shadow-soft: 0 1px 2px rgba(15, 23, 42, 0.06);
    --radius: 16px;
    --container: 1180px;
    --header-height: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; }
body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
main { flex: 1 0 auto; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }

/* Header / Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(246, 244, 239, 0.94);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226, 222, 214, 0.86);
}
.site-header__inner {
    min-height: var(--header-height);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: clamp(12px, 1.25vw, 20px);
}
.brand {
    color: var(--navy);
    text-decoration: none;
    font-size: clamp(1.65rem, 2.05vw, 2rem);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.06em;
    white-space: nowrap;
}
.site-nav {
    min-width: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: clamp(10px, 1.15vw, 20px);
    flex-wrap: nowrap;
}
.site-nav a,
.plain-action {
    color: var(--navy);
    text-decoration: none;
    font-weight: 700;
    font-size: clamp(0.86rem, 0.78vw, 0.93rem);
}
.site-nav a { position: relative; white-space: nowrap; }
.site-nav a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -10px;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
}
.site-nav a:hover,
.plain-action:hover,
.footer-links a:hover,
.text-link:hover { color: var(--accent-dark); }
.site-tools {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}
.site-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    white-space: nowrap;
}
.inline { display: inline; margin: 0; }
.plain-action { border: 0; background: transparent; padding: 0; }

/* Header-Suche: exakt eine Definition, keine spaeteren Overrides. */
.site-search {
    width: clamp(190px, 15vw, 280px);
    max-width: 280px;
    min-height: 44px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}
.site-search input[type="search"] {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    border: 0;
    background: transparent;
    padding: 0 16px;
    color: var(--text);
    outline: none;
    font-size: 0.95rem;
}
.site-search input[type="search"]::placeholder { color: var(--muted); }
.site-search button {
    min-height: 44px;
    border: 0;
    border-left: 1px solid var(--line);
    background: var(--navy);
    color: #fff;
    padding: 0 20px;
    font-weight: 800;
    font-size: 0.92rem;
}
.site-search button:hover { background: var(--navy-2); }
.language-switch {
    flex: 0 0 auto;
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3px;
    min-height: 44px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
    box-shadow: var(--shadow-soft);
}
.language-switch a {
    min-width: 38px;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0 10px;
    color: var(--navy);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}
.language-switch a:hover { color: var(--accent-dark); background: var(--surface-soft); }
.language-switch a.is-active { background: var(--accent); color: #fff; }
.admin-action {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 0 18px;
    border-radius: 7px;
    background: var(--navy);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: var(--shadow-soft);
}
.admin-action:hover { background: var(--navy-2); color: #fff; }

/* Schmaler Desktop: noch Desktop-Navigation, aber etwas kompakter.
   Unter 1400px wird auf das ausklappbare Menue gewechselt. */
@media (min-width: 1401px) and (max-width: 1560px) {
    .container { width: min(var(--container), calc(100% - 32px)); }
    .site-header__inner { gap: 10px; }
    .site-nav { gap: 10px; }
    .site-search { width: 190px; }
    .site-search button { padding: 0 16px; }
    .language-switch a { min-width: 34px; padding: 0 8px; }
    .admin-action { padding: 0 14px; }
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 999px;
    padding: 9px 13px;
    color: var(--navy);
    font-weight: 800;
}

/* Flash messages */
.flash { margin-top: 18px; border-radius: 12px; padding: 14px 16px; font-weight: 700; }
.flash.ok { background: #e8f5ee; color: #166534; border: 1px solid #bbebcc; }
.flash.error { background: #fff0f0; color: #991b1b; border: 1px solid #f3caca; }

/* Buttons */
.button, .btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 5px;
    color: var(--navy);
    background: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.94rem;
}
.btn { min-height: 44px; padding: 0 18px; border-color: #cfc8ba; border-radius: 6px; }
.button--primary, .btn.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.button--primary:hover, .btn.primary:hover { background: var(--accent-dark); color: #fff; }
.button--secondary { background: rgba(255,255,255,0.72); color: var(--navy); border-color: #9ca8b6; }
.button--secondary:hover, .button--outline:hover { border-color: var(--navy); }
.button--outline, .button-outline { background: transparent; color: var(--accent-dark); border-color: var(--accent); }
.small-button {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    border: 1px solid #9ca8b6;
    border-radius: 4px;
    color: var(--navy);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.82rem;
}

/* Home hero */
.home-hero {
    min-height: 480px;
    padding: 88px 24px;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(246,244,239,0.98) 0%, rgba(246,244,239,0.82) 42%, rgba(246,244,239,0.35) 100%), url("/assets/img/hero-pa46.jpg") center / cover no-repeat;
    border-bottom: 1px solid #ddd8ce;
}
.home-hero__content { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.home-hero h1 {
    max-width: 900px;
    margin: 0 0 18px;
    color: var(--navy);
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: 0.94;
    letter-spacing: -0.07em;
}
.home-hero p { max-width: 640px; font-size: 1.12rem; line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Feature strip */
.feature-strip {
    width: min(var(--container), calc(100% - 48px));
    margin: -34px auto 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}
.feature-strip article { display: flex; gap: 18px; align-items: flex-start; padding: 26px 28px; border-right: 1px solid var(--line); }
.feature-strip article:last-child { border-right: 0; }
.feature-strip span {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(7,31,69,0.28);
    border-radius: 50%;
    color: var(--navy);
    font-weight: 900;
    font-size: 1.15rem;
}
.feature-strip h2 { margin: 0 0 8px; color: var(--navy); font-size: 1rem; }
.feature-strip p { margin: 0; color: #65738a; font-size: 0.88rem; line-height: 1.5; }

/* Generic page layouts */
.page { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; padding: 72px 0 96px; }
.page--narrow, .page.narrow { max-width: 860px; }
.page-hero { margin-bottom: 34px; }
.page-kicker, .eyebrow {
    margin: 0 0 14px;
    color: var(--accent-dark);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.page-title { margin: 0; color: var(--navy); font-size: clamp(2.3rem, 4vw, 4rem); line-height: 1; letter-spacing: -0.06em; }
.page-lead { max-width: 740px; margin: 18px 0 0; color: #536073; font-size: 1.12rem; }
.dynamic-hero { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; padding: 90px 0 72px; }
.dynamic-hero h1 { max-width: 760px; }
.split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 32px; }
.section { padding: 34px 0; }
.section--compact, .section-tight { padding-top: 10px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.section-heading h2, .split h2 { margin: 0; color: var(--navy); font-size: 2rem; letter-spacing: -0.04em; }
.section-heading a, .text-link { color: var(--navy); text-decoration: none; font-weight: 800; font-size: 0.95rem; }
.meta { color: #65738a; line-height: 1.65; }

/* Cards and grids */
.card-grid, .travel-grid, .split-grid, .image-card-grid, .cards, .page-grid, .admin-grid, .content-card-grid { display: grid; gap: 28px; }
.card-grid--three, .travel-grid, .image-card-grid, .cards, .home-news-grid, .news-card-grid, .image-card-grid.home-news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.split-grid, .content-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.page-grid { grid-template-columns: minmax(0, 1fr) 420px; gap: 34px; align-items: start; }
.admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.story-card, .travel-card, .table-card, .card, .image-card, .content-card, .content-body, .auth-card, .form-card, .info-card, .sidebar-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
}
.story-card, .travel-card, .image-card { overflow: hidden; }
.card { border-color: #ddd8ce; box-shadow: 0 2px 8px rgba(9,31,66,0.06); }
.card-body, .story-card__body, .travel-card__body, .image-card__body { padding: 24px; }
.card h2, .card h3, .content-card h2, .content-card h3, .story-card h3, .travel-card h2, .travel-card h3, .table-card h2 {
    margin-top: 0;
    color: var(--navy);
    letter-spacing: -0.035em;
}
.story-card p, .travel-card p, .image-card__body p, .content-card p, .content-body p { color: #536073; }
.content-card, .content-body { padding: 30px; }
.content-card-grid > .content-card { display: flex; flex-direction: column; height: 100%; margin-top: 0; }
.content-body { line-height: 1.75; }
.content-card + .content-card { margin-top: 24px; }
.content-card-grid .content-card + .content-card { margin-top: 0; }
.content-body p { margin-top: 0; margin-bottom: 1.25rem; }
.legal-page { max-width: 900px; }
.legal-card { font-size: 1.02rem; }
.legal-card h2 { margin-top: 30px; margin-bottom: 8px; font-size: 1.35rem; }
.legal-card h2:first-child { margin-top: 0; }
.legal-card p { margin-top: 0; }

.image-card__media { position: relative; height: 170px; overflow: hidden; background: #d8e0ea; }
.image-card__media img { width: 100%; height: 100%; object-fit: cover; }
.image-card__media--empty { background: linear-gradient(135deg, #d8e0ea, #f6f4ef); }
.image-card__badge, .badge {
    display: inline-block;
    padding: 7px 10px;
    border-radius: 4px;
    background: var(--navy);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.image-card__badge { position: absolute; top: 16px; left: 16px; padding: 8px 11px; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.12em; }
.image-card__body h2 { margin: 0 0 14px; font-size: 1.25rem; line-height: 1.35; }
.image-card__meta, .story-card__meta { display: flex; gap: 20px; padding-top: 13px; border-top: 1px solid var(--line); color: #5f6b7b; font-size: 0.86rem; }
.image-card__meta { margin-top: 28px; padding-top: 16px; border-top-color: #e4dfd6; gap: 22px; color: #65738a; font-size: 0.92rem; }
.image-card__title-link, .image-card__cta { color: inherit; text-decoration: none; }
.image-card__title-link:hover, .image-card__cta:hover { text-decoration: underline; }
.image-card__cta { font-weight: 600; }
.image-card__cta--disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; filter: grayscale(1); }

/* Home news cards */
.home-news-grid { display: grid; gap: clamp(24px, 4vw, 40px); }
.home-news-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-soft); }
.home-news-card__link { min-height: 100%; display: grid; grid-template-rows: auto 1fr; color: inherit; text-decoration: none; }
.home-news-card__media { position: relative; margin: 0; height: clamp(220px, 28vw, 340px); overflow: hidden; background: #e7ebef; }
.home-news-card__media img { width: 100%; height: 100%; object-fit: cover; }
.home-news-card__badge { position: absolute; top: 22px; left: 22px; z-index: 2; padding: 9px 14px; border-radius: 5px; background: var(--navy); color: #fff; font-size: 0.78rem; font-weight: 900; letter-spacing: 0.18em; text-transform: uppercase; }
.home-news-card__body { display: grid; gap: 12px; padding: clamp(22px, 3vw, 32px); background: var(--surface); }
.home-news-card__body h3 { margin: 0; color: var(--navy); font-size: clamp(1.35rem, 2vw, 1.9rem); line-height: 1.08; letter-spacing: -0.04em; }
.home-news-card__teaser { margin: 0; color: #4c5566; }
.home-news-card__meta { margin: 0; color: #697386; font-size: 0.95rem; }
.home-news-card__more { margin-top: 8px; color: var(--navy); font-weight: 900; }
.home-news-card:hover .home-news-card__more { color: var(--accent-dark); }

/* Travel and story cards */
.story-card__image, .travel-card__image {
    min-height: 165px;
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: #e8ebef;
    filter: saturate(0.9) contrast(0.96);
}
.travel-card { display: grid; grid-template-rows: auto 1fr; }
.travel-card__image { height: 255px; overflow: hidden; }
.travel-card__image img { width: 100%; height: 100%; object-fit: cover; }
.travel-card__image .badge { position: absolute; left: 0; bottom: 0; max-width: calc(100% - 18px); border-radius: 0 4px 0 0; }
.story-card__image span { position: absolute; top: 14px; left: 14px; padding: 5px 9px; border-radius: 3px; background: var(--navy); color: #fff; text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.72rem; font-weight: 900; }
.story-card__image--woerthersee, .travel-card__image--woerthersee { background-image: linear-gradient(rgba(7,31,69,0.08), rgba(7,31,69,0.1)), url("/assets/img/news-woerthersee.jpg"); }
.story-card__image--meeting { background-image: linear-gradient(rgba(7,31,69,0.08), rgba(7,31,69,0.12)), url("/assets/img/news-meeting.jpg"); }
.story-card__image--technik { background-image: linear-gradient(rgba(7,31,69,0.08), rgba(7,31,69,0.12)), url("/assets/img/news-technik.jpg"); }
.travel-card__image--venedig { background-image: linear-gradient(rgba(7,31,69,0.04), rgba(7,31,69,0.08)), url("/assets/img/travel-venedig.jpg"); }
.travel-card__image--verona { background-image: linear-gradient(rgba(7,31,69,0.04), rgba(7,31,69,0.08)), url("/assets/img/travel-verona.jpg"); }
.story-card h3, .travel-card h2, .travel-card h3 { margin: 0; color: var(--navy); font-size: 1.25rem; letter-spacing: -0.035em; }
.story-card p { min-height: 66px; margin: 9px 0 16px; font-size: 0.94rem; }
.travel-card__body { display: grid; gap: 16px; }
.travel-card__body p { margin: 0; }
.travel-card__meta { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px 22px; align-items: center; color: #697486; font-size: 0.9rem; font-weight: 700; }
.travel-card__meta a, .travel-card a { display: inline-flex; margin-top: 0; color: var(--navy); text-decoration: none; font-weight: 800; font-size: 0.92rem; }
.travel-card__meta a:hover, .travel-card a:hover { color: var(--accent-dark); }

/* Panels */
.community-panel { display: grid; grid-template-columns: minmax(0,0.95fr) minmax(360px,1.05fr); gap: 52px; align-items: center; padding: 42px; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(135deg, #fbfaf7, #f0e8dd); }
.community-panel__copy { max-width: 520px; }
.community-panel__copy h2 { margin: 0; color: var(--navy); font-size: 1.85rem; letter-spacing: -0.035em; }
.community-panel p { color: #4f5b6d; }
.link-panel { overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 7px; box-shadow: var(--shadow-soft); }
.link-panel a { position: relative; display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 20px 50px 20px 24px; text-decoration: none; border-bottom: 1px solid var(--line); }
.link-panel a:last-child { border-bottom: 0; }
.link-panel a::after { content: "›"; position: absolute; top: 50%; right: 24px; transform: translateY(-50%); color: var(--navy); font-size: 1.5rem; }
.link-panel strong { color: var(--navy); }
.link-panel span { color: #667184; font-size: 0.9rem; }

/* Tables */
.table-card { padding: 24px; }
.table-card__header { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 18px; }
.table-card h2 { font-size: 1.25rem; }
table { width: 100%; border-collapse: collapse; font-size: 0.86rem; }
th { color: #536073; text-align: left; font-size: 0.78rem; font-weight: 900; }
th, td { padding: 9px 8px; border-bottom: 1px solid #eee9df; }
td { color: #2f3948; }
.table-card .text-link { display: inline-flex; margin-top: 18px; }

/* Contact CTA */
.contact-cta { display: grid; grid-template-columns: 70px 1fr auto; gap: 24px; align-items: center; padding: 34px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow-soft); }
.contact-cta__icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; font-size: 1.35rem; }
.contact-cta h2 { margin: 0; color: var(--navy); letter-spacing: -0.035em; }
.contact-cta p { margin: 6px 0 0; color: #4f5b6d; }

/* Forms */
.auth-shell { min-height: min(680px, calc(100vh - 78px - 82px)); display: grid; align-items: center; padding: 64px 0; }
.auth-card { width: min(500px,100%); margin: 0 auto; padding: 36px; box-shadow: var(--shadow); }
.auth-card h1 { margin: 0 0 10px; color: var(--navy); font-size: 2.2rem; line-height: 1; letter-spacing: -0.055em; }
.auth-card p { margin: 0 0 28px; color: #647084; }
.form-stack { display: grid; gap: 18px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 22px; }
.form-field { display: grid; gap: 7px; }
.form-field--full { grid-column: 1 / -1; }
.form-field--captcha { max-width: 220px; }
.form-field label, .form-grid label, .form-card label { color: var(--navy); font-size: 0.9rem; font-weight: 800; }
.form-grid label { display: grid; gap: 8px; }
.form-card label { display: block; margin-bottom: 20px; }
.form-field input, .form-field textarea, .form-field select, .form-grid input, .form-grid textarea, .form-grid select, .form-card input, .form-card textarea, .form-card select { width: 100%; min-height: 46px; border: 1px solid #cfd7e2; border-radius: 8px; background: #fff; color: var(--text); padding: 10px 12px; outline: none; }
.form-field textarea, .form-grid textarea, .form-card textarea { min-height: 150px; resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus, .form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus, .form-card input:focus, .form-card textarea:focus, .form-card select:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(7,31,69,0.08); }
.form-note { margin: 0; color: #647084; font-size: 0.9rem; }
.form-card { max-width: 760px; padding: 32px; box-shadow: 0 2px 8px rgba(9,31,66,0.05); }
.form-card input, .form-card textarea, .form-card select { margin-top: 8px; padding: 13px 14px; }
.checkbox-row { display: flex; gap: 10px; align-items: center; color: #536073; font-weight: 700; }
.checkbox-row input { width: 18px; height: 18px; }
.action-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 8px; }
.info-card { min-width: 320px; padding: 28px; box-shadow: 0 2px 8px rgba(9,31,66,0.05); }
.sidebar-card { padding: 24px; background: var(--surface-soft); }
.sidebar-card h2 { margin: 0 0 12px; color: var(--navy); font-size: 1.2rem; }
.sidebar-list, .clean-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.clean-list { gap: 0; }
.sidebar-list li, .clean-list li { padding-bottom: 12px; border-bottom: 1px solid var(--line); color: #536073; }
.clean-list li { padding: 14px 0; border-bottom-color: #e4dfd6; color: #65738a; }
.sidebar-list li:last-child, .clean-list li:last-child { padding-bottom: 0; border-bottom: 0; }
.empty-state { margin-top: 28px; max-width: 680px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-soft); }
.empty-state h2 { margin: 0 0 10px; color: var(--navy); letter-spacing: -0.035em; }
.empty-state p { margin: 0; color: #4c5566; }

/* Suchseite: getrennt vom Header. */
.search-page-form { display: grid; grid-template-columns: minmax(240px,1fr) auto; gap: 10px; align-items: center; max-width: 760px; margin-bottom: 28px; }
.search-page-form input[type="search"] { width: 100%; min-height: 48px; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 0 18px; color: var(--text); outline: none; }
.search-page-form input[type="search"]:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(183,122,67,0.14); }
.search-page-form button { min-height: 48px; border: 0; border-radius: 999px; background: var(--navy); color: #fff; padding: 0 22px; font-weight: 900; }
.search-page-form button:hover { background: var(--navy-2); }
.search-results { display: grid; gap: 1rem; }
.search-result-card { border: 1px solid rgba(15,23,42,0.12); border-radius: 1rem; padding: 1.25rem; background: #fff; }
.search-result-card h2 { margin: 0.2rem 0 0.5rem; }
.search-result-card p { margin-bottom: 0; }

/* Static lists */
.static-list { display: grid; gap: 16px; }
.static-list article { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.static-list h2, .static-list h3 { margin: 0 0 8px; color: var(--navy); }
.static-list p { margin: 0; color: #536073; }

/* Verein */
.verein-hero { padding: clamp(56px, 8vw, 104px) 0; background: linear-gradient(135deg, rgba(246,244,239,0.98), rgba(238,241,243,0.88)), linear-gradient(135deg, #eef1f3, #d9dde0); border-bottom: 1px solid var(--line); }
.verein-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,380px); gap: clamp(28px,5vw,64px); align-items: start; }
.verein-main h1 { margin: 0; color: var(--navy); font-size: clamp(2.7rem, 5vw, 5rem); line-height: 0.95; letter-spacing: -0.065em; }
.verein-main .lead { max-width: 760px; margin: 26px 0 0; color: #4c5566; font-size: clamp(1.08rem,1.6vw,1.25rem); }
.verein-card-stack { display: grid; gap: 18px; margin-top: 38px; }
.verein-info-card, .verein-action-card { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-soft); }
.verein-info-card { padding: clamp(22px,3vw,34px); }
.verein-info-card h2 { margin: 0 0 12px; color: var(--navy); font-size: clamp(1.35rem,2vw,1.85rem); letter-spacing: -0.035em; }
.verein-info-card p { margin: 0; color: #4c5566; }
.verein-side { position: sticky; top: 112px; display: grid; gap: 14px; }
.verein-action-card { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px; color: var(--navy); text-decoration: none; transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.verein-action-card:hover { transform: translateY(-2px); border-color: var(--accent); box-shadow: var(--shadow); }
.verein-action-card strong, .verein-action-card small { display: block; }
.verein-action-card strong { font-size: 1.02rem; }
.verein-action-card small { margin-top: 5px; color: #697386; }
.verein-section-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.verein-section-grid .card { padding: clamp(24px,3vw,36px); border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.verein-section-grid .card h2 { margin-top: 0; color: #002855; font-size: clamp(1.55rem,2.2vw,2rem); letter-spacing: -0.04em; }
.verein-section-grid .card p { color: #5f6f89; max-width: 62ch; }
.verein-section-grid .button { margin-top: 18px; }

/* Contact page */
.contact-page { padding: clamp(52px, 7vw, 88px) 0; }
.contact-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,360px); gap: clamp(32px,6vw,72px); align-items: start; }
.contact-main { min-width: 0; }
.contact-header { max-width: 760px; margin-bottom: 34px; }
.contact-header h1 { margin: 0; color: var(--navy); font-size: clamp(2.25rem,4vw,3.6rem); line-height: 1.06; letter-spacing: -0.055em; }
.contact-header p:not(.eyebrow) { margin: 22px 0 0; color: #4c5566; font-size: 1.08rem; }
.contact-form, .contact-aside { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-soft); }
.contact-form { max-width: 900px; padding: clamp(24px,3vw,36px); }
.contact-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px 28px; }
.contact-form label { display: grid; gap: 9px; color: var(--navy); font-weight: 800; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #cfd8e3; border-radius: 8px; background: #fff; color: var(--navy); }
.contact-form input { min-height: 46px; padding: 10px 12px; }
.contact-form textarea { min-height: 210px; padding: 12px; resize: vertical; }
.contact-form .span-2 { grid-column: span 2; }
.captcha-field { max-width: 360px; }
.contact-form__actions { display: flex; align-items: center; gap: 18px; margin-top: 26px; }
.contact-form__actions p { margin: 0; color: #697386; }
.contact-aside { padding: clamp(24px,3vw,34px); }
.contact-aside h2 { margin: 0 0 22px; color: var(--navy); font-size: 1.6rem; letter-spacing: -0.04em; }
.contact-aside ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.contact-aside li { padding: 16px 0; color: #5f6f89; border-top: 1px solid var(--line); font-size: 1.02rem; line-height: 1.45; }
.contact-aside li:first-child { padding-top: 0; border-top: 0; }

/* Membership application */
.membership-page { padding: clamp(56px, 7vw, 88px) 0; }
.membership-header { max-width: 760px; margin-bottom: 52px; }
.membership-header h1 { margin: 0; color: var(--navy); font-size: clamp(2.4rem,4vw,3.6rem); line-height: 1; letter-spacing: -0.055em; }
.membership-header p:not(.eyebrow) { margin: 20px 0 0; color: #4c5566; font-size: 1.08rem; }
.print-button { margin-top: 24px; }
.membership-form { display: grid; gap: 28px; }
.membership-fieldset { min-width: 0; margin: 0; padding: clamp(24px,3vw,36px); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-soft); }
.membership-fieldset legend { padding: 0 10px; color: var(--navy); font-size: 1.05rem; font-weight: 900; }
.membership-options { display: grid; gap: 12px; }
.membership-option, .consent-check { display: grid; grid-template-columns: 24px minmax(0,1fr); align-items: start; gap: 14px; color: var(--navy); font-weight: 800; }
.membership-option input, .consent-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.span-2 { grid-column: span 2; }
.consent-box p { max-width: 90ch; margin: 0 0 14px; color: #4c5566; }
.consent-check { margin-top: 12px; }
.membership-signature { display: none; }
.membership-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.print-check, .print-text-line { display: none; }

/* Articles / Malibu archive */
.article-page { max-width: 1120px; margin: 0 auto; padding: clamp(1.25rem,3vw,3rem) 1rem 4rem; }
.article-shell { background: rgba(255,255,255,0.78); border: 1px solid rgba(15,23,42,0.08); border-radius: 28px; box-shadow: 0 18px 55px rgba(15,23,42,0.08); overflow: hidden; }
.article-header { padding: clamp(1.5rem,4vw,3rem) clamp(1.25rem,4vw,3.25rem) 1.5rem; }
.article-header h1 { max-width: 860px; margin: 0.35rem 0 0; font-size: clamp(2rem,4.2vw,4rem); line-height: 1.04; letter-spacing: -0.04em; }
.article-author { margin-top: -0.5rem; margin-bottom: 1.75rem; font-size: clamp(1.25rem,1.8vw,1.65rem); line-height: 1.35; font-weight: 700; color: var(--navy); }
.article-lead { max-width: 760px; margin-top: 1rem; font-size: clamp(1.05rem,1.5vw,1.35rem); line-height: 1.55; color: var(--muted); }
.article-meta { margin-top: 1rem; font-size: 0.95rem; color: var(--muted); }
.article-hero { margin: 0; padding: 0 clamp(1rem,4vw,3.25rem) 1.5rem; }
.article-hero img { display: block; width: 100%; max-height: 520px; object-fit: cover; border-radius: 22px; }
.article-body { max-width: 780px; padding: 0 clamp(1.25rem,4vw,3.25rem) clamp(2rem,4vw,3.25rem); font-size: 1.08rem; line-height: 1.75; color: var(--text); }
.article-body h2 { margin-top: 2.25rem; font-size: clamp(1.45rem,2vw,2rem); line-height: 1.2; }
.article-body h3 { margin-top: 1.75rem; font-size: 1.2rem; }
.article-body p { margin: 1rem 0; }
.article-body ul, .article-body ol { padding-left: 1.4rem; margin: 1rem 0; }
.article-body li { margin: 0.35rem 0; }
.article-body img { width: 100%; height: auto; border-radius: 18px; margin: 1.5rem 0; }
.article-footer { max-width: 780px; padding: 0 clamp(1.25rem,4vw,3.25rem) 2.5rem; }
.back-link { font-weight: 700; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.malibu-check-list { list-style: none; padding-left: 0; margin: 1.5rem 0 0; }
.malibu-check-list li { position: relative; padding-left: 1.75rem; margin-bottom: 0.85rem; line-height: 1.55; }
.malibu-check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--navy); }
.malibu-model-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0; margin-top: 1.75rem; border-top: 1px solid rgba(15,23,42,0.12); border-left: 1px solid rgba(15,23,42,0.12); }
.malibu-model-grid > div { padding: 1.35rem 1.5rem; border-right: 1px solid rgba(15,23,42,0.12); border-bottom: 1px solid rgba(15,23,42,0.12); }
.malibu-model-grid h3 { margin: 0 0 0.45rem; font-size: 1.05rem; line-height: 1.35; }
.malibu-model-grid p { margin: 0; line-height: 1.6; }
.malibu-archive-list, .malibu-archive-link-list { margin: 1.25rem 0 0; padding-left: 1.25rem; }
.malibu-archive-link-list { list-style: none; padding-left: 0; }
.malibu-archive-list li, .malibu-archive-link-list li { margin-bottom: 0.6rem; }
.malibu-archive-link-list a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.malibu-archive-link-list a:hover, .malibu-archive-link-list a:focus { opacity: 0.75; }
.fineprint { margin-top: 1.25rem; font-size: 0.92rem; line-height: 1.6; opacity: 0.75; }
.malibu-article-card { max-width: 68rem; }
.malibu-article-card h1, .malibu-article-card h2, .malibu-article-card h3 { margin-top: 2rem; }
.malibu-article-card h1:first-child, .malibu-article-card h2:first-child, .malibu-article-card h3:first-child { margin-top: 0; }
.malibu-article-card p, .malibu-article-card li { line-height: 1.7; }
.malibu-article-card img { max-width: 100%; height: auto; border-radius: 0.75rem; }
.malibu-article-card table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.malibu-article-card th, .malibu-article-card td { padding: 0.75rem; border: 1px solid rgba(15,23,42,0.14); vertical-align: top; }
.malibu-article-card blockquote { margin: 1.5rem 0; padding-left: 1rem; border-left: 3px solid currentColor; opacity: 0.85; }
.legacy-article-fragment > h2:first-child { margin-bottom: 0.5rem; }
.legacy-article-fragment h3 { margin-top: 2.25rem; margin-bottom: 0.75rem; }
.legacy-article-fragment h4 { margin-top: 1.4rem; margin-bottom: 0.75rem; font-size: clamp(1.05rem,1.3vw,1.2rem); line-height: 1.4; color: var(--navy); }
.legacy-article-fragment p { line-height: 1.75; }
.article-downloads { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; margin: 2rem 0; }
.article-download-card { display: block; padding: 1.25rem 1.4rem; border: 1px solid rgba(15,23,42,0.14); border-radius: 0.9rem; text-decoration: none; color: inherit; background: rgba(255,255,255,0.7); }
.article-download-card:hover, .article-download-card:focus { border-color: currentColor; }
.article-download-card strong { display: block; margin-bottom: 0.35rem; color: var(--navy); }
.article-download-card span { display: block; line-height: 1.55; opacity: 0.78; }
.article-figure { margin: 2rem 0; }
.article-figure > a { display: block; }
.article-figure img { display: block; width: 100%; height: auto; border-radius: 0.9rem; }
.article-figure a img { transition: transform 0.18s ease, box-shadow 0.18s ease; }
.article-figure a:hover img, .article-figure a:focus img { transform: translateY(-2px); box-shadow: 0 0.75rem 2rem rgba(8,31,48,0.16); }
.article-figure figcaption { margin-top: 0.65rem; font-size: 0.9rem; line-height: 1.5; opacity: 0.75; }
.article-figure figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 0.16em; white-space: nowrap; }
.travel-detail { overflow: hidden; }
.travel-detail__media { height: 360px; }
.travel-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.prose { color: var(--muted); line-height: 1.75; }
.prose h1, .prose h2, .prose h3, .malibu-page h1, .malibu-page h2, .malibu-page h3, .malibu-page .prose h1, .malibu-page .prose h2, .malibu-page .prose h3, .malibu-page .content-card h2, .malibu-page .content-card h3 { color: #061f44; }
.prose p, .prose li { color: #5f6f89; }
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { margin-bottom: 1rem; padding-left: 1.5rem; }

/* Admin panel */
.admin-shell { max-width: 1180px; }
.admin-hero { display: flex; justify-content: space-between; gap: 1.5rem; align-items: flex-start; padding: 1.5rem; margin-bottom: 1.5rem; border: 1px solid rgba(15,23,42,0.08); border-radius: 24px; background: radial-gradient(circle at top left, rgba(37,99,235,0.14), transparent 34rem), linear-gradient(135deg, #fff 0%, #f8fafc 100%); box-shadow: 0 18px 45px rgba(15,23,42,0.08); }
.admin-hero h1 { margin-bottom: 0.35rem; }
.admin-hero p { max-width: 58ch; color: #475569; }
.admin-hero-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; justify-content: flex-end; }
.admin-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.25rem; margin-bottom: 1.25rem; }
.admin-card, .admin-panel.admin-card { padding: 1.25rem; border: 1px solid rgba(15,23,42,0.08); border-radius: 22px; background: #fff; box-shadow: 0 14px 35px rgba(15,23,42,0.07); }
.admin-card-wide { margin-top: 1.25rem; }
.admin-card-header { display: flex; gap: 0.9rem; align-items: flex-start; margin-bottom: 1rem; padding-bottom: 0.85rem; border-bottom: 1px solid rgba(15,23,42,0.08); }
.admin-card-header h2 { margin: 0; }
.admin-card-header p { margin: 0.2rem 0 0; color: #64748b; }
.admin-icon { display: inline-flex; width: 2.4rem; height: 2.4rem; align-items: center; justify-content: center; border-radius: 0.9rem; background: #eff6ff; box-shadow: inset 0 0 0 1px rgba(37,99,235,0.12); font-size: 1.15rem; }
.admin-shell form { display: grid; gap: 0.85rem; }
.admin-shell label { display: grid; gap: 0.35rem; font-weight: 650; color: #334155; }
.admin-shell input, .admin-shell select, .admin-shell textarea { width: 100%; border: 1px solid #cbd5e1; border-radius: 14px; padding: 0.72rem 0.85rem; background: #f8fafc; color: #0f172a; font: inherit; transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; }
.admin-shell input:focus, .admin-shell select:focus, .admin-shell textarea:focus { outline: none; border-color: #2563eb; background: #fff; box-shadow: 0 0 0 4px rgba(37,99,235,0.13); }
.admin-shell textarea { min-height: 9rem; resize: vertical; }
.admin-shell input[type="checkbox"] { width: auto; }
.admin-shell table { width: 100%; border-collapse: collapse; overflow: hidden; border-radius: 16px; background: #fff; }
.admin-shell th, .admin-shell td { padding: 0.75rem 0.85rem; border-bottom: 1px solid #e2e8f0; text-align: left; vertical-align: top; }
.admin-shell th { background: #f1f5f9; color: #334155; font-size: 0.9rem; font-weight: 750; }
.admin-shell tr:hover td { background: #f8fafc; }
.admin-shell code { padding: 0.18rem 0.4rem; border-radius: 0.45rem; background: #f1f5f9; color: #334155; }
.admin-shell .button, .admin-shell .primary, .admin-shell button { justify-self: start; border: 0; border-radius: 999px; padding: 0.72rem 1rem; background: #1d4ed8; color: #fff; font-weight: 750; text-decoration: none; box-shadow: 0 10px 22px rgba(37,99,235,0.22); }
.admin-shell .button.ghost { background: #fff; color: #1e293b; box-shadow: inset 0 0 0 1px #cbd5e1; }
.admin-shell .button:hover, .admin-shell .primary:hover, .admin-shell button:hover { transform: translateY(-1px); }
.status-badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 0.22rem 0.55rem; font-size: 0.82rem; font-weight: 750; }
.status-badge.is-online { background: #dcfce7; color: #166534; }
.status-badge.is-offline { background: #fee2e2; color: #991b1b; }

/* Footer / Cookie */
.site-footer { margin-top: auto; flex-shrink: 0; background: var(--navy); color: rgba(255,255,255,0.78); }
.site-footer__inner { min-height: 82px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.footer-links { display: flex; gap: 26px; flex-shrink: 0; }
.footer-links a, .site-footer a { color: #fff; text-decoration: none; font-weight: 700; }
.site-footer p { max-width: 520px; margin: 0; font-size: 0.84rem; line-height: 1.45; }
.cookie { position: fixed; right: 22px; bottom: 22px; z-index: 300; display: none; max-width: 360px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.cookie.show { display: block; }
.cookie p { margin: 0 0 12px; color: #4f5b6d; font-size: 0.9rem; }
.cookie button { min-height: 38px; padding: 0 14px; border: 0; border-radius: 5px; background: var(--navy); color: #fff; font-weight: 800; }

/* Responsive */
@media (max-width: 1400px) {
    .site-header__inner { grid-template-columns: 1fr auto; min-height: 68px; }
    .brand { font-size: 1.65rem; }
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; grid-column: 2; }
    .site-nav, .site-tools, .site-actions { display: none; }
    .site-header.open .site-nav, .site-header.open .site-tools, .site-header.open .site-actions { grid-column: 1 / -1; display: flex; width: 100%; }
    .site-header.open .site-nav { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 14px 0 6px; border-top: 1px solid var(--line); }
    .site-header.open .site-nav a { display: block; padding: 13px 0; border-bottom: 1px solid rgba(10,35,66,0.08); }
    .site-header.open .site-nav a.is-active::after { display: none; }
    .site-header.open .site-tools { flex-direction: column; align-items: stretch; gap: 12px; margin: 16px 0 0; }
    .site-header.open .site-search { width: 100%; max-width: none; }

    /* Sprachauswahl: im Menue kompakt lassen, nicht als riesigen 50/50-Balken ueber die volle Breite ziehen. */
    .site-header.open .language-switch {
        width: fit-content;
        max-width: 100%;
        align-self: flex-start;
    }
    .site-header.open .language-switch a { min-height: 40px; min-width: 48px; }
    .site-header.open .site-actions {
        justify-content: flex-start;
        align-items: flex-start;
        flex-wrap: wrap;
        padding: 10px 0 18px;
    }
    .community-panel, .split-grid, .content-card-grid, .contact-cta, .page-grid, .admin-grid, .form-grid, .contact-layout, .verein-layout, .verein-section-grid { grid-template-columns: 1fr; }
    .verein-side { position: static; }
    .feature-strip, .card-grid--three, .travel-grid, .cards, .image-card-grid, .home-news-grid, .news-card-grid, .image-card-grid.home-news-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .feature-strip article:nth-child(2) { border-right: 0; }
    .feature-strip article { border-bottom: 1px solid var(--line); }
    .feature-strip article:nth-child(3), .feature-strip article:nth-child(4) { border-bottom: 0; }
    .contact-aside { order: -1; }
    .auth-shell { min-height: auto; align-items: start; }
    .info-card { min-width: 0; }
    .admin-hero { flex-direction: column; }
    .admin-hero-actions { justify-content: flex-start; }
    .admin-card-grid { grid-template-columns: 1fr; }
    .admin-shell .table { overflow-x: auto; }
}
@media (max-width: 760px) {
    .form-grid, .contact-form__grid, .search-page-form { grid-template-columns: 1fr; }
    .span-2, .contact-form .span-2 { grid-column: auto; }
    .contact-form__actions { align-items: flex-start; flex-direction: column; }
    .article-downloads { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .article-page { padding-left: 0; padding-right: 0; }
    .article-shell { border-radius: 0; border-left: 0; border-right: 0; }
    .article-hero img { max-height: 360px; border-radius: 18px; }
}
@media (max-width: 700px) {
    .container, .page, .dynamic-hero, .home-hero__content { width: min(var(--container), calc(100% - 28px)); }
    .brand { font-size: 1.65rem; }
    .home-hero { min-height: auto; padding: 56px 0; }
    .home-hero h1 { font-size: clamp(2.7rem,13vw,4rem); }
    .section-heading, .site-footer__inner, .footer-links, .split { align-items: flex-start; flex-direction: column; }
    .feature-strip, .card-grid--three, .travel-grid, .cards, .image-card-grid, .home-news-grid, .news-card-grid, .image-card-grid.home-news-grid { grid-template-columns: 1fr; }
    .feature-strip article, .feature-strip article:nth-child(2), .feature-strip article:nth-child(3) { border-right: 0; border-bottom: 1px solid var(--line); }
    .feature-strip article:last-child { border-bottom: 0; }
    .community-panel, .contact-cta { padding: 24px; }
    .link-panel a { grid-template-columns: 1fr; gap: 4px; }
    .table-card { overflow-x: auto; }
    table { min-width: 560px; }
    .page { padding-top: 48px; padding-bottom: 72px; }
    .dynamic-hero { padding-top: 56px; padding-bottom: 48px; }
    .image-card__meta { display: block; }
    .image-card__meta span { display: block; margin-bottom: 6px; }
}
@media (max-width: 560px) {
    .verein-hero { padding: 42px 0; }
    .verein-main h1 { font-size: clamp(2.25rem,14vw,3.35rem); }
    .verein-action-card { padding: 18px; }
    .site-header.open .site-search { grid-template-columns: 1fr; border-radius: 24px; }
    .site-header.open .site-search button { width: 100%; border-left: 0; border-top: 1px solid var(--line); border-radius: 0 0 24px 24px; }
    .cookie { left: 14px; right: 14px; bottom: 14px; max-width: none; }
}

/* Print */
@media print {
    @page { size: A4; margin: 9mm 10mm; }
    html, body { width: 210mm; min-height: 297mm; background: #fff !important; color: #000 !important; font-size: 8.8pt !important; line-height: 1.2 !important; }
    .no-print, .site-header, .site-footer, .cookie, .print-button, .membership-actions { display: none !important; }
    main { padding: 0 !important; }
    .container { width: 100% !important; max-width: none !important; padding: 0 !important; }
    .membership-page { padding: 0 !important; }
    .membership-header { margin: 0 0 5mm !important; max-width: none !important; }
    .membership-header .eyebrow { margin: 0 0 2mm !important; font-size: 7.5pt !important; letter-spacing: 0.18em !important; }
    .membership-header h1 { margin: 0 !important; font-size: 20pt !important; line-height: 1 !important; letter-spacing: -0.03em !important; color: #000 !important; }
    .membership-header p:not(.eyebrow) { margin: 3mm 0 0 !important; font-size: 9pt !important; color: #000 !important; }
    .membership-form { display: grid !important; gap: 3mm !important; }
    .membership-fieldset { break-inside: avoid !important; page-break-inside: avoid !important; padding: 3.5mm 5mm 4mm !important; border: 0.35mm solid #999 !important; border-radius: 4mm !important; box-shadow: none !important; background: #fff !important; }
    .membership-fieldset legend { padding: 0 2mm !important; font-size: 8.5pt !important; font-weight: 800 !important; color: #000 !important; }
    .membership-options { grid-template-columns: repeat(3, minmax(0,1fr)) !important; gap: 2mm !important; }
    .membership-option, .consent-check { grid-template-columns: 4mm minmax(0,1fr) !important; gap: 2mm !important; font-size: 7.8pt !important; font-weight: 700 !important; color: #000 !important; }
    .membership-option input[type="radio"], .consent-check input[type="checkbox"] { display: none !important; }
    .membership-option .print-check, .consent-check .print-check { display: inline-block !important; width: 3.8mm !important; height: 3.8mm !important; border: 0.25mm solid #777 !important; border-radius: 50% !important; background: #fff !important; margin-top: 0.2mm !important; }
    .consent-check .print-check { border-radius: 0.8mm !important; }
    .membership-option input[type="radio"]:checked + .print-check::after, .consent-check input[type="checkbox"]:checked + .print-check::after { content: "" !important; display: block !important; width: 2.2mm !important; height: 2.2mm !important; margin: 0.55mm auto 0 !important; border-radius: 50% !important; background: #000 !important; }
    .consent-check input[type="checkbox"]:checked + .print-check::after { width: 2.4mm !important; height: 2.4mm !important; border-radius: 0.4mm !important; }
    .form-grid { grid-template-columns: repeat(4, minmax(0,1fr)) !important; gap: 2.2mm 3mm !important; }
    .form-grid label { gap: 1mm !important; font-size: 7.6pt !important; font-weight: 700 !important; color: #000 !important; }
    .span-2 { grid-column: span 2 !important; }
    .form-grid input, .form-grid select, .form-grid textarea { min-height: 6.2mm !important; height: 6.2mm !important; padding: 0 1.5mm !important; border: 0.25mm solid #bbb !important; border-radius: 1.5mm !important; background: #fff !important; color: #000 !important; font-size: 7.5pt !important; box-shadow: none !important; }
    .form-grid textarea { height: 9mm !important; min-height: 9mm !important; resize: none !important; }
    .membership-form input::placeholder, .membership-form textarea::placeholder { color: transparent !important; }
    .consent-box p { margin: 0 0 2mm !important; max-width: none !important; font-size: 7.5pt !important; color: #000 !important; }
    .consent-check { margin-top: 2mm !important; }
    .membership-signature { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8mm; margin-top: 1mm; font-size: 8pt; color: #000; }
    datalist { display: none !important; }
    * { box-shadow: none !important; text-shadow: none !important; }
}

/* Legal content */
.legal-content {
    max-width: 900px;
    line-height: 1.75;
}

.legal-content h2 {
    margin: 34px 0 10px;
    color: var(--navy);
    font-size: 1.45rem;
    line-height: 1.25;
    letter-spacing: -0.035em;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    margin: 24px 0 8px;
    color: var(--navy);
    font-size: 1.08rem;
    line-height: 1.3;
}

.legal-content p,
.legal-content li {
    color: #536073;
}

.legal-content p {
    margin: 0 0 16px;
}

.legal-content ul {
    margin: 0 0 18px;
    padding-left: 1.35rem;
}

.legal-content a {
    color: var(--navy);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 0.16em;
}


/* Membership application consent checkbox - hard override */
.form-card label.checkbox,
.form-card label.consent-inline,
.membership-form label.checkbox,
.membership-form label.consent-inline {
    display: grid !important;
    grid-template-columns: 22px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 12px !important;
    width: auto !important;
    margin: 24px 0 !important;
    color: var(--navy) !important;
    font-size: 0.98rem !important;
    font-weight: 800 !important;
    line-height: 1.45 !important;
}

.form-card label.checkbox input[type="checkbox"],
.form-card label.consent-inline input[type="checkbox"],
.membership-form label.checkbox input[type="checkbox"],
.membership-form label.consent-inline input[type="checkbox"] {
    appearance: auto !important;
    -webkit-appearance: checkbox !important;

    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;

    margin: 3px 0 0 0 !important;
    padding: 0 !important;

    border-radius: 4px !important;
    box-shadow: none !important;
    accent-color: var(--accent) !important;
    cursor: pointer !important;
}

.form-card label.checkbox span,
.form-card label.consent-inline span,
.membership-form label.checkbox span,
.membership-form label.consent-inline span {
    display: block !important;
    min-width: 0 !important;
}

.form-card label.checkbox + .btn,
.form-card label.consent-inline + .btn,
.membership-form label.checkbox + .btn,
.membership-form label.consent-inline + .btn {
    margin-top: 8px !important;
}
/* Forum */
.forum-thread {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.forum-post {
    padding: 1.5rem;
}

.forum-post-meta {
    color: var(--muted, #58677c);
    margin-bottom: 1rem;
}

.forum-post-body {
    line-height: 1.7;
    white-space: normal;
    overflow-wrap: anywhere;
}

.forum-reply-card,
.forum-form-card {
    padding: 1.5rem;
}

.form-stack {
    display: grid;
    gap: 1rem;
}

.form-field {
    display: grid;
    gap: 0.4rem;
}

.form-stack label {
    font-weight: 700;
}

.form-stack input,
.form-stack textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.back-link {
    margin-bottom: 1rem;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

@media (max-width: 720px) {
    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .forum-post,
    .forum-reply-card,
    .forum-form-card {
        padding: 1rem;
    }
}

/* Forum refinement */
.forum-page {
    max-width: 980px;
    margin: 0 auto;
}

.forum-page-narrow {
    max-width: 860px;
    margin: 0 auto;
}

.forum-card {
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: 0 10px 30px rgba(15, 35, 65, 0.06);
}

.forum-thread {
    display: grid;
    gap: 1rem;
    margin: 1.25rem 0 1.5rem;
}

.forum-post {
    padding: 1.5rem 1.75rem;
}

.forum-post-meta {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    color: var(--muted, #58677c);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.forum-post-meta strong {
    color: var(--navy, #08224a);
}

.forum-post-body {
    max-width: 72ch;
    line-height: 1.75;
    font-size: 1.03rem;
    overflow-wrap: anywhere;
}

.forum-post-body h2,
.forum-post-body h3 {
    margin-top: 1.7rem;
    margin-bottom: 0.65rem;
}

.forum-post-body p {
    margin: 0 0 1rem;
}

.forum-post-body ul,
.forum-post-body ol {
    margin: 0 0 1.1rem 1.25rem;
    padding-left: 1rem;
}

.forum-post-body li {
    margin-bottom: 0.4rem;
}

.forum-login-callout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.35rem 1.5rem;
}

.forum-login-callout h2 {
    margin-bottom: 0.35rem;
}

.forum-login-callout p {
    margin: 0;
    color: var(--muted, #58677c);
}

.forum-form-card {
    max-width: 860px;
    margin: 0 auto;
    padding: 1.75rem;
}

.form-stack {
    display: grid;
    gap: 1.1rem;
}

.form-field {
    display: grid;
    gap: 0.45rem;
}

.form-field label,
.form-stack label {
    font-weight: 700;
    color: var(--navy, #08224a);
}

.form-stack input,
.form-stack textarea,
.form-field input,
.form-field textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(8, 34, 74, 0.18);
    border-radius: 10px;
    padding: 0.85rem 0.95rem;
    font: inherit;
    background: #fff;
}

.form-stack textarea,
.form-field textarea {
    min-height: 180px;
    resize: vertical;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.back-link {
    margin-bottom: 1.1rem;
}

.back-link a {
    font-weight: 700;
}

.forum-table a {
    font-weight: 700;
    text-decoration: none;
}

.forum-table a:hover {
    text-decoration: underline;
}

@media (max-width: 720px) {
    .forum-card,
    .forum-post,
    .forum-form-card,
    .forum-login-callout {
        padding: 1rem;
    }

    .forum-login-callout {
        align-items: flex-start;
        flex-direction: column;
    }

    .forum-post-body {
        font-size: 1rem;
    }
}


    /* ==========================================================================
    Mobile stabilization patch
    --------------------------------------------------------------------------
    Ziel:
    - bestehende Desktop-/Tablet-CSS unveraendert lassen
    - horizontales Ueberlaufen auf Handys verhindern
    - Header-Menue, Karten, Formulare, Tabellen und Artikel mobil stabilisieren
    - nur additive Overrides am Dateiende
    ========================================================================== */


    /* --------------------------------------------------------------------------
    1) Globaler Overflow-Schutz
    --------------------------------------------------------------------------
    Grund:
    Einzelne Grid-/Flex-Kinder, lange Links, Tabellen oder Badge-Texte koennen
    auf kleinen Viewports breiter als der Bildschirm werden.
    -------------------------------------------------------------------------- */

    html,
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    body {
        overflow-wrap: break-word;
    }

    main,
    .container,
    .page,
    .dynamic-hero,
    .home-hero__content,
    .site-header__inner,
    .site-nav,
    .site-tools,
    .site-actions,
    .card,
    .story-card,
    .travel-card,
    .image-card,
    .content-card,
    .content-body,
    .table-card,
    .form-card,
    .auth-card,
    .info-card,
    .sidebar-card,
    .contact-form,
    .contact-aside,
    .article-shell,
    .article-body,
    .forum-card,
    .forum-post,
    .forum-form-card {
        min-width: 0;
    }

    p,
    li,
    td,
    th,
    .form-note,
    .meta,
    .prose,
    .article-body,
    .forum-post-body {
        overflow-wrap: break-word;
        word-break: normal;
    }

    h1,
    h2,
    h3,
    h4,
    a,
    label,
    legend,
    strong,
    span {
        overflow-wrap: normal;
        word-break: normal;
        hyphens: manual;
    }


    /* --------------------------------------------------------------------------
    2) Header / Mobile-Menue robuster machen
    --------------------------------------------------------------------------
    Grund:
    Der Header enthaelt Brand, Navigation, Suche, Sprachumschalter und Actions.
    Auf Mobile muss alles eindeutig untereinander laufen, sonst entstehen
    gequetschte oder abgeschnittene Elemente.
    -------------------------------------------------------------------------- */

    @media (max-width: 1400px) {
        .site-header {
            position: sticky;
        }

        .site-header__inner {
            width: min(var(--container), calc(100% - 28px));
            margin: 0 auto;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 10px;
        }

        .brand {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .nav-toggle {
            min-height: 42px;
            white-space: nowrap;
        }

        .site-header.open .site-nav,
        .site-header.open .site-tools,
        .site-header.open .site-actions {
            min-width: 0;
        }

        .site-header.open .site-nav {
            max-height: calc(100vh - 76px);
            overflow-y: auto;
            overscroll-behavior: contain;
        }

        .site-header.open .site-nav a {
            width: 100%;
            min-width: 0;
            white-space: normal;
            line-height: 1.35;
        }

        .site-header.open .site-tools {
            width: 100%;
        }

        .site-header.open .site-search {
            min-width: 0;
        }

        .site-header.open .site-actions {
            width: 100%;
        }

        .site-header.open .admin-action,
        .site-header.open .plain-action {
            max-width: 100%;
            white-space: normal;
        }
    }


    /* --------------------------------------------------------------------------
    3) Mobile-Grids konsequent auf eine Spalte setzen
    --------------------------------------------------------------------------
    Grund:
    Ein Teil der Layouts wird bereits bei 1400px auf 2 Spalten reduziert.
    Auf echten Handys muessen aber alle Card-, Content-, Admin-, Contact-,
    Vereins- und Malibu-Grids eindeutig einspaltig laufen.
    -------------------------------------------------------------------------- */

    @media (max-width: 900px) {
        .card-grid,
        .card-grid--three,
        .travel-grid,
        .split-grid,
        .image-card-grid,
        .cards,
        .page-grid,
        .admin-grid,
        .content-card-grid,
        .home-news-grid,
        .news-card-grid,
        .image-card-grid.home-news-grid,
        .admin-card-grid,
        .verein-layout,
        .verein-section-grid,
        .contact-layout,
        .contact-form__grid,
        .form-grid,
        .malibu-model-grid,
        .article-downloads {
            grid-template-columns: 1fr !important;
        }

        .page-grid {
            gap: 24px;
        }

        .contact-aside {
            order: 0;
        }
    }


    /* --------------------------------------------------------------------------
    4) Handy-Breakpoint: Abstaende, Hero, Buttons und Cards kompakter machen
    --------------------------------------------------------------------------
    Grund:
    Viele Desktop-Abstaende sind optisch hochwertig, aber auf 360-430px zu breit.
    Dieser Block reduziert Padding, Hero-Hoehen und Card-Abstaende.
    -------------------------------------------------------------------------- */

    @media (max-width: 700px) {
        .container,
        .page,
        .dynamic-hero,
        .home-hero__content,
        .feature-strip {
            width: calc(100% - 28px);
        }

        .site-header__inner {
            width: calc(100% - 28px);
        }

        .page {
            padding-top: 40px;
            padding-bottom: 56px;
        }

        .section {
            padding: 24px 0;
        }

        .section-heading {
            gap: 10px;
            margin-bottom: 18px;
        }

        .section-heading h2,
        .split h2 {
            font-size: clamp(1.45rem, 8vw, 1.9rem);
            line-height: 1.1;
        }

        .page-title {
            font-size: clamp(2rem, 12vw, 3rem);
            line-height: 0.98;
        }

        .page-lead {
            font-size: 1rem;
        }

        .home-hero {
            padding: 44px 0 54px;
            background-position: center right;
        }

        .home-hero h1 {
            max-width: 100%;
            font-size: clamp(2.25rem, 13vw, 3.45rem);
            line-height: 0.98;
            letter-spacing: -0.055em;
        }

        .home-hero p {
            max-width: 100%;
            font-size: 1rem;
            line-height: 1.55;
        }

        .actions,
        .action-row,
        .membership-actions,
        .form-actions {
            width: 100%;
            gap: 10px;
        }

        .actions .button,
        .actions .btn,
        .action-row .button,
        .action-row .btn,
        .membership-actions .button,
        .membership-actions .btn,
        .form-actions .button,
        .form-actions .btn {
            width: 100%;
        }

        .button,
        .btn {
            width: auto;
            max-width: 100%;
            padding-left: 18px;
            padding-right: 18px;
            text-align: center;
        }

        .feature-strip {
            margin-top: -22px;
            border-radius: 10px;
        }

        .feature-strip article {
            padding: 20px;
            gap: 14px;
        }

        .feature-strip span {
            flex-basis: 38px;
            width: 38px;
            height: 38px;
            font-size: 1rem;
        }

        .card-body,
        .story-card__body,
        .travel-card__body,
        .image-card__body,
        .content-card,
        .content-body,
        .form-card,
        .auth-card,
        .info-card,
        .sidebar-card,
        .table-card,
        .contact-form,
        .contact-aside,
        .membership-fieldset,
        .forum-card,
        .forum-post,
        .forum-form-card,
        .forum-reply-card {
            padding: 20px;
        }

        .home-news-card__media {
            height: clamp(180px, 58vw, 260px);
        }

        .home-news-card__badge {
            top: 14px;
            left: 14px;
            font-size: 0.68rem;
            letter-spacing: 0.12em;
        }

        .home-news-card__body {
            padding: 20px;
        }

        .home-news-card__body h3 {
            font-size: clamp(1.25rem, 7vw, 1.65rem);
            line-height: 1.12;
        }

        .travel-card__image {
            height: clamp(190px, 58vw, 255px);
        }

        .image-card__media {
            height: clamp(160px, 52vw, 220px);
        }

        .community-panel {
            grid-template-columns: 1fr;
            gap: 22px;
        }

        .contact-cta {
            grid-template-columns: 1fr;
            gap: 16px;
        }

        .link-panel a {
            padding: 18px 42px 18px 18px;
        }

        .site-footer__inner {
            min-height: auto;
            padding-top: 24px;
            padding-bottom: 24px;
            gap: 18px;
        }

        .footer-links {
            gap: 12px;
        }
    }


    /* --------------------------------------------------------------------------
    5) Sehr kleine Handys: Header-Suche, Brand, Forms und Artikel weiter
        entschärfen
    --------------------------------------------------------------------------
    Grund:
    Bei 320-390px Breite sind selbst normale Desktop-Komponenten zu breit,
    besonders Search-Button, Tabellen, Artikel-Shells und Fieldsets.
    -------------------------------------------------------------------------- */

    @media (max-width: 560px) {
        :root {
            --header-height: 64px;
        }

        .brand {
            font-size: clamp(1.35rem, 8vw, 1.6rem);
            letter-spacing: -0.055em;
        }

        .nav-toggle {
            padding: 8px 11px;
            font-size: 0.9rem;
        }

        .site-header.open .site-nav {
            padding-top: 10px;
        }

        .site-header.open .site-nav a {
            padding: 12px 0;
        }

        .site-header.open .site-search {
            border-radius: 18px;
        }

        .site-header.open .site-search input[type="search"] {
            min-height: 42px;
            padding: 0 14px;
        }

        .site-header.open .site-search button {
            min-height: 42px;
            border-radius: 0 0 18px 18px;
        }

        .site-header.open .language-switch a {
            min-width: 44px;
            min-height: 36px;
        }

        .admin-action {
            width: 100%;
            justify-content: center;
        }

        .page,
        .dynamic-hero,
        .membership-page,
        .contact-page,
        .article-page {
            padding-top: 34px;
            padding-bottom: 48px;
        }

        .auth-shell {
            padding: 34px 0;
        }

        .auth-card h1 {
            font-size: clamp(1.75rem, 10vw, 2.15rem);
        }

        .contact-header h1,
        .membership-header h1,
        .verein-main h1 {
            font-size: clamp(2rem, 12vw, 3rem);
        }

        .contact-header,
        .membership-header {
            margin-bottom: 28px;
        }

        .contact-form__actions {
            width: 100%;
        }

        .contact-form__actions .button,
        .contact-form__actions .btn {
            width: 100%;
        }

        .form-field--captcha,
        .captcha-field {
            max-width: 100%;
        }

        .checkbox-row {
            align-items: flex-start;
        }

        .article-header,
        .article-body,
        .article-footer {
            padding-left: 18px;
            padding-right: 18px;
        }

        .article-header h1 {
            font-size: clamp(1.8rem, 11vw, 2.65rem);
        }

        .article-author {
            font-size: clamp(1.05rem, 6vw, 1.35rem);
        }

        .article-body {
            font-size: 1rem;
            line-height: 1.68;
        }

        .article-hero {
            padding-left: 14px;
            padding-right: 14px;
        }

        .article-hero img {
            max-height: 300px;
            border-radius: 14px;
        }

        .travel-detail__media {
            height: clamp(210px, 62vw, 300px);
        }

        .malibu-model-grid > div {
            padding: 1rem;
        }
    }


    /* --------------------------------------------------------------------------
    6) Tabellen mobil scrollbar kapseln
    --------------------------------------------------------------------------
    Grund:
    HTML-Tabellen koennen nicht sinnvoll auf 320px zusammengedrueckt werden.
    Deshalb bekommen Karten mit Tabellen horizontalen Scroll, ohne die Seite
    selbst breiter zu machen.
    -------------------------------------------------------------------------- */

    @media (max-width: 700px) {
        .table-card,
        .admin-shell,
        .malibu-article-card,
        .content-body {
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        .table-card table,
        .admin-shell table,
        .malibu-article-card table {
            min-width: 560px;
        }

        .forum-table {
            min-width: 560px;
        }
    }


    /* --------------------------------------------------------------------------
    7) Admin-Bereich mobil stabilisieren
    --------------------------------------------------------------------------
    Grund:
    Admin-Buttons, Tabellen und Hero-Actions sind desktoplastig und koennen
    auf Mobile aus dem Viewport laufen.
    -------------------------------------------------------------------------- */

    @media (max-width: 700px) {
        .admin-hero {
            padding: 1rem;
            border-radius: 18px;
        }

        .admin-hero-actions {
            width: 100%;
        }

        .admin-hero-actions .button,
        .admin-hero-actions .btn,
        .admin-shell .button,
        .admin-shell .primary,
        .admin-shell button {
            max-width: 100%;
            white-space: normal;
            text-align: center;
        }

        .admin-card,
        .admin-panel.admin-card {
            padding: 1rem;
            border-radius: 18px;
        }

        .admin-card-header {
            flex-direction: column;
        }
    }


    /* --------------------------------------------------------------------------
    8) Forum mobil stabilisieren
    --------------------------------------------------------------------------
    Grund:
    Forum-Posts enthalten potentiell lange Texte, Links oder Code. Der Content
    darf nicht horizontal ausbrechen.
    -------------------------------------------------------------------------- */

    @media (max-width: 700px) {
        .forum-page,
        .forum-page-narrow {
            max-width: 100%;
        }

        .forum-post-body {
            max-width: 100%;
            overflow-wrap: anywhere;
            word-break: normal;
        }

        .forum-login-callout {
            width: 100%;
        }
    }


    /* --------------------------------------------------------------------------
    9) Letzter Sicherheitsgurt fuer 360px und kleiner
    --------------------------------------------------------------------------
    Grund:
    Kleine Android-/iPhone-SE-Viewports brauchen noch engere Innenabstaende.
    -------------------------------------------------------------------------- */

    @media (max-width: 390px) {
        .container,
        .page,
        .dynamic-hero,
        .home-hero__content,
        .feature-strip,
        .site-header__inner {
            width: calc(100% - 22px);
        }

        .card-body,
        .story-card__body,
        .travel-card__body,
        .image-card__body,
        .content-card,
        .content-body,
        .form-card,
        .auth-card,
        .info-card,
        .sidebar-card,
        .table-card,
        .contact-form,
        .contact-aside,
        .membership-fieldset,
        .forum-card,
        .forum-post,
        .forum-form-card,
        .forum-reply-card {
            padding: 16px;
        }

        .button,
        .btn {
            min-height: 44px;
            padding-left: 14px;
            padding-right: 14px;
        }

        .home-hero {
            padding-top: 36px;
            padding-bottom: 44px;
        }

        .home-hero h1 {
            font-size: clamp(2rem, 14vw, 2.85rem);
        }

        .page-title {
            font-size: clamp(1.85rem, 13vw, 2.55rem);
        }

        .feature-strip article {
            padding: 16px;
        }
    }

    /* Trainingswochenende. */

    .training-banner {
    background: #8b1e2d;
    color: #ffffff;
    padding: 1.4rem 0;
}

.training-banner__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.training-banner__eyebrow,
.event-kicker,
.section-eyebrow,
.event-popup__eyebrow {
    margin: 0 0 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.training-banner h2 {
    margin: 0 0 0.45rem;
    color: inherit;
}

.training-banner p {
    margin-top: 0;
}

.training-banner__limited {
    margin-bottom: 0;
    font-weight: 700;
}

.event-hero {
    padding: clamp(4rem, 9vw, 8rem) 0;
    background:
        linear-gradient(
            135deg,
            rgba(20, 28, 36, 0.96),
            rgba(61, 74, 87, 0.88)
        );
    color: #ffffff;
}

.event-hero__inner {
    max-width: 880px;
}

.event-hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(3rem, 8vw, 6.5rem);
    line-height: 0.95;
    color: inherit;
}

.event-hero__date {
    font-size: 1.2rem;
    font-weight: 700;
}

.event-hero__lead {
    max-width: 760px;
    font-size: 1.15rem;
    line-height: 1.7;
}

.event-alert {
    margin: 1.5rem 0;
    padding: 1rem 1.2rem;
    border-left: 4px solid currentColor;
    background: rgba(255, 255, 255, 0.1);
}

.event-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.event-fact {
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
}

.event-fact__label {
    display: block;
    margin-bottom: 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.event-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 6vw, 5rem);
}

.event-schedule {
    display: grid;
    gap: 1rem;
    padding: 0;
    list-style: none;
}

.event-schedule li {
    display: grid;
    grid-template-columns: 125px 1fr;
    gap: 1.25rem;
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.event-schedule time {
    font-weight: 700;
}

.event-schedule h3 {
    margin-top: 0;
}

.event-registration {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(2rem, 6vw, 5rem);
}

.event-form {
    display: grid;
    gap: 1.5rem;
    padding: clamp(1.25rem, 4vw, 2.5rem);
    background: #ffffff;
    color: #161b20;
    border-radius: 1rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.programme-options {
    display: grid;
    gap: 0.75rem;
    padding: 1.25rem;
}

.programme-options label {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: start;
    gap: 0.65rem;
    min-width: 0;
}

.programme-options input[type="checkbox"] {
    appearance: auto;
    -webkit-appearance: checkbox;
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin: 0.18rem 0 0;
    padding: 0;
    accent-color: var(--accent);
}

.programme-option__text {
    display: block;
    min-width: 0;
}

.consent-label {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
    gap: 0.65rem;
}

.form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.event-popup[hidden] {
    display: none;
}

.event-popup {
    position: fixed;
    z-index: 2000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.event-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 20, 0.72);
    backdrop-filter: blur(4px);
}

.event-popup__dialog {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    padding: clamp(1.5rem, 5vw, 3rem);
    background: #ffffff;
    border-radius: 1.25rem;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.event-popup__close {
    position: absolute;
    top: 0.7rem;
    right: 0.9rem;
    border: 0;
    background: transparent;
    font-size: 2rem;
    cursor: pointer;
}

.has-modal {
    overflow: hidden;
}

@media (max-width: 800px) {
    .training-banner__inner,
    .event-content,
    .event-registration {
        grid-template-columns: 1fr;
    }

    .training-banner__inner {
        display: grid;
    }

    .event-facts {
        grid-template-columns: 1fr;
    }

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

    .event-schedule li {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }
}

/* =========================================================
   Partner advertisements
   ========================================================= */

.partner-section {
    padding: clamp(3rem, 6vw, 5.5rem) 0;
    background:
        linear-gradient(
            180deg,
            rgba(247, 249, 252, 0.96) 0%,
            rgba(237, 242, 247, 0.96) 100%
        );
    border-top: 1px solid rgba(24, 47, 71, 0.1);
}

.partner-section__header {
    max-width: 760px;
    margin-bottom: 1.75rem;
}

.partner-section__header h2 {
    margin-top: 0.35rem;
    margin-bottom: 0;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.partner-card {
    display: grid;
    grid-template-rows: minmax(220px, 0.9fr) auto;
    min-width: 0;
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid rgba(24, 47, 71, 0.12);
    border-radius: 20px;
    box-shadow:
        0 18px 45px rgba(20, 39, 60, 0.08);
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.partner-card:hover,
.partner-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(24, 47, 71, 0.28);
    box-shadow:
        0 24px 55px rgba(20, 39, 60, 0.14);
}

.partner-card:focus-visible {
    outline: 3px solid rgba(32, 96, 160, 0.28);
    outline-offset: 3px;
}

.partner-card__visual {
    position: relative;
    min-height: 220px;
    overflow: hidden;
    background: #eef3f7;
}

.partner-card__visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    transition: transform 300ms ease;
}

.partner-card:hover .partner-card__visual img {
    transform: scale(1.025);
}

.partner-card--piper .partner-card__visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.25rem, 3vw, 2.5rem);
    background:
        radial-gradient(
            circle at 30% 25%,
            #ffffff 0%,
            #eef4f9 58%,
            #dce7f0 100%
        );
}

.partner-card--piper .partner-card__visual img {
    height: auto;
    min-height: 0;
    max-height: 260px;
    object-fit: contain;
}

.partner-card--ras .partner-card__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            180deg,
            rgba(4, 20, 37, 0.02) 40%,
            rgba(4, 20, 37, 0.26) 100%
        );
}

.partner-card__content {
    padding: clamp(1.35rem, 3vw, 2rem);
}

.partner-card__label {
    display: block;
    margin-bottom: 0.65rem;
    color: var(--color-accent, #245f91);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.partner-card__content h3 {
    margin: 0 0 0.65rem;
    font-size: clamp(1.4rem, 2.3vw, 1.8rem);
}

.partner-card__content p {
    margin: 0;
    color: rgba(24, 47, 71, 0.78);
    line-height: 1.65;
}

.partner-card__link {
    display: inline-block;
    margin-top: 1.15rem;
    font-weight: 700;
}

.partner-section__notice {
    margin: 1rem 0 0;
    color: rgba(24, 47, 71, 0.58);
    font-size: 0.78rem;
    text-align: right;
}

@media (max-width: 820px) {
    .partner-grid {
        grid-template-columns: 1fr;
    }

    .partner-card {
        grid-template-rows: minmax(190px, auto) auto;
    }

    .partner-card__visual,
    .partner-card__visual img {
        min-height: 190px;
    }

    .partner-card--piper .partner-card__visual img {
        min-height: 0;
        max-height: 220px;
    }
}

@media (max-width: 520px) {
    .partner-section {
        padding: 2.75rem 0;
    }

    .partner-card {
        border-radius: 16px;
    }

    .partner-card__content {
        padding: 1.25rem;
    }

    .partner-section__notice {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .partner-card,
    .partner-card__visual img {
        transition: none;
    }
}

/* Trainingswochenende: Anmerkungen und Datenschutzhinweis */

.event-notes-field {
    display: grid;
    gap: 0.55rem;
    min-width: 0;
    color: var(--navy);
    font-weight: 700;
}

.event-notes-field textarea {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 165px;
    padding: 1rem 1.1rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #ffffff;
    color: var(--text);
    font: inherit;
    font-weight: 400;
    line-height: 1.55;
    resize: vertical;
    box-shadow: var(--shadow-soft);
    transition:
        border-color 160ms ease,
        box-shadow 160ms ease;
}

.event-notes-field textarea::placeholder {
    color: var(--muted);
    opacity: 0.82;
}

.event-notes-field textarea:hover {
    border-color: rgba(183, 122, 67, 0.55);
}

.event-notes-field textarea:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow:
        0 0 0 4px rgba(183, 122, 67, 0.14),
        var(--shadow-soft);
}

.event-form .consent-label {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: start;
    gap: 0.85rem;
    width: 100%;
    min-width: 0;
    margin: 0.25rem 0 0;
    cursor: pointer;
}

.event-form .consent-label input[type="checkbox"] {
    appearance: auto;
    -webkit-appearance: checkbox;
    width: 22px;
    height: 22px;
    min-width: 22px;
    margin: 0.22rem 0 0;
    padding: 0;
    accent-color: var(--accent);
    cursor: pointer;
}

.consent-label__text {
    display: block;
    min-width: 0;
    font-weight: 400;
    line-height: 1.65;
}

.consent-label__privacy {
    display: block;
    margin-top: 0.45rem;
}

.consent-label__privacy a {
    color: var(--navy);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 1.5px;
    text-underline-offset: 0.18em;
}

.consent-label__privacy a:hover {
    color: var(--accent-dark);
}




/* ==========================================================================
   MMIG46 – final mobile corrections
   ========================================================================== */

@media (max-width: 820px) {

    /* ----------------------------------------------------------
       Allgemeines Seitenlayout
       ---------------------------------------------------------- */

    .container,
    .page,
    .dynamic-hero,
    .home-hero__content,
    .feature-strip {
        width: calc(100% - 32px);
        max-width: var(--container);
    }

    .section {
        padding: 28px 0;
    }

    /* ----------------------------------------------------------
       Startseite: Trainingsbanner
       ---------------------------------------------------------- */

    .training-banner {
        padding: 24px 0;
    }

    .training-banner__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        align-items: start;
    }

    .training-banner__inner > div {
        min-width: 0;
    }

    .training-banner__eyebrow {
        margin-bottom: 8px;
        font-size: 0.72rem;
        line-height: 1.4;
    }

    .training-banner h2 {
        margin: 0 0 10px;
        font-size: clamp(1.45rem, 7vw, 2rem);
        line-height: 1.1;
        overflow-wrap: normal;
        word-break: normal;
    }

    .training-banner p {
        margin: 0 0 10px;
        line-height: 1.55;
    }

    .training-banner__limited {
        margin-bottom: 0;
    }

    .training-banner .button {
        width: 100%;
        min-height: 46px;
        padding: 10px 14px;
        text-align: center;
        white-space: normal;
        line-height: 1.3;
    }

    /* ----------------------------------------------------------
       Startseiten-Hero
       ---------------------------------------------------------- */

    .home-hero {
        min-height: auto;
        padding: 46px 0 54px;
        align-items: flex-start;
        background:
            linear-gradient(
                180deg,
                rgba(246, 244, 239, 0.96) 0%,
                rgba(246, 244, 239, 0.82) 55%,
                rgba(246, 244, 239, 0.7) 100%
            ),
            url("/assets/img/hero-pa46.jpg") 62% center / cover no-repeat;
    }

    .home-hero__content {
        min-width: 0;
    }

    .home-hero h1,
    .home-hero__title {
        max-width: 100%;
        margin: 0 0 16px;
        font-size: clamp(2.05rem, 10.2vw, 3.25rem);
        line-height: 0.98;
        letter-spacing: -0.055em;
        overflow-wrap: normal;
        word-break: normal;
        hyphens: none;
    }

    .home-hero__association {
        display: block;
        overflow-wrap: normal;
        word-break: normal;
    }

    .home-hero p {
        max-width: 100%;
        margin-top: 0;
        font-size: 1rem;
        line-height: 1.5;
    }

    .home-hero .actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        gap: 9px;
        margin-top: 22px;
    }

    .home-hero .actions .button {
        width: 100%;
        min-width: 0;
        min-height: 46px;
        padding: 10px 16px;
        text-align: center;
    }

    /* ----------------------------------------------------------
       Trainingswochenende: Hero
       ---------------------------------------------------------- */

    .event-hero {
        padding: 46px 0 54px;
    }

    .event-hero__inner {
        width: calc(100% - 32px);
        max-width: none;
        min-width: 0;
    }

    .event-kicker {
        margin-bottom: 14px;
        font-size: 0.72rem;
        line-height: 1.4;
    }

    .event-hero h1 {
        margin: 0 0 18px;
        font-size: clamp(2.35rem, 12vw, 4rem);
        line-height: 0.98;
        letter-spacing: -0.055em;
        overflow-wrap: normal;
        word-break: normal;
    }

    .event-hero__date {
        margin-bottom: 16px;
        font-size: 1rem;
        line-height: 1.5;
    }

    .event-hero__lead {
        margin-bottom: 20px;
        font-size: 1rem;
        line-height: 1.55;
    }

    .event-alert {
        margin: 20px 0;
        padding: 14px 16px;
        line-height: 1.5;
    }

    .event-hero .button {
        width: 100%;
        min-height: 46px;
        padding: 10px 14px;
        text-align: center;
        white-space: normal;
        line-height: 1.3;
    }

    /* ----------------------------------------------------------
       Trainingswochenende: Inhaltsbereiche
       ---------------------------------------------------------- */

    .event-facts,
    .event-content,
    .event-registration {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .event-facts > *,
    .event-content > *,
    .event-registration > * {
        min-width: 0;
    }

    .event-fact {
        padding: 20px;
        border-radius: 12px;
    }

    .event-content h2,
    .event-registration h2 {
        overflow-wrap: normal;
        word-break: normal;
    }

    /* ----------------------------------------------------------
       Programmablauf
       ---------------------------------------------------------- */

    .event-schedule {
        gap: 0;
        margin: 0;
    }

    .event-schedule li {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
        padding: 20px 0;
    }

    .event-schedule time {
        display: block;
        color: var(--muted);
        font-size: 0.88rem;
        line-height: 1.4;
    }

    .event-schedule h3 {
        margin: 0;
        font-size: 1.15rem;
        line-height: 1.3;
    }

    .event-schedule p {
        margin: 8px 0 0;
        line-height: 1.55;
    }

    /* ----------------------------------------------------------
       Anmeldeformular
       ---------------------------------------------------------- */

    .event-form {
        display: grid;
        width: 100%;
        min-width: 0;
        gap: 20px;
        padding: 20px 16px;
        border-radius: 14px;
    }

    .event-form .form-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        min-width: 0;
    }

    .event-form .form-grid label {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 7px;
        width: 100%;
        min-width: 0;
        margin: 0;
    }

    .event-form input:not([type="checkbox"]):not([type="radio"]),
    .event-form select,
    .event-form textarea {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
        padding: 12px 13px;
        border: 1px solid #cfd7e2;
        border-radius: 9px;
        background: #fff;
        color: var(--text);
        font: inherit;
    }

    .event-form input:not([type="checkbox"]):not([type="radio"]),
    .event-form select {
        min-height: 46px;
    }

    /* Programmpunkte */

    .programme-options {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0;
        border: 0;
    }

    .programme-options legend {
        width: 100%;
        margin: 0 0 8px;
        padding: 0;
        color: var(--navy);
        font-size: 0.9rem;
        font-weight: 800;
    }

    .programme-options .programme-option,
    .programme-options label {
        display: grid;
        grid-template-columns: 20px minmax(0, 1fr);
        gap: 10px;
        align-items: start;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 10px 0;
        border-bottom: 1px solid var(--line);
        font-weight: 500;
        line-height: 1.4;
    }

    .programme-options label:last-child {
        border-bottom: 0;
    }

    .programme-options input[type="checkbox"] {
        appearance: auto;
        -webkit-appearance: checkbox;
        width: 18px;
        height: 18px;
        min-width: 18px;
        max-width: 18px;
        min-height: 18px;
        max-height: 18px;
        margin: 2px 0 0;
        padding: 0;
        accent-color: var(--accent);
    }

    .programme-option__text {
        display: block;
        min-width: 0;
        overflow-wrap: normal;
        word-break: normal;
    }

    /* Anmerkungen */

    .event-notes-field {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 7px;
        width: 100%;
        min-width: 0;
        margin: 0;
    }

    .event-notes-field textarea,
    .event-form .event-notes-field textarea {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 145px;
        margin: 0;
        resize: vertical;
    }

    /* Datenschutz */

    .event-form .consent-label {
        display: grid;
        grid-template-columns: 20px minmax(0, 1fr);
        gap: 10px;
        align-items: start;
        width: 100%;
        min-width: 0;
        margin: 0;
    }

    .event-form .consent-label input[type="checkbox"] {
        appearance: auto;
        -webkit-appearance: checkbox;
        width: 18px;
        height: 18px;
        min-width: 18px;
        max-width: 18px;
        min-height: 18px;
        max-height: 18px;
        margin: 3px 0 0;
        padding: 0;
        accent-color: var(--accent);
    }

    .consent-label__text {
        display: block;
        min-width: 0;
        font-size: 0.92rem;
        line-height: 1.5;
        font-weight: 400;
    }

    .event-form button[type="submit"] {
        width: 100%;
        min-height: 48px;
        padding: 10px 16px;
        white-space: normal;
        text-align: center;
    }

    /* ----------------------------------------------------------
       Partnerwerbung
       ---------------------------------------------------------- */

    .partner-section {
        padding: 42px 0 52px;
    }

    .partner-section__header {
        max-width: 100%;
        margin-bottom: 22px;
    }

    .partner-section__header h2 {
        margin: 0;
        font-size: clamp(1.65rem, 8vw, 2.35rem);
        line-height: 1.08;
        overflow-wrap: normal;
        word-break: normal;
    }

    .partner-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    .partner-card {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto;
        width: 100%;
        min-width: 0;
        overflow: hidden;
        border-radius: 14px;
    }

    .partner-card__visual {
        position: relative;
        width: 100%;
        min-width: 0;
        min-height: 0;
        height: clamp(190px, 62vw, 280px);
        overflow: hidden;
    }

    .partner-card__visual img {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 0;
        object-fit: cover;
    }

    /* Piper: freigestelltes Flugzeug begrenzen, nicht auf Kartenhöhe strecken */

    .partner-card--piper .partner-card__visual {
        display: flex;
        align-items: center;
        justify-content: center;
        height: clamp(190px, 58vw, 250px);
        padding: 18px;
    }

    .partner-card--piper .partner-card__visual img {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 100%;
        min-height: 0;
        object-fit: contain;
    }

    /* RAS: Foto füllt den Bildbereich */

    .partner-card--ras .partner-card__visual img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .partner-card__content {
        min-width: 0;
        padding: 20px 18px;
    }

    .partner-card__content h3 {
        margin: 0 0 10px;
        font-size: 1.35rem;
        line-height: 1.2;
        overflow-wrap: normal;
        word-break: normal;
    }

    .partner-card__content p {
        margin: 0;
        line-height: 1.55;
    }

    .partner-card__link {
        margin-top: 14px;
    }

    .partner-section__notice {
        margin-top: 14px;
        text-align: left;
    }
}

@media (max-width: 360px) {

    .container,
    .page,
    .dynamic-hero,
    .home-hero__content,
    .feature-strip {
        width: calc(100% - 20px);
    }

    .home-hero {
        padding-top: 36px;
        padding-bottom: 44px;
    }

    .home-hero h1,
    .home-hero__title {
        font-size: 1.82rem;
        line-height: 1;
        letter-spacing: -0.045em;
    }

    .home-hero__association {
        font-size: 0.92em;
    }

    .home-hero p {
        font-size: 0.92rem;
    }

    .event-hero__inner {
        width: calc(100% - 20px);
    }

    .event-hero h1 {
        font-size: 2.25rem;
    }

    .event-form {
        padding: 18px 12px;
    }

    .programme-options label {
        font-size: 0.88rem;
    }

    .partner-card__content {
        padding: 18px 14px;
    }

    .partner-card--piper .partner-card__visual {
        height: 190px;
        padding: 14px;
    }
}

/* ==========================================================================
   Admin-Panel: Checkboxen und Mobile-Fix
   ========================================================================== */

/* Checkbox-Labels innerhalb des Adminbereichs */
.admin-shell label.checkbox-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;

    width: fit-content;
    max-width: 100%;
    margin: 8px 0;

    color: var(--navy);
    font-weight: 700;
    cursor: pointer;
}

/* Checkbox selbst vollständig von normalen Input-Regeln ausnehmen */
.admin-shell label.checkbox-row input[type="checkbox"] {
    appearance: auto;
    -webkit-appearance: checkbox;

    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 3px;
    background: transparent;
    box-shadow: none;

    accent-color: var(--accent);
    cursor: pointer;
}

.admin-shell label.checkbox-row span {
    display: block;
    min-width: 0;
    line-height: 1.4;
}

@media (max-width: 700px) {

    /* Nicht das gesamte Admin-Panel horizontal scrollen */
    .admin-shell {
        width: calc(100% - 28px);
        max-width: none;
        overflow-x: visible;
    }

    /* Nur Tabellen erhalten horizontalen Scroll */
    .admin-shell .table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .admin-shell .table table {
        min-width: 560px;
    }

    /* Hero und Aktionsbuttons untereinander */
    .admin-hero {
        display: flex;
        flex-direction: column;
        gap: 22px;
        padding: 20px;
    }

    .admin-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        gap: 10px;
    }

    .admin-hero-actions .button {
        width: 100%;
    }

    /* Alle Administrationskarten einspaltig */
    .admin-card-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .admin-card,
    .admin-panel.admin-card {
        width: 100%;
        min-width: 0;
        padding: 18px;
    }

    /* Inputs dürfen den Viewport nicht überschreiten */
    .admin-shell input:not([type="checkbox"]),
    .admin-shell select,
    .admin-shell textarea {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    /* Schaltflächen mobil gut bedienbar */
    .admin-shell form > button,
    .admin-shell form > .button {
        width: 100%;
        justify-self: stretch;
        text-align: center;
    }
}

@media (max-width: 390px) {
    .admin-shell {
        width: calc(100% - 20px);
    }

    .admin-hero,
    .admin-card,
    .admin-panel.admin-card {
        padding: 15px;
        border-radius: 16px;
    }

    .admin-card-header {
        gap: 10px;
    }

    .admin-card-header h2 {
        font-size: 1.3rem;
    }
}


/* =========================================================
   Trainingswochenende 2026 – Launch-Ergänzungen
   ========================================================= */

.event-price-box {
    width: min(100%, 720px);
    margin: 1.5rem 0 1.75rem;
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.event-price-box__heading {
    margin-bottom: 0.85rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.event-price-box__prices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.event-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-width: 0;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.94);
    color: #20242a;
}

.event-price__label {
    font-size: 0.92rem;
    font-weight: 650;
}

.event-price strong {
    flex: 0 0 auto;
    font-size: clamp(1.15rem, 2.6vw, 1.55rem);
    white-space: nowrap;
}

.event-price-box__note {
    margin: 0.9rem 0 0;
    font-size: 0.9rem;
    line-height: 1.55;
}

.event-fact__thanks {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    font-style: italic;
    opacity: 0.82;
}

.event-self-pay-notice {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(167, 35, 46, 0.25);
    border-left: 5px solid #a7232e;
    border-radius: 12px;
    background: rgba(190, 45, 57, 0.1);
    color: #522026;
    line-height: 1.55;
}

.event-self-pay-notice strong {
    color: #8f1e29;
}

.event-contact-card {
    display: grid;
    gap: 0.55rem;
    margin: 1.25rem 0;
    padding: 1.15rem;
    border: 1px solid rgba(31, 47, 63, 0.12);
    border-radius: 14px;
    background: #f7f8f9;
    font-style: normal;
}

.event-contact-card a {
    font-weight: 700;
    overflow-wrap: anywhere;
}

.event-additional-programme {
    margin-top: 1.5rem;
    padding: 1.15rem;
    border: 1px solid rgba(31, 47, 63, 0.12);
    border-radius: 14px;
    background: #f7f8f9;
}

.event-additional-programme h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.event-additional-programme p {
    margin-top: 0.4rem;
}

.event-additional-programme__condition {
    margin-bottom: 0;
    font-size: 0.88rem;
    font-weight: 700;
    opacity: 0.72;
}

.event-registration-prices {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.95rem;
    line-height: 1.5;
}

.programme-option__text small {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.78rem;
    font-weight: 500;
    line-height: 1.35;
    opacity: 0.7;
}

.event-speakers-section {
    overflow: hidden;
}

.event-section-heading {
    max-width: 760px;
    margin-bottom: 2rem;
}

.event-section-heading h2 {
    margin-bottom: 0.75rem;
}

.event-speakers {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.event-speaker {
    overflow: hidden;
    min-width: 0;
    border: 1px solid rgba(31, 47, 63, 0.12);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 14px 35px rgba(25, 37, 48, 0.08);
}

.event-speaker__image {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #e8ebed;
}

.event-speaker__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
}

.event-speaker__image--placeholder {
    display: grid;
    place-items: center;
    background:
        linear-gradient(
            145deg,
            rgba(120, 55, 62, 0.92),
            rgba(66, 32, 38, 0.96)
        );
}

.event-speaker__image--placeholder span {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #ffffff;
}

.event-speaker__content {
    padding: 1.1rem;
}

.event-speaker__content h3 {
    margin: 0 0 0.3rem;
    font-size: 1.15rem;
}

.event-speaker__role,
.speaker-role {
    font-size: 0.84rem;
    font-weight: 750;
    line-height: 1.4;
    color: #7d2831;
}

.event-speaker__content p:last-child {
    margin-bottom: 0;
    font-size: 0.91rem;
    line-height: 1.55;
}

/* Tablets */
@media (max-width: 1050px) {
    .event-speakers {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Smartphones */
@media (max-width: 680px) {
    .event-price-box {
        margin-top: 1.1rem;
        padding: 1rem;
        border-radius: 15px;
    }

    .event-price-box__prices {
        grid-template-columns: 1fr;
    }

    .event-price {
        padding: 0.85rem 0.9rem;
    }

    .event-price-box__note {
        font-size: 0.84rem;
    }

    .event-speakers {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .event-speaker {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        border-radius: 14px;
    }

    .event-speaker__image {
        height: 100%;
        min-height: 165px;
        aspect-ratio: auto;
    }

    .event-speaker__content {
        padding: 0.95rem;
    }

    .event-speaker__content h3 {
        font-size: 1.05rem;
    }

    .event-self-pay-notice {
        padding: 0.9rem;
        border-left-width: 4px;
    }
}

/* Sehr kleine Geräte */
@media (max-width: 420px) {
    .event-speaker {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .event-speaker__content {
        padding: 0.8rem;
    }

    .event-speaker__content p:last-child {
        font-size: 0.84rem;
    }
}


/* =========================================================
   Verein: Vorstand und Satzung
   ========================================================= */

.verein-heading {
    max-width: 760px;
    margin-bottom: 2rem;
}

.verein-heading h2 {
    margin-bottom: 0.75rem;
}

.verein-heading p:last-child {
    margin-bottom: 0;
}

.board-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.board-member {
    overflow: hidden;
    min-width: 0;
    border: 1px solid rgba(31, 47, 63, 0.12);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(25, 37, 48, 0.08);
}

.board-member__monogram {
    display: grid;
    place-items: center;
    min-height: 155px;
    background:
        linear-gradient(
            145deg,
            rgba(126, 52, 61, 0.96),
            rgba(65, 30, 36, 0.98)
        );
    color: #ffffff;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: 0.06em;
}

.board-member--president .board-member__monogram {
    background:
        linear-gradient(
            145deg,
            rgba(92, 37, 44, 0.98),
            rgba(41, 22, 26, 1)
        );
}

.board-member__content {
    padding: 1.3rem;
}

.board-member__position {
    margin: 0 0 0.45rem;
    color: #8f2732;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.45;
    text-transform: uppercase;
}

.board-member__content h3 {
    margin: 0 0 0.75rem;
    font-size: 1.25rem;
}

.board-member__content p:last-child {
    margin-bottom: 0;
    font-size: 0.94rem;
    line-height: 1.6;
}

.verein-board-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding: 1.1rem 1.25rem;
    border: 1px solid rgba(31, 47, 63, 0.11);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.65);
}

.verein-board-contact p {
    margin: 0;
}

.statute-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: clamp(1.4rem, 3vw, 2.2rem);
    border: 1px solid rgba(31, 47, 63, 0.12);
    border-radius: 20px;
    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 1),
            rgba(247, 244, 241, 1)
        );
    box-shadow: 0 18px 45px rgba(25, 37, 48, 0.07);
}

.statute-preview__content {
    max-width: 720px;
}

.statute-preview__content h2 {
    margin-bottom: 0.7rem;
}

.statute-preview__content p {
    margin-top: 0.5rem;
}

.statute-preview__note {
    font-size: 0.88rem;
    opacity: 0.7;
}

.statute-preview__action {
    flex: 0 0 auto;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 2rem;
    font-size: 0.88rem;
}

.page-breadcrumb a {
    font-weight: 700;
}

.statute-hero h1 {
    max-width: 900px;
}

.statute-hero__lead {
    max-width: 760px;
    font-size: 1.08rem;
    line-height: 1.65;
}

.statute-original-note {
    max-width: 820px;
    margin-top: 1.5rem;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(145, 45, 55, 0.2);
    border-left: 5px solid #8f2732;
    border-radius: 12px;
    background: rgba(145, 45, 55, 0.07);
}

.statute-original-note strong {
    display: block;
    margin-bottom: 0.3rem;
    color: #7c222c;
}

.statute-original-note p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
}

.statute-layout {
    display: grid;
    grid-template-columns: minmax(210px, 280px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(1.5rem, 4vw, 3.5rem);
}

.statute-navigation {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    padding: 1.1rem;
    border: 1px solid rgba(31, 47, 63, 0.11);
    border-radius: 15px;
    background: #ffffff;
}

.statute-navigation__heading {
    margin: 0 0 0.8rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.statute-navigation nav {
    display: grid;
    gap: 0.15rem;
}

.statute-navigation a {
    display: block;
    padding: 0.48rem 0.55rem;
    border-radius: 7px;
    color: inherit;
    font-size: 0.78rem;
    line-height: 1.35;
    text-decoration: none;
}

.statute-navigation a:hover,
.statute-navigation a:focus-visible {
    background: rgba(143, 39, 50, 0.08);
    color: #7c222c;
}

.statute-document {
    min-width: 0;
    padding: clamp(1.3rem, 4vw, 3rem);
    border: 1px solid rgba(31, 47, 63, 0.11);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 18px 50px rgba(25, 37, 48, 0.07);
}

.statute-document__header {
    padding-bottom: 1.2rem;
    border-bottom: 2px solid rgba(143, 39, 50, 0.18);
}

.statute-document__header p {
    margin: 0;
    color: #7c222c;
    font-size: 1.1rem;
    font-weight: 800;
}

.statute-paragraph {
    scroll-margin-top: 110px;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(31, 47, 63, 0.1);
}

.statute-paragraph h2 {
    margin: 0 0 1rem;
    color: #20262d;
    font-size: clamp(1.2rem, 2.5vw, 1.55rem);
}

.statute-paragraph h3 {
    margin: 1.3rem 0 0.5rem;
    font-size: 1.02rem;
}

.statute-paragraph p,
.statute-paragraph li {
    font-size: 0.97rem;
    line-height: 1.75;
}

.statute-paragraph p {
    margin: 0.7rem 0;
}

.statute-paragraph ul {
    margin: 1rem 0;
    padding-left: 1.4rem;
}

.statute-paragraph li + li {
    margin-top: 0.5rem;
}

.statute-fees {
    margin: 1rem 0;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background: #f4f5f6;
}

.statute-fees p {
    margin: 0.35rem 0;
}

.statute-signatures {
    padding-top: 2rem;
}

.statute-signatures ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 1.5rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.statute-signatures li {
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgba(31, 47, 63, 0.11);
}

.statute-document__back {
    margin-top: 2rem;
}

/* Tablets */
@media (max-width: 960px) {
    .board-grid {
        grid-template-columns: 1fr;
    }

    .board-member {
        display: grid;
        grid-template-columns: 150px minmax(0, 1fr);
    }

    .board-member__monogram {
        min-height: 100%;
    }

    .statute-layout {
        grid-template-columns: 1fr;
    }

    .statute-navigation {
        position: static;
        max-height: none;
    }

    .statute-navigation nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Smartphones */
@media (max-width: 680px) {
    .board-member {
        grid-template-columns: 95px minmax(0, 1fr);
    }

    .board-member__content {
        padding: 1rem;
    }

    .board-member__content h3 {
        font-size: 1.08rem;
    }

    .board-member__position {
        font-size: 0.7rem;
    }

    .verein-board-contact,
    .statute-preview {
        align-items: stretch;
        flex-direction: column;
    }

    .statute-preview__action .button,
    .verein-board-contact .button {
        width: 100%;
        text-align: center;
    }

    .statute-navigation nav {
        grid-template-columns: 1fr;
    }

    .statute-document {
        padding: 1.1rem;
        border-radius: 15px;
    }

    .statute-paragraph {
        padding: 1.5rem 0;
    }

    .statute-paragraph p,
    .statute-paragraph li {
        font-size: 0.92rem;
        line-height: 1.68;
    }

    .statute-signatures ul {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   MMIG46 Vorstand
   ========================================================= */

.club-board-section {
    overflow: hidden;
}

.club-board-header {
    max-width: 820px;
    margin-bottom: 2rem;
}

.club-board-header .eyebrow {
    margin-bottom: 0.6rem;
}

.club-board-header h2 {
    margin: 0 0 0.85rem;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}

.club-board-header > p:last-child {
    max-width: 780px;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
}

.club-board-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.club-board-card {
    display: flex;
    min-width: 0;
    min-height: 260px;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(30, 43, 58, 0.12);
    border-radius: 18px;
    background: #ffffff;
    box-shadow:
        0 14px 34px rgba(24, 34, 46, 0.06),
        0 2px 8px rgba(24, 34, 46, 0.04);
}

.club-board-card__top {
    min-height: 128px;
    padding: 1.35rem 1.4rem 1.25rem;
    border-bottom: 1px solid rgba(30, 43, 58, 0.08);
    background:
        linear-gradient(
            145deg,
            rgba(126, 54, 62, 0.98),
            rgba(80, 34, 41, 0.98)
        );
    color: #ffffff;
}

.club-board-card__role {
    margin: 0 0 0.65rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    line-height: 1.4;
    text-transform: uppercase;
}

.club-board-card__top h3 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    line-height: 1.3;
}

.club-board-card__body {
    display: flex;
    flex: 1;
    padding: 1.3rem 1.4rem 1.45rem;
}

.club-board-card__body p {
    margin: 0;
    color: #35404c;
    font-size: 0.96rem;
    line-height: 1.65;
}

.club-board-contact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 1.5rem;
    padding: 1.4rem 1.5rem;
    border: 1px solid rgba(30, 43, 58, 0.1);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
}

.club-board-contact h3 {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
}

.club-board-contact p {
    margin: 0;
    line-height: 1.55;
}

.club-board-contact .button {
    flex: 0 0 auto;
    white-space: nowrap;
}

/* Tablet */

@media (max-width: 950px) {
    .club-board-grid {
        grid-template-columns: 1fr;
    }

    .club-board-card {
        min-height: auto;
    }

    .club-board-card__top {
        min-height: auto;
    }
}

/* Mobil */

@media (max-width: 680px) {
    .club-board-header {
        margin-bottom: 1.4rem;
    }

    .club-board-header h2 {
        font-size: 2rem;
    }

    .club-board-header > p:last-child {
        font-size: 0.98rem;
    }

    .club-board-grid {
        gap: 1rem;
    }

    .club-board-card {
        border-radius: 14px;
    }

    .club-board-card__top {
        padding: 1.1rem;
    }

    .club-board-card__body {
        padding: 1.1rem;
    }

    .club-board-contact {
        align-items: stretch;
        flex-direction: column;
        gap: 1rem;
        padding: 1.15rem;
    }

    .club-board-contact .button {
        width: 100%;
        text-align: center;
    }
}