/* =========================================================
   Sport Ferstl Cup – Grundgestaltung im Stil der Vereins-Homepage
   (fc-wald-suessenbach.de: Blau/Weiß, Barlow Condensed + Inter).
   Grundsatz: kompakt – die Daten zählen, keine großen Zierabstände.
   Schriften: assets/css/fonts.css (lokal, keine externen Ressourcen).
   ========================================================= */


:root {
    --blue:        #1a2fd8;   /* Vereinsblau (Wappen) */
    --blue-bright: #2e4bff;
    --navy:        #0a1140;
    --navy-2:      #101a5e;
    --white:       #ffffff;
    --off-white:   #f4f6fc;
    --grey:        #667085;
    --text:        #12141d;
    --accent:      #ffd23f;
    --line:        rgba(10, 17, 64, .12);

    --font-head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;

    --shadow-md: 0 8px 30px rgba(10, 17, 64, .12);
    --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; overflow-x: clip; }
body { font-family: var(--font-body); color: var(--text); background: var(--off-white); line-height: 1.45; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }

/* ---------- Buttons (wie Homepage: schräg, Barlow Condensed) ---------- */
.btn {
    display: inline-block;
    font-family: var(--font-head);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    font-size: 1.05rem;
    line-height: 1.2;
    padding: .7rem 1.6rem;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transform: skewX(-8deg);
    transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn > span { display: inline-block; transform: skewX(8deg); }
.btn:hover { transform: skewX(-8deg) translateY(-2px); box-shadow: var(--shadow-md); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-bright); color: var(--white); }
.btn-accent { background: var(--accent); color: var(--navy); }
.btn-accent:hover { background: #ffdc63; color: var(--navy); }
.btn-outline { border-color: rgba(255,255,255,.8); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--navy); }

/* =========================================================
   Startseite vor dem Cup: nur Countdown + Login (index.php)
   Passt auch auf kleinen Handys auf einen Bildschirm.
   ========================================================= */
.cd-body {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem .8rem;
    color: var(--white);
    text-align: center;
    background:
        radial-gradient(900px 560px at 20% 12%, rgba(46, 75, 255, .35), transparent 60%),
        radial-gradient(800px 600px at 85% 88%, rgba(255, 210, 63, .12), transparent 60%),
        linear-gradient(160deg, #060b2e 0%, #0a1140 45%, #131f6e 100%);
}
.cd-body::before, .cd-body::after {   /* Farbleisten oben/unten wie auf der Homepage */
    content: "";
    position: fixed;
    left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue-bright), var(--accent), var(--blue-bright));
}
.cd-body::before { top: 0; }
.cd-body::after { bottom: 0; }

.cd-wrap { width: 100%; max-width: 760px; display: flex; flex-direction: column; align-items: center; gap: .9rem; }
.cd-logo { width: 84px; height: auto; filter: drop-shadow(0 6px 16px rgba(0, 0, 0, .35)); }
.cd-kicker {
    margin: 0;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--accent);
}
.cd-title {
    margin: -.4rem 0 0;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(2.3rem, 9vw, 4.2rem);
    line-height: .95;
    text-transform: uppercase;
    letter-spacing: .01em;
}
.cd-title span { color: var(--accent); }

.cd-counter { display: flex; justify-content: center; align-items: stretch; gap: .5rem; width: 100%; }
.cd-block {
    flex: 1 1 0;
    max-width: 150px;
    padding: .6rem .3rem .5rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
}
.cd-zahl {
    display: block;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: clamp(2.2rem, 10vw, 4rem);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}
.cd-label { display: block; margin-top: .2rem; font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }

.cd-datum { margin: 0; font-size: .95rem; color: rgba(255, 255, 255, .88); }
.cd-datum strong { color: var(--white); }
.cd-laeuft { margin: 0; font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; text-transform: uppercase; color: var(--accent); }

.cd-aktionen { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem .8rem; }
.cd-footer { margin: .3rem 0 0; font-size: .78rem; color: rgba(255, 255, 255, .6); }
.cd-footer a { color: rgba(255, 255, 255, .78); }

@media (max-width: 420px) {
    .cd-counter { gap: .35rem; }
    .cd-block { padding: .5rem .15rem .4rem; }
    .cd-label { font-size: .62rem; letter-spacing: .06em; }
}
