/* benchscout Website — Nachbau der Framer-Seite (Spec W1). Nur Geist, self-hosted. */

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/geist-latin-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/fonts/geist-latin-ext-wght-normal.woff2') format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #20303c;
  --muted: #494d4d;
  --page: #f7f7f7;
  --white: #ffffff;
  --chip: #e8e8e8;
  --card: rgba(32, 48, 60, 0.05);
  --shadow: 0 8px 20px rgba(32, 48, 60, 0.05);
  --shadow-dark: 0 4px 10px rgba(32, 48, 60, 0.5);
  --gutter: 40px;
  --max: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: 'Geist', system-ui, sans-serif;
  font-size: 18px;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 500;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border: 0;
  border-radius: 100px;
  font: inherit;
  font-size: 18px;
  line-height: 1.3;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}
.btn-dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-dark);
}
.btn-light {
  background: var(--white);
  color: var(--ink);
}
.btn-grey {
  background: var(--chip);
  color: var(--ink);
}
.btn img {
  width: 15px;
  height: 18px;
}

.chip {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 100px;
  background: var(--white);
  font-size: 14px;
  line-height: 1.3;
}

/* Header ----------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 30px var(--gutter);
  pointer-events: none;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  max-width: var(--max);
  margin: 0 auto;
  transition: max-width 0.45s ease;
}
.site-header.is-scrolled .header-inner {
  max-width: 724px;
}
.header-bar {
  display: contents;
}
.pill {
  pointer-events: auto;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
}
.brand {
  display: block;
  padding: 16px;
}
.brand img {
  width: 149px;
  height: 28px;
}
.nav-links {
  display: flex;
  gap: 6px;
  padding: 6px;
}
.nav-links a {
  padding: 16px 28px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--muted);
  transition: background 0.2s ease;
}
.nav-links a:hover {
  background: var(--page);
}
.store-links {
  display: flex;
  gap: 6px;
  padding: 6px;
}
.icon-btn {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 16px;
  background: var(--chip);
  cursor: pointer;
}
.icon-btn img {
  width: 22px;
  height: 22px;
}
.menu-toggle,
.mobile-menu,
.menu-overlay {
  display: none;
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  height: 791px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  text-align: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--ink);
  opacity: 0.75;
}
.hero-fade {
  z-index: 2;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 300px;
  filter: blur(10px);
}
.hero-fade svg {
  /* Feste Höhe statt Seitenverhältnis: Die Kurve bleibt bei jeder Fensterbreite unter dem Button. */
  position: absolute;
  left: -120px;
  width: calc(100% + 240px);
  height: 250px;
  bottom: -110px;
  fill: var(--page);
}
.hero-fade::after {
  content: '';
  position: absolute;
  left: -20px;
  right: -20px;
  bottom: -10px;
  height: 90px;
  background: var(--page);
}
.hero-content {
  position: relative;
  z-index: 3;
  padding-top: 220px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 6px 17px 6px 6px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 14px;
  line-height: 1.3;
}
.badge span {
  padding: 2px 8px;
  border-radius: 50px;
  background: var(--ink);
}
.hero h1 {
  text-wrap: balance;
  max-width: 920px;
  margin: 20px auto 0;
  font-size: 90px;
  line-height: 1;
}
.hero-lead {
  max-width: 500px;
  margin: 40px auto 0;
  font-size: 22px;
  line-height: 1.4;
}
.hero .btn {
  margin-top: 20px;
}

/* Sections --------------------------------------------------------------- */
.section-head h2 {
  margin-top: 10px;
  font-size: 48px;
  line-height: 1.2;
}
.lead,
.text {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.3;
}

