/* ========================================================================== */
/*  CSS VARIABLEN */
/* ========================================================================== */

:root {
  --color-red: #c00;
  /* dein Rot */
  --color-white: #fff;
  /* dein Weiß */
  --color-lightred: #fff0f0;
  /* dein hellrot */

  /*Mitglieder Bildverhalten*/
  --img-fit-cover: cover;
  --img-car-cover: cover;

  --website-img: url("/uscarclub_sources/Club/Club_JHV_2026.jpeg")
}

/* ========================================================================== */
/*  RESET / BASIS */
/* ========================================================================== */

* {
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  position: relative;
}

body.menu-open {
  overflow: hidden;
}

/* ========================================================================== */
/*  TYPOGRAFIE / INLINE ELEMENTE */
/* ========================================================================== */

strong {
  font-weight: bold;
}

strong2 {
  font-weight: bold;
  font-size: 0.8rem;
}

strongRed {
  font-size: 1.5rem;
  color: red;
}

h1 {
  font-size: 36px;
  font-weight: 600;
}

h3 {
  text-align: center;
  font-weight: 600;
  margin: 10px 0;
}

p {
  color: #000000;
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;
}

/* ========================================================================== */
/*  HEADER / NAV (DESKTOP GRUNDLAGE) */
/* ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 1000;
  background-color: transparent;
}

.header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5% auto;
  height: 100px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  /* wird beim Scrollen rot */
  transition: background-color 0.5s ease;
}

.header.scrolled nav {
  background-color: var(--color-red);
  /* dein gewünschtes Rot */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  background-color: 0.3s ease, box-shadow 0.3s ease;
}

.nav-container {
  max-width: 100%vw;
  margin: auto;
  width: 100%;
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 10px;
}

.nav-container p {
  font-size: 1.5rem;
  text-align: center;
  color: white;
}

.kontakt-p {
  text-align: center;
  font-size: 1rem;
}

nav img {
  width: 8rem;
  align-items: center;
  padding-left: 15%;
}

.nav-links {
  flex: 1;
  text-align: right;
  position: cover;
}

.nav-links ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 12px;
  position: relative;
}

.nav-links ul li a {
  color: var(--color-white);
  text-decoration: none;
  font-size: 1rem;
}

.nav-links ul li::after {
  content: "";
  width: 0%;
  height: 2px;
  background: #ffffff;
  display: block;
  margin: auto;
  transition: 0.25s;
}

.nav-links ul li:hover::after {
  width: 100%;
}

nav .bi {
  display: none;
}

/* ========================================================================== */
/*  NAV – RESPONSIVE TEXT (kleine Breiten) */
/* ========================================================================== */

@media (max-width: 425px) {
  .nav-container p {
    font-size: 0.8rem;
    text-align: center;
    color: white;
  }
}

@media (max-width: 320px) {
  .nav-container p {
    font-size: 0.6rem;
    text-align: center;
    color: white;
  }
}

/* ========================================================================== */
/*  DROPDOWN (ALLGEMEIN) */
/* ========================================================================== */

/* --- Dropdown-Menü mit bestehendem Design abstimmen --- */

.nav-links ul li {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: #c00;
  min-width: 200px;
  z-index: 1000;
}

/* Dropdown-Standardzustand: versteckt */
.nav-links ul li ul.dropdown-menu {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-red);
  border-radius: 0 0 5px 5px;
  min-width: 160px;
  z-index: 999;
  padding: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
  /* verhindert Hover-Probleme */
}

/* Dropdown auf Hover anzeigen */
.nav-links ul li:hover>ul.dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Einzelne Dropdown-Items */
.nav-links ul li ul.dropdown-menu li {
  display: block;
  padding: 8px 12px;
  text-align: left;
  white-space: nowrap;
}

/* Link-Styling im Dropdown */
.nav-links ul li ul.dropdown-menu li a {
  font-size: 20px;
  font-weight: normal;
  color: var(--color-white);
  text-decoration: none;
  display: block;
  padding: 8px 0;
  transition: 0.2s;
}

/* Hover-Effekt für Link */
.nav-links ul li ul.dropdown-menu li a:hover {
  color: var(--color-lightred);
}

/* Icon-Positionierung (falls verwendet) */
.nav-links ul li ul.dropdown-menu li a i {
  margin-right: 8px;
  font-size: 16px;
  vertical-align: middle;
}

/* ========================================================================== */
/*  DROPDOWN – DESKTOP HOVER FIX */
/* ========================================================================== */

@media (min-width: 1245px) {
  .nav-links ul li {
    position: relative;
  }

  .nav-links ul li ul.dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--color-red);
    border-radius: 0 0 5px 5px;
    min-width: 160px;
    z-index: 999;
    transition: opacity 1s ease, visibility 1s ease;
  }

  .nav-links ul li:hover>ul.dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
  }

  .nav-links ul li ul.dropdown-menu li a {
    display: block;
    padding: 8px 12px;
    font-size: 15px;
    color: var(--color-white);
    text-decoration: none;
  }

  .nav-links ul li ul.dropdown-menu li a:hover {
    color: var(--color-lightred);
  }
}

@media (min-width: 1245px) {
  .dropdown>.dropdown-menu {
    display: none;
    opacity: 0;
    visibility: hidden;
  }

  .dropdown:hover>.dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Desktop: Klick soll normal navigieren */
  .dropdown-toggle {
    pointer-events: auto;
  }
}

/* ========================================================================== */
/*  NAV – MOBILE (bis 1244px) */
/* ========================================================================== */

