/* ==========================================================================
   Unser Beitrag (public/unser-beitrag.php) – baut auf praesentation.css auf. Präfix .ub-
   ========================================================================== */

.ub h3 { font-weight: 750; letter-spacing: -.015em; }
.ub-symbol { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--rf-akzent-weich); color: var(--rf-akzent); font-size: 20px; flex: none; }
.ub-symbol--rot { background: var(--rf-gefahr-weich); color: var(--rf-gefahr); }
.ub-symbol--blau { background: var(--rf-info-weich); color: var(--rf-info); }

/* Hero */
.ub-hero { position: relative; isolation: isolate; text-align: center; padding: clamp(48px, 7vw, 100px) 0 clamp(56px, 8vw, 110px); }
.ub-hero::before {
  content: ""; position: absolute; inset: -84px 0 0; z-index: -1; pointer-events: none;
  background: radial-gradient(760px 440px at 50% 0%, color-mix(in oklab, var(--rf-akzent-hell) 18%, transparent), transparent 70%),
              radial-gradient(520px 320px at 90% 85%, color-mix(in oklab, var(--pr-warm) 12%, transparent), transparent 70%);
}
.ub-hero h1 { font-size: clamp(40px, 6vw, 78px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; margin: 22px auto 24px; max-width: 16ch; }
.ub-hero h1 .pr-gruen { display: block; }
.ub-hero .pr-lead { margin: 0 auto 34px; }
.ub-hero .pr-knoepfe { justify-content: center; }

/* Kreislauf */
.ub-kreis { list-style: none; padding: 0; margin: clamp(48px, 7vw, 80px) auto 0; max-width: 980px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: k; }
.ub-kreis li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 16px 22px; border-radius: 24px; background: var(--rf-flaeche); border: 1px solid var(--rf-rand); box-shadow: var(--rf-schatten-sm); }
.ub-kreis li:not(:last-child)::after { content: "\f054"; font: 900 11px/1 "Font Awesome 6 Free"; position: absolute; right: -13px; top: 50%; translate: 0 -50%; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--pr-papier); border: 1px solid var(--rf-rand); color: var(--rf-text-3); }
.ub-kreis i { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; margin-bottom: 8px; background: var(--rf-akzent-weich); color: var(--rf-akzent); font-size: 20px; }
.ub-kreis li:last-child i { background: var(--rf-akzent); color: var(--rf-akzent-auf); }
.ub-kreis b { font: 750 17px/1.2 var(--rf-schrift-titel); color: var(--rf-text); }
.ub-kreis small { font-size: 13.5px; color: var(--rf-text-3); }

/* Karten */
.ub-karte { display: flex; flex-direction: column; padding: 32px 30px; border-radius: 28px; background: var(--rf-flaeche); border: 1px solid var(--rf-rand); color: inherit; text-decoration: none; }
.ub-karte .ub-symbol { margin-bottom: 22px; }
.ub-karte h3 { font-size: 22px; margin: 0 0 12px; }
.ub-karte p { margin: 0; color: var(--rf-text-2); font-size: 15.5px; line-height: 1.65; flex: 1; }
.ub-karte--link { transition: transform .3s var(--rf-kurve), box-shadow .3s var(--rf-kurve), border-color .2s; }
.ub-karte--link:hover { color: inherit; transform: translateY(-4px); box-shadow: var(--rf-schatten-lg); border-color: color-mix(in oklab, var(--rf-akzent) 40%, var(--rf-rand)); }
.ub-mehr { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-weight: 650; font-size: 14.5px; color: var(--rf-akzent); }
.ub-mehr i { font-size: 12px; transition: transform .25s var(--rf-kurve); }
.ub-karte--link:hover .ub-mehr i { transform: translateX(4px); }

