:root {
  --ink: #17191b;
  --muted: #67717a;
  --faint: #879098;
  --bg: #f6f7f3;
  --paper: #ffffff;
  --soft: #edf3ef;
  --line: #dce2df;
  --dark: #102a32;
  --dark-2: #173b46;
  --blue: #367ba7;
  --green: #18785a;
  --orange: #d75d35;
  --amber: #d79b2b;
  --shadow: 0 24px 70px rgba(17, 25, 28, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(16, 42, 50, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(16, 42, 50, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 720px);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 30;
  width: min(1280px, calc(100% - 32px));
  min-height: 64px;
  margin: 14px auto 0;
  padding: 9px 10px 9px 22px;
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px solid rgba(16, 42, 50, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 48px rgba(15, 30, 35, 0.11);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.hero-actions,
.footer-links,
.cookie-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  min-width: max-content;
  font-weight: 850;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--dark);
  font-weight: 900;
}

.nav {
  flex: 1;
  justify-content: center;
  gap: 28px;
}

.nav a {
  color: #30363a;
  font-size: 0.95rem;
  font-weight: 760;
}

.header-cta {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 8px;
  color: #fff;
  background: var(--dark);
  font-weight: 840;
  box-shadow: 0 12px 30px rgba(16, 42, 50, 0.22);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero,
.section,
.signal-strip,
.calculator-section,
.site-footer {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  padding: 92px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(480px, 1.08fr);
  gap: 54px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--green);
  font-size: 0.84rem;
  font-weight: 860;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 6.2vw, 5.7rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 4.4vw, 4.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
  line-height: 1.18;
}

.lead,
.section-head p {
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.65;
}

.lead {
  max-width: 680px;
  margin-bottom: 30px;
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 22px;
  cursor: pointer;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.choice-grid button:hover,
.choice-row button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: var(--dark);
  border-color: var(--dark);
  box-shadow: 0 18px 38px rgba(16, 42, 50, 0.22);
}

.button.secondary,
.button.ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.84);
}

.hero-proof {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-proof div {
  padding: 18px 18px 18px 0;
  border-right: 1px solid var(--line);
}

.hero-proof div + div {
  padding-left: 18px;
}

.hero-proof div:last-child {
  border-right: 0;
}

.hero-proof dt {
  color: var(--ink);
  font-weight: 880;
}

.hero-proof dd {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.38;
}

.hero-media {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border: 1px solid rgba(16, 42, 50, 0.14);
  border-radius: 8px;
  background: #dfe7e7;
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 650px;
  display: block;
  object-fit: cover;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 22, 26, 0.42), transparent 55%);
}

.media-overlay {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 18px 45px rgba(9, 22, 26, 0.2);
  backdrop-filter: blur(14px);
}

.lead-pop {
  left: 24px;
  bottom: 24px;
  width: min(380px, calc(100% - 48px));
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-dot {
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  display: inline-block;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(24, 120, 90, 0.13);
}

.lead-pop small,
.calendar-pop span,
.muted {
  display: block;
  color: var(--muted);
}

.calendar-pop {
  right: 24px;
  top: 24px;
  width: 260px;
  padding: 16px;
}

.calendar-pop strong {
  display: block;
  margin: 4px 0 14px;
  font-size: 1.15rem;
}

.mini-calendar {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.mini-calendar i {
  height: 30px;
  border-radius: 8px;
  background: #e9eeee;
}

.mini-calendar .on {
  background: linear-gradient(135deg, var(--green), var(--blue));
}

.signal-strip {
  margin-bottom: 72px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 38px rgba(17, 25, 28, 0.06);
}

.signal-strip span {
  min-height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid #e5e9e6;
  border-radius: 8px;
  background: var(--paper);
  color: #4f5960;
  font-size: 0.9rem;
  font-weight: 820;
}

.section {
  padding: 86px 0;
}

.section-head {
  max-width: 980px;
  margin-bottom: 34px;
}

.split-head {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.46fr);
  gap: 46px;
  align-items: end;
}

.problem-grid,
.system-grid,
.example-grid,
.dashboard-row {
  display: grid;
  gap: 16px;
}

.problem-grid {
  grid-template-columns: repeat(3, 1fr);
}

.problem-grid article,
.system-grid article,
.lead-example,
.copy-card,
.analytics-panel,
.handoff-panel,
.calculator-shell,
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 42px rgba(17, 25, 28, 0.07);
}

