:root {
  --ivory: #fff8ec;
  --parchment: #f3ead8;
  --paper: #fbf4e7;
  --forest: #0f3d2a;
  --forest-2: #174d36;
  --moss: #75815d;
  --gold: #c79a36;
  --copper: #b76444;
  --ink: #172119;
  --muted: rgba(23, 33, 25, 0.72);
  --line: rgba(15, 61, 42, 0.18);
  --light-line: rgba(255, 248, 236, 0.24);
  --shadow: 0 24px 64px rgba(15, 61, 42, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(15, 61, 42, 0.08), transparent 34rem),
    var(--parchment);
  color: var(--ink);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input {
  font: inherit;
}

button,
a {
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

a {
  color: var(--forest);
  font-weight: 900;
  text-decoration: none;
}

button {
  cursor: pointer;
}

.site-header,
main,
.site-footer {
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  font-size: 1.2rem;
  font-weight: 900;
}

.brand img {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(199, 154, 54, 0.65);
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(15, 61, 42, 0.14);
}

.header-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  border: 1px solid rgba(15, 61, 42, 0.12);
  border-radius: 999px;
  padding: 6px;
  background: rgba(255, 248, 236, 0.78);
}

.header-nav a,
.carousel-dots button,
.mode-tabs button,
.lead-filter button {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 12px;
  background: transparent;
  color: var(--forest);
  font-size: 0.86rem;
  font-weight: 900;
}

.header-nav a:hover,
.carousel-dots button:hover,
.mode-tabs button:hover,
.lead-filter button:hover,
.carousel-dots button.is-active,
.mode-tabs button.is-active,
.lead-filter button.is-active {
  border-color: rgba(199, 154, 54, 0.55);
  background: rgba(199, 154, 54, 0.16);
}

.nav-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 900;
}

.nav-cta,
.primary-button {
  border: 1px solid var(--forest);
  background: var(--forest);
  color: var(--ivory);
  box-shadow: 0 14px 30px rgba(15, 61, 42, 0.18);
}

.nav-cta:hover,
.primary-button:hover {
  background: #092f20;
  color: var(--ivory);
  transform: translateY(-1px);
}

.secondary-button {
  border: 1px solid rgba(255, 248, 236, 0.54);
  background: rgba(255, 248, 236, 0.14);
  color: var(--ivory);
}

.secondary-button:hover {
  background: rgba(255, 248, 236, 0.24);
  transform: translateY(-1px);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Fraunces, Georgia, serif;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  color: var(--ivory);
  font-size: clamp(3.4rem, 7vw, 7rem);
  line-height: 0.9;
}

h2 {
  margin-bottom: 12px;
  color: var(--forest);
  font-size: clamp(2.1rem, 4.4vw, 4.1rem);
  line-height: 0.96;
}

h3 {
  margin-bottom: 8px;
  color: var(--forest);
  font-size: 1.05rem;
}

p {
  line-height: 1.65;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  border: 1px solid rgba(199, 154, 54, 0.52);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(199, 154, 54, 0.17);
  color: var(--forest);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.44fr);
  gap: clamp(22px, 5vw, 62px);
  align-items: end;
  min-height: calc(100vh - 96px);
  overflow: hidden;
  border: 1px solid rgba(255, 248, 236, 0.18);
  border-radius: 34px;
  padding: clamp(28px, 6vw, 70px);
  box-shadow: var(--shadow);
  background: var(--forest);
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 34, 23, 0.86), rgba(7, 34, 23, 0.44) 54%, rgba(7, 34, 23, 0.7)),
    radial-gradient(circle at 78% 22%, rgba(199, 154, 54, 0.28), transparent 28rem);
}

.hero-content,
.hero-passport {
  position: relative;
  z-index: 1;
}

.hero-content > p:not(.eyebrow) {
  max-width: 650px;
  color: rgba(255, 248, 236, 0.86);
  font-size: 1.1rem;
}

.hero .eyebrow,
.showcase-section .eyebrow,
.planner-section .eyebrow,
.waitlist-section .eyebrow {
  color: var(--gold);
}

.hero-actions,
.hero-stats,
.carousel-dots,
.mode-tabs,
.lead-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 30px;
}

.hero-stats {
  max-width: 760px;
  margin-top: 34px;
}

.hero-stats span {
  flex: 1 1 190px;
  border: 1px solid var(--light-line);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255, 248, 236, 0.1);
  color: rgba(255, 248, 236, 0.8);
}

.hero-stats strong {
  display: block;
  color: var(--gold);
}

