/* ============================================================
   CASSIOPEIA_HPTENNIS - USER.CSS
   ============================================================ */

:root {
    --primary-red: #e31837;
    --primary-red-dark: #b0102a;
    --primary-red-light: #ff3b5c;
    --red-gradient: linear-gradient(135deg, #e31837 0%, #b0102a 50%, #8a0a20 100%);
    --red-gradient-hover: linear-gradient(135deg, #ff3b5c 0%, #e31837 50%, #b0102a 100%);
    --header-bg: #1a1a2e;
    --shadow-red: 0 8px 32px rgba(227, 24, 55, 0.4);
    --text-dark: #2d2d2d;
    --text-gray: #4a4a4a;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--header-bg);
    color: var(--text-dark);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* ============================================================
   LOGO + TEXT IN DER NAVBAR-BRAND
   ============================================================ */

.navbar-brand {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.navbar-brand .brand-logo {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    text-decoration: none !important;
}

.navbar-brand .brand-logo img {
    height: 60px !important;
    width: auto !important;
    max-height: 60px !important;
    flex-shrink: 0 !important;
}

/* ============================================================
   HEADER
   ============================================================ */

header.header {
    background: var(--header-bg) !important;
    border-bottom: 3px solid var(--primary-red) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    padding: 0 !important;
}

header.header .container-header .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.5rem 0 !important;
    flex-wrap: nowrap !important;
}

/* ============================================================
   BOOTSTRAP TOGGLER (Hamburger)
   ============================================================ */

.navbar-toggler {
    border-color: var(--primary-red) !important;
    padding: 0.5rem 0.8rem !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    background: transparent !important;
    flex-shrink: 0 !important;
}

.navbar-toggler:hover {
    background: var(--red-gradient) !important;
    border-color: var(--primary-red-light) !important;
    box-shadow: var(--shadow-red) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ============================================================
   MENU - DESKTOP & TABLET
   ============================================================ */

.navbar .metismenu {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    gap: 0 !important;
    justify-content: flex-end !important;
}

.navbar .metismenu > li {
    display: inline-block !important;
    margin: 0 2px !important;
}

.navbar .metismenu > li > a {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 8px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    display: block !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
}

.navbar .metismenu > li > a:hover {
    color: var(--primary-red-light) !important;
    background: rgba(227, 24, 55, 0.15) !important;
    transform: translateY(-2px) !important;
}

.navbar .metismenu > li.active > a {
    color: #ffffff !important;
    background: var(--red-gradient) !important;
    box-shadow: var(--shadow-red) !important;
}

/* ============================================================
   TABLET: Hamburger ausblenden
   ============================================================ */

@media (min-width: 768px) and (max-width: 991.98px) {
    .navbar-toggler {
        display: none !important !important;
    }
}

/* ============================================================
   DESKTOP: Hamburger ausblenden
   ============================================================ */

@media (min-width: 992px) {
    .navbar-toggler {
        display: none !important !important;
    }
}

/* ============================================================
   MENU - MOBIL (vertikal)
   ============================================================ */

@media (max-width: 767.98px) {
    .navbar .metismenu {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        justify-content: flex-start !important;
    }
    
    .navbar .metismenu > li {
        display: block !important;
        margin: 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    }
    
    .navbar .metismenu > li > a {
        padding: 0.8rem 1rem !important;
        text-align: center !important;
        font-size: 1rem !important;
        border-radius: 0 !important;
    }
}

/* ============================================================
   PAGE-HEADER - STEEP TRAPEZ (links 150px, rechts 230px)
   ============================================================ */

.page-header {
    position: relative !important;
    width: 100% !important;
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;
    margin: 0 0 1.5rem 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    border-radius: 0 !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-blend-mode: overlay !important;
    
    /* TRAPEZ: links 150px, rechts 230px (Höhenunterschied 80px) */
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 80px)) !important;
}

.page-header {
    background: 
        linear-gradient(135deg, rgba(227, 24, 55, 0.75) 0%, rgba(176, 16, 42, 0.85) 50%, rgba(138, 10, 32, 0.90) 100%),
        url('/images/layout/others_bw.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-blend-mode: overlay !important;
}

.page-home .page-header {
    background: 
        linear-gradient(135deg, rgba(227, 24, 55, 0.75) 0%, rgba(176, 16, 42, 0.85) 50%, rgba(138, 10, 32, 0.90) 100%),
        url('/images/layout/others_bw.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-blend-mode: overlay !important;
}

.page-tennis .page-header {
    background: 
        linear-gradient(135deg, rgba(227, 24, 55, 0.75) 0%, rgba(176, 16, 42, 0.85) 50%, rgba(138, 10, 32, 0.90) 100%),
        url('/images/layout/tennis_bw.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-blend-mode: overlay !important;
}

.page-squash .page-header {
    background: 
        linear-gradient(135deg, rgba(227, 24, 55, 0.75) 0%, rgba(176, 16, 42, 0.85) 50%, rgba(138, 10, 32, 0.90) 100%),
        url('/images/layout/squash_bw.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-blend-mode: overlay !important;
}

.page-badminton .page-header {
    background: 
        linear-gradient(135deg, rgba(227, 24, 55, 0.75) 0%, rgba(176, 16, 42, 0.85) 50%, rgba(138, 10, 32, 0.90) 100%),
        url('/images/layout/badminton_bw.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-blend-mode: overlay !important;
}

.page-restaurant-shop .page-header {
    background: 
        linear-gradient(135deg, rgba(227, 24, 55, 0.75) 0%, rgba(176, 16, 42, 0.85) 50%, rgba(138, 10, 32, 0.90) 100%),
        url('/images/layout/others_bw.png') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-blend-mode: overlay !important;
}

.page-header h1 {
    position: relative !important;
    z-index: 10 !important;
    color: #ffffff !important;
    font-size: 3.2rem !important;
    font-weight: 800 !important;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.7) !important;
    padding: 0.6rem 2.8rem !important;
    margin: 0 0 0 2.5rem !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    background: rgba(0, 0, 0, 0.35) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border-radius: 14px !important;
    border-left: 8px solid #ffffff !important;
    display: inline-block !important;
}

.page-header h1::after {
    content: '' !important;
    position: absolute !important;
    bottom: -8px !important;
    left: 2.8rem !important;
    width: 100px !important;
    height: 5px !important;
    background: var(--red-gradient) !important;
    border-radius: 4px !important;
}

/* ============================================================
   MOBIL: PAGE-HEADER STEEP TRAPEZ
   ============================================================ */

@media (max-width: 767.98px) {
    .page-header {
        height: 160px !important;
        min-height: 160px !important;
        max-height: 160px !important;
        margin: 0 0 0.5rem 0 !important;
        padding: 0 0.5rem !important;
        /* Mobil: links ca. 120px, rechts ca. 160px */
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 40px)) !important;
    }
    
    .page-header h1 {
        font-size: 1.8rem !important;
        padding: 0.4rem 1.2rem !important;
        margin: 0 0 0 0.8rem !important;
        border-left-width: 4px !important;
        border-radius: 8px !important;
        max-width: 95% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        backdrop-filter: blur(4px) !important;
    }
    
    .page-header h1::after {
        left: 1.2rem !important;
        width: 50px !important;
        height: 3px !important;
        bottom: -5px !important;
    }
}

@media (max-width: 480px) {
    .page-header {
        height: 120px !important;
        min-height: 120px !important;
        max-height: 120px !important;
        margin: 0 0 0.25rem 0 !important;
        /* Klein-Mobil: links ca. 90px, rechts ca. 120px */
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 30px)) !important;
    }
    
    .page-header h1 {
        font-size: 1.3rem !important;
        padding: 0.25rem 0.8rem !important;
        margin: 0 0 0 0.5rem !important;
        border-left-width: 3px !important;
        border-radius: 6px !important;
        max-width: 95% !important;
        backdrop-filter: blur(3px) !important;
    }
    
    .page-header h1::after {
        left: 0.8rem !important;
        width: 30px !important;
        height: 2px !important;
        bottom: -4px !important;
    }
}

/* ============================================================
   SITE-GRID & CONTAINER
   ============================================================ */

.site-grid {
    max-width: 1320px !important;
    width: 100% !important;
    margin: 0 auto 1.5rem auto !important;
    padding: 0 1.5rem !important;
    display: block !important;
    background: transparent !important;
}

.site-grid .container-component {
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08) !important;
    padding: 1.5rem !important;
    margin: 0 !important;
    width: 100% !important;
    overflow: hidden !important;
}

.topbar,
.container-breadcrumb {
    display: none !important;
}

/* ============================================================
   MOBIL: SITE-GRID & CONTAINER
   ============================================================ */

@media (max-width: 767.98px) {
    .site-grid {
        padding: 0 0.5rem !important;
        margin: 0 auto 0.5rem auto !important;
    }
    
    .site-grid .container-component {
        padding: 1rem !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }
}

@media (max-width: 480px) {
    .site-grid .container-component {
        padding: 0.75rem !important;
    }
}

/* ============================================================
   BLOG-FEATURED
   ============================================================ */

.blog-featured {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* ============================================================
   BLOG - DESKTOP
   ============================================================ */

.blog-items {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)) !important;
    gap: 2rem !important;
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 1200px !important;
    justify-content: center !important;
}