@media (max-width: 1244px) {
  @media (max-width: 1244px) {

    /* Hover komplett deaktivieren */
    .dropdown:hover>.dropdown-menu {
      display: none;
    }

    /* Öffnen nur über .open */
    .dropdown>.dropdown-menu {
      display: none;
      opacity: 0;
      visibility: hidden;
      position: static;
      padding-left: 1rem;
    }

    .dropdown.open>.dropdown-menu {
      display: block;
      opacity: 1;
      visibility: visible;
      animation: dropdownFade 0.25s ease;
    }
  }

  .nav-links {
    background-color: var(--color-red);
    position: fixed;
    top: 0;
    right: -100%;
    width: 200px;
    height: 100vh;
    padding-top: 60px;
    transition: right 0.3s ease;
    z-index: 9999;
  }

  .nav-links ul li.open>ul.dropdown-menu {
    display: block;
    position: static;
    background-color: transparent;
    padding-left: 20px;
    margin-top: 5px;
    animation: dropdownFade 0.3s ease-in-out;
  }

  .nav-links ul li ul.dropdown-menu {
    display: visible;
  }

  .nav-links ul li ul.dropdown-menu li a {
    font-size: 14px;
    padding: 8px 0;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .nav-links ul li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .nav-links ul li a {
    display: block;
    padding: 12px 16px;
    color: var(--color-white);
    text-decoration: none;
    font-size: 16px;
  }

  .nav-links ul li a i {
    margin-right: 8px;
  }

  .nav-links i.bi-x {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: white;
    cursor: pointer;
  }

  .nav-container i.bi-list {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: white;
    cursor: pointer;
    z-index: 10000;
  }

  .nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 10px 15px;
  }

  .nav-container a img {
    height: 40px;
    width: auto;
  }

  .nav-headline {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    font-weight: bold;
    color: white;
    white-space: nowrap;
    text-align: center;
    pointer-events: none;
    z-index: 999;
    /* damit Klicks aufs Burger-Menü nicht blockiert werden */
  }

  .bi-list {
    font-size: 24px;
    color: white;
  }
}

.bi-list {
  transition: opacity 0.3s ease;
}

body.menu-open .bi-list {
  opacity: 0;
  pointer-events: none;
}

/* ========================================================================== */
/*  DROPDOWN ANIMATION */
/* ========================================================================== */

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================================================== */
/*  HERO / TEXT-BOX / BUTTONS */
/* ========================================================================== */