.hero-passport {
  display: grid;
  gap: 14px;
  align-self: center;
}

.passport-cover,
.passport-progress {
  border: 1px solid rgba(255, 248, 236, 0.28);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 248, 236, 0.94), rgba(243, 234, 216, 0.9));
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.22);
}

.passport-cover {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  color: var(--forest);
}

.passport-cover span {
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.passport-cover strong {
  font-family: Fraunces, Georgia, serif;
  font-size: 2.5rem;
  line-height: 0.95;
}

.passport-cover small {
  font-weight: 900;
}

.passport-progress {
  padding: 18px;
}

.passport-progress span {
  color: var(--moss);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.passport-progress strong {
  display: block;
  margin: 8px 0 12px;
  color: var(--forest);
}

.progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 61, 42, 0.14);
}

.progress-track i,
.progress-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--copper));
}

.showcase-section,
.feature-band,
.atlas-section,
.field-section,
.planner-section,
.waitlist-section,
.impressum {
  margin: 26px 0;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 248, 236, 0.82);
  box-shadow: var(--shadow);
}

.section-heading {
  max-width: 860px;
}

.section-heading > p:not(.eyebrow) {
  max-width: 730px;
  color: var(--muted);
}

.showcase-section {
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(15, 61, 42, 0.98), rgba(28, 75, 52, 0.94)),
    var(--forest);
  color: var(--ivory);
}

.showcase-section h2 {
  color: var(--gold);
}

.showcase-section .section-heading > p:not(.eyebrow) {
  color: rgba(255, 248, 236, 0.82);
}

.showcase-layout {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  gap: 12px;
  align-items: center;
}

.phone-carousel {
  position: relative;
  height: clamp(410px, 58vw, 620px);
  perspective: 1200px;
}

.phone-card {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  opacity: 0;
  transform: translateX(0) translateZ(-220px) scale(0.72);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.22, 0.74, 0.22, 1), filter 620ms ease;
  filter: blur(2px) saturate(0.75);
  pointer-events: none;
}

.phone-card img {
  width: min(310px, 68vw);
  max-height: 100%;
  border-radius: 34px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
}

.phone-card.is-active {
  z-index: 5;
  opacity: 1;
  transform: translateX(0) translateZ(120px) scale(1);
  filter: none;
}

.phone-card[data-position="1"] {
  z-index: 4;
  opacity: 0.66;
  transform: translateX(44%) translateZ(-120px) rotateY(-28deg) scale(0.78);
}

.phone-card[data-position="5"] {
  z-index: 4;
  opacity: 0.66;
  transform: translateX(-44%) translateZ(-120px) rotateY(28deg) scale(0.78);
}

.phone-card[data-position="2"] {
  z-index: 2;
  opacity: 0.25;
  transform: translateX(70%) translateZ(-260px) rotateY(-42deg) scale(0.62);
}

.phone-card[data-position="4"] {
  z-index: 2;
  opacity: 0.25;
  transform: translateX(-70%) translateZ(-260px) rotateY(42deg) scale(0.62);
}

.carousel-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 248, 236, 0.3);
  border-radius: 50%;
  background: rgba(255, 248, 236, 0.08);
  color: var(--ivory);
  font-size: 2.4rem;
  line-height: 1;
}

.carousel-arrow:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.carousel-dots {
  justify-content: center;
}

.carousel-dots button {
  color: var(--ivory);
}

.carousel-dots button.is-active,
.carousel-dots button:hover {
  color: var(--gold);
}

.feature-grid,
.lead-grid,
.impressum-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.lead-card,
.impressum-grid div,
.route-builder li {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 248, 236, 0.92), rgba(243, 234, 216, 0.92));
  box-shadow: 0 14px 34px rgba(15, 61, 42, 0.08);
}

.feature-card,
.lead-card,
.impressum-grid div {
  padding: 18px;
}

.feature-card span,
.lead-card span.badge {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 34px;
  margin-bottom: 18px;
  border-radius: 999px;
  padding: 0 12px;
  background: rgba(199, 154, 54, 0.16);
  color: var(--forest);
  font-size: 0.78rem;
  font-weight: 900;
}

.feature-card p,
.lead-card p,
.atlas-copy p,
.planner-section p,
.waitlist-section p,
.impressum p {
  color: var(--muted);
}

.atlas-section,
.planner-section,
.waitlist-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
}

.atlas-board {
  border: 1px solid var(--line);
  border-radius: 26px;
  overflow: hidden;
  background: var(--paper);
}

