/* Clubhaven – Vereinsdesign. Farben/Schriften kommen als CSS-Variablen aus Site::css().
   Vorlagen: .tpl-klar, .tpl-sportlich, .tpl-klassisch, .tpl-modern */

body { background: var(--bg); color: var(--text); font-family: var(--font); display: flex; flex-direction: column; }
a { color: var(--link); text-underline-offset: .15em; }
h1, h2, h3 { font-family: var(--font-head); color: var(--text); line-height: 1.15; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin: 0 0 .6rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 1.1rem; }
h3 { font-size: 1.15rem; margin: 0 0 .4rem; }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 1.25rem; width: 100%; }
.wrap.narrow { max-width: 780px; }
main { flex: 1; }
.lead { font-size: 1.15rem; color: var(--muted); }
.muted { color: var(--muted); }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; padding: .1rem .5rem; border-radius: 999px; background: var(--c-soft); color: var(--link); vertical-align: middle; font-family: var(--font); letter-spacing: 0; }
.btn { border-radius: calc(var(--radius) * .7); border-color: var(--line); background: var(--card); color: var(--text); transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,.1); }
.btn-primary { background: var(--c); border-color: var(--c); color: var(--on-c); }
.btn-primary:hover { background: var(--c-dark); }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-ghost { background: transparent; border-color: currentColor; color: inherit; }
.card { background: var(--card); border-color: var(--line); border-radius: var(--radius); }
input:not([type=checkbox]):not([type=radio]), select, textarea { background: var(--card); color: var(--text); border-color: var(--line); border-radius: calc(var(--radius) * .6); }