.problem-grid article {
  min-height: 250px;
  padding: 26px;
}

.problem-grid span,
.system-grid b,
.step-kicker {
  display: inline-flex;
  min-width: 42px;
  min-height: 30px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #fff;
  background: var(--dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.problem-grid p,
.system-grid p,
.copy-card p,
.faq p {
  color: var(--muted);
  line-height: 1.62;
}

.system-band {
  margin: 70px 0;
  padding: 92px 0;
  color: #fff;
  background: var(--dark);
}

.system-inner {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
}

.system-band .section-kicker {
  color: #9bd2c0;
}

.system-band .section-head p,
.system-grid p,
.funnel-bars span,
.panel-top span,
.metric-row span,
.handoff-panel li {
  color: #bfd0d4;
}

.system-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 18px;
}

.system-grid article {
  min-height: 230px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.system-grid b {
  color: var(--dark);
  background: #d9efe8;
}

.dashboard-row {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
}

.analytics-panel,
.handoff-panel {
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.panel-top,
.metric-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.panel-top {
  margin-bottom: 22px;
}

.metric-row {
  margin-bottom: 20px;
}

.metric-row div {
  flex: 1;
  min-height: 90px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.metric-row strong {
  display: block;
  font-size: 2rem;
}

.funnel-bars {
  display: grid;
  gap: 10px;
}

.funnel-bars div {
  position: relative;
  min-height: 46px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.funnel-bars div::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: linear-gradient(90deg, rgba(24, 120, 90, 0.72), rgba(54, 123, 167, 0.58));
}

.funnel-bars span,
.funnel-bars b {
  position: relative;
}

.handoff-panel ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.handoff-panel li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.example-grid {
  grid-template-columns: minmax(310px, 0.78fr) minmax(0, 1.22fr);
}

.lead-example,
.copy-card {
  padding: 28px;
}

.phone-bar {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.86rem;
}

.phone-bar span {
  width: 62px;
  height: 9px;
  border-radius: 999px;
  background: #111;
}

dl {
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
}

dl div {
  padding: 14px;
  border-radius: 8px;
  background: var(--soft);
}

dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.mini-process {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.mini-process span {
  min-height: 58px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #174b3a;
  background: #e5f2ec;
  font-weight: 850;
}

.calculator-section {
  padding: 84px 0 92px;
}

.calculator-shell {
  overflow: hidden;
}

.calculator-hero {
  min-height: 310px;
  padding: 44px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(16, 42, 50, 0.98), rgba(16, 42, 50, 0.84)),
    url("/assets/hero-handwerk.jpg") center 40% / cover;
}

.calculator-hero .eyebrow,
.calculator-hero p {
  color: #d5e5e5;
}

.calculator-hero p {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 1.08rem;
  line-height: 1.62;
}

.lead-form {
  padding: 34px;
  background: #fff;
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  margin-bottom: 36px;
}

.steps span {
  min-height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fff;
  font-weight: 900;
}

.steps .active {
  color: #fff;
  background: var(--dark);
  border-color: var(--dark);
}

.steps small {
  display: block;
  font-size: 0.67rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.form-step {
  display: none;
  min-height: 300px;
  text-align: center;
}

.form-step.active {
  display: block;
}

.form-step h3 {
  max-width: 760px;
  margin: 14px auto 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.choice-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.choice-grid button,
.choice-row button {
  min-height: 118px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  text-align: left;
  font-weight: 880;
  box-shadow: 0 12px 26px rgba(17, 25, 28, 0.06);
}

.choice-grid button span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 650;
}

.choice-grid button.selected,
.choice-row button.selected {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(24, 120, 90, 0.12), 0 18px 34px rgba(24, 120, 90, 0.12);
}

.field-label,
.contact-grid label {
  display: grid;
  gap: 8px;
  color: #3a4247;
  font-weight: 820;
  text-align: left;
}

.field-label {
  max-width: 620px;
  margin: 26px auto 16px;
}

input {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  background: #fff;
}

input:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(54, 123, 167, 0.28);
  outline-offset: 2px;
}

.choice-row {
  max-width: 620px;
  margin: 14px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.choice-row button {
  min-height: 58px;
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.privacy-line {
  max-width: 860px;
  margin: 18px auto 0;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.45;
  text-align: left;
}

.privacy-line input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
}

.form-footer {
  display: grid;
  grid-template-columns: 160px 1fr 220px;
  gap: 16px;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.progress-text {
  text-align: center;
  color: var(--muted);
  font-weight: 850;
}

.submit-button {
  display: none;
}

.form-message {
  min-height: 26px;
  margin: 18px 0 0;
  color: var(--dark);
  font-weight: 800;
  text-align: center;
}

.faq {
  max-width: 940px;
}

.faq details {
  padding: 22px 26px;
  margin-bottom: 12px;
}

.faq summary {
  cursor: pointer;
  font-size: 1.12rem;
  font-weight: 850;
}

.site-footer {
  padding: 34px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 8px 0 0;
  color: var(--muted);
}

.footer-links {
  gap: 16px;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 22px;
  z-index: 40;
  width: min(960px, calc(100% - 32px));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 70px rgba(17, 25, 28, 0.22);
  transform: translateX(-50%);
}

.cookie-banner p {
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-actions {
  gap: 10px;
}

.cookie-actions button {
  min-width: 126px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f0f2f1;
  cursor: pointer;
  font-weight: 850;
}

.cookie-actions button:last-child {
  color: #fff;
  background: #111;
  border-color: #111;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-media,
  .hero-media img {
    min-height: 520px;
  }

  .split-head,
  .dashboard-row,
  .example-grid {
    grid-template-columns: 1fr;
  }

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

  .signal-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .site-header {
    top: 8px;
    width: calc(100% - 16px);
  }

  .nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: block;
    margin-left: auto;
  }

  .site-header.open .nav {
    position: absolute;
    inset: calc(100% + 8px) 0 auto 0;
    display: grid;
    justify-content: stretch;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }

  .hero,
  .section,
  .signal-strip,
  .calculator-section,
  .site-footer,
  .system-inner {
    width: min(100% - 28px, 1280px);
  }

  h1 {
    font-size: clamp(2.75rem, 13vw, 4.1rem);
  }

  h2 {
    font-size: clamp(2.1rem, 11vw, 3.4rem);
  }

  .hero {
    padding-top: 48px;
  }

  .hero-proof,
  .problem-grid,
  .system-grid,
  .choice-grid,
  .choice-grid.three,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-proof div,
  .hero-proof div + div {
    padding: 15px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-proof div:last-child {
    border-bottom: 0;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .form-footer {
    grid-template-columns: 1fr;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }
}

@media (max-width: 560px) {
  .lead {
    font-size: 1.03rem;
    line-height: 1.55;
  }

  .hero-actions {
    margin-bottom: 18px;
  }

  .hero-proof {
    display: none;
  }

  .hero-media,
  .hero-media img {
    min-height: 320px;
  }

  .calendar-pop {
    display: none;
  }

  .lead-pop {
    left: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
  }

  .signal-strip,
  .mini-process {
    grid-template-columns: 1fr;
  }

  .system-band {
    margin: 48px 0;
    padding: 64px 0;
  }

  .calculator-hero,
  .lead-form {
    padding: 26px 16px;
  }

  .choice-row {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-actions button {
    min-width: 0;
  }
}
