/* Grundfarben */
:root {
  --pink: #ff00d8;
  --tuerkis: #00f7ff;
  --schwarz: #000000;
  --weiss: #ffffff;
  --bg: var(--weiss);
  --text: var(--schwarz);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --text: var(--weiss);
  }
}

/* Globales Layout */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
}

/* Header mit Hero-Bild */
header {
  position: relative;
  text-align: center;
}

header img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Titel als Overlay */
header h1 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(2rem, 8vw, 6rem);
  color: var(--weiss);
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
}

/* Lang Switch */
.lang-switch {
  margin-top: 0.5rem;
  text-align: center;
  font-size: 1rem;
}

.lang-switch a {
  color: var(--tuerkis);
  text-decoration: none;
  font-weight: bold;
  margin: 0 0.5em;
}

.lang-switch a:hover {
  color: var(--pink);
  text-decoration: underline;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 3rem); /* flexibel */
}

h2 {
  font-size: 2rem;
}

/* Hauptinhalte */
main {
  padding: 1rem;
  text-align: center;
}

.profile {
  max-width: 700px;
  margin: auto;
  padding: 1rem;
}

/* Normale Links im Profil */
.profile a:not(.cta-button) {
  color: var(--tuerkis);
  text-decoration: none;
  font-weight: bold;
}

.profile a:not(.cta-button):hover {
  color: var(--pink);
  text-decoration: underline;
}

/* Banner gleich groß */
.banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
  align-items: stretch;
  justify-items: center;
}

.banners a {
  display: block;
  width: 100%;
  max-width: 400px; /* gleiche maximale Breite */
}

.banners a img {
  width: 100%;
  height: auto; /* skaliert proportional */
  display: block;
  border-radius: 0;
  transition: transform 0.2s ease-in-out;
}

.banners a img:hover {
  transform: scale(1.05);
}

/* Banner untereinander auf Mobilgeräten */
@media (max-width: 600px) {
  .banners {
    grid-template-columns: 1fr;
  }
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  background: var(--schwarz);
  color: var(--weiss);
}

footer a {
  color: var(--pink);
  text-decoration: none;
  margin: 0 0.5rem;
}

footer a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 600px) {
  .banners {
    grid-template-columns: 1fr;
  }

  header h1 {
    font-size: clamp(1.5rem, 10vw, 4rem);
  }
}

/* CTA Button */
.cta-button {
  display: inline-block;
  padding: 0.8em 1.5em;
  font-size: 1.1rem;
  color: #ff00d8; /* rosa Schrift */
  background-color: #00f7ff; /* türkis Hintergrund */
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.3s, color 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  color: #00f7ff; /* türkis Schrift */
  background-color: #ff00d8; /* rosa Hintergrund */
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.3);
}
