/* Reg-Seiten-Module (Sweap-Style Inhaltsbausteine) — "Warm Editorial".
   Klassenbasiert + sanitizer-sicher (keine inline styles, keine externen url(), kein JS/iframe).
   Wird (1) in die Builder-Canvas geladen und (2) als /reg-modules.css auf der oeffentlichen
   Reg-Seite verlinkt. EINE Quelle der Wahrheit -> identisch in apps/platform/public UND
   apps/public/public. Farbwelt (hart kodiert, weil sanitizer-sicher; nur --accent kommt per Theme):
     Papier #f1ece0 · Papier-tief #e7e0d0 · Karte #fffdf7 · Karte-2 #f9f5ea
     Tinte #211f1a · Tinte-weich #3c372e · Gedaempft #7c776b · Linie #ddd4c2/#ece5d6
     Akzent (Terrakotta, via --accent) #b8462e · Gold #d7a84b · Rose #c2533f
   Headings nutzen die Display-Schrift, falls die Seite sie bereitstellt (sonst Fallback). */

.rm-section { padding: 52px 0 8px; }
.rm-h2 { margin: 0 0 16px; font-family: var(--font-display, "Bricolage Grotesque", system-ui, sans-serif); font-size: 30px; font-weight: 800; letter-spacing: -.022em; line-height: 1.12; color: #211f1a; }
.rm-lead { margin: 0 0 18px; font-size: 16.5px; line-height: 1.68; color: #6b6456; }
.rm-hero-eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; opacity: .9; }
.rm-prose { line-height: 1.72; color: #4a4438; }

/* Divider */
.rm-divider { margin: 28px 0; border: 0; border-top: 1px solid #e3dac8; }

/* Bild + Text */
.rm-imgtext { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; padding: 28px 0; }
.rm-imgtext > img { flex: 1 1 240px; max-width: 100%; min-width: 220px; border-radius: 18px; object-fit: cover; box-shadow: 0 10px 30px -12px rgba(33,31,26,.28); }
.rm-imgtext-body { flex: 1 1 280px; }
.rm-imgtext-body h3 { margin: 0 0 10px; font-family: var(--font-display, "Bricolage Grotesque", system-ui, sans-serif); font-size: 23px; font-weight: 800; letter-spacing: -.015em; color: #211f1a; }
.rm-imgtext-body p { margin: 0; font-size: 15.5px; line-height: 1.72; color: #6b6456; }

/* Agenda / Programm */
.rm-agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.rm-agenda-item { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid #ece5d6; }
.rm-agenda-item:last-child { border-bottom: 0; }
.rm-agenda-time { flex: 0 0 92px; font-weight: 800; color: var(--accent, #b8462e); font-size: 15px; font-variant-numeric: tabular-nums; }
.rm-agenda-title { margin: 0; font-size: 15.5px; font-weight: 700; color: #211f1a; }
.rm-agenda-desc { margin: 3px 0 0; font-size: 14px; line-height: 1.55; color: #7c776b; }

/* Sprecher / Speakers */
.rm-speakers { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 22px; padding: 8px 0; }
.rm-speaker { text-align: center; }
.rm-speaker > img { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; display: block; box-shadow: 0 6px 18px -6px rgba(33,31,26,.30); }
.rm-speaker-name { margin: 0; font-size: 15.5px; font-weight: 800; color: #211f1a; }
.rm-speaker-role { margin: 3px 0 0; font-size: 13px; color: #7c776b; }
/* Datengetriebene Sprecher (Event-Zuordnung): Initialen-Avatar ohne Foto, optionaler LinkedIn-Link */
.rm-speaker-avatar { width: 104px; height: 104px; border-radius: 50%; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; background: #f0e7d4; color: var(--accent, #b8462e); font-size: 30px; font-weight: 800; box-shadow: 0 6px 18px -6px rgba(33,31,26,.30); }
.rm-speaker-link { color: inherit; text-decoration: none; }
.rm-speaker-link:hover { text-decoration: underline; }

/* FAQ (statisch, ohne JS) */
.rm-faq { display: grid; gap: 12px; }
.rm-faq-item { border: 1px solid #e3dac8; border-radius: 16px; padding: 16px 20px; background: #fffdf7; box-shadow: 0 1px 2px rgba(33,31,26,.04); }
.rm-faq-q { margin: 0 0 5px; font-size: 15.5px; font-weight: 700; color: #211f1a; }
.rm-faq-a { margin: 0; font-size: 14.5px; line-height: 1.62; color: #6b6456; }

/* Galerie */
.rm-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; padding: 8px 0; }
.rm-gallery > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; box-shadow: 0 6px 18px -10px rgba(33,31,26,.30); }

/* Standort / Anfahrt */
.rm-location { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; border: 1px solid #e3dac8; border-radius: 18px; padding: 22px 24px; background: #f9f5ea; }
.rm-location-title { margin: 0; flex: 1 1 200px; font-size: 16.5px; font-weight: 800; color: #211f1a; }
.rm-location-addr { margin: 0; flex: 2 1 240px; font-size: 14.5px; line-height: 1.55; color: #6b6456; }
.rm-location a { font-weight: 700; color: var(--accent, #b8462e); }

/* CTA-Band */
.rm-cta { margin: 28px 0; border-radius: 22px; padding: 38px 32px; text-align: center; background-color: var(--accent, #b8462e); background-image: linear-gradient(135deg, color-mix(in srgb, var(--accent, #b8462e) 88%, #d7a84b), color-mix(in srgb, var(--accent, #b8462e) 78%, #211f1a)); color: #fff; box-shadow: 0 18px 44px -18px rgba(33,31,26,.45); }
.rm-cta h3 { margin: 0 0 10px; font-family: var(--font-display, "Bricolage Grotesque", system-ui, sans-serif); font-size: 25px; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.rm-cta p { margin: 0 0 18px; font-size: 15.5px; line-height: 1.6; color: rgba(255,255,255,.92); }
.rm-cta a { display: inline-block; padding: 12px 26px; border-radius: 999px; background: #fffdf7; color: var(--accent, #b8462e); font-weight: 700; text-decoration: none; box-shadow: 0 6px 16px -6px rgba(33,31,26,.4); transition: transform .12s ease; }
.rm-cta a:hover { transform: translateY(-1px); }

/* Zitat */
.rm-quote { margin: 28px 0; padding: 6px 0 6px 24px; border-left: 4px solid var(--accent, #b8462e); }
.rm-quote p { margin: 0 0 10px; font-family: var(--font-display, "Bricolage Grotesque", system-ui, sans-serif); font-size: 21px; line-height: 1.5; font-style: italic; color: #211f1a; }
.rm-quote .rm-cite { font-size: 14px; font-style: normal; font-weight: 600; color: #7c776b; }

@media (max-width: 560px) {
  .rm-agenda-time { flex-basis: 72px; }
  .rm-imgtext { gap: 18px; }
}

/* Countdown (Welle O) — Werte füllt countdown.tsx auf der öffentlichen Seite */
.rm-countdown { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; padding: 22px 0; }
.rm-countdown-item { display: flex; min-width: 76px; flex-direction: column; align-items: center; border-radius: 16px; background: #f9f5ea; border: 1px solid #ece5d6; padding: 16px 12px; box-shadow: 0 1px 2px rgba(33,31,26,.04); }
.rm-countdown-value { font-size: 36px; font-weight: 800; line-height: 1; color: var(--accent, #b8462e); font-variant-numeric: tabular-nums; }
.rm-countdown-label { margin-top: 7px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #7c776b; }
.rm-countdown-started { margin: 0; padding: 18px 0; text-align: center; font-size: 16px; font-weight: 700; color: var(--accent, #b8462e); }

/* Partner & Sponsoren (Welle O) */
.rm-partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px; align-items: center; padding: 16px 0; }
.rm-partners img { height: 60px; width: 100%; object-fit: contain; filter: grayscale(100%); opacity: .75; transition: filter .2s, opacity .2s; }
.rm-partners img:hover { filter: grayscale(0); opacity: 1; }
/* Datengetriebene Partner (Event-Zuordnung): optionaler Website-Link, Namens-Fallback ohne Logo */
.rm-partner-item { display: flex; align-items: center; justify-content: center; text-decoration: none; }
.rm-partner-name { font-size: 15px; font-weight: 600; color: #7c776b; text-align: center; }

@media (max-width: 560px) {
  .rm-countdown-value { font-size: 28px; }
  .rm-partners { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 16px; }
}
/* === Neue Module (Sweap-Parität): social, video, highlights, downloads, map === */

/* Social-Media-Links: feine runde Marken-Symbol-Buttons. Text-Label nur für Screenreader. */
.rm-social { display: flex; flex-wrap: wrap; gap: 10px; padding: 8px 0; }
.rm-social-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid transparent; background: #f3eee2; color: #211f1a; text-decoration: none; box-shadow: 0 1px 3px rgba(33,31,26,.12); transition: transform .14s ease, box-shadow .18s ease, background-color .15s, color .15s, border-color .15s; }
.rm-social-link:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(33,31,26,.20); }
.rm-social-icon { width: 18px; height: 18px; display: block; }
.rm-social-name { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Video-Embed (16:9, responsive) */
.rm-video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #211f1a; box-shadow: 0 10px 30px -12px rgba(33,31,26,.34); }
.rm-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rm-video-empty { display: flex; align-items: center; justify-content: center; background: #f0e7d4; color: #9a9484; font-size: 14px; }

/* Highlights / Infoboxen */
.rm-highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; padding: 8px 0; }
.rm-highlight { border: 1px solid #ece5d6; border-radius: 18px; padding: 24px; background: #fffdf7; box-shadow: 0 1px 2px rgba(33,31,26,.05), 0 12px 28px -20px rgba(33,31,26,.18); }
.rm-highlight-title { margin: 0 0 7px; font-family: var(--font-display, "Bricolage Grotesque", system-ui, sans-serif); font-size: 17px; font-weight: 800; letter-spacing: -.01em; color: #211f1a; }
.rm-highlight-text { margin: 0; font-size: 14.5px; line-height: 1.62; color: #6b6456; }
.rm-highlight-dl { display: inline-block; margin-top: 12px; padding: 8px 16px; border-radius: 999px; background: var(--accent, #b8462e); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; }

/* Downloads */
.rm-downloads { list-style: none; margin: 0; padding: 8px 0; display: grid; gap: 8px; }
.rm-download a { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border: 1px solid #e3dac8; border-radius: 14px; background: #fffdf7; font-size: 15px; font-weight: 600; color: #211f1a; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.rm-download a::before { content: "↓"; color: var(--accent, #b8462e); font-weight: 800; }
.rm-download a:hover { border-color: var(--accent, #b8462e); box-shadow: 0 6px 16px -10px rgba(33,31,26,.3); }

/* Karte (Embed) */
.rm-map { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; border: 1px solid #e3dac8; }
.rm-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rm-map-empty { display: flex; align-items: center; justify-content: center; background: #f0e7d4; color: #9a9484; font-size: 14px; text-align: center; padding: 16px; }
.rm-map-addr { margin: 10px 0 0; font-size: 14.5px; line-height: 1.55; color: #6b6456; }
/* === Gemeinsame Gestaltungs-Optionen (block.style) === */
.rm-styled { margin: 8px 0; }
.rm-al-left { text-align: left; }
.rm-al-center { text-align: center; }
.rm-al-right { text-align: right; }
/* zentrierte Galerien/Grids: Items mittig */
.rm-al-center .rm-speakers, .rm-al-center .rm-highlights, .rm-al-center .rm-gallery { justify-items: center; }
/* Social-Icons sind ein Flex-Container -> per justify-content ausrichten (text-align greift nicht). */
.rm-al-center .rm-social { justify-content: center; }
.rm-al-right .rm-social { justify-content: flex-end; }
/* Ansichten/Tabs-Modul: Tab-Leiste + Panel (clientseitig umschaltbar). */
.rm-tabs { margin: 4px 0; }
.rm-tabs-bar { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 2px solid #e3dac8; margin-bottom: 18px; }
.rm-tab-btn { appearance: none; border: 0; background: transparent; padding: 11px 16px; font-size: 15px; font-weight: 700; color: #7c776b; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; border-radius: 10px 10px 0 0; }
.rm-tab-btn:hover { background: rgba(33,31,26,.04); color: #211f1a; }
.rm-tab-btn.is-active { color: var(--accent, #b8462e); border-bottom-color: var(--accent, #b8462e); }
.rm-tab-btn:disabled { cursor: default; }
.rm-tab-panel { animation: rm-tab-fade .2s ease; }
@keyframes rm-tab-fade { from { opacity: 0; } to { opacity: 1; } }
/* Navigation-Modul: schaltet Container mit navLabel als Ansichten um. */
.rm-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin: 10px 0 18px; }
.rm-nav-left { justify-content: flex-start; }
.rm-nav-center { justify-content: center; }
.rm-nav-right { justify-content: flex-end; }
.rm-nav-brand { font-family: var(--font-display, "Bricolage Grotesque", system-ui, sans-serif); font-size: 16px; font-weight: 800; letter-spacing: -.01em; color: #211f1a; }
.rm-nav-bar { margin: 0; }
.rm-nav-tabs .rm-nav-bar { border-bottom-color: #e3dac8; }
.rm-nav-pills .rm-nav-bar { gap: 8px; border-bottom: 0; }
.rm-nav-pills .rm-tab-btn { margin-bottom: 0; border: 1px solid #ddd4c2; border-radius: 999px; background: #fffdf7; padding: 9px 16px; }
.rm-nav-pills .rm-tab-btn.is-active { border-color: var(--accent, #b8462e); background: var(--accent, #b8462e); color: #fff; }
.rm-nav-pills .rm-tab-btn:hover { border-color: var(--accent, #b8462e); }
/* Embed-Modul (HTML/iframe) */
.rm-embed { margin: 4px 0; }

/* OTP-Login-Modul (Teilnehmer-Login auf der OTP-Seite) */
.rm-otp { max-width: 460px; margin: 0 auto; background: #fffdf7; border: 1px solid #e3dac8; border-radius: 22px; padding: 30px 28px; box-shadow: 0 1px 3px rgba(33,31,26,.08), 0 18px 44px -20px rgba(33,31,26,.22); }
.rm-otp-title { margin: 0 0 16px; font-family: var(--font-display, "Bricolage Grotesque", system-ui, sans-serif); font-size: 23px; font-weight: 800; letter-spacing: -.015em; color: #211f1a; }
.rm-otp-form { display: flex; flex-direction: column; gap: 10px; }
.rm-otp-intro { margin: 0 0 6px; font-size: 14.5px; line-height: 1.62; color: #6b6456; }
.rm-otp-label { font-size: 13px; font-weight: 700; color: #211f1a; }
.rm-otp-input { width: 100%; padding: 12px 14px; border: 1px solid #ddd4c2; border-radius: 12px; font-size: 15px; background: #fffdf7; color: #211f1a; }
.rm-otp-input:focus { outline: 2px solid var(--accent, #b8462e); outline-offset: 1px; border-color: var(--accent, #b8462e); }
.rm-otp-code { letter-spacing: .3em; font-size: 18px; }
.rm-otp-btn { margin-top: 6px; padding: 13px 18px; border: 0; border-radius: 999px; background: var(--accent, #b8462e); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; transition: filter .15s, transform .12s; }
.rm-otp-btn:hover { filter: brightness(.94); }
.rm-otp-btn:active { transform: scale(.98); }
.rm-otp-btn:disabled { opacity: .6; cursor: default; }
.rm-otp-link { margin-top: 4px; background: transparent; border: 0; color: var(--accent, #b8462e); font-size: 13px; font-weight: 600; cursor: pointer; }
.rm-otp-error { margin: 0; font-size: 13px; color: #c2533f; }
.rm-otp-hint { margin: 0; font-size: 14px; color: #8a6d3b; background: #fcf3e3; border: 1px solid #f0e0bf; border-radius: 12px; padding: 12px 14px; }
.rm-embed iframe { max-width: 100%; border: 0; }
/* Galerie-Karussell (layout='carousel') */
.rm-carousel { position: relative; margin: 4px 0; }
.rm-carousel-stage { position: relative; overflow: hidden; border-radius: 16px; background: #f0e7d4; }
.rm-carousel-stage img { display: block; width: 100%; height: auto; }
.rm-carousel.rm-gal-square .rm-carousel-stage { aspect-ratio: 1 / 1; }
.rm-carousel.rm-gal-landscape .rm-carousel-stage { aspect-ratio: 4 / 3; }
.rm-carousel.rm-gal-square .rm-carousel-stage img, .rm-carousel.rm-gal-landscape .rm-carousel-stage img { height: 100%; object-fit: cover; }
.rm-carousel-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255, 253, 247, .92); color: #211f1a; font-size: 24px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(33,31,26,.22); display: flex; align-items: center; justify-content: center; }
.rm-carousel-prev { left: 10px; }
.rm-carousel-next { right: 10px; }
.rm-carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.rm-carousel-dot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: #ddd4c2; cursor: pointer; padding: 0; }
.rm-carousel-dot.is-active { background: var(--accent, #b8462e); }
.rm-bg-soft { background: #f9f5ea; }
.rm-bg-muted { background: #f1ece0; }
.rm-bg-accent { background: var(--accent, #b8462e); color: #fff; }
.rm-bg-dark { background: #211f1a; color: #f1ece0; }
.rm-bg-accent .rm-h2, .rm-bg-dark .rm-h2, .rm-bg-accent h2, .rm-bg-dark h2,
.rm-bg-accent h3, .rm-bg-dark h3, .rm-bg-accent p, .rm-bg-dark p { color: #fff; }
.rm-bg-dark .rm-lead, .rm-bg-accent .rm-lead, .rm-bg-dark .rm-prose, .rm-bg-accent .rm-prose { color: rgba(255,255,255,.86); }
/* Hintergrund-Bänder bekommen Innenabstand + Standard-Radius */
.rm-bg-soft, .rm-bg-muted, .rm-bg-accent, .rm-bg-dark { padding: 30px; border-radius: 18px; }
/* Formular als Panel auf dunklem/Akzent-Hintergrund (Sweap-Header): helle Labels + dezente Felder */
.rm-bg-dark .reg-form label, .rm-bg-accent .reg-form label { color: #fff; }
.rm-bg-dark .reg-form input:not([type=checkbox]):not([type=radio]),
.rm-bg-dark .reg-form select, .rm-bg-dark .reg-form textarea,
.rm-bg-accent .reg-form input:not([type=checkbox]):not([type=radio]),
.rm-bg-accent .reg-form select, .rm-bg-accent .reg-form textarea { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.45); color: #fff; }
.rm-bg-dark .reg-form input::placeholder, .rm-bg-dark .reg-form textarea::placeholder,
.rm-bg-accent .reg-form input::placeholder, .rm-bg-accent .reg-form textarea::placeholder { color: rgba(255,255,255,.65); }
.rm-radius-none { border-radius: 0; }
.rm-radius-md { border-radius: 16px; }
.rm-radius-lg { border-radius: 26px; }
.rm-pad-sm { padding-top: 14px; padding-bottom: 14px; }
.rm-pad-lg { padding-top: 64px; padding-bottom: 64px; }

/* === Bild-Modul: Breite / Seitenverhältnis / Schatten === */
.rm-image { display: block; max-width: 100%; height: auto; border-radius: 16px; margin: 8px 0; }
.rm-iw-full { width: 100%; }
.rm-iw-lg { width: 75%; }
.rm-iw-md { width: 50%; }
.rm-iw-sm { width: 33%; }
.rm-ir-16-9 { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.rm-ir-4-3 { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.rm-ir-1-1 { aspect-ratio: 1 / 1; object-fit: cover; }
.rm-ishadow { box-shadow: 0 14px 36px -14px rgba(33,31,26,.4); }
/* zentrierte Ausrichtung zentriert auch das Bild */
.rm-al-center .rm-image, .rm-al-right .rm-image { margin-left: auto; }
.rm-al-center .rm-image { margin-right: auto; }

/* Karte: optionaler "Karte öffnen"-Link */
.rm-map-link { margin: 10px 0 0; }
.rm-map-link a { font-weight: 700; color: var(--accent, #b8462e); }
/* Karten-/Kontakt-Modul (Visitenkarte) */
.rm-card { display: grid; grid-template-columns: auto 1fr; gap: 16px 22px; align-items: start; border: 1px solid #e3dac8; border-radius: 18px; padding: 22px 24px; background: #f9f5ea; }
.rm-card-img { width: 104px; height: 104px; border-radius: 14px; object-fit: cover; grid-row: span 2; }
.rm-card-body { min-width: 0; }
.rm-card-title { margin: 0 0 4px; font-size: 17px; font-weight: 800; color: #211f1a; }
.rm-card-addr { margin: 0 0 8px; font-size: 14.5px; line-height: 1.55; color: #6b6456; white-space: pre-line; }
.rm-card-contact { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.rm-card-contact a { font-weight: 700; color: var(--accent, #b8462e); font-size: 14.5px; word-break: break-word; }
.rm-card-map { grid-column: 1 / -1; position: relative; width: 100%; aspect-ratio: 16 / 7; border-radius: 14px; overflow: hidden; border: 1px solid #e3dac8; margin-top: 4px; }
.rm-card-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 520px) { .rm-card { grid-template-columns: 1fr; } .rm-card-img { grid-row: auto; } }
/* Eckenradius-Option greift auch aufs Bild durch (rm-image hat einen eigenen Default). */
.rm-radius-none .rm-image { border-radius: 0; }
.rm-radius-md .rm-image { border-radius: 16px; }
.rm-radius-lg .rm-image { border-radius: 26px; }
/* === Modul-spezifische Optionen === */
/* Hero: Höhe + (Overlay wird inline gesetzt) */
.reg-page .hero.rm-hero-h-compact { padding-top: 28px; padding-bottom: 28px; }
.reg-page .hero.rm-hero-h-tall { padding-top: 104px; padding-bottom: 104px; }
/* Überschrift: Farbe */
.rm-hc-accent { color: var(--accent, #b8462e); }
.rm-hc-muted { color: #7c776b; }
/* Text: Schriftgröße */
.rm-text-sm, .rm-text-sm p { font-size: 14px; }
.rm-text-lg, .rm-text-lg p { font-size: 18px; }
/* Button: Stil / Größe / volle Breite */
.btn.rm-btn-outline { background: transparent; border: 2px solid var(--accent, #b8462e); color: var(--accent, #b8462e); }
.btn.rm-btn-soft { background: color-mix(in srgb, var(--accent, #b8462e) 14%, #fff); color: var(--accent, #b8462e); border: 0; }
.rm-btn-sm { padding: 8px 16px; font-size: 13px; }
.rm-btn-lg { padding: 14px 30px; font-size: 17px; }
.rm-btn-full { display: block; width: 100%; text-align: center; }
.rm-btn-wrap-full { display: block; }
/* Button-Ausrichtung (block.btnAlign / form-submitAlign): Wrapper richtet den Button aus. */
.rm-btnrow { display: flex; gap: 10px; flex-wrap: wrap; }
.rm-btnrow-left { justify-content: flex-start; }
.rm-btnrow-center { justify-content: center; }
.rm-btnrow-right { justify-content: flex-end; }
/* Trennlinie: Stil + Stärke */
.rm-divider.rm-hr-dashed { border-top-style: dashed; }
.rm-divider.rm-hr-dotted { border-top-style: dotted; }
.rm-divider.rm-hr-medium { border-top-width: 2px; }
.rm-divider.rm-hr-thick { border-top-width: 4px; }
/* Spalten (Sprecher / Partner / Galerie) */
.rm-cols-2 .rm-speakers, .rm-cols-2 .rm-partners, .rm-cols-2 .rm-gallery { grid-template-columns: repeat(2, 1fr); }
.rm-cols-3 .rm-speakers, .rm-cols-3 .rm-partners, .rm-cols-3 .rm-gallery { grid-template-columns: repeat(3, 1fr); }
.rm-cols-4 .rm-speakers, .rm-cols-4 .rm-partners, .rm-cols-4 .rm-gallery { grid-template-columns: repeat(4, 1fr); }
/* Sprecher: eckige Fotos */
.rm-shape-square .rm-speaker > img, .rm-shape-square .rm-speaker-avatar { border-radius: 16px; }
/* Partner: Graustufen aus */
.rm-gray-off .rm-partners img { filter: none; opacity: 1; }
/* Galerie: Abstand */
.rm-gap-sm .rm-gallery { gap: 8px; }
.rm-gap-lg .rm-gallery { gap: 22px; }
/* Agenda: Karten-Variante */
.rm-agenda-cards .rm-agenda { gap: 12px; }
.rm-agenda-cards .rm-agenda-item { border: 1px solid #e3dac8; border-radius: 16px; padding: 16px 18px; background: #fffdf7; box-shadow: 0 1px 2px rgba(33,31,26,.04); }
/* Zitat-Varianten */
.rm-quote-centered { border-left: 0; padding: 8px 0; text-align: center; }
.rm-quote-centered p { font-size: 23px; }
.rm-quote-card { border-left: 0; background: #f9f5ea; border-radius: 18px; padding: 28px; border: 1px solid #ece5d6; }
/* === Inhaltsbreite (theme.contentWidth) === */
.reg-page.rm-w-narrow { max-width: 560px; }
.reg-page.rm-w-normal { max-width: 720px; }
.reg-page.rm-w-wide { max-width: 920px; }
.reg-page.rm-w-full { max-width: 1100px; }
/* Vollbreite („normale Webseite", Sweap-Modell): die Seite füllt die ganze Browserbreite,
   die Bereichs-Hintergründe (areaStyles bg / Akzent-Band) laufen edge-to-edge — aber der
   INHALT jedes Bereichs sitzt in einer zentrierten Spalte (max 1140px, exakt wie Sweaps
   Bootstrap-.container). Padding = halber Überschuss über 1140px, sonst responsiver Gutter.
   Das seitliche Padding verkleinert den Hintergrund NICHT → vollbreites Band + mittiger Inhalt. */
.reg-page.rm-w-fluid { max-width: none; width: 100%; }
.reg-page.rm-w-fluid > * {
  padding-left: max(clamp(16px, 5vw, 40px), calc((100% - 1140px) / 2));
  padding-right: max(clamp(16px, 5vw, 40px), calc((100% - 1140px) / 2));
}
/* Opt-out „randlos" (style.bleed): einzelnes Modul/Bereich edge-to-edge ohne Container
   (z. B. eine echte Vollbild-Bande/Bild). Hebt das zentrierende Padding wieder auf. */
.reg-page.rm-w-fluid > .rm-bleed,
.reg-page.rm-w-fluid .reg-section > .rm-bleed { padding-left: 0; padding-right: 0; }
/* Altlast: style.contained ist im Vollbreite-Default jetzt der Normalfall (No-Op). */
.reg-page.rm-w-fluid > .rm-contained,
.reg-page.rm-w-fluid .reg-section > .rm-contained {
  padding-left: max(clamp(16px, 5vw, 40px), calc((100% - 1140px) / 2));
  padding-right: max(clamp(16px, 5vw, 40px), calc((100% - 1140px) / 2));
}
/* Auto-responsive: feste Mehrspalten-Raster brechen auf dem Handy auf 1 Spalte. */
@media (max-width: 640px) {
  .rm-cols-2 .rm-speakers, .rm-cols-3 .rm-speakers, .rm-cols-4 .rm-speakers,
  .rm-cols-2 .rm-partners, .rm-cols-3 .rm-partners, .rm-cols-4 .rm-partners,
  .rm-cols-2 .rm-gallery, .rm-cols-3 .rm-gallery, .rm-cols-4 .rm-gallery,
  .rm-hl-cols-2 .rm-highlights, .rm-hl-cols-3 .rm-highlights { grid-template-columns: 1fr; }
}

/* === 2-Spalten-Layout (block.style.col) === */
.reg-page.rm-flow { display: flex; flex-wrap: wrap; align-items: flex-start; }
.reg-page.rm-flow > * { flex: 0 1 100%; min-width: 0; }
.reg-page.rm-flow > .rm-col-half { flex: 0 1 50%; max-width: 50%; }
@media (max-width: 560px) {
  .reg-page.rm-flow > .rm-col-half { flex-basis: 100%; max-width: 100%; }
}
/* Sektionen (Sweap-Stil): jede Sektion ist ein eigener Flow-Container für ihre Module
   (inkl. 2-Spalten). Eine Sektion ist ein direktes reg-page-Kind → bekommt im Fluid-
   Modus das mittige Inhalts-Padding, Sektion-Hintergründe gehen edge-to-edge. */
.reg-section { display: flex; flex-wrap: wrap; align-items: flex-start; scroll-margin-top: 80px; }
.reg-section > * { flex: 0 1 100%; min-width: 0; }
.reg-section > .rm-col-half { flex: 0 1 50%; max-width: 50%; }
@media (max-width: 560px) {
  .reg-section > .rm-col-half { flex-basis: 100%; max-width: 100%; }
}
/* Spaltenabstand (theme.colGap): horizontaler Innenabstand der Halbspalten = Lücke zwischen
   zwei nebeneinanderliegenden Modulen. md ist der Default. */
.reg-page.rm-cg-none .rm-col-half { padding-left: 0; padding-right: 0; }
.reg-page.rm-cg-sm .rm-col-half { padding-left: 10px; padding-right: 10px; }
.reg-page.rm-cg-md .rm-col-half { padding-left: 20px; padding-right: 20px; }
.reg-page.rm-cg-lg .rm-col-half { padding-left: 36px; padding-right: 36px; }
/* Bereichs-Grenzen bündig: erstes Modul ohne Außenabstand oben, letztes ohne unten — so steuert
   allein „Abstand oben/unten" (padPx) bzw. „Abstand nach unten" (mbPx) der Bereiche den Abstand. */
.reg-section > :first-child { margin-top: 0; }
.reg-section > :last-child { margin-bottom: 0; }
.reg-section > .rm-section:first-child,
.reg-section > .rm-styled:first-child > .rm-section { padding-top: 0; }
.reg-section > .rm-section:last-child,
.reg-section > .rm-styled:last-child > .rm-section { padding-bottom: 0; }
/* Freie Textfarbe (block.style.textColor) — erzwingt die Farbe auf alle Kinder,
   auch den Hero (der sonst fest weiß ist). Inline-color liegt auf .rm-tc. */
.reg-page .rm-tc, .reg-page .rm-tc * { color: inherit; }
/* Hero: vertikale Textposition (oben/mitte/unten) + Mindesthöhen pro Höhe */
.reg-page .hero { display: flex; flex-direction: column; }
.reg-page .hero.rm-hero-h-compact { min-height: 200px; }
.reg-page .hero.rm-hero-h-normal { min-height: 320px; }
.reg-page .hero.rm-hero-h-tall { min-height: 480px; }
.reg-page .hero.rm-hv-top { justify-content: flex-start; }
.reg-page .hero.rm-hv-center { justify-content: center; }
.reg-page .hero.rm-hv-bottom { justify-content: flex-end; }
/* Countdown-Optionen: Größe + Stil (Kacheln/Schlicht) */
.rm-cd-sm .rm-countdown-value { font-size: 26px; }
.rm-cd-lg .rm-countdown-value { font-size: 50px; }
.rm-cd-sm .rm-countdown-item { min-width: 58px; padding: 12px 8px; }
.rm-cd-lg .rm-countdown-item { min-width: 96px; padding: 20px 16px; }
.rm-cd-plain .rm-countdown-item { background: transparent; border: 0; padding: 6px 8px; }
/* === Options-Welle 2: weitere Modul-Optionen === */
/* Überschrift: Stärke + Akzent-Unterstrich */
.rm-fw-normal { font-weight: 500; }
.rm-fw-bold { font-weight: 700; }
.rm-fw-black { font-weight: 800; }
.rm-hu { display: inline-block; border-bottom: 3px solid var(--accent, #b8462e); padding-bottom: 6px; }
/* Text: Zeilenabstand + Lesebreite */
.rm-lh-tight, .rm-lh-tight p { line-height: 1.4; }
.rm-lh-relaxed, .rm-lh-relaxed p { line-height: 1.95; }
.rm-mw-readable { max-width: 62ch; }
/* Button: Rundung */
.btn.rm-rounded-sm { border-radius: 8px; }
.btn.rm-rounded-md { border-radius: 12px; }
.btn.rm-rounded-pill { border-radius: 999px; }
/* Trennlinie: Breite */
.rm-divider.rm-hrw-half { width: 50%; margin-left: auto; margin-right: auto; }
.rm-divider.rm-hrw-short { width: 90px; margin-left: auto; margin-right: auto; border-top-width: 3px; }
/* Bild + Text: Bildbreite + vertikale Ausrichtung */
.rm-imgtext.rm-it-narrow > img { flex: 0 1 34%; min-width: 180px; }
.rm-imgtext.rm-it-wide > img { flex: 0 1 60%; }
.rm-imgtext.rm-itv-top { align-items: flex-start; }
/* Agenda kompakt */
.rm-agenda-compact .rm-agenda-item { padding: 9px 0; }
/* Sprecher als Karten */
.rm-spk-card .rm-speaker { background: #fffdf7; border: 1px solid #ece5d6; border-radius: 18px; padding: 18px 14px; box-shadow: 0 1px 2px rgba(33,31,26,.04); }
/* FAQ-Varianten */
.rm-faq-lines .rm-faq-item { border: 0; border-bottom: 1px solid #e3dac8; border-radius: 0; padding: 14px 2px; background: transparent; box-shadow: none; }
.rm-faq-plain .rm-faq-item { border: 0; padding: 8px 2px; background: transparent; box-shadow: none; }
/* Galerie: Bildformat */
.rm-gal-original .rm-gallery > img { aspect-ratio: auto; }
.rm-gal-square .rm-gallery > img { aspect-ratio: 1 / 1; }
.rm-gal-landscape .rm-gallery > img { aspect-ratio: 4 / 3; }
/* Standort: schlicht */
.rm-loc-plain { border: 0; background: transparent; padding: 8px 0; }
/* Zitat: Größe */
.rm-quote-s-lg p { font-size: 25px; }
/* CTA: Anordnung + Button-Stil */
.rm-cta-split { display: flex; align-items: center; justify-content: space-between; gap: 28px; text-align: left; }
.rm-cta-split .rm-cta-body { flex: 1; }
.rm-cta-split h3, .rm-cta-split p { margin-bottom: 0; }
.rm-cta.rm-ctab-outline a { background: transparent; border: 2px solid #fff; color: #fff; }
/* Social: Form (gefüllt/umrandet/schlicht) + Größe */
.rm-soc-outline .rm-social-link { background: transparent; border-color: #d7ccb6; color: #211f1a; }
.rm-soc-text .rm-social-link { background: transparent; border-color: transparent; box-shadow: none; width: auto; height: auto; }
.rm-soc-text .rm-social-link:hover { transform: none; box-shadow: none; }
.rm-soc-s-sm .rm-social-link { width: 34px; height: 34px; }
.rm-soc-s-sm .rm-social-icon { width: 16px; height: 16px; }
.rm-soc-s-lg .rm-social-link { width: 48px; height: 48px; }
.rm-soc-s-lg .rm-social-icon { width: 22px; height: 22px; }
/* Marken-Farben („Originale Logofarben verwenden") — gefüllt */
.rm-soc-brand.rm-soc-pills .rm-social-website { background: var(--accent, #b8462e); color: #fff; }
.rm-soc-brand.rm-soc-pills .rm-social-facebook { background: #1877F2; color: #fff; }
.rm-soc-brand.rm-soc-pills .rm-social-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); color: #fff; }
.rm-soc-brand.rm-soc-pills .rm-social-linkedin { background: #0A66C2; color: #fff; }
.rm-soc-brand.rm-soc-pills .rm-social-xing { background: #006567; color: #fff; }
.rm-soc-brand.rm-soc-pills .rm-social-youtube { background: #FF0000; color: #fff; }
.rm-soc-brand.rm-soc-pills .rm-social-twitter { background: #000; color: #fff; }
.rm-soc-brand.rm-soc-pills .rm-social-tiktok { background: #000; color: #fff; }
/* Marken-Farben — umrandet (Symbol + Rahmen farbig) */
.rm-soc-brand.rm-soc-outline .rm-social-website { color: var(--accent, #b8462e); border-color: var(--accent, #b8462e); }
.rm-soc-brand.rm-soc-outline .rm-social-facebook { color: #1877F2; border-color: #1877F2; }
.rm-soc-brand.rm-soc-outline .rm-social-instagram { color: #d6249f; border-color: #d6249f; }
.rm-soc-brand.rm-soc-outline .rm-social-linkedin { color: #0A66C2; border-color: #0A66C2; }
.rm-soc-brand.rm-soc-outline .rm-social-xing { color: #006567; border-color: #006567; }
.rm-soc-brand.rm-soc-outline .rm-social-youtube { color: #FF0000; border-color: #FF0000; }
.rm-soc-brand.rm-soc-outline .rm-social-twitter { color: #000; border-color: #000; }
.rm-soc-brand.rm-soc-outline .rm-social-tiktok { color: #000; border-color: #000; }
/* Marken-Farben — schlicht (nur Symbol farbig) */
.rm-soc-brand.rm-soc-text .rm-social-website { color: var(--accent, #b8462e); }
.rm-soc-brand.rm-soc-text .rm-social-facebook { color: #1877F2; }
.rm-soc-brand.rm-soc-text .rm-social-instagram { color: #d6249f; }
.rm-soc-brand.rm-soc-text .rm-social-linkedin { color: #0A66C2; }
.rm-soc-brand.rm-soc-text .rm-social-xing { color: #006567; }
.rm-soc-brand.rm-soc-text .rm-social-youtube { color: #FF0000; }
.rm-soc-brand.rm-soc-text .rm-social-twitter { color: #000; }
.rm-soc-brand.rm-soc-text .rm-social-tiktok { color: #000; }
/* Fußzeile (E-Mail-Stil): dezent, zentriert */
.rm-footer { padding: 6px 0; }
.rm-foot-center { text-align: center; }
.rm-foot-left { text-align: left; }
.rm-footer-copy { font-size: 13px; color: #7c776b; margin: 0 0 4px; }
.rm-footer-text { font-size: 13px; color: #8a8475; margin: 0 0 6px; }
.rm-footer-links { font-size: 13px; margin: 4px 0 0; }
.rm-footer-links a { color: #7c776b; text-decoration: none; }
.rm-footer-links a:hover { color: var(--accent, #b8462e); text-decoration: underline; }
.rm-footer-links a + a::before { content: '·'; color: #c9bfaa; padding: 0 8px; }
/* Container/Gruppe (Modul-in-Modul): Raster mit 1–3 Spalten + einstellbarem Abstand */
.rm-container { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 8px 0; }
.rm-container.rm-cont-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rm-container.rm-cont-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rm-container.rm-cont-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rm-container.rm-cont-gap-sm { gap: 8px; }
.rm-container.rm-cont-gap-lg { gap: 28px; }
/* Tablet: 3er/4er-Raster auf 2 Spalten reduzieren, dann auf Mobil ganz stapeln. */
@media (max-width: 860px) { .rm-container.rm-cont-cols-3, .rm-container.rm-cont-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .rm-container.rm-cont-cols-2, .rm-container.rm-cont-cols-3, .rm-container.rm-cont-cols-4 { grid-template-columns: 1fr; } }
.rm-cont-empty { display: flex; align-items: center; justify-content: center; min-height: 80px; border: 1px dashed #ddd4c2; border-radius: 14px; color: #9a9484; font-size: 13px; padding: 16px; text-align: center; }
/* Video: Format */
.rm-video.rm-vid-4-3 { aspect-ratio: 4 / 3; }
.rm-video.rm-vid-1-1 { aspect-ratio: 1 / 1; }
/* Highlights: Spalten + Karten-Stil */
.rm-hl-cols-2 .rm-highlights { grid-template-columns: repeat(2, 1fr); }
.rm-hl-cols-3 .rm-highlights { grid-template-columns: repeat(3, 1fr); }
.rm-hl-outline .rm-highlight { background: transparent; border: 1px solid #e3dac8; box-shadow: none; }
/* Downloads: Karten */
.rm-dl-cards .rm-downloads { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.rm-dl-cards .rm-download a { background: #fffdf7; }
/* Bildunterschrift */
.rm-figure { margin: 8px 0; }
.rm-caption { margin: 7px 0 0; font-size: 13px; color: #7c776b; text-align: center; }
/* Rahmen-Option (Gestaltung → Rahmen) */
.rm-bd-subtle { border: 1px solid #e3dac8; padding: 22px; border-radius: 18px; }
.rm-bd-strong { border: 2px solid #ddd4c2; padding: 22px; border-radius: 18px; }
.rm-bd-accent { border: 2px solid var(--accent, #b8462e); padding: 22px; border-radius: 18px; }
/* 2-Spalten: nebeneinanderliegende halbe Module bekommen automatisch gleiche Höhe */
.reg-page.rm-flow { align-items: stretch; }
.reg-page.rm-flow > .rm-col-half { display: flex; flex-direction: column; }
.reg-page.rm-flow > .rm-col-half > * { flex: 1 1 auto; }

/* Status-Panel: Vollseiten-HTML, wenn die Anmeldung nicht offen ist (page.tsx RegStatusPanel).
   Liegt im .reg-custom-html-Wrapper und erbt dessen Schrift-/Farbvariablen (scopeFullPageCss mappt
   :root/body des Seiten-CSS auf diesen Wrapper). Die var()-Fallbacks decken IHK-Seiten (--color-primary/
   --font-heading/--font-body/--radius-lg …) UND Seiten ohne eigene Variablen (Warm-Editorial-Default) ab. */
.reg-status-screen { min-height: 100vh; min-height: 100dvh; display: flex; align-items: center; justify-content: center; box-sizing: border-box; padding: 32px 20px; background: var(--color-grey-light, var(--color-bg, #f1ece0)); font-family: var(--font-body, system-ui, -apple-system, "Segoe UI", sans-serif); }
.reg-status-card { width: 100%; max-width: 560px; box-sizing: border-box; text-align: center; background: var(--color-white, #fffdf7); border-radius: var(--radius-lg, 22px); padding: clamp(32px, 6vw, 56px); box-shadow: 0 18px 50px -18px rgba(33,31,26,.32); border-top: 6px solid var(--accent, var(--color-primary, #b8462e)); }
.reg-status-badge { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 7px 16px; border-radius: 999px; background: var(--accent, var(--color-primary, #b8462e)); color: #fff; }
.reg-status-title { margin: 18px 0 10px; font-family: var(--font-heading, var(--font-display, "Bricolage Grotesque", system-ui, sans-serif)); font-size: clamp(26px, 4vw, 38px); font-weight: 800; line-height: 1.12; color: var(--color-primary, #211f1a); }
.reg-status-note { margin: 0 auto; max-width: 42ch; font-size: 16.5px; line-height: 1.6; color: var(--color-primary-dim-1, #6b6456); }
.reg-status-event { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--color-primary-dim-3, #e3dac8); }
.reg-status-event-title { font-family: var(--font-heading, var(--font-display, system-ui, sans-serif)); font-size: 18px; font-weight: 700; color: var(--color-primary, #211f1a); }
.reg-status-event-line { margin-top: 6px; font-size: 14.5px; color: var(--color-primary-dim-1, #7c776b); }