.ub-hebel, .ub-fundament { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ub-karte ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ub-karte li { position: relative; padding: 16px 0 0; border-top: 1px solid var(--rf-rand); color: var(--rf-text-2); font-size: 15px; line-height: 1.6; }
.ub-karte li b { display: block; color: var(--rf-text); font-size: 15.5px; margin-bottom: 2px; }

/* Zitat */
.ub-zitat { position: relative; margin: 0; padding: clamp(36px, 6vw, 72px); border-radius: 36px; background: #0b1310; overflow: hidden; isolation: isolate; text-align: center; }
.ub-zitat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(520px 300px at 100% 0%, rgba(46,164,111,.35), transparent 70%), radial-gradient(480px 280px at 0% 110%, rgba(242,166,90,.22), transparent 70%); }
[data-theme="dark"] .ub-zitat { background: #0f1915; border: 1px solid var(--rf-rand); }
.ub-zitat blockquote { margin: 0 auto; max-width: 30ch; font: 750 clamp(24px, 3vw, 38px)/1.3 var(--rf-schrift-titel); letter-spacing: -.025em; color: #fff; text-wrap: balance; }
.ub-zitat figcaption { margin-top: 26px; font-size: 15px; color: #94a89d; }
.ub-zitat figcaption b { color: #d6e4dc; }

/* Weg */
.ub-weg { background: var(--rf-flaeche); border-block: 1px solid var(--rf-rand); }
.ub-schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.ub-schritte::before { content: ""; position: absolute; top: 31px; left: 24px; right: calc(25% - 20px); height: 2px; background: linear-gradient(90deg, var(--rf-akzent) 0 34%, var(--rf-rand-stark) 34% 100%); }
.ub-schritt { position: relative; display: flex; flex-direction: column; padding: 0; }
.ub-schritt__nr { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 20px; margin-bottom: 22px; font: 800 18px/1 var(--rf-schrift-titel); background: var(--pr-papier); border: 2px solid var(--rf-rand-stark); color: var(--rf-text-3); position: relative; }
.ub-schritt--heute .ub-schritt__nr { background: var(--rf-akzent); border-color: var(--rf-akzent); color: var(--rf-akzent-auf); box-shadow: 0 0 0 6px var(--rf-akzent-weich); }
.ub-schritt--vorbereitung .ub-schritt__nr { border-color: var(--pr-warm); color: color-mix(in oklab, var(--pr-warm), #000 25%); }
[data-theme="dark"] .ub-schritt--vorbereitung .ub-schritt__nr { color: var(--pr-warm); }
.ub-stand { align-self: flex-start; padding: 5px 11px; border-radius: 999px; font: 700 12px/1 var(--rf-schrift-text); letter-spacing: .04em; background: var(--rf-flaeche-2); color: var(--rf-text-3); margin-bottom: 12px; }
.ub-schritt--heute .ub-stand { background: var(--rf-akzent-weich); color: var(--rf-akzent); }
.ub-schritt--vorbereitung .ub-stand { background: var(--pr-warm-weich); color: color-mix(in oklab, var(--pr-warm), #000 30%); }
[data-theme="dark"] .ub-schritt--vorbereitung .ub-stand { color: var(--pr-warm); }
.ub-schritt h3 { font-size: 19px; line-height: 1.25; margin: 0 0 8px; }
.ub-schritt p { margin: 0; color: var(--rf-text-2); font-size: 15px; line-height: 1.6; }
.ub-schritt a { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 650; font-size: 14.5px; color: var(--rf-akzent); text-decoration: none; }
.ub-schritt a i { font-size: 12px; }

/* Responsiv */
@media (max-width: 1000px) {
  .ub-hebel, .ub-fundament { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .ub-schritte { grid-template-columns: 1fr; gap: 0; max-width: 640px; margin-inline: auto; }
  .ub-schritte::before { top: 24px; bottom: 24px; left: 30px; right: auto; width: 2px; height: auto; background: linear-gradient(180deg, var(--rf-akzent) 0 22%, var(--rf-rand-stark) 22% 100%); }
  .ub-schritt { padding: 0 0 36px 86px; min-height: 62px; }
  .ub-schritt:last-child { padding-bottom: 0; }
  .ub-schritt__nr { position: absolute; left: 0; top: 0; }
}
@media (max-width: 760px) {
  .ub-kreis { grid-template-columns: 1fr 1fr; }
  .ub-kreis li:nth-child(2)::after { display: none; }
}
