/* ELVIYO: coming-soon site
   Shared stylesheet for site/index.html, site/en/index.html, site/impressum.html,
   site/datenschutz.html. Self-hosted font only, no external requests, no cookies set
   by anything in this stylesheet. Palette from assets/brand/style-guide-board.jpg via
   packgen/brand.py. */

@font-face {
  font-family: "Nunito";
  src: url("../fonts/Nunito[wght].ttf") format("truetype-variations"),
       url("../fonts/Nunito[wght].ttf") format("truetype");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #79bfc7;
  --gold: #f2c164;
  --peach: #e8b49c;
  --ivory: #f7ece4;
  --sand: #d9c3b8;
  --cocoa: #8a5f4f;
  --ink: #2e3e50;
  --white: #ffffff;

  --max-width: 1040px;
  --radius: 18px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Nunito", "Noto Sans", system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ink);
  text-decoration-color: var(--teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

a:hover,
a:focus-visible {
  color: var(--cocoa);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--ink);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 10;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- header ---------- */

.site-header {
  padding: 24px 0 8px;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  color: var(--teal);
}

.wordmark svg {
  height: 34px;
  width: auto;
  display: block;
}

.lang-switch {
  display: flex;
  gap: 6px;
  font-weight: 700;
  font-size: 0.95rem;
}

.lang-switch a {
  padding: 6px 12px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  color: var(--ink);
}

.lang-switch a[aria-current="page"] {
  background: var(--ink);
  color: var(--white);
}

.lang-switch a:not([aria-current="page"]):hover,
.lang-switch a:not([aria-current="page"]):focus-visible {
  border-color: var(--teal);
}

/* ---------- hero ---------- */

.hero {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 24px 0 8px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 7px 16px;
  border-radius: 999px;
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(1.9rem, 5vw + 0.5rem, 3rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 18px;
  color: var(--ink);
  max-width: 16ch;
}

.lede {
  font-size: clamp(1.05rem, 1.2vw + 0.8rem, 1.25rem);
  max-width: 48ch;
  margin: 0 0 26px;
  color: var(--ink);
}

.hero-figure {
  margin: 0;
  text-align: center;
}

.hero-figure img {
  width: min(78vw, 420px);
  margin: 0 auto;
}

.contact-line {
  font-size: 1rem;
  margin: 0;
}

.contact-line a {
  font-weight: 700;
}

.placeholder {
  color: var(--cocoa);
  font-weight: 700;
  font-size: 0.85em;
}

@media (min-width: 760px) {
  .hero .wrap {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .hero-figure {
    order: 2;
  }

  .hero-copy {
    order: 1;
  }

  .hero-figure img {
    width: 100%;
    max-width: 420px;
  }
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--sand);
  padding: 22px 0 32px;
  margin-top: 24px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.92rem;
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: var(--ink);
}

.footer-note {
  color: var(--cocoa);
}

/* ---------- legal pages ---------- */

.legal {
  flex: 1;
  padding: 36px 0 20px;
}

.legal .wrap {
  max-width: 760px;
}

.legal h1 {
  max-width: none;
  font-size: clamp(1.7rem, 3vw + 0.6rem, 2.3rem);
}

.legal h2 {
  font-size: 1.2rem;
  margin-top: 2em;
  color: var(--ink);
}

.legal p {
  max-width: 68ch;
}

.legal .back-link {
  display: inline-block;
  margin-bottom: 20px;
  font-weight: 700;
}

.fill {
  background: #fff6e6;
  border: 1.5px dashed var(--cocoa);
  color: var(--cocoa);
  border-radius: 6px;
  padding: 0 6px;
  font-weight: 700;
}

dl.impressum {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 18px;
  padding: 0;
  margin: 1em 0;
}

dl.impressum dt {
  font-weight: 700;
  color: var(--cocoa);
}

dl.impressum dd {
  margin: 0;
}

@media (max-width: 480px) {
  dl.impressum {
    grid-template-columns: 1fr;
  }

  dl.impressum dt {
    margin-top: 10px;
  }
}
