@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');


html, body {
    width:100%;
    overflow-x: hidden;
}
* {
    font-style: Mohave !important;
}


    .header {
            background-color: #083A57;
            width: 100%;
            overflow: visible;
        }

        .menu-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 15px;
            position: relative;
        }

        .leftlogo, .rightlogo {
            flex-shrink: 0;
            z-index: 990;
        }

        .leftlogo img, .rightlogo img {
            width: 80px;
            height: 80px;
            object-fit: contain;
            aspect-ratio: 1/1;
            transition: transform 0.3s ease-in-out;
        }

        .leftlogo img:hover, .rightlogo img:hover {
            transform: scale(1.1);
        }

        .menu-logo {
            flex-shrink: 0;
            z-index: 990;
        }

        .center-logo {
            width: 85px;
            height: 85px;
            object-fit: contain;
            aspect-ratio: 1/1;
            transition: transform 0.3s ease-in-out;
        }

        .center-logo:hover {
            transform: scale(1.2);
        }

        .nav-menu {
            display: flex;
            list-style: none;
            justify-content: center;
            flex-grow: 1;
            padding: 0 20px;
        }

        .nav-menu li {
            position: relative;
            text-align: center;
        }

        .nav-menu li a {
            display: block;
            padding: 20px 15px;
            color: #F2F2F2;
            text-decoration: none;
            font-size: 18px;
            transition: all 0.3s ease;
            white-space: nowrap;
        }

        .nav-menu li a:hover {
            background-color: #083A57;
            color: #FEC90B;
        }

        .nav-menu li ul.dropdown {
            width: 240px;
            background: #083A57;
            position: absolute;
            z-index: 980;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            border-radius: 0 0 8px 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
            left: 50%;
            transform: translateX(-50%) translateY(10px);
        }

        .nav-menu li ul.dropdown li {
            display: block;
            width: 100%;
            text-align: left;
            margin: 0;
            padding: 0;
            transition: background-color 0.3s;
            border-bottom: 1px solid #0a4b6d; /*trennfarbe der einzelnen Reiter im dropdown menü*/
        }

        .nav-menu li ul.dropdown li a {
            padding: 15px 20px;
            font-size: 16px;
            color: #F2F2F2;
            transition: all 0.2s ease;
        }

        .nav-menu li ul.dropdown li a:hover {
            color: #FEC90B;
        }

        .nav-menu li:hover ul.dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateX(-50%) translateY(0);
        }

        .mobile-toggle {
            display: none;
            background: none;
            border: none;
            color: #F2F2F2;
            font-size: 24px;
            cursor: pointer;
            padding: 10px;
        }

        /* Responsive Design */
        @media (max-width: 1200px) {
            .nav-menu li a {
                padding: 20px 10px;
                font-size: 16px;
            }
        }

        @media (max-width: 992px) {
            .menu-container {
                flex-wrap: wrap;
                padding: 10px 15px;
            }
            
            .nav-menu {
                order: 3;
                width: 100%;
                padding: 10px 0 0;
                display: none;
            }
            
            .nav-menu.active {
                display: flex;
                flex-direction: column;
            }
            
            .nav-menu li {
                width: 100%;
            }
            
            .nav-menu li ul.dropdown {
                position: static;
                width: 100%;
                transform: none;
                display: none;
                box-shadow: none;
                border-radius: 0;
            }
            
            .nav-menu li:hover ul.dropdown {
                transform: none;
            }
            
            .mobile-toggle {
                display: block;
                order: 2;
            }
            
            .menu-logo {
                order: 1;
                flex-grow: 1;
                text-align: center;
            }
            
            .leftlogo, .rightlogo {
                display: none;
            }
        }

        @media (max-width: 576px) {
            .nav-menu li a {
                padding: 15px 10px;
                font-size: 16px;
            }
            
            .center-logo {
                width: 70px;
            }
        }

        /* Mobile Header: Logo zentriert, PROFIS links, VEREIN rechts, kleineres Menüsymbol */
        @media (max-width: 768px) {
          .menu-container {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            align-items: center;
          }
          .menu-logo {
            order: 0;
            grid-column: 2;
            justify-self: center;
          }
          .center-logo {
            width: 72px;
            height: 72px;
          }
          .leftlogo, .rightlogo { display: none !important; }
        
          /* Verstecke standardmäßige Menüs, außer die zwei Schnelllinks */
          .nav-menu { display: none; }
          .nav-menu:first-of-type { display: contents; }
          .nav-menu:first-of-type > li { display: none; }
          .nav-menu:first-of-type > li:nth-child(2), /* PROFIS */
          .nav-menu:first-of-type > li:nth-child(3)  /* VEREIN */ {
            display: block;
            list-style: none;
          }
          .nav-menu:first-of-type > li:nth-child(2) { grid-column: 1; justify-self: start; }
          .nav-menu:first-of-type > li:nth-child(3) { grid-column: 3; justify-self: end; }
          .nav-menu:first-of-type > li > a {
            padding: 8px 10px;
            font-size: 16px;
          }
        
          /* Kleinere Hamburger-/Dropdown-Icon-Größe und Position */
          .mobile-toggle {
            font-size: 18px;
            padding: 6px;
            position: absolute;
            top: 8px;
            right: 8px;
          }
        
          /* Wenn Menü geöffnet ist, volle Liste darunter anzeigen */
          .nav-menu.active {
            display: flex;
            flex-direction: column;
            grid-column: 1 / -1;
          }
        }

        @media (max-width: 768px) {
          /* Logo zentriert lassen */
          .menu-container {
            display: grid;
            grid-template-columns: 1fr auto 1fr;
            align-items: center;
          }
          .menu-logo { order: 0; grid-column: 2; justify-self: center; }
          .center-logo { width: 72px; height: 72px; }
          .leftlogo, .rightlogo { display: none !important; }

          /* PROFIS/VEREIN Schnelllinks wieder entfernen */
          .nav-menu { display: none; }
          .nav-menu:first-of-type { display: none; }
          .nav-menu:first-of-type > li { display: none; }

          /* Hamburger-Öffnung: Dropdown (gesamtes Menü) größer darstellen */
          .nav-menu.active {
            display: flex;
            flex-direction: column;
            grid-column: 1 / -1;
            gap: 6px;
          }
          .nav-menu.active > li > a {
            padding: 14px 18px;
            font-size: 18px;
          }
          /* Untermenüs im mobilen Dropdown etwas größer */
          .nav-menu.active .dropdown { width: 100%; }
          .nav-menu.active .dropdown li a {
            padding: 12px 18px;
            font-size: 16px;
          }
        }

