/* Join the bloom / Tauch mit ein (website/join/, website/de/mitmachen/).
   Builds on style.css (tokens, header, buttons, footer). Hero with a row of
   all five badges, then one card per badge: badge left, text and actions
   right; the thank-you line appears after a click (join.js). */
.joinhero { padding-block: 64px 36px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.joinhero h1 { margin-bottom: 18px; }
.joinhero .lede { margin-bottom: 14px; }
.brow { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.brow img { width: 72px; height: auto; filter: drop-shadow(0 8px 14px rgba(23, 49, 92, .18)); }
.brow img:nth-child(odd) { transform: translateY(10px) rotate(-4deg); }
.brow img:nth-child(even) { transform: rotate(3deg); }

/* buttons set display, which would beat the hidden attribute ("More …", mail link) */
.bcard [hidden] { display: none !important; }
.bcards { display: grid; gap: 22px; }
.bcard { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 32px; align-items: start; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; scroll-margin-top: 80px; }
.bimg { width: 150px; height: auto; filter: drop-shadow(0 10px 18px rgba(23, 49, 92, .18)); transition: transform .4s cubic-bezier(.4, 1.6, .5, 1); }
.bcard.thanked .bimg { transform: rotate(-4deg) scale(1.05); }
.bstep { margin: 0 0 4px; font-size: .76rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2); }
.bcard h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
.bbody > p { color: var(--ink-2); margin: 10px 0 0; }
.bbtns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.bbtns .btn { height: 40px; padding: 0 14px; font-size: .9rem; }
.bbtns .btn svg, .mastorow .btn svg { width: 14px; height: 14px; opacity: .7; }
button.btn { font-family: var(--font); cursor: pointer; }
.bnote { display: flex; gap: 8px; font-size: .86rem; color: var(--ink-2); margin: 14px 0 0; }
.bnote svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.bnote.small { display: block; }

/* thank-you line + badge downloads */
.thanks { margin-top: 18px; padding: 10px 14px; border-radius: 10px; font-weight: 650;
  background: color-mix(in srgb, var(--c3) 14%, var(--surface)); color: var(--ink); animation: pop .5s cubic-bezier(.4, 1.6, .5, 1); }
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
.bdl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 16px 0 0; font-size: .84rem; color: var(--ink-2); }
.bdl .pill { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 650; background: var(--surface); }
.bdl .pill svg { width: 13px; height: 13px; }
.bdl .pill:hover { border-color: var(--blue); }
.bcard.thanked .bdl .pill { background: var(--blue); border-color: var(--blue); color: var(--blue-ink); }

/* data donation line (feedback card) */
.bbody > .donline { display: flex; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: 12px; font-size: .9rem;
  background: color-mix(in srgb, #a78bfa 12%, var(--surface)); border: 1px solid color-mix(in srgb, #a78bfa 35%, var(--line)); color: var(--ink-2); }
.donline > span:first-child { font-size: 1.15rem; line-height: 1.3; }
.donline b { color: var(--ink); }
.donline a { font-weight: 650; white-space: nowrap; }

/* e-mail box (feedback card) */
.mailbox { margin-top: 18px; }
.maillabel { margin: 0 0 8px; font-size: .9rem; font-weight: 650; color: var(--ink); }
.mailrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.mailrow .install { flex: 0 1 340px; height: 42px; box-sizing: border-box; }
.mailrow .install pre { font-size: .92rem; padding: 0 14px; display: flex; align-items: center; }
.mailrow .btn { height: 42px; box-sizing: border-box; font-size: .9rem; }
.mailbox .bnote { margin-top: 8px; }

/* share card */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
#sharetext { display: block; width: 100%; box-sizing: border-box; margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface-2); color: var(--ink); font: .95rem/1.5 var(--font); resize: vertical; }
.tagline { font-size: .84rem !important; margin-top: 12px !important; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.tag { border: 1px solid var(--line); background: var(--surface); color: var(--ink-2); border-radius: 999px; padding: 3px 10px; font: 600 .82rem var(--font); cursor: pointer; }
.tag[aria-pressed="true"] { background: color-mix(in srgb, var(--blue) 14%, var(--surface)); border-color: var(--blue); color: var(--ink); }
.masto { margin-top: 16px; }
.masto label { display: block; font-size: .84rem; font-weight: 650; margin-bottom: 6px; }
.mastorow { display: flex; gap: 8px; max-width: 460px; }
.mastorow input { flex: 1; min-width: 0; height: 40px; box-sizing: border-box; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); font: .92rem var(--font); }
.mastorow .btn { height: 40px; font-size: .9rem; }
.sharebox .bbtns { margin-top: 10px; }
.sharehint { min-height: 1.4em; margin: 8px 0 0; font-size: .86rem; font-weight: 650; color: var(--c3); }
.sharehint.err { color: #c2410c; }

/* roles of badge 5 */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.role { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 8px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); background: var(--surface-2); }
.role:hover { border-color: var(--blue); }
.role .ri { grid-row: span 2; font-size: 1.3rem; line-height: 1.2; }
.role b { font-size: .95rem; }
.role span:last-child { font-size: .84rem; color: var(--ink-2); }

.cocnote { margin: 36px 0 0; padding: 16px 20px; border-left: 3px solid var(--gold); color: var(--ink-2); font-size: .92rem; }

@media (max-width: 900px) {
  .joinhero { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 40px; }
  .brow { justify-content: flex-start; }
  .roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .bcard { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 22px 18px; }
  .bimg { width: 110px; }
  .brow img { width: 54px; }
  .roles { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .thanks { animation: none; } .bimg { transition: none; } }
