/* =========================================================================
   AngebotsCheck — refined minimalist landing page
   Anthracite on warm paper. Hairline structure. Generous whitespace.
   ========================================================================= */

:root {
  /* Palette — anthracite dominant on warm paper */
  --ink: #23262a;          /* off-black, slightly cool anthracite */
  --ink-soft: #3a3e44;
  --muted: #6c7076;        /* secondary text */
  --faint: #9a9ea4;        /* tertiary / labels */
  --paper: #ffffff;        /* base surface */
  --paper-warm: #f5f4f1;   /* warm off-white sections */
  --paper-warm-2: #efede8;
  --line: #e4e2dc;         /* hairlines */
  --line-strong: #d3d0c9;
  --accent: #b5502e;       /* desaturated terracotta — used only as a hairline/detail */

  --shadow-card: 0 1px 2px rgba(35, 38, 42, 0.04),
    0 18px 40px -24px rgba(35, 38, 42, 0.28);

  --font-body: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;

  --wrap: 1080px;
  --measure: 44rem;

  --ease: cubic-bezier(0.4, 0, 0.1, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.01em;
}

p {
  margin: 0;
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.measure {
  max-width: var(--measure);
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  border-radius: 0 0 6px 0;
  font-size: 0.9rem;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
}
.brand-mark {
  display: inline-flex;
  color: var(--ink);
}
.brand-name {
  font-size: 1.02rem;
  letter-spacing: -0.01em;
}
.header-cta {
  font-size: 0.92rem;
  color: var(--muted);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.header-cta:hover {
  color: var(--ink);
  border-color: var(--ink);
}
@media (max-width: 560px) {
  .header-cta {
    display: none;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 10px 24px -14px rgba(35, 38, 42, 0.7);
}
.btn-primary:hover {
  background: #14171a;
  transform: translateY(-1px);
}
.btn-primary:active {
  transform: translateY(0);
}
.btn-primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn-block {
  width: 100%;
  padding-block: 1.05rem;
}

/* ---------- Hero ---------- */
.hero {
  padding-top: clamp(3.5rem, 9vw, 7rem);
  padding-bottom: clamp(3.5rem, 8vw, 6.5rem);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  max-width: 54rem;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1.6rem;
  padding-left: 1.9rem;
  position: relative;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 1.4rem;
  height: 1px;
  background: var(--accent);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.3rem, 1.4rem + 4.4vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 18ch;
}
.hero-sub {
  margin-top: 1.6rem;
  font-size: clamp(1.08rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 40rem;
}
.hero-actions {
  margin-top: 2.4rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-note {
  font-size: 0.92rem;
  color: var(--faint);
}

/* Hero trust line + feature bullets */
.hero-trust {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--faint);
  letter-spacing: 0.01em;
}
.hero-bullets {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.6rem;
}
.hero-bullets li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.hero-bullets svg {
  flex: none;
  color: var(--accent);
}
/* Mobile: every bullet on its own line, left-aligned */
@media (max-width: 560px) {
  .hero-bullets {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 1rem;
  }
  .hero-bullets li {
    align-items: flex-start;
  }
}

/* ---------- Generic section rhythm ---------- */
.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.section-kicker {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1.4rem;
}
.section-head {
  margin-bottom: clamp(2.2rem, 4vw, 3.2rem);
  max-width: 40rem;
}
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.section-desc {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- Problem ---------- */
.problem {
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.lead {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.25rem, 1.05rem + 0.9vw, 1.7rem);
  line-height: 1.5;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
}

/* ---------- Ergebnis: konkrete Hinweise + Beispiel-Auswertung ---------- */
.outcome-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.outcome-list {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.outcome-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--ink-soft);
  line-height: 1.5;
}
.outcome-list svg {
  flex: none;
  margin-top: 0.25rem;
  color: var(--accent);
}

.report-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(1.4rem, 3vw, 1.9rem);
  box-shadow: var(--shadow-card);
}
.report-caption {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1.1rem;
}
.report-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--line);
}
.report-mark {
  display: inline-flex;
  color: var(--ink);
}
.report-brand {
  font-weight: 500;
  letter-spacing: -0.01em;
}
.report-metrics {
  margin: 1.1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.report-metric {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.report-metric dt {
  color: var(--muted);
  font-size: 0.95rem;
}
.report-metric dd {
  margin: 0;
}
.report-badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  background: var(--paper-warm);
}
.report-badge.is-good {
  border-color: color-mix(in srgb, #3f7d54 40%, var(--line));
  color: #35704a;
}
.report-badge.is-check {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  color: var(--accent);
}
.report-badge.is-mid {
  border-color: var(--line-strong);
  color: var(--muted);
}
.report-block {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.report-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 0.6rem;
}
.report-hints {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
}
.report-hints li {
  margin-bottom: 0.4rem;
  line-height: 1.5;
}
.report-hints li:last-child {
  margin-bottom: 0;
}
.report-reco-text {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--ink);
  line-height: 1.45;
}
@media (max-width: 760px) {
  .outcome-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Was geprüft wird ---------- */
.checks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.check {
  padding: clamp(1.8rem, 3vw, 2.6rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.3s var(--ease);
}
.check:hover {
  background: var(--paper-warm);
}
.check-index {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}
.check-title {
  margin-top: 0.9rem;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.check-text {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 30ch;
}
.checks-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 860px) {
  .checks-grid.cols-3 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .checks-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- So läuft's ---------- */
.steps {
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.steps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  counter-reset: none;
}
.step {
  position: relative;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line-strong);
}
.step-num {
  position: absolute;
  top: -0.1rem;
  left: 0;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink);
}
.step-title {
  font-size: 1.2rem;
  font-weight: 500;
}
.step-text {
  margin-top: 0.5rem;
  color: var(--muted);
}
@media (max-width: 720px) {
  .steps-list {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }
}

/* ---------- Upload ---------- */
.upload {
  padding-block: clamp(4rem, 9vw, 7rem);
}
.upload-card {
  max-width: 40rem;
  margin-inline: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: var(--shadow-card);
}
.upload-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 1.3rem + 1.3vw, 2.2rem);
  letter-spacing: -0.015em;
}
.upload-intro {
  margin-top: 0.8rem;
  color: var(--muted);
}
.offer-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Honeypot — hidden from humans */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.field-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.field-optional {
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--faint);
}

.input,
.textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper-warm);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.textarea {
  resize: vertical;
  line-height: 1.55;
}
.input::placeholder,
.textarea::placeholder {
  color: var(--faint);
}
.input:focus,
.textarea:focus {
  outline: none;
  background: var(--paper);
  border-color: var(--ink-soft);
  box-shadow: 0 0 0 3px rgba(35, 38, 42, 0.08);
}

