:root {
    --ee-bg: #07111f;
    --ee-panel: #0d1d33;
    --ee-panel-soft: #112844;
    --ee-text: #f5f8fc;
    --ee-muted: #b8c6d8;
    --ee-blue: #1c7dff;
    --ee-blue-soft: #65a8ff;
    --ee-yellow: #ffd23f;
    --ee-border: rgba(255,255,255,.12);
    --ee-shadow: 0 18px 44px rgba(0,0,0,.28);
}

.football-101,
.football-101 * {
    box-sizing: border-box;
}

.football-101 {
    background: radial-gradient(circle at top left, rgba(28,125,255,.22), transparent 35%), linear-gradient(180deg, #07111f 0%, #081523 100%);
    color: var(--ee-text);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    min-height: 70vh;
    padding: 28px 16px 56px;
}

.football-101 a { color: inherit; }

.ee-fallback-header,
.ee-fallback-footer {
    background: #06101d;
    color: #fff;
    padding: 16px;
    text-align: center;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ee-fallback-brand {
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: .03em;
}

.football-101-wrap {
    max-width: 1180px;
    margin: 0 auto;
}

.football-101-hero {
    border: 1px solid var(--ee-border);
    border-radius: 28px;
    padding: clamp(28px, 5vw, 64px);
    background:
        linear-gradient(135deg, rgba(28,125,255,.24), rgba(7,17,31,.72)),
        linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
    box-shadow: var(--ee-shadow);
    overflow: hidden;
    position: relative;
}

.football-101-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -90px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,210,63,.24), transparent 62%);
    pointer-events: none;
}

