* {
  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: #F9F4F1;
}

/* === 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: 3.5rem; /* Platz für fixe Navigation */
  width: 100%;
  height: 1000px;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* === GRUPPENFOTO === */
.gruppenfoto {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 3rem 0;
}

.gruppenfoto img {
  max-width: 900px;       /* maximale Breite */
  width: 90%;             /* responsive Breite */
  border-radius: 1rem;    /* weiche Ecken */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* dezenter Schatten */
  object-fit: cover;
}

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

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

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

.section.gray {
  background: #f0ece7;  
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: left;
}

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


.btn {
  display: block;
  background: #F9F4F1;          /* helles Innenleben */
  color: #b22222;               /* roter Text */
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  text-decoration: none;
  text-align: center;  /* Text im Button zentrieren */
  transition: background 0.3s ease, color 0.3s ease;
  border: 2px solid #b22222;    /* roter Rand */
  margin: 0 auto;      /* horizontal zentrieren */
  margin-top: 2rem;   /* Abstand nach oben */
  width: fit-content;  /* verhindert, dass der Button 100% breit wird */
}

.btn:hover {
  background: #f0ece7;          /* Hover-Effekt */
  color: #8b1a1a;               /* leicht dunkler Rotton */
}

/* === GRID FOR CANDIDATES === */
.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);
  overflow: hidden;
  text-align: center;
  padding: 1rem;
}

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

.card h3 {
  margin: 1rem 0 0.5rem;
}

.card-text {
  padding: 1rem 1.2rem; /* oben/unten – links/rechts */
}


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

.socials a {
  color: #DA2A2A; /*#CB5253;/* #007a4d;*/
  text-decoration: none;
  font-weight: 600;
}

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

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

/* === RESPONSIVE === */
@media (max-width: 700px) {
  .nav-links {
    display: none; /* einfache Version ohne mobile Menü */
  }
  h1 {
    font-size: 2rem;
  }
  .section {
    padding: 3rem 1rem;
  }
  .banner {
    height: 250px;
  }
}

.textBreaker {
  width: 100%;
  display: flex;
  justify-content: center;   /* zentriert das Bild */
  margin: 2rem 0;            /* Abstand oben/unten */
}

.textBreaker img {
  width: 100%;
  max-width: 500px;           /*→ hier Bildgröße ändern */
  height: auto;              /* verhindert Verzerrungen */
  border-radius: 0.5rem;      /*optional: abgerundete Ecken */
}

.textBreaker--alt img {
  max-width: 500px;        /* größeres Bild */
  border-radius: 0.5rem;   /*  abgerundete Seiten */
}