@media (max-width: 480px) {
  .news-image { height: 220px; }
  .news-content { padding: 10px; }
  .news-title { font-size: 1rem; }
  .news-excerpt {
    font-size: 0.85rem;
    line-height: 1.4;
    display: -webkit-box;
    line-clamp: 2;            /* Standard-Eigenschaft */
    -webkit-line-clamp: 2;    /* WebKit-Unterstützung */
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    font-size: 24px; /* größer */
    padding: 8px 12px 8px 16px;
    border-left: 1px solid #FEC90B; /* dünner gelber Trennstrich links daneben */
    right: 8px;
    top: 8px;
  }
  .nav-menu.active > li > a {
    padding: 16px 20px; /* mehr Padding */
    font-size: 20px;   /* größerer Text */
  }
  .nav-menu.active .dropdown li a {
    padding: 14px 20px;
    font-size: 18px;
  }
}

/* Mobile Brand Label (standardmäßig versteckt) */
.mobile-brand { display: none; }

/* Mobile: Brand unter dem Logo, zentriert und gut lesbar */
@media (max-width: 768px) {
  .mobile-brand {
    display: block;
    grid-column: 1 / -1;
    justify-self: center;
    margin-top: 4px;
    color: #F2F2F2;
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
    text-transform: uppercase;
    line-height: 1;
  }
}

/* Mobile Header: Fallback-Schriftzug unter dem Logo auf allen Seiten */
@media (max-width: 768px) {
  .menu-logo::after {
    content: 'HC EMPOR ROSTOCK';
    display: block;
    margin-top: 4px;
    color: #F2F2F2;
    font-weight: 700;
    letter-spacing: 0.08em;
    font-size: 0.95rem;
    text-transform: uppercase;
    line-height: 1;
  }
}
/* Wenn .mobile-brand vorhanden ist, Fallback deaktivieren (unterstützte Browser) */
@supports selector(.menu-logo:has(+ .mobile-brand)) {
  @media (max-width: 768px) {
    .menu-logo:has(+ .mobile-brand)::after { content: none; }
  }
}

.Kader {
   display: flex;
   justify-content: center;
   align-items: center;
   margin: 50px;
   font-size: 2rem; /* wie Positionsüberschriften */
   color: #083A57;  /* gleiche Farbe wie TOR etc. */
   font-weight: 700; /* gleiche Dicke */
   border-bottom: 2px solid #083A57; /* gleiche Unterstreichung */
   padding-bottom: 10px;
   text-align: center;
}

@media (max-width: 768px) {
  .Kader {
    font-size: 1.6rem;
    margin: 30px 16px;
    padding-bottom: 8px;
  }
}

.Mannschaftsfoto {
  display: flex;              /* macht Zentrierung einfach */
  justify-content: center;    /* horizontal zentrieren */
  margin: 2rem 0;             /* Abstand nach oben/unten */
}

.Mannschaftsfoto img {
  max-width: 100%;    /* Bild passt sich dem Bildschirm an */
  width: 1200px;      /* maximale Breite (z. B. 1200px) */
  height: auto;       /* Höhe automatisch */
  border-radius: 8px; /* optional: abgerundete Ecken */
}

.portrait-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.portrait-grid img {
  width: 100%;
  height: 180px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.news-container{
    margin: 1%;
}
.content{
align-items: first baseline;
background-image: url("hintergrund/Hintergrund Textur.webp");
width:100%;
height: fit-content;
min-height: 1300px;
max-width: 100vw;
overflow: hidden;
}

          .news-slider-container {
            position: relative;
            margin: 10px 0;
            overflow: hidden;
            width: 100%;
            max-width: 100vw;
            
        }

        .news-slider {
            display: flex;
    transition: transform 0.5s ease;
    gap: 25px;
    width: 100%;
    padding: 0 20px; /* Mehr Padding für bessere Sichtbarkeit */
    box-sizing: border-box;
        }

        .news-card {
            background: #F2F2F2;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            display: flex;
            flex-direction: column;
            min-height: 400px;
            max-height: 400px;
            height: 100%;
            flex: 0 0 calc(100% - 20px);
            min-width: 0;
        }

        .news-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
        }

        .news-image {
            width: 100%;
            height: 240px;
            object-fit: cover;
            display: block;
            transition: transform 0.3s ease;
            aspect-ratio: 5/2;
            background: #e0e0e0;
        }

        .news-card:hover .news-image {
            transform: scale(1.05);
        }

        .news-content {
            padding: 14px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .news-title {
            font-size: 1.2rem;
            margin-bottom: 12px;
            color: #1a237e;
            line-height: 1.3;
        }

        .news-excerpt {
            color: #555;
            margin-bottom: 15px;
            line-height: 1.5;
            flex-grow: 1;
            font-size: 0.95rem;
            display: -webkit-box;
            line-clamp: 3;            /* Standard */
            -webkit-line-clamp: 3;    /* WebKit */
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .read-more {
            display: inline-block;
            color: #3949ab;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.85rem;
            margin-top: auto;
        }

        .read-more:hover {
            text-decoration: underline;
        }

        .slider-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: #083A57;
            color: #F2F2F2;
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            font-size: 2rem;
            cursor: pointer;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.3s ease;
        }

        .slider-btn:hover {
            background: #FEC90B;
        }

        .slider-btn.prev {
            left: 5px;
        }

        .slider-btn.next {
           
            right:5px;
        }

        .slider-dots {
            display: flex;
            justify-content: center;
            margin-top: 20px;
            gap: 10px;
        }

        .dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #F2F2F2;
            cursor: pointer;
            transition: background 0.3s ease;
        }

        .dot.active {
            background: #083A57;
        }

        /* Responsive Design */
        @media (min-width: 576px) {
            .news-card {
                flex: 0 0 calc(50% - 20px);
            }

            
        }
        @media (max-width: 575px) {
        .tabelle{
        font-size: 14px;
        height: 30px;
        min-width: 25px;
        padding: 5px;
        width: 90%; /* Volle Breite auf kleinen Geräten */
        margin: 0 auto;
        text-align: center; /* Text zentrieren */
        }
    
         .tabelle-container {
        justify-content: center;
        margin-top: 5%;
    }
    
     @media (max-width: 575px) {
    .news-card {
        flex: 0 0 calc(50% - 8px); /* Zwei Karten mit gap */
        min-width: calc(50% - 8px);
    }
    
}
}
        @media (min-width: 768px) {
            .news-card {
                flex: 0 0 calc(33.333% - 20px);
            }
            .logo-item {
    margin: 0 15px;
  }

   .logo-item img {
    max-width: 120px;
    max-height: 60px;
  }
        }
 /* BUTTONZEILE */
