/* Antwortlotse — Lotsenbrücke: kühles Papier, Hafengrün, kein Dark-Glow-SaaS */

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/sora-latin-ext.woff2") format("woff2");
  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;
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/sora-latin.woff2") format("woff2");
  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: "Source Sans 3";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-ext.woff2") format("woff2");
  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;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
  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;
}

:root {
  --ink: #13202c;
  --ink-muted: #4a5c6a;
  --ink-soft: #6d7f8d;
  --paper: #f3f5f7;
  --paper-2: #e4eaef;
  --harbor: #145a63;
  --harbor-deep: #0d3d44;
  --harbor-soft: #d7e8ea;
  --lamp: #b8792f;
  --white: #ffffff;
  --line: rgba(19, 32, 44, 0.12);
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --max: 1080px;
  --nav-h: 68px;
  --radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--harbor);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--harbor-deep);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 0.55em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container.narrow {
  width: min(100% - 2.5rem, 40rem);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--harbor);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

/* —— Nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(243, 245, 247, 0.9);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(243, 245, 247, 0.96);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.brand-name {
  font-size: 1.12rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--ink-muted);
  font-weight: 560;
  font-size: 0.95rem;
}

.nav-links a:not(.btn):hover {
  color: var(--harbor);
}

/* Link-Farbe darf den Button nicht überschreiben (höhere Spezifität als .btn-primary). */
.nav-links a.btn-primary,
.nav-links a.btn-primary:hover,
.nav-links a.btn-primary:focus-visible {
  color: var(--white);
}

.nav-links a.btn-primary:hover,
.nav-links a.btn-primary:focus-visible {
  background: var(--harbor-deep);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  font-family: var(--font-body);
  color: var(--ink);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.78rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1.5px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

button.btn {
  appearance: none;
  -webkit-appearance: none;
}

.btn-primary {
  background: var(--harbor);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--harbor-deep);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(19, 32, 44, 0.22);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.55);
  color: var(--ink);
  border-color: rgba(19, 32, 44, 0.35);
}

.hero .btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* —— Hero: full-bleed product plane —— */
.hero {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 4.5rem 0 5rem;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transform: scale(1.02);
  animation: hero-drift 18s ease-in-out infinite alternate;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      100deg,
      rgba(10, 24, 30, 0.94) 0%,
      rgba(10, 24, 30, 0.82) 32%,
      rgba(10, 24, 30, 0.28) 58%,
      rgba(10, 24, 30, 0.08) 78%,
      rgba(10, 24, 30, 0.12) 100%
    ),
    linear-gradient(180deg, rgba(10, 24, 30, 0.15) 0%, rgba(10, 24, 30, 0.35) 100%);
}

.hero-copy {
  max-width: 36rem;
  animation: rise 0.8s ease both;
}

.hero-kds {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hero-brand-name {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 1rem;
  color: var(--white);
}

.hero h1 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 560;
  color: rgba(255, 255, 255, 0.94);
  max-width: 22ch;
  margin-bottom: 0.9rem;
  animation: rise 0.8s ease 0.08s both;
}

.hero-lead {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 34ch;
  margin-bottom: 1.75rem;
  animation: rise 0.8s ease 0.16s both;
}

.hero .btn-group {
  animation: rise 0.8s ease 0.24s both;
}

.hero .btn-primary {
  background: var(--white);
  color: var(--harbor-deep);
}

.hero .btn-primary:hover {
  background: var(--harbor-soft);
  color: var(--harbor-deep);
}

/* —— Sections —— */
.section {
  padding: 5rem 0;
}

.section-band {
  background:
    linear-gradient(180deg, #e8eef2 0%, #f3f5f7 100%);
  border-block: 1px solid rgba(19, 32, 44, 0.06);
}

.section-intro {
  max-width: 36rem;
  margin-bottom: 2.4rem;
}

.section-intro h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.section-intro p {
  color: var(--ink-muted);
  margin: 0;
  font-size: 1.08rem;
}

.prose p {
  color: var(--ink-muted);
  font-size: 1.12rem;
}

.prose-punch {
  font-family: var(--font-display);
  font-weight: 650;
  color: var(--ink) !important;
  font-size: 1.2rem !important;
  margin-top: 1.5rem;
  padding-left: 0.9rem;
  border-left: 3px solid var(--lamp);
}

#wozu h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  margin-bottom: 1.25rem;
}

/* Steps — no cards */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.steps > li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.25rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--lamp);
  letter-spacing: 0.04em;
  padding-top: 0.15rem;
}

.steps h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.steps p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 42rem;
}

/* Screenshots */
.shot-stack {
  display: grid;
  gap: 2rem;
}

.shot {
  margin: 0;
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
  border: 1px solid var(--line);
  background: transparent;
}

