:root {
    --sgcw-green: #008820;
    --sgcw-green-dark: #004b21;
    --sgcw-green-deep: #003717;
    --sgcw-green-soft: #eef8f0;
    --sgcw-gold: #f4c44e;
    --sgcw-line: #dfe8e1;
    --sgcw-text: #17251c;
}

.sgcw-bl,
.sgcw-bl * { box-sizing: border-box; }

.sgcw-bl {
    width: 100%;
    max-width: 940px;
    margin: 0 auto;
    color: var(--sgcw-text);
    font-family: inherit;
}

.sgcw-bl__hero {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 160px;
    margin: 0 0 18px;
    padding: 24px 28px;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(135deg, var(--sgcw-green-deep), var(--sgcw-green) 72%, #20a43e);
    box-shadow: 0 18px 45px rgba(0, 70, 28, .18);
}

.sgcw-bl__hero::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -135px;
    width: 430px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    transform: rotate(-9deg);
}

.sgcw-bl__hero-mark {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    flex: 0 0 92px;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.28);
}

.sgcw-bl__ball {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 9px 0 -6px rgba(0,0,0,.25);
}

.sgcw-bl__ball::before {
    content: "";
    position: absolute;
    inset: 7px;
    opacity: .28;
    border-radius: inherit;
    background-image: radial-gradient(circle, #33523d 0 1.5px, transparent 2px);
    background-size: 9px 9px;
}

.sgcw-bl__ball::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 43px;
    width: 4px;
    height: 27px;
    transform: translateX(-50%);
    border-radius: 4px;
    background: #fff;
}

.sgcw-bl__hero-copy { position: relative; z-index: 1; }
.sgcw-bl__eyebrow {
    margin: 0 0 4px !important;
    color: rgba(255,255,255,.78);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .11em;
    text-transform: uppercase;
}
.sgcw-bl__hero h2 {
    margin: 0 !important;
    color: #fff !important;
    font-size: clamp(30px, 4.6vw, 50px) !important;
    line-height: 1.02 !important;
    letter-spacing: -.035em;
}
.sgcw-bl__hero-copy > p:last-child {
    max-width: 720px;
    margin: 9px 0 0 !important;
    color: rgba(255,255,255,.9);
    font-size: 14px;
}


.sgcw-bl__year {
    margin: 0 0 30px;
    scroll-margin-top: 24px;
}
.sgcw-bl__year-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 12px;
}
.sgcw-bl__year-heading h3 {
    margin: 0 !important;
    color: var(--sgcw-green-dark) !important;
    font-size: 28px !important;
    line-height: 1 !important;
}
.sgcw-bl__year-heading a {
    color: var(--sgcw-green-dark) !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}
.sgcw-bl__year-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
}

.sgcw-bl__card {
    overflow: hidden;
    border: 1px solid var(--sgcw-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(29,51,36,.08);
}
.sgcw-bl__card-head {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 16px;
    color: #fff;
    background: linear-gradient(90deg, var(--sgcw-green-dark), var(--sgcw-green));
}
.sgcw-bl__card-head p {
    margin: 0 0 1px !important;
    color: rgba(255,255,255,.72);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.sgcw-bl__card-head h4 {
    margin: 0 !important;
    color: #fff !important;
    font-size: clamp(20px, 2.8vw, 27px) !important;
    line-height: 1.05 !important;
}
.sgcw-bl__card-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    border: 1px solid rgba(255,255,255,.25);
}
.sgcw-bl__card-icon span {
    position: relative;
    display: block;
    width: 25px;
    height: 25px;
    border: 3px dotted rgba(255,255,255,.9);
    border-radius: 50%;
}
.sgcw-bl__card-icon span::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 22px;
    width: 3px;
    height: 13px;
    border-radius: 3px;
    background: #fff;
    transform: translateX(-50%);
}

