:root {
  --waschbar-green: #4db63f;
  --waschbar-green-dark: #318d28;
  --text-dark: #1d2a1b;
  --card-background: rgba(255, 249, 210, 0.94);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-dark);
  background: #d8e0e4;
}

.redirect-page {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  overflow: hidden;
  isolation: isolate;
  background-image: url("assets/waschbar-stuttgart-hintergrund.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.redirect-page::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(135deg, rgba(14, 24, 30, 0.58), rgba(14, 24, 30, 0.28)),
    linear-gradient(to top, rgba(14, 24, 30, 0.30), transparent 55%);
}

.redirect-card {
  width: min(100%, 760px);
  padding: clamp(1.5rem, 5vw, 3.25rem);
  text-align: center;
  background: var(--card-background);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 24px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.logo {
  display: block;
  width: min(100%, 540px);
  height: auto;
  margin: 0 auto clamp(1.35rem, 3vw, 2rem);
}

h1 {
  max-width: 670px;
  margin: 0 auto;
  font-size: clamp(1.65rem, 4.2vw, 2.8rem);
  line-height: 1.15;
  text-wrap: balance;
}

p {
  max-width: 610px;
  margin: 1rem auto 0;
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.65;
}

.redirect-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  margin-top: clamp(1.5rem, 4vw, 2.25rem);
  padding: 0.9rem 1.8rem;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  background: var(--waschbar-green);
  border: 2px solid var(--waschbar-green);
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(49, 141, 40, 0.30);
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.redirect-button:hover {
  background: var(--waschbar-green-dark);
  border-color: var(--waschbar-green-dark);
  box-shadow: 0 13px 30px rgba(49, 141, 40, 0.42);
  transform: translateY(-2px);
}

.redirect-button:focus-visible {
  outline: 4px solid rgba(77, 182, 63, 0.35);
  outline-offset: 4px;
}

@media (max-width: 640px) {
  .redirect-page {
    align-items: end;
    padding: 1rem;
    background-position: 61% center;
  }

  .redirect-card {
    padding: 1.5rem 1.15rem;
    border-radius: 18px;
  }

  .logo {
    width: min(100%, 440px);
  }

  .redirect-button {
    width: 100%;
  }
}

@media (max-height: 620px) and (orientation: landscape) {
  .redirect-page {
    padding: 1rem;
  }

  .redirect-card {
    padding: 1.2rem 1.6rem;
  }

  .logo {
    width: min(52vw, 390px);
    margin-bottom: 0.8rem;
  }

  p {
    margin-top: 0.65rem;
  }

  .redirect-button {
    margin-top: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .redirect-button {
    transition: none;
  }
}
