

/* ===== Größen-Variablen ===== */
:root{
  --nav-h: 72px;         /* sichtbare Leistenhöhe */
  --logo-size: 180px;    /* tatsächliche Logohöhe */
  --logo-overhang: 90px; /* wie weit das Logo nach unten rausguckt */
}

/* Reset */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Hero mit Hintergrundbild */
.hero {
  height: 100vh;
  background: url("bilder/rohre.jpg") no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #111;
  position: relative;
}

/* Fixierte, schlanke Navbar */
.navbar{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
  padding: 0 clamp(16px, 4vw, 48px);
  background: rgba(255,255,255,1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.05);
  overflow: visible; /* Logo darf überstehen */
}

/* Logo-Container behält die Leistenhöhe, Inhalt darf überstehen */
.logo{
  position: relative;
  height: var(--nav-h);
  display: flex; align-items: center;
}


/* Nav-Links bleiben auf Leistenhöhe */
.nav-links{
  display: flex; align-items: center; gap: 25px;
  white-space: nowrap; flex-wrap: nowrap;
  padding-right: clamp(8px, 2vw, 28px);
}

/* Dropdown-Container verhält sich wie ein Link */
.navbar .menu {
  position: relative;
  display: inline-flex;    /* <<< statt block */
  align-items: center;
}

/* Button optisch wie Link */
.navbar .menu-toggle {
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  line-height: 1.2;
  color: #000;
}

/* Hover-Farbe wie bei Links */
.navbar .menu-toggle:hover { color: #010e71; }

/* Dropdown-Layer wie zuvor */
.navbar .submenu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  padding: 8px;
  margin: 0;
  list-style: none;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  display: none;
  z-index: 1100;
}

.navbar .menu.open .submenu { display: block; }
.navbar .submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #000;
  text-decoration: none;
}
.navbar .submenu a:hover { background: rgba(0,0,0,0.06); }

/* Optional: bei schmalen Screens etwas enger rücken */
@media (max-width: 900px){
  .nav-links { gap: 16px; }
}

/* Navbar-Hintergrund oben bleibt stehen, Logo „ragt“ hinaus */
header {
  position: relative;
  z-index: 999;
}

/* Inhalt nicht unter der fixierten Leiste verstecken */
body{ padding-top: var(--nav-h); }

/* ===== Responsive Feinschliff ===== */
@media (max-width: 900px){
  :root{
    --nav-h: 64px;
    --logo-size: 150px;
    --logo-overhang: 75px;
  }
}
@media (max-width: 600px){
  :root{
    --nav-h: 58px;
    --logo-size: 120px;
    --logo-overhang: 60px;
  }
}


/* Logo selbst hängt unten raus, ohne die Navbar zu vergrößern */
.logo img{
  position: absolute;
  left: 0;               /* ggf. zentrieren → left:50%; transform: translate(-50%, ...); */
  bottom: calc(-1 * var(--logo-overhang));
  height: var(--logo-size);
  width: auto;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.18)); /* optionaler Tiefen-Effekt */
}

.nav-links {
  display: flex;
  gap: 25px; /* gleichmäßiger Abstand */
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #010e71; /* Apple Blau */
}

/* Hero Inhalt */
.overlay {
  background: rgba(255,255,255,0.7);
  padding: 40px;
  border-radius: 12px;
}

h1 {
  font-size: 2.5rem;
  margin: 0;
}

p {
  font-size: 1.5rem;
  margin: 15px 0 30px;
  color: #333;
}