.football-101-kicker {
    color: var(--ee-yellow);
    font-size: .88rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.football-101 h1 {
    font-size: clamp(2.2rem, 5vw, 4.8rem);
    line-height: .98;
    margin: 0 0 18px;
    letter-spacing: -.04em;
}

.football-101 h2 {
    font-size: clamp(1.45rem, 3vw, 2.4rem);
    line-height: 1.1;
    margin: 42px 0 14px;
    letter-spacing: -.025em;
}

.football-101 h3 {
    font-size: 1.15rem;
    line-height: 1.25;
    margin: 0 0 10px;
}

.football-101 p {
    margin: 0 0 14px;
}

.football-101-lead {
    color: var(--ee-muted);
    font-size: clamp(1.05rem, 2vw, 1.28rem);
    max-width: 780px;
}

.football-101-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.football-101-btn {
    align-items: center;
    background: var(--ee-blue);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-weight: 800;
    justify-content: center;
    min-height: 46px;
    padding: 12px 18px;
    text-decoration: none;
}

.football-101-btn.secondary {
    background: rgba(255,255,255,.08);
}

.football-101-nav {
    display: flex;
    gap: 10px;
    margin: 20px 0 28px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.football-101-nav a {
    background: rgba(255,255,255,.07);
    border: 1px solid var(--ee-border);
    border-radius: 999px;
    color: var(--ee-text);
    flex: 0 0 auto;
    font-size: .92rem;
    font-weight: 750;
    padding: 9px 14px;
    text-decoration: none;
    white-space: nowrap;
}

.football-101-nav a.is-active,
.football-101-nav a:hover {
    background: var(--ee-blue);
    border-color: rgba(255,255,255,.28);
}

.football-101-section {
    margin-top: 34px;
}

.football-101-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.football-101-card,
.ee-box,
.ee-foul-card,
.ee-term-card {
    background: rgba(13,29,51,.82);
    border: 1px solid var(--ee-border);
    border-radius: 22px;
    box-shadow: 0 14px 34px rgba(0,0,0,.18);
    padding: 22px;
}

.football-101-card p,
.ee-foul-card p,
.ee-term-card p {
    color: var(--ee-muted);
}

.football-101-card .tag,
.ee-foul-card .tag,
.ee-term-card .tag {
    color: var(--ee-yellow);
    display: inline-block;
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .08em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.football-101-card a.more,
.ee-foul-card a.more {
    color: #fff;
    display: inline-block;
    font-weight: 800;
    margin-top: 8px;
    text-decoration: none;
}

.football-101-steps {
    counter-reset: steps;
    display: grid;
    gap: 14px;
}

.football-101-step {
    align-items: flex-start;
    background: rgba(255,255,255,.055);
    border: 1px solid var(--ee-border);
    border-radius: 18px;
    display: grid;
    gap: 12px;
    grid-template-columns: 48px 1fr;
    padding: 18px;
}

.football-101-step::before {
    align-items: center;
    background: var(--ee-blue);
    border-radius: 50%;
    color: #fff;
    content: counter(steps);
    counter-increment: steps;
    display: flex;
    font-weight: 900;
    height: 40px;
    justify-content: center;
    width: 40px;
}

.ee-box {
    border-left: 5px solid var(--ee-blue);
    margin: 24px 0;
}

.ee-box-remember { border-left-color: var(--ee-yellow); }
.ee-box-warning { border-left-color: #ff6b6b; }

.ee-foul-grid,
.ee-glossary-grid,
.ee-position-grid,
.ee-points-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ee-foul-card h3,
.ee-term-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ee-flag-dot {
    background: var(--ee-yellow);
    border-radius: 5px;
    box-shadow: 0 0 18px rgba(255,210,63,.35);
    display: inline-block;
    height: 18px;
    transform: rotate(-11deg);
    width: 18px;
}

.ee-data-list {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.ee-data-list div {
    background: rgba(255,255,255,.055);
    border-radius: 14px;
    padding: 12px;
}

.ee-data-list strong {
    color: #fff;
    display: block;
}

.ee-faq details {
    background: rgba(255,255,255,.055);
    border: 1px solid var(--ee-border);
    border-radius: 16px;
    margin: 10px 0;
    padding: 16px 18px;
}

.ee-faq summary {
    cursor: pointer;
    font-weight: 850;
}

.ee-faq p {
    color: var(--ee-muted);
    margin-top: 12px;
}

.ee-table-wrap {
    overflow-x: auto;
}

.ee-table {
    border-collapse: collapse;
    margin: 18px 0;
    min-width: 620px;
    width: 100%;
}

.ee-table th,
.ee-table td {
    border-bottom: 1px solid var(--ee-border);
    padding: 12px;
    text-align: left;
}

.ee-table th {
    color: var(--ee-yellow);
    font-size: .82rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .football-101-grid,
    .ee-foul-grid,
    .ee-glossary-grid,
    .ee-position-grid,
    .ee-points-grid {
        grid-template-columns: 1fr;
    }

    .football-101 {
        padding-left: 12px;
        padding-right: 12px;
    }

    .football-101-card,
    .ee-box,
    .ee-foul-card,
    .ee-term-card {
        border-radius: 18px;
        padding: 18px;
    }
}


/* Football 1x1 v1.1 – mobile polish */
@media (max-width: 700px) {
    html, body {
        overflow-x: hidden;
    }

    /* Small safety net for common Endzone-Europe header classes.
       It keeps the existing header usable without changing desktop. */
    .ee-header,
    .site-header,
    .main-header,
    header.site-header,
    header.ee-header {
        max-width: 100%;
    }

    .ee-header nav,
    .site-header nav,
    .main-header nav,
    header nav.main-nav {
        display: flex;
        gap: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        scrollbar-width: none;
    }

    .ee-header nav::-webkit-scrollbar,
    .site-header nav::-webkit-scrollbar,
    .main-header nav::-webkit-scrollbar,
    header nav.main-nav::-webkit-scrollbar {
        display: none;
    }

    .football-101 {
        padding: 18px 0 46px;
    }

    .football-101-wrap {
        max-width: 100%;
    }

    .football-101-nav {
        gap: 10px;
        margin: 10px 0 22px;
        overflow-x: auto;
        padding: 0 18px 10px;
        scroll-padding-left: 18px;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .football-101-nav::-webkit-scrollbar {
        display: none;
    }

    .football-101-nav a {
        border-radius: 999px;
        flex: 0 0 auto;
        font-size: .95rem;
        min-height: 42px;
        padding: 10px 18px;
        scroll-snap-align: start;
    }

    .football-101-hero {
        border-radius: 24px;
        margin: 10px 18px 30px;
        padding: 28px 24px;
    }

    .football-101-kicker {
        font-size: .72rem;
        letter-spacing: .16em;
        line-height: 1.45;
        margin-bottom: 12px;
    }

    .football-101 h1 {
        font-size: clamp(2.35rem, 12vw, 3.25rem);
        line-height: 1.02;
        margin-bottom: 16px;
    }

    .football-101 h2 {
        font-size: clamp(1.85rem, 8vw, 2.25rem);
        line-height: 1.12;
        margin-top: 34px;
    }

    .football-101 h3 {
        font-size: 1.12rem;
    }

    .football-101-lead,
    .football-101 p {
        font-size: 1.02rem;
        line-height: 1.62;
    }

    .football-101-actions {
        gap: 12px;
        margin-top: 24px;
    }

    .football-101-btn {
        font-size: 1rem;
        min-height: 48px;
        padding: 13px 16px;
        width: 100%;
    }

    .football-101-section {
        margin-top: 28px;
        padding: 0 18px;
    }

    .football-101-grid,
    .ee-foul-grid,
    .ee-glossary-grid,
    .ee-position-grid,
    .ee-points-grid {
        gap: 14px;
    }

    .football-101-card,
    .ee-box,
    .ee-foul-card,
    .ee-term-card {
        border-radius: 18px;
        padding: 18px;
    }

    .football-101-step {
        grid-template-columns: 40px 1fr;
        padding: 16px;
    }

    .football-101-step::before {
        height: 34px;
        width: 34px;
    }

    .ee-data-list {
        gap: 8px;
    }

    .ee-data-list div {
        padding: 11px;
    }
}

@media (max-width: 390px) {
    .football-101-nav {
        padding-left: 14px;
        padding-right: 14px;
    }

    .football-101-nav a {
        font-size: .9rem;
        padding: 9px 15px;
    }

    .football-101-hero,
    .football-101-section {
        margin-left: 14px;
        margin-right: 14px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .football-101-section {
        padding-left: 14px;
        padding-right: 14px;
    }
}

/* Football 1x1 v1.3 – sauberer Light-Mode für Endzone Europe */
html[data-theme="light"] .football-101{
    --ee-bg:#f3ebdf;
    --ee-panel:#ffffff;
    --ee-panel-soft:#f6efe5;
    --ee-text:#1f2d40;
    --ee-muted:#556275;
    --ee-blue:#1c7dff;
    --ee-blue-soft:#4b95ff;
    --ee-yellow:#b63144;
    --ee-border:rgba(31,45,68,.13);
    --ee-shadow:0 18px 46px rgba(28,34,52,.12);
    background:
        radial-gradient(circle at 8% 0%, rgba(182,49,68,.10), transparent 32%),
        radial-gradient(circle at 95% 0%, rgba(28,125,255,.12), transparent 30%),
        linear-gradient(180deg,#f7f0e5 0%,#f3ebdf 100%);
    color:var(--ee-text);
}

html[data-theme="light"] .football-101 h1,
html[data-theme="light"] .football-101 h2,
html[data-theme="light"] .football-101 h3,
html[data-theme="light"] .football-101 strong,
html[data-theme="light"] .ee-data-list strong,
html[data-theme="light"] .ee-faq summary{
    color:#1f2d40;
}

html[data-theme="light"] .football-101 p,
html[data-theme="light"] .football-101-lead,
html[data-theme="light"] .football-101-card p,
html[data-theme="light"] .ee-foul-card p,
html[data-theme="light"] .ee-term-card p,
html[data-theme="light"] .ee-faq p{
    color:#556275;
}

html[data-theme="light"] .football-101-kicker,
html[data-theme="light"] .football-101-card .tag,
html[data-theme="light"] .ee-foul-card .tag,
html[data-theme="light"] .ee-term-card .tag,
html[data-theme="light"] .ee-table th{
    color:#b63144;
}

html[data-theme="light"] .football-101-nav a{
    background:rgba(255,255,255,.74);
    border-color:rgba(31,45,68,.13);
    color:#1f2d40;
    box-shadow:0 8px 22px rgba(28,34,52,.06);
}

html[data-theme="light"] .football-101-nav a.is-active,
html[data-theme="light"] .football-101-nav a:hover,
html[data-theme="light"] .football-101-nav a:focus-visible{
    background:linear-gradient(180deg,#2688ff,#1175f2);
    border-color:rgba(28,125,255,.32);
    color:#ffffff;
    box-shadow:0 12px 26px rgba(28,125,255,.20);
}

html[data-theme="light"] .football-101-hero{
    background:
        radial-gradient(circle at 102% 88%, rgba(255,210,63,.26), transparent 22%),
        linear-gradient(135deg, rgba(255,255,255,.92), rgba(232,240,250,.88) 48%, rgba(204,216,229,.78)),
        linear-gradient(180deg, rgba(255,255,255,.70), rgba(246,238,229,.88));
    border-color:rgba(31,45,68,.13);
    box-shadow:0 22px 52px rgba(28,34,52,.13);
}

html[data-theme="light"] .football-101-hero::after{
    background:radial-gradient(circle, rgba(255,210,63,.28), transparent 62%);
}

html[data-theme="light"] .football-101-btn{
    background:linear-gradient(180deg,#2688ff,#1175f2);
    border-color:rgba(28,125,255,.28);
    color:#ffffff;
    box-shadow:0 12px 24px rgba(28,125,255,.18);
}

html[data-theme="light"] .football-101-btn.secondary{
    background:rgba(255,255,255,.76);
    border-color:rgba(31,45,68,.16);
    color:#1f2d40;
    box-shadow:0 10px 20px rgba(28,34,52,.08);
}

html[data-theme="light"] .football-101-card,
html[data-theme="light"] .ee-box,
html[data-theme="light"] .ee-foul-card,
html[data-theme="light"] .ee-term-card{
    background:linear-gradient(180deg, rgba(255,255,255,.90), rgba(247,241,234,.90));
    border-color:rgba(31,45,68,.12);
    box-shadow:0 16px 34px rgba(28,34,52,.10);
    color:#1f2d40;
}

html[data-theme="light"] .football-101-step,
html[data-theme="light"] .ee-data-list div,
html[data-theme="light"] .ee-faq details{
    background:rgba(255,255,255,.68);
    border-color:rgba(31,45,68,.11);
    color:#1f2d40;
}

html[data-theme="light"] .football-101-card a.more,
html[data-theme="light"] .ee-foul-card a.more{
    color:#126fe8;
}

html[data-theme="light"] .ee-box{
    border-left-color:#1c7dff;
}
html[data-theme="light"] .ee-box-remember{border-left-color:#b63144;}
html[data-theme="light"] .ee-box-warning{border-left-color:#d43d4f;}

html[data-theme="light"] .ee-table th,
html[data-theme="light"] .ee-table td{
    border-bottom-color:rgba(31,45,68,.13);
}