/* ---------- Kopfzeile ---------- */
.th-header { position: sticky; top: 0; z-index: 20; background: var(--bg); border-bottom: 1px solid var(--line); }
.hd-dark .th-header { background: #0f1115; border-color: #23262d; --text: #f5f6f8; --link: #fff; color: #f5f6f8; }
.hd-primary .th-header { background: var(--c); border-color: transparent; --text: var(--on-c); --link: var(--on-c); color: var(--on-c); }
.th-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.th-brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--text); font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; line-height: 1.15; }
.th-name small { display: block; font: 400 .78rem var(--font); opacity: .75; }
.th-logo { width: auto; height: 48px; max-width: 140px; object-fit: contain; }
.th-mark { width: 44px; height: 44px; border-radius: calc(var(--radius) * .7); display: grid; place-items: center; background: var(--c); color: var(--on-c); font-size: 1.3rem; }
.hd-primary .th-mark { background: var(--on-c); color: var(--c); }
.th-nav { display: flex; align-items: center; gap: 1.25rem; }
.th-nav > ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.th-nav li { position: relative; }
.th-nav ul a { color: var(--text); white-space: nowrap; text-decoration: none; font-weight: 600; padding: .55rem .75rem; border-radius: calc(var(--radius) * .6); display: block; }
.th-nav > ul > li > a:hover, .th-nav a[aria-current="page"] { background: color-mix(in srgb, currentColor 10%, transparent); }
.th-nav > ul > li > a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); }
.th-sub { list-style: none; margin: 0; padding: .4rem; position: absolute; left: 0; top: 100%; min-width: 210px; background: #fff; border: 1px solid #e3e6ea; border-radius: var(--radius); box-shadow: 0 12px 30px rgba(0,0,0,.12); display: none; }
.th-sub a { color: #17201d; font-weight: 500; }
.th-nav li.has-sub:hover > .th-sub, .th-nav li.has-sub:focus-within > .th-sub { display: block; }
.th-actions { display: flex; gap: .75rem; align-items: center; }
.th-login { font-size: .92rem; opacity: .85; color: var(--text); text-decoration: none; white-space: nowrap; }
.th-actions .btn { white-space: nowrap; }
.th-brand { flex: 0 1 auto; min-width: 180px; max-width: 340px; }
@media (max-width: 1360px) { .th-name small { display: none; } }
.th-nav-toggle { display: none; }
.th-preview-bar { background: #fde68a; color: #713f12; text-align: center; font-size: .9rem; font-weight: 600; padding: .4rem; }

@media (max-width: 1100px) {
  .th-nav-toggle { display: block; }
  .th-nav-toggle summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; align-content: center; gap: 5px; padding: 0 10px; }
  .th-nav-toggle summary::-webkit-details-marker { display: none; }
  .th-nav-toggle summary span { display: block; height: 2px; background: currentColor; border-radius: 2px; }
  .th-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: inherit; flex-direction: column; align-items: stretch; padding: .5rem 1.25rem 1.25rem; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0,0,0,.08); }
  .th-header { background-clip: padding-box; }
  .th-header:has(.th-nav-toggle[open]) .th-nav { display: flex; background: var(--bg); }
  .hd-dark .th-header:has(.th-nav-toggle[open]) .th-nav { background: #0f1115; }
  .hd-primary .th-header:has(.th-nav-toggle[open]) .th-nav { background: var(--c); }
  .th-nav > ul { flex-direction: column; }
  .th-sub { display: block; position: static; box-shadow: none; border: 0; background: transparent; padding: 0 0 0 1rem; --text: inherit; }
  .th-sub a { color: inherit; }
  .th-actions { flex-direction: column; align-items: stretch; padding-top: .5rem; }
  .th-name small { display: none; }
}

/* ---------- Bausteine ---------- */
.b { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.b + .b { padding-top: 0; }
.page-head { padding: clamp(2rem, 5vw, 3.5rem) 0 1.5rem; }
.page-head + .b { padding-top: 1rem; }
.prose { max-width: 72ch; }
.prose p, .prose ul, .prose ol { margin: 0 0 1rem; }
.prose h3 { margin-top: 1.6rem; }
.b-figure, figure { margin: 1.5rem 0; }
figure img, .b-figure img { border-radius: var(--radius); }
figcaption { color: var(--muted); font-size: .9rem; margin-top: .5rem; }

/* Kopfbereich */
.b-hero { padding: clamp(3rem, 8vw, 6rem) 0; background: linear-gradient(180deg, var(--c-soft), var(--bg)); }
.b-hero + .b { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.has-img .hero-grid { grid-template-columns: 1.05fr 1fr; }
.hero-lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-media img { border-radius: calc(var(--radius) * 1.4); box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.hero-center .b-hero .hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.hero-center .hero-lead { margin-inline: auto; }
.hero-center .hero-actions { justify-content: center; }
.hero-center .hero-media { max-width: 820px; width: 100%; }
/* Vollbild-Variante: Bild hinter dem Text */
.hero-full .b-hero.has-img { position: relative; padding: clamp(5rem, 14vw, 10rem) 0; color: #fff; background: #111; overflow: hidden; }
.hero-full .b-hero.has-img .hero-grid { grid-template-columns: 1fr; }
.hero-full .b-hero.has-img .hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-full .b-hero.has-img .hero-media img { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; opacity: .55; }
.hero-full .b-hero.has-img .hero-text { position: relative; z-index: 1; max-width: 760px; }
.hero-full .b-hero.has-img h1, .hero-full .b-hero.has-img h2 { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.35); }
.hero-full .b-hero.has-img .hero-lead { color: rgba(255,255,255,.92); }
.hero-full .b-hero.has-img .btn-ghost { color: #fff; }

/* Text mit Bild */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split.img-left .split-media { order: -1; }
.split-media img { border-radius: var(--radius); }

/* Kacheln */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.card-item { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; transition: transform .2s, box-shadow .2s; }
.card-item:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -16px rgba(0,0,0,.25); }
.card-item p { margin: 0; color: var(--muted); }
.card-item h3 a { color: inherit; text-decoration: none; }
.card-item h3 a::after { content: " →"; color: var(--link); }
.card-icon { font-size: 1.8rem; display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: calc(var(--radius) * .8); background: var(--c-soft); margin-bottom: .9rem; }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .75rem; }
.g-item img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: calc(var(--radius) * .7); transition: transform .3s; }
.g-item:hover img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); display: grid; place-items: center; z-index: 100; padding: 2rem; cursor: zoom-out; }
.lightbox img { max-height: 90vh; width: auto; border-radius: 6px; }