button {
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 20px;
  background: #0215ac;
  color: white;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

button:hover {
  background: #010e71;
  transform: scale(1.05);
}

/* Gemeinsame Breite für News + Angebote */
.container {
  max-width: 1000px;       /* ~ 2 Angebotsboxen nebeneinander */
  margin: 0 auto;
  padding: 0 20px;
}

/* Extra-breit nur hier */
.container--xl { max-width: 1400px; }      /* oder 1280/1400px */

/* Überschrift mittig */
.section-title {
  text-align: center;
  font-size: 28px;
  margin: 50px 0 20px;
  color: #222;
}

/* Einheitliche, feste Höhen je Breakpoint */
:root{
  --news-h-desktop: 520px;
  --news-h-tablet: 460px;
  --news-h-mobile: 420px;
}

.news .news-slider{
  width: 100%;
  height: var(--news-h-desktop);   /* fix auf Desktop */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  background: #eee;
}

/* Tablet */
@media (max-width: 1024px){
  .news .news-slider{ height: var(--news-h-tablet); }
}

/* Mobile */
@media (max-width: 600px){
  .news .news-slider{ height: var(--news-h-mobile); }
}


/* Slides mit großem Hintergrundbild */
.news .swiper-slide {
  position: relative;
  width: 100%;
  height: 100%;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.news .swiper-slide::after{ pointer-events: none; } 

.news .news-overlay {
  position: absolute;
  left: 24px;
  right: 24px;            /* etwas mehr Platz */
  bottom: 24px;
  z-index: 2;             /* garantiert über dem ::after */
  gap: 8px;
}

/* Textblock unten links (wie beim BVB) */
.news-overlay {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 1;
  max-width: min(520px, 90%);
  color: #fff;
  display: grid;
  gap: 10px;
}

/* Kategorie-Pill */
.news-tag {
  display: inline-block;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: #0215ac;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 700;
  width: fit-content;
}

/* Headline */
.news h3 {
  font-size: clamp(18px, 3vw, 28px);
  line-height: 1.15;
  margin: 0;
  background: rgba(0,0,0,0.7);
  padding: 10px 14px;
  border-radius: 8px;
}

/* CTA */
.news-btn {
  display: inline-block;
  background: #0215ac;
  color: #fff;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform .15s ease, background .2s ease;
  width: fit-content;
}
.news-btn:hover { transform: translateY(-1px); background: #010e71; }

/* Pagination Dots dezent und mittig */
.news .swiper-pagination {
  bottom: 10px !important;
}
.news .swiper-pagination-bullet {
  width: 26px; height: 4px; border-radius: 3px;
  background: #fff; opacity: 1;
  margin: 0 6px !important;
}
.news .swiper-pagination-bullet-active {
  background: #0215ac;   /* Akzentfarbe – gern auf Vereinsfarbe ändern */
}

#newsSwiper { height: 300px; /* oder 320px, oder was du willst */ }

#newsSwiper .swiper-slide { height: 100%; background-size: cover; background-position: center; }

#newsSwiper .swiper-pagination-bullet { 
  width: 26px;
  height: 4px;
  border-radius: 3px;
  background: #fff !important;
  opacity: 1 !important;
  margin: 0 6px !important;
} #newsSwiper .swiper-pagination-bullet-active { background: #0215ac !important; }

/* Handy: Slider höher + kompaktere Typo/CTA */
@media (max-width: 480px) {
  .news .news-overlay { left: 16px; right: 16px; bottom: 16px; gap: 8px; }
  .news h3 { font-size: clamp(16px, 4vw, 22px); padding: 8px 10px; }
  .news .news-btn { padding: 8px 12px; font-size: 14px; }
}

/* Hauptbalken */
.news .news-slider::before {
  content: "";
  position: absolute;
  top: -30%;
  left: -50%;
  width: 200%;
  height: 160%;
  background: linear-gradient(120deg, #0215ac 0%, #010e71 100%);
  transform: translateX(-100%) skewX(-20deg);
  opacity: 0;
  z-index: 5;
  pointer-events: none;
}
/* Zweiter Balken (etwas heller und schmaler) */
.news .news-slider::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -50%;
  width: 200%;
  height: 180%;
  background: linear-gradient(120deg, rgba(2,21,172,0.8), rgba(1,14,113,0.8));
  transform: translateX(-120%) skewX(-25deg);
  opacity: 0;
  z-index: 6;
  pointer-events: none;
}

/* Animation triggern */
.news .news-slider.animate::before {
  animation: slideOverlay 0.6s ease forwards;
}
.news .news-slider.animate::after {
  animation: slideOverlay 0.7s ease forwards;
}

/* Animation-Keyframes */
@keyframes slideOverlay {
  0% {
    transform: translateX(-120%) skewX(-20deg);
    opacity: 1;
  }
  50% {
    transform: translateX(0%) skewX(-20deg);
    opacity: 0.9;
  }
  100% {
    transform: translateX(120%) skewX(-20deg);
    opacity: 0;
  }
}


/* Überschrift zentral */
.section-title {
  text-align: center;
  font-size: 2rem;
  margin: 40px 0 20px;
}

/* Grid für Angebote */
.angebote-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2x2 Grid */
  gap: 20px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}

.angebot-box {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.angebot-box:hover {
  transform: translateY(-5px);
}

.angebot-box img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.angebot-box h3 {
  margin: 10px 0;
  font-size: 1.3rem;
  color: #111;
}

.angebot-box p {
  color: #555;
  font-size: 0.95rem;
}

/* Responsive: 1x4 auf Handy */
@media (max-width: 768px) {
  .angebote-grid {
    grid-template-columns: 1fr; /* 1 Spalte */
  }
}


@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-400%); } /* je nach Bildanzahl anpassen */
}

