/* Webseite (Visitenkarte) der MTK-Kreisauswahl – Ziegelrot wie der Kopf von mtk-jugendfussball.de (wie die App), neutrale Grautöne,
   Systemschriften (keine externen Dienste). Aufbau: Kopf · Inhalt · Sponsor · Fuß */
:root {
  --rot: #a1312d;
  --rot-dunkel: #86271f;
  --rot-hell: #efedec;   /* bewusst neutral grau statt rosa */
  --grau: #5f6368;
  --text: #1f2328;
  --papier: #f6f6f7;
  --weiss: #ffffff;
  --rand: #e1e2e5;
  --dunkel: #1f2328;
  --radius: 14px;
  --schatten: 0 1px 2px rgba(0,0,0,.05), 0 8px 24px rgba(0,0,0,.06);
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
/* Kein Springen der Seite zwischen kurzen und langen Seiten (wie in der App): Platz für den Scrollbalken immer freihalten.
   Ältere Browser ohne scrollbar-gutter zeigen dafür den Scrollbalken immer an. */
html { scrollbar-gutter: stable; }
@supports not (scrollbar-gutter: stable) { html { overflow-y: scroll; } }
body { margin: 0; font-family: var(--sans); font-size: 1.04rem; line-height: 1.6; color: var(--text); background: var(--papier); min-height: 100vh; display: flex; flex-direction: column; }
a { color: var(--rot); }
a:hover { color: var(--rot-dunkel); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.2; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.springen { position: absolute; left: -9999px; top: 0; background: var(--weiss); padding: .5rem 1rem; z-index: 10; }
.springen:focus { left: 1rem; }
.breite { max-width: 68rem; margin: 0 auto; padding: 0 1.1rem; }

/* Kopf */
.kopf { background: linear-gradient(90deg, #9e2a1d 0%, #b83024 55%, #cf372c 100%); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.12); position: relative; z-index: 2; }
.kopf-innen { max-width: 68rem; margin: 0 auto; padding: .65rem 1.1rem; display: flex; align-items: center; gap: 1rem; }
.marke { display: flex; align-items: center; gap: .75rem; color: #fff; text-decoration: none; margin-right: auto; }
.marke:hover, .marke:focus, .marke:visited { color: #fff; }
.marke img { width: 48px; height: 48px; border-radius: 50%; background: #fff; padding: 3px; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.marke span { display: grid; line-height: 1.15; }
.marke strong { font-size: 1.08rem; letter-spacing: .01em; }
.marke small { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.nav { display: flex; align-items: center; gap: .25rem; flex-wrap: wrap; }
.nav a { color: #fff; text-decoration: none; padding: .45rem .85rem; border-radius: 999px; font-size: .95rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,.16); color: #fff; }
.nav a.anmelden { border: 1px solid rgba(255,255,255,.6); display: inline-flex; align-items: center; gap: .4rem; margin-left: .3rem; }
.nav a.anmelden svg { flex: none; }

/* Inhalt */
main { flex: 1; width: 100%; }
.abschnitt { max-width: 68rem; margin: 0 auto; padding: 2.4rem 1.1rem; }
.abschnitt + .abschnitt { padding-top: 0; }
.titel { display: flex; align-items: center; gap: .7rem; font-size: 1.45rem; margin: 0 0 1.2rem; }
.titel::before { content: ""; width: 6px; height: 1.3em; border-radius: 3px; background: var(--rot); flex: none; }

/* Startseite: großer Einstieg */
.held { background: linear-gradient(180deg, var(--weiss) 0%, var(--papier) 100%); border-bottom: 1px solid var(--rand); }
.held-innen { max-width: 68rem; margin: 0 auto; padding: 3rem 1.1rem 3.2rem; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2.5rem; align-items: center; }
.held .vorzeile { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rot); background: var(--rot-hell); padding: .3rem .7rem; border-radius: 999px; margin: 0 0 1rem; }
.held h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin: 0 0 1rem; letter-spacing: -.01em; }
.held p { max-width: 36rem; color: #3c4043; }
.held-bild { justify-self: center; position: relative; width: min(100%, 330px); aspect-ratio: 1; display: grid; place-items: center; }
.held-bild::before { content: ""; position: absolute; inset: 4%; border-radius: 50%; background: radial-gradient(circle closest-side, var(--weiss) 88%, var(--rot-hell) 88.5%); box-shadow: var(--schatten); }
.held-bild img { position: relative; display: block; width: 78%; height: auto; }
.knoepfe { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.knopf { display: inline-flex; align-items: center; gap: .5rem; padding: .72rem 1.3rem; border-radius: 999px; border: 2px solid var(--rot); color: var(--rot); background: var(--weiss); font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.knopf:hover { background: var(--rot-hell); color: var(--rot-dunkel); }
.knopf.primaer { background: var(--rot); color: #fff; }
.knopf.primaer:hover { background: var(--rot-dunkel); border-color: var(--rot-dunkel); color: #fff; }

/* Karten */
.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1rem; }
.karte { background: var(--weiss); border: 1px solid var(--rand); border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: var(--schatten); }
.karte h2 { font-size: 1.2rem; margin: 0 0 .5rem; }
.karte p:last-child { margin-bottom: 0; }
a.karte { color: inherit; text-decoration: none; transition: transform .15s, border-color .15s; display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; align-items: start; }
a.karte:hover { border-color: var(--rot); transform: translateY(-2px); color: inherit; }
a.karte .symbol { grid-row: span 2; }
a.karte h2 { margin: .15rem 0 0; }
a.karte p { margin: 0; color: var(--grau); font-size: .95rem; }
.symbol { width: 2.8rem; height: 2.8rem; border-radius: 12px; background: var(--rot); color: #fff; display: grid; place-items: center; flex: none; }

/* Ansprechpartner */

/* Unterseiten */
.seite h1 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); margin: 0 0 1.3rem; }
.text { max-width: 46rem; }
.text h2 { font-size: 1.25rem; margin: 1.8rem 0 .5rem; }
.text h3 { font-size: 1.05rem; margin: 1.3rem 0 .3rem; }

/* Kontaktformular */

/* Unterstützer (Sponsor) – Klassen bewusst ohne „sponsor“, sonst blenden Werbeblocker den Bereich aus */
.foerderer { width: 100%; max-width: 68rem; margin: 0 auto; padding: 0 1.1rem 2.6rem; }   /* so breit wie die Kacheln darüber */
.foerderer-innen { padding: 1.4rem 2rem 1.6rem; display: flex; flex-direction: column; align-items: center; gap: 1rem; text-align: center;
  background: var(--weiss); border: 1px solid var(--rand); border-radius: 20px; box-shadow: var(--schatten); }
.foerderer-label { display: flex; align-items: center; gap: .8rem; width: 100%; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--grau); }
.foerderer-label::before, .foerderer-label::after { content: ""; flex: 1; height: 1px; background: var(--rand); }
.foerderer-link { display: inline-block; padding: .5rem .9rem; border-radius: 12px; transition: background .15s; text-decoration: none; }
.foerderer-link:hover { background: var(--papier); }
.foerderer-link img { display: block; width: auto; height: auto; max-height: 96px; max-width: min(260px, 64vw); object-fit: contain; }
.foerderer-name { font-size: 1.5rem; font-weight: 800; letter-spacing: -.01em; color: var(--text); }
@media (max-width: 560px) {
  .foerderer { padding: 0 1.1rem 2rem; }
  .foerderer-innen { padding: 1.1rem 1.1rem 1.2rem; gap: .8rem; }
  .foerderer-label { font-size: .64rem; letter-spacing: .1em; gap: .6rem; }
  .foerderer-link img { max-height: 84px; }
}

/* Startseite: zwei große Kacheln */
.kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.kacheln-eine { grid-template-columns: minmax(0, 34rem); justify-content: center; }
.kachel { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; padding: 2rem 2rem 1.8rem; min-height: 15rem;
  background: var(--weiss); border: 1px solid var(--rand); border-radius: 20px; box-shadow: var(--schatten); color: inherit; text-decoration: none;
  overflow: hidden; transition: transform .15s, border-color .15s, box-shadow .15s; }
.kachel::after { content: ""; position: absolute; right: -3.5rem; top: -3.5rem; width: 11rem; height: 11rem; border-radius: 50%; background: var(--rot-hell); z-index: 0; }
.kachel > * { position: relative; z-index: 1; }
.kachel:hover { border-color: var(--rot); transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0,0,0,.05), 0 14px 32px rgba(0,0,0,.09); color: inherit; }
.kachel .symbol { width: 3.6rem; height: 3.6rem; border-radius: 16px; margin-bottom: .6rem; }
.kachel h2 { font-size: 1.55rem; margin: 0; letter-spacing: -.01em; }
.kachel p { margin: 0; color: var(--grau); }
.kachel-weiter { margin-top: auto; padding-top: 1.1rem; display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--rot); }
.kachel:hover .kachel-weiter { color: var(--rot-dunkel); }
.kachel-app { background: var(--rot); border-color: var(--rot); color: #fff; }
.kachel-app::after { background: rgba(255,255,255,.1); }
.kachel-app .symbol { background: #fff; color: var(--rot); }
.kachel-app p, .kachel-app .kachel-weiter, .kachel-app:hover .kachel-weiter { color: rgba(255,255,255,.92); }
.kachel-app:hover { border-color: var(--rot-dunkel); background: var(--rot-dunkel); color: #fff; }
@media (max-width: 720px) {
  .kacheln { grid-template-columns: 1fr; gap: 1rem; }
  .kachel { min-height: 0; padding: 1.5rem 1.4rem 1.4rem; }
  .kachel h2 { font-size: 1.35rem; }
}

/* Fuß */
.fuss { background: #000; color: rgba(255,255,255,.75); font-size: .9rem; border-top: 4px solid var(--rot); }
.fuss-innen { max-width: 68rem; margin: 0 auto; padding: 1.3rem 1.1rem; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; align-items: center; }
.fuss a { color: #fff; text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }

@media (max-width: 760px) {
  .kopf-innen { flex-wrap: wrap; }
  .nav { width: 100%; margin: 0 -.4rem; }
  .nav a { padding: .4rem .65rem; }
  .nav a.anmelden { margin-left: auto; }
  .held-innen { grid-template-columns: 1fr; gap: 1.2rem; padding: 1.8rem 1.1rem 2.2rem; text-align: center; }
  .held-bild { width: min(62%, 230px); grid-row: 1; }
  .held p { margin-left: auto; margin-right: auto; }
  .knoepfe { justify-content: center; }
  .abschnitt { padding: 1.8rem 1.1rem; }
}
@media print { .kopf, .foerderer, .fuss, .knoepfe { display: none; } }