.blog-item {
    background: #f8f9fa !important;
    border-radius: 12px !important;
    padding: 2rem !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid #e9ecef !important;
    transition: all 0.3s ease !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.blog-item:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
    border-color: var(--primary-red-light) !important;
}

.blog-item .item-title {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.75rem !important;
}

.blog-item .item-title a {
    color: var(--text-dark) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.blog-item .item-title a:hover {
    color: var(--primary-red) !important;
}

.blog-item .item-content p {
    font-size: 1.15rem !important;
    line-height: 1.9 !important;
    color: var(--text-gray) !important;
}

/* ============================================================
   BLOG - MOBIL
   ============================================================ */

@media (max-width: 767.98px) {
    .blog-items {
        grid-template-columns: 1fr !important;
        gap: 0.8rem !important;
        padding: 0 !important;
    }
    
    .blog-item {
        padding: 1rem !important;
        border-radius: 8px !important;
    }
    
    .blog-item .item-title {
        font-size: 1.2rem !important;
        margin-bottom: 0.4rem !important;
    }
    
    .blog-item .item-content p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
    }
}

@media (max-width: 480px) {
    .blog-item {
        padding: 0.75rem !important;
    }
    
    .blog-item .item-title {
        font-size: 1rem !important;
    }
    
    .blog-item .item-content p {
        font-size: 0.85rem !important;
    }
}