/* Select */
.select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background-color: var(--paper-warm);
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  padding: 0.85rem 2.5rem 0.85rem 1rem;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236c7076' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.1rem;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}
.select:focus {
  outline: none;
  background-color: var(--paper);
  border-color: var(--ink-soft);
  box-shadow: 0 0 0 3px rgba(35, 38, 42, 0.08);
}

/* File drop */
.file-drop {
  position: relative;
  border: 1px dashed var(--line-strong);
  border-radius: 11px;
  background: var(--paper-warm);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.file-drop.is-dragover,
.file-drop:focus-within {
  border-color: var(--ink-soft);
  background: var(--paper);
}
.file-drop.has-file {
  border-style: solid;
  border-color: var(--ink-soft);
  background: var(--paper);
}
.file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.file-drop-inner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.15rem 1.2rem;
  pointer-events: none;
}
.file-icon {
  flex: none;
  color: var(--muted);
}
.file-drop-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.file-drop-text strong {
  font-weight: 500;
  color: var(--ink);
}
.file-hint {
  font-size: 0.85rem;
  color: var(--faint);
}

/* "oder" divider */
.field-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--faint);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.field-divider::before,
.field-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.form-privacy {
  font-size: 0.85rem;
  color: var(--faint);
  text-align: center;
  line-height: 1.5;
}

/* ---------- Wichtig / disclaimer ---------- */
.disclaimer {
  max-width: var(--measure);
  margin-inline: auto;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 10px;
  padding: clamp(1.4rem, 3vw, 2rem);
}
.disclaimer .section-kicker {
  margin-bottom: 0.8rem;
}
.disclaimer p {
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ---------- Trust line ---------- */
.trust-line {
  max-width: 34rem;
  margin: 2.4rem auto 0;
  text-align: center;
  color: var(--muted);
  font-family: var(--font-display);
  font-size: 1.08rem;
  line-height: 1.55;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 2.25rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-brand {
  font-size: 0.92rem;
  color: var(--muted);
}
.footer-nav {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
}
.footer-nav a {
  font-size: 0.92rem;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}
.footer-nav a:hover {
  color: var(--ink);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .check,
  .site-header {
    transition: none;
  }
}

/* ---------- Legal / content pages ---------- */
.doc {
  padding-top: clamp(3rem, 7vw, 5rem);
  padding-bottom: clamp(4rem, 9vw, 7rem);
}
.doc-inner {
  max-width: 44rem;
}
.doc h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.doc .doc-sub {
  color: var(--faint);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}
.doc h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.4rem;
  margin-top: 2.5rem;
  margin-bottom: 0.7rem;
}
.doc p,
.doc li {
  color: var(--ink-soft);
  line-height: 1.7;
}
.doc p + p {
  margin-top: 1rem;
}
.doc ul {
  margin: 1rem 0;
  padding-left: 1.2rem;
}
.doc li {
  margin-bottom: 0.4rem;
}
.doc a {
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.2s var(--ease);
}
.doc a:hover {
  border-color: var(--ink);
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 3rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.back-link:hover {
  color: var(--ink);
}
.note {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 6px;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------- Danke / confirmation ---------- */
.confirm {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: clamp(4rem, 10vw, 8rem);
}
.confirm-inner {
  max-width: 34rem;
}
.confirm-mark {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1.75rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent);
}
.confirm h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem);
  letter-spacing: -0.02em;
}
.confirm p {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.6;
}
.confirm-note {
  margin-top: 0.85rem;
  font-size: 0.95rem;
  color: var(--muted);
}
.confirm .btn {
  margin-top: 2.25rem;
}
