/* FCGH components — plain CSS, no JS required. Tokens come from tokens.css. */
/* Schriften lokal über design/fonts/google.css */

.fc-root { background: var(--surface-100); color: var(--ink); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
.fc-label { font-family: var(--font-mono); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.fc-display { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: .88; letter-spacing: -.01em; }

/* Button */
.fc-btn { display: inline-flex; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-6); border-radius: var(--radius-pill);
  font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .25s cubic-bezier(.2,.8,.2,1), background .2s, color .2s; }
.fc-btn:hover { transform: translateY(-2px); }
.fc-btn:active { transform: translateY(0) scale(.98); }
.fc-btn:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.fc-btn--primary { background: var(--gelb); color: var(--on-gelb); }
.fc-btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.fc-btn--ghost:hover { background: var(--ink); color: var(--surface-100); }
.fc-btn--text { background: none; color: var(--accent-ink); padding-inline: 0; }
.fc-btn .fc-arrow { transition: transform .25s; }
.fc-btn:hover .fc-arrow { transform: translateX(4px); }

/* Header: floating capsule */
.fc-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: var(--space-4) var(--space-8); }
.fc-mark { font-family: var(--font-display); font-weight: 900; font-size: 28px; letter-spacing: .02em; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: var(--space-2); }
.fc-mark i { width: 12px; height: 12px; border-radius: 50%; background: var(--gelb); display: inline-block; }
.fc-nav { display: flex; gap: var(--space-1); padding: var(--space-1); border-radius: var(--radius-pill); background: color-mix(in srgb, var(--surface-200) 80%, transparent); backdrop-filter: blur(12px); border: 1px solid var(--line); }
.fc-nav a { padding: var(--space-2) var(--space-4); border-radius: var(--radius-pill); color: var(--ink-muted); text-decoration: none; }
.fc-nav a:hover { color: var(--ink); }
.fc-nav a[aria-current] { background: var(--ink); color: var(--surface-100); }
@media (max-width: 760px) { .fc-nav { display: none; } .fc-header { padding: var(--space-4); } }

/* Match card */
.fc-match { background: var(--surface-200); border-radius: var(--radius-md); padding: var(--space-6); display: grid; gap: var(--space-6); border: 1px solid var(--line); }
.fc-match__top { display: flex; justify-content: space-between; color: var(--ink-muted); }
.fc-match__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--space-4); }
.fc-match__team { font-family: var(--font-display); font-weight: 800; font-size: 32px; line-height: .95; text-transform: uppercase; }
.fc-match__team:last-child { text-align: right; }
.fc-match__score { font-family: var(--font-display); font-weight: 700; font-size: 72px; line-height: .85; }
.fc-match__score--vs { color: var(--accent-ink); font-size: 40px; }
.fc-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; font-weight: 500; }
.fc-badge--live { color: var(--live); border: 1px solid currentColor; }
.fc-badge--live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: fc-pulse 1.2s infinite; }
.fc-badge--home { background: var(--gelb); color: var(--on-gelb); }
@keyframes fc-pulse { 50% { opacity: .25; } }

/* News card */
.fc-news { display: grid; gap: var(--space-4); color: var(--ink); text-decoration: none; }
.fc-news__media { aspect-ratio: 4/3; border-radius: var(--radius-md); overflow: hidden; background: var(--surface-200); position: relative; }
.fc-news__media > * { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.fc-news:hover .fc-news__media > * { transform: scale(1.05); }
.fc-news__meta { color: var(--ink-muted); display: flex; gap: var(--space-3); }
.fc-news__title { font-size: 24px; line-height: 30px; font-weight: 600; margin: 0; text-wrap: balance; }
.fc-news:hover .fc-news__title { text-decoration: underline; text-decoration-color: var(--gelb); text-underline-offset: 5px; text-decoration-thickness: 2px; }

/* Team tile */
.fc-team { position: relative; border-radius: var(--radius-lg); background: var(--surface-200); border: 1px solid var(--line); padding: var(--space-8); display: flex; flex-direction: column; justify-content: space-between; min-height: 360px; overflow: hidden; }
.fc-team__idx { color: var(--ink-muted); display: flex; justify-content: space-between; }
.fc-team__name { font-family: var(--font-display); font-weight: 800; font-size: 72px; line-height: .86; text-transform: uppercase; margin: 0; }
.fc-team__league { color: var(--accent-ink); }
.fc-team--gelb { background: var(--gelb); color: var(--on-gelb); border-color: transparent; }
.fc-team--gelb .fc-team__idx, .fc-team--gelb .fc-team__league { color: var(--on-gelb); }

/* Marquee */
.fc-marquee { overflow: hidden; background: var(--gelb); color: var(--on-gelb); padding: var(--space-4) 0; }
.fc-marquee__track { display: flex; gap: var(--space-8); width: max-content; animation: fc-marquee 28s linear infinite; }
.fc-marquee__track span { font-family: var(--font-display); font-weight: 800; font-size: 56px; line-height: 1; text-transform: uppercase; white-space: nowrap; display: flex; align-items: center; gap: var(--space-8); }
.fc-marquee__track span::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--on-gelb); }
@keyframes fc-marquee { to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .fc-marquee__track, .fc-badge--live::before { animation: none; }
  .fc-btn, .fc-news__media > * { transition: none; }
}