/* ============================================================
   ARTIKEL
   ============================================================ */

.com-content-article__body {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    color: var(--text-dark) !important;
}

.com-content-article__body p {
    font-size: 1.15rem !important;
    line-height: 1.9 !important;
    color: var(--text-gray) !important;
}

.article-info {
    background: #f8f9fa !important;
    padding: 1rem 1.5rem !important;
    margin: 0 0 1.5rem 0 !important;
    border-radius: 8px !important;
    border: 1px solid #e9ecef !important;
    color: var(--text-gray) !important;
    font-size: 1rem !important;
}

.article-info dd {
    color: var(--text-gray) !important;
    font-size: 1rem !important;
}

/* ============================================================
   PAGINATION
   ============================================================ */

.pagenavigation {
    margin: 0 !important;
    padding: 1rem 1.5rem !important;
    border-top: 1px solid #e9ecef !important;
}

.pagenavigation .btn {
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    color: var(--text-dark) !important;
    transition: all 0.3s ease !important;
    border-radius: 8px !important;
}

.pagenavigation .btn:hover {
    background: var(--red-gradient) !important;
    border-color: var(--primary-red) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-red) !important;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer.container-footer {
    background: var(--header-bg) !important;
    border-top: 4px solid var(--primary-red) !important;
    padding: 3rem 0 1.5rem !important;
    margin-top: 0 !important;
    color: #ffffff !important;
    width: 100% !important;
}

.footer.container-footer .container {
    max-width: 1320px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 1.5rem !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 2rem !important;
}

.footer.container-footer a {
    color: var(--primary-red-light) !important;
    transition: all 0.3s ease !important;
}

.footer.container-footer a:hover {
    color: #ffffff !important;
    text-shadow: 0 0 20px rgba(227, 24, 55, 0.5) !important;
}

.footer.container-footer h3 {
    color: var(--primary-red-light) !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
}