.footer {
  background: rgba(255, 255, 255, 0.7); /* halbtransparent */
  backdrop-filter: blur(10px); /* Glas-Effekt */
  border-top: 1px solid rgba(0, 0, 0, 0.1); /* dezente Linie oben */
  padding: 20px 40px;
  text-align: center;
  font-size: 14px;
  color: #333;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  text-decoration: none;
  color: #555;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #010e71; /* Apple Blau beim Hover */
}

/* Impressum-Karten im Apple-Glaslook */
.legal-page { padding-bottom: 60px; }
.legal-card {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 24px;
  margin: 16px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.legal-card h2 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #111;
}
.legal-card p { color: #444; line-height: 1.6; }

/* Aktiver Link in der Navi dezent hervorheben */
.nav-links a.active {
  color: #0215ac;
  position: relative;
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: #0215ac;
  border-radius: 2px;
  opacity: .8;
  transform: translateY(0);
}

/* Schlanker Hero für Unterseiten */
.sport-hero{
  position: relative;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  height: min(48vh, 520px);
  display: grid;
  place-items: end start;
}
.sport-hero::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,.15), transparent);
}
.sport-hero__overlay{
  position: relative; z-index:1;
  margin: 0 24px 24px 24px;
  color:#fff;
  display:grid; gap:10px;
  max-width: 680px;
}
.pill{
  display:inline-block; font-size:12px; text-transform:uppercase; letter-spacing:.04em;
  background:#0215ac; color:#ffffff; padding:6px 10px; border-radius:6px; font-weight:700;
}

/* Intro + Glas-Karten */
.sport-intro .intro-card,
.glass-card{
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(8px);
  border-radius:16px;
  padding:24px;
  box-shadow:0 8px 24px rgba(0,0,0,.08);
}

/* etwas Luft nach dem Hero */
.sport-hero + .container { margin-top: 16px; }


.glass-card h3 { margin: 0 0 12px; }
.glass-card h4 { margin: 16px 0 8px; }

/* 3-Boxen-Grid oben: Desktop 3, Tablet 2, Handy 1 */
.sport-grid--top3 {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0,1fr));
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 1100px) {
  .sport-grid--top3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .sport-grid--top3 { grid-template-columns: 1fr; }
}

/* Kartenraster Mannschaften */
.card-grid{
  display:grid; gap:24px;
  grid-template-columns: repeat(2, minmax(0,1fr));
  margin: 12px 0 40px;
}
@media (max-width: 900px){
  .card-grid{ grid-template-columns: 1fr; }
}
.team-card{
  background:#fff; border-radius:16px; overflow:hidden;
  box-shadow:0 10px 28px rgba(0,0,0,.08);
  display:grid; gap:12px;
}
.team-card img{
  width:100%; height:200px; object-fit:cover;
}
.team-card h4{ margin:0 16px; padding-top:6px; color:#111; }
.team-card p{ margin:0 16px 6px; color:#555; }
.team-card .card-link{
  margin:0 16px 16px; display:inline-block; text-decoration:none; font-weight:600;
  color:#0215ac; transition:opacity .2s;
}
.team-card .card-link:hover{ opacity:.8; }

/* Feine Trennlinie innerhalb der Karte */
.divider{
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,.12), transparent);
  margin: 16px 0;
}