.text-box {
  width: 90%;
  color: var(--color-white);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.text-box h1 {
  font-size: 1vw;
}

.text-box p {
  margin: 10px 0 40px;
  font-size: 12px;
  color: var(--color-white);
}

.hero-btn {
  display: inline-block;
  text-decoration: none;
  align-items: center;
  color: var(--color-white);
  border: 1px solid var(--color-white);
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
  transition: 0.25s;
}

.hero-btn:hover {
  border: 1px solid #f44336;
  background: #f44336;
  transition: 0.25s;
}

/* Mobile Anpassungen (zweiter Block bleibt erhalten) */
@media (max-width: 1244px) {
  .text-box h1 {
    font-size: 20px;
  }

  .nav-links ul li {
    display: block;
  }

  .nav-links {
    position: cover;
    background: #c00;
    height: 100vh;
    width: 200px;
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transition: 1s;
  }

  nav .bi {
    display: block;
    color: var(--color-white);
    margin: 8px;
    font-size: 26px;
    cursor: pointer;
  }

  .nav-links ul {
    padding: 30px;
  }
}

/* ========================================================================== */
/*  COURSE / GENERISCHE SEKTIONSLAYOUTS */
/* ========================================================================== */

/* ---- course ---- */
.course {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}

.programmh2 {
  text-align: center;
  font-size: 1.5rem;
}

.ProgrammEvent {
  color: var(--color-red);
  /* oder deine Wunschfarbe */
}

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

.centeredH1 {
  text-align: center;
  font-size: 2em;
}

.centeredBox {
  text-align: justify;
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px;
  background-color: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  line-height: 1.5;
  font-size: 1.05em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.centeredBox:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.row {
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
}

.course-col {
  flex-basis: 30%;
  background: var(--color-white) 3f3;
  border-radius: 10px;
  margin-bottom: 5%;
  padding: 20px 12px;
  box-sizing: border-box;
  transition: 0.5s;
}

.course-col:hover {
  box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
}

@media (max-width: 700px) {
  .row {
    flex-direction: column;
  }
}

.kontakt-wrapper h1 {
  font-size: 1.5rem;
}

/* ========================================================================== */
/*  IMAGE COLLAGE */
/* ========================================================================== */

.image-collage {
  padding: 50px 20px;
  display: flex;
  justify-content: center;
}

.collage-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  max-width: 1200px;
  width: 100%;
}

.collage-grid img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.collage-grid img:hover {
  transform: scale(1.02);
}

/* ========================================================================== */
/*  CAMPUS */
/* ========================================================================== */

/* ----- Campus ------ */
.campus {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
}

.campus-col {
  flex-basis: 32%;
  border-radius: 10px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.campus-col img {
  width: 100%;
  display: block;
}

.layer {
  background: transparent;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.5s;
}

.layer:hover {
  background: rgba(226, 0, 0, 0.7);
}

.layer h3 {
  width: 100%;
  font-weight: 500;
  color: var(--color-white);
  font-size: 26px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  opacity: 0;
  transition: 0.5s;
}

.layer:hover h3 {
  bottom: 49%;
  opacity: 1;
}

/* ========================================================================== */
/*  FACILITIES */
/* ========================================================================== */

/* ---- Facilities ---- */
.facilities {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}

.facilities-col {
  flex-basis: 31%;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: left;
}

.facilities-col img {
  width: 100%;
  border-radius: 10px;
}

.facilities-col p {
  padding: 0;
}

.facilities-col h3 {
  margin-top: 16px;
  margin-right: 15px;
  text-align: left;
}

/* ========================================================================== */
/*  TESTIMONIALS */
/* ========================================================================== */

/* ---- Testimonials ---- */
.testimonial {
  width: 80%;
  margin: auto;
  padding-top: 100px;
  text-align: center;
}

.testimonial-col {
  flex-basis: 44%;
  border-radius: 10px;
  margin-bottom: 5%;
  text-align: left;
  background: var(--color-lightred);
  padding: 25px;
  cursor: pointer;
  display: flex;
}

.testimonial-col img {
  height: 40px;
  margin-left: 5px;
  margin-right: 30px;
  border-radius: 50%;
}

.testimonial-col p {
  padding: 0;
}

.testimonial-col h3 {
  margin-top: 15px;
  text-align: left;
}

.testimonial-col .bi {
  color: #f44336;
}

@media (max-width: 700px) {
  .testimonial-col img {
    margin-left: 0px;
    margin-right: 15px;
  }
}

/* ========================================================================== */
/*  CTA */
/* ========================================================================== */

/* ---- call to action ---- */
.cta {
  margin: 100px auto;
  width: 80%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(eduford_img/banner2.jpg);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  text-align: center;
  padding: 100px 0;
}

.cta h1 {
  color: var(--color-white);
  margin: 40px;
  padding: 0;
}

@media (max-width: 700px) {
  .cta h1 {
    font-size: 18px;
  }
}

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

/* ---- Footer ---- */
.footer {
  background-color: #f6f6f6;
  padding: 20px 20px;
  /* 👈 reduziert die Höhe des Footers */
  font-size: 16px;
  color: #222222;
  border-top: 3px solid #ddd;
  /* 👈 dickere Trennlinie */
  margin-top: 60px;
  /* 👈 Abstand zum vorherigen Content */
}

.footer a {
  color: #ff0000;
  text-decoration: none;
}

.footer-grid {
  max-width: 1000px;
  margin: 0 auto 10px auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-section h4 {
  font-weight: 700;
  margin-bottom: 10px;
}

.footer-section ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.footer-section ul li a {
  text-decoration: none;
  color: #444;
  display: block;
  margin-bottom: 6px;
  transition: color 0.2s;
}

.footer-section ul li a:hover {
  color: crimson;
}

.footer-section.social {
  text-align: right;
}

.icons {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  font-size: 22px;
}

.icons a {
  color: #444;
  transition: color 0.2s;
}

.icons a:hover {
  color: crimson;
}

.footer p {
  text-align: center;
  font-size: 12px;
  margin-top: 15px;
  color: #777;
}

/* ========================================================================== */
/*  CLUB SEITE */
/* ========================================================================== */

/* ----------- CLUB SEITE --------------- */
.sub-header {
  height: 70vh;
  width: 100%;
  background-image: linear-gradient(rgba(4, 9, 30, 0.7), rgba(4, 9, 30, 0.7)),
    var(--website-img);
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.sub-header h1 {
  margin-top: 100px;
  font-size: 6vw;
}

.about-us {
  padding-top: 1%;
}

/* .row existiert bereits oben; dieser Block bleibt bewusst erhalten */
.row {
  margin: 40px 5%;
  /* statt nur margin-top: 5% */
}

.about-us .row {
  margin-bottom: 50px;
  align-items: center;
  /* optional: vertikal zentrieren */
}

.about-col {
  flex-basis: 48%;
  padding: 30px 2px;
}

.about-col img {
  width: 100%;
}

.about-col h1 {
  padding-top: 0;
}

.about-col p {
  padding: 15px 0 25px;
}

.red-btn {
  border: 1px solid var(--color-red);
  background: transparent;
  color: var(--color-red);
}

.red-btn:hover {
  color: var(--color-white);
}

/* Für wechselnde Layouts (Bild links / rechts) */
.row.reverse {
  flex-direction: row-reverse;
}

/* Vorstand */
.vorstand {
  text-align: center;
  padding-top: 10px;
}

.vorstand-container {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  /* optional für kleine Screens */
  margin-top: 30px;
}

.vorstand-col {
  text-align: center;
  width: 300px;
  /* Breiter als das Bild */
  padding: 20px;
  background: #fff;
  border-radius: 20px;
  transition: 0.5s;
}

.vorstand-col:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.vorstand-col img {
  width: 100%;
  border-radius: 15px;
  margin-bottom: 10px;
}

.vorstand-col img {
  width: 250px;
  height: 350px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 10px;
}

.avatar {
  width: 100px;
  height: 100px;
  background-color: #ccc;
  color: #fff;
  font-size: 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: auto;
  font-family: "Poppins", sans-serif;
  background-image: linear-gradient(135deg, #666, #999);
}

.vergangene-praesidenten h2 {
  text-align: center;
  font-size: 28px;
  margin-top: 80px;
  margin-bottom: 30px;
  font-weight: 600;
}

@media (max-width: 700px) {
  .vorstand-container {
    flex-direction: column;
    align-items: center;
  }

  .vorstand-col {
    width: 90%;
    margin-bottom: 30px;
  }
}

@media (max-width: 700px) {
  nav img {
    width: 80px;
  }
}

/* ========================================================================== */
/*  CLUB / ABOUT – MOBILE TYPO & LAYOUT FIX */
/* ========================================================================== */

@media (max-width: 425px) {
  .about-us .row {
    margin: 24px 16px;
    /* statt 40px 5% -> sauberer Rand */
    gap: 18px;
    /* mehr Luft zwischen Text/Bild */
  }

  .about-us .about-col {
    padding: 0;
    /* verhindert unnötige Einrückungen */
  }

  .about-us h1 {
    font-size: 28px;
    /* 36px ist auf 320px zu groß */
    line-height: 1.1;
    overflow-wrap: anywhere;
    /* bricht lange Wörter/Komposita sauber */
    hyphens: auto;
  }

  .about-us p {
    padding: 10;
    /* dein globales p hat padding:10px; -> hier weg */
  }

  .about-us img {
    width: 100%;
    height: auto;
    display: block;
  }
}

/* Anfahrt */
.anfahrt {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.anfahrt-content {
  max-width: 800px;
  margin: 0 auto;
}

.anfahrt h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: #000;
}

.anfahrt p {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.6;
}

.anfahrt a {
  color: var(--color-red);
  font-weight: bold;
  text-decoration: none;
}

.anfahrt a:hover {
  text-decoration: underline;
}

.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
  margin-top: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ========================================================================== */
/*  MITGLIEDERLISTE */
/* ========================================================================== */

/* MITGLIEDERLISTE CSS */
.mitglied-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 40px 60px;
  margin: 40px auto;
  max-width: 1100px;
  text-align: center;
}

/* Name oben zentriert */
.mitglied-name {
  font-size: 24px;
  color: var(--color-red);
  font-weight: bold;
  margin-bottom: 30px;
}


/* Inhalt (links + rechts) nebeneinander */
.mitglied-inhalt {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
}

/* Linke Seite: Bild + Text */
.mitglied-bildblock {
  width: 300px;
  height: 320px;
  /* gleiche Höhe wie Galerie rechts */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mitglied-profil {
  width: 280px;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  display: cover;
}

.mitglied-seit {
  font-size: 14px;
  color: #444;
  margin-top: 10px;
}

/* Rechte Seite: Galerie */
.mitglied-details {
  flex: 1;
}

/* Galerie-Anzeige zentriert */
.auto-galerie {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.auto-wrapper {
  width: 500px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: visible;
  /* jetzt darf Text über Bild hinausgehen */
  border-radius: 12px;
}

/* Fixe Bühne für Auto-Bilder (verhindert Layout-Sprünge) */
.auto-image-container {
  position: relative;
  width: 100%;
  height: 320px;
  /* bleibt fix */
  overflow: hidden;
  border-radius: 12px;
  background: #00000010;
  /* optional: neutraler Hintergrund */
}

/* Auto-Bild: niemals verzerren, niemals abschneiden */
.auto-bild {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* wichtig */
  object-position: center;
  /* wichtig */
  position: absolute;
  inset: 0;
}

.auto-bild--cover {
  object-fit: cover;
}

/* Beschreibung erscheint immer darunter */
.auto-beschreibung {
  font-size: 15px;
  color: #555;
  font-style: italic;
  text-align: center;
  margin-top: 10px;
  min-height: 1.5em;
}

/* Animationen für Autoslides */
@keyframes slideOutLeft {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(-100%);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-100%);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.slide-out-left {
  animation: slideOutLeft 0.4s ease forwards;
}

.slide-in-right {
  animation: slideInRight 0.4s ease forwards;
}

.slide-out-right {
  animation: slideOutRight 0.4s ease forwards;
}

.slide-in-left {
  animation: slideInLeft 0.4s ease forwards;
}

/* Beschreibung immer sichtbar (DUPLIKAT bleibt erhalten) */
.auto-beschreibung {
  font-size: 15px;
  color: #555;
  font-style: italic;
  text-align: center;
  min-height: 1.5em;
  margin-top: 10px;
}

/* Galerie-Pfeile */
.auto-galerie button {
  background: var(--color-red);
  color: white;
  border: none;
  font-size: 22px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}

.auto-galerie button:hover {
  background: #a00;
}

/* Überschrift oben auf der Seite */
.mitgliederliste h2 {
  text-align: center;
  font-size: 32px;
  margin: 40px 0;
}

/* Mobile Ansicht */
@media (max-width: 768px) {
  .mitglied-inhalt {
    flex-direction: column;
    align-items: center;
  }

  .kontakt-wrapper h1 {
    font-size: 1.5rem;
  }

  .mitglied-bildblock {
    width: 100%;
    height: auto;
  }

  .mitglied-profil {
    height: auto;
    max-height: 280px;
    width: 80%;
  }

  .auto-wrapper {
    width: 100%;
  }

  .auto-bild {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000;
  }
}

@media (max-width: 768px) {
  .mitglied-profil {
    width: 160px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .mitglied-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
  }

  .mitglied-inhalt {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .mitglied-details {
    width: 100%;
    margin-top: 1rem;
  }

  .auto-wrapper {
    max-width: 90vw;
    margin: 0 auto;
  }

  .auto-bild {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 12px;
  }

  .mitglied-profil {
    width: 220px;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
  }

  .galerie-prev,
  .galerie-next {
    position: relative;
    margin: 1rem;
  }

  .auto-galerie {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .auto-beschreibung {
    font-size: 0.9rem;
    margin-top: 0.5rem;
  }
}

/* ========================================================================== */
/*  CLUB INFO / BUTTONS */
/* ========================================================================== */

/* ========================================================================== */
/*  CLUB INFO – SAUBERE CONTENT-CARD (FIX) */
/* ========================================================================== */

.club-info {
  padding: 56px 16px;
  background: #fff;
}

.club-info .container {
  width: min(900px, 92vw);
  max-width: none;
  /* killt 50vw */
  margin: 0 auto;
  padding: 28px 22px;
  text-align: center;

  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
}

.club-info p {
  padding: 0;
  /* überschreibt globales p-padding */
  margin: 0 auto 18px;
  max-width: 62ch;
  line-height: 1.65;
}

.club-info img.about-img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin: 18px auto 22px;
  border-radius: 12px;
}

.club-info .hero-btn2 {
  margin-top: 6px;
}

/* Mobile enger */
@media (max-width: 480px) {
  .club-info .container {
    padding: 22px 16px;
  }
}


.hero-btn2 {
  display: inline-block;
  text-decoration: none;
  color: var(--color-red);
  border: 1px solid var(--color-red);
  padding: 12px 34px;
  font-size: px;
  background: transparent;
  position: relative;
  cursor: pointer;
  transition: 0.25s;
}

.hero-btn2:hover {
  border: 1px solid #f44336;
  background: #f44336;
  color: var(--color-white);
  transition: 0.25s;
}

.red-btn2 {
  border: 1px solid var(--color-red);
  background: transparent;
  color: var(--color-red);
}

/* ========================================================================== */
/*  MITGLIEDSCHAFT – CARD LAYOUT */
/* ========================================================================== */

.mitgliedschaft {
  padding: 56px 16px;
  background: #fff;
}

.mitgliedschaft .container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

/* Page-Header */
.mitgliedschaft .section-title {
  text-align: center;
  margin: 0 0 10px;
}

.mitgliedschaft .section-subtitle {
  text-align: center;
  margin: 0 0 22px;
  padding: 0;
  /* überschreibt globales p-padding */
  color: rgba(0, 0, 0, .65);
}

/* Bilder als eigene “Cards” */
.mitgliedschaft-img {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 18px auto 26px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
}

/* Grid für die Text-Blöcke */
.mitgliedschaft-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 6px 0 22px;
}

/* Einzelne Card */
.mitgliedschaft-block {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
  padding: 18px 18px 16px;
  text-align: left;
}

/* Headings in Cards */
.mitgliedschaft-block h3,
.mitgliedschaft-block h4 {
  margin: 0 0 10px;
  padding: 0;
  text-align: left;
}

/* Text in Cards (globales p-padding raus) */
.mitgliedschaft-block p {
  padding: 0;
  /* überschreibt globales p-padding:10px */
  margin: 0 0 12px;
  line-height: 1.65;
  color: rgba(0, 0, 0, .8);
}

/* Listen sauber */
.leistungsliste {
  margin: 0;
  padding-left: 18px;
  line-height: 1.65;
}

.leistungsliste li {
  margin: 6px 0;
}

/* Kontakt-Links nicht “untergehen” lassen */
.mitgliedschaft-block a.text-rot {
  font-weight: 700;
}

/* Responsive: 1 Spalte */
@media (max-width: 900px) {
  .mitgliedschaft-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================= */
/*  MITGLIEDSCHAFT – CARD HOVER EFFECT */
/* ========================================================= */

.mitgliedschaft-block {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.mitgliedschaft-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 0, 0, 0.06);
  /* Club-Rot, subtil */
}

/* Optional: leichte Hervorhebung der Überschrift
.mitgliedschaft-block:hover h3,
.mitgliedschaft-block:hover h4 {
  color: var(--color-red);
} */

/* Mobile: kein Hover-Gehüpfe */
@media (max-width: 768px) {
  .mitgliedschaft-block:hover {
    transform: none;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.06);
  }
}


/* ========================================================================== */
/*  MITGLIEDER – SEITE */
/* ========================================================================== */

/* =========================
   MEMBERS – PRO CARD
   ========================= */

.members-page {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 56px 0;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

/* Card */
.member-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Header */
.member-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.member-profile__imgwrap {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(0, 0, 0, .06);
  flex: 0 0 auto;
  border: 1px solid rgba(0, 0, 0, .06);
}

.member-profile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.member-profile__placeholder {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .08);
}

.member-profile__meta {
  min-width: 0;
}

.member-name {
  margin: 0;
  padding: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-red);
}

.member-since {
  margin: 6px 0 0;
  padding: 0;
  font-size: 13px;
  color: rgba(0, 0, 0, .62);
}

/* Galerie: Bühne + Overlay-Controls */
.car-gallery {
  width: 100%;
}

.car-stage {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #fff;
}

.car-stage__imgwrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(0, 0, 0, .06);
  overflow: hidden;
}

.car-stage__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* professionell: keine Verzerrung, keine Cuts */
  object-position: center;
  display: block;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Overlay Buttons */
.car-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, .10);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.car-nav--prev {
  left: 12px;
}

.car-nav--next {
  right: 12px;
}

/* Counter Badge */
.car-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  margin: 0;
  padding: 6px 10px;
  font-size: 12px;
  color: rgba(0, 0, 0, .72);
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(0, 0, 0, .10);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
}

/* Caption */
.car-stage__title {
  margin: 0;
  padding: 10px 12px 12px;
  font-size: 13px;
  color: rgba(0, 0, 0, .65);
  text-align: center;
  line-height: 1.35;
  border-top: 1px solid rgba(0, 0, 0, .06);
  min-height: 2.7em;
}

/* Mobile */
@media (max-width: 900px) {
  .members-grid {
    grid-template-columns: 1fr;
  }
}


.car-stage__counter {
  margin: 0;
  padding: 0 0 12px;
  font-size: 12px;
  color: #777;
  text-align: center;
}

.car-stage__counter--single {
  opacity: 0.7;
}

/* Leerzustand */
.member-empty {
  margin: 0;
  padding: 14px 12px;
  text-align: center;
  color: #666;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 14px;
  border: 1px dashed rgba(0, 0, 0, 0.14);
}

/* Tablet/kleiner: weiterhin 2, aber kompakter */
@media (max-width: 900px) {
  .members-page {
    width: min(980px, 92vw);
  }
}

/* Mobil: 1 Karte pro Reihe */
@media (max-width: 640px) {
  .members-grid {
    grid-template-columns: 1fr;
  }

  .members-page {
    padding: 30px 0;
  }
}

/* Profilbereich auf sehr klein sauber stapeln */
@media (max-width: 520px) {
  .member-profile {
    grid-template-columns: 72px 1fr;
  }
}

.member-profile__placeholder {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 16px;
}

@media (max-width: 420px) {
  .car-gallery {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
  }

  .car-gallery__btn {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .car-gallery__btn--prev {
    order: 2;
  }

  .car-stage {
    order: 1;
    width: 100%;
  }

  .car-gallery__btn--next {
    order: 3;
  }
}

/* ========================================================================== */
/*  MITGLIEDER – SEITE */
/* ========================================================================== */

.members-page {
  width: min(1200px, 92vw);
  margin: 0 auto;
  padding: 56px 0;
}

/* Grid */
.members-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

/* -------------------------------------------------------------------------- */
/*  CARD */
/* -------------------------------------------------------------------------- */

.member-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* -------------------------------------------------------------------------- */
/*  HEADER – MITGLIED IM FOKUS */
/* -------------------------------------------------------------------------- */

.member-profile {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.member-profile__imgwrap {
  width: 92px;
  height: 92px;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  flex: 0 0 auto;
}

.member-profile__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.member-profile__placeholder {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 18px;
}

.member-name {
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--color-red);
}

.member-since {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.6);
}

/* -------------------------------------------------------------------------- */
/*  AUTO-GALERIE – SEKUNDÄR */
/* -------------------------------------------------------------------------- */

.car-gallery {
  width: 100%;
}

/* Bühne */
.car-stage {
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(0, 0, 0, 0.02);
  overflow: hidden;
}

/* bewusst niedriger als 16:9 → Preview-Charakter */
.car-stage__imgwrap {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  background: rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.car-stage__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

/* Navigation – bewusst zurückhaltend */
.car-gallery__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.car-gallery__btn--prev {
  left: 10px;
}

.car-gallery__btn--next {
  right: 10px;
}

/* Meta-Zeile */
.car-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 10px 12px 12px;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.car-title {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.65);
  line-height: 1.3;
  margin: 0;
}

.car-count {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  margin: 0;
}

/* Leerzustand */
.member-empty {
  margin: 0;
  padding: 14px 12px;
  text-align: center;
  color: #666;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 14px;
  border: 1px dashed rgba(0, 0, 0, 0.14);
}

/* -------------------------------------------------------------------------- */
/*  RESPONSIVE */
/* -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .members-grid {
    grid-template-columns: 1fr;
  }

  .members-page {
    width: min(980px, 92vw);
  }
}

@media (max-width: 520px) {
  .member-profile {
    grid-template-columns: 76px 1fr;
  }

  .member-profile__imgwrap {
    width: 76px;
    height: 76px;
    border-radius: 16px;
  }

  .member-name {
    font-size: 20px;
  }
}


/* ========================================================= */
/*  AUTO-GALERIE – SLIDE ANIMATION */
/* ========================================================= */

.car-stage__imgwrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.car-stage__img {
  width: 100%;
  height: 100%;
  object-fit: var(--img-car-cover);
  /* entscheidend */
  object-position: center;
}

.car-stage__img {
  transition: transform 0.5s ease, opacity 0.5s ease;
}

/* rausfliegen */
.car-stage__img.is-exit-left {
  transform: translateX(-20%);
  opacity: 0;
}

.car-stage__img.is-exit-right {
  transform: translateX(20%);
  opacity: 0;
}

/* reinfliegen */
.car-stage__img.is-enter-left {
  transform: translateX(-20%);
  opacity: 0;
}

.car-stage__img.is-enter-right {
  transform: translateX(20%);
  opacity: 0;
}

/* Zielzustand */
.car-stage__img.is-active {
  transform: translateX(0);
  opacity: 1;
}



/* ========================================================================== */
/*  IMAGE SLIDER / A500 */
/* ========================================================================== */
.image-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 60vw;
  margin: 0 auto;
  overflow: visible;
  margin-top: 280px;
  margin-bottom: 360px;
}