/* Termine */
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.event { display: grid; grid-template-columns: 76px 1fr; gap: 1.1rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.2rem; }
.ev-date { display: grid; place-content: center; text-align: center; background: var(--c); color: var(--on-c); border-radius: calc(var(--radius) * .7); padding: .5rem; line-height: 1.1; }
.ev-day { font: 700 1.7rem var(--font-head); }
.ev-mon { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.ev-meta { margin: 0; color: var(--muted); font-size: .93rem; }
.ev-text p { margin: .4rem 0 0; }

/* Neuigkeiten */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; }
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.post-img img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-body { padding: 1.2rem 1.3rem 1.4rem; }
.post-body h3 a { color: var(--text); text-decoration: none; }
.post-body h3 a:hover { color: var(--link); }
.post-body p { margin: .3rem 0 0; color: var(--muted); }
.post-meta { font-size: .85rem; color: var(--muted); margin: 0 0 .4rem; }
.post-meta a { color: inherit; }
.post-cover img { border-radius: var(--radius); margin-bottom: 1.5rem; }
.post-body-text { padding-bottom: 3rem; font-size: 1.08rem; }
.more { margin-top: 1.5rem; font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chip { padding: .35rem .85rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--text); font-size: .92rem; background: var(--card); }
.chip.is-active { background: var(--c); color: var(--on-c); border-color: var(--c); }
.pager { display: flex; gap: 1.5rem; justify-content: center; align-items: center; margin-top: 2rem; }

/* Downloads */
.files { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; }
.files a { display: flex; gap: 1rem; align-items: center; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); text-decoration: none; color: var(--text); }
.files a:hover { border-color: var(--c); }
.file-ext { flex: none; width: 52px; height: 52px; display: grid; place-items: center; border-radius: calc(var(--radius) * .6); background: var(--c-soft); color: var(--link); font: 700 .78rem var(--font); }
.file-body { display: grid; }
.file-body small { color: var(--muted); }
.member-hint { padding: .8rem 1rem; border-radius: var(--radius); background: var(--surface); }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: start; }
.contact-grid.single { grid-template-columns: minmax(0, 720px); }
.contact-card { font-style: normal; background: var(--surface); border-radius: var(--radius); padding: 1.4rem; line-height: 1.8; }

/* Mitglied werden */
.b-join { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.b-join:last-child { padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.join-box { background: var(--c); color: var(--on-c); border-radius: calc(var(--radius) * 1.4); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.join-box h2 { color: var(--on-c); }
.join-box p { max-width: 56ch; margin: 0 auto 1.5rem; opacity: .92; }

/* Personen */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.person { display: flex; gap: 1rem; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; }
.person p { margin: 0; font-size: .92rem; }
.person-role { color: var(--muted); }
img.person-img, .person-initial { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: none; }
.person-initial { display: grid; place-items: center; background: var(--c-soft); color: var(--link); font: 700 1.6rem var(--font-head); }

/* FAQ */
.faq { display: grid; gap: .6rem; max-width: 820px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.faq-item summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--link); }
.faq-item[open] summary::after { content: "–"; }
.faq-answer { padding: 0 1.2rem 1rem; }
.faq-answer p:last-child { margin-bottom: 0; }

/* ---------- Fußzeile ---------- */
.th-footer { margin-top: 1rem; background: var(--surface); border-top: 1px solid var(--line); padding: 2.5rem 0 1.25rem; font-size: .95rem; }
.th-foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; }
.th-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.th-footer a { color: var(--text); }
.th-foot-name { font: 700 1.1rem var(--font-head); margin: 0 0 .5rem; }
.th-footer address { font-style: normal; margin: .5rem 0; color: var(--muted); }
.th-social { margin-bottom: 1rem !important; }
.th-copy { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.th-copy a { color: inherit; }

/* Formularseiten (Antrag, Mitgliederbereich) im Vereinsdesign */
.form-page { padding-top: 1.5rem; padding-bottom: 3rem; }
.form-page h1 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-top: 1rem; }

/* ---------- Vorlagen ---------- */
.tpl-sportlich h1, .tpl-sportlich h2 { text-transform: uppercase; letter-spacing: .01em; font-weight: 800; }
.tpl-sportlich .b-hero { background: linear-gradient(135deg, var(--c) 0 55%, var(--c-dark) 55%); color: var(--on-c); clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%); }
.tpl-sportlich .b-hero h1, .tpl-sportlich .b-hero h2 { color: var(--on-c); }
.tpl-sportlich .b-hero .hero-lead { color: var(--on-c); opacity: .9; }
.tpl-sportlich .b-hero .btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.tpl-sportlich .b-hero .btn-ghost { color: var(--on-c); }
.tpl-sportlich h2::after { content: ""; display: block; width: 64px; height: 5px; background: var(--accent); margin-top: .5rem; transform: skewX(-20deg); }
.tpl-sportlich .b-join .join-box h2::after { margin-inline: auto; }
.tpl-sportlich .card-item { border-top: 5px solid var(--c); }
.tpl-sportlich .ev-date { transform: skewX(-6deg); }