/* BUTTONZEILE - DEUTLICH GRÖSSER */
.buttonzeile-container{
    margin-top: 2%;
    width:100%;
    background-color:#F2F2F2;
    border-top:3px solid #083A57;
    border-bottom:3px solid #083A57;
    padding: 25px 0;
}

.buttonzeile-content{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 4%;
    box-sizing: border-box;
    gap: 6%;
}

.buttonzeile-content img {
    width: 32%;
    max-width: 280px;
    height: auto;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 18px;
    flex-shrink: 0;
}

/* ALLE BUTTONS GLEICH GROß - keine spezielle Skalierung für mittleren Button */
.buttonzeile-content img:nth-child(2) {
    transform: scale(1); /* Gleich groß wie die anderen */
    margin: 0;
}

.buttonzeile-content img:hover {
    transform: translateY(-4px) scale(1.05);
    filter: brightness(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* CUSTOM-BUTTON VERSION (falls gewünscht) */
.custom-button {
    width: 32%;
    max-width: 280px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 18px;
    flex-shrink: 0;
}

.custom-button img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 70px;
}

/* ALLE CUSTOM-BUTTONS GLEICH GROß */
.buttonzeile-content .custom-button:nth-child(2) {
    transform: scale(1);
    margin: 0;
}

.custom-button:hover {
    transform: translateY(-4px) scale(1.05);
    filter: brightness(1.1);

}

/* Responsive - ALLE BUTTONS IMMER GLEICH GROß */
/* Tablet */
@media screen and (max-width: 1024px) {
    .buttonzeile-container {
        padding: 20px 0;
    }
    
    .buttonzeile-content {
        gap: 5%;
        padding: 0 3%;
    }
    
    .buttonzeile-content img,
    .custom-button {
        width: 30%;
        max-width: 240px;
    }
    
    /* KEINE spezielle Skalierung */
    .buttonzeile-content img:nth-child(2),
    .buttonzeile-content .custom-button:nth-child(2) {
        transform: scale(1);
        margin: 0;
    }
}

/* Mobile - Buttons untereinander, alle gleich groß */
@media screen and (max-width: 768px) {
    .buttonzeile-content {
        flex-direction: column;
        gap: 25px;
        padding: 0 10%;
    }
    
    .buttonzeile-content img,
    .custom-button {
        width: 100%;
        max-width: 300px;
    }
    
    /* KEINE spezielle Skalierung oder Reihenfolge-Änderung */
    .buttonzeile-content img:nth-child(2),
    .buttonzeile-content .custom-button:nth-child(2) {
        transform: scale(1);
        order: 0; /* Normale Reihenfolge */
        margin: 0;
    }
    
    .buttonzeile-content img:hover,
    .buttonzeile-content .custom-button:hover {
        transform: translateY(-2px) scale(1.02);
    }
}

/* Sehr kleine Mobile */
@media screen and (max-width: 480px) {
    .buttonzeile-container {
        padding: 20px 0;
    }
    
    .buttonzeile-content {
        gap: 20px;
        padding: 0 8%;
    }
    
    .buttonzeile-content img,
    .custom-button {
        max-width: 280px;
    }
    
    /* KEINE spezielle Skalierung */
    .buttonzeile-content img:nth-child(2),
    .buttonzeile-content .custom-button:nth-child(2) {
        transform: scale(1);
    }
}

/* Extra kleine Handys */
@media screen and (max-width: 360px) {
    .buttonzeile-content {
        padding: 0 5%;
        gap: 18px;
    }
    
    .buttonzeile-content img,
    .custom-button {
        max-width: 260px;
    }
    
    /* KEINE spezielle Skalierung */
    .buttonzeile-content img:nth-child(2),
    .buttonzeile-content .custom-button:nth-child(2) {
        transform: scale(1);
    }
}

/* Extra große Screens */
@media screen and (min-width: 1600px) {
    .buttonzeile-content img,
    .custom-button {
        max-width: 320px;
    }
    
    /* KEINE spezielle Skalierung */
    .buttonzeile-content img:nth-child(2),
    .buttonzeile-content .custom-button:nth-child(2) {
        transform: scale(1);
    }
}
.carousel-track {
    animation: scroll 15s linear infinite;
  }

             .tabelle-wrapper {
                align-self: center; /* Zentrieren auf Mobile */
                margin: 1% auto;
                width: 90%;
            }
    
            .tabelle{
                width: 100%;
                margin: 0 auto;
                font-size: 16px; /* Kleinere Schrift auf Mobile */
            }
    
            

        

        @media (min-width: 992px) {
            .news-card {
                flex: 0 0 calc(25% - 20px);
            }
        }

        @media (max-width: 768px) {
            h1 {
                font-size: 2rem;
            }
            
            .news-image {
                height: 200px;
            }
            
            .news-title {
                font-size: 1.15rem;
            }
            
            .news-excerpt {
                font-size: 0.9rem;
            }
        }

        @media (max-width: 480px) {
            .news-image {
                height: 180px;
                aspect-ratio: 5/2;
                background: #e0e0e0;
            }
            
            .news-content {
                padding: 12px;
            }
            
            .news-title {
                font-size: 1.05rem;
            }

           
             .logo-item {
                margin: 0 10px;
            }
  
        .logo-item img {
            max-width: 100px;
            max-height: 50px;
            }
            .tabelle{
        font-size: 14px;
        height: auto; /* Höhe anpassbar */
        min-height: 30px;
    }
        }

        /* Platzhalter für fehlende Bilder */
        .placeholder-image {
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #3949ab 0%, #1a237e 100%);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
        }
/* TABELLEN-BEREICH */
.tabelle-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: stretch; /* Geändert von flex-start zu stretch */
    margin: 2% 0 10% 0;
    height: auto;
    max-width: 100vw;
    overflow: hidden;
    padding: 0 20px;
    box-sizing: border-box;
    gap: 20px;
}