.image-slider {
  position: relative;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-img {
  position: absolute;
  max-width: 100%;
  min-width: 550px;
  /* max-height: 600px; */
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.slider-img.active {
  opacity: 1;
  z-index: 1;
  transform: translateX(0);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #c40000;
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
}

.slider-arrow.prev {
  left: -70px;
}

.slider-arrow.next {
  right: -70px;
}

.a500-info {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
  font-size: 1.2rem;
}

.a500-slider-section {
  margin-bottom: 80px;
  /* Abstand unter dem Slider */
}

.a500-container {
  max-width: 900px;
  margin: 0 auto;
}

.subtitle {
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 30px;
}

.a500-box {
  background-color: #fafafa;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 8px;
  text-align: left;
  font-size: 1.2rem;
  line-height: 1.6;
}

* p {
  font-size: 1rem;
}

.a500-box ul {
  list-style: none;
  padding-left: 0;
}

.a500-box li {
  margin-bottom: 10px;
}

.highlight-red {
  color: #c40000;
  font-weight: bold;
}

.highlight-yellow {
  color: #fbbc04;
  font-size: 1.8rem;
  margin-top: 40px;
  margin-bottom: 20px;
}

.highlight-blue {
  color: #0045cc;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

/* ========================================================================== */
/*  LINK BOXES */
/* ========================================================================== */

.link-box-wrapper {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 40px auto;
}

.link-box {
  width: 280px;
  /* MAX 280px */
  max-width: 100%;
  aspect-ratio: 320 / 226;
  /* Bildverhältnis beibehalten */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
  background: #000;
  /* optional */
  transition: transform 0.3s ease;
}

.link-box:hover {
  transform: scale(1.03);
}

.link-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /* KEIN Cropping */
  display: block;
}

.link-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 28px;
  font-weight: bold;
  color: white;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
  font-family: "Poppins", sans-serif;
}

.red-link {
  color: red;
  text-decoration: none;
}

.red-link:hover {
  text-decoration: underline;
}

/* DUPLIKAT: red-link später (bleibt erhalten) */
.red-link {
  color: #c40000;
  text-decoration: underline;
}

/* ========================================================================== */
/*  FAQ */
/* ========================================================================== */

/* DUPLIKATE/mehrere Definitionen bleiben erhalten */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* immer 2 Spalten */
  gap: 30px;
  padding-top: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.a500-box {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 25px auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.a500-box:hover {
  transform: translateY(-3px);
}

.a500-box h3 {
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 1.1em;
}

.a500-box p {
  font-size: 1em;
  line-height: 1.6;
}

/* RESPONSIVE: Für kleinere Bildschirme (unter 768px) */
@media (max-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr;
    /* nur 1 Spalte */
  }

  .a500-box h3 {
    font-size: 1em;
  }

  .a500-box p {
    font-size: 0.95em;
  }
}

/* DUPLIKAT: faq-grid (bleibt erhalten) */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  /* Abstand zwischen den Boxen – horizontal UND vertikal */
  max-width: 1600px;
  margin: 0 auto;
  padding-top: 40px;
  gap: 80px 30px;
  /* vertikal 60px, horizontal 30px */
}