.features {
  padding-top: 120px;
}
.features .section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.features .section-head h2 {
  max-width: 595px;
}
.features .lead {
  max-width: 420px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin: 51px 0 0;
  padding: 0;
  list-style: none;
}
.step {
  min-height: 258px;
  padding: 32px;
  border-radius: 20px;
  background: var(--card);
}
.step-no {
  font-size: 14px;
  color: var(--muted);
}
.step h3,
.pillar h3 {
  margin-top: 10px;
  font-size: 26px;
  line-height: 1.2;
}
.step .text {
  margin-top: 11px;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.pillar h3 {
  margin-top: 0;
  min-height: 2.4em;
}
.pillar .text {
  margin-top: 10px;
}

/* FAQ -------------------------------------------------------------------- */
.faq {
  display: grid;
  grid-template-columns: 412px 1fr;
  gap: 100px;
  padding-top: 140px;
}
.faq .section-head h2 {
  max-width: 412px;
}
.faq-list {
  display: grid;
  gap: 10px;
  align-content: start;
}
.faq-item {
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 20px 20px;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-toggle {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--chip);
}
.faq-toggle::before,
.faq-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  border-radius: 3px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}
.faq-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-item[open] .faq-toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq-item .text {
  padding: 0 20px 25px;
  margin-top: -2px;
}

/* App-CTA ---------------------------------------------------------------- */
.app-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 40px;
  padding-top: 180px;
}
.app-cta {
  padding-bottom: 70px;
}
.app-cta > div {
  padding-top: 94px;
}
.app-cta h2 {
  max-width: 469px;
  font-size: 34px;
  line-height: 1.2;
}
.app-cta .text {
  max-width: 469px;
  margin-top: 10px;
}
.app-cta .buttons {
  display: grid;
  justify-items: start;
  gap: 20px;
  margin-top: 31px;
}
.app-cta .note {
  margin-top: 30px;
  font-size: 14px;
  color: var(--muted);
}
.app-cta .phone {
  width: 390px;
  height: auto;
  margin-right: 141px;
}

/* Footer ----------------------------------------------------------------- */
.site-footer {
  padding: 130px 0 30px;
}
.site-footer .brand-footer img {
  width: 159px;
  height: 30px;
}
.footer-cta {
  margin-top: 40px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.2;
}
.site-footer .text {
  margin-top: 10px;
}
.site-footer .btn {
  margin-top: 21px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-top: 90px;
}
.footer-bottom .text {
  margin: 0;
  max-width: 800px;
}
.footer-links {
  display: flex;
  gap: 100px;
}

/* Unterseiten ------------------------------------------------------------ */
.page {
  padding-top: 200px;
}
.page h1 {
  font-size: 48px;
  line-height: 1.2;
}
.page-narrow {
  max-width: 720px;
}

