/* Landing page: the street sign scene. Builds on base.css. */

:root {
  --sign-frame: #8d969e;
  --sign-face: #ffffff;
  --arrow-depth: clamp(48px, 6vw, 84px);
}

body {
  background: #7fb2e5 url("strasse.jpg") right 35% / cover no-repeat fixed;
}

/* The photo is a crop of the mockup, so a soft veil keeps the upscaling invisible and the sign in focus. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  backdrop-filter: blur(1.5px);
  background: linear-gradient(180deg, rgba(120, 180, 240, 0.15), rgba(255, 255, 255, 0.05));
  pointer-events: none;
}

.scene {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(32px, 8vh, 96px);
  padding: 48px clamp(16px, 4vw, 64px);
  /* The pole deliberately runs past the viewport edges; clip it so it never adds scroll height. */
  overflow: clip;
}

/* Signpost */

.signpost {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 100%;
}

.pole {
  position: absolute;
  left: clamp(14px, 2vw, 28px);
  top: -60vh;
  bottom: -60vh;
  width: clamp(26px, 3vw, 40px);
  background: linear-gradient(90deg, #6f777e, #c9cfd4 35%, #f2f4f6 50%, #a7aeb5 70%, #626a71);
  border-radius: 4px;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.25);
}

.sign {
  position: relative;
  margin-left: clamp(36px, 4.5vw, 60px);
  padding: 5px;
  background: var(--sign-frame);
  clip-path: polygon(0 0, calc(100% - var(--arrow-depth)) 0, 100% 50%, calc(100% - var(--arrow-depth)) 100%, 0 100%);
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.3));
  border-radius: 14px 0 0 14px;
}

.sign__inner {
  display: grid;
  grid-template-columns: auto auto auto;
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  padding: clamp(20px, 3vw, 36px) calc(var(--arrow-depth) + 10px) clamp(20px, 3vw, 36px) clamp(24px, 3vw, 44px);
  background: var(--sign-face);
  border-radius: 10px 0 0 10px;
  clip-path: polygon(0 0, calc(100% - var(--arrow-depth) + 2px) 0, calc(100% - 3px) 50%, calc(100% - var(--arrow-depth) + 2px) 100%, 0 100%);
}

/* Brand block */

.brand {
  text-align: center;
  padding-right: clamp(20px, 3vw, 44px);
  border-right: 2px solid #c8d0d6;
}

.logo {
  display: block;
  width: clamp(150px, 16vw, 210px);
  margin: 0 auto 2px;
}

.logo__l,
.logo__t {
  font-family: "Nunito", sans-serif;
  font-weight: 900;
  font-size: 62px;
}

.logo__l {
  fill: var(--blue);
}

.logo__t {
  fill: var(--sage);
}

.brand p,
.brand h1 {
  margin: 0;
}

.brand__name {
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #5b6168;
}

.brand__title {
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--blue);
}

.brand__title span {
  display: block;
  margin-top: 4px;
  font-size: 0.48em;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
}

.brand__audience {
  margin-top: 6px !important;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 700;
}

.brand__claim {
  margin-top: 4px !important;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 800;
  color: var(--blue);
}

/* Contact block */

.contact,
.contact__details {
  display: grid;
  gap: 10px;
}

.contact__details {
  font-style: normal;
}

.contact {
  font-size: clamp(16px, 1.4vw, 20px);
  font-weight: 700;
}

.contact__title {
  margin: 0 0 4px;
  font-size: clamp(19px, 1.7vw, 24px);
  font-weight: 900;
  color: var(--blue);
}

.contact__address {
  margin: 0 0 6px;
  line-height: 1.4;
}

.contact__line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  text-decoration: none;
  border-radius: 6px;
}

.contact__line:hover,
.contact__line:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact__line:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 4px;
}

.contact__line svg {
  flex: none;
  width: 1.2em;
  height: 1.2em;
  fill: var(--blue);
}

.arrow {
  width: clamp(40px, 4vw, 64px);
  height: clamp(56px, 6vw, 92px);
  background: var(--blue);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

/* Status badge */

.status {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 14px 36px;
  font-size: clamp(20px, 2.6vw, 36px);
  font-weight: 900;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  border: 4px solid var(--sage);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.status svg {
  width: 1.6em;
  height: auto;
}

/* Legal links */

.legal-links {
  position: absolute;
  right: clamp(16px, 4vw, 64px);
  bottom: 16px;
  display: flex;
  gap: 8px;
  margin: 0;
}

.legal-links a {
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

.legal-links a:hover,
.legal-links a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-links a:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 2px;
}

/* Mobile: the sign becomes a stacked board without pole and arrow tip. */

@media (max-width: 760px) {
  body {
    background-attachment: scroll;
    background-position: 70% bottom;
  }

  .scene {
    align-items: stretch;
    padding: 32px 16px 88px;
  }

  .legal-links {
    left: 0;
    right: 0;
    justify-content: center;
  }

  .pole {
    display: none;
  }

  .sign,
  .sign__inner {
    clip-path: none;
  }

  .signpost {
    width: 100%;
  }

  .sign {
    flex: 1;
    margin-left: 0;
    border-radius: 18px;
  }

  .sign__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 24px 20px;
    border-radius: 14px;
    text-align: center;
  }

  .brand {
    padding: 0 0 20px;
    border-right: 0;
    border-bottom: 2px solid #c8d0d6;
    width: 100%;
  }

  .contact,
  .contact__details {
    justify-items: center;
  }

  .contact__line {
    gap: 8px;
    font-size: clamp(13px, 4vw, 16px);
    white-space: nowrap;
  }

  .arrow {
    display: none;
  }

  .status {
    max-width: 100%;
    padding: 12px 16px;
    gap: 10px;
    font-size: clamp(15px, 4.6vw, 22px);
    white-space: nowrap;
  }
}
