/* mailena.io – Coming-soon-Seite. Keine externen Ressourcen; Inter (SIL OFL 1.1) lokal. */
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin-opsz-normal.woff2") format("woff2-variations"), url("fonts/inter-latin-opsz-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --forest: #153d35;
  --forest-deep: #10302a;
  --cream: #f6f5ef;
  --lime: #d5ed9a;
  --sage: #dde8df;
  --ink: #153d35;
  --muted-on-dark: #c9d6cf;
  --radius: 22px;
  --gutter: clamp(20px, 5vw, 64px);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--forest);
  color: var(--cream);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}

.light :focus-visible {
  outline-color: var(--forest);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--lime);
  color: var(--forest);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

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

/* Kopfzeile */
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: clamp(20px, 4vw, 40px);
  padding-bottom: 8px;
}

.logo {
  display: inline-flex;
  text-decoration: none;
}

.logo img {
  width: clamp(124px, 14vw, 168px);
  height: auto;
  aspect-ratio: 532.65 / 132;
}

.header-link {
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(246, 245, 239, 0.28);
  white-space: nowrap;
}

.header-link:hover {
  border-color: var(--lime);
  color: var(--lime);
}

/* Hauptbereich */
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding-top: clamp(32px, 6vw, 72px);
  padding-bottom: clamp(48px, 8vw, 104px);
}

.badge {
  display: inline-block;
  margin: 0 0 22px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--forest);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}

h1 .accent {
  color: var(--lime);
}

.subline {
  margin: 26px 0 0;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lead {
  margin: 18px 0 0;
  max-width: 34em;
  color: var(--muted-on-dark);
}

.launch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.launch .label {
  font-weight: 600;
  margin-right: 4px;
}

.chip {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--sage);
  color: var(--forest);
  font-weight: 600;
  font-size: 0.95rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--forest);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.button:hover {
  background: #e3f5b8;
  transform: translateY(-1px);
}

.button svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.mail-link {
  font-weight: 600;
  text-underline-offset: 4px;
  text-decoration-color: rgba(213, 237, 154, 0.6);
}

.mail-link:hover {
  color: var(--lime);
}

.motif {
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: 560px;
}

.motif img {
  width: 100%;
  aspect-ratio: 800 / 620;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(246, 245, 239, 0.08);
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* Funktionen */
.light {
  background: var(--cream);
  color: var(--ink);
}

.features .wrap {
  padding-top: clamp(56px, 8vw, 96px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.features h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 700;
  max-width: 18em;
  text-wrap: balance;
}

.features .intro {
  margin: 14px 0 0;
  max-width: 38em;
  color: #3c5a52;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.card {
  padding: 28px 26px 30px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid #e3e6dc;
}

.card .icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--sage);
  color: var(--forest);
}

.card:nth-child(2) .icon {
  background: var(--lime);
}

.card .icon svg {
  width: 26px;
  height: 26px;
}

.card h3 {
  margin: 20px 0 8px;
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.card p {
  margin: 0;
  color: #3c5a52;
}

/* Fußzeile */
.site-footer {
  background: var(--forest-deep);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 32px;
  padding-bottom: 36px;
  font-size: 0.95rem;
  color: var(--muted-on-dark);
}

.site-footer nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  text-underline-offset: 4px;
}

.site-footer a:hover {
  color: var(--lime);
}

/* Rechtstexte */
.legal .wrap {
  max-width: 820px;
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.legal h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
}

.legal h2 {
  margin: 40px 0 10px;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}

.legal p,
.legal li,
.legal dd {
  color: #2c4a42;
}

.legal dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 6px 20px;
  margin: 24px 0 0;
}

.legal dt {
  font-weight: 600;
}

.legal dd {
  margin: 0;
}

.legal .back {
  display: inline-block;
  margin-bottom: 24px;
  font-weight: 600;
}

.draft-note {
  margin: 24px 0 0;
  padding: 14px 18px;
  border-radius: 14px;
  background: #fff4cf;
  color: #5b4500;
  border: 1px solid #ecd78a;
}

.light .site-header .header-link {
  border-color: rgba(21, 61, 53, 0.25);
}

@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: 1fr;
  }

  .motif {
    max-width: 460px;
    order: 2;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .header-link {
    padding: 8px 12px;
    font-size: 0.875rem;
  }

  .button {
    width: 100%;
    justify-content: center;
  }

  .legal dl {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .legal dd {
    margin-bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.site-footer p {
  margin: 0;
}