/* Tablet ----------------------------------------------------------------- */
@media (max-width: 1199px) {
  .hero h1 {
    font-size: 70px;
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .faq {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .app-cta .phone {
    width: 340px;
    margin-right: 0;
  }
}

/* Mobile ----------------------------------------------------------------- */
@media (max-width: 809px) {
  :root {
    --gutter: 20px;
  }
  html {
    scroll-padding-top: 90px;
  }

  .site-header {
    padding: 20px var(--gutter);
  }
  .header-inner {
    display: block;
    max-width: none;
    padding: 0;
    position: relative;
  }
  .site-header.is-scrolled .header-inner {
    max-width: none;
  }
  .header-bar {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .site-header.menu-open .header-bar {
    border-radius: 16px 16px 0 0;
  }
  .pill {
    box-shadow: none;
  }
  .brand,
  .site-header .pill.brand {
    padding: 2px 0;
  }
  .site-header .nav-links {
    display: none;
  }
  .store-links {
    padding: 0;
  }
  .icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  .icon-btn img {
    width: 16px;
    height: 16px;
  }
  .menu-toggle {
    display: grid;
    align-content: center;
    gap: 4px;
    justify-items: center;
  }
  .menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 8px;
    background: var(--muted);
    transition: transform 0.25s ease;
  }
  .site-header.menu-open .menu-toggle span:first-child {
    transform: translateY(3px) rotate(45deg);
  }
  .site-header.menu-open .menu-toggle span:last-child {
    transform: translateY(-3px) rotate(-45deg);
  }
  .mobile-menu {
    pointer-events: auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: grid;
    gap: 6px;
    padding: 6px 12px 12px;
    background: var(--white);
    border-radius: 0 0 16px 16px;
    box-shadow: var(--shadow);
  }
  .mobile-menu[hidden] {
    display: none;
  }
  .mobile-menu a {
    padding: 6px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--muted);
  }
  .menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 9;
    background: rgba(32, 48, 60, 0.1);
  }
  .site-header.menu-open + .menu-overlay {
    display: block;
  }

  .hero {
    height: 716px;
  }
  .hero-content {
    padding-top: 160px;
  }
  .hero h1 {
    margin-top: 20px;
    font-size: 44px;
  }
  .hero-lead {
    max-width: 310px;
    margin-top: 20px;
    font-size: 18px;
  }
  .hero .btn {
    padding: 12px 26px;
    font-size: 16px;
  }
  .hero-fade svg {
    left: -63px;
    width: calc(100% + 126px);
    height: 142px;
    bottom: -22px;
  }
  .hero-fade::after {
    height: 50px;
  }

  .btn {
    padding: 12px 26px;
    font-size: 16px;
  }
  .section-head h2 {
    font-size: 38px;
  }
  .lead,
  .text {
    font-size: 16px;
  }
  .features {
    padding-top: 140px;
  }
  .features .section-head {
    display: block;
  }
  .features .lead {
    margin-top: 10px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }
  .step {
    min-height: 0;
  }
  .step h3,
  .pillar h3 {
    font-size: 22px;
  }
  .pillars {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 10px;
  }
  .pillar h3 {
    min-height: 0;
  }
  .faq {
    padding-top: 140px;
  }
  .faq-item summary {
    padding: 12px 12px 12px 20px;
    font-size: 16px;
  }
  .faq-toggle {
    width: 32px;
    height: 32px;
  }
  .app-cta {
    grid-template-columns: 1fr;
    padding-top: 110px;
  }
  .app-cta h2 {
    font-size: 28px;
  }
  .app-cta .buttons {
    justify-items: center;
  }
  .app-cta > div {
    padding-top: 0;
  }
  .app-cta .phone {
    justify-self: center;
    width: 280px;
  }
  .site-footer {
    padding-top: 140px;
  }
  .app-cta,
  .notice {
    padding-bottom: 0;
  }
  .footer-cta {
    font-size: 20px;
  }
  .site-footer .btn {
    padding: 16px 34px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 100px;
  }
  .footer-links {
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    gap: 20px;
  }
  .page {
    padding-top: 140px;
  }
  .page h1 {
    font-size: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
  }
}

/* Waitlist ------------------------------------------------------------- */
.waitlist {
  display: grid;
  grid-template-columns: 1fr 340px;
  align-items: start;
  gap: 40px;
  max-width: calc(1080px + 2 * var(--gutter));
  margin: 0 auto;
  padding-top: 200px;
}
.waitlist > div {
  padding-top: 95px;
}
.waitlist h1 {
  max-width: 480px;
  font-size: 48px;
  line-height: 1.2;
}
.waitlist .intro {
  max-width: 440px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.4;
}
.waitlist-form {
  display: grid;
  gap: 20px;
  max-width: 600px;
  margin-top: 40px;
}
.field {
  display: grid;
  gap: 8px;
}
.field-label {
  font-size: 14px;
  color: var(--muted);
}
.input,
.select {
  width: 100%;
  height: 54px;
  border: 0;
  border-radius: 100px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}