.shot figcaption {
  margin-top: 0.7rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

/* Voraussetzungen */
.req-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  max-width: 48rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--line);
}

.req-cols h3 {
  font-size: 1.1rem;
  margin: 1.1rem 0 0.65rem;
}

.req-cols ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-muted);
}

.req-cols li + li {
  margin-top: 0.4rem;
}

.req-note {
  margin: 1.75rem 0 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 42rem;
}

/* Start CTA */
.start-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.start-panel h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  margin-bottom: 0.45rem;
}

.start-panel p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 38rem;
}

/* FAQ */
.faq-list {
  max-width: 44rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.05rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-weight: 500;
  color: var(--harbor);
  font-size: 1.25rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item .faq-body {
  padding: 0 0 1.15rem;
  color: var(--ink-muted);
}

.faq-item .faq-body p:last-child {
  margin-bottom: 0;
}

/* Signup page */
.signup-page {
  padding: 4.5rem 0 3.5rem;
  background:
    linear-gradient(180deg, #e8eef2 0%, var(--paper) 55%);
}

.signup-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 880px) {
  .signup-layout {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.75rem;
  }
}

.signup-intro h1 {
  margin: 0.2rem 0 0.85rem;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
}

.signup-intro > p {
  color: var(--ink-muted);
  margin: 0 0 1.15rem;
}

.signup-note {
  list-style: none;
  margin: 0;
  padding: 0;
}

.signup-note li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}

.signup-note li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--lamp);
}

.signup-panel {
  padding: 1.6rem 1.4rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.signup-panel h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.waitlist-form label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
}

.waitlist-form input[type="email"] {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  color: var(--ink);
  background: var(--paper);
}

.waitlist-form input[type="email"]:focus {
  outline: 2px solid var(--harbor);
  outline-offset: 1px;
  background: var(--white);
}

.waitlist-consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-top: 0.35rem;
  font-weight: 400;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink-muted);
  cursor: pointer;
}

.waitlist-consent input[type="checkbox"] {
  margin-top: 0.2rem;
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
  accent-color: var(--harbor);
}

.waitlist-form__hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.waitlist-form__status {
  margin: 0.15rem 0 0;
  font-size: 0.95rem;
}

.waitlist-form__status.is-ok {
  color: var(--harbor-deep);
}

.waitlist-form__status.is-error {
  color: #9b1c1c;
}

.waitlist-form .btn-primary {
  margin-top: 0.35rem;
  width: 100%;
}

.waitlist-form .btn-primary:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* Footer */
.site-footer {
  padding: 2.75rem 0 2rem;
  border-top: 1px solid var(--line);
  background: #dde4ea;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-product {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.site-footer p,
.site-footer a {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.site-footer h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li + li {
  margin-top: 0.4rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--harbor);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(19, 32, 44, 0.1);
  font-size: 0.88rem;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

/* Legal */
.legal-page {
  padding: 3rem 0 5rem;
}

.legal-page .container {
  max-width: 44rem;
}

.legal-page h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.35rem;
}

.legal-meta {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.legal-page h2 {
  font-size: 1.2rem;
  margin-top: 2rem;
}

.legal-page h3 {
  font-size: 1.05rem;
  margin-top: 1.25rem;
}

.placeholder {
  display: inline;
  background: #fef3c7;
  color: #92400e;
  padding: 0.05em 0.35em;
  border-radius: 4px;
  font-family: ui-monospace, monospace;
  font-size: 0.92em;
  font-weight: 600;
}

.legal-callout {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  border-left: 4px solid #d97706;
  background: #fffbeb;
  border-radius: 0 8px 8px 0;
  color: #78350f;
  font-size: 0.95rem;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.05) translate3d(-1.2%, -0.8%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .footer-grid,
  .req-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    top: calc(var(--nav-h) + 0.35rem);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a,
  .nav-links .btn {
    display: block;
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius);
    text-align: left;
  }

  .nav-links a:not(.btn):hover {
    background: var(--harbor-soft);
  }

  .nav-links .btn-primary {
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    align-items: center;
  }

  .hero-scrim {
    background:
      linear-gradient(
        180deg,
        rgba(10, 24, 30, 0.55) 0%,
        rgba(10, 24, 30, 0.78) 42%,
        rgba(10, 24, 30, 0.92) 100%
      );
  }

  .steps > li {
    grid-template-columns: 3.2rem 1fr;
    gap: 0.85rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 1.5rem, var(--max));
  }

  .footer-grid,
  .req-cols {
    grid-template-columns: 1fr;
  }

  .btn-group {
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
  }

  .start-panel {
    flex-direction: column;
    align-items: stretch;
  }

  .start-panel .btn {
    width: 100%;
  }
}
