/*
Theme Name: Fortuna47
Theme URI: https://fortuna47.de
Author: SV Fortuna 47 Eggermühlen
Description: Theme für den SV Fortuna 47 Eggermühlen – Sportverein.
Version: 1.0.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fortuna47
*/

@font-face {
    font-family: 'Open Sans';
    src: url('/wp-content/themes/fortuna47/assets/fonts/open-sans/OpenSans-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('/wp-content/themes/fortuna47/assets/fonts/open-sans/OpenSans-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('/wp-content/themes/fortuna47/assets/fonts/open-sans/OpenSans-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('/wp-content/themes/fortuna47/assets/fonts/open-sans/OpenSans-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Open Sans';
    src: url('/wp-content/themes/fortuna47/assets/fonts/open-sans/OpenSans-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root{
    --green: #068500;
    --green-2: #45c563;
    --bg: #ffffff;
    --text: #2e2e2e;
    --muted: #6b6b6b;
    --anthra: #121212;
    --gray-1: #f4f5f6;
    --gray-2: #d9d9d9;
    --shadow: 0 10px 25px rgba(0,0,0,.10);
    --radius: 16px;
    --container: 1180px;
    --shoplabel-bg: #6f6f6f;
    --corner-size: 120px;
    --corner-grad-left: linear-gradient(135deg, var(--green) 0%, rgba(6, 133, 0, 0.98) 22%, rgba(6, 133, 0, 0.80) 55%, rgba(6, 133, 0, 0.35) 78%, #ffffff 100%);
    --corner-grad-right: linear-gradient(315deg, var(--green) 0%, rgba(6, 133, 0, 0.98) 22%, rgba(6, 133, 0, 0.80) 55%, rgba(6, 133, 0, 0.35) 78%, #ffffff 100%);
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
    margin: 0;
    font-family: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 300;
    color: var(--text);
    background: var(--bg);
    line-height: 1.45;
}

button, input {
    font-family: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.mt-20 { margin-top: 20px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mt-50 { margin-top: 50px !important; }
.mb-50 { margin-bottom: 50px !important; }
.pb-10 { padding-bottom: 10px !important; }
.pt-20 { padding-top: 20px !important; }
.pb-20 { padding-bottom: 20px !important; }
.pt-100 { padding-top: 100px !important; }
.text-center { text-align: center; }

.container{
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.skip-link{
    position: absolute; left: 12px; top: 12px;
    background: var(--anthra); color: #fff;
    padding: 10px 12px; border-radius: 10px;
    transform: translateY(-160%); transition: transform .2s ease;
    z-index: 9999;
}
.skip-link:focus{ transform: translateY(0); }

.site-header{
    position: sticky; top: 0; z-index: 50;
    background: #fff; overflow: visible;
    box-shadow: 0 1px 15px 1px rgba(0, 0, 0, .3);
}
.site-header::before, .site-header::after{
    content: ""; position: absolute; top: 0;
    width: var(--corner-size); height: var(--corner-size);
    pointer-events: none; z-index: 0;
}
.site-header::before{
    left: 0;
    background: var(--corner-grad-left);
    clip-path: polygon(0 0, 100% 0, 0 100%);
}
.site-header::after{
    right: 0;
    background: var(--corner-grad-right);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.site-header > *{ position: relative; z-index: 1; }

.header-inner{
    position: relative; z-index: 1;
    display: flex; align-items: center; justify-content: space-between;
    gap: 18px; padding: 14px 0; min-height: 96px;
}
.brand{ display: inline-flex; align-items: center; gap: 10px; }
.brand img{ width: 82px; height: auto; filter: drop-shadow(0 6px 10px rgba(0,0,0,.08)); }

.main-nav{ display: none; }
.nav-list{ display: flex; gap: 30px; list-style: none; padding: 0; margin: 0; align-items: center; }
.nav-link{
    position: relative; display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 2px 6px; text-transform: uppercase; letter-spacing: 0.08em;
    font-weight: 700; font-size: 18px; color: var(--text);
    border: 0; background: transparent; cursor: pointer; text-decoration: none;
}
.nav-link::after{
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
    background: var(--green); transform: scaleX(0); transform-origin: left;
    transition: transform .18s ease;
}
.nav-link:hover{ color: var(--text); text-decoration: none; }
.nav-link:hover::after{ transform: scaleX(1); }
.nav-item.is-active .nav-link::after,
.nav-item.is-open .nav-link::after,
.nav-item.current-menu-item .nav-link::after,
.nav-item.current-menu-ancestor .nav-link::after{ transform: scaleX(1); }
.nav-item{ position: static; }

.has-submenu .submenu{
    position: absolute; top: 100%; left: var(--submenu-left, 0px);
    transform: none; margin-top: 1px; border-top: solid 4px var(--green);
    background: #0d0d0d; color: #fff; min-width: 220px;
    box-shadow: 0 20px 50px 10px rgba(0, 0, 0, 0.15);
    padding: 10px 0; opacity: 0; visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease; z-index: 99999;
}
.has-submenu .submenu a{
    display: block; padding: 10px 14px; font-weight: 600; font-size: 13px;
    letter-spacing: .02em; text-transform: uppercase;
}
.has-submenu .submenu a:hover{ background: rgba(6,133,0,1); text-decoration: none; }
.nav-item.is-open .submenu{ opacity: 1; visibility: visible; }

/* 3. Ebene: direkt neben 2. Ebene, Hintergrund #555555 */
.submenu-item.has-submenu{ position: relative; }
.submenu-item.has-submenu > .submenu--level-2{
    position: absolute; left: 100%; top: 0; margin-top: 0; margin-left: 0;
    min-height: 100%; background: #555555; border-top: solid 5px var(--green);
    border-left: 1px solid rgba(255,255,255,.08);
    opacity: 0; visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
}
/* Überschreibt .nav-item.is-open .submenu – 3. Ebene nur bei Hover über den Unterpunkt (z. B. Fußball) */
.submenu-item.has-submenu:hover > .submenu--level-2{ opacity: 1; visibility: visible; }
.submenu--level-2 a:hover{ background: rgba(6,133,0,1); text-decoration: none; }

/* 4. Ebene: generell ausgeblendet, bei Hover über 3.-Ebenen-Punkt neben dem Punkt auf dessen Höhe, Hintergrund #777 */
.submenu-item.has-submenu--l3{ position: relative; }
.submenu-item.has-submenu--l3 > .submenu--level-3{
    position: absolute; left: 100%; top: 0; margin: 0; min-height: 0;
    background: #777; border-top: solid 5px var(--green); border-left: 1px solid rgba(255,255,255,.1);
    min-width: 200px; padding: 10px 0; box-shadow: 0 20px 50px 10px rgba(0,0,0,0.2);
    opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility .18s ease;
    z-index: 99999;
}
.submenu-item.has-submenu--l3:hover > .submenu--level-3{ opacity: 1; visibility: visible; }
.submenu--level-3 a{ display: block; padding: 10px 14px; font-weight: 600; font-size: 13px; letter-spacing: .02em; text-transform: uppercase; color: #fff; }
.submenu--level-3 a:hover{ background: rgba(6,133,0,1); text-decoration: none; }

.header-actions{ display: flex; align-items: center; gap: 14px; }
.social-icons{ display: none; align-items: center; gap: 5px; opacity: .9; }
.social-icons i{ font-size: 22px; color: var(--muted); }
.icon-link{
    width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 999px; color: #3a3a3a;
}
.icon-link:hover{ color: var(--green); text-decoration: none; background: rgba(6,133,0,.08); }

.hamburger{
    width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid rgba(0,0,0,.10); border-radius: 12px; background: #fff; cursor: pointer;
}
.hamburger-lines{
    width: 20px; height: 14px; position: relative; display: inline-block;
    background: transparent;
}
.hamburger-lines::before, .hamburger-lines::after{
    content: ""; position: absolute; left: 0; width: 20px; height: 2px;
    background: #1b1b1b; border-radius: 10px;
    transition: transform .18s ease, top .18s ease, opacity .18s ease;
}
.hamburger-lines::before{ top: 2px; }
.hamburger-lines::after{ top: 10px; }
.hamburger[aria-expanded="true"] .hamburger-lines::before{ top: 6px; transform: rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger-lines::after{ top: 6px; transform: rotate(-45deg); }

.hero{ width: 100%; background: #e9ecef; }
.hero-slider{
    position: relative; width: 100%; height: clamp(220px, 36vw, 520px);
    overflow: hidden; background: #e9ecef; touch-action: pan-y;
}
.hero-track{ display: flex; height: 100%; transform: translate3d(-100%, 0, 0); will-change: transform; }
.hero-slide{ flex: 0 0 100%; height: 100%; overflow: hidden; }
.hero-img{
    width: 100%; height: 100%; object-fit: cover; object-position: center;
    display: block; user-select: none; -webkit-user-drag: none;
}
.hero-arrow{
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 52px; height: 52px; border: 0; border-radius: 999px; cursor: pointer; z-index: 2;
    background: rgba(0, 0, 0, 0.18); color: rgba(255, 255, 255, 0.92);
    display: inline-flex; align-items: center; justify-content: center;
    transition: transform .18s ease, background .18s ease, opacity .18s ease; opacity: .9;
}
.hero-arrow i{ font-size: 22px; }
.hero-arrow--prev{ left: 14px; }
.hero-arrow--next{ right: 14px; }
.hero-arrow:hover{ background: rgba(0, 0, 0, 0.28); transform: translateY(-50%) scale(1.04); }
.hero-arrow:active{ transform: translateY(-50%) scale(0.98); }
@media (max-width: 520px){
    .hero-arrow{ width: 46px; height: 46px; }
    .hero-arrow i{ font-size: 20px; }
}

.content{ padding: 56px 0 80px; background: #fff; }
.content__inner{ width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }
.content__cols{
    width: min(var(--container), calc(100% - 48px)); margin: 0 auto;
    display: flex; flex-direction: column; gap: 32px; align-items: flex-start;
}
.content__cols .content__inner{ width: auto; margin: 0; }
.content__aside{ width: 100%; }
@media (min-width: 980px){
    .content__cols{ flex-direction: row; align-items: flex-start; }
    .col-2of3{ flex: 0 0 66.6667%; max-width: 66.6667%; }
    .col-1of3{ flex: 0 0 33.3333%; max-width: 33.3333%; }
    .col-1of2{ flex: 0 0 50%; max-width: 50%; }
    .col-2of3, .col-1of3, .col-1of2{ min-width: 0; }
}
.content h1{ margin: 0 0 34px; font-size: 28px; line-height: 1.3; letter-spacing: 0.01em; font-weight: 700; text-transform: uppercase; color: var(--green); }
.content h2{ margin: 34px 0 10px; font-size: 20px; line-height: 1.25; letter-spacing: 0.01em; font-weight: 700; color: var(--green); }
.content p { margin: 0 0 18px; font-size: 20px; line-height: 1.60; font-weight: 400; color: #6b6b6b; }
.content ul li:not(.content div.download-details ul li) { margin: 0 0 18px; font-size: 20px; line-height: 1.60; font-weight: 400; color: #6b6b6b; }
.content ul {list-style-type: square}
.content ul li::marker {color: var(--green)}
.content__lead{ margin-top: 0; font-size: 19px; line-height: 1.85; color: #6a6a6a; }
.content a{ color: inherit; text-decoration: none; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.content a:hover{ color: var(--green); }
.content__meta{ margin-top: 28px; font-size: 14px; line-height: 1.4; color: #9a9a9a; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.content__dot{ opacity: 0.6; }
.content ul, .content ol{ margin: 0 0 18px; padding-left: 22px; color: #6b6b6b; font-size: 18px; line-height: 1.8; font-weight: 300; }
.content li{ margin: 6px 0; }

.news-teaser{ padding: 76px 0 90px; background: #fafafa; }
.news-teaser__title{ margin: 0 0 18px; font-size: 1.4em; line-height: 1.15; letter-spacing: 0.01em; font-weight: 700; color: var(--green); }
.news-grid{ display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 680px){ .news-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px){ .news-grid{ grid-template-columns: repeat(4, 1fr); } }
.news-card{ height: 100%; }
.news-card__link{
    height: 100%; display: flex; flex-direction: column; background: #fff;
    border: 1px solid rgba(0,0,0,.10); box-shadow: 0 8px 20px rgba(0,0,0,.06);
    text-decoration: none; overflow: hidden;
}
.news-card__link:hover{ text-decoration: none; }
.news-card__media{ position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #e9ecef; }
.news-card__img{ width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform .35s ease; }
.news-card__link:hover .news-card__img{ transform: scale(1.05); }
.news-card__label{
    position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center;
    height: 32px; padding: 0 30px 0 14px; color: #fff; font-weight: 700; letter-spacing: 0.02em; font-size: 13px; text-transform: none;
    background: linear-gradient(300deg, transparent 18px, var(--green) 0) top left;
}
.news-card__body{ padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.news-card__headline{ margin: 0; font-size: 18px; line-height: 1.35; font-weight: 700; letter-spacing: 0.01em; color: #111; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.news-card__date{ margin-top: auto; font-size: 13px; color: #7a7a7a; font-weight: 300; }

.event-list-section {
    padding: 40px 0 60px;
}

.event-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #d9d9d9;
}

.event-item {
    border-bottom: 1px solid #d9d9d9;
}

.event-item__row {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 40px;
    align-items: center;
    padding: 28px 0;
}

.event-item.has-details .event-item__row {
    grid-template-columns: 280px minmax(0, 1fr) 140px;
}

.event-item__meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.event-item__category {
    display: inline-block;
    width: fit-content;
    padding: 4px 10px;
    background: #efefef;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    color: #666;
}

.event-item__date {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--green);
}

.event-item__location {
    font-size: 15px;
    line-height: 1.3;
    color: #111;
    font-weight: 400;
}

.event-item__content {
    min-width: 0;
}

.event-item__title {
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 700;
}

.event-item__title a {
    color: #000;
    text-decoration: none;
}

.event-item__title a:hover {
    color: var(--green);
    text-decoration: none;
}

.event-item__action {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.event-item__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    min-height: 48px;
    padding: 12px 20px;
    border: 2px solid var(--green);
    background: transparent;
    color: var(--green);
    font-size: 15px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.event-item__button:hover {
    background: var(--green);
    color: #fff;
    text-decoration: none;
}

.event-item__button.is-open,
.js-event-toggle.is-open {
    background: var(--green);
    color: #fff;
}

.event-item__details {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition:
        max-height 0.45s ease,
        opacity 0.3s ease,
        transform 0.3s ease;
    will-change: max-height, opacity, transform;
}

.event-item__details.is-open {
    opacity: 1;
    transform: translateY(0);
}

.event-item__details-inner {
    padding: 0 0 28px;
}

.event-item__details-grid {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
}

.event-item.has-details .event-item__details-grid {
    grid-template-columns: 280px minmax(0, 1fr) 140px;
}

.event-item__details-media {
    grid-column: 1;
    min-width: 0;
}

.event-item__details-text {
    grid-column: 2;
    min-width: 0;
}

.event-item__details-image {
    display: block;
    width: 100%;
    max-width: 260px;
    height: auto;
}

.event-item__description {
    font-size: 16px;
    line-height: 1.6;
    color: #222;
}

.event-item__description p {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.6;
    color: #222;
    font-weight: 400;
}

.event-item__description p:last-child {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .event-item__row {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 25px;
    }

    .event-item.has-details .event-item__row {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .event-item__action {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .event-item__details-grid {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: 25px;
    }

    .event-item.has-details .event-item__details-grid {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .event-item__details-media {
        grid-column: 1;
    }

    .event-item__details-text {
        grid-column: 2;
    }
}

@media (max-width: 767px) {
    .event-item__row {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 22px 0;
    }

    .event-item.has-details .event-item__row {
        grid-template-columns: 1fr;
    }

    .event-item__meta {
        gap: 8px;
    }

    .event-item__title {
        font-size: 24px;
    }

    .event-item__date {
        font-size: 16px;
    }

    .event-item__location {
        font-size: 15px;
    }

    .event-item__button {
        min-width: 110px;
        min-height: 44px;
        padding: 10px 16px;
        font-size: 14px;
    }

    .event-item__details-inner {
        padding: 0 0 22px;
    }

    .event-item__details-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .event-item.has-details .event-item__details-grid {
        grid-template-columns: 1fr;
    }

    .event-item__details-media,
    .event-item__details-text {
        grid-column: auto;
    }

    .event-item__details-image {
        max-width: 100%;
    }
}

.people-teaser{ padding: 76px 0 90px; background: #fafafa; }
.people-teaser__title{ margin: 0 0 18px; font-size: 1.4em; line-height: 1.15; letter-spacing: 0.01em; font-weight: 700; color: var(--green); }
.people-grid{ display: grid; gap: 26px; grid-template-columns: 1fr; }
@media (min-width: 680px){ .people-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px){ .people-grid{ grid-template-columns: repeat(4, 1fr); } }
.people-card{ height: 100%; }
.people-card__link{
    height: 100%; display: flex; flex-direction: column; background: #fff;
    border: 1px solid rgba(0,0,0,.10); box-shadow: 0 8px 20px rgba(0,0,0,.06);
    text-decoration: none; overflow: hidden;
}
.people-card__link:hover{ text-decoration: none; }
.people-card__media{ position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: #e9ecef; }
.people-card__img{ width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform .35s ease; }
.people-card__link:hover .people-card__img{ transform: scale(1.05); }
.people-card__label{
    position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center;
    height: 32px; padding: 0 30px 0 14px; color: #fff; font-weight: 700; letter-spacing: 0.02em; font-size: 13px; text-transform: none;
    background: linear-gradient(300deg, transparent 18px, var(--green) 0) top left;
}
.people-card__body{ padding: 16px 18px 14px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.people-card__headline{ margin: 0; font-size: 18px; line-height: 1.35; font-weight: 700; letter-spacing: 0.01em; color: #111; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.people-card__date{ margin-top: auto; font-size: 13px; color: #7a7a7a; font-weight: 300; }

.sidebox{ min-height: 200px; width: 100%; background-color: #f6f6f6; display: flex; font-size: 2em; justify-content: center; align-items: center; color: #999; }

.shoplinks-band{ background: var(--green); padding: 70px 0; }
.shoplinks-band__grid{ display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
@media (min-width: 980px){ .shoplinks-band{ padding: 80px 0; } .shoplinks-band__grid{ grid-template-columns: 1.05fr 0.95fr; gap: 44px; } }
.shoplinks-band__text{ color: #fff; }
.shoplinks-band__headline{ margin: 0 0 18px; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: #fff; }
.shoplinks-band__text p{ margin: 0; font-size: 18px; line-height: 1.75; font-weight: 400; color: rgba(255,255,255,.92); }
.shoplinks-band__tiles{ display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 680px){ .shoplinks-band__tiles{ grid-template-columns: 1fr 1fr; gap: 26px; justify-content: end; } .shoplinks-band__tiles.fullgrid{ grid-template-columns: 1fr; } }
.shoplinks-tile{
    display: block; background: #fff; padding: 6px; box-shadow: 0 10px 25px rgba(0,0,0,.10);
    border-radius: 0; aspect-ratio: 4 / 3; overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; position: relative;
}
.fullgrid .shoplinks-tile{ aspect-ratio: 8 / 3; }
.shoplinks-tile:hover{ transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.14); }
.shoplinks-tile img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.shoplinks-tile__label{
    position: absolute; left: 0; bottom: 6px; display: inline-flex; align-items: center;
    height: 32px; padding: 0 30px 0 14px; color: #fff; font-weight: 700; letter-spacing: 0.02em; font-size: 13px;
    background: linear-gradient(300deg, transparent 18px, var(--shoplabel-bg) 0) top left; filter: drop-shadow(0 6px 10px rgba(0,0,0,.20));
}

.fussballde_widget {    overflow: hidden;
    
    position: relative;}
.fussballde_widget iframe {
    position: relative;
    top: -53px;               /* <-- nach oben schieben */
    height: calc(800px + 120px); /* damit unten nichts fehlt */
    width: 100%;
    border: 0;
    display: block;	
}

.sponsor-marquee{ padding: 18px 0 60px; background: #fff; }
.sponsor-marquee__viewport{ width: 100%; position: relative; overflow: hidden; user-select: none; touch-action: pan-y; padding: 18px 0; cursor: grab; }
.sponsor-marquee__viewport.is-dragging{ cursor: grabbing; }
.sponsor-marquee__track{ display: flex; gap: 60px; align-items: center; will-change: transform; transform: translate3d(0, 0, 0); padding: 0 24px; }
@media (min-width: 980px){ .sponsor-marquee__track{ padding: 0 40px; } }
.sponsor-logo{
    flex: 0 0 auto; width: clamp(140px, 16vw, 220px); aspect-ratio: 4 / 3;
    background: #fff; border: 1px solid rgba(0,0,0,.12); box-shadow: 0 8px 18px rgba(0,0,0,.06);
    display: grid; place-items: center; color: #3a3a3a; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase;
    transform: translate3d(0, 0, 0) scale(1); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; will-change: transform;
}
.sponsor-logo span{ opacity: .75; font-size: 12px; }
.sponsor-logo:hover{ transform: translate3d(0, -2px, 0) scale(1.06); box-shadow: 0 8px 18px rgba(0,0,0,.09); border-color: rgba(0,0,0,.18); z-index: 2; }
.sponsor-logo:hover span{ opacity: 1; }
.sponsor-logo img{ width: 100%; height: 100%; object-fit: contain; padding: 14px; display: block; }

.backdrop{ position: fixed; inset: 0; background: rgba(0,0,0,.50); z-index: 60; }
.offcanvas{
    position: fixed; top: 0; left: 0; width: min(360px, 88vw); height: 100%; background: #fff; z-index: 70;
    transform: translateX(-100%); transition: transform .22s ease; box-shadow: var(--shadow);
    display: flex; flex-direction: column;
}
.offcanvas.is-open{ transform: translateX(0); }
.offcanvas-header{ display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid rgba(0,0,0,.08); }
.offcanvas-close{ width: 42px; height: 42px; border-radius: 12px; border: 1px solid rgba(0,0,0,.10); background: #fff; cursor: pointer; }
.offcanvas-nav{ padding: 6px 0; overflow: auto; }
.mobile-list{ list-style: none; margin: 0; padding: 0; }
.acc-item{ border-bottom: 1px solid rgba(0,0,0,.08); }
.acc-trigger, .mobile-link{
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 14px 16px; background: #fff; border: 0; cursor: pointer;
    font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: #1f1f1f; text-decoration: none;
}
.mobile-link:hover{ text-decoration: none; }
.acc-trigger:hover, .mobile-link:hover{ background: rgba(0,0,0,.03); }
.acc-trigger:focus-visible, .mobile-link:focus-visible{ outline: 2px solid rgba(6,133,0,.45); outline-offset: -2px; }
.acc-trigger i{ opacity: .65; transition: transform .18s ease; }
.acc-item.is-open .acc-trigger i{ transform: rotate(180deg); }
.acc-panel{ padding: 0 8px 10px; display: none; gap: 2px; background-color: #fafafa; font-weight: 600;}
.acc-item.is-open > .acc-panel{ display: grid;}
/* 3. Ebene in mobiler Navigation standardmäßig ausblenden, per Toggle einblendbar */
.acc-panel--l2{ display: none !important; }
.acc-panel--l2.is-open{ display: grid !important; }
.acc-panel a{ padding: 10px; color: #444; font-size: 14px; }
.acc-panel a.has-children{ display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.acc-panel a.has-children i{ font-size: .75em; opacity: .5; cursor: pointer; }
.acc-panel .acc-panel a {padding-left: 20px; background-color: #f0f0f0; font-weight: 300;}
.acc-panel a:hover{ text-decoration: none; background: rgba(0,0,0,.05); }
.offcanvas-bottom{ margin-top: auto; padding: 16px; border-top: 1px solid rgba(0,0,0,.08); }
.offcanvas-bottom .social-icons{ display: flex; }

.site-footer{ position: relative; background: #000; color: rgba(255,255,255,.88); padding: 60px 0 26px; margin-top: 120px; }
.footer-logo{ position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); width: 94px; height: 114px; border-radius: 999px; background: #fff; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.12); }
.footer-logo img{ width: 78px; height: auto; opacity: .95; }
.footer-inner{ padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: 1fr; gap: 26px; }
.footer-col h3{ margin: 0 0 10px; font-size: 14px; text-transform: uppercase; letter-spacing: .12em; color: #fff; }
.footer-col ul{ list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a{ color: rgba(255,255,255,.78); font-size: 14px; }
.footer-col a:hover{ color: #fff; text-decoration: none; }
.footer-col li{ color: rgba(255,255,255,.78); font-size: 14px; }
.footer-contact .contact-list{ gap: 10px; }
.contact-list li{ display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; }
.contact-list i{ margin-top: 2px; opacity: .9; }
.footer-bottom{ grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.14); margin-top: 6px; }
.legal{ font-size: 13px; color: rgba(255,255,255,.65); }
.legal a{ color: inherit; }
.legal a:hover{ color: #fff; text-decoration: none; }
.sep{ opacity: .4; margin: 0 8px; }
.to-top{ width: 40px; height: 40px; border-radius: 999px; background: transparent; border: 1px solid rgba(255,255,255,.22); color: #fff; cursor: pointer; }
.to-top:hover{ background: rgba(255,255,255,.08); }

@media (min-width: 980px){
    .main-nav{ display: block; }
    .hamburger{ display: none; }
    .social-icons{ display: flex; }
    .footer-inner{ grid-template-columns: 1.1fr 1fr 1fr 1fr 1.2fr; gap: 34px; align-items: start; }
}
@media (prefers-reduced-motion: reduce){
    *{ scroll-behavior: auto !important; transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
}



