/* Spindle Landing Page: Design-Tokens */
:root {
  color-scheme: light;
  --ink: #0f172a;
  --ink-soft: #334155;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-alt: #f6f8fb;
  --surface: #ffffff;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --accent: #2457d6;
  --accent-hover: #1c46b3;
  --accent-soft: #e8eefc;
  --accent-contrast: #ffffff;
  --dark: #0f172a;
  --success: #15803d;
  --error: #b91c1c;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 24px 48px -16px rgba(15, 23, 42, 0.25);
  --container: 1120px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}

p {
  margin: 0;
}

a {
  color: var(--accent);
}

ul {
  margin: 0;
  padding: 0;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-narrow {
  max-width: 760px;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: 0.5rem 0.75rem;
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius-sm);
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    transform 0.05s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: 1px;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-contrast);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-light {
  background: #fff;
  color: var(--dark);
}

.btn-light:hover {
  background: #e8eefc;
}

.btn-small {
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--accent);
  position: relative;
}

.brand-mark::after {
  content: '';
  position: absolute;
  inset: 0.45rem;
  border-radius: 50%;
  background: #fff;
}

.brand-name {
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.nav-links {
  display: none;
  gap: 1.75rem;
}

.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--ink);
}

/* Inaktiver Navigationspunkt mit Tooltip (Preise) */
.nav-disabled {
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: not-allowed;
  opacity: 0.6;
}

.nav-disabled:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 4px;
  border-radius: 4px;
}

.tooltip {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  width: max-content;
  max-width: 18rem;
  padding: 0.55rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.4;
  color: #fff;
  background: var(--dark);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
  z-index: 60;
}

.tooltip::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: var(--dark);
}

.nav-disabled:hover .tooltip,
.nav-disabled:focus-visible .tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

@media (min-width: 820px) {
  .nav-links {
    display: flex;
  }
}

/* Hero */
.hero {
  padding: 4rem 0 3.5rem;
  background:
    radial-gradient(60% 50% at 80% 0%, #e8eefc 0%, rgba(232, 238, 252, 0) 70%),
    var(--bg);
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .hero {
    padding: 6rem 0 5rem;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 4rem;
  }
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  min-height: 2.3em;
  position: relative;
}

/* Walzen des Slogans: „statt“ steht fest, die Wörter rollen nach unten weiter */
.reel {
  display: inline-block;
  vertical-align: top;
  height: 1.15em;
  overflow: hidden;
  transition: width 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.reel-track {
  display: block;
  transition: transform 0.65s cubic-bezier(0.65, 0, 0.25, 1);
  will-change: transform;
}

.reel-track > span {
  display: block;
  height: 1.15em;
  line-height: 1.15;
  white-space: nowrap;
}

.reel-fixed {
  display: inline-block;
  vertical-align: top;
}

.reel-measure {
  position: absolute;
  visibility: hidden;
  white-space: nowrap;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .reel,
  .reel-track {
    transition: none;
  }
}

.lead {
  font-size: 1.2rem;
  color: var(--ink-soft);
  max-width: 34rem;
  margin-bottom: 1.75rem;
}

.micro {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

/* Inline-Formular im Hero */
.waitlist-form-inline {
  max-width: 34rem;
}

.inline-row {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

@media (min-width: 560px) {
  .inline-row {
    flex-direction: row;
  }

  .inline-row input {
    flex: 1;
  }
}

/* Mockup rechts im Hero */
.hero-visual {
  display: flex;
  justify-content: center;
}

.mock {
  width: 100%;
  max-width: 24rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 0.95rem;
}

.mock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.mock-title {
  font-weight: 600;
}

.mock-pill {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--success);
  background: #dcfce7;
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
}

.mock-list {
  list-style: none;
}

.mock-list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.mock-loc {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 6px;
  padding: 0.25rem 0.5rem;
}

.mock-item {
  color: var(--ink);
}

.mock-qty {
  font-weight: 600;
  color: var(--muted);
}

.mock-qty::before {
  content: '×';
  margin-right: 0.15rem;
  font-weight: 400;
}

.mock-foot {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.25rem;
  font-weight: 600;
  color: var(--success);
  background: #f0fdf4;
}

.mock-check {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--success);
  position: relative;
}

.mock-check::after {
  content: '';
  position: absolute;
  left: 0.42rem;
  top: 0.22rem;
  width: 0.3rem;
  height: 0.55rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Kernversprechen */
.proof {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.proof-grid {
  display: grid;
  gap: 1.25rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.proof-grid div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.proof-grid strong {
  font-weight: 600;
}

.proof-grid span {
  font-size: 0.9rem;
  color: var(--muted);
}

@media (min-width: 640px) {
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .proof-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
}

/* Inhaltsblöcke */
.block {
  padding: 4.5rem 0;
}

.block-alt {
  background: var(--bg-alt);
}

@media (min-width: 900px) {
  .block {
    padding: 6rem 0;
  }
}

.block-head {
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

.kicker {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.block h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}

.sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-top: 1rem;
}

/* Karten */
.cards {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .cards-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.feature .icon {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature .icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Umfang zum Start */
.modules {
  margin-top: 3rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .modules {
    grid-template-columns: 1fr 2fr;
    gap: 2.5rem;
    align-items: center;
  }
}

.modules-head h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.modules-head p {
  color: var(--muted);
  font-size: 0.95rem;
}

.modules-list {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

@media (min-width: 560px) {
  .modules-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.modules-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
}

.modules-list li::before {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* CTA-Band */
.band {
  background: var(--dark);
  color: #fff;
  padding: 3.5rem 0;
}

.band-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.band h2 {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  margin-bottom: 0.5rem;
}

.band p {
  color: #cbd5e1;
  max-width: 40rem;
}

@media (min-width: 820px) {
  .band-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
  }
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 1.25rem;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 0;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1;
  flex: none;
}

.faq details[open] summary::after {
  content: '−';
}

.faq details p {
  padding-bottom: 1.25rem;
  color: var(--ink-soft);
}

/* Warteliste */
.waitlist {
  border-top: 1px solid var(--border);
}

.waitlist-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .waitlist-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.waitlist-copy h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.benefits {
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.benefits li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--ink-soft);
}

.benefits li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 700;
}

.benefits strong {
  color: var(--ink);
}

.waitlist-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

/* Formulare */
.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

input[type='email'],
input[type='text'] {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
}

input[type='email']:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.field-checkbox {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.field-checkbox input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--accent);
}

.field-checkbox label {
  margin: 0;
  font-weight: 400;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-message {
  font-weight: 600;
  font-size: 0.95rem;
  min-height: 1.4em;
  margin-top: 0.75rem;
}

.form-message.success {
  color: var(--success);
}

.form-message.error {
  color: var(--error);
}

.privacy-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

.privacy-note a {
  color: var(--muted);
}

/* Fußzeile */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--muted);
}

@media (min-width: 720px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* Rechtliche Seiten (impressum.html, datenschutz.html) */
main > .section {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

main > .section h2 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

main > .section h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}

main > .section p {
  margin-bottom: 0.75rem;
  color: var(--ink-soft);
}

body > footer:not(.footer) {
  max-width: 760px;
  margin: 0 auto 3rem;
  padding: 1.5rem 1.25rem 0;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
}

body > footer:not(.footer) a {
  color: var(--muted);
}
