:root {
  --ink: #0f1716;
  --ink-soft: #3d4a48;
  --paper: #eef3f1;
  --paper-deep: #dde7e3;
  --teal: #1f5c57;
  --teal-deep: #164743;
  --line: rgba(15, 23, 22, 0.12);
  --white: #f7fbfa;
  --shadow: 0 24px 60px rgba(15, 23, 22, 0.16);
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Schibsted Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --radius: 18px;
  --max: 1120px;
  --gutter: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1100px 520px at 8% -8%, rgba(31, 92, 87, 0.12), transparent 55%),
    linear-gradient(180deg, #e4ece9 0%, var(--paper) 32%, #e8efec 100%);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1rem;
  z-index: 20;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin-inline: auto;
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(238, 243, 241, 0.9);
  border-bottom: 1px solid var(--line);
}

.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

.icon {
  aspect-ratio: 1 / 1;
  object-fit: contain;
  flex-shrink: 0;
}

.brand .icon {
  width: 32px;
  height: 32px;
  max-width: 32px;
  max-height: 32px;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(18, 20, 26, 0.14);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
  color: var(--ink-soft);
}

.nav a:hover {
  color: var(--ink);
}

.nav-cta {
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white) !important;
}

.langs {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.langs a,
.langs .lang-btn {
  color: var(--ink-soft);
  text-decoration: none;
}

.langs a[aria-current="page"],
.langs .lang-btn[aria-current="true"] {
  color: var(--ink);
  font-weight: 600;
}

.hero {
  position: relative;
  min-height: min(88vh, 780px);
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.03);
  animation: drift 18s ease-in-out infinite alternate;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 14, 13, 0.82) 0%, rgba(10, 14, 13, 0.55) 46%, rgba(10, 14, 13, 0.22) 100%),
    linear-gradient(180deg, rgba(10, 14, 13, 0.2) 0%, rgba(10, 14, 13, 0.62) 100%);
}

.hero-copy {
  width: min(100% - (var(--gutter) * 2), var(--max));
  margin: 0 auto;
  padding: 6.5rem 0 3.75rem;
  color: var(--white);
  max-width: 40rem;
  animation: rise 900ms ease both;
}

.hero-brand {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 24rem;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
}

.hero-lead {
  margin: 1.05rem 0 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: min(34rem, 100%);
  overflow-wrap: anywhere;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.65rem;
}

.install {
  display: grid;
  align-items: center;
  min-height: calc(100vh - 8.5rem);
  padding: 2.5rem 0 3.5rem;
}

.install-card {
  width: min(100%, 34rem);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.install-card h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.1rem, 5vw, 3rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.install-card > p {
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
}

.install-note {
  margin: 1rem 0 0;
  max-width: 32rem;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

html[data-lang="de"] .en,
html[data-lang="en"] .de {
  display: none;
}

.lang-btn {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--teal);
  color: #fff;
}

.btn-primary:hover {
  background: var(--teal-deep);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.22);
}

.trust {
  background: rgba(247, 251, 250, 0.96);
  border-bottom: 1px solid var(--line);
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0;
  padding: 1rem 0;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
}

.trust-inner span {
  display: inline-flex;
  align-items: center;
}

.trust-inner span:not(:last-child)::after {
  content: "·";
  margin-inline: 0.85rem;
  color: rgba(15, 23, 22, 0.35);
  font-weight: 400;
}

.section {
  padding: 4.5rem 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(31, 92, 87, 0.07), rgba(31, 92, 87, 0.02));
  border-block: 1px solid var(--line);
}

.section-head {
  max-width: 38rem;
  margin-bottom: 2.25rem;
}

.section-head h2,
.how-copy h2,
.contact-panel h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: var(--ink);
  text-wrap: balance;
}

.how-copy h2 {
  text-wrap: wrap;
}

.section-head p,
.how-note,
.contact-panel > p {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
  max-width: 38rem;
  line-height: 1.55;
}

.points,
.tasks {
  display: grid;
  gap: 1.5rem 2rem;
}

@media (min-width: 800px) {
  .points,
  .tasks {
    grid-template-columns: repeat(2, 1fr);
  }
}

.points article {
  padding: 0;
  border-top: 2px solid var(--teal);
  padding-top: 1rem;
}

.points h3,
.tasks h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.3;
  color: var(--ink);
}

.points p,
.tasks p {
  margin: 0.5rem 0 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

.tasks article {
  padding: 0 0 1.15rem;
  border-bottom: 1px solid var(--line);
}

.how {
  display: grid;
  gap: 2.25rem;
  align-items: center;
}

@media (min-width: 900px) {
  .how {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3rem;
  }
}

.how ol {
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.how li {
  counter-increment: step;
  position: relative;
  padding-left: 2.65rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.how li strong {
  color: var(--ink);
  font-weight: 600;
}

.how li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
}

.how-note {
  margin-top: 1.25rem;
}

.how-figure {
  margin: 0;
  justify-self: center;
  text-align: center;
}

.how-figure .icon {
  width: min(100%, 220px);
  height: auto;
  margin-inline: auto;
  border-radius: 26px;
  box-shadow: var(--shadow);
  animation: float 5.5s ease-in-out infinite;
}

.how-figure figcaption {
  margin-top: 0.85rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.4;
}

.contact {
  padding-bottom: 4.5rem;
}

.contact-panel {
  padding: clamp(1.6rem, 3vw, 2.35rem);
  border-radius: calc(var(--radius) + 4px);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  color: var(--white);
}

.contact-panel > p {
  color: rgba(247, 251, 250, 0.78);
}

.contact-panel .btn-primary {
  margin-top: 1.35rem;
  background: var(--paper);
  color: var(--ink);
}

.contact-panel .btn-primary:hover {
  background: #fff;
}

.foot {
  border-top: 1px solid var(--line);
  padding: 1.35rem 0 1.85rem;
}

.foot-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.foot-inner span:first-child {
  font-weight: 600;
  color: var(--ink);
}

@keyframes drift {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.07) translate3d(-1%, -0.6%, 0); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img,
  .how-figure .icon,
  .hero-copy,
  .btn {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 720px) {
  .nav a:not(.nav-cta):not(.lang) {
    display: none;
  }

  .hero-copy {
    padding-top: 5.75rem;
    padding-bottom: 3rem;
  }

  .trust-inner span:not(:last-child)::after {
    margin-inline: 0.55rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}
