/* GOALXI Webseite – Gold-Schwarz wie im Spiel. Schrift liegt auf dem eigenen Server. */
@font-face { font-family: 'Barlow SC'; src: url('schrift/BarlowSemiCondensed_500Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow SC'; src: url('schrift/BarlowSemiCondensed_700Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }

:root {
  --bg: #08080A;
  --card: #121216;
  --line: #4A3B17;
  --gold: #F2C14E;
  --gold-hi: #FFE08A;
  --text: #EDE6D6;
  --muted: #A59C88;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 500 17px/1.6 'Barlow SC', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
a { color: var(--gold); text-underline-offset: 3px; overflow-wrap: anywhere; }
a:hover { color: var(--gold-hi); }
h1, h2 { font-weight: 700; line-height: 1.2; }

/* Kopfleiste */
.top {
  position: sticky; top: 0; z-index: 2;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 10px 20px; background: rgba(8,8,10,.92); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--gold); font-weight: 700; font-size: 1.35rem; letter-spacing: .06em; }
.brand img { height: 44px; width: auto; }
.top nav { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.top nav a { text-decoration: none; color: var(--text); font-weight: 700; padding: 4px 0; border-bottom: 2px solid transparent; }
.top nav a[aria-current="page"], .top nav a:hover { color: var(--gold); border-color: var(--gold); }
.top nav a.lang { color: var(--muted); }

/* Startseite */
.hero {
  text-align: center; padding: 48px 16px 56px;
  background:
    linear-gradient(180deg, rgba(8,8,10,.35) 0%, rgba(8,8,10,.75) 55%, var(--bg) 100%),
    url('bilder/stadion.webp') center top / cover no-repeat;
}
.crest { width: min(300px, 70vw); height: auto; -webkit-mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 72%, transparent 100%); mask-image: radial-gradient(ellipse 50% 50% at 50% 50%, #000 72%, transparent 100%); }
.hero h1 { color: var(--gold); font-size: clamp(1.8rem, 5vw, 2.8rem); margin: 18px 0 10px; text-shadow: 0 2px 12px rgba(0,0,0,.7); }
.lead { max-width: 640px; margin: 0 auto; font-size: 1.15rem; text-shadow: 0 1px 8px rgba(0,0,0,.8); }
.badge {
  display: inline-block; margin-top: 24px; padding: 8px 22px; border-radius: 999px;
  border: 1px solid var(--gold); color: var(--gold); font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(242,193,78,.08);
}
.cards {
  max-width: 1000px; margin: 0 auto; padding: 0 16px 56px;
  display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.cards article {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px;
  box-shadow: inset 0 1px 0 rgba(242,193,78,.12);
}
.cards h2 { color: var(--gold); font-size: 1.2rem; margin: 0 0 8px; }
.cards p { margin: 0; }

/* Textseiten (Datenschutz, Impressum) */
.text { max-width: 760px; margin: 0 auto; padding: 36px 16px 64px; }
.text h1 { color: var(--gold); font-size: clamp(1.6rem, 4vw, 2.1rem); margin-top: 0; }
.text h2 { color: var(--gold); font-size: 1.2rem; margin: 2rem 0 .5rem; padding-top: .5rem; border-top: 1px solid var(--line); }
.text ul { padding-left: 1.2rem; }
.hint { color: var(--muted); font-size: .95rem; }
.sum { font-weight: 700; font-size: 1.08rem; background: var(--card); border-left: 3px solid var(--gold); padding: 12px 16px; border-radius: 0 10px 10px 0; }
mark.todo { background: #FFE08A; color: #000; padding: 0 4px; border-radius: 3px; }

/* Fußzeile */
footer { border-top: 1px solid var(--line); text-align: center; padding: 28px 16px 36px; color: var(--muted); font-size: .95rem; }
footer img { width: 120px; height: auto; opacity: .9; }
footer p { margin: 6px 0; }
