/* Container für das Logo, der 20% der Viewport-Höhe einnimmt */
.logo-wrapper {
  height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* verhindert, dass übergroße Breiten außerhalb des Containers sichtbar werden */
}

/* Logo skaliert sich in der Höhe und behält sein Seitenverhältnis */
.logo {
  height: 100%;   /* nimmt die volle Höhe des Wrappers (20vh) ein */
  width: auto;    /* Breite wird automatisch anhand des natürlichen Seitenverhältnisses berechnet */
  object-fit: contain; /* optional: stellt sicher, dass das ganze Bild sichtbar bleibt */
}


/* Grundreset und Box-Sizing */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #ffffff;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Container zur Zentrierung */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  text-align: center;
  padding: 10px 0;
}

.logo {
  width: 50%;
  max-width: 100%;
  margin: 0 auto 0;
}

/* Karten-Layout */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 10px;
}

.card {
  background: linear-gradient(135deg, #1d2671, #3c4c6e);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  width: 600px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

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

.card-content {
  padding: 20px;
}

.card-content h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.card-content p {
  font-size: 1rem;
  color: #e0e0e0;
  margin-bottom: 20px;
}

.card-content a {
  display: inline-block;
  background: #ffffff;
  color: #1d2671;
  padding: 10px 20px;
  border-radius: 4px;
  transition: background 0.3s ease;
  font-weight: 700;
}

.card-content a:hover {
  background: #e0e0e0;
}

.pdf-link {
  background: #1d2671;
  color: #fff;
  margin-top: 10px;
}

.pdf-link:hover {
  background: #3c4c6e;
}

.small-text {
  font-size: 0.9rem;
  color: #e0e0e0;
}

/* Responsivität */
@media (max-width: 768px) {
  .cards {
    flex-direction: column;
    align-items: center;
  }
  .card {
    width: 90%;
  }
}

/* Impressum-Box */
.impressum-box {
  background: orange;
  color: #333;
  padding: 20px;
  margin: 40px auto;
  width: 1230px;
  border: 1px solid #ccc;
  border-radius: 8px;
  text-align: center;
  font-size: 0.9rem;
}

@media (max-width: 1280px) {
  .impressum-box {
    width: 90%;
  }
}