.faq-box {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* Inhalt oben lassen */
  background: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  min-height: 100%;
  /* damit Flex-Grid es voll ausdehnt */
}

.faq-box:hover {
  transform: translateY(-3px);
}

.faq-box h3 {
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 1.2em;
}

.faq-box p {
  font-size: 1em;
  line-height: 1.6;
  text-align: justify;
  text-align-last: left;
  /* optional statt zentriert für gleichmäßige Ausrichtung */
}

@media (max-width: 900px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================================================== */
/*  CLUB TITLE (SCROLL) */
/* ========================================================================== */

.club-title {
  display: none;
  /* Standard: nicht sichtbar */
  color: white;
  font-weight: bold;
  font-size: 1rem;
  text-transform: uppercase;
  padding-left: 1.6vw;
}

.header.scrolled .club-title {
  display: block;
}

/* ========================================================================== */
/*  DROPDOWN (ZWEITER GRUNDBLOCK – bleibt erhalten) */
/* ========================================================================== */

/* --- Grund-Layout für Dropdown --- */
.nav-links ul li {
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.nav-brand img {
  width: 150px;
  height: auto;
}

.nav-brand p {
  margin: 0;
  color: white;
}

.nav-links ul li ul.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-red);
  border-radius: 0 0 5px 5px;
  min-width: 160px;
  z-index: 999;
  padding: 0;
  display: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* --- Styling für Einträge im Dropdown --- */
.nav-links ul li ul.dropdown-menu li {
  display: block;
  padding: 8px 12px;
  text-align: left;
}

.nav-links ul li ul.dropdown-menu li a {
  font-size: 12px;
  font-weight: normal;
  color: var(--color-white);
  text-decoration: none;
  display: block;
  padding: 8px 0;
  transition: 0.2s;
}

.nav-links ul li ul.dropdown-menu li a:hover {
  color: var(--color-lightred);
}

.nav-links ul li ul.dropdown-menu li a i {
  margin-right: 8px;
  font-size: 16px;
  vertical-align: middle;
}

/* ========================================================================== */
/*  TERMINKALENDER */
/* ========================================================================== */

section.terminkalender {
  padding: 2rem;
  background: #fff;
  border-radius: 10px;
  max-width: 900px;
  margin: auto;
  font-family: Arial, sans-serif;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.terminkalender h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.terminkalender .subtitle {
  font-size: 1rem;
  text-align: center;
  color: #000000;
  margin-bottom: 1.5rem;
}

.terminkalender .clubhinweis {
  background: #ffde00;
  padding: 1rem;
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  border-left: 5px solid red;
  text-align: center;
}

.terminkalender .monat {
  margin-bottom: 2rem;
}

.terminkalender .monat h3 {
  background: #c00;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* FIX: stabile Liste statt „versetztem“ Flex-Wrap */
.terminkalender .event {
  display: grid;
  grid-template-columns: 150px 32px 188px 1fr;
  /* datum | flagge | ort | beschreibung */
  column-gap: 1rem;
  row-gap: 0.25rem;
  align-items: start;

  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.terminkalender .event .datum {
  min-width: 0;
  text-align: left;
  font-weight: bold;
  color: #333;
}

.terminkalender .event img {
  width: 24px;
  height: auto;
  margin-top: 0px;
  transform: translateY(2px);
  /* optische Ausrichtung zur Textbaseline */
}

.terminkalender .event .ort {
  min-width: 0;
  font-weight: 500;
}

.terminkalender .event .beschreibung {
  min-width: 0;
  font-size: 1rem;
  color: #000000;
}

/* Mobile: sauber untereinander */
@media (max-width: 700px) {
  .terminkalender .event {
    grid-template-columns: 1fr;
    row-gap: 0.35rem;
  }

  .terminkalender .event img {
    width: 22px;
  }
}

/* ========================================================================== */
/*  UTILITIES */
/* ========================================================================== */

.text-rot {
  color: var(--color-red);
  text-decoration: none;
}

.text-grau {
  color: rgb(100, 100, 100);
  text-decoration: none;
  font-size: 0.8rem;
}

.bild-rechtsbuendig {
  display: block;
  margin-left: auto;
  max-width: 50%;
  height: auto;
}

/* ========================================================================== */
/*  VIDEO WRAPPER */
/* ========================================================================== */

.video-wrapper {
  width: 80%;
  max-width: 1280px;
  /* Optional: begrenzt die maximale Breite */
  aspect-ratio: 16 / 9;
  /* Hält das Video-Verhältnis */
  margin: 0 auto;
  /* Zentriert die Box horizontal */
  position: relative;
}

.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ========================================================================== */
/*  FLYER GRID */
/* ========================================================================== */

.flyer-grid-section {
  padding: 40px 20px;
  background-color: #ffffff;
  text-align: center;
}

.flyer-title {
  font-size: 2rem;
  margin-bottom: 30px;
}

.flyer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-items: center;
}

.flyer-grid img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.flyer-grid img:hover {
  transform: scale(1.03);
}

/* ========================================================================== */
/*  SPONSOREN – CLEAN CARDS + GRID */
/* ========================================================================== */

.sponsors-page {
  padding: 56px 16px;
  background: #fff;
}

.sponsors-intro {
  width: min(1100px, 92vw);
  margin: 0 auto 26px;
}

.sponsors-title {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  line-height: 1.15;
}

.sponsors-lead {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
  padding: 18px 18px 16px;
}

.sponsors-lead p {
  padding: 0;
  /* überschreibt globales p-padding */
  margin: 0 0 10px;
  line-height: 1.65;
  color: rgba(0, 0, 0, .78);
}

.sponsors-thanks {
  margin: 0;
  color: rgba(0, 0, 0, .62);
}

.sponsors-section {
  width: min(1100px, 92vw);
  margin: 0 auto 34px;
}

.sponsors-heading {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-red);
}

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

.sponsor-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
  overflow: hidden;
  padding: 16px;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;

  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.sponsor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .14);
  border-color: rgba(204, 0, 0, .35);
}

