/* BerninaFromMilan.com — style.css
 * Mobile-first. Klassen-Referenz: components.md (erst dort eintragen, dann verwenden).
 * Komponenten, die auf farbigem Grund stehen können, setzen ihre Textfarben selbst.
 */

/* ─── Tokens ──────────────────────────────────────────────────────────────── */
:root {
    --c-ink: #0f2a3d;
    --c-ink-2: #45596a;
    --c-muted: #6b7c89;
    --c-red: #c8102e;
    --c-red-dark: #a00c24;
    --c-cream: #f7f3ec;
    --c-line: #e4dfd5;
    --c-bg: #ffffff;
    --c-green: #1f7a4d;
    --c-amber: #9a5a06;
    --c-amber-bg: #fff6e6;
    --c-blue-bg: #eaf2f8;

    --r-s: 8px;
    --r-m: 14px;
    --shadow: 0 1px 2px rgba(15, 42, 61, .06), 0 6px 20px rgba(15, 42, 61, .07);

    --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 72px;

    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --header-h: 64px;
    --sticky-h: 68px;
}

/* ─── Base ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.55;
    color: var(--c-ink);
    background: var(--c-bg);
    padding-bottom: calc(var(--sticky-h) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-red); text-underline-offset: 2px; }
a:hover { color: var(--c-red-dark); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 var(--s-3); }
p { margin: 0 0 var(--s-4); }
button, select { font: inherit; }
:focus-visible { outline: 3px solid #f5b400; outline-offset: 2px; }

.bfm-container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--s-4); }
.bfm-container--narrow { max-width: 820px; }
@media (min-width: 700px) { .bfm-container { padding: 0 var(--s-5); } }

.bfm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bfm-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: #fff; color: var(--c-ink); padding: 8px 12px; border-radius: var(--r-s); }
.bfm-skip:focus { left: 8px; }
.bfm-muted { color: var(--c-muted); }

/* ─── Buttons ─────────────────────────────────────────────────────────────── */
.bfm-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 44px; padding: 10px 18px;
    border-radius: 999px; border: 2px solid transparent;
    font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; text-align: center;
    cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.bfm-btn--primary { background: var(--c-red); color: #fff; }
.bfm-btn--primary:hover { background: var(--c-red-dark); color: #fff; }
.bfm-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .8); }
.bfm-btn--ghost:hover { background: #fff; color: var(--c-ink); }
.bfm-btn--lg { min-height: 52px; padding: 12px 24px; font-size: 17px; }
.bfm-btn--block { display: flex; width: 100%; }

/* ─── Header ──────────────────────────────────────────────────────────────── */
.bfm-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--c-line);
    backdrop-filter: saturate(1.4) blur(6px);
}
.bfm-header__inner { display: flex; align-items: center; gap: var(--s-4); height: var(--header-h); }
.bfm-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-ink); margin-right: auto; }
.bfm-logo:hover { color: var(--c-ink); }
.bfm-logo__img { height: 44px; width: auto; }
@media (min-width: 700px) { .bfm-logo__img { height: 52px; } }

