/* =========================
   RESET & BASIS
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f2f4f7;
  color: #1c1c1c;
  line-height: 1.6;
}

/* =========================
   CONTAINER
========================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   HEADER
========================= */
.header {
  background: linear-gradient(90deg, #0e141a 0%, #1c2530 70%, #f0b323 140%);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 70px;
}

.nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
}

.nav a:hover {
  color: #f0b323;
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  height: 70vh;
  background-image: url("../img/hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(14,20,26,0.85) 0%,
    rgba(14,20,26,0.55) 50%,
    rgba(240,179,35,0.25) 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.hero-text h1 {
  font-size: 46px;
  color: #ffffff;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 18px;
  color: #e0e0e0;
  margin-bottom: 25px;
}

.hero-logo img {
  width: 170px;
position: absolute;
  bottom: 280px;
  right: 10px;
}

/* Instagram Button */
.insta-btn {
  position: absolute;
  bottom: 20px;
  right: 60px;
  background: #f0b323;
  color: #111;
  padding: 10px 16px;
  border-radius: 20px;
  font-weight: bold;
  text-decoration: none;
  z-index: 3;
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-block;
  background: #f0b323;
  padding: 14px 26px;
  border-radius: 8px;
  color: #111;
  text-decoration: none;
  font-weight: bold;
}

.btn:hover {
  background: #d9a31f;
}

.btn.dark {
  background: #111;
  color: #ffffff;
}

.btn.dark:hover {
  background: #000000;
}

.btn-small {
  padding: 10px 16px;
  font-size: 14px;
}

/* =========================
   SECTIONS
========================= */
.section {
  padding: 80px 0;
}

.section.dark {
  background: #1c2530;
  color: #ffffff;
}

.section.xyz {
  background: #1c2000;
  color: #bbbbbb;
}

.section.highlight {
  background: linear-gradient(135deg, #f0b323 0%, #ffd56a 100%);
  color: #111;
}

.section h2 {
  margin-bottom: 30px;
  font-size: 30px;
}

/* =========================
   HINTERGRUNDVARIANTEN
========================= */
.soft-gradient {
  background: linear-gradient(135deg, #eef4f9 0%, #fff6d5 100%);
}

.soft-bg {
  background: #f3f6f9;
}

/* =========================
   LAYOUTS
========================= */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.two-col img {
  width: 100%;
  border-radius: 12px;
}

.cards {
  display: grid;
  gap: 24px;
}

.card {
  background: #2a3440;
  padding: 24px;
  border-radius: 12px;
  color: #ffffff;
}

.card.light {
  background: #ffffff;
  color: #111;
}

.card .icon {
  font-size: 36px;
  margin-bottom: 12px;
}

/* =========================
   NEWS
========================= */
.center {
  text-align: center;
  margin-top: 30px;
}

/* =========================
   TEAM
========================= */
.team-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.team-member {
  background: #ffffff;
  padding: 16px;
  border-radius: 12px;
  text-align: center;
}

.team-member img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
}

/* =========================
   FOOTER
========================= */
.footer {
  background: #0e141a;
  color: #aaa;
  padding: 30px 0;
  text-align: center;
}

.footer a {
  color: #aaa;
  text-decoration: none;
}

.footer a:hover {
  color: #ffffff;
}

/* =========================
   RESPONSIVE – DESKTOP
========================= */
@media (min-width: 768px) {

  .two-col {
    grid-template-columns: 1fr 1fr;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-text h1 {
    font-size: 52px;
  }
.section.team-gradient {
  background: linear-gradient(
    90deg,
    #f0b323 0%,
    #ffd56a 30%,
    #1c2530 100%
  );
  color: #111;
}
/* =========================
   IMAGE SLIDER – UNSER VEREIN
========================= */

.slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 400px; /* Höhe anpassen */
  overflow: hidden;
}

.slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 2.0s ease-in-out;
}

.slider img.active {
  opacity: 1;
}
.slider img {
  transition: opacity 1s ease-in-out;
}

/* Wrapper für Slider + statisches Foto */
.slider-text-wrapper {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap; /* für mobile Ansicht */
}

.slider {
  flex: 3;
  position: relative;
  height: 400px;
  overflow: hidden;
}

.slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slider img.active {
  opacity: 1;
}

.static-photo {
  flex: 1;
  height: 400px;
}

.static-photo img {
  width: 30%;
  height: 80%;
  object-fit: cover;
  border-radius: 12px;
}



}