.tpl-klassisch body, body.tpl-klassisch { font-size: 1.08rem; }
.tpl-klassisch .b-hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.tpl-klassisch h2 { font-weight: 600; }
.tpl-klassisch h2::after { content: ""; display: block; width: 48px; height: 2px; background: var(--accent); margin-top: .6rem; }
.tpl-klassisch .join-box h2::after { margin-inline: auto; }
.tpl-klassisch .card-item, .tpl-klassisch .event, .tpl-klassisch .post-card { box-shadow: none; border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.tpl-klassisch .th-header { border-bottom: 3px double var(--line); }
.tpl-klassisch .join-box { background: var(--surface); color: var(--text); border: 2px solid var(--accent); }
.tpl-klassisch .join-box h2 { color: var(--text); }

.tpl-modern .b-hero { background: radial-gradient(1200px 600px at 10% -10%, color-mix(in srgb, var(--c) 35%, transparent), transparent 60%), radial-gradient(900px 500px at 100% 0, color-mix(in srgb, var(--accent) 28%, transparent), transparent 60%), var(--bg); }
.tpl-modern h1 { font-size: clamp(2.3rem, 6vw, 4rem); letter-spacing: -.03em; }
.tpl-modern h2 { letter-spacing: -.02em; }
.tpl-modern .btn-primary { background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 60%, var(--accent))); border: 0; }
.tpl-modern .join-box { background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, var(--accent))); }
.tpl-modern .card-item { box-shadow: 0 10px 30px -18px rgba(15,23,42,.35); border-color: transparent; }
.tpl-modern .card-icon { background: linear-gradient(135deg, var(--c-soft), color-mix(in srgb, var(--accent) 18%, var(--bg))); }