.links-content {
    width: 60%;
    min-height: 300px;
    height:fit-content;
    border-radius: 8px !important;
    border: 3px solid #083A57 !important;
    overflow: hidden;
    display: flex; /* Hinzugefügt */
    flex-direction: column; /* Hinzugefügt */
}

.rechts-content {
    width: 38%;
    display: flex;
    justify-content: flex-end;
    align-items: stretch; /* Hinzugefügt */
}

.tabelle-wrapper {
    width: 100%;
    max-width: 650px;
    min-width: 280px;
    display: flex; /* Hinzugefügt */
    flex-direction: column; /* Hinzugefügt */
    height: 100%; /* Hinzugefügt */
}

.tabelle {
    border: 3px solid #083A57 !important;
    padding: 15px !important;
    margin: 0 !important;
    width: 100% !important;
    display: block !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
    background: #F2F2F2 !important;
    border-radius: 8px !important;
    overflow: visible !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    flex-grow: 1; /* Hinzugefügt */
}

/* Stil für das Handball.net Widget */
#handball-tabelle {
    width: 100% !important;
    max-width: 100% !important;
    overflow: visible !important;
    min-height: auto !important;
    height: auto !important;
    flex-grow: 1; /* Hinzugefügt */
    display: flex; /* Hinzugefügt */
    flex-direction: column; /* Hinzugefügt */
}

#handball-tabelle table {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: fixed !important;
    font-size: 12px !important;
    flex-grow: 1; /* Hinzugefügt */
}

/* Responsive Anpassungen - Gleiche Höhe beibehalten */
@media screen and (max-width: 1200px) {
    .tabelle-container {
        gap: 15px;
        align-items: stretch; /* Beibehalten */
    }
    
    .links-content {
        width: 58%;
    }
    
    .rechts-content {
        width: 40%;
    }
    
    .tabelle-wrapper {
        max-width: 360px;
    }
}

@media screen and (max-width: 992px) {
    .tabelle-container {
        gap: 12px;
        padding: 0 15px;
        align-items: stretch; /* Beibehalten */
    }
    
    .links-content {
        width: 55%;
    }
    
    .rechts-content {
        width: 43%;
    }
    
    .tabelle-wrapper {
        max-width: 320px;
    }
    
    .tabelle {
        font-size: 13px !important;
        padding: 12px !important;
    }
    
    #handball-tabelle table {
        font-size: 11px !important;
    }
}

@media screen and (max-width: 768px) {
    .tabelle-container {
        flex-direction: column;
        gap: 20px;
        margin-top: 3%;
        padding: 0 15px;
        align-items: stretch; /* Beibehalten */
    }
    
    .links-content {
        width: 100%;
        order: 2;
        min-height: 250px;
    }
    
    .rechts-content {
        width: 100%;
        justify-content: center;
        order: 1;
    }
    
    .tabelle-wrapper {
        max-width: 100%;
        width: 100%;
        min-width: auto;
    }
    
    .tabelle {
        font-size: 14px !important;
        padding: 15px !important;
        overflow: visible !important;
        min-height: auto !important;
        height: auto !important;
    }
    
    #handball-tabelle {
        overflow: visible !important;
        height: auto !important;
        min-height: auto !important;
    }
    
    #handball-tabelle table {
        font-size: 12px !important;
        height: auto !important;
    }
}

@media screen and (max-width: 600px) {
    .tabelle-container {
        padding: 0 10px;
        gap: 15px;
        align-items: stretch; /* Beibehalten */
    }
    
    .tabelle {
        font-size: 13px !important;
        padding: 12px !important;
    }
    
    #handball-tabelle table {
        font-size: 11px !important;
    }
}

@media screen and (max-width: 480px) {
    .tabelle-container {
        margin-top: 4%;
        padding: 0 8px;
        gap: 12px;
        align-items: stretch; /* Beibehalten */
    }
    
    .tabelle {
        font-size: 12px !important;
        padding: 10px !important;
        border: 2px solid #083A57 !important;
    }
    
    #handball-tabelle table {
        font-size: 10px !important;
    }
    
    .links-content {
        min-height: 200px;
        border: 2px solid #083A57;
    }
}

/* Sehr kleine Displays - Sicherstellen dass alles sichtbar ist */
@media screen and (max-width: 360px) {
    .tabelle-container {
        padding: 0 5px;
        gap: 10px;
        align-items: stretch; /* Beibehalten */
    }
    
    .tabelle {
        font-size: 11px !important;
        padding: 8px !important;
        overflow: visible !important;
    }
    
    #handball-tabelle {
        overflow: visible !important;
    }
    
    #handball-tabelle table {
        font-size: 9px !important;
        overflow: visible !important;
    }
}

/* Speziell für Hochformat auf Mobile */
@media screen and (max-width: 768px) and (orientation: portrait) {
    .tabelle {
        max-height: none !important;
        overflow: visible !important;
    }
    
    #handball-tabelle {
        max-height: none !important;
        overflow: visible !important;
    }
}

