:root {
  color-scheme: light;
  --ink: #17211f;
  --muted: #5c6864;
  --line: #dce4df;
  --paper: #f7f8f5;
  --white: #ffffff;
  --forest: #163f3a;
  --moss: #6f8f62;
  --sky: #d8edf4;
  --clay: #c77751;
  --shadow: 0 20px 60px rgba(18, 35, 31, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(9, 23, 21, 0.72), rgba(9, 23, 21, 0.04));
}

.brand,
.site-header nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  text-decoration: none;
  font-weight: 750;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 7px;
}

.site-header nav a,
.site-footer a {
  text-decoration: none;
  font-size: 0.94rem;
}

.site-header nav a {
  opacity: 0.86;
}

.site-header nav a:hover,
.site-footer a:hover {
  opacity: 1;
  text-decoration: underline;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 128px clamp(20px, 6vw, 88px) 80px;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 20, 19, 0.92), rgba(7, 20, 19, 0.58) 47%, rgba(7, 20, 19, 0.18)),
    linear-gradient(180deg, rgba(7, 20, 19, 0.18), rgba(7, 20, 19, 0.62)),
    url("/assets/01-dashboard.png") right 18% center / min(44vw, 520px) auto no-repeat,
    url("/assets/04-vorplanung.png") right -10vw bottom -24vh / min(48vw, 560px) auto no-repeat,
    #173a36;
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9, 28, 25, 0.1);
  backdrop-filter: blur(0.5px);
}

.hero-content {
  width: min(720px, calc(100vw - 40px));
  max-width: 100%;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4.2rem, 10vw, 8.4rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 26px 0 0;
  font-size: clamp(1.12rem, 2.2vw, 1.45rem);
  color: rgba(255, 255, 255, 0.88);
  overflow-wrap: break-word;
}

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

.primary-action,
.status-pill {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 720;
  text-decoration: none;
}

.primary-action {
  color: var(--forest);
  background: var(--white);
}

.status-pill {
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
}

.intro-section,
.feature-section,
.sync-section,
.outlook-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.intro-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 38px;
  padding: 72px 0 42px;
}

.intro-copy h2,
.section-heading h2,
.sync-section h2 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.section-kicker {
  color: var(--clay);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric-grid div,
.feature-grid article,
.roadmap article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.metric-grid div {
  min-height: 132px;
  padding: 18px;
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid strong {
  margin-bottom: 10px;
  font-size: 1.04rem;
}

.metric-grid span,
.feature-grid p,
.sync-section p,
.roadmap p,
.site-footer span {
  color: var(--muted);
}

.screenshot-band {
  width: 100%;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr 0.92fr;
  gap: clamp(14px, 2vw, 28px);
  padding: 26px clamp(20px, 5vw, 72px) 82px;
  overflow: hidden;
}

.phone-shot {
  margin: 0;
  min-width: 0;
  border-radius: 28px;
  background: #0b1715;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.phone-shot img {
  width: 100%;
  aspect-ratio: 1290 / 2796;
  object-fit: cover;
}

.feature-shot {
  transform: translateY(36px);
}

.feature-section,
.outlook-section {
  padding: 86px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading p {
  max-width: 740px;
  color: var(--muted);
}

.feature-grid,
.roadmap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-grid article,
.roadmap article {
  min-height: 220px;
  padding: 22px;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 8px;
  color: var(--forest);
  background: var(--sky);
  font-size: 0.8rem;
  font-weight: 800;
}

.feature-grid h3,
.roadmap h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.feature-grid p,
.roadmap p,
.sync-section p {
  margin: 0;
}

.sync-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 42px;
  padding: 78px clamp(20px, 5vw, 64px);
  color: var(--white);
  background: var(--forest);
  border-radius: 0;
}

.sync-section .section-kicker {
  color: #a8d8c4;
}

.sync-section p {
  max-width: 700px;
  color: rgba(255, 255, 255, 0.76);
}

.sync-points {
  display: grid;
  gap: 12px;
}

.sync-points p {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.sync-points strong,
.sync-points span {
  display: block;
}

.sync-points strong {
  color: var(--white);
  margin-bottom: 5px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.site-footer div {
  display: grid;
  gap: 3px;
}

@media (max-width: 880px) {
  .site-header {
    position: absolute;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding-top: 96px;
  }

  .hero-backdrop {
    background:
      linear-gradient(180deg, rgba(7, 20, 19, 0.68), rgba(7, 20, 19, 0.92)),
      url("/assets/01-dashboard.png") center bottom -26vh / min(78vw, 420px) auto no-repeat,
      #173a36;
  }

  .intro-section,
  .sync-section {
    grid-template-columns: 1fr;
  }

  .metric-grid,
  .feature-grid,
  .roadmap {
    grid-template-columns: 1fr;
  }

  .screenshot-band {
    grid-template-columns: 76vw 76vw 76vw;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 56px;
  }

  .phone-shot {
    scroll-snap-align: center;
    border-radius: 22px;
  }

  .feature-shot {
    transform: none;
  }

  .sync-section {
    width: 100%;
    padding: 60px 20px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 16vw, 4rem);
  }

  .hero-copy {
    width: min(310px, calc(100vw - 40px));
    max-width: min(310px, calc(100vw - 40px));
    font-size: 1.04rem;
  }

  .intro-copy h2,
  .section-heading h2,
  .sync-section h2 {
    font-size: clamp(2rem, 10vw, 2.7rem);
    overflow-wrap: break-word;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-action,
  .status-pill {
    width: 100%;
  }

  .intro-section,
  .feature-section,
  .outlook-section {
    width: min(100% - 32px, 1180px);
  }
}
