/* Freundeskreis Isartalbahn – Veranstaltungen (Gestaltung wie die Hauptwebsite) */
@font-face { font-family: "Sora"; src: url("fonts/sora-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Sora"; src: url("fonts/sora-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #3a3a39; --ink-deep: #2c2c2b;
  --gold: #c5a66d; --gold-deep: #7a602e; --gold-soft: #efe6d4;
  --gold-button: #a9884e; --gold-button-hover: #957641;
  --k10: #ececec; --k30: #b2b2b2; --paper: #f7f6f2; --white: #fff; --solid: #3a3a39; --solid-hover: #222221;
  --muted: #5f5f5d; --line: #e0ded8;
  --field-bg: #fcfcfa; --field-ink: #2b2b2a; --field-border: #b2b2b2; --field-placeholder: #8a8984; --field-disabled: #ececec; --field-focus: rgba(197, 166, 109, .3);
  --ok: #3f6b34; --ok-soft: #e7f1e4; --warn: #8a5a12; --warn-soft: #fbf0dc; --bad: #a2402d; --bad-soft: #f8e6e2;
  --radius: 20px; --radius-s: 12px;
  --shadow: 0 22px 60px rgba(34, 34, 30, .12); --shadow-s: 0 8px 28px rgba(34, 34, 30, .06);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Sora", Arial, sans-serif; font-size: 1rem; line-height: 1.65; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-weight: 700; line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(1.7rem, 4.4vw, 3.4rem); text-transform: uppercase; letter-spacing: -.04em; overflow-wrap: break-word; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(680px, 100% - 40px); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; padding: 10px 16px; background: var(--solid); color: #fff; border-radius: 8px; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 38px; height: 2px; background: var(--gold); flex: none; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 600px; }

/* Knöpfe */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border: 1px solid var(--gold-button); border-radius: 999px; background: var(--gold-button); color: #fff; font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; }
.btn:hover { background: var(--gold-button-hover); border-color: var(--gold-button-hover); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(110, 88, 47, .2); }
.btn-ghost { background: var(--solid); color: #fff; border-color: var(--solid); }
.btn-ghost:hover { background: var(--solid-hover); border-color: var(--solid-hover); }
.btn-dark { background: var(--solid); border-color: var(--solid); }
.btn-dark:hover { background: var(--solid-hover); border-color: var(--solid-hover); }
.btn-block { width: 100%; }

/* Kopf – wie auf der Hauptwebsite */
.top { position: sticky; top: 0; z-index: 30; background: rgba(247, 246, 242, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 88px; }
.brand { display: flex; align-items: center; text-decoration: none; min-width: 0; }
.brand img { width: 168px; height: auto; }
.top-nav { display: flex; gap: 30px; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.top-nav a { text-decoration: none; padding: 8px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.top-nav a:hover, .top-nav a[aria-current] { border-color: var(--gold); }
.nav-toggle { display: none; align-items: center; gap: 10px; padding: 8px 4px; border: 0; background: none; font: inherit; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.nav-burger { position: relative; width: 22px; height: 14px; }
.nav-burger::before, .nav-burger::after, .nav-burger span { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform .25s, opacity .25s; }
.nav-burger::before { top: 0; } .nav-burger span { top: 6px; } .nav-burger::after { bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-burger::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-burger::after { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle[aria-expanded="true"] .nav-burger span { opacity: 0; }

/* Einleitung */
.intro { padding: 64px 0 56px; background: linear-gradient(135deg, var(--paper), #ece6d9); border-bottom: 1px solid var(--line); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 56px; align-items: center; }
.next-card { display: grid; gap: 16px; padding: 24px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; transition: transform .3s var(--ease); }
.next-card:hover { transform: translateY(-3px); }
.next-label { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.next-row { display: flex; gap: 18px; align-items: center; }
.next-text { display: grid; gap: 2px; min-width: 0; }
.next-type { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.next-text strong { font-size: 1.15rem; line-height: 1.25; }
.next-text span:last-child { font-size: .88rem; color: var(--muted); }
.next-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--line); }
.arrow { font-size: 1.3rem; color: var(--gold-deep); }

/* Datumskachel */
.tile { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; flex: none; width: 82px; height: 88px; border: 2px solid var(--ink); border-radius: 14px; background: var(--white); line-height: 1.05; text-align: center; }
.tile-top { font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.tile-big { font-size: 1.9rem; font-weight: 700; letter-spacing: -.04em; }
.tile-bottom { font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); }
.tile-mid { font-size: 1rem; font-weight: 700; margin-top: 4px; }
.tile-gold { background: var(--gold); border-color: var(--gold); }
.tile-gold .tile-top, .tile-gold .tile-bottom { color: var(--ink); }
.tile-tba { border-style: dashed; }

/* Status */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge-ok { background: var(--ok-soft); color: var(--ok); }
.badge-low, .badge-wait { background: var(--warn-soft); color: var(--warn); }
.badge-full, .badge-cancel { background: var(--bad-soft); color: var(--bad); }
.badge-free { background: var(--gold-soft); color: var(--gold-deep); }
.badge-past { background: var(--k10); color: var(--muted); }

/* Liste */
.section { padding: 64px 0; }
.section-white { background: var(--white); border-top: 1px solid var(--line); }
.list-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin-bottom: 28px; }
.list-head h2 { margin: 0; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 8px 16px; border: 1px solid var(--k30); border-radius: 999px; background: var(--white); font: inherit; font-size: .86rem; cursor: pointer; }
.chip:hover { border-color: var(--gold); }
.chip.is-on { background: var(--solid); border-color: var(--solid); color: #fff; }
.events { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ev-link { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 24px; align-items: center; padding: 18px 22px 18px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.ev-link:hover { transform: translateY(-3px); box-shadow: var(--shadow-s); border-color: var(--gold); }
.ev-body { display: grid; gap: 4px; min-width: 0; }
.ev-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.ev-type { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); }
.ev-title { font-size: 1.22rem; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
.ev-when { font-size: .92rem; }
.ev-place { font-size: .86rem; color: var(--muted); }
.ev-img { width: 150px; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 10px; background: var(--k10); }
.ev-img img { width: 100%; height: 100%; object-fit: cover; }
.ev-go { font-size: 1.4rem; color: var(--gold-deep); transition: transform .25s; }
.ev-link:hover .ev-go { transform: translateX(4px); }
.is-cancelled .ev-title { text-decoration: line-through; text-decoration-color: var(--bad); }
.empty, .filter-empty { padding: 32px; background: var(--white); border: 1px dashed var(--k30); border-radius: var(--radius); text-align: center; }
.past { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.past li { display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.past-date { font-size: .84rem; color: var(--muted); }
.past-title { font-weight: 700; }
.past-type { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.past-link { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-deep); }

/* Termin */
.preview-bar { margin: 0; padding: 10px 20px; background: var(--warn-soft); color: var(--warn); text-align: center; font-weight: 700; font-size: .88rem; }
.ev-hero { padding: 40px 0 48px; background: linear-gradient(135deg, var(--paper), #ece6d9); border-bottom: 1px solid var(--line); }
.ev-hero-grid { display: grid; gap: 40px; align-items: center; }
.ev-hero.has-image .ev-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.back { display: inline-flex; gap: 8px; margin-bottom: 22px; font-size: .82rem; font-weight: 700; text-decoration: none; color: var(--muted); }
.back:hover { color: var(--ink); }
.ev-hero h1 { font-size: clamp(1.6rem, 3.6vw, 2.9rem); }
.cancel-tag { display: inline-block; padding: 2px 12px; margin-right: 6px; border-radius: 8px; background: var(--bad); color: #fff; font-size: .5em; vertical-align: middle; letter-spacing: .02em; }
.ev-photo { margin: 0; padding: 10px 10px 0; background: var(--white); border-radius: 4px; box-shadow: var(--shadow); transform: rotate(1deg); }
.ev-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.ev-photo::after { content: ""; display: block; height: 14px; }
.ev-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 56px; align-items: start; padding: 48px 0 72px; }
.facts { display: grid; gap: 0; margin: 0 0 32px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); padding-top: 3px; }
.facts dd { margin: 0; font-weight: 700; }
.facts .muted { font-weight: 400; }
.maplinks { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 6px; font-size: .8rem; }
.maplinks a { color: var(--gold-deep); }
.prose { font-size: 1.03rem; max-width: 680px; }
.prose a { color: var(--gold-deep); }
.ev-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.ev-side { position: sticky; top: 24px; }
.reg { padding: 28px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow); }
.reg h2 { margin-bottom: 6px; }
.reg-sub { color: var(--muted); font-size: .92rem; }
.reg-done { text-align: center; }
.reg-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 4px auto 16px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); font-size: 1.8rem; font-weight: 700; }
.is-wait .reg-icon { background: var(--warn-soft); color: var(--warn); }
.reg-info p:last-child { margin: 0; }

/* Formular */
.form label { display: block; margin: 16px 0 6px; font-weight: 700; font-size: .9rem; }
.form label small { font-weight: 400; color: var(--muted); }
.form input:not([type="checkbox"]):not([type="radio"]), .form select, .form textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--field-border); border-radius: 10px; background: var(--field-bg); font: inherit; font-size: 1rem; color: var(--field-ink); }
.form ::placeholder { color: var(--field-placeholder); opacity: 1; }
.form textarea { min-height: 90px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px var(--field-focus); }
.row2 { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 0 14px; }
.form .check { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0 20px; font-weight: 400; font-size: .82rem; color: var(--muted); }
.form .check input { width: 22px; height: 22px; margin: 1px 0 0; flex: none; accent-color: var(--ink); }
.form-note { margin: 12px 0 0; font-size: .76rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { margin: 14px 0; padding: 14px 16px; border-radius: 10px; background: var(--bad-soft); border-left: 4px solid var(--bad); font-size: .9rem; }
.alert ul { margin: 6px 0 0; padding-left: 18px; }
.alert.ok { background: var(--ok-soft); border-color: var(--ok); }

/* Abmelden / Meldungen */
.page-msg { padding: 64px 0 80px; }
.page-msg h1 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
.cancel-card { display: flex; gap: 18px; align-items: center; margin: 24px 0; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.cancel-card > div { display: grid; gap: 2px; min-width: 0; }
.cancel-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }

/* Fuß – wie auf der Hauptwebsite */
.foot { padding: 56px 0 28px; background: var(--white); border-top: 1px solid var(--line); font-size: .92rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; }
.foot-brand img { width: 168px; }
.foot-claim { margin: 18px 0 0; font-weight: 700; line-height: 1.55; }
.foot-title { margin: 0 0 14px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.foot address { font-style: normal; color: var(--muted); margin-bottom: 10px; }
.foot-links { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.foot-links a[href^="mailto:"] { overflow-wrap: anywhere; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .78rem; color: var(--muted); }
.foot-bottom span { display: flex; align-items: center; gap: 10px; }
.foot-bottom a { color: var(--muted); }

@media (max-width: 960px) { .jump { display: inline-flex; } }
@media (max-width: 640px) {
  .b-person { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
  .b-person img { width: 96px; height: 96px; }
  .b-programme { padding: 16px 18px; }
  .b-programme li { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .top-in { position: relative; min-height: 76px; }
  .top-nav { display: none; position: absolute; left: -20px; right: -20px; top: 100%; flex-direction: column; gap: 0; padding: 8px 20px 18px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-s); font-size: .9rem; }
  .top-nav.is-open { display: flex; }
  .top-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .top-nav a[aria-current] { color: var(--gold-deep); border-color: var(--line); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .intro-grid, .ev-layout, .ev-hero.has-image .ev-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .ev-side { position: static; }
  .ev-img { display: none; }
  .ev-photo { max-width: 520px; }
}
@media (max-width: 640px) {
  .wrap, .narrow { width: calc(100% - 32px); }
  .top-in { min-height: 70px; }
  .brand img { width: 130px; }
  .intro { padding: 40px 0; }
  .section { padding: 44px 0; }
  .ev-link { grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 14px; }
  .ev-go { display: none; }
  .tile { width: 64px; height: 72px; border-radius: 12px; }
  .tile-big { font-size: 1.5rem; }
  .tile-bottom { font-size: .54rem; }
  .ev-title { font-size: 1.05rem; }
  .ev-when { font-size: .85rem; }
  .past li { grid-template-columns: 1fr; gap: 2px; }
  .ev-hero { padding: 28px 0 32px; }
  .ev-layout { padding: 28px 0 48px; }
  .facts div { grid-template-columns: 1fr; gap: 2px; padding: 14px 18px; }
  .reg { padding: 22px 18px; }
  .next-card { padding: 18px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.prose a.btn { color: #fff; text-decoration: none; }

/* Social-Icons */
.social-links { display: flex; gap: 12px; margin-top: 20px; padding: 0; list-style: none; }
.social-links a { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #a9884e; text-decoration: none !important; background-image: none !important; transition: transform .15s, background-color .15s; }
.social-links a:hover { transform: translateY(-2px); background-color: #8f7140; }
.social-links a:focus-visible { outline: 3px solid #3a3a39; outline-offset: 3px; }

/* Zahlung & Mitglieder */
.pay { border: 1px solid rgba(58,58,57,.15); border-radius: 12px; padding: 14px 16px 6px; margin: 14px 0; }
.pay legend { font-weight: 700; padding: 0 6px; }
.pay .pay-label { font-weight: 600; margin: 12px 0 4px; }
.pay .check small { opacity: .75; }
.pay-total { margin: 12px 0 8px; font-size: 1.05em; }
.pay-total strong { font-size: 1.15em; }
.member-box { margin: 4px 0 8px 28px; }
.code-box { background: #efe6d4; border-radius: 12px; padding: 12px 16px; text-align: center; letter-spacing: .04em; }
.code-box strong { font-size: 1.5em; }

/* Mitgliedsantrag */
.member-wrap { padding: 36px 0 70px; }
.member-form { max-width: 760px; margin: 0 auto; }
.member-form h2 { font-size: 1.15rem; margin: 22px 0 6px; }
.member-form h2:first-of-type { margin-top: 4px; }
.member-form .row2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.member-form .row2.zipcity { grid-template-columns: 130px minmax(0, 1fr); }
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; }
@media (max-width: 640px) { .row3, .member-form .row2 { grid-template-columns: 1fr; } .member-form .row2.zipcity { grid-template-columns: 100px minmax(0, 1fr); } }

/* Mitglieder-Login im Kopf */
.top-login { order: 3; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 18px; border: 2px solid var(--gold); border-radius: 999px; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.top-login:hover { background: var(--gold-button); border-color: var(--gold-button); color: #fff; }
.top-in .brand { order: 1; margin-right: auto; } .top-in .top-nav { order: 2; } .top-in .nav-toggle { order: 4; }
@media (max-width: 1320px) { .hl-long { display: none; } .top-nav { gap: 22px; } }
@media (max-width: 1100px) { .top-nav { gap: 16px; font-size: .74rem; letter-spacing: .08em; } .top-login { padding: 8px 14px; } }
@media (max-width: 1000px) { .top-login { order: 2; min-height: 40px; padding: 6px 14px; } }
@media (max-width: 520px) { .top-login-label { display: none; } .top-login { width: 42px; height: 42px; min-height: 0; padding: 0; justify-content: center; } }

/* ---------- Kompaktes Anmeldeformular ---------- */
.reg { padding: 24px 24px 20px; }
.reg-form .rf-field label, .reg-form .member-box label { margin: 12px 0 5px; font-size: .84rem; }
.reg-form input:not([type="checkbox"]):not([type="radio"]), .reg-form select { min-height: 44px; padding: 9px 12px; font-size: .97rem; }
.reg-form .rf-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 0 12px; }
.reg-form .rf-row:has(> .rf-field:only-child) { grid-template-columns: 120px; }
.member-hit { display: flex; gap: 6px; align-items: center; margin: 6px 0 0; padding: 6px 10px; border-radius: 8px; background: var(--ok-soft); color: var(--ok); font-size: .82rem; font-weight: 700; }
.rf-pay { margin: 16px 0 4px; padding: 12px 14px; border-radius: 12px; background: var(--paper); }
.rf-pay .check.rf-member { margin: 0 0 6px; font-size: .86rem; color: var(--ink); align-items: center; }
.rf-pay .member-box { margin: 0 0 8px; }
.rf-pay .member-box label { margin-top: 4px; }
.rf-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 8px 0 6px; }
.rf-seg label { margin: 0; cursor: pointer; }
.rf-seg input { position: absolute; opacity: 0; pointer-events: none; }
.rf-seg span { display: flex; flex-direction: column; align-items: center; padding: 8px 6px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); font-weight: 700; font-size: .88rem; line-height: 1.25; text-align: center; }
.rf-seg small { font-weight: 400; font-size: .74rem; color: var(--muted); }
.rf-seg input:checked + span { border-color: var(--gold-button); background: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--gold-button); }
.rf-seg input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.rf-pay .pay-total { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0 0; font-size: .9rem; color: var(--muted); }
.rf-pay .pay-total strong { color: var(--ink); font-size: 1.25rem; }
.rf-pay .form-note { margin: 6px 0 0; }
.rf-note { margin: 10px 0 0; }
.rf-note summary { cursor: pointer; list-style: none; font-size: .86rem; font-weight: 700; color: var(--gold-deep); padding: 4px 0; }
.rf-note summary::-webkit-details-marker { display: none; }
.rf-note textarea { margin-top: 6px; min-height: 64px; }
.reg-form .check.rf-privacy { margin: 12px 0 14px; font-size: .78rem; line-height: 1.45; }
.rf-foot { margin: 8px 0 0; text-align: center; font-size: .78rem; }

/* 2.13.1 – Mitglieder-Kachel */
.rf-pay .rf-mem { margin: 0 0 10px; border: 1px solid rgba(58,58,57,.14); border-radius: 10px; background: var(--card, #fff); transition: border-color .2s, background .2s; }
.form .rf-mem-head { position: relative; display: flex; align-items: center; gap: 10px; margin: 0 !important; padding: 10px 12px; cursor: pointer; }
.form .rf-mem-head input { position: absolute; left: 0; top: 0; margin: 0; padding: 0; border: 0; min-height: 0; opacity: 0; width: 1px; height: 1px; }
.rf-mem-ico { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(166,137,79,.15); color: #a6894f; font-size: .9rem; }
.rf-mem-txt { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.rf-mem-txt b { font-size: .9rem; color: var(--ink); }
.rf-mem-txt small { font-size: .78rem; color: var(--muted); font-weight: 400; }
.rf-switch { flex: none; position: relative; width: 40px; height: 24px; border-radius: 12px; background: rgba(58,58,57,.22); transition: background .2s; }
.rf-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .2s; }
.rf-mem.is-on { border-color: #a6894f; }
.rf-mem.is-on .rf-switch { background: #a6894f; }
.rf-mem.is-on .rf-switch::after { transform: translateX(16px); }
.rf-mem-head input:focus-visible ~ .rf-switch { outline: 2px solid #a6894f; outline-offset: 2px; }
.rf-mem.is-recognized { border-color: var(--ok); background: var(--ok-soft); }
.rf-mem.is-recognized .rf-mem-ico { background: var(--ok); color: #fff; }
.rf-mem.is-recognized .rf-mem-ico::before { content: "✓"; }
.rf-mem.is-recognized .rf-mem-ico { font-size: 0; }
.rf-mem.is-recognized .rf-mem-ico::before { font-size: .95rem; }
.rf-mem.is-recognized .rf-mem-txt b { color: var(--ok); }
.rf-mem.is-recognized .rf-switch { background: var(--ok); }
.rf-pay .rf-mem .member-box { margin: 0; padding: 0 12px 10px; }
.rf-mem .member-box input { width: 100%; }
.rf-mem-hint { margin: 6px 0 0; font-size: .76rem; color: var(--muted); line-height: 1.35; }
.rf-mem-join { margin: -4px 0 0; padding: 0 12px 10px 52px; font-size: .78rem; color: var(--muted); }
.rf-mem-join a { font-weight: 700; }

/* 2.26.0 Mitgliedsantrag (Baukasten) */
.jf { --jf-acc: #c5a66d; --jf-ink: #2f2f2e; --jf-soft: #f6f4ef; --jf-line: #e6e1d4; --jf-muted: #6b6a66; background: #f3f2ee; padding-bottom: 72px; }
.jf-preview { position: sticky; top: 0; z-index: 30; background: #8a6420; color: #fff; text-align: center; font-weight: 700; font-size: .85rem; padding: 8px 12px; }
.jf-hero { position: relative; color: #fff; padding: clamp(48px, 7vw, 84px) 0 clamp(120px, 12vw, 150px); background: linear-gradient(90deg, rgba(32,30,26,.9) 0%, rgba(32,30,26,.6) 55%, rgba(32,30,26,.2)), var(--jf-img, linear-gradient(#3a3834, #2f2f2e)) center / cover; }
.jf-k { margin: 0; font-size: .75rem; letter-spacing: .22em; font-weight: 700; text-transform: uppercase; color: color-mix(in srgb, var(--jf-acc) 60%, #fff); }
.jf-hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); line-height: 1.03; margin: 14px 0 16px; max-width: 18ch; text-wrap: balance; letter-spacing: -.02em; color: #fff; }
.jf-intro { font-size: clamp(1rem, 1.6vw, 1.12rem); line-height: 1.6; max-width: 36rem; margin: 0; opacity: .93; }
.jf-wrap { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 36px; margin-top: -96px; position: relative; align-items: start; }
.jf-wrap.is-single { grid-template-columns: minmax(0, 820px); justify-content: center; }
.jf-side { display: grid; gap: 16px; padding-top: 126px; }
.jf-ben { background: #fff; border: 1px solid var(--jf-line); border-radius: 20px; padding: 22px; }
.jf-ben h2 { margin: 0 0 14px; font-size: 1rem; }
.jf-ben ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.jf-ben li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; }
.jf-ic { width: 40px; height: 40px; border-radius: 12px; background: color-mix(in srgb, var(--jf-acc) 18%, #fff); display: grid; place-items: center; font-size: 1.15rem; }
.jf-ben b { display: block; font-size: .92rem; } .jf-ben small { color: var(--jf-muted); font-size: .82rem; line-height: 1.5; }
.jf-quote { margin: 0; background: var(--jf-ink); color: #f3f2ee; border-radius: 20px; padding: 22px 24px; }
.jf-quote blockquote { margin: 0; font-style: italic; line-height: 1.55; } .jf-quote figcaption { margin-top: 8px; font-size: .8rem; color: #c9c5bb; }
.jf-card { background: #fff; border-radius: 26px; box-shadow: 0 30px 80px rgba(40,34,20,.16); padding: clamp(22px, 4vw, 38px); border-top: 5px solid var(--jf-acc); min-width: 0; }
.jf-steps { list-style: none; margin: 0 0 24px; padding: 0; display: flex; gap: 8px; }
.jf-steps li { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--jf-soft); font-weight: 700; font-size: .84rem; color: #8b877d; min-width: 0; }
.jf-steps i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #e5e1d8; color: var(--jf-muted); font-size: .76rem; flex: none; }
.jf-steps li.is-on { background: var(--jf-ink); color: #fff; } .jf-steps li.is-on i { background: var(--jf-acc); color: #fff; } .jf-steps li.is-ok i { background: #3f8a47; color: #fff; }
html:not(.jf-js) .jf-steps { display: none; }
.jf-step { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.jf-step legend { font-size: 1.5rem; font-weight: 700; padding: 0; margin-bottom: 4px; outline: none; }
.jf-lead { margin: 0 0 18px; color: var(--jf-muted); }
.jf-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 14px; }
.jf-type { position: relative; display: grid; gap: 4px; align-content: start; border: 2px solid var(--jf-line); border-radius: 18px; padding: 16px; cursor: pointer; transition: border-color .15s, background .15s, transform .15s; margin: 0; font-weight: 400; }
.jf-type:hover { border-color: color-mix(in srgb, var(--jf-acc) 60%, #fff); transform: translateY(-1px); }
.jf-type input { position: absolute; opacity: 0; pointer-events: none; }
.jf-type.is-on, .jf-type:has(input:checked) { border-color: var(--jf-acc); background: color-mix(in srgb, var(--jf-acc) 8%, #fff); }
.jf-type.is-on::after, .jf-type:has(input:checked)::after { content: "✓"; position: absolute; top: 12px; right: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--jf-acc); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .8rem; }
.jf-type:has(input:focus-visible) { outline: 3px solid var(--jf-acc); outline-offset: 2px; }
.jf-em { font-size: 1.5rem; } .jf-type b { font-size: 1rem; } .jf-pr { font-size: 1.3rem; font-weight: 800; } .jf-pr small { font-size: .75rem; font-weight: 600; color: var(--jf-muted); }
.jf-tt { font-size: .8rem; color: var(--jf-muted); line-height: 1.45; }
.jf-note { font-size: .82rem; color: var(--jf-muted); margin: 0; }
.jf-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; } .jf-row:empty { display: none; }
.jf-r3 { grid-template-columns: 160px minmax(0, 1fr); } .jf-addr { grid-template-columns: minmax(0, 2fr) 110px minmax(0, 1fr); }
.jf-form label { font-weight: 700; font-size: .8rem; } .jf-form label small { font-weight: 500; color: #8b877d; }
.jf-form input:not([type=checkbox]):not([type=radio]), .jf-form select, .jf-form textarea { border-radius: 14px; border-width: 1.5px; min-height: 50px; font-size: 1rem; }
.jf-form input:focus, .jf-form select:focus, .jf-form textarea:focus { border-color: var(--jf-acc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--jf-acc) 20%, transparent); }
.jf-form .is-bad { border-color: #b9473a !important; }
.jf-yn { display: flex; gap: 18px; } .jf-yn label { font-weight: 500; display: flex; gap: 6px; align-items: center; }
.jf-chk { display: flex !important; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--jf-soft); margin: 0 0 10px; font-weight: 500 !important; font-size: .9rem !important; line-height: 1.5; }
.jf-chk input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--jf-ink); flex: none; }
.jf-sum { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 8px 14px; margin: 0 0 18px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--jf-line); font-size: .92rem; }
.jf-sum dt { color: var(--jf-muted); } .jf-sum dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; } .jf-edit { grid-column: 1 / -1; }
.jf-edit button { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: #7a602e; text-decoration: underline; cursor: pointer; }
.jf-nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; }
.jf-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 99px; border: 0; background: var(--jf-acc); color: #fff; font: inherit; font-weight: 700; font-size: 1rem; cursor: pointer; text-decoration: none; transition: filter .15s, transform .15s; }
.jf-btn:hover { filter: brightness(.94); transform: translateY(-1px); } .jf-btn:focus-visible { outline: 3px solid var(--jf-ink); outline-offset: 3px; }
.jf-back { background: none; border: 0; font: inherit; font-weight: 700; color: var(--jf-muted); cursor: pointer; padding: 12px 4px; }
.jf-safe { font-size: .8rem; color: var(--jf-muted); margin: 14px 0 0; }
.jf-done { text-align: center; padding: 30px 10px; } .jf-check { width: 72px; height: 72px; border-radius: 50%; background: #e3efe1; color: #2d6a33; display: inline-grid; place-items: center; font-size: 2rem; font-weight: 700; }
.jf-done h2 { font-size: 1.7rem; margin: 16px 0 8px; } .jf-done p { color: var(--jf-muted); max-width: 32rem; margin: 0 auto 18px; line-height: 1.6; }
@media (max-width: 900px) {
  .jf-wrap { grid-template-columns: minmax(0, 1fr); margin-top: -80px; }
  .jf-side { padding-top: 0; order: 2; }
  .jf-row, .jf-addr, .jf-r3 { grid-template-columns: minmax(0, 1fr); }
  .jf-addr { grid-template-columns: 110px minmax(0, 1fr); } .jf-addr > div:first-child { grid-column: 1 / -1; }
  .jf-steps li { font-size: 0; gap: 0; justify-content: center; } .jf-steps li.is-on { font-size: .8rem; gap: 8px; flex: 2; }
  .jf-nav { flex-direction: column-reverse; align-items: stretch; } .jf-btn { width: 100%; }
  .jf-sum { grid-template-columns: minmax(0, 1fr); gap: 2px; } .jf-sum dd { margin-bottom: 8px; }
}
.jf-form .jf-type { display: grid !important; } .jf-type > span, .jf-type > b { display: block; } .jf-type .jf-pr small { display: inline; }
.jf-form .jf-type { margin: 0; font-size: inherit; } .jf-form .jf-yn label { margin: 0; } .jf-form .jf-chk { margin: 0 0 10px; }