.sponsor-logo {
  width: 86px;
  height: 86px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, .06);
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.sponsor-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.sponsor-body h3 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.sponsor-body p {
  margin: 0;
  padding: 0;
  /* überschreibt globales p-padding */
  font-size: 13px;
  line-height: 1.55;
  color: rgba(0, 0, 0, .78);
}

/* Cards ohne Text (nur Bild) */
.sponsor-card--imageOnly {
  grid-template-columns: 1fr;
  padding: 0;
}

.sponsor-card--imageOnly .sponsor-logo {
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: 16px;
}

.sponsor-logo--tall {
  height: 260px;
}

.sponsor-card--imageOnly .sponsor-logo img {
  object-fit: contain;
}

/* Alle Sponsoren – große Grafik als eigene Card */
.sponsors-all {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
  overflow: hidden;
}

.sponsors-all img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive */
@media (max-width: 980px) {
  .sponsors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .sponsors-grid {
    grid-template-columns: 1fr;
  }

  .sponsor-card:hover {
    transform: none;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
    border-color: rgba(0, 0, 0, .06);
  }
}


/* ========================================================================== */
/*  CLUBS UND FREUNDE */
/* ========================================================================== */

.clubs-und-freunde {
  max-width: 80%;
  margin: 0 auto;
  padding: 2rem;
  font-family: Arial, sans-serif;
}

