/* === RESET & BASICS === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Open Sans", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #F8F7F2;
}

/* === NAVIGATION === */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: auto;
  padding: 0.75rem 1rem;
}

.logo {
  font-weight: bold;
  color: #CB5253;
  text-decoration: none;
  font-size: 1.1rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #CB5253;
}

/* === BANNER === */
.banner {
  margin-top: 4rem; /* Platz für fixe Navigation */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-logo {
  width: 80%;
  display: flex;
  justify-content: center;
}

.banner-logo img {
  max-width: 50%;
  height: auto;
  display: block;
}

/* === HERO === */
.hero {
  background: url("images/header.jpg") center / cover no-repeat;
  height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero .overlay {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem;
  border-radius: 1rem;
  max-width: 1200px;
}

/* === TYPO === */
h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  margin: 1.5rem 0 0.5rem;
}

/* === SECTIONS === */
.section {
  padding: 5rem 2rem;
  max-width: 1400px;
  margin: auto;
}

.section.gray {
  background: #f0ece7;
}

.section p {
  margin-bottom: 1.5rem;
}

/* === BUTTON === */
.btn {
  display: inline-block;
  background: #F9F4F1;
  color: #b22222;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  text-decoration: none;
  border: 2px solid #b22222;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover {
  background: #f0ece7;
  color: #8b1a1a;
}

/* === TEXT + IMAGE === */
.text-image {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.text-image .text {
  flex: 2;
}

.text-image img {
  max-width: 350px;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

/* === TEXT BREAKER === */
.textBreaker {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.textBreaker img {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

/* === GRUPPENFOTO === */
.gruppenfoto {
  display: flex;
  justify-content: center;
  margin: 3rem 0;
}

.gruppenfoto img {
  max-width: 900px;
  width: 90%;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* === GRID / CARDS === */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  text-align: center;
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 0.5rem;
}

/* === SLIDER === */
.plakat-slider {
  width: 100%;
  max-width: 1750px;
  height: 500px;
  margin: 2rem auto;
  overflow: hidden;
}

.plakat-track {
  display: flex;
  width: max-content;
  animation: plakatScroll 40s linear infinite;
}

.plakat-track img {
  height: 500px;
  width: auto;
  object-fit: cover;
}

@keyframes plakatScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* === FOOTER === */
footer {
  background: #333;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.socials a {
  color: #DA2A2A;
  text-decoration: none;
  font-weight: 600;
}

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

/* === RESPONSIVE === */
@media (max-width: 800px) {

  .nav-links {
    display: none;
  }

  h1 {
    font-size: 2rem;
  }

  .section {
    padding: 3rem 1rem;
  }

  .banner-logo img {
    max-width: 80%;
  }

  .text-image {
    flex-direction: column;
  }

  .hero {
    height: 40vh;
  }
}

