/* Impact Lab – Grundstil nach The Good Media Network (thegoodmedia.net) */

@font-face { font-family: "Proxima Nova Condensed"; font-weight: 400; font-style: normal; font-display: optional; src: url("../fonts/ProximaNovaCondensed-Regular.woff2") format("woff2"); }
@font-face { font-family: "Proxima Nova Condensed"; font-weight: 400; font-style: italic; font-display: optional; src: url("../fonts/ProximaNovaCondensed-Italic.woff2") format("woff2"); }
@font-face { font-family: "Proxima Nova Condensed"; font-weight: 700; font-style: normal; font-display: optional; src: url("../fonts/ProximaNovaCondensed-Bold.woff2") format("woff2"); }
@font-face { font-family: "Proxima Nova Condensed"; font-weight: 700; font-style: italic; font-display: optional; src: url("../fonts/ProximaNovaCondensed-BoldItalic.woff2") format("woff2"); }
@font-face { font-family: "Proxima Nova"; font-weight: 800; font-style: normal; font-display: optional; src: url("../fonts/ProximaNova-Extrabold.woff2") format("woff2"); }
@font-face { font-family: "Plantin"; font-weight: 400; font-style: normal; font-display: optional; src: url("../fonts/PlantinProRoman.woff2") format("woff2"); }
@font-face { font-family: "Plantin"; font-weight: 400; font-style: italic; font-display: optional; src: url("../fonts/PlantinProItalic.woff2") format("woff2"); }

:root {
    --violet: #200076;
    --violet-soft: #e6e3f1;
    --violet-tint: #f1effa;
    --violet-line: #5a4a9e;
    --pink: #ff4c5c;
    --pink-dark: #c8203a;
    --blue-grey: #A5AFBE;
    --ground: #f3f3f3;
    --card: #ffffff;
    --ink: #000000;
    --ink-2: #2b2b2b;
    --muted: #555555;
    --line: #e6e6e6;
    --sans: "Proxima Nova Condensed", "Helvetica Neue", "Arial Narrow", Arial, sans-serif;
    --display: "Proxima Nova", "Proxima Nova Condensed", "Helvetica Neue", Arial, sans-serif;
    --serif: "Plantin", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.5; }