/* Tabelle */
.tt-table{
  width:100%; border-collapse: collapse; font-size:15px;
  background: rgba(255,255,255,.85); border-radius:12px; overflow:hidden;
}
.tt-table thead th{
  text-align:left; background:#f5f7fb; padding:10px 12px; font-weight:600;
}
.tt-table tbody td{ padding:10px 12px; border-top:1px solid #eee; }

/* Buttons */
 .btn-primary {
      padding: 10px 16px;
      background: #0215ac;
      color: #fff;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-weight: 600;
      transition: background 0.2s ease;
    }

.btn-primary:hover{ background:#010e71; transform:translateY(-1px); }
.btn-ghost{
  display:inline-block; border:1px solid rgba(0,0,0,.15); padding:10px 14px; border-radius:10px;
  text-decoration:none; color:#111; background: rgba(255,255,255,.7); backdrop-filter: blur(6px);
}

/* Map */
.map-embed iframe{ width:100%; height:220px; border:0; border-radius:12px; }
.map-placeholder{
  height:220px; border-radius:12px; display:grid; place-items:center;
  color:#666; background: linear-gradient(135deg,#f4f6fb,#eef1f7);
  border:1px dashed rgba(0,0,0,.15);
}

/* A11y helper für versteckte Labels */
.visually-hidden {
  position:absolute !important; height:1px; width:1px; overflow:hidden; clip:rect(1px,1px,1px,1px);
}

/* Suchleiste */
.lineup-search {
  display: grid; grid-template-columns: 1fr auto; gap: 12px;
  align-items: center; margin: 10px 0 18px;
}
#lineup .lineup-search { margin-top: 0; } /* falls du eine ID nutzt */

.lineup-search input[type="search"]{
  width:100%; padding:12px 14px; border-radius:12px;
  border:1px solid rgba(0,0,0,.15);
  background: rgba(255,255,255,.75); backdrop-filter: blur(6px);
  font-size: 16px;
}
.search-meta { display:flex; align-items:center; gap:10px; }
#searchCount { color:#666; font-size:14px; }
#clearSearch {
  border:none; background: rgba(0,0,0,.06); border-radius:10px;
  padding:8px 10px; cursor:pointer; font-size:16px;
}
#clearSearch:hover { background: rgba(0,0,0,.12); }

/* Keine Ergebnisse */
.no-results {
  text-align:center; color:#666; margin: 12px 0 0;
}

/* ====== Mannschaftsaufstellungen als sauberes Grid ====== */
.lineup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* passt sich an */
  gap: 24px;
  margin: 0 auto 40px;
  max-width: 1200px;
  padding: 0 20px;
}

.lineup-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lineup-card img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* Spieler-Liste */
.roster { margin: 0; padding-left: 20px; }
.roster li { margin: 2px 0; }

/* Kontaktinfos */
.contact dt { font-weight: 600; }
.contact dd { margin: 0 0 6px; }

/* Versteckte Karten für Suche */
.lineup-card.is-hidden {
  display: none !important;
}

/* Button Mitglied werden im Header */
.nav-links .btn-join {
  background: #0215ac;;
  color: #fff;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
  margin-left: 10px; /* etwas Abstand zu den Links */
  white-space: nowrap; /* nicht umbrechen */
}

.nav-links .btn-join:hover {
  background: #010e71;
  color: #fff;
}

.image-section {
  max-width: 1100px;   /* wie deine Container-Breite */
  margin: 40px auto;
  padding: 0 20px;
}

.image-section img {
  display: block;
  width: 100%;          /* füllt den Bereich aus */
  height: auto;         /* kein Verzerren */
  border-radius: 16px;  /* gleiche Rundung wie bei Karten */
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.news-modal {
  border: none;
  padding: 0;
  background: transparent;
}
.news-modal::backdrop {
  background: rgba(0,0,0,.4);
  backdrop-filter: blur(4px);
}
.news-modal__frame {
  max-width: 600px;
  width: 90%;
  margin: auto;
  background: rgba(255,255,255,0.9);
  border-radius: 16px;
  padding: 20px;
  position: relative;
}

.news-modal__frame article {
  overflow-y: auto;           /* scrollt bei zu viel Inhalt */
  padding-right: 8px;         /* etwas Platz für Scrollbar */
}

/* Scrollbar hübscher (nur Webkit) */
.news-modal__frame article::-webkit-scrollbar {
  width: 6px;
}
.news-modal__frame article::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,.2);
  border-radius: 3px;
}

.news-modal__frame h2 {
  margin-top: 0;
  font-size: 1.6rem;
  font-weight: 700;
  text-align: center;
}
.news-modal__frame p.small {
  text-align: center;
  color: #555;
  margin-bottom: 16px;
}
.news-modal__frame img {
  display: block;
  max-width: 100%;
  max-height: 320px;        /* Höhe begrenzen */
  width: auto;
  height: auto;
  margin: 12px auto;
  border-radius: 12px;
  object-fit: cover;        /* schön beschnitten bei breiten Bildern */
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}

.news-modal__frame .img-wrap {
  position: relative;
  width: 100%;
  padding-top: 50%;          /* 2:1-Seitenverhältnis */
  overflow: hidden;
  border-radius: 12px;
}
.news-modal__frame .img-wrap img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.news-modal__frame p {
  text-align: center;
  line-height: 1.5;
}
.news-modal__frame .btn-row {
  margin-top: 20px;
  display: flex;
  color: #0215ac;
  justify-content: center;
  gap: 10px;
}