.footer.container-footer ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer.container-footer ul li {
    margin-bottom: 0.5rem !important;
}

.footer.container-footer .mod-custom {
    margin: 0 !important;
    padding: 0 !important;
}

/* ============================================================
   FOOTER - MOBIL (untereinander)
   ============================================================ */

@media (max-width: 767.98px) {
    .footer.container-footer .container {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 0 1rem !important;
        text-align: center !important;
    }
    
    .footer.container-footer .mod-custom {
        margin: 0 !important;
        padding: 0 !important;
        text-align: center !important;
    }
    
    .footer.container-footer h3 {
        text-align: center !important;
        margin-bottom: 0.5rem !important;
    }
    
    .footer.container-footer ul {
        text-align: center !important;
        padding: 0 !important;
    }
    
    .footer.container-footer ul li {
        display: block !important;
        margin-bottom: 0.25rem !important;
    }
    
    .footer.container-footer {
        padding: 1.5rem 0 1rem !important;
        font-size: 0.95rem !important;
    }
}

@media (max-width: 480px) {
    .footer.container-footer .container {
        gap: 1rem !important;
        padding: 0 0.5rem !important;
    }
    
    .footer.container-footer {
        padding: 1rem 0 0.75rem !important;
        font-size: 0.85rem !important;
    }
}

/* ============================================================
   BILDER - SCROLL ANIMATION
   ============================================================ */

.img-scroll,
.image-scroll {
    opacity: 0 !important;
    transform: scale(0.8) !important;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
}