.atlas-map {
  position: relative;
  aspect-ratio: 1456 / 1024;
  min-height: 320px;
  overflow: hidden;
  background: var(--paper);
}

.atlas-map::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(15, 61, 42, 0.18);
  border-radius: 22px;
}

.atlas-map img,
.map-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.atlas-map img {
  object-fit: contain;
  display: block;
}

.map-overlay {
  z-index: 1;
}

.route-path {
  fill: none;
  stroke: rgba(183, 100, 68, 0.72);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 12 14;
  filter: drop-shadow(0 3px 3px rgba(255, 248, 236, 0.72));
  animation: routeDrift 24s linear infinite;
}

.map-point {
  animation: pulse 2200ms ease-in-out infinite;
  animation-delay: var(--delay);
}

.map-glow {
  fill: rgba(15, 61, 42, 0.18);
  filter: blur(8px);
}

.map-dot {
  fill: var(--copper);
  stroke: var(--ivory);
  stroke-width: 8;
  filter: drop-shadow(0 10px 12px rgba(15, 61, 42, 0.28));
}

.map-point text {
  paint-order: stroke;
  stroke: rgba(255, 248, 236, 0.92);
  stroke-width: 8;
  fill: var(--forest);
  font-family: Manrope, system-ui, sans-serif;
  font-size: 25px;
  font-weight: 900;
  text-anchor: middle;
  opacity: 0;
  transition: opacity 180ms ease;
}

.atlas-map:hover .map-point text {
  opacity: 1;
}

.atlas-readout {
  display: grid;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding: 18px;
}

.atlas-readout strong {
  color: var(--forest);
  font-family: Fraunces, Georgia, serif;
  font-size: 1.55rem;
}

.atlas-readout span {
  color: var(--muted);
}

.lead-filter {
  margin: 18px 0;
}

.lead-card {
  min-height: 240px;
}

.lead-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.lead-card .meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--forest);
  font-size: 0.76rem;
  font-weight: 900;
}

.lead-card.is-hidden {
  display: none;
}

.planner-section {
  background:
    linear-gradient(145deg, rgba(15, 61, 42, 0.97), rgba(26, 72, 50, 0.94)),
    var(--forest);
}

.planner-section h2,
.planner-section p {
  color: var(--ivory);
}

.planner-section p:not(.eyebrow) {
  color: rgba(255, 248, 236, 0.82);
}

.route-builder {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.route-builder li {
  position: relative;
  padding: 18px 18px 18px 58px;
  counter-increment: route;
}

.route-builder li::before {
  content: counter(route);
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--ivory);
  font-size: 0.8rem;
  font-weight: 900;
}

.route-builder strong,
.route-builder span {
  display: block;
}

.route-builder span {
  margin-top: 4px;
  color: var(--muted);
}

.waitlist-section {
  background: rgba(255, 248, 236, 0.9);
}

.waitlist-form {
  display: grid;
  gap: 12px;
}

.waitlist-form label {
  display: grid;
  gap: 7px;
  color: var(--forest);
  font-weight: 900;
}

.waitlist-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  background: rgba(255, 248, 236, 0.86);
  color: var(--ink);
}

.form-status {
  min-height: 1.6em;
  margin: 0;
  color: var(--forest);
  font-weight: 800;
}

.form-status.is-error {
  color: var(--copper);
}

.impressum-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 30px 0 42px;
  color: var(--forest);
  font-weight: 900;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.18);
  }
}

@keyframes routeDrift {
  to {
    stroke-dashoffset: -180;
  }
}

@media (max-width: 920px) {
  .hero,
  .atlas-section,
  .planner-section,
  .waitlist-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .passport-cover {
    min-height: 240px;
  }

  .feature-grid,
  .lead-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-nav {
    justify-content: flex-start;
    border-radius: 22px;
  }

  .hero {
    padding: 24px;
    border-radius: 24px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.1rem);
  }

  .showcase-layout {
    grid-template-columns: 1fr;
  }

  .carousel-arrow {
    display: none;
  }

  .phone-carousel {
    height: 430px;
  }

  .phone-card[data-position="1"] {
    transform: translateX(28%) translateZ(-160px) rotateY(-24deg) scale(0.66);
  }

  .phone-card[data-position="5"] {
    transform: translateX(-28%) translateZ(-160px) rotateY(24deg) scale(0.66);
  }

  .phone-card[data-position="2"],
  .phone-card[data-position="4"] {
    opacity: 0;
  }

  .feature-grid,
  .lead-grid,
  .impressum-grid {
    grid-template-columns: 1fr;
  }
}
