/* =========================================================
   ETUF Relaunch – Entwurf 2 „Klubhaus“
   Signet-Leiste als feste Navigation, helles Editorial-Layout, Bento-Raster
   ========================================================= */
:root {
  --bg: #f5f3ee;
  --card: #ffffff;
  --ink: #111418;
  --ink-2: #444b55;
  --ink-3: #6b7280;
  --line: rgba(17, 20, 24, .12);
  --navy: #004f9e;
  --red: #f0141c;

  --rc: var(--navy);
  --on: #fff;

  --f-head: "Archivo", system-ui, sans-serif;
  --f-body: "Archivo", system-ui, sans-serif;
  --rail: 84px;
  --r-lg: 26px;
  --r-md: 16px;
  --gut: clamp(16px, 3.4vw, 44px);
}
/* Abgeleitete Riegen-Tokens (wie Entwurf 1, Kontraste geprüft) */
:root, [style*="--rc"] {
  --rc-deep: color-mix(in oklab, var(--rc), #000 38%);
  --rc-ink: color-mix(in oklab, var(--rc), #000 34%);
  --rc-light: color-mix(in oklab, var(--rc), #fff 88%);
  --rc-accent: color-mix(in oklab, var(--rc), #fff 55%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); font-stretch: 125%; font-variation-settings: "wdth" 125; font-weight: 800; line-height: .98; letter-spacing: -.02em; margin: 0 0 .35em; }
p { margin: 0 0 1em; }
.signet { width: 100%; height: 100%; fill: currentColor; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kicker { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); display: inline-block; }

.btn { display: inline-flex; align-items: center; gap: .55em; font: 700 .95rem/1 var(--f-body); letter-spacing: .01em; text-decoration: none; padding: 1em 1.35em; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-red { background: var(--red); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-rc { background: var(--rc); color: var(--on); }

/* =========================================================
   SIGNET-LEISTE (Rail)
   ========================================================= */
.rail {
  position: fixed; left: 0; top: 0; bottom: 0; z-index: 60; width: var(--rail);
  background: var(--ink); color: #fff; display: flex; flex-direction: column; align-items: stretch;
  padding: 16px 0; transition: width .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s;
  overflow: hidden;
}
.rail:hover, .rail:focus-within { width: 260px; box-shadow: 24px 0 60px rgba(0,0,0,.25); }
/* Logo immer: Ringe rot, ETUF blau – deshalb auf heller Fläche */
.rail .mark { display: block; margin: 0 12px 14px; padding: 10px 11px; background: #fff; border-radius: 14px; overflow: hidden; white-space: nowrap; }
.rail .mark svg { height: 36px; width: auto; display: block; }
.logo .lt, .rail .mark .lt, .foot .big .lt { fill: var(--navy); }
.logo .lr, .rail .mark .lr, .foot .big .lr { fill: var(--red); }
.rail ul { list-style: none; margin: 0; padding: 0 12px; display: grid; gap: 6px; }
.rail li a {
  display: flex; align-items: center; gap: 14px; text-decoration: none; padding: 4px; border-radius: 14px;
  white-space: nowrap; position: relative; transition: background .15s;
}
.rail li a:hover, .rail li a:focus-visible { background: rgba(255,255,255,.08); outline: none; }
.rail .tile { width: 52px; height: 52px; flex: none; border-radius: 12px; background: var(--rc); color: #fff; padding: 9px; transition: transform .2s cubic-bezier(.2,.8,.3,1.4); }
.rail li a:hover .tile { transform: scale(1.06) rotate(-4deg); }
.rail .lbl { font-weight: 700; font-size: .98rem; opacity: 0; transform: translateX(-8px); transition: opacity .2s, transform .2s; }
.rail .lbl small { display: block; font-weight: 400; font-size: .76rem; color: rgba(255,255,255,.6); }
.rail:hover .lbl, .rail:focus-within .lbl { opacity: 1; transform: none; }
.rail li a[aria-current="page"]::before { content: ""; position: absolute; left: -12px; top: 12px; bottom: 12px; width: 4px; border-radius: 0 4px 4px 0; background: #fff; }
.rail .rail-foot { margin-top: auto; padding: 12px 20px 0; border-top: 1px solid rgba(255,255,255,.12); display: grid; gap: 4px; }
.rail .rail-foot a { display: flex; gap: 16px; align-items: center; text-decoration: none; color: rgba(255,255,255,.75); font-size: .88rem; white-space: nowrap; padding: 6px 0; }
.rail .rail-foot a:hover { color: #fff; }
.rail .rail-foot svg { width: 22px; height: 22px; flex: none; margin-left: 11px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.page { margin-left: var(--rail); min-height: 100vh; }

/* ---------- Topbar ---------- */
.top { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top .in { display: flex; align-items: center; gap: 28px; height: 70px; padding: 0 var(--gut); }
.top .logo svg { height: 34px; width: auto; display: block; }
.top nav { display: flex; gap: 2px; margin-left: auto; }
.top nav a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: .55em .9em; border-radius: 999px; }
.top nav a:hover { background: rgba(17,20,24,.06); }
.top .actions { display: flex; gap: 8px; align-items: center; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.icon-btn:hover { background: var(--ink); color: #fff; }

.sec { padding: clamp(48px, 7vw, 96px) var(--gut); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(2rem, 4.6vw, 3.8rem); margin: 0; }
.sec-head p { color: var(--ink-2); max-width: 48ch; margin: 10px 0 0; }
.link-more { font-weight: 700; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; border-bottom: 2px solid currentColor; padding-bottom: 2px; }

/* =========================================================
   HERO + RIEGEN-KOMPASS
   ========================================================= */
.hero { padding: clamp(36px, 6vw, 80px) var(--gut) 0; }
.hero h1 { font-size: clamp(3rem, 8.6vw, 8.4rem); margin: 0; }
.hero h1 span { display: block; }
.hero h1 .o { -webkit-text-stroke: 2px var(--ink); color: transparent; }
.hero-row { display: grid; grid-template-columns: 1fr minmax(260px, 420px); gap: 40px; align-items: end; margin: 18px 0 clamp(28px, 4vw, 48px); }
.hero-row p { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); margin: 0 0 18px; }
.hero-row .cta { display: flex; gap: 10px; flex-wrap: wrap; }

.kompass {
  display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 0;
  background: var(--card); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 30px 60px -30px rgba(17,20,24,.25);
}
.k-grid { padding: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-content: center; background: var(--card); }
.k-grid button {
  all: unset; cursor: pointer; aspect-ratio: 1; border-radius: 18px; background: var(--rc); color: #fff;
  display: grid; place-items: center; position: relative; transition: transform .25s cubic-bezier(.2,.8,.3,1.4), opacity .2s, box-shadow .2s;
}
.k-grid button .s { width: 54%; height: 54%; }
.k-grid button:hover { transform: scale(1.05); }
.k-grid button:focus-visible { box-shadow: 0 0 0 3px var(--card), 0 0 0 6px var(--rc-ink); }
.k-grid button[aria-selected="true"] { box-shadow: 0 0 0 3px var(--card), 0 0 0 6px var(--rc-ink); transform: scale(1.04); }
.k-grid.has-sel button:not([aria-selected="true"]) { opacity: .55; }
.k-grid.has-sel button:hover { opacity: 1; }
.k-panel { position: relative; min-height: 440px; display: grid; grid-template-columns: 1fr 1fr; background: var(--rc-light); transition: background .4s; }
.k-panel .k-media { position: relative; overflow: hidden; background: var(--rc); }
.k-panel .k-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kin .5s ease both; }
.k-panel .k-media .k-big { position: absolute; inset: 12%; color: color-mix(in srgb, var(--on) 30%, transparent); animation: kin .5s ease both; }
@keyframes kin { from { opacity: 0; transform: scale(1.04); } }
.k-body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 6px; animation: kin .4s ease both; }
.k-body .k-tag { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rc-ink); }
.k-body .k-tag i { width: 10px; height: 10px; border-radius: 3px; background: var(--rc); }
.k-body h3 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); margin: .1em 0 .15em; }
.k-body p { color: var(--ink-2); }
.k-next { margin-top: auto; background: var(--card); border-radius: var(--r-md); padding: 14px 16px; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; }
.k-next .d { grid-row: span 2; font-weight: 800; font-stretch: 125%; font-variation-settings: "wdth" 125; font-size: 1.9rem; line-height: .9; text-align: center; color: var(--rc-ink); }
.k-next .d small { display: block; font-size: .7rem; letter-spacing: .1em; font-weight: 700; }
.k-next b { font-size: .98rem; line-height: 1.25; }
.k-next span { font-size: .82rem; color: var(--ink-3); }
.k-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.k-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.k-progress i { display: block; height: 100%; width: 0; background: var(--rc-ink); }
.k-progress.run i { animation: kp 6s linear forwards; }
@keyframes kp { to { width: 100%; } }

/* ---------- Heute-Leiste ---------- */
.today { margin: 18px var(--gut) 0; display: grid; grid-template-columns: auto 1fr auto auto; gap: 0; background: var(--ink); color: #fff; border-radius: var(--r-md); overflow: hidden; }
.today > div, .today > a { padding: 16px 22px; display: flex; align-items: center; gap: 14px; border-right: 1px solid rgba(255,255,255,.12); text-decoration: none; }
.today > :last-child { border: 0; }
.today .t-lbl { font-weight: 800; font-stretch: 125%; font-variation-settings: "wdth" 125; font-size: 1.05rem; }
.today .t-lbl small { display: block; font-weight: 400; font-stretch: 100%; font-variation-settings: "wdth" 100; font-size: .78rem; color: rgba(255,255,255,.65); }
.today .live { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(240,20,28,.6); animation: live 1.6s infinite; flex: none; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(240,20,28,0); } }
.today .ev { overflow: hidden; }
.today .ev .s { width: 34px; height: 34px; flex: none; border-radius: 9px; background: var(--rc); padding: 5px; color: #fff; }
.today .ev b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.today .ev span { font-size: .82rem; color: rgba(255,255,255,.65); }
.today .wc img { width: 64px; height: 40px; border-radius: 6px; object-fit: cover; background: #2a3038; }
.today .wc span, .today .sun span { font-size: .88rem; }
.today .sun b { font-size: 1.2rem; font-stretch: 125%; font-variation-settings: "wdth" 125; }

/* =========================================================
   BENTO – Aktuelles
   ========================================================= */
.filterbar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.fb { all: unset; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line); font-weight: 600; font-size: .9rem; transition: all .15s; }
.fb i { width: 28px; height: 28px; border-radius: 8px; background: var(--rc); color: #fff; padding: 4px; display: block; }
.fb.all { padding-left: 16px; }
.fb:hover { border-color: var(--rc-ink); }
.fb[aria-pressed="true"] { background: var(--rc); border-color: var(--rc); color: var(--on); }
.fb[aria-pressed="true"] i { background: color-mix(in srgb, var(--on) 20%, transparent); }
.fb:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; grid-auto-flow: dense; }
.b { position: relative; border-radius: 20px; overflow: hidden; text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; background: var(--card); isolation: isolate; animation: kin .35s ease both; transition: transform .2s; }
.b:hover { transform: translateY(-3px); }
.b.big { grid-column: span 2; grid-row: span 2; }
.b.wide { grid-column: span 2; }
.b.tall { grid-row: span 2; }
.b img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.b:hover img { transform: scale(1.05); }
.b.photo { color: #fff; }
.b.photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.78), rgba(0,0,0,0) 62%); }
.b.solid { background: var(--rc); color: var(--on); }
.b.solid .wm { position: absolute; right: -18%; top: -18%; width: 75%; height: 120%; color: color-mix(in srgb, var(--on) 16%, transparent); z-index: -1; transition: transform .5s cubic-bezier(.2,.8,.3,1.2); }
.b.solid:hover .wm { transform: rotate(-8deg) scale(1.06); }
.b.plain { border: 1px solid var(--line); }
.b.plain .ps { position: absolute; top: 18px; left: 20px; width: 40px; height: 40px; border-radius: 10px; background: var(--rc); color: #fff; padding: 7px; }
.b .meta { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .85; margin-bottom: 6px; display: flex; gap: 8px; align-items: center; }
.b.plain .meta { color: var(--rc-ink); opacity: 1; }
.b h3 { font-size: 1.22rem; line-height: 1.08; margin: 0; letter-spacing: -.01em; hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
.b.big h3 { font-size: clamp(1.8rem, 2.8vw, 2.6rem); }
.b p { margin: 8px 0 0; font-size: .92rem; opacity: .9; }
.b .pill { display: inline-block; background: var(--rc); color: var(--on); border-radius: 999px; padding: 3px 10px; font-size: .72rem; letter-spacing: .08em; }

/* =========================================================
   TIMELINE – Kalender
   ========================================================= */
.tl-wrap { position: relative; }
.tl { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x proximity; padding: 8px 0 18px; scrollbar-width: thin; }
.tl-month { flex: none; padding: 0 14px 0 0; scroll-snap-align: start; }
.tl-month h4 { margin: 0 0 12px; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); display: flex; align-items: center; gap: 10px; }
.tl-month h4::after { content: ""; flex: 1; min-width: 40px; height: 1px; background: var(--line); }
.tl-items { display: flex; gap: 12px; }
.tl-card { width: 230px; flex: none; background: var(--card); border-radius: 18px; padding: 16px 18px 18px; border-top: 6px solid var(--rc); display: flex; flex-direction: column; gap: 6px; position: relative; text-decoration: none; }
.tl-card .day { font-weight: 800; font-stretch: 125%; font-variation-settings: "wdth" 125; font-size: 2.6rem; line-height: .9; }
.tl-card .day small { font-size: .9rem; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.tl-card b { font-size: 1.02rem; line-height: 1.25; }
.tl-card .o { font-size: .82rem; color: var(--ink-3); }
.tl-card .rg { margin-top: auto; display: flex; gap: 8px; align-items: center; font-size: .78rem; font-weight: 700; color: var(--rc-ink); padding-top: 8px; }
.tl-card .rg i { width: 22px; height: 22px; border-radius: 6px; background: var(--rc); color: #fff; padding: 3px; display: block; }
.tl-card .now { position: absolute; top: 14px; right: 14px; background: var(--red); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.tl-nav { display: flex; gap: 8px; }

/* =========================================================
   RIEGEN-FINDER
   ========================================================= */
.finder { background: var(--card); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 56px); }
.finder h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.interests { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.interests button { all: unset; cursor: pointer; padding: .65em 1.05em; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: .92rem; transition: all .15s; }
.interests button:hover { border-color: var(--ink); }
.interests button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.interests button:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.matches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-content: start; }
.m { text-decoration: none; border-radius: 18px; padding: 14px; background: var(--rc-light); display: flex; flex-direction: column; gap: 10px; transition: opacity .25s, transform .25s, filter .25s; min-height: 150px; }
.m .s { width: 48px; height: 48px; border-radius: 12px; background: var(--rc); color: #fff; padding: 8px; }
.m b { font-weight: 800; font-stretch: 125%; font-variation-settings: "wdth" 125; font-size: 1.05rem; line-height: 1.05; color: var(--rc-ink); }
.m small { font-size: .78rem; color: var(--ink-2); margin-top: auto; }
.m.off { opacity: .28; filter: grayscale(1); transform: scale(.97); }
.m.hit { transform: translateY(-3px); box-shadow: 0 14px 28px -16px var(--rc); }
.finder .result { font-size: .9rem; color: var(--ink-3); margin-top: 16px; min-height: 1.5em; }

/* =========================================================
   MITGLIED / SERVICE
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; counter-reset: st; }
.step { background: var(--ink); color: #fff; border-radius: 20px; padding: 26px; position: relative; overflow: hidden; min-height: 210px; display: flex; flex-direction: column; }
.step::before { counter-increment: st; content: counter(st); font-weight: 800; font-stretch: 125%; font-variation-settings: "wdth" 125; font-size: 5.5rem; line-height: .8; color: rgba(255,255,255,.12); position: absolute; right: 18px; top: 14px; }
.step h3 { font-size: 1.6rem; margin-top: auto; }
.step p { color: rgba(255,255,255,.75); margin: 0; font-size: .95rem; }
.step.red { background: var(--red); }
.step.red p { color: rgba(255,255,255,.9); }
.service { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 14px; }
.svc { background: var(--card); border-radius: 18px; padding: 20px; text-decoration: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; border: 1px solid var(--line); transition: background .15s, color .15s; }
.svc small { display: block; font-weight: 400; color: var(--ink-3); font-size: .82rem; }
.svc:hover { background: var(--ink); color: #fff; }
.svc:hover small { color: rgba(255,255,255,.7); }

.engage { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 14px; }
.e { border-radius: 20px; padding: 26px; background: var(--card); text-decoration: none; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); }
.e h3 { font-size: 1.4rem; margin: 0; }
.e p { color: var(--ink-2); font-size: .94rem; margin: 0; }
.e.donate { background: var(--red); color: #fff; border: 0; }
.e.donate p { color: rgba(255,255,255,.9); }
.e .iban { margin-top: auto; font-weight: 800; font-stretch: 125%; font-variation-settings: "wdth" 125; font-size: 1.2rem; letter-spacing: .02em; background: rgba(0,0,0,.15); padding: 12px 14px; border-radius: 12px; }
.e .iban small { display: block; font-weight: 400; font-stretch: 100%; font-variation-settings: "wdth" 100; font-size: .76rem; opacity: .85; letter-spacing: 0; }

/* =========================================================
   FOOTER
   ========================================================= */
.foot { background: var(--card); color: var(--ink-2); border-top: 1px solid var(--line); padding: clamp(48px, 7vw, 88px) var(--gut) 28px; margin-top: clamp(40px, 6vw, 80px); }
.foot .big { margin-bottom: 40px; }
.foot .big svg { height: clamp(64px, 11vw, 150px); width: auto; display: block; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; font-size: .94rem; }
.foot h4 { color: var(--ink); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .84rem; }
.foot-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }

.draft { position: fixed; right: 16px; bottom: 16px; z-index: 90; background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.12); font-size: .78rem; padding: 9px 12px; border-radius: 10px; max-width: 280px; line-height: 1.35; }
.draft b { color: var(--red); }
.draft button { all: unset; cursor: pointer; float: right; margin-left: 10px; color: var(--ink-3); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
  .top nav { display: none; }
  .kompass { grid-template-columns: 1fr; }
  .k-grid { grid-template-columns: repeat(9, 1fr); padding: 14px; gap: 8px; }
  .k-grid button { border-radius: 12px; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .matches { grid-template-columns: repeat(3, 1fr); }
  .service { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --rail: 0px; }
  .rail { top: auto; bottom: 0; left: 0; right: 0; width: auto !important; height: 72px; flex-direction: row; padding: 0; box-shadow: 0 -8px 24px rgba(0,0,0,.15) !important; }
  .rail .mark, .rail .rail-foot, .rail .lbl { display: none; }
  .rail ul { display: flex; overflow-x: auto; gap: 4px; padding: 10px 10px; scrollbar-width: none; align-items: center; }
  .rail ul::-webkit-scrollbar { display: none; }
  .rail .tile { width: 48px; height: 48px; padding: 8px; }
  .rail li a[aria-current="page"]::before { left: 12px; right: 12px; top: auto; bottom: -8px; width: auto; height: 3px; border-radius: 3px 3px 0 0; }
  body { padding-bottom: 72px; }
  .draft { bottom: 84px; }
  .hero-row, .finder { grid-template-columns: 1fr; }
  .k-grid { grid-template-columns: repeat(5, 1fr); }
  .k-panel { grid-template-columns: 1fr; min-height: 0; }
  .k-panel .k-media { aspect-ratio: 16/9; }
  .today { grid-template-columns: 1fr 1fr; }
  .today > div, .today > a { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .today .ev { grid-column: span 2; order: -1; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .steps, .engage { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top .in { height: 60px; gap: 12px; }
  .top .logo svg { height: 28px; }
  .top .actions .btn { display: none; }
  .hero h1 .o { -webkit-text-stroke: 1.5px var(--ink); }
  .k-grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62px; overflow-x: auto; scrollbar-width: none; padding: 12px; }
  .k-grid::-webkit-scrollbar { display: none; }
  .k-grid button { border-radius: 14px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .b.big, .b.wide { grid-column: span 1; }
  .b.big { grid-row: span 2; }
  .b.tall { grid-row: span 1; }
  .matches { grid-template-columns: repeat(2, 1fr); }
  .m { min-height: 0; }
  .service { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .tl-card { width: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