.clubs-und-freunde h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #222;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.5rem;
}

.flaggen-liste {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  justify-items: center;
}

.flaggen-eintrag {
  display: flex;
  align-items: center;
  gap: 12px;

  width: 100%;
  max-width: 240px;
  padding: 12px 16px;

  text-decoration: none;
  color: #222;
  font-size: 1rem;

  border-radius: 10px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.flaggen-eintrag img {
  width: 30px;
  height: auto;
  flex-shrink: 0;
}

.flaggen-eintrag span {
  line-height: 1.2;
}

.flaggen-eintrag:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
}

/* DUPLIKAT: flaggen-eintrag img (bleibt erhalten) */
.flaggen-eintrag img {
  width: 30px;
  height: auto;
}

/* ========================================================================== */
/*  PARTNER GRID */
/* ========================================================================== */

.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.partner-box {
  background: #ffffff;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-box:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.partner-box img {
  max-width: 100%;
  height: auto;
  margin-bottom: 0.75rem;
}

.partner-box p {
  font-size: 0.95rem;
  color: #333;
  margin: 0;
}

/* ========================================================================== */
/*  CLUB LIST */
/* ========================================================================== */

.clubList {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
}

.clubItem {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 2px solid #eee;
  padding-bottom: 1rem;
}

.clubLogo {
  width: 300px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.clubLogo img {
  max-width: 100%;
  max-height: 250px;
  object-fit: contain;
}

.clubName {
  font-size: 1rem;
  font-weight: bold;
  color: #a00;
  line-height: 1.4;
}

/* ========================================================================== */
/*  FORUM */
/* ========================================================================== */

.forum-section {
  background-color: #ffffff;
  padding: 4rem 2rem;
}

.forum-wrapper {
  max-width: 900px;
  margin: 0 auto;
  text-align: justify;
  font-size: 1rem;
  line-height: 1.8;
  color: #222;
}

.forum-wrapper h1 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #111;
}