.bfm-burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; cursor: pointer;
}
.bfm-burger__bar { display: block; height: 2px; background: var(--c-ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.bfm-burger[aria-expanded="true"] .bfm-burger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bfm-burger[aria-expanded="true"] .bfm-burger__bar:nth-child(2) { opacity: 0; }
.bfm-burger[aria-expanded="true"] .bfm-burger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.bfm-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: #fff; border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow);
    padding: var(--s-3) var(--s-4) var(--s-5);
}
.bfm-nav.is-open { display: block; }
.bfm-nav__list { list-style: none; margin: 0; padding: 0; }
.bfm-nav__link { display: block; padding: 12px 4px; color: var(--c-ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--c-line); }
.bfm-nav__link:hover { color: var(--c-red); }
.bfm-lang { display: block; margin-top: var(--s-4); }
.bfm-lang__select { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--c-line); border-radius: var(--r-s); background: #fff; color: var(--c-ink); }

@media (min-width: 960px) {
    .bfm-burger { display: none; }
    .bfm-nav { display: flex; align-items: center; gap: var(--s-4); position: static; padding: 0; border: 0; box-shadow: none; background: transparent; }
    .bfm-nav__list { display: flex; gap: var(--s-1); }
    .bfm-nav__link { border: 0; padding: 8px 12px; border-radius: 999px; font-size: 15px; }
    .bfm-nav__link:hover { background: var(--c-cream); color: var(--c-ink); }
    .bfm-lang { margin: 0; }
    .bfm-lang__select { width: auto; min-height: 38px; font-size: 14px; }
}

/* ─── Hero ────────────────────────────────────────────────────────────────── */
.bfm-hero { position: relative; color: #fff; background: var(--c-ink); overflow: hidden; }
.bfm-hero__media, .bfm-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.bfm-hero__media img { object-fit: cover; object-position: center 55%; }
.bfm-hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 28, 42, .45) 0%, rgba(10, 28, 42, .72) 70%, rgba(10, 28, 42, .85) 100%); }
.bfm-hero__inner { position: relative; padding-top: var(--s-7); padding-bottom: var(--s-7); }
@media (min-width: 900px) {
    .bfm-hero__shade { background: linear-gradient(90deg, rgba(10, 28, 42, .85) 0%, rgba(10, 28, 42, .6) 45%, rgba(10, 28, 42, .1) 100%); }
    .bfm-hero__inner { padding-top: 110px; padding-bottom: 110px; }
}
.bfm-eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-red); margin-bottom: var(--s-3); }
.bfm-eyebrow--light { color: #ffd2d8; }
.bfm-hero__h1 { font-size: clamp(32px, 6vw, 54px); font-weight: 800; letter-spacing: -.02em; max-width: 14ch; color: #fff; }
.bfm-hero__sub { font-size: clamp(17px, 2.2vw, 20px); max-width: 38ch; color: rgba(255, 255, 255, .92); }
.bfm-hero__facts { list-style: none; padding: 0; margin: var(--s-5) 0; display: grid; grid-template-columns: repeat(3, auto); gap: var(--s-5); justify-content: start; }
.bfm-hero__facts li { display: flex; flex-direction: column; }
.bfm-hero__facts strong { font-size: 22px; line-height: 1.1; color: #fff; }
.bfm-hero__facts span { font-size: 13px; color: rgba(255, 255, 255, .8); }
.bfm-hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); }
@media (max-width: 480px) {
    .bfm-hero__facts { gap: var(--s-4); }
    .bfm-hero__facts strong { font-size: 18px; }
    .bfm-hero__ctas .bfm-btn { flex: 1 1 100%; }
}

/* ─── Sections ────────────────────────────────────────────────────────────── */
.bfm-section { padding: var(--s-7) 0; }
.bfm-section--tight { padding: var(--s-5) 0 var(--s-7); }
.bfm-section--cream { background: var(--c-cream); }
.bfm-section--navy { background: var(--c-ink); color: #fff; }
.bfm-section--navy .bfm-h2, .bfm-section--navy .bfm-lead { color: #fff; }
@media (min-width: 900px) { .bfm-section { padding: var(--s-8) 0; } }
.bfm-h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; letter-spacing: -.015em; color: var(--c-ink); }
.bfm-h2--sm { font-size: clamp(22px, 2.8vw, 28px); }
.bfm-lead { font-size: 18px; color: var(--c-ink-2); max-width: 62ch; margin-bottom: var(--s-5); }
.bfm-note { font-size: 14px; color: var(--c-muted); margin: var(--s-3) 0 var(--s-5); }
.bfm-callout {
    margin: var(--s-5) 0 var(--s-3); padding: var(--s-4) var(--s-5);
    background: var(--c-amber-bg); color: #4a3405; border-left: 4px solid #e0a02a; border-radius: var(--r-s);
}

/* ─── Three facts ─────────────────────────────────────────────────────────── */
.bfm-facts3 { display: grid; gap: var(--s-4); }
@media (min-width: 800px) { .bfm-facts3 { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); } }
.bfm-fact { position: relative; padding: var(--s-5); padding-top: var(--s-6); border: 1px solid var(--c-line); border-radius: var(--r-m); background: #fff; color: var(--c-ink); }
.bfm-fact p { color: var(--c-ink-2); margin: 0; }
.bfm-fact__num { position: absolute; top: -16px; left: var(--s-5); width: 34px; height: 34px; border-radius: 50%; background: var(--c-red); color: #fff; font-weight: 800; display: grid; place-items: center; }
.bfm-fact__title { font-size: 19px; }

/* ─── Picks ───────────────────────────────────────────────────────────────── */
.bfm-picks { display: grid; gap: var(--s-4); }
@media (min-width: 700px) { .bfm-picks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .bfm-picks { grid-template-columns: repeat(3, 1fr); } }
.bfm-pick {
    display: flex; flex-direction: column; gap: 6px; padding: var(--s-5);
    background: #fff; color: var(--c-ink); text-decoration: none;
    border: 1px solid var(--c-line); border-radius: var(--r-m); box-shadow: var(--shadow);
    transition: transform .15s, border-color .15s;
}
.bfm-pick:hover { transform: translateY(-2px); border-color: var(--c-red); color: var(--c-ink); }
.bfm-pick--top { border: 2px solid var(--c-red); }
.bfm-pick__title { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c-red); }
.bfm-pick__tour { font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--c-ink); }
.bfm-pick__body { color: var(--c-ink-2); font-size: 15px; flex: 1; }
.bfm-pick__meta { display: flex; justify-content: space-between; font-size: 15px; color: var(--c-ink-2); padding-top: var(--s-2); border-top: 1px solid var(--c-line); }
.bfm-pick__meta strong { color: var(--c-ink); }

/* ─── Toolbar (filter + sort) ─────────────────────────────────────────────── */
.bfm-toolbar { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; justify-content: space-between; }
.bfm-chips { display: flex; gap: var(--s-2); overflow-x: auto; padding-bottom: 4px; margin: 0 calc(var(--s-4) * -1); padding-left: var(--s-4); padding-right: var(--s-4); scrollbar-width: none; }
.bfm-chips::-webkit-scrollbar { display: none; }
@media (min-width: 700px) { .bfm-chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; } }
.bfm-chip {
    flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
    min-height: 40px; padding: 6px 14px; border-radius: 999px;
    border: 1px solid var(--c-line); background: #fff; color: var(--c-ink); font-weight: 600; font-size: 15px; cursor: pointer;
}
.bfm-chip:hover { border-color: var(--c-ink); }
.bfm-chip.is-active { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }
.bfm-chip__n { font-size: 12px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: var(--c-cream); color: var(--c-ink-2); }
.bfm-chip.is-active .bfm-chip__n { background: rgba(255, 255, 255, .18); color: #fff; }
.bfm-sort { display: inline-flex; align-items: center; gap: var(--s-2); font-size: 15px; color: var(--c-ink-2); }
.bfm-sort select { min-height: 40px; padding: 6px 10px; border: 1px solid var(--c-line); border-radius: var(--r-s); background: #fff; color: var(--c-ink); }

/* ─── Tour card ───────────────────────────────────────────────────────────── */
.bfm-tours { display: grid; gap: var(--s-5); }
.bfm-tour {
    display: grid; grid-template-columns: 1fr;
    background: #fff; color: var(--c-ink);
    border: 1px solid var(--c-line); border-radius: var(--r-m); box-shadow: var(--shadow); overflow: hidden;
}
.bfm-tour[hidden] { display: none; }
.bfm-tour--top { border: 2px solid var(--c-red); }
@media (min-width: 900px) {
    .bfm-tour { grid-template-columns: 280px 1fr 230px; }
}
.bfm-tour__media { position: relative; background: var(--c-blue-bg); aspect-ratio: 3 / 2; }
@media (min-width: 900px) { .bfm-tour__media { aspect-ratio: auto; min-height: 100%; } }
.bfm-tour__media img { width: 100%; height: 100%; object-fit: cover; }
.bfm-tour__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.bfm-badge { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .02em; background: #fff; color: var(--c-ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.bfm-badge--top { background: var(--c-red); color: #fff; }
.bfm-badge--panorama { background: var(--c-ink); color: #fff; }
.bfm-tour__body { padding: var(--s-5); min-width: 0; }
.bfm-tour__title { font-size: 20px; margin-bottom: 4px; color: var(--c-ink); }
.bfm-tour__op { font-size: 14px; color: var(--c-muted); margin-bottom: var(--s-3); }
.bfm-tour__tagline { color: var(--c-ink-2); margin-bottom: var(--s-4); }

.bfm-facts { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3) var(--s-4); margin: 0 0 var(--s-4); }
@media (min-width: 600px) { .bfm-facts { grid-template-columns: repeat(4, 1fr); } }
.bfm-facts__item { min-width: 0; }
.bfm-facts__item--wide { grid-column: span 2; }
.bfm-facts dt { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--c-muted); }
.bfm-facts dd { margin: 2px 0 0; font-weight: 600; font-size: 15px; color: var(--c-ink); }
.bfm-facts__item--train-bex dd { color: var(--c-green); }
.bfm-facts__item--train-unclear dd { color: var(--c-amber); }

.bfm-tour__more { border-top: 1px solid var(--c-line); padding-top: var(--s-3); }
.bfm-tour__more summary { cursor: pointer; font-weight: 700; color: var(--c-red); list-style: none; display: flex; align-items: center; gap: 6px; min-height: 36px; }
.bfm-tour__more summary::-webkit-details-marker { display: none; }
.bfm-tour__more summary::after { content: "+"; font-size: 20px; line-height: 1; margin-left: 2px; }
.bfm-tour__more[open] summary::after { content: "–"; }
.bfm-tour__more-body { padding-top: var(--s-3); color: var(--c-ink); }
.bfm-tour__bestfor { font-size: 15px; color: var(--c-ink-2); }
.bfm-tour__h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .05em; color: var(--c-muted); margin: var(--s-4) 0 var(--s-2); }

.bfm-tour__buy {
    display: flex; flex-direction: column; justify-content: flex-end; gap: var(--s-3);
    padding: var(--s-4) var(--s-5) var(--s-5); background: var(--c-cream); color: var(--c-ink);
}
@media (min-width: 900px) { .bfm-tour__buy { border-left: 1px solid var(--c-line); padding: var(--s-5); justify-content: center; } }
.bfm-tour__rating { font-size: 15px; color: var(--c-ink); }
.bfm-stars { color: #e6a100; }
.bfm-tour__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; font-size: 14px; }
.bfm-tour__amount { font-size: 30px; font-weight: 800; color: var(--c-ink); line-height: 1; }
.bfm-empty { padding: var(--s-5); text-align: center; color: var(--c-muted); }

/* ─── Lists ───────────────────────────────────────────────────────────────── */
.bfm-list { list-style: none; margin: 0; padding: 0; }
.bfm-list li { position: relative; padding-left: 26px; margin-bottom: 6px; font-size: 15px; }
.bfm-list--check li::before { content: "✓"; position: absolute; left: 2px; top: 0; color: var(--c-green); font-weight: 800; }
.bfm-list--note li::before { content: "!"; position: absolute; left: 3px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: var(--c-amber-bg); color: var(--c-amber); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.bfm-list--dot li::before { content: ""; position: absolute; left: 6px; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .5; }
.bfm-section--navy .bfm-list--check li::before { color: #7fd6a8; }

/* ─── Table ───────────────────────────────────────────────────────────────── */
.bfm-tablewrap { overflow-x: auto; border: 1px solid var(--c-line); border-radius: var(--r-m); margin-top: var(--s-4); -webkit-overflow-scrolling: touch; }
.bfm-table { width: 100%; min-width: 860px; border-collapse: collapse; font-size: 15px; background: #fff; color: var(--c-ink); }
.bfm-table th, .bfm-table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.bfm-table thead th { background: var(--c-cream); font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--c-ink-2); white-space: nowrap; }
.bfm-table thead button { all: unset; cursor: pointer; font: inherit; color: inherit; }
.bfm-table thead button::after { content: " ↕"; opacity: .45; }
.bfm-table thead button[aria-sort="ascending"]::after { content: " ↑"; opacity: 1; }
.bfm-table thead button[aria-sort="descending"]::after { content: " ↓"; opacity: 1; }
.bfm-table tbody th { font-weight: 600; position: sticky; left: 0; background: #fff; min-width: 240px; }
.bfm-table tbody th a { color: var(--c-ink); text-decoration: none; }
.bfm-table tbody th a:hover { color: var(--c-red); text-decoration: underline; }
.bfm-table tbody tr:last-child th, .bfm-table tbody tr:last-child td { border-bottom: 0; }
.bfm-pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.bfm-pill--red { background: #fde8eb; color: var(--c-red-dark); }
.bfm-pill--bex { background: #e3f3ea; color: var(--c-green); }
.bfm-pill--unclear { background: var(--c-amber-bg); color: var(--c-amber); }

/* ─── Trains ──────────────────────────────────────────────────────────────── */
.bfm-trains { display: grid; gap: var(--s-4); }
@media (min-width: 760px) { .bfm-trains { grid-template-columns: 1fr 1fr; gap: var(--s-5); } }
.bfm-train { padding: var(--s-5); border-radius: var(--r-m); background: #fff; color: var(--c-ink); border-top: 6px solid var(--c-red); box-shadow: var(--shadow); }
.bfm-train--bex { border-top-color: var(--c-ink); }
.bfm-train__title { font-size: 22px; }
.bfm-train__sub { font-size: 14px; font-weight: 700; color: var(--c-muted); }

/* ─── Day ─────────────────────────────────────────────────────────────────── */
.bfm-days { display: grid; gap: var(--s-4); }
@media (min-width: 760px) { .bfm-days { grid-template-columns: 1fr 1fr; gap: var(--s-5); } }
.bfm-day { padding: var(--s-5); border: 1px solid var(--c-line); border-radius: var(--r-m); background: #fff; color: var(--c-ink); }
.bfm-day__title { font-size: 20px; }
.bfm-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; }
.bfm-steps li { counter-increment: s; position: relative; padding: 0 0 var(--s-4) 44px; color: var(--c-ink-2); }
.bfm-steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: var(--c-cream); color: var(--c-ink); font-weight: 800; display: grid; place-items: center; }
.bfm-steps li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 30px; bottom: 2px; width: 2px; background: var(--c-line); }

/* ─── DIY ─────────────────────────────────────────────────────────────────── */
.bfm-diy { list-style: none; margin: 0 0 var(--s-5); padding: 0; display: grid; gap: var(--s-4); counter-reset: d; }
@media (min-width: 800px) { .bfm-diy { grid-template-columns: repeat(3, 1fr); } }
.bfm-diy__step { counter-increment: d; padding: var(--s-5); border-radius: var(--r-m); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15); color: #fff; }
.bfm-diy__step p { margin: 0; color: rgba(255, 255, 255, .85); }
.bfm-diy__title { font-size: 18px; color: #fff; }
.bfm-diy__title::before { content: counter(d) ". "; color: #ff9aa9; }
.bfm-procon { display: grid; gap: var(--s-5); margin-bottom: var(--s-5); }
@media (min-width: 760px) { .bfm-procon { grid-template-columns: 1fr 1fr; } }
.bfm-procon__h { font-size: 18px; color: #fff; }
.bfm-section--navy .bfm-list li { color: rgba(255, 255, 255, .9); }
.bfm-ticket {
    display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; justify-content: space-between;
    padding: var(--s-5); border-radius: var(--r-m); background: #fff; color: var(--c-ink);
}
.bfm-ticket__info { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 320px; }
.bfm-ticket__name { font-size: 18px; color: var(--c-ink); }
.bfm-ticket__note { font-size: 15px; color: var(--c-ink-2); }
.bfm-ticket__meta { font-size: 15px; color: var(--c-ink); }
.bfm-ticket__ctas { display: flex; flex-direction: column; gap: var(--s-2); align-items: stretch; flex: 1 1 240px; max-width: 360px; }
.bfm-link-light { font-size: 14px; color: var(--c-ink-2); text-align: center; }

/* ─── FAQ ─────────────────────────────────────────────────────────────────── */
.bfm-faq__item { border-bottom: 1px solid var(--c-line); }
.bfm-faq__item summary { cursor: pointer; list-style: none; padding: var(--s-4) 36px var(--s-4) 0; position: relative; font-weight: 700; font-size: 18px; color: var(--c-ink); }
.bfm-faq__item summary::-webkit-details-marker { display: none; }
.bfm-faq__item summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--c-red); }
.bfm-faq__item[open] summary::after { content: "–"; }
.bfm-faq__item p { color: var(--c-ink-2); padding-bottom: var(--s-3); }

/* ─── Closing ─────────────────────────────────────────────────────────────── */
.bfm-closing { background: linear-gradient(135deg, #12324a 0%, #0b2233 100%); color: #fff; padding: var(--s-8) 0; text-align: center; }
.bfm-closing__inner { max-width: 760px; }
.bfm-closing__h2 { font-size: clamp(26px, 3.6vw, 36px); color: #fff; }
.bfm-closing__body { color: rgba(255, 255, 255, .88); font-size: 18px; }
.bfm-closing__tour { font-weight: 700; color: #fff; }
.bfm-closing__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; margin-top: var(--s-5); }

/* ─── Sticky bar (mobil) ──────────────────────────────────────────────────── */
.bfm-sticky {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: flex !important; flex-direction: row !important; flex-wrap: nowrap; align-items: center; gap: var(--s-3);
    min-height: var(--sticky-h);
    padding: var(--s-2) var(--s-4) calc(var(--s-2) + env(safe-area-inset-bottom, 0px));
    background: #fff; color: var(--c-ink); border-top: 1px solid var(--c-line); box-shadow: 0 -4px 16px rgba(15, 42, 61, .1);
    transform: translateY(0); transition: transform .2s;
}
.bfm-sticky.is-hidden { transform: translateY(110%); }
.bfm-sticky__info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.bfm-sticky__label { font-size: 13px; color: var(--c-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bfm-sticky__price { font-weight: 800; font-size: 16px; color: var(--c-ink); white-space: nowrap; }
.bfm-sticky__cta { flex: 0 0 auto; }
@media (min-width: 900px) { .bfm-sticky { display: none !important; } }

/* ─── Footer ──────────────────────────────────────────────────────────────── */
.bfm-footer { background: #0b2233; color: rgba(255, 255, 255, .8); padding: var(--s-7) 0 var(--s-5); font-size: 15px; }
.bfm-footer a { color: #fff; }
.bfm-footer__grid { display: grid; gap: var(--s-5); }
@media (min-width: 800px) { .bfm-footer__grid { grid-template-columns: 2fr 1fr 1fr; } }
.bfm-footer__brand { font-weight: 800; color: #fff; font-size: 18px; margin-bottom: var(--s-2); }
.bfm-footer__text { max-width: 48ch; }
.bfm-footer__h { font-weight: 700; color: #fff; margin-bottom: var(--s-2); }
.bfm-footer__list { list-style: none; margin: 0; padding: 0; }
.bfm-footer__list li { margin-bottom: 6px; }
.bfm-footer__copy { margin: var(--s-5) 0 0; padding-top: var(--s-4); border-top: 1px solid rgba(255, 255, 255, .15); font-size: 13px; color: rgba(255, 255, 255, .6); }

/* ─── 404 ─────────────────────────────────────────────────────────────────── */
.bfm-err { min-height: 50vh; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; }
}

/* ─── Rechtstexte ─────────────────────────────────────────────────────────── */
.bfm-legal h1 { font-size: 32px; }
.bfm-legal h2 { font-size: 22px; margin-top: var(--s-6); }
.bfm-legal h3 { font-size: 18px; margin-top: var(--s-5); }
.bfm-legal p, .bfm-legal li { color: var(--c-ink-2); }

/* ─── Tour-Detailseite ────────────────────────────────────────────────────── */
.bfm-tour__title a { color: inherit; text-decoration: none; }
.bfm-tour__title a:hover { color: var(--c-red); text-decoration: underline; }
.bfm-tour__details { text-align: center; font-size: 15px; font-weight: 700; }
.bfm-btn--outline { background: transparent; color: var(--c-ink); border-color: var(--c-ink); }
.bfm-btn--outline:hover { background: var(--c-ink); color: #fff; }

.bfm-crumbs { font-size: 14px; color: var(--c-muted); padding: var(--s-3) 0; border-bottom: 1px solid var(--c-line); }
.bfm-crumbs .bfm-container { display: flex; flex-wrap: wrap; gap: 6px; }
.bfm-crumbs a { color: var(--c-ink-2); }

.bfm-tourhead { padding: var(--s-5) 0; }
.bfm-tourhead__grid { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .bfm-tourhead__grid { grid-template-columns: 1fr 1fr; align-items: start; gap: var(--s-6); } }
.bfm-tourhead__media { border-radius: var(--r-m); overflow: hidden; background: var(--c-blue-bg); aspect-ratio: 3 / 2; }
.bfm-tourhead__media img { width: 100%; height: 100%; object-fit: cover; }
.bfm-tourhead__h1 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -.015em; margin-bottom: 4px; }
.bfm-tourhead__rating { font-size: 16px; margin-bottom: var(--s-3); }
.bfm-tourhead__tagline { font-size: 18px; color: var(--c-ink-2); }

.bfm-layout { display: grid; gap: var(--s-6); padding-bottom: var(--s-7); }
@media (min-width: 960px) { .bfm-layout { grid-template-columns: minmax(0, 1fr) 320px; align-items: start; } }
.bfm-article { min-width: 0; }
.bfm-block { padding: var(--s-5) 0; border-top: 1px solid var(--c-line); }
.bfm-block:first-child { border-top: 0; }
.bfm-block p { color: var(--c-ink-2); }
.bfm-bestfor { padding: var(--s-3) var(--s-4); background: var(--c-blue-bg); border-radius: var(--r-s); color: var(--c-ink) !important; }

.bfm-itin { list-style: none; margin: 0 0 var(--s-3); padding: 0; }
.bfm-itin__step { display: grid; grid-template-columns: 110px 1fr; gap: var(--s-3); padding: 10px 0; border-bottom: 1px dashed var(--c-line); }
.bfm-itin__dur { font-weight: 700; color: var(--c-red); font-size: 15px; white-space: nowrap; }
.bfm-itin__text { color: var(--c-ink); }
@media (max-width: 480px) { .bfm-itin__step { grid-template-columns: 1fr; gap: 2px; } }

.bfm-incl { display: grid; gap: var(--s-5); }
@media (min-width: 700px) { .bfm-incl { grid-template-columns: 1fr 1fr; } }
.bfm-list--cross li::before { content: "✕"; position: absolute; left: 3px; top: 0; color: var(--c-muted); font-weight: 700; }

.bfm-buybox {
    padding: var(--s-5); border: 2px solid var(--c-ink); border-radius: var(--r-m); background: #fff; color: var(--c-ink);
    display: flex; flex-direction: column; gap: var(--s-3);
}
@media (min-width: 960px) { .bfm-buybox { position: sticky; top: calc(var(--header-h) + 16px); margin-top: var(--s-5); } }
.bfm-buybox__h { font-weight: 800; font-size: 18px; margin: 0; }
.bfm-buybox .bfm-note { margin: 0; }
.bfm-buybox__back { font-size: 15px; font-weight: 600; }

/* ─── Ratgeber ────────────────────────────────────────────────────────────── */
.bfm-pagehead { padding: var(--s-6) 0 var(--s-3); }
.bfm-pagehead__h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -.02em; }
.bfm-guide { padding-bottom: var(--s-7); }
.bfm-guide p { color: var(--c-ink-2); }
.bfm-answer { margin: 0 0 var(--s-4); padding: var(--s-4) var(--s-5); border-left: 5px solid var(--c-red); background: var(--c-cream); border-radius: var(--r-s); }
.bfm-answer__h { font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-red); margin-bottom: 4px; }
.bfm-answer p:last-child { margin: 0; color: var(--c-ink); font-size: 18px; }
.bfm-table--compact { min-width: 520px; }
.bfm-table--compact tbody th { min-width: 140px; position: static; }
.bfm-linklist { list-style: none; margin: 0 0 var(--s-4); padding: 0; }
.bfm-linklist li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; padding: 10px 0; border-bottom: 1px solid var(--c-line); }
.bfm-linklist a { font-weight: 600; }
.bfm-steps--guide li { color: var(--c-ink-2); }
.bfm-steps__title { display: block; color: var(--c-ink); }
.bfm-ticket--light { border: 1px solid var(--c-line); background: var(--c-cream); }
.bfm-guide__ctas { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.bfm-callout a { color: var(--c-red-dark); font-weight: 700; }
@media (max-width: 699px) { .bfm-hero__media img { object-position: center 85%; } }