img { max-width: 100%; display: block; }
body > main { flex: 1 0 auto; }
/* React-Seiten: Kopf, Inhalt und Fuß stecken in #app – auch dort steht der Fuß bei kurzem Inhalt unten */
body > #app { flex: 1 0 auto; display: flex; flex-direction: column; }
#app > main { flex: 1 0 auto; }
.site-header, .site-footer { flex-shrink: 0; }
a { color: var(--violet); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 2px; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.stack { display: flex; flex-direction: column; gap: var(--gap, 16px); }
.row { display: flex; flex-wrap: wrap; gap: var(--gap, 12px); align-items: center; }
.between { justify-content: space-between; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Typografie */
h1, h2, h3 { margin: 0; text-transform: uppercase; letter-spacing: .01em; line-height: 1.05; }
h1 { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 5vw, 58px); }
h2 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3vw, 36px); letter-spacing: .02em; }
h3 { font-weight: 700; font-size: 24px; line-height: 1.15; }
p { margin: 0; }
.serif { font-family: var(--serif); }
.lead { font-family: var(--serif); font-size: 20px; line-height: 1.55; color: var(--ink-2); max-width: 34em; }
.prose { font-family: var(--serif); font-size: 19px; line-height: 1.6; color: var(--ink-2); }
.prose p + p { margin-top: 1em; }
.kicker { font-weight: 700; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--violet); }
.kicker.rule { display: flex; align-items: center; gap: 12px; }
.kicker.rule::before { content: ""; width: 32px; height: 3px; background: var(--pink); }
.muted { color: var(--muted); }
.small { font-size: 15px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 4px; border: 1.5px solid transparent; font-family: var(--sans); font-weight: 700; font-size: 19px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--pink); color: #fff; }
.btn-primary:hover { background: var(--pink-dark); color: #fff; }
.btn-outline { border-color: var(--violet); color: var(--violet); background: transparent; }
.btn-outline:hover { background: var(--violet); color: #fff; }
.btn-outline-light { border-color: #fff; color: #fff; background: transparent; }
.btn-outline-light:hover { background: #fff; color: var(--violet); }
.btn-block { display: flex; width: 100%; min-height: 54px; font-size: 20px; }
.link-caps { font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--violet); }

/* Kopf */
.site-header { background: var(--violet); color: #fff; }
.site-header .container { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.wordmark { display: flex; align-items: center; gap: 6px; font-size: 26px; letter-spacing: .03em; text-transform: uppercase; }
.wordmark b { font-family: var(--display); font-weight: 800; }
.wordmark span { color: var(--blue-grey); }
.wordmark i { width: 9px; height: 9px; border-radius: 50%; background: var(--pink); display: inline-block; }
.brand .sep { width: 1px; height: 30px; background: var(--violet-line); }
.brand img { height: 30px; width: 67px; }
.main-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; flex: 1 1 auto; }
.main-nav a, .header-actions .nav-link { color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; padding: 8px 0; }
.main-nav a:hover, .main-nav a[aria-current="page"], .header-actions .nav-link:hover { color: var(--blue-grey); }
.main-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--pink); }
.header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--pink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; }
.inline-form { display: inline; margin: 0; }
.link-button { background: none; border: 0; padding: 8px 0; font: inherit; cursor: pointer; }

/* Abschnitte */
.section { padding: 72px 0; }
.section-white { background: #fff; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.hero .container { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 80px; }
.hero-text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.hero-media { flex: 1 1 420px; min-width: 0; }
.placeholder { aspect-ratio: 4 / 3; border-radius: 4px; background: #d8d5e4; display: flex; align-items: flex-end; padding: 20px; color: #3d3d3d; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.placeholder.wide { aspect-ratio: 16 / 9; }
.placeholder.dark { background: var(--violet); color: #d6d1ee; }

/* Karten */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.card { background: var(--card); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
.card-media { aspect-ratio: 16 / 10; background: #c9c5dc; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.card-label { font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--violet); }
.card h3 { font-family: var(--display); font-weight: 800; }
.card h3 a { color: inherit; text-decoration: none; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 8px; border-top: 1px solid var(--line); }
.panel { background: var(--card); border-radius: 4px; padding: 24px; }
.panel-top { border-top: 4px solid var(--violet); }
.panel-top-pink { border-top: 4px solid var(--pink); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.step { display: flex; flex-direction: column; gap: 10px; border-top: 3px solid var(--pink); padding-top: 18px; }
.step-num { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--violet); }

/* Workshop-Seite */
.layout-aside { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.layout-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.layout-side { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.booking-box { scroll-margin-top: 16px; }
.mobile-book { display: none; align-self: flex-start; }
@media (max-width: 979px) { .mobile-book { display: inline-flex; } }
/* Lange Buttontexte (z. B. „Registrieren und buchen“) umbrechen statt abschneiden */
.btn-block { white-space: normal; text-align: center; line-height: 1.2; padding-top: 8px; padding-bottom: 8px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 17px; color: #3d3d3d; }
.meta strong { font-weight: 700; }
/* Steckbrief im Mitgliederprofil: Kacheln mit Bezeichnung über dem Wert, so viele Spalten wie Platz ist */
.profile-facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); background: var(--card); border-radius: 4px; border-top: 4px solid var(--violet); overflow: hidden; }
/* Trennlinien rechts und unten; am äußeren Rand schneidet overflow sie ab */
.profile-facts > div { padding: 16px 20px; min-width: 0; box-shadow: 1px 1px 0 var(--line); }
.profile-facts dt { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.profile-facts dd { margin: 4px 0 0; font-size: 19px; line-height: 1.3; color: var(--ink); overflow-wrap: anywhere; }
.profile-facts dd a { color: var(--violet); }
.breadcrumb { font-size: 15px; color: var(--muted); padding-top: 32px; }
.breadcrumb a { color: var(--muted); }
.list { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.speaker { display: flex; gap: 20px; align-items: flex-start; flex-wrap: wrap; }
.speaker-photo { width: 96px; height: 96px; border-radius: 50%; background: #c9c5dc; flex-shrink: 0; }
.notice { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding: 20px 24px; border-radius: 4px; background: var(--violet-soft); }

.option { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 4px; border: 2px solid var(--line); background: #fff; cursor: pointer; }
.option:has(input:checked) { border-color: var(--violet); background: var(--violet-tint); }
.option:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.option input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--violet); }
.option-text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; }
.option-title { font-weight: 700; font-size: 19px; }
.price { font-weight: 800; font-size: 19px; white-space: nowrap; }
fieldset { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 10px; }

/* Formulare */
.auth { max-width: 480px; margin: 56px auto 80px; }
.form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; }
.input { min-height: 48px; border-radius: 4px; border: 1px solid #b9b6c9; padding: 0 14px; font: inherit; font-size: 18px; background: #fff; }
.input:focus { border-color: var(--violet); outline: 2px solid var(--violet); outline-offset: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--violet); }
.error { color: var(--pink-dark); font-size: 15px; }
.alert { padding: 14px 18px; border-radius: 4px; background: var(--violet-soft); color: var(--violet); font-weight: 700; }
.alert-error { background: #fde8ea; color: #9b1426; }

/* Mein Bereich */
.date-card { background: var(--violet); color: #fff; border-radius: 4px; padding: 24px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.date-box { width: 96px; flex-shrink: 0; text-align: center; border-right: 1px solid var(--violet-line); padding-right: 20px; }
.date-box .m { font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-grey); }
.date-box .d { font-family: var(--display); font-weight: 800; font-size: 46px; line-height: 1; }
.list-links a { display: flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; border-bottom: 1px solid #eee; }
.list-links a:last-child { border-bottom: 0; }
.table { width: 100%; border-collapse: collapse; font-size: 16px; }
.table th, .table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.badge { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; padding: 2px 10px; background: var(--violet-soft); color: var(--violet); }
.code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 20px; letter-spacing: .06em; background: var(--violet-tint); padding: 10px 14px; border-radius: 4px; display: inline-block; }

/* Live-Raum (Platzhalter) */
.live { background: #0f0c26; color: #f3f2f1; min-height: 70vh; }
.live .stage { aspect-ratio: 16 / 9; background: #000; border-radius: 4px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: #b5b3b1; }
.live-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--pink); border-radius: 4px; padding: 4px 10px; }

/* Fuß */
.site-footer { background: #000; color: #d9d9d9; }
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-top: 48px; padding-bottom: 48px; font-size: 15px; }
.site-footer a { color: #d9d9d9; }
.site-footer img { height: 44px; width: 98px; }

@media (max-width: 640px) {
    body { font-size: 17px; }
    .section { padding: 48px 0; }
    .hero .container { padding-top: 40px; padding-bottom: 48px; }
    .brand img, .brand .sep { display: none; }
}

/* Gebucht-Markierung auf Karten */
.card-media { position: relative; }
.card-flag { position: absolute; top: 12px; left: 12px; z-index: 1; background: var(--violet); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; border-radius: 3px; padding: 4px 10px; }

/* Meine Buchungen */
.bookings { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.booking { background: var(--card); border-radius: 4px; padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.booking-date { width: 72px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; border-right: 1px solid var(--line); padding-right: 16px; line-height: 1.1; }
.booking-date .m { font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--violet); white-space: nowrap; }
.booking-date .d { font-family: var(--display); font-weight: 800; font-size: 30px; }
.booking-main { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.booking-title { font-weight: 700; font-size: 20px; line-height: 1.2; color: var(--ink); text-decoration: none; }
.booking-title:hover { color: var(--violet); text-decoration: underline; }
.booking-actions { flex-shrink: 0; }
.badge-quiet { background: #ececec; color: #3d3d3d; }

/* Menü: Desktop nebeneinander, Handy aufklappbar */
.site-menu { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; flex: 1 1 auto; }
.menu-toggle { display: none; margin-left: auto; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 4px; font: inherit; font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.menu-toggle .menu-icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-icon-close { display: inline; }

@media (max-width: 1180px) {
    .site-header .container { flex-wrap: wrap; gap: 0 16px; }
    .menu-toggle { display: inline-flex; }
    .site-menu { display: none; flex: 1 1 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 16px; border-top: 1px solid var(--violet-line); margin-top: 14px; }
    .site-menu.is-open { display: flex; }
    .main-nav { flex-direction: column; gap: 0; }
    .main-nav a, .header-actions .nav-link { display: flex; align-items: center; min-height: 48px; padding: 0; border-bottom: 1px solid var(--violet-line); font-size: 18px; }
    .main-nav a[aria-current="page"], .header-actions .nav-link[aria-current="page"] { box-shadow: none; color: var(--blue-grey); }
    .header-actions { flex-direction: column; align-items: stretch; gap: 0; }
    .header-actions .inline-form { display: block; }
    .header-actions .link-button { width: 100%; text-align: left; }
    .header-actions .btn { margin-top: 16px; }
}
.card-foot .link-caps { white-space: nowrap; }
@media (max-width: 640px) {
    .booking { padding: 14px 16px; }
    .booking-date { width: auto; flex-direction: row; align-items: baseline; gap: 8px; border-right: 0; padding-right: 0; }
    .booking-actions, .booking-actions .btn { width: 100%; }
}

/* Kontomenü hinter dem Kürzel, immer ganz rechts */
.account-menu { position: relative; display: flex; align-items: center; }
.account-toggle { display: inline-flex; align-items: center; gap: 4px; padding: 0; background: none; border: 0; color: #fff; cursor: pointer; font: inherit; }
.account-toggle:hover .avatar, .account-toggle:focus-visible .avatar, .account-menu.is-open .avatar { box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.account-toggle.is-current .avatar { box-shadow: 0 0 0 3px var(--blue-grey); }
.account-caret { transition: transform .15s ease; }
.account-menu.is-open .account-caret { transform: rotate(180deg); }
.account-panel { display: none; position: absolute; right: 0; top: calc(100% + 12px); z-index: 60; min-width: 270px; padding: 6px 0; background: #fff; color: var(--ink); border-radius: 6px; box-shadow: 0 16px 40px rgba(16, 0, 60, .28); }
.account-menu.is-open .account-panel { display: block; }
.account-panel-head { display: grid; gap: 2px; padding: 12px 18px 14px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.account-panel-head span { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.account-panel a, .account-panel .link-button { display: block; width: 100%; padding: 10px 18px; color: var(--ink); font-size: 16px; font-weight: 600; text-align: left; text-decoration: none; }
.account-panel a:hover, .account-panel a:focus-visible, .account-panel .link-button:hover, .account-panel .link-button:focus-visible { background: var(--violet-soft); color: var(--violet); }
.account-panel a[aria-current="page"] { color: var(--violet); box-shadow: inset 3px 0 0 var(--pink); }
.account-logout { margin: 6px 0 0; padding-top: 6px; border-top: 1px solid var(--line); }
@media (max-width: 1180px) {
    /* Handy: keine Ausklappliste, die Einträge stehen direkt im aufgeklappten Menü */
    .account-menu { display: block; }
    .account-toggle, .account-panel-head, .account-panel .account-extra { display: none; }
    .account-panel { display: block; position: static; min-width: 0; padding: 0; background: none; box-shadow: none; border-radius: 0; }
    .account-panel a, .account-panel .link-button { display: flex; align-items: center; min-height: 48px; padding: 0; border-bottom: 1px solid var(--violet-line); color: #fff; font-size: 18px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
    .account-panel a:hover, .account-panel a:focus-visible, .account-panel .link-button:hover, .account-panel .link-button:focus-visible, .account-panel a[aria-current="page"] { background: none; color: var(--blue-grey); box-shadow: none; }
    .account-logout { margin: 0; padding: 0; border: 0; }
}

/* Bezahlformular (Stripe Embedded Checkout) im Modal */
.checkout-dialog { width: min(640px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 6px; background: #fff; color: inherit; box-shadow: 0 24px 64px rgba(16, 0, 60, .35); overflow: hidden; }
.checkout-dialog[open] { display: flex; flex-direction: column; }
.checkout-dialog::backdrop { background: rgba(0, 0, 0, .72); }
html:has(.checkout-dialog[open]) { overflow: hidden; }
.checkout-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 4px solid var(--pink); background: var(--violet); color: #fff; }
.checkout-dialog-head .kicker { color: #fff; opacity: .8; }
.checkout-dialog-head h2 { font-size: 24px; line-height: 1.15; color: #fff; overflow-wrap: anywhere; }
.checkout-dialog-head .muted { color: #fff; opacity: .85; }
.checkout-close { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: -6px -8px 0 0; border: 0; border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.checkout-close:hover { background: rgba(255, 255, 255, .15); }
.checkout-dialog-body { padding: 16px 8px 8px; overflow-y: auto; min-height: 240px; }
.checkout-dialog-body [data-checkout-loading] { padding: 0 16px; }
@media (max-width: 640px) {
    .checkout-dialog { inset: 0; margin: 0; width: auto; max-width: none; height: auto; max-height: none; border-radius: 0; }
    .checkout-dialog-head { padding: 16px; }
    .checkout-dialog-head h2 { font-size: 20px; }
}

/* ---- Community ---------------------------------------------------- */
.community-head { background: var(--violet); color: #fff; border-top: 1px solid var(--violet-line); }
.community-head .container { padding-top: 22px; display: flex; flex-direction: column; gap: 4px; }
.community-title { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4vw, 44px); line-height: 1.05; text-transform: uppercase; }
.community-title-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; }
.page-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 24px; }
.guide-link { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px 0 12px; border: 1.5px solid var(--violet); border-radius: 4px; color: var(--violet); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.guide-link:hover { background: var(--violet); color: #fff; }
.guide-link-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.guide-link-light:hover { background: #fff; border-color: #fff; color: var(--violet); }
.guide-hint { margin: 16px 0 0; color: var(--ink-2); }
.community-tabs { display: flex; gap: 0 28px; margin-top: 14px; overflow-x: auto; scrollbar-width: none; }
.community-tabs::-webkit-scrollbar { display: none; }
.community-tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; color: #fff; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; border-bottom: 3px solid transparent; }
.community-tabs a:hover { color: var(--blue-grey); }
.community-tabs a[aria-current="page"] { border-bottom-color: var(--pink); }
/* Schmale Bildschirme: alle vier Reiter sichtbar (zwei Zeilen statt abgeschnitten) */
@media (max-width: 640px) {
    .community-tabs { flex-wrap: wrap; gap: 0 18px; overflow: visible; margin-top: 8px; }
    .community-tabs a { font-size: 15px; letter-spacing: .04em; min-height: 44px; }
}
.count-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--pink); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0; line-height: 1; }
.nav-messages { display: inline-flex; align-items: center; gap: 6px; }
.avatar-img { object-fit: cover; padding: 0; }

.page-title { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.08; text-transform: uppercase; margin: 0; }
.side-title { font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 6px; }
.narrow { max-width: 760px; margin: 0 auto; }
.btn-small { min-height: 38px; padding: 0 14px; font-size: 15px; }
.textarea { min-height: 120px; padding: 12px 14px; line-height: 1.5; resize: vertical; font-family: var(--sans); }
select.input { padding-right: 32px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.muted-link { color: inherit; text-decoration: none; }
.muted-link:hover { text-decoration: underline; color: inherit; }
.mobile-only { display: none; }
.plain-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }

.member-avatar { --size: 44px; width: var(--size); height: var(--size); flex: none; border-radius: 50%; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: var(--violet-soft); color: var(--violet); font-weight: 700; font-size: calc(var(--size) * .36); letter-spacing: .02em; }
.member-avatar img { width: 100%; height: 100%; object-fit: cover; }
.member-name { font-weight: 700; color: var(--ink); text-decoration: none; }
a.member-name:hover { color: var(--violet); text-decoration: underline; }
.member-name.is-deleted { color: var(--muted); font-style: italic; font-weight: 400; }

/* Themenliste */
.thread-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.thread-item { background: var(--card); border-radius: 4px; padding: 16px 20px; display: flex; gap: 16px; align-items: center; }
.thread-item.is-pinned { box-shadow: inset 4px 0 0 var(--pink); }
.thread-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.thread-title { font-weight: 700; font-size: 20px; line-height: 1.25; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.thread-title:hover { color: var(--violet); text-decoration: underline; }
.thread-title .badge { vertical-align: 2px; }
.thread-meta a { color: inherit; }
.thread-stats { flex: none; display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 2px; min-width: 110px; }
.category-list { display: flex; flex-direction: column; }
.category-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; color: var(--ink); text-decoration: none; border-bottom: 1px solid #eee; }
.category-list a:last-child { border-bottom: 0; }
.category-list a:hover { color: var(--violet); }
.category-list a[aria-current="page"] { color: var(--violet); font-weight: 700; box-shadow: inset 3px 0 0 var(--pink); padding-left: 10px; }

/* Thema */
.thread-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 12px 0 24px; }
.posts { display: flex; flex-direction: column; gap: 12px; }
.post { background: var(--card); border-radius: 4px; padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 24px; }
.post.is-opening { border-top: 4px solid var(--violet); }
.post:target { box-shadow: 0 0 0 3px var(--violet-soft); }
.post-head { display: flex; gap: 14px; align-items: center; }
.post-author { font-size: 19px; }
.post-body { font-size: 18px; overflow-wrap: anywhere; }
.post-body p, .chat-text p { margin: 0 0 .75em; }
.post-body p:last-child, .chat-text p:last-child { margin-bottom: 0; }
.post-actions { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 15px; border-top: 1px solid var(--line); padding-top: 10px; }
.post-actions a, .post-actions .link-button { color: var(--muted); font-size: 15px; padding: 0; text-decoration: none; }
.post-actions a:hover, .post-actions .link-button:hover { color: var(--violet); text-decoration: underline; }
.reply-box { margin-top: 24px; }

.pagination { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.pagination .page { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 12px; border-radius: 4px; background: var(--card); color: var(--violet); text-decoration: none; font-weight: 700; }
.pagination a.page:hover { background: var(--violet-soft); }
.pagination .is-current { background: var(--violet); color: #fff; }
.pagination .is-disabled { color: #b5b5b5; }
.pagination .is-gap { background: transparent; }

/* Mitglieder */
.search-form { display: flex; gap: 8px; flex: 1 1 340px; max-width: 520px; }
.search-form .input { flex: 1 1 auto; min-width: 0; }
.member-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); grid-auto-rows: 1fr; gap: 12px; }
.member-card { display: flex; gap: 14px; align-items: center; height: 100%; padding: 16px; background: var(--card); border-radius: 4px; color: var(--ink); text-decoration: none; }
.member-card:hover { box-shadow: inset 0 0 0 2px var(--violet-soft); color: var(--ink); }
.member-card-text { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.member-card-name { font-weight: 700; font-size: 19px; line-height: 1.2; overflow-wrap: anywhere; }
.member-card-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.profile-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.avatar-field { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: center; }
.avatar-actions { display: grid; gap: 8px; flex: 1 1 260px; }
.field-label { font-weight: 700; font-size: 16px; letter-spacing: .06em; text-transform: uppercase; }
/* Datei-Auswahl als Button: das echte Feld bleibt für Tastatur und Screenreader erreichbar */
.file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file-button { gap: 8px; cursor: pointer; }
.file-input:focus-visible + .file-button { outline: 3px solid var(--pink); outline-offset: 2px; }
.avatar-remove { color: var(--muted); font-size: 15px; text-decoration: underline; }
.avatar-remove:hover { color: var(--pink-dark); }
.avatar-status:empty { display: none; }

/* Zuschnitt des Profilfotos */
.crop-dialog { width: min(480px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 6px; background: #fff; color: inherit; box-shadow: 0 24px 64px rgba(16, 0, 60, .35); }
.crop-dialog[open] { display: flex; flex-direction: column; }
.crop-dialog::backdrop { background: rgba(0, 0, 0, .72); }
html:has(.crop-dialog[open]) { overflow: hidden; }
.crop-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-bottom: 4px solid var(--pink); background: var(--violet); color: #fff; }
.crop-head h2 { font-size: 22px; color: #fff; }
.crop-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: center; padding: 20px; overflow: auto; }
.crop-stage { position: relative; width: min(360px, 100%); aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: #1b1430; cursor: grab; touch-action: none; user-select: none; }
.crop-stage:active { cursor: grabbing; }
.crop-stage:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; }
.crop-stage img { position: absolute; top: 0; left: 0; max-width: none; transform-origin: 0 0; pointer-events: none; }
.crop-mask { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 9999px rgba(27, 20, 48, .62); outline: 2px solid rgba(255, 255, 255, .9); outline-offset: -1px; pointer-events: none; }
.crop-zoom { display: flex; align-items: center; gap: 10px; width: min(360px, 100%); color: var(--violet); }
.crop-zoom input { flex: 1; accent-color: var(--violet); }
.crop-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--line); }

/* Nachrichten */
.conversation-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.conversation { display: flex; gap: 14px; align-items: center; padding: 14px 18px; background: var(--card); border-radius: 4px; color: var(--ink); text-decoration: none; }
.conversation:hover { box-shadow: inset 0 0 0 2px var(--violet-soft); color: var(--ink); }
.conversation.is-unread { box-shadow: inset 4px 0 0 var(--pink); }
.conversation.is-unread .conversation-name { color: var(--violet); }
.conversation-text { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.conversation-name { font-weight: 700; font-size: 19px; }
.conversation-preview { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conversation-meta { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.chat-wrap { max-width: 908px; } /* 860px Inhalt + Rand; Brotkrumen bündig über dem Gespräch */
.chat-wrap .breadcrumb { padding-bottom: 16px; }
.chat { padding: 0; display: flex; flex-direction: column; }
.chat-head { display: flex; gap: 14px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.chat-messages { list-style: none; margin: 0; padding: 20px; display: flex; flex-direction: column; gap: 8px; max-height: min(62vh, 720px); overflow-y: auto; background: #fafafa; }
.chat-day { text-align: center; margin: 10px 0 4px; }
.chat-day span { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.chat-message { display: flex; scroll-margin: 20px; }
.chat-message.is-mine { justify-content: flex-end; }
.chat-bubble { max-width: min(78%, 560px); background: #fff; border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; padding: 10px 14px; overflow-wrap: anywhere; }
.chat-message.is-mine .chat-bubble { background: var(--violet); border-color: var(--violet); color: #fff; border-radius: 14px 14px 4px 14px; }
.chat-message.is-mine .chat-bubble a { color: #fff; }
.chat-meta { font-size: 13px; opacity: .7; margin-top: 4px; text-align: right; }
.chat-meta a { color: inherit; }
.chat-form { padding: 16px 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.chat-status { position: relative; background: #fafafa; }
.chat-head .chat-hide { margin-left: auto; flex-shrink: 0; }
.chat-hide .label-short { display: none; }
@media (max-width: 640px) { .chat-hide .label-long { display: none; } .chat-hide .label-short { display: inline; } }
.chat-empty { text-align: center; padding: 24px 0; }
.chat-bubble.is-deleted, .chat-message.is-mine .chat-bubble.is-deleted { background: transparent; border: 1px dashed var(--line); color: var(--muted); font-style: italic; }
.chat-meta .link-button { padding: 0; color: inherit; font-size: inherit; text-decoration: underline; }
.chat-typing { margin: 0; padding: 0 20px 10px; font-style: italic; animation: chat-pulse 1.4s ease-in-out infinite; }
.chat-typing[hidden], .chat-new[hidden] { display: none; }
@keyframes chat-pulse { 50% { opacity: .45; } }
.chat-new { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%); box-shadow: 0 2px 10px rgba(0,0,0,.15); background: #fff; }
.chat-message.is-new .chat-bubble { animation: chat-in .25s ease-out; }
@keyframes chat-in { from { opacity: 0; transform: translateY(6px); } }
.new-posts-bar { position: sticky; bottom: 16px; display: flex; justify-content: center; margin: 12px 0; z-index: 5; }
.new-posts-bar[hidden] { display: none; }
.new-posts-bar .btn { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.15); }
.post.is-new { animation: chat-in .3s ease-out; }
@media (prefers-reduced-motion: reduce) { .chat-typing, .chat-message.is-new .chat-bubble, .post.is-new { animation: none; } }

@media (max-width: 640px) {
    .thread-item { padding: 14px 16px; align-items: flex-start; }
    .thread-item .member-avatar { display: none; }
    .thread-stats { display: none; }
    .mobile-only { display: inline; }
    .post { padding: 18px 16px; }
    .chat-messages { padding: 14px; max-height: 60vh; }
    .chat-bubble { max-width: 88%; }
    .search-form { max-width: none; }
}
/* Nachrichten im Kopf: auf breiten Bildschirmen nur Symbol, damit das Menü in einer Zeile bleibt */
.nav-messages { position: relative; }
.nav-messages-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav-messages .count-badge { position: absolute; top: 0; right: -10px; min-width: 19px; height: 19px; font-size: 12px; padding: 0 5px; }
.count-badge[hidden] { display: none; }
.count-badge.bump { animation: badge-bump .6s ease-out 2; }
@keyframes badge-bump { 40% { transform: scale(1.35); } }
@media (max-width: 1180px) {
    .nav-messages { gap: 10px; }
    .nav-messages .nav-icon { display: none; }
    .nav-messages-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
    .nav-messages .count-badge { position: static; }
}

/* Inhaltsseiten und Startseitenbild */
/* height: auto, sonst macht das height-Attribut im img das Bild hochkant (aspect-ratio greift nur ohne feste Höhe) */
.hero-image { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.speaker-photo { object-fit: cover; }
.page-article { max-width: 760px; display: flex; flex-direction: column; gap: 24px; }
.rich-text h2 { font-family: var(--display); font-size: 26px; margin: 1.4em 0 .4em; }
.rich-text h3 { font-family: var(--sans); font-size: 21px; font-weight: 700; margin: 1.2em 0 .3em; }
.rich-text p { margin: 0 0 .9em; }
.rich-text ul, .rich-text ol { margin: 0 0 .9em; padding-left: 1.4em; }
.rich-text li { margin-bottom: .3em; }
.rich-text blockquote { margin: 0 0 .9em; padding-left: 18px; border-left: 3px solid var(--pink); color: #3d3d3d; }
.rich-text img { border-radius: 4px; margin: .6em 0 1em; height: auto; }
.rich-text > :first-child { margin-top: 0; }

/* Eingebetteter DOX-Stream-Player */
.player-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 4px; overflow: hidden; }
.player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Eingebetteter Live-Raum (DOX-Stream) */
.live-frame { position: relative; width: 100%; height: min(82vh, 860px); min-height: 520px; background: #0d0d10; border-radius: 6px; overflow: hidden; }
.live-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) { .live-frame { height: 88vh; } }

/* Mediathek: Bereiche und frei verfügbare Videos */
.mediathek-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.mediathek-head h2 { font-size: 28px; margin-right: auto; }
.mediathek-sub { font-family: var(--sans); font-weight: 700; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.badge-free { background: var(--pink); color: #fff; }
.free-hint { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; background: var(--violet-tint); border-left: 4px solid var(--pink); border-radius: 4px; padding: 14px 18px; }
.free-hint p { font-weight: 700; color: var(--violet); }
.topic-chips { display: flex; flex-direction: row; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.topic-chips label { position: relative; display: inline-flex; }
.topic-chips input { position: absolute; opacity: 0; pointer-events: none; }
.topic-chips span, .topic-chips a { display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px; background: var(--card); color: var(--violet); font-weight: 700; font-size: 15px; letter-spacing: .04em; text-decoration: none; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--violet-soft); }
.topic-chips span:hover, .topic-chips a:hover { box-shadow: inset 0 0 0 1.5px var(--violet); color: var(--violet); }
.topic-chips input:checked + span, .topic-chips a[aria-current="true"] { background: var(--violet); color: #fff; box-shadow: none; }
.topic-chips input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 2px; }
.video-media { display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--violet) 0%, #4b2fa8 100%); overflow: hidden; }
.video-media img { transition: transform .4s ease; }
.video-card:hover .video-media img { transform: scale(1.04); }
.video-play { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: rgba(255, 76, 92, .92); box-shadow: 0 6px 20px rgba(0, 0, 0, .25); transition: transform .2s ease, background .2s ease; }
.video-play::after { content: ""; position: absolute; left: 23px; top: 18px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #fff; }
.video-card:hover .video-play { transform: scale(1.1); background: var(--pink); }
.video-duration { position: absolute; right: 10px; bottom: 10px; background: rgba(0, 0, 0, .72); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .04em; border-radius: 3px; padding: 3px 8px; }
.card-flag-free { background: var(--pink); }
.card-flag-quiet { background: rgba(255, 255, 255, .92); color: var(--violet); }
.video-poster { position: relative; aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background: var(--violet) center / cover no-repeat; display: flex; align-items: center; justify-content: center; }
.video-poster::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(32, 0, 118, .55) 0%, rgba(32, 0, 118, .88) 100%); }
.video-poster-inner { position: relative; max-width: 520px; padding: 24px; text-align: center; color: #fff; display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 18px; }
.video-poster-title { font-family: var(--display); font-weight: 800; font-size: clamp(24px, 3vw, 32px); text-transform: uppercase; letter-spacing: .02em; }
.video-play-lg { position: relative; left: auto; top: auto; margin: 0; width: 72px; height: 72px; }
.video-play-lg::after { left: 28px; top: 22px; border-width: 14px 0 14px 21px; }
@media (max-width: 560px) { .video-poster { aspect-ratio: auto; min-height: 340px; } }

/* Mediathek: Für dich, Suche und Filter */
.for-you { background: var(--violet); color: #fff; border-radius: 4px; padding: 28px; }
.for-you h2 { color: #fff; font-size: 30px; }
.for-you .card { color: var(--ink); }
.for-you-head p { color: #d6d1ee; }
.for-you-head p a { font-weight: 700; color: #fff; }
.cards-3 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
@media (min-width: 900px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card-flag-match { background: #fff; color: var(--pink-dark); }
.video-filter { display: flex; flex-direction: column; gap: 14px; }
.video-filter-row { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; }
.search-field { flex: 1 1 280px; display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 14px; background: var(--card); border-radius: 4px; color: var(--muted); box-shadow: inset 0 0 0 1.5px var(--violet-soft); }
.search-field:focus-within { box-shadow: inset 0 0 0 2px var(--violet); }
.search-field input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 18px; color: var(--ink); outline: none; }
.select-field { flex: 0 1 auto; }
.select-field select { min-height: 48px; padding: 0 36px 0 14px; border: 0; border-radius: 4px; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23200076' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; font: inherit; font-size: 17px; color: var(--violet); font-weight: 700; appearance: none; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--violet-soft); }
.select-field select:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--violet); }
.toggle-unseen { font-size: 16px; }
.video-filter.is-live .js-hide { display: none; }
.results-count { font-weight: 700; color: var(--muted); font-size: 15px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 14px; }
.video-results { transition: opacity .15s ease; }
.video-results.is-loading { opacity: .45; pointer-events: none; }
.more { display: flex; justify-content: center; margin-top: 28px; }
.more:empty { display: none; }
/* Themen wählen (Profil und Willkommensschritt) */
.interest-picker { display: flex; flex-direction: row; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; min-width: 0; }
.interest-picker label { position: relative; display: inline-flex; text-transform: none; letter-spacing: normal; }
.interest-picker input { position: absolute; opacity: 0; pointer-events: none; }
.interest-picker span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; background: var(--card); color: var(--violet); font-weight: 700; font-size: 17px; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--violet-soft); }
.interest-picker span::before { content: "+"; font-size: 20px; line-height: 1; }
.interest-picker input:checked + span { background: var(--violet); color: #fff; box-shadow: none; }
.interest-picker input:checked + span::before { content: "✓"; font-size: 16px; }
.interest-picker input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 2px; }
@media (max-width: 560px) {
    .select-field { flex: 1 1 140px; }
    .select-field select { width: 100%; }
    .for-you { padding: 20px 16px; margin: 0 -16px; border-radius: 0; }
}

/* Geschlossene Testphase / Beta */
.beta-badge { align-self: center; margin-left: -4px; padding: 2px 7px; border-radius: 3px; background: var(--pink); color: #fff; font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4; }
.auth-wide { max-width: 560px; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 480px) {
    .site-header .container { column-gap: 12px; }
    .beta-badge { margin-left: -2px; padding: 1px 5px; font-size: 10px; }
    .brand:has(.beta-badge) { gap: 8px; }
    .brand:has(.beta-badge) .wordmark { font-size: 22px; }
}

/* Sprachumschalter DE | EN */
.lang-switch { display: flex; align-items: center; gap: 2px; }
.lang-switch a { padding: 6px 7px; color: rgba(255, 255, 255, .62); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-decoration: none; }
.lang-switch a + a { border-left: 1px solid var(--violet-line); }
.lang-switch a:hover, .lang-switch a:focus-visible { color: #fff; }
.lang-switch a[aria-current] { color: #fff; }
@media (max-width: 1180px) {
    .lang-switch { order: 10; padding: 14px 0 4px; gap: 0; }
    .lang-switch a { padding: 8px 16px 8px 0; font-size: 16px; }
    .lang-switch a + a { padding-left: 16px; }
}

.chat-message .chat-bubble { transition: opacity .2s ease-out; }
.chat-message.is-pending .chat-bubble { opacity: .6; }

/* Rundgang „So funktioniert Impact Lab“ */
.guide-hero-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.guide-pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.guide-pillar { display: flex; gap: 16px; align-items: flex-start; background: var(--violet-tint); border-radius: 4px; padding: 18px 20px; }
.guide-pillar h3 { font-family: var(--display); font-weight: 800; font-size: 20px; margin: 0; }
.guide-pillar p { margin: 0; color: var(--ink-2); }
.guide-icon { flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--violet); color: #fff; display: grid; place-items: center; }
.guide-steps { list-style: none; margin: 0; padding: 0; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.guide-tech { border-left: 4px solid var(--violet); }
.guide-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.guide-feature h3 { font-family: var(--display); font-weight: 800; margin: 0; }
.guide-feature .link-caps { margin-top: auto; }
.guide-beta { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.guide-faq { display: grid; gap: 10px; }
.guide-faq-item { background: var(--card); border-radius: 4px; padding: 0 20px; }
.guide-faq-item summary { cursor: pointer; padding: 16px 0; font-weight: 700; font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.guide-faq-item summary::-webkit-details-marker { display: none; }
.guide-faq-item summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--violet); }
.guide-faq-item[open] summary::after { content: "–"; }
.guide-faq-item p { margin: 0 0 18px; color: var(--ink-2); }
.narrow-text { max-width: 820px; }
@media (max-width: 860px) {
    .guide-hero-inner, .guide-beta { grid-template-columns: 1fr; gap: 32px; }
}
/* Handy: Sprungmarken weglassen, die Abschnitte folgen ohnehin direkt */
@media (max-width: 560px) { .guide-jump { display: none; } }
/* Rundgang: Abschnitt Live-Tool (violett) */
.guide-tool { background: var(--violet); color: #fff; }
.guide-tool h2, .guide-tool h3 { color: #fff; }
.guide-tool .kicker { color: var(--blue-grey); }
.guide-tool .lead { color: #e9e6f5; }
.guide-tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 1px; background: var(--violet-line); border: 1px solid var(--violet-line); border-radius: 4px; overflow: hidden; }
.guide-tool-feature { background: var(--violet); padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.guide-tool-feature h3 { font-family: var(--display); font-weight: 800; font-size: 20px; margin: 0; }
.guide-tool-feature p { margin: 0; color: #e9e6f5; }
.guide-dsgvo { background: #fff; color: var(--ink); border-radius: 4px; padding: 26px 28px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 28px; align-items: start; }
.guide-dsgvo h3 { color: var(--ink); font-family: var(--display); font-weight: 800; margin: 0; }
.guide-badge { display: inline-block; justify-self: start; align-self: start; width: max-content; background: var(--pink); color: #fff; font-weight: 700; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; border-radius: 3px; padding: 5px 12px; }
.guide-tool-cta p { margin: 0; font-size: 20px; font-weight: 700; }
@media (max-width: 760px) { .guide-dsgvo { grid-template-columns: 1fr; gap: 16px; } }
.guide-tool-mail { color: #e9e6f5; user-select: all; }
.guide-next { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px 16px; font-size: 18px; color: #fff; }
.guide-next ul { margin: 0; padding: 0 0 0 1.1em; flex: 1 1 320px; display: grid; gap: 6px; }
.guide-badge-quiet { background: transparent; border: 1px solid var(--blue-grey); color: #fff; }

/* Bildnachweis (Urheberbenennung): Zeile unter dem Bild bzw. kleines Feld im Bild bei Karten und Postern */
.image-credit { font-size: 12px; line-height: 1.4; color: #6b6880; margin: 0; }
.image-credit-overlay { position: absolute; right: 8px; bottom: 8px; z-index: 1; max-width: calc(100% - 16px); background: rgba(0, 0, 0, .55); color: #fff; font-size: 11px; line-height: 1.3; border-radius: 3px; padding: 2px 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; pointer-events: none; }
.image-credit-left { right: auto; left: 8px; }
.video-poster .image-credit-overlay { bottom: 10px; right: 10px; }