/* ---------- Animationen (respektieren „Bewegung reduzieren“) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .anim-subtle .reveal.pre { opacity: 0; transform: translateY(16px); }
  .anim-lively .reveal.pre { opacity: 0; transform: translateY(40px) scale(.98); }
  .anim-subtle .reveal, .anim-lively .reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .anim-lively .b-hero .hero-text > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
  .anim-lively .b-hero .hero-text > :nth-child(2) { animation-delay: .1s; }
  .anim-lively .b-hero .hero-text > :nth-child(3) { animation-delay: .2s; }
  .anim-lively .b-hero .hero-media { animation: rise 1s .15s cubic-bezier(.2,.7,.2,1) both; }
  .anim-subtle .b-hero .hero-text { animation: fade .8s ease both; }
  @keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
}

@media (max-width: 800px) {
  .has-img .hero-grid, .split, .contact-grid, .th-foot-grid { grid-template-columns: 1fr; }
  .split.img-left .split-media { order: 0; }
  .event { grid-template-columns: 60px 1fr; padding: .85rem; }
  .ev-day { font-size: 1.35rem; }
  .tpl-sportlich .b-hero { clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%); }
}

/* Fotos in Kacheln und Galerie-Beschreibungen */
.card-item.has-img { padding-top: 0; overflow: hidden; }
.card-img { margin: 0 -1.5rem 1.1rem; }
.card-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.g-fig { margin: 0; }
.g-fig figcaption { font-size: .9rem; color: var(--muted); padding: .4rem .15rem 0; }
.lightbox-cap { position: absolute; left: 0; right: 0; bottom: 1rem; text-align: center; color: #fff; margin: 0; padding: 0 1rem; text-shadow: 0 1px 3px rgba(0,0,0,.8); }
/* Baustein „Helfer gesucht“ */
.hl-card .hl-bar { height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; margin: .6rem 0 .3rem; }
.hl-card .hl-bar span { display: block; height: 100%; background: var(--c); }
.hl-card .btn { margin-top: .6rem; }

/* Vorstand (automatisch) */
.person { align-items: flex-start; }
.person .person-role { color: var(--link); font-weight: 600; }
.person-since { color: var(--muted); font-size: .85rem !important; }
.person-bio { margin-top: .35rem !important; }
.person picture { flex: none; }
.board-history { margin-top: 2.5rem; }
.board-history h3 { margin: 0 0 1rem; }
.hist-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem 1.5rem; }
.hist-group h4 { margin: 0 0 .4rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.hist-list { list-style: none; margin: 0; padding: 0; }
.hist-list li { display: flex; align-items: center; gap: .55rem; padding: .3rem 0; border-top: 1px solid var(--line); font-size: .92rem; }
.hist-list li:first-child { border-top: 0; }
img.hist-img, .hist-initial { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: none; }
.hist-initial { display: grid; place-items: center; background: var(--c-soft); color: var(--link); font-weight: 700; font-size: .72rem; }
.hist-name { flex: 1; }
.hist-years { color: var(--muted); font-size: .82rem; white-space: nowrap; }

/* Facebook & Instagram */
.social-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.social-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.social-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.social-img { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--c-soft); position: relative; }
.social-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.social-img.is-video::after { content: "▶"; position: absolute; inset: auto .6rem .6rem auto; background: rgba(0,0,0,.6); color: #fff; border-radius: 50%; width: 2rem; height: 2rem; display: grid; place-items: center; font-size: .8rem; }
.social-body { padding: .8rem 1rem 1rem; display: flex; flex-direction: column; gap: .4rem; }
.social-meta { font-size: .78rem; color: var(--muted); }
.social-badge { display: inline-block; font-weight: 700; padding: .05rem .45rem; border-radius: 999px; background: #e7f0ff; color: #1b4fa8; margin-right: .3rem; }
.social-card-instagram .social-badge { background: #fde7f1; color: #a51d5b; }
.social-text { font-size: .92rem; line-height: 1.45; overflow-wrap: anywhere; }
.social-links { margin-top: 1.25rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.social-consent { border: 1px dashed var(--line); border-radius: var(--radius); padding: 1.5rem; text-align: center; background: var(--card); max-width: 560px; }
.social-consent p { margin: 0 0 .6rem; }
.social-embed { width: 100%; max-width: 560px; height: 640px; border: 0; border-radius: var(--radius); background: var(--card); }

/* Knöpfe in Bausteinen (2.3) */
.b-actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.4rem; }
.b-actions-center { justify-content: center; }
.b-actions-right { justify-content: flex-end; }
.b-buttons .b-actions { margin-top: 0; }
.b-buttons { padding-block: 1.5rem; }
.btn-text { background: transparent; border-color: transparent; color: var(--c); text-decoration: underline; text-underline-offset: .2em; padding-inline: .3rem; }
.btn-text:hover { box-shadow: none; transform: none; color: var(--c-dark); }
.prose .btn { text-decoration: none; }
.prose .btn-text { text-decoration: underline; }
.prose .btn-primary { color: var(--on-c); }
.b-buttons + .b { padding-top: 2rem; }