.img-scroll.visible,
.image-scroll.visible {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.com-content-article__body img,
.com-content-article img,
.article-content img {
    opacity: 0 !important;
    transform: scale(0.8) !important;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
}

.com-content-article__body img.visible,
.com-content-article img.visible,
.article-content img.visible {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.blog-item .item-content img,
.blog-item img {
    opacity: 0 !important;
    transform: scale(0.8) !important;
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
}

.blog-item .item-content img.visible,
.blog-item img.visible {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* ============================================================
   LOGO - MOBIL ANPASSUNG
   ============================================================ */

@media (max-width: 767.98px) {
    .navbar-brand .brand-logo img {
        height: 40px !important;
        max-height: 40px !important;
    }
}

@media (max-width: 480px) {
    .navbar-brand .brand-logo img {
        height: 32px !important;
        max-height: 32px !important;
    }
}

/* ============================================================
   MCE-ACCORDION / DETAILS - STYLING
   ============================================================ */

/* ---------- ACCORDION CONTAINER ---------- */
.mce-accordion,
details.mce-accordion {
    margin: 1.5rem 0 !important;
    border: 1px solid #e9ecef !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06) !important;
    display: block !important;
}

/* ---------- ACCORDION HEADER / SUMMARY ---------- */
.mce-accordion summary,
details.mce-accordion summary {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 1rem 1.5rem !important;
    background: #f8f9fa !important;
    cursor: pointer !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: var(--text-dark) !important;
    transition: all 0.3s ease !important;
    font-family: inherit !important;
    list-style: none !important;
    border: none !important;
    position: relative !important;
}

/* Pfeil-Icon für Summary */
.mce-accordion summary::after,
details.mce-accordion summary::after {
    content: "▼" !important;
    font-size: 0.8rem !important;
    transition: transform 0.3s ease !important;
    flex-shrink: 0 !important;
    margin-left: 1rem !important;
    color: var(--primary-red) !important;
}

/* Geöffneter Zustand - Pfeil drehen */
.mce-accordion[open] summary::after,
details.mce-accordion[open] summary::after {
    transform: rotate(180deg) !important;
}

/* Hover */
.mce-accordion summary:hover,
details.mce-accordion summary:hover {
    background: rgba(227, 24, 55, 0.05) !important;
    color: var(--primary-red) !important;
}

/* Geöffneter Zustand - Header */
.mce-accordion[open] summary,
details.mce-accordion[open] summary {
    background: var(--red-gradient) !important;
    color: #ffffff !important;
}

.mce-accordion[open] summary::after,
details.mce-accordion[open] summary::after {
    color: #ffffff !important;
}

/* Standard-Pfeil von Details ausblenden */
details.mce-accordion summary::-webkit-details-marker {
    display: none !important;
}

/* ---------- ACCORDION CONTENT ---------- */
.mce-accordion .mce-accordion-content,
details.mce-accordion .mce-accordion-content,
details.mce-accordion > *:not(summary) {
    padding: 1.5rem !important;
    background: #ffffff !important;
    color: var(--text-gray) !important;
    font-size: 1rem !important;
    line-height: 1.8 !important;
}

.mce-accordion .mce-accordion-content p:last-child,
details.mce-accordion > *:not(summary):last-child {
    margin-bottom: 0 !important;
}

/* ---------- TABELLEN IM ACCORDION ---------- */
.mce-accordion table,
details.mce-accordion table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 0.5rem 0 0 0 !important;
    font-size: 0.95rem !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

/* Tabellen-Kopf */
.mce-accordion table thead th,
details.mce-accordion table thead th,
.mce-accordion table th,
details.mce-accordion table th {
    background: var(--red-gradient) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 0.8rem 1.2rem !important;
    text-align: left !important;
    text-transform: uppercase !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.5px !important;
}

/* Tabellen-Zellen */
.mce-accordion table tbody td,
details.mce-accordion table tbody td,
.mce-accordion table td,
details.mce-accordion table td {
    padding: 0.8rem 1.2rem !important;
    border-bottom: 1px solid #e9ecef !important;
    color: var(--text-gray) !important;
}

/* Letzte Zeile ohne Border */
.mce-accordion table tbody tr:last-child td,
details.mce-accordion table tbody tr:last-child td {
    border-bottom: none !important;
}

/* Zebra-Streifen */
.mce-accordion table tbody tr:nth-child(even),
details.mce-accordion table tbody tr:nth-child(even) {
    background: #f8f9fa !important;
}

.mce-accordion table tbody tr:nth-child(odd),
details.mce-accordion table tbody tr:nth-child(odd) {
    background: #ffffff !important;
}

/* Hover-Effekt */
.mce-accordion table tbody tr:hover,
details.mce-accordion table tbody tr:hover {
    background: rgba(227, 24, 55, 0.05) !important;
}

/* ---------- ACCORDION RESPONSIVE ---------- */
@media (max-width: 767.98px) {
    .mce-accordion,
    details.mce-accordion {
        margin: 1rem 0 !important;
        border-radius: 8px !important;
    }
    
    .mce-accordion summary,
    details.mce-accordion summary {
        padding: 0.8rem 1rem !important;
        font-size: 0.95rem !important;
    }
    
    .mce-accordion .mce-accordion-content,
    details.mce-accordion > *:not(summary) {
        padding: 1rem !important;
        font-size: 0.95rem !important;
    }
    
    .mce-accordion table,
    details.mce-accordion table {
        font-size: 0.8rem !important;
        display: block !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        box-shadow: none !important;
    }
    
    .mce-accordion table thead th,
    details.mce-accordion table thead th,
    .mce-accordion table th,
    details.mce-accordion table th {
        padding: 0.5rem 0.6rem !important;
        font-size: 0.7rem !important;
    }
    
    .mce-accordion table tbody td,
    details.mce-accordion table tbody td,
    .mce-accordion table td,
    details.mce-accordion table td {
        padding: 0.5rem 0.6rem !important;
        font-size: 0.8rem !important;
    }
}

@media (max-width: 480px) {
    .mce-accordion summary,
    details.mce-accordion summary {
        padding: 0.6rem 0.8rem !important;
        font-size: 0.85rem !important;
    }
    
    .mce-accordion .mce-accordion-content,
    details.mce-accordion > *:not(summary) {
        padding: 0.8rem !important;
        font-size: 0.9rem !important;
    }
    
    .mce-accordion table thead th,
    details.mce-accordion table thead th,
    .mce-accordion table th,
    details.mce-accordion table th {
        padding: 0.3rem 0.4rem !important;
        font-size: 0.6rem !important;
    }
    
    .mce-accordion table tbody td,
    details.mce-accordion table tbody td,
    .mce-accordion table td,
    details.mce-accordion table td {
        padding: 0.3rem 0.4rem !important;
        font-size: 0.7rem !important;
    }
}

/* ============================================================
   ANIMATIONEN
   ============================================================ */

@keyframes sportPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes slideGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.animate-pulse-sport {
    animation: sportPulse 2s ease-in-out infinite;
}

.animate-glow-slide {
    background: var(--red-gradient);
    background-size: 200% 200%;
    animation: slideGlow 4s ease infinite;
}



/* ============================================================
   MOD-CUSTOM113 - SCROLL ANIMATION (initial sichtbar)
   ============================================================ */

#mod-custom113 {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 2rem !important;
    padding: 1.5rem 0 !important;
}

#mod-custom113 img {
    width: 250px !important;
    height: auto !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    cursor: pointer !important;
    border: 3px solid transparent !important;
    opacity: 0.6 !important;
    transform: scale(0.95) !important;
}

/* Bilder im sichtbaren Bereich */
#mod-custom113 img.in-view {
    opacity: 1 !important;
    transform: scale(1) !important;
}