.forum-logo {
  display: block;
  max-width: 300px;
  margin: 0 auto 2rem auto;
}

/* ========================================================================== */
/*  KONTAKT */
/* ========================================================================== */

.kontakt-section {
  background-color: #ffffff;
  padding: 4rem 2rem;
  font-family: sans-serif;
}

.kontakt-wrapper {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  color: #222;
}

.kontakt-wrapper h1 {
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
  color: #000;
}

.kontakt-wrapper h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  color: #222;
}

.kontakt-wrapper h3 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
  color: #444;
}

.kontakt-logo {
  display: block;
  max-width: 300px;
  margin: 0 auto 2rem auto;
}

.mail-link {
  color: #cc0000;
  font-weight: bold;
  text-decoration: none;
}

.mail-link:hover {
  text-decoration: underline;
}

/* ========================================================================== */
/*  IMPRESSUM */
/* ========================================================================== */

.impressum-section {
  background-color: #ffffff;
  padding: 4rem 2rem;
  font-family: sans-serif;
}

.impressum-wrapper {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  color: #222;
}

.impressum-wrapper h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: left;
  color: #000;
}

.impressum-wrapper h2 {
  font-size: 1.6rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: #222;
}

.impressum-wrapper h3 {
  font-size: 1.2rem;
  margin-top: 2rem;
  color: #444;
}

.impressum-wrapper p {
  margin-bottom: 1rem;
}

/* ========================================================================== */
/*  GALERIE – FLYER CARDS (FINAL, CLEAN, EINZIGE CARD) */
/* ========================================================================== */

.flyer-grid {
  width: min(1100px, 92vw);
  margin: 24px auto 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

/* =========================
   CARD (EINZIGE KARTENEBENE)
   ========================= */

.flyer-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  will-change: transform;
}

/* Hover-Zustand nur am Wrapper */
.flyer-card:hover,
.flyer-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .14);
  border-color: rgba(204, 0, 0, .35);
  outline: none;
}

/* =========================
   BILD (KEINE EXTRA-CARD)
   ========================= */

/* Bild-Bereich darf nichts Eigenes “hovern” oder abstehen */
.flyer-card__media {
  flex: 0 0 auto;
}

.flyer-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  vertical-align: middle;
  /* killt inline-img baseline gaps */
  pointer-events: none;
  /* Hover immer auf Card, nicht auf img */
}

/* Titel-Bereich immer am Card-Boden */
.flyer-card__title {
  margin-top: auto;
}

/* killt dein globales p { padding:10px } */
.flyer-card__title {
  padding: 12px 14px 14px;
}

.flyer-card {
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}


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

@media (max-width: 980px) {
  .flyer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .flyer-grid {
    grid-template-columns: 1fr;
  }

  /* Mobile: kein Hover-Gehüpfe */
  .flyer-card:hover {
    transform: none;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
    border-color: rgba(0, 0, 0, .06);
  }
}


/* ========================================================================== */
/*  GALERIE – TEXT & TYPO */
/* ========================================================================== */

.gallery-intro {
  width: min(1100px, 92vw);
  margin: 40px auto 24px;
}

.gallery-title {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  line-height: 1.15;
}

.gallery-section {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-red);
}

.gallery-text {
  padding: 0;
  /* killt globales p-padding */
  margin: 0 0 26px;
  max-width: 60ch;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(0, 0, 0, .7);
}

.gallery-text span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: rgba(0, 0, 0, .5);
}

/* Mobile */
@media (max-width: 480px) {
  .gallery-intro {
    margin-top: 24px;
  }

  .gallery-section {
    font-size: 16px;
  }
}

/* ========================================================================== */
/*  LINKS – FLAGGEN + PARTNER CARDS */
/* ========================================================================== */

.links-page {
  padding: 56px 16px;
  background: #fff;
}

/* Intro */
.links-intro {
  width: min(1100px, 92vw);
  margin: 0 auto 30px;
}

.links-title {
  margin: 0 0 16px;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 800;
  line-height: 1.15;
}

/* Flaggen */
.flaggen-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.flaggen-card {
  display: flex;
  align-items: center;
  gap: 12px;

  text-decoration: none;
  color: inherit;

  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
  padding: 12px 14px;

  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.flaggen-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .14);
  border-color: rgba(204, 0, 0, .35);
}

.flaggen-card img {
  width: 40px;
  height: 28px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, .08);
  display: block;
}

.flaggen-card span {
  font-weight: 800;
  line-height: 1.2;
}

/* Sektionen */
.links-section {
  width: min(1100px, 92vw);
  margin: 0 auto 34px;
}

.links-heading {
  margin: 0 0 14px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--color-red);
}

/* Partner/Links Grid */
.links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* SponsorBox nur auf der Links-Seite als Card stylen */
.links-page .SponsorBox {
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
  overflow: hidden;

  padding: 16px;
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 14px;

  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.links-page .SponsorBox:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .14);
  border-color: rgba(204, 0, 0, .35);
}

.links-page .SponsorBox img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  display: block;

  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, .06);
  padding: 6px;
}

.links-page .SponsorBox>div {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(0, 0, 0, .78);
}

.links-page .SponsorBox strong {
  font-size: 14px;
}

/* killt globales p-padding in diesen Cards (falls irgendwo p drin ist) */
.links-page .SponsorBox p {
  padding: 0;
  margin: 0;
}

/* Responsive */
@media (max-width: 980px) {
  .flaggen-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {

  .flaggen-grid,
  .links-grid {
    grid-template-columns: 1fr;
  }

  .flaggen-card:hover,
  .links-page .SponsorBox:hover {
    transform: none;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
    border-color: rgba(0, 0, 0, .06);
  }
}