/* Scrollbar hübscher (nur Webkit) */
.news-modal__frame article::-webkit-scrollbar {
  width: 6px;
}
.news-modal__frame article::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,.2);
  border-radius: 3px;
}
.news-modal__frame h2, 
.news-modal__frame p.small, 
.news-modal__frame img {
  flex-shrink: 0; /* nicht wegdrücken lassen */
}
#newsContent {
  flex: 1;
  overflow-y: auto;
}

.news-list {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;  /* nur eine Spalte */
}

.news-list .lineup-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 20px;
}

.news-list .lineup-card img {
  max-width: 600px;
  width: 100%;
  margin: 12px auto;
  border-radius: 12px;
  display: block;
  height: auto;
}

.swiper-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto 20px;
  border-radius: 12px;
  overflow: hidden;
}

.swiper-container img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Slider-Optik */
.news-slider {
  width: 100%;
  margin: 16px auto;
  border-radius: 12px;
  overflow: hidden;
}
.news-slider .swiper-slide {
  min-height: 300px;
  background-size: cover;
  background-position: center;
}

/* Animationen */
@keyframes fadeIn { from {opacity:0} to {opacity:1} }
@keyframes popIn { from {transform: scale(.95); opacity: 0;} to {transform: scale(1); opacity: 1;} }



/* Burger nur auf Mobile */
.burger {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: 16px;
  color:#0215ac
}

/* Kein Hover-Effekt für den Burger */
.burger:hover {
  background: rgba(0,0,0,0.06);
  color: #010e71;
}

/* Overlay Menü */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.50);
  backdrop-filter: blur(10px);
  display: none;
  flex-direction: column;
  padding: 20px;
  z-index: 2000;
  animation: fadeIn .3s ease;
}

.mobile-menu.active { display: flex; }

.close-mobile {
  align-self: flex-end;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  margin-bottom: 20px;
  color:#0215ac
}

.close-mobile:hover {
  background: rgba(0,0,0,0.06);
  color: #010e71;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.mobile-links a {
  font-size: 20px;
  text-decoration: none;
  color: #111;
  padding: 10px;
  border-radius: 8px;
  transition: background .2s;
}

.mobile-links a:hover {
  background: rgba(0,0,0,0.05);
}

.mobile-menu-section h3 {
  margin: 16px 0 4px;
  font-size: 16px;
  color: #555;
  text-transform: uppercase;
  letter-spacing: .05em;
}

@media (max-width: 1400px) {
  .burger { display: block; }
  .nav-links { display: none; }
}

/* ===== Veranstaltungen Widget ===== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 24px;
}
@media (max-width: 900px){
  .events-grid { grid-template-columns: 1fr; }
}

.event-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  display: grid;
  gap: 12px;
}

.event-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.event-title {
  margin: 0;
  font-size: 1.1rem;
  color: #111;
}

.event-meta {
  display: grid;
  gap: 4px;
  color: #444;
  font-size: 0.95rem;
}

.event-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.btn-small {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.9);
  color: #111;
  transition: background .2s ease;
}
.btn-small:hover { background: rgba(0,0,0,.06); }

.btn-primary { background:#0215ac; color:#fff; border-color: transparent; }
.btn-primary:hover { background:#010e71; }

.pill-date {
  background: #0215ac;
  color: #fff;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
}


/* Nur dieser Close-Button */
.close--news{
  align-self: flex-end;
  top: 10px;
  right: 10px;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  margin-bottom: 20px;
  color:#0215ac
}

.close--news:hover{
  background: rgba(0,0,0,0.06);
  color: #010e71;
}

/* Auto-Layout: Desktop 2 Spalten, Tablet 2, Handy 1 */
.angebote-grid--auto {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (max-width: 1100px) {
  .angebote-grid--auto { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .angebote-grid--auto { grid-template-columns: 1fr; }
}

/* Einheitliche Bildhöhe/Ausschnitt */
.angebot-box img {
  width: 100%;
  aspect-ratio: 16 / 9;   /* sorgt für gleichmäßige Kachelhöhen */
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

/* Darts breiter darstellen – nur auf großen Screens */
@media (min-width: 1101px) {
  .angebote-grid--auto .angebot-box--wide { grid-column: span 2; }
}

.small-foottext {
  font-size: 12px;
  opacity: .6;
  text-align: center;
  margin-top: 10px;
}