/* Hover-Effekte */
#mod-custom113 img:nth-child(1):hover {
    transform: scale(1.05) rotate(-2deg) !important;
    box-shadow: 0 12px 40px rgba(227, 24, 55, 0.3) !important;
    border-color: #e31837 !important;
}

#mod-custom113 img:nth-child(2):hover {
    transform: scale(1.05) rotate(2deg) !important;
    box-shadow: 0 12px 40px rgba(227, 24, 55, 0.3) !important;
    border-color: #ff3b5c !important;
}

#mod-custom113 img:nth-child(3):hover {
    transform: scale(1.05) rotate(-2deg) !important;
    box-shadow: 0 12px 40px rgba(227, 24, 55, 0.3) !important;
    border-color: #e31837 !important;
}

/* Verzögerungen für den Einflug */
#mod-custom113 img:nth-child(1) {
    transition-delay: 0.1s !important;
}

#mod-custom113 img:nth-child(2) {
    transition-delay: 0.2s !important;
}

#mod-custom113 img:nth-child(3) {
    transition-delay: 0.3s !important;
}

@media (max-width: 767.98px) {
    #mod-custom113 {
        gap: 1rem !important;
        padding: 1rem 0 !important;
    }
    #mod-custom113 img {
        width: 180px !important;
        max-width: 45% !important;
    }
}

@media (max-width: 480px) {
    #mod-custom113 {
        gap: 0.75rem !important;
        padding: 0.75rem 0 !important;
    }
    #mod-custom113 img {
        width: 140px !important;
        max-width: 48% !important;
    }
}

/* ============================================================
   EIGENES MODUL - 3 BILDER IN EINER ZEILE (FRECHES LAYOUT)
   ============================================================ */

/* Container für das Modul */
.custom-module-frech,
.mod-custom-frech,
div[class*="mod-custom"][id*="frech"] {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 1.5rem !important;
    padding: 1.5rem 0 !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    overflow: hidden !important;
}

/* Bilder im Modul */
.custom-module-frech img,
.mod-custom-frech img,
div[class*="mod-custom"][id*="frech"] img {
    width: 33.333% !important;
    max-width: 320px !important;
    min-width: 180px !important;
    height: auto !important;
    aspect-ratio: 4/3 !important;
    object-fit: cover !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    cursor: pointer !important;
    border: 3px solid transparent !important;
    flex: 0 1 auto !important;
}

/* Jedes Bild anders */
.custom-module-frech img:nth-child(1),
.mod-custom-frech img:nth-child(1),
div[class*="mod-custom"][id*="frech"] img:nth-child(1) {
    transform: rotate(-1deg) !important;
    border-radius: 16px 8px 16px 8px !important;
}

.custom-module-frech img:nth-child(2),
.mod-custom-frech img:nth-child(2),
div[class*="mod-custom"][id*="frech"] img:nth-child(2) {
    transform: rotate(1deg) translateY(-6px) !important;
    border-radius: 8px 16px 8px 16px !important;
    box-shadow: 0 8px 30px rgba(227, 24, 55, 0.15) !important;
}

.custom-module-frech img:nth-child(3),
.mod-custom-frech img:nth-child(3),
div[class*="mod-custom"][id*="frech"] img:nth-child(3) {
    transform: rotate(-0.5deg) !important;
    border-radius: 16px 16px 8px 8px !important;
}

