:root {
  --card: #ffffff;
  --prim: #1766c0;
  /* #3584A7 */
  --muted: #5a5a5a;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  --radius: 18px;
}

.card {
  max-width: 1000px;
  margin: 0rem auto;
  background: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: start;
  padding: 0 1rem;
}

.card img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  max-width: 24rem;
}

.card h2 {
  margin-top: 0;
  color: var(--prim);
}

@font-face {
  font-family: "schrift";
  src: url("../fonts/Teachers-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

body {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  color: #555;
  background-image: url("../bg2.jpeg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

h2 {
  color: var(--prim);
}

strong {
  font-weight: bold;
  color: var(--prim);
}

.header {
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  /* nutzt die neue, korrekte Einheit */
  /* wird von modernen Browsern überschrieben */
  color: white;
  font-family: sans-serif;
  font-style: normal;
  font-weight: normal;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gradient {
  position: absolute;
  height: 100%;
  width: 100%;
  opacity: 0.85 !important;
  /* background-image: linear-gradient(-225deg, #473B7B 0%, #3584A7 51%, #30D2BE 100%); */
}

.title {
  position: absolute;
  text-align: center;
}

.title h1 {
  font-size: 2em;
  font-weight: heavy;
  margin: 0.4em 0;
}

.title p {
  margin: 0.2em 0;
  font-size: 1em;
}

.scroll-indicator {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5rem;
  color: white;
  animation: bounce 1.5s infinite;
}

.language-switcher {
  position: absolute;
  top: 1em;
  right: 1em;
  display: flex;
  gap: 0.2em;
  font-size: 0.9em;
  line-height: 1em;
}

.language-switcher a {
  display: flex;
  align-items: center; /* vertikal zentrieren */
  justify-content: center; /* horizontal zentrieren */
  text-decoration: none;
  font-weight: bold;
  padding: 0.1em 0.5em;
  border-radius: 0.5em;
  background-color: rgba(255, 255, 255, 0.2);
  color: #003366;
}

.language-switcher a.active {
  background-color: rgba(0, 0, 0, 0.3);
  color: white;
}

@keyframes bounce {
  0%,
  100% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 10px);
  }
}

div.hightlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1em;
  padding: 1em 1em;
  background-color: transparent;
  text-align: center;
  max-width: 1000px;
  margin: 1em auto;
  font-size: 1rem;
}

div.hightlights div {
  border: 0em solid #ddd;
  border-radius: 1em;
  padding: 1em;
  background-color: white;
  box-shadow: 0.1em 0.1em 0.1em rgba(0, 0, 0, 0.2);
}

.hightlights h2 {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-size: 1.25em;
  color: var(--prim);
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: var(--prim);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 14px #3584a799;
}

footer {
  /* background-color: var(--prim); */
  padding: 2em 1em;
}

footer nav {
  display: flex;
  justify-content: center;
  gap: 2em;
  padding: 0;
  margin: 0 0 1em 0;
}

footer nav a {
  color: var(--prim);
  text-decoration: none;
  font-weight: normal;
  background-color: white;
  font-size: 1em;
  padding: 0.3em 1em;
  border-radius: 999px;
  box-shadow: 0.1em 0.1em 0.1em rgba(0, 0, 0, 0.2);
}

footer p {
  text-align: center;
  color: white;
  margin: 0;
  padding: 0;
}

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

  .header {
    font-size: 1em;
  }
}