.sgcw-bl__table-scroll {
    width: 100%;
    width: 100%;
    overflow: visible;
    outline: none;
}
.sgcw-bl__table-scroll:focus { box-shadow: inset 0 0 0 3px rgba(0,136,32,.18); }
.sgcw-bl__table {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    border: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    table-layout: fixed;
    background: #fff;
    font-size: 14px;
}
.sgcw-bl__table th,
.sgcw-bl__table td {
    padding: 9px 10px !important;
    border: 0 !important;
    border-right: 1px solid #e7ece8 !important;
    border-bottom: 1px solid #e7ece8 !important;
    color: #17251c;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    word-break: break-word;
}
.sgcw-bl__table th:last-child,
.sgcw-bl__table td:last-child { border-right: 0 !important; }
.sgcw-bl__table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    padding-top: 9px !important;
    padding-bottom: 9px !important;
    color: #fff !important;
    background: var(--sgcw-green-deep) !important;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .025em;
    text-transform: uppercase;
}
.sgcw-bl__table .sgcw-bl__club {
    width: 20%;
    min-width: 0;
    text-align: left;
}
.sgcw-bl__table tbody .sgcw-bl__club {
    color: var(--sgcw-green-dark);
    font-size: 15px;
    font-weight: 800;
    background: transparent;
}
.sgcw-bl__table tbody tr:nth-child(even) { background: #f7f9f7; }
.sgcw-bl__table tbody tr:hover { background: #edf7ef; }
.sgcw-bl__table tbody tr.sgcw-bl__rank-1 { background: linear-gradient(90deg, #fff7d3, #fffbec); }
.sgcw-bl__table tbody tr.sgcw-bl__rank-2 { background: linear-gradient(90deg, #f0f2f4, #fbfcfc); }
.sgcw-bl__table tbody tr.sgcw-bl__rank-3 { background: linear-gradient(90deg, #fbe4cf, #fff7f0); }
.sgcw-bl__rank { width: 62px; }
.sgcw-bl__rank span {
    display: inline-grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    color: #fff;
    background: var(--sgcw-green-dark);
    font-size: 14px;
    font-weight: 900;
    box-shadow: inset 0 -2px 0 rgba(0,0,0,.17);
}
.sgcw-bl__rank-1 .sgcw-bl__rank span {
    color: #3b2b00;
    background: linear-gradient(145deg, #fff1a5, #e7a900);
    box-shadow: inset 0 0 0 2px #c99000, 0 3px 8px rgba(157,111,0,.18);
}
.sgcw-bl__rank-2 .sgcw-bl__rank span {
    color: #283037;
    background: linear-gradient(145deg, #fff, #aeb7bf);
    box-shadow: inset 0 0 0 2px #919ba4;
}
.sgcw-bl__rank-3 .sgcw-bl__rank span {
    color: #44220d;
    background: linear-gradient(145deg, #f6c295, #b86b32);
    box-shadow: inset 0 0 0 2px #a55b27;
}
.sgcw-bl__total {
    color: var(--sgcw-green-dark) !important;
    font-size: 15px;
    font-weight: 900;
}
.sgcw-bl__empty { color: #a8b1aa; }

@media (max-width: 782px) {
    .sgcw-bl__hero { min-height: 140px; padding: 20px 18px; border-radius: 16px; }
    .sgcw-bl__hero-mark { display: none; }
    .sgcw-bl__hero-copy > p:last-child { font-size: 13px; }
    .sgcw-bl__card { border-radius: 14px; }
    .sgcw-bl__card-head { padding: 14px 15px; }
    .sgcw-bl__card-icon { width: 42px; height: 42px; }
    .sgcw-bl__table th,
    .sgcw-bl__table td { padding: 10px 11px !important; }
}


@media (max-width: 900px) {
    .sgcw-bl__year-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .sgcw-bl__table-scroll {
        overflow: visible;
    }
    .sgcw-bl__table,
    .sgcw-bl__table thead,
    .sgcw-bl__table tbody,
    .sgcw-bl__table tr,
    .sgcw-bl__table th,
    .sgcw-bl__table td {
        display: block;
        width: 100%;
    }
    .sgcw-bl__table {
        min-width: 0;
        border-collapse: collapse !important;
        font-size: 14px;
    }
    .sgcw-bl__table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    .sgcw-bl__table tbody {
        padding: 10px;
    }
    .sgcw-bl__table tbody tr {
        margin: 0 0 14px;
        border: 1px solid #e7ece8;
        border-radius: 14px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 6px 18px rgba(29,51,36,.06);
    }
    .sgcw-bl__table tbody tr:last-child {
        margin-bottom: 0;
    }
    .sgcw-bl__table tbody th,
    .sgcw-bl__table tbody td {
        display: grid;
        grid-template-columns: minmax(95px, 38%) 1fr;
        gap: 10px;
        align-items: center;
        border-right: 0 !important;
        border-bottom: 1px solid #e7ece8 !important;
        padding: 10px 12px !important;
        text-align: left;
    }
    .sgcw-bl__table tbody tr > *:last-child {
        border-bottom: 0 !important;
    }
    .sgcw-bl__table tbody th::before,
    .sgcw-bl__table tbody td::before {
        content: attr(data-label);
        color: var(--sgcw-green-dark);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .03em;
        text-transform: uppercase;
    }
    .sgcw-bl__table .sgcw-bl__club {
        width: 100%;
        min-width: 0;
    }
    .sgcw-bl__rank {
        width: 100%;
    }
    .sgcw-bl__rank span {
        width: 32px;
        height: 32px;
        font-size: 15px;
    }
    .sgcw-bl__total {
        font-size: 16px;
    }
}


/* Handy im Querformat: komplette Tabelle ohne seitliches Scrollen */
@media (orientation: landscape) and (min-width: 560px) and (max-width: 1024px) and (max-height: 600px) {
    .sgcw-bl {
        width: 100%;
        max-width: none;
        padding: 0 4px;
    }
    .sgcw-bl__hero {
        min-height: 92px;
        margin-bottom: 12px;
        padding: 12px 16px;
        border-radius: 14px;
    }
    .sgcw-bl__hero-mark {
        display: none;
    }
    .sgcw-bl__hero h2 {
        font-size: 28px !important;
    }
    .sgcw-bl__hero-copy > p:last-child {
        display: none;
    }
    .sgcw-bl__year {
        margin-bottom: 20px;
    }
    .sgcw-bl__year-heading {
        margin-bottom: 8px;
    }
    .sgcw-bl__year-heading h3 {
        font-size: 22px !important;
    }
    .sgcw-bl__card {
        border-radius: 12px;
    }
    .sgcw-bl__card-head {
        padding: 9px 12px;
    }
    .sgcw-bl__card-icon {
        display: none;
    }
    .sgcw-bl__card-head h4 {
        font-size: 20px !important;
    }
    .sgcw-bl__table-scroll {
        overflow: visible;
    }
    .sgcw-bl__table {
        display: table !important;
        width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed !important;
        border-collapse: separate !important;
        font-size: 10px;
    }
    .sgcw-bl__table thead {
        position: static !important;
        display: table-header-group !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        clip: auto !important;
        white-space: normal !important;
    }
    .sgcw-bl__table tbody {
        display: table-row-group !important;
        width: auto !important;
        padding: 0 !important;
    }
    .sgcw-bl__table tr {
        display: table-row !important;
        width: auto !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }
    .sgcw-bl__table th,
    .sgcw-bl__table td,
    .sgcw-bl__table tbody th,
    .sgcw-bl__table tbody td {
        display: table-cell !important;
        width: auto;
        padding: 5px 3px !important;
        border-right: 1px solid #e7ece8 !important;
        border-bottom: 1px solid #e7ece8 !important;
        font-size: 10px;
        line-height: 1.05;
        text-align: center;
        vertical-align: middle;
        white-space: nowrap;
        word-break: normal;
    }
    .sgcw-bl__table thead th {
        position: static;
        padding: 5px 2px !important;
        font-size: 9px;
        letter-spacing: 0;
    }
    .sgcw-bl__table tbody th::before,
    .sgcw-bl__table tbody td::before {
        display: none !important;
        content: none !important;
    }
    .sgcw-bl__table .sgcw-bl__club {
        width: 18% !important;
        min-width: 0;
        padding-left: 5px !important;
        font-size: 10px;
        text-align: left;
        white-space: normal;
    }
    .sgcw-bl__rank {
        width: 7% !important;
    }
    .sgcw-bl__rank span {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
    .sgcw-bl__total {
        width: 10% !important;
        font-size: 11px !important;
    }
    .sgcw-bl__day-word {
        display: none;
    }
}

@media print {
    .sgcw-bl__hero,
    .sgcw-bl__year-heading a { display: none !important; }
    .sgcw-bl__year { break-inside: avoid; }
    .sgcw-bl__card { box-shadow: none; }
    .sgcw-bl__table-scroll { overflow: visible; }
    .sgcw-bl__table { min-width: 0; font-size: 9px; }
    .sgcw-bl__table th,
    .sgcw-bl__table td { padding: 5px !important; }
}