/* Hover-Effekte */
.custom-module-frech img:nth-child(1):hover,
.mod-custom-frech img:nth-child(1):hover,
div[class*="mod-custom"][id*="frech"] img:nth-child(1):hover {
    transform: translateY(-12px) scale(1.04) rotate(-3deg) !important;
    box-shadow: 0 16px 50px rgba(227, 24, 55, 0.3) !important;
    border-color: #e31837 !important;
    border-radius: 8px 20px 8px 20px !important;
}

.custom-module-frech img:nth-child(2):hover,
.mod-custom-frech img:nth-child(2):hover,
div[class*="mod-custom"][id*="frech"] img:nth-child(2):hover {
    transform: translateY(-12px) scale(1.04) rotate(3deg) !important;
    box-shadow: 0 16px 50px rgba(255, 59, 92, 0.35) !important;
    border-color: #ff3b5c !important;
    border-radius: 20px 8px 20px 8px !important;
}

.custom-module-frech img:nth-child(3):hover,
.mod-custom-frech img:nth-child(3):hover,
div[class*="mod-custom"][id*="frech"] img:nth-child(3):hover {
    transform: translateY(-12px) scale(1.04) rotate(-2deg) !important;
    box-shadow: 0 16px 50px rgba(227, 24, 55, 0.3) !important;
    border-color: #e31837 !important;
    border-radius: 50% 8px 50% 8px !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 991.98px) {
    .custom-module-frech img,
    .mod-custom-frech img,
    div[class*="mod-custom"][id*="frech"] img {
        max-width: 280px !important;
        min-width: 140px !important;
    }
}

@media (max-width: 767.98px) {
    .custom-module-frech,
    .mod-custom-frech,
    div[class*="mod-custom"][id*="frech"] {
        flex-wrap: wrap !important;
        gap: 1rem !important;
        padding: 1rem 0 !important;
    }
    
    .custom-module-frech img,
    .mod-custom-frech img,
    div[class*="mod-custom"][id*="frech"] img {
        width: calc(50% - 0.5rem) !important;
        max-width: 220px !important;
        min-width: 120px !important;
        aspect-ratio: 4/3 !important;
    }
}

@media (max-width: 480px) {
    .custom-module-frech,
    .mod-custom-frech,
    div[class*="mod-custom"][id*="frech"] {
        gap: 0.75rem !important;
        padding: 0.75rem 0 !important;
    }
    
    .custom-module-frech img,
    .mod-custom-frech img,
    div[class*="mod-custom"][id*="frech"] img {
        width: calc(50% - 0.375rem) !important;
        max-width: 160px !important;
        min-width: 90px !important;
    }
}


/* ============================================================
   TOPZEILE - MIT SVG-ICONS
   ============================================================ */

.contact-info {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 1.5rem !important;
    list-style: none !important;
    padding: 0.4rem 0 !important;
    margin: 0 !important;
    background: transparent !important;
    font-size: 0.9rem !important;
    width: 100% !important;
}

.contact-info li {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.contact-info li::before {
    display: none !important;
    content: none !important;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px !important;
    white-space: nowrap !important;
}

.contact-info a:hover {
    color: var(--primary-red-light, #ff3b5c) !important;
    transform: translateY(-1px) !important;
}

/* Telefon-Icon als SVG */
.contact-phone a::before {
    content: "" !important;
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff3b5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    flex-shrink: 0 !important;
}

/* E-Mail-Icon als SVG */
.contact-email a::before {
    content: "" !important;
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff3b5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22,6 12,13 2,6'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    flex-shrink: 0 !important;
}

/* ============================================================
   MOBIL
   ============================================================ */

@media (max-width: 767.98px) {
    .contact-info {
        justify-content: center !important;
        gap: 1.2rem !important;
        padding: 0.3rem 0 !important;
        font-size: 0.8rem !important;
        flex-wrap: nowrap !important;
    }
    
    .contact-phone a::before,
    .contact-email a::before {
        width: 14px !important;
        height: 14px !important;
    }
}

@media (max-width: 480px) {
    .contact-info {
        gap: 0.8rem !important;
        padding: 0.25rem 0 !important;
        font-size: 0.7rem !important;
    }
    
    .contact-phone a::before,
    .contact-email a::before {
        width: 12px !important;
        height: 12px !important;
    }
}