/* Sicherstellen dass keine Höhen begrenzt werden */
.tabelle,
#handball-tabelle,
#handball-tabelle table,
#handball-tabelle tbody,
#handball-tabelle tr,
#handball-tabelle td {
    max-height: none !important;
    height: auto !important;
    overflow: visible !important;
}

.handball-spielplan{
    width: 100%;
     height: 100%;
    margin-top: 2%;
    margin-bottom: 2%;
    margin-left: 2%;
    margin-right: 2%;
}

.footer {
    width: 100%;
    background-color: #083A57;
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

.logos-container {
    width: 100%;
    overflow: hidden;
    background-color: #083A57;
    padding: 20px 0;
    position: relative;
}

.logos-track {
    display: flex;
    width: max-content;
    animation: slide 60s linear infinite;
}

.logos-slide {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 0 20px;
}

.logos-slide img {
    height: 45px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.logos-slide img:hover {
    transform: scale(1.1);
}

/* Spezielle Anpassungen für größere Logos */
.logos-slide img.groeßer {
    height: 45px !important;
    max-width: 140px !important;
}

.footer-bottom {
    background: #06283d;
    padding: 20px 0;
    text-align: center;
    border-top: 2px solid #0a4b6d;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    color: #c3d7e3;
    font-weight: 300;
}

/* Animation */
@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause Animation on Hover */
.logos-container:hover .logos-track {
    animation-play-state: paused;
}

/* Responsive Design */
@media screen and (max-width: 1200px) {
    .logos-slide {
        gap: 25px;
    }
    
    .logos-slide img {
        height: 40px;
        max-width: 120px;
    }
    
    .logos-slide img.groeßer {
        height: 40px !important;
        max-width: 120px !important;
    }
}

@media screen and (max-width: 992px) {
    .logos-container {
        padding: 15px 0;
    }
    
    .logos-slide {
        gap: 20px;
    }
    
    .logos-slide img {
        height: 35px;
        max-width: 100px;
    }
    
    .logos-slide img.groeßer {
        height: 35px !important;
        max-width: 100px !important;
    }
    
    .footer-bottom {
        padding: 15px 0;
    }
    
    .footer-bottom p {
        font-size: 13px;
    }
}

@media screen and (max-width: 768px) {
    .logos-container {
        padding: 12px 0;
    }
    
    .logos-track {
        animation: slide 30s linear infinite;
    }
    
    .logos-slide {
        gap: 15px;
        padding: 0 15px;
    }
    
    .logos-slide img {
        height: 30px;
        max-width: 80px;
    }
    
    .logos-slide img.groeßer {
        height: 30px !important;
        max-width: 80px !important;
    }
    
    .footer-bottom {
        padding: 12px 0;
    }
    
    .footer-bottom p {
        font-size: 12px;
        padding: 0 10px;
    }
}

@media screen and (max-width: 576px) {
    .logos-container {
        padding: 10px 0;
    }
    
    .logos-track {
        animation: slide 25s linear infinite;
    }
    
    .logos-slide {
        gap: 12px;
        padding: 0 10px;
    }
    
    .logos-slide img {
        height: 25px;
        max-width: 70px;
    }
    
    .logos-slide img.groeßer {
        height: 25px !important;
        max-width: 70px !important;
    }
    
    .footer-bottom {
        padding: 10px 0;
    }
    
    .footer-bottom p {
        font-size: 11px;
    }
}

@media screen and (max-width: 400px) {
    .logos-slide {
        gap: 10px;
    }
    
    .logos-slide img {
        height: 22px;
        max-width: 60px;
    }
    
    .logos-slide img.groeßer {
        height: 22px !important;
        max-width: 60px !important;
    }
}

/* Touch Device Optimierungen */
@media (hover: none) and (pointer: coarse) {
    .logos-slide img:hover {
        transform: none;
    }
    
    .logos-container:hover .logos-track {
        animation-play-state: running;
    }
}

/* SPIELPLAN-BEREICH */
.spielplan-container {
    border: 3px solid #083A57;
    background: #F2F2F2;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
    min-height: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.spielplan-margin {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spielplan-container img {
    width: 100%;
    min-height: 1200px;
    object-fit: cover;
    display: block;
    border-radius: 4px;
    aspect-ratio: 8/3;
    background: #e0e0e0;
}

/* Spielplan: deutlich größere Darstellung für bessere Lesbarkeit */
.spielplan-container { max-width: 1100px; }
.spielplan-container img { height: 500px; }

@media screen and (min-width: 1400px) {
  .spielplan-container { max-width: 1200px; }
  .spielplan-container img { height: 600px; }
}

@media screen and (max-width: 992px) {
  .spielplan-container { max-width: 95%; }
  .spielplan-container img { height: 360px; }
}

@media screen and (max-width: 768px) {
  .spielplan-container { max-width: 100%; }
  .spielplan-container img { height: 280px; }
}

@media screen and (max-width: 480px) {
  .spielplan-container img { height: 220px; }
}

/* Responsive Anpassungen */
@media screen and (max-width: 768px) {
    .spielplan-container {
        border-width: 2px;
        max-width: 90%;
    }
    
    .spielplan-margin {
        padding: 15px;
    }
}

@media screen and (max-width: 480px) {
    .spielplan-container {
        border-width: 1.5px;
        max-width: 95%;
        border-radius: 6px;
    }
    
    .spielplan-margin {
        padding: 12px;
    }
    .spielplan-container img {
        height: 160px;
        aspect-ratio: 8/3;
        background: #e0e0e0;
    }
}

@media screen and (max-width: 360px) {
    .spielplan-container {
        max-width: 100%;
        border-radius: 4px;
    }
    
    .spielplan-margin {
        padding: 10px;
    }
}

/* Für sehr große Screens */
@media screen and (min-width: 1200px) {
    .spielplan-container {
        max-width: 900px;
    }
}

/* Spielplan: Bild vollständig sichtbar (keine Zuschnitte), responsive volle Breite */
.spielplan-container {
  max-width: min(1200px, 100%);
}
.spielplan-container img {
  height: auto !important;
  min-height: 0 !important;
  object-fit: contain !important;
  aspect-ratio: auto !important;
}
@media screen and (max-width: 768px) {
  .spielplan-container { max-width: 100%; }
}

/* Spielplan: Containerhöhe an Bild anpassen (kein Leerraum unter dem Bild) */
.spielplan-container {
  min-height: 0 !important;
  height: auto !important;
}

*{
    padding:0;
    margin:0;
    font-family: 'Poppins', monospace;
    box-sizing: border-box;
    
}




.Mannschaftscontainer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Styling für jede Position */
.TOR, .RÜCKRAUM, .AUSSEN, .KREIS, .TRAINER {
    margin-bottom: 40px;
}

.TOR h2, .RÜCKRAUM h2, .AUSSEN h2, .KREIS h2, .TRAINER h2 {
    text-align: center;
    color: #083A57;
    margin-bottom: 20px;
    font-size: 2rem;
    border-bottom: 2px solid #083A57;
    padding-bottom: 10px;
}

/* Spieler Container */
.spieler-container {
    width: 100%;
}

.spieler-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    justify-items: center;
}

.spieler-card {
    background: white;
    border-radius: 10px;
    padding: 0; /* Kein Padding mehr */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 220px;
    height: 380px; /* Feste Höhe für alle Karten */
    overflow: hidden; /* Verhindert Überlauf */
}

.spieler-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.spieler-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Füllt die gesamte Karte aus */
    border-radius: 10px;
    display: block;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .Mannschaftscontainer {
        padding: 15px;
    }
    
    .TOR h2, .RÜCKRAUM h2, .AUSSEN h2, .KREIS h2, .TRAINER h2 {
        font-size: 1.5rem;
    }
    
    .spieler-slider {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 15px;
    }
    
    .spieler-card {
        height: 300px;
        max-width: 180px;
    }
}

@media (max-width: 480px) {
    .spieler-slider {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }
    
    .spieler-card {
        height: 280px;
        max-width: 150px;
    }
}






        /* Video Player Section */
.video-player-section {
    padding: 50px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);

}

.video-player-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

.video-player-section h2 {
    text-align: center;
    color: #083A57;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.video-player-container {
    
    position: relative;
}

/* Video Wrapper */
.video-wrapper {
    display: none;
    width: 100%;
    height: 100%;
    flex-grow: 1;
}


.video-wrapper.active {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.video-wrapper h3 {
    color: #083A57;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.video-wrapper img,
.video-wrapper video {
    width: 100%;
    height: auto;
    max-height: 600px; /* Maximale Höhe für alle Medien */
    object-fit: contain;
    display: block;
}

.video-description {
    color: #666;
    font-size: 1.1rem;
    margin-top: 15px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Video Controls */
.video-controls {
    text-align: center;
    margin-top: 30px;
}

.switch-btn {
    background: linear-gradient(135deg, #083A57 0%, #0a4b6d 100%);
    color: #F2F2F2;
    border: none;
    padding: 12px 25px;
    font-size: 1.1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(8, 58, 87, 0.3);
}

.switch-btn:hover {
    background: linear-gradient(135deg, #0a4b6d 0%, #083A57 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 58, 87, 0.4);
}

.back-btn {
    background: linear-gradient(135deg, #FEC90B 0%, #e6b508 100%);
    color: #083A57;
    display: none;
}

.back-btn:hover {
    background: linear-gradient(135deg, #e6b508 0%, #FEC90B 100%);
}

/* Status-Anzeige */
.video-status {
    text-align: center;
    margin-top: 15px;
    font-weight: bold;
    color: #083A57;
}

/* Responsive Design */
@media (max-width: 768px) {
    .video-player-section {
        padding: 30px 15px;
    }
    
    .video-player-section h2 {
        font-size: 2rem;
    }
    
    .video-wrapper h3 {
        font-size: 1.5rem;
    }
    
    .switch-btn {
        padding: 10px 20px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
}




/* News Article Styles */
.news-article {
    width: 100%;
    overflow: hidden;   
    background-image: url("hintergrund/Hintergrund Texturweiß.webp");
    padding: 0 1%;
}

.article-header {
    background: linear-gradient(135deg, #083A57 0%, #0a4a6f 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 16px;
    margin: 1% auto;
    text-align: flex-start;
    box-shadow: 0 8px 32px rgba(8, 58, 87, 0.1);
    max-width: calc(100% - 2%);
}

.article-title {
    line-height: 1.3;
    font-weight: 700;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    opacity: 0.9;
}

.article-author, .article-date {
    display:flex;
    text-align: flex-start;
    gap: 0.5rem;
}

.article-image-container {
    width: calc(100% - 2%);
    border-radius: 12px;
    overflow: hidden;
    margin: 1% auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.article-image {
    width: 100%;
    height: 300px;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
    background: #e0e0e0;
}

.article-content {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 6px solid #FEC90B;
    line-height: 1.7;
    font-size: 1.1rem;
    margin: 2.5rem auto;
    max-width: calc(100% - 2%);
}

.article-footer {
    text-align: center;
    margin: 3rem auto 0;
    padding: 2rem 1% 0;
    border-top: 1px solid #e9ecef;
    max-width: calc(100% - 2%);
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #083A57;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(8, 58, 87, 0.2);
}

.back-button:hover {
    background: #0a4a6f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(8, 58, 87, 0.3);
    color: #FEC90B;
}

.back-arrow {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .news-article {
        padding: 0 2%;
    }
    
    .article-header,
    .article-image-container,
    .article-content,
    .article-footer {
        max-width: calc(100% - 4%);
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .news-article {
        padding: 0 3%;
    }
    
    .article-header {
        padding: 2rem 1.5rem;
        margin: 2% auto;
        max-width: calc(100% - 6%);
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .article-content {
        padding: 2rem 1.5rem;
        margin: 2rem auto;
        font-size: 1rem;
        max-width: calc(100% - 6%);
    }
    
    .article-image-container {
        margin: 2% auto;
        max-width: calc(100% - 6%);
    }
    
    .back-button {
        padding: 0.875rem 1.5rem;
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .article-footer {
        max-width: calc(100% - 6%);
        padding: 2rem 3% 0;
    }
}

@media (max-width: 480px) {
    .news-article {
        padding: 0 4%;
    }
    
    .article-header {
        padding: 1.5rem 1rem;
        margin: 3% auto;
        max-width: calc(100% - 8%);
    }
    
    .article-content {
        padding: 1.5rem 1rem;
        margin: 1.5rem auto;
        max-width: calc(100% - 8%);
    }
    
    .article-meta {
        font-size: 0.9rem;
    }
    
    .article-image-container {
        margin: 3% auto;
        max-width: calc(100% - 8%);
    }
    
    .article-footer {
        max-width: calc(100% - 8%);
        padding: 1.5rem 4% 0;
        margin: 2rem auto 0;
    }
    
    .back-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .article-image {
        height: 160px;
        aspect-ratio: 16/9;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .news-article {
        padding: 0 2%;
    }
    
    .article-header,
    .article-content,
    .article-image-container,
    .article-footer {
        max-width: calc(100% - 4%);
        margin: 2% auto;
    }
    
    .article-header {
        padding: 1rem 0.75rem;
    }
    
    .article-content {
        padding: 1rem 0.75rem;
    }
}

.container{
    margin: 1%;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 800px;
    width:100%;
    padding: 20px;
    background: #f8f9fa;
}

.login-form {
    background: #F2F2F2;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    border: 1px solid #e9ecef;
}

.login-title {
    text-align: center;
    color: #083A57;
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 700;
}

.input-group {
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.input-group input:focus {
    outline: none;
    border-color: #083A57;
    box-shadow: 0 0 0 3px rgba(8, 58, 87, 0.1);
}

.login-button {
    width: 100%;
    background: #083A57;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-button:hover {
    background: #0a4a6f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 58, 87, 0.3);
}

/* Responsive Design */
@media screen and (max-width: 480px) {
    .login-container {
        padding: 15px;
        min-height: 50vh;
    }
    
    .login-form {
        padding: 30px 25px;
    }
    
    .login-title {
        font-size: 1.75rem;
        margin-bottom: 25px;
    }
    
    .input-group input {
        padding: 12px;
    }
    
    .login-button {
        padding: 12px;
    }
}

/* TICKETS CONTAINER STYLES */
.tickets-container {
    margin:1%;
    background: white;
    border-radius: 10px;
    border: 2px solid #083A57;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ticket-row {
    display: flex;
    align-items: center;
    margin-bottom: 15px;    
    border-bottom: 1px solid #e0e0e0;
    padding: 25px 20px;
    gap: 20px;
    min-height: 60px; /* Feste Mindesthöhe für Ticket-Zeile */
    transition: background-color 0.2s ease;
}


.ticket-row:last-child {
    border-bottom: none;
     margin-bottom: 0;
}

.ticket-row:hover {
    background-color: #f8f9fa;
}

/* Teams Section */
.match-teams {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 2;
    min-width: 200px;
}

.team {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.team.home {
    justify-content: flex-end;
    text-align: right;
}

.team.away {
    justify-content: flex-start;
    text-align: left;
}

.team-logo {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    background: #f2f2f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
}

.team-logo img {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    object-fit: contain;
    display: block;
    aspect-ratio: 1/1;
    background: #e0e0e0;
}

.team-name {
    font-weight: 600;
    font-size: 14px;
    color: #083A57;
}

.vs {
    color: #666;
    font-size: 12px;
    font-weight: bold;
    padding: 0 5px;
}

/* Date & Time */
.match-datetime {
    flex: 1;
    min-width: 100px;
    text-align: center;
}

.date {
    font-weight: 600;
    font-size: 14px;
    color: #083A57;
    margin-bottom: 2px;
}

.time {
    font-size: 13px;
    color: #666;
}

/* Stadium */
.match-stadium {
    flex: 1;
    min-width: 80px;
    text-align: center;
    font-size: 13px;
    color: #666;
}

.ticket-row .match-teams {
    min-width: 200px;
}

.ticket-row .match-datetime {
    min-width: 100px;
}

.ticket-row .match-stadium {
    min-width: 80px;
}

.ticket-row .ticket-btn {
    min-width: 80px;
    min-height: 36px;
}

/* Ticket Button */
.ticket-btn {
    background: linear-gradient(45deg, #083A57, #0A4A6E);
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    color: white;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

.ticket-btn:hover {
    background: linear-gradient(45deg, #0A4A6E, #083A57);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(8, 58, 87, 0.3);
}

/* RESPONSIVE DESIGN */
@media screen and (max-width: 768px) {
    .ticket-row {
        flex-wrap: wrap;
        gap: 15px;
        padding: 12px 15px;
    }
    
    .match-teams {
        flex: 100%;
        order: 1;
        justify-content: center;
        margin-bottom: 5px;
    }
    
    .match-datetime {
        flex: 1;
        min-width: auto;
        order: 2;
    }
    
    .match-stadium {
        flex: 1;
        min-width: auto;
        order: 3;
    }
    
    .ticket-btn {
        order: 4;
        flex: 1;
        min-width: auto;
        margin-top: 5px;
    }
}

@media screen and (max-width: 480px) {
   .tickets-header .ticket-btn,
    .ticket-row .ticket-btn {
        min-width: 60px;
        min-height: 28px;
    }
    
    .match-teams {
        gap: 10px;
    }
    
    .team {
        gap: 8px;
    }
    
    .team-logo {
        width: 28px;
        height: 28px;
        min-width: 28px;
        min-height: 28px;
    }
    .team-logo img {
        width: 16px;
        height: 16px;
        min-width: 16px;
        min-height: 16px;
        aspect-ratio: 1/1;
    }
    
     .team-logo {
        width: 28px;
        height: 28px;
        min-width: 28px;
        min-height: 28px;
    }
    
    .team-name {
        font-size: 12px;
    }
    
    .vs {
        font-size: 11px;
    }
    
    .date {
        font-size: 13px;
    }
    
    .time {
        font-size: 12px;
    }
    
    .match-stadium {
        font-size: 12px;
    }
     .tickets-header,
    .ticket-row {
        min-height: 40px;
        padding: 10px 12px;
        gap: 10px;
    }
    
}

/* Header für die Tabelle */
.tickets-header {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    background: #083A57;
    color: white;
    font-weight: 600;
    font-size: 14px;
    gap: 20px;
    min-height: 60px; /* Feste Höhe für Header */
}

.tickets-header .match-teams {
    flex: 2;
    text-align: center;
    min-width: 200px; /* Mindestbreite */
}

.tickets-header .match-datetime {
    flex: 1;
    text-align: center;
    min-width: 100px;
}

.tickets-header .match-stadium {
    flex: 1;
    text-align: center;
    min-width: 80px;
}

.tickets-header .ticket-btn {
    flex: 1;
    min-width: 80px;
    min-height: 36px; /* Feste Höhe für Button-Platzhalter */
    visibility: hidden; /* Button Platzhalter */
}

.news-header {
    text-align: center;
    color: #083A57;
    font-size: 2.2rem;
    font-weight: 700;
    margin:1%;
    letter-spacing: 0.5px;
}

@media screen and (max-width: 480px) {
    .news-header {
        font-size: 1.4rem;
        margin: 18px 0 14px 0;
        padding: 0 8px;
    }
}
/* News Archiv Styling */
.news-archive-container {
    padding: 40px 0;
    background-image: url("hintergrund/Hintergrund Textur.webp");
}

.news-archive-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

.news-archive-item {
    display: flex;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-archive-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.news-archive-image {
    flex: 0 0 250px;
}

.news-archive-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-archive-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.news-archive-title {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #333;
}

.news-archive-excerpt {
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.read-more {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 10px;
}

.read-more:hover {
    text-decoration: underline;
}

.news-archive-date {
    color: #999;
    font-size: 0.9rem;
}

.no-news {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.2rem;
}

/* Paginierung Styling */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.pagination-btn {
    padding: 8px 16px;
    background-color: #083A57;
    color: #FEC90B;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.pagination-btn:hover {
    background-color: #FEC90B;
  	color:#083A57;
}

.pagination-numbers {
    display: flex;
    gap: 5px;
}

.pagination-number {
    display: inline-block;
    padding: 8px 12px;
    background-color: #083A57;
    color: #FEC90B;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.pagination-number:hover {
    background-color:#FEC90B;
  	color:#083A57;
}

.pagination-number.active {
    background-color: #FEC90B;
    color: #083A57;
}

.pagination-ellipsis {
    padding: 8px 5px;
    color: #6c757d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .news-archive-item {
        flex-direction: column;
    }
    
    .news-archive-image {
        flex: 0 0 auto;
    }
    
    .news-archive-image img {
        height: 200px;
    }
    
    .pagination {
        flex-direction: column;
        gap: 10px;
    }
    
    .pagination-numbers {
        order: -1;
    }
}
/* Mobile: Hamburger + gelber Trennstrich auf Höhe des Empor-Logos zentrieren */
@media (max-width: 768px) {
  .mobile-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    height: 72px;               /* gleiche Höhe wie .center-logo */
    display: flex;               /* vertikal zentrieren */
    align-items: center;         /* vertikal zentrieren */
    border-left: 1px solid #FEC90B; /* dünner gelber Trennstrich */
  }
}

/* News-Slider: Bild deutlich größer, Textbereich relativ kleiner */
.news-image {
  height: 300px; /* größer auf Desktop */
}
@media (max-width: 768px) {
  .news-image { height: 260px; }
}
@media (max-width: 480px) {
  .news-image { height: 260px; }
}

/* News-Slider: 3 Zeilen sichtbar, Karte wächst mit dem Inhalt */
.news-card {
  min-height: 0 !important;
  max-height: none !important;
  height: auto !important;
}
.news-card .news-excerpt {
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 3 !important;
  line-clamp: 3 !important;
  overflow: hidden !important;
}
@media (max-width: 480px) {
  .news-card .news-excerpt {
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
  }
}


.container-newssite{
    align-items: center;
    text-align: center;
    justify-content: center;
    display: flex;

}

.newsarch{
    color:#083A57;
}

        .company-name {
            font-size: 1.5rem;
            color: #3498db;
            font-weight: bold;
            margin-bottom: 5px;
        }
        
        .contact-info {
            margin-bottom: 25px;
        }
        
        .info-section {
            
            
            padding: 15px;
            background-color: #F2F2F2;
            border-radius: 8px;
           
        }
        
        .info-title {
            font-weight: bold;
            color: #2c3e50;
            margin-bottom: 8px;
            font-size: 1.1rem;
        }
        
        .info-content {
            color: #555;
        }
        
        .contact-details {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 20px;
        }
        
        .contact-item {
            flex: 1;
            min-width: 200px;
            padding: 15px;
            background-color: #f0f8ff;
            border-radius: 8px;
            text-align: center;
            transition: transform 0.3s ease;
        }
        
        .contact-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        }
        
        .contact-icon {
            font-size: 1.8rem;
            margin-bottom: 10px;
            color: #3498db;
        }
        
        .contact-label {
            font-weight: bold;
            color: #2c3e50;
            margin-bottom: 5px;
        }
        
        .contact-value {
            color: #555;
        }
        
        .business-hours {
            background-color: #fff8e1;
            border-left: 4px solid #ffc107;
        }
        
        @media (max-width: 600px) {
            .container {
                padding: 20px;
                margin: 20px;
            }
            
            h1 {
                font-size: 1.8rem;
            }
            
            .contact-details {
                flex-direction: column;
            }
        }
.contact{
    margin:1%;
}

.footer-button{
    align-items: center;
    background-color: #F2F2F2;
    
}