.input {
  padding: 10px 20px;
  background: var(--chip);
}
.input::placeholder {
  color: rgba(32, 48, 60, 0.5);
}
.select {
  appearance: none;
  padding: 0 48px 0 20px;
  background: rgba(187, 187, 187, 0.15)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath stroke='%23999' stroke-width='1.5' d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E")
    no-repeat right 22px center;
  font-size: 14px;
  cursor: pointer;
}
.select:invalid,
.select.is-empty {
  color: #999999;
}
.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
}
.consent input {
  appearance: none;
  width: 20px;
  height: 20px;
  margin: 0;
  border-radius: 4px;
  background: rgba(187, 187, 187, 0.2);
  cursor: pointer;
}
.consent input:checked {
  background: var(--ink)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10' fill='none'%3E%3Cpath stroke='%23fff' stroke-width='2' d='m1 5 3.5 3.5L11 1'/%3E%3C/svg%3E")
    no-repeat center;
}
.waitlist-form .btn {
  justify-self: start;
}
.form-error {
  min-height: 0;
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.form-error:empty {
  display: none;
}
.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.waitlist .phone {
  width: 340px;
  height: auto;
}

/* Danke / 404 ------------------------------------------------------------ */
.notice {
  max-width: calc(700px + 2 * var(--gutter));
  margin: 0 auto;
  padding-top: 200px;
  padding-bottom: 90px;
}
.notice h1 {
  font-size: 48px;
  line-height: 1.2;
}
.notice .intro {
  margin-top: 24px;
  color: var(--muted);
  font-size: 22px;
  line-height: 1.4;
}
.notice .text {
  margin-top: 25px;
}
.notice .btn {
  margin-top: 30px;
}
.notice-404 {
  text-align: center;
}
.notice-404 .code {
  font-size: 220px;
  font-weight: 500;
  line-height: 0.8;
}
.notice-404 h1 {
  margin-top: 50px;
  font-size: 34px;
}
.notice-404 .text {
  margin-top: 10px;
}
.notice-404 .btn {
  margin-top: 20px;
}

@media (max-width: 1199px) {
  .waitlist {
    grid-template-columns: 1fr 280px;
  }
  .waitlist .phone {
    width: 280px;
  }
}

@media (max-width: 809px) {
  .waitlist {
    grid-template-columns: 1fr;
    padding-top: 140px;
  }
  .waitlist > div {
    padding-top: 0;
  }
  .select {
    font-size: 16px; /* verhindert iOS-Zoom beim Antippen */
  }
  .waitlist h1 {
    font-size: 38px;
  }
  .waitlist .intro,
  .notice .intro {
    font-size: 18px;
  }
  .waitlist .phone {
    justify-self: center;
    width: 280px;
    margin-top: 40px;
  }
  .notice {
    padding-top: 140px;
  }
  .notice h1 {
    font-size: 38px;
  }
  .notice-404 .code {
    font-size: 140px;
  }
  .notice-404 h1 {
    font-size: 28px;
  }
}

/* Rechtsseiten ------------------------------------------------------------ */
.legal {
  max-width: calc(700px + 2 * var(--gutter));
  margin: 0 auto;
  padding-top: 220px;
  padding-bottom: 90px;
}
.legal-head {
  text-align: center;
  margin-bottom: 60px;
}
.legal-head h1 {
  font-size: 64px;
  line-height: 1.1;
}
.legal-head p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 22px;
}
.legal h2 {
  margin: 40px 0 12px;
  font-size: 32px;
  line-height: 1.2;
}
.legal p,
.legal li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.5;
}
.legal p + p,
.legal ul + p,
.legal p + ul {
  margin-top: 12px;
}
.legal ul {
  margin: 0;
  padding-left: 22px;
}
.legal a {
  text-decoration: underline;
}

@media (max-width: 809px) {
  .legal {
    padding-top: 140px;
    padding-bottom: 0;
  }
  .legal-head h1 {
    font-size: 40px;
  }
  .legal-head p {
    font-size: 18px;
  }
  .legal h2 {
    font-size: 24px;
  }
  .legal p,
  .legal li {
    font-size: 16px;
  }
}
