/* Vocaris – Marketing-Seite. Keine externen Ressourcen; Bricolage Grotesque
   liegt lokal in fonts/ (SIL Open Font License). Motiv: die Gesprächslinie –
   eine flache Linie (Stille) wird zur Schallwelle (Vocaris hebt ab). */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-latin-ext.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7,
    U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113;
}

:root {
  --paper: #faf5ec;
  --ink: #1b150f;
  --ink-soft: #6e6356;
  --line: #e6dccb;
  --accent: #c8420d;        /* Text/Flächen auf Papier */
  --accent-bright: #f4581c; /* Linien/Grafik, auf dunklem Grund */
  --cream: #faf5ec;
  --radius: 18px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Bricolage Grotesque", -apple-system, "Segoe UI", Roboto,
    Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 66rem;
  margin: 0 auto;
  padding: 0 1.35rem;
}

h1, h2, h3 { line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }

h2 {
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  font-weight: 750;
  margin-bottom: 1.1rem;
}

.lead {
  color: var(--ink-soft);
  max-width: 36rem;
  font-size: 1.1rem;
}

.kicker {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

/* ---------- Header ---------- */

.site-header { padding: 1.15rem 0; }

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark-wave { width: 2rem; height: 1.2rem; }
.wordmark-wave path { stroke: var(--accent); }

.header-cta {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2.5px solid var(--accent);
  padding-bottom: 0.1rem;
}
.header-cta:hover { color: var(--accent); }

/* ---------- Hero ---------- */

.hero { padding: 3.5rem 0 0; }

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

.hero h1 {
  font-size: clamp(2.5rem, 8.5vw, 4.6rem);
  font-weight: 800;
  margin-bottom: 1.4rem;
  max-width: 13ch;
}

/* Wellen-Unterstreichung unter „nie wieder“ */
.squiggle {
  color: var(--accent);
  white-space: nowrap;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="26" height="10" viewBox="0 0 26 10"><path d="M0 7 Q6.5 1 13 7 T26 7" fill="none" stroke="%23c8420d" stroke-width="2.6" stroke-linecap="round"/></svg>')
    repeat-x left bottom / 26px 10px;
  padding-bottom: 0.04em;
}

.hero .lead { margin-bottom: 1.4rem; }

.hero-trust {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
}

/* Anruf-Karte */

.call-card {
  background: var(--ink);
  color: var(--cream);
  border-radius: 26px;
  padding: 1.9rem 1.9rem 1.7rem;
  max-width: 22.5rem;
  box-shadow: 0 22px 44px -18px rgba(27, 21, 15, 0.45);
  transform: rotate(-1.2deg);
}

.call-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b8ad9d;
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent-bright);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

.call-name { font-size: 1.6rem; font-weight: 750; line-height: 1.1; }

.call-number {
  font-size: 1.15rem;
  color: #b8ad9d;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 0.3rem 0 1.4rem;
}

.call-row { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 1.4rem; }

.call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: var(--accent-bright);
  flex-shrink: 0;
}
.call-btn svg { width: 1.5rem; height: 1.5rem; stroke: #fff; }

/* Equalizer – Stimme sichtbar gemacht */
.eq { display: flex; align-items: center; gap: 4px; height: 2rem; }
.eq i {
  width: 4px;
  border-radius: 2px;
  background: var(--accent-bright);
  height: 100%;
  animation: eq 1.15s ease-in-out infinite;
}
.eq i:nth-child(1) { animation-delay: 0s;    height: 40%; }
.eq i:nth-child(2) { animation-delay: 0.15s; height: 75%; }
.eq i:nth-child(3) { animation-delay: 0.3s;  height: 100%; }
.eq i:nth-child(4) { animation-delay: 0.45s; height: 60%; }
.eq i:nth-child(5) { animation-delay: 0.6s;  height: 90%; }
.eq i:nth-child(6) { animation-delay: 0.75s; height: 50%; }
.eq i:nth-child(7) { animation-delay: 0.9s;  height: 70%; }

@keyframes eq {
  0%, 100% { transform: scaleY(0.45); }
  50% { transform: scaleY(1); }
}

.call-caption { font-size: 0.95rem; color: #b8ad9d; line-height: 1.5; }

/* Hero-Abschlusslinie: flach → Welle → flach */
.hero-wave {
  display: block;
  width: 100%;
  height: clamp(2.4rem, 6vw, 4rem);
  margin-top: 3.5rem;
}
.hero-wave path { stroke: var(--accent); stroke-width: 2.5; }

/* ---------- Problem (dunkle Sektion) ---------- */

.problem {
  background: var(--ink);
  color: var(--cream);
  padding: 5rem 0;
}

/* Die Gesprächslinie verstummt: Welle → flach → Ende */
.flatline { width: 11rem; margin-bottom: 2.2rem; display: block; }
.flatline path { stroke: #6e6356; }
.flatline circle { fill: #6e6356; }

.problem p {
  font-size: clamp(1.35rem, 3.6vw, 2rem);
  font-weight: 650;
  line-height: 1.3;
  max-width: 34ch;
  margin-bottom: 1.4rem;
}
.problem p:last-child { margin-bottom: 0; }

.problem-punch { color: var(--accent-bright); }

/* ---------- So funktioniert's ---------- */

.how { padding: 5.5rem 0; }

.how .lead { margin-bottom: 3.5rem; }

.timeline { list-style: none; }

.step {
  position: relative;
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0 1.1rem;
  padding-bottom: 3rem;
}

/* Gesprächslinie als Wirbelsäule der Timeline */
.step::before {
  content: "";
  position: absolute;
  left: 1.3rem;
  top: 2.6rem;
  bottom: 0;
  width: 24px;
  transform: translateX(-50%);
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="48" viewBox="0 0 24 48"><path d="M12 0 C18 8 6 16 12 24 C18 32 6 40 12 48" fill="none" stroke="%23c8420d" stroke-width="2" opacity="0.55"/></svg>')
    repeat-y center / 24px 48px;
}
.step:last-child { padding-bottom: 0; }
.step:last-child::before { display: none; }

.step-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 750;
  font-size: 1.05rem;
  position: relative;
  z-index: 1;
}

.step-body { padding-top: 0.35rem; max-width: 33rem; }

.step-body h3 { font-size: 1.3rem; font-weight: 750; margin-bottom: 0.45rem; }

.step-body > p { color: var(--ink-soft); font-size: 1rem; }

/* Gesprächsschnipsel */
.chat {
  grid-column: 2;
  margin-top: 1.1rem;
  display: grid;
  gap: 0.55rem;
  align-content: start;
}

.bubble {
  font-size: 0.97rem;
  line-height: 1.45;
  padding: 0.65rem 1rem;
  border-radius: 16px;
  max-width: 28rem;
  width: fit-content;
}

.bubble-vocaris {
  background: var(--ink);
  color: var(--cream);
  border-bottom-left-radius: 4px;
}

.bubble-caller {
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-right-radius: 4px;
  justify-self: end;
}

/* ---------- Mail-Mockup (dunkle Sektion) ---------- */

.mail-section {
  background: var(--ink);
  color: var(--cream);
  padding: 5.5rem 0;
}

.kicker-dark { color: var(--accent-bright); }
.lead-dark { color: #b8ad9d; margin-bottom: 2rem; }

.mail-grid { display: grid; }

.mail-card {
  background: #fffdf9;
  color: var(--ink);
  border-radius: var(--radius);
  max-width: 26.5rem;
  overflow: hidden;
  box-shadow: 0 26px 60px -20px rgba(0, 0, 0, 0.55);
}

.mail-head {
  padding: 1.15rem 1.4rem 1rem;
  border-bottom: 1px solid var(--line);
}

.mail-subject { font-weight: 750; font-size: 1.02rem; line-height: 1.35; }

.mail-meta { font-size: 0.85rem; color: var(--ink-soft); margin-top: 0.35rem; }

.mail-body { padding: 1.3rem 1.4rem 1.5rem; }

.mail-facts { display: grid; gap: 0.85rem; margin-bottom: 1.35rem; }

.mail-facts dt {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.1rem;
}

.mail-facts dd { font-size: 0.97rem; line-height: 1.45; }

.urgency {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.1rem 0.7rem;
  border-radius: 999px;
}

.mail-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.7rem 1.3rem;
  border-radius: 12px;
  margin-bottom: 1.35rem;
}
.mail-btn svg { width: 1.1rem; height: 1.1rem; stroke: #fff; }

.mail-transcript {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.mail-transcript-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.35rem;
}

.mail-transcript p:last-child {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.mail-footnote { font-size: 0.9rem; color: #b8ad9d; }
/* Mobil: Fußnote unter die Karte */
.mail-copy { display: contents; }
.mail-copy .mail-footnote { order: 2; margin-top: 1.2rem; }
.mail-grid > .mail-card { order: 1; }

/* ---------- Vertrauen ---------- */

.trust-section { padding: 5.5rem 0; }

.trust {
  list-style: none;
  margin-top: 3rem;
  display: grid;
  gap: 2.2rem;
}

.trust li {
  border-top: 2px solid var(--ink);
  padding-top: 1.1rem;
}

.trust-num {
  font-size: 0.85rem;
  font-weight: 750;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.trust h3 { font-size: 1.25rem; font-weight: 750; margin: 0.35rem 0 0.5rem; }

.trust p { color: var(--ink-soft); font-size: 0.99rem; max-width: 30rem; }

/* ---------- Kontakt ---------- */

.contact {
  background: var(--accent);
  color: #fff;
  padding: 5.5rem 0;
}

.contact h2 { font-size: clamp(2.2rem, 7vw, 3.6rem); font-weight: 800; }

.contact .lead { color: #fff; max-width: 32rem; margin-bottom: 2.4rem; }

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.1rem;
}

.btn-invert {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  font-weight: 750;
  font-size: 1.15rem;
  text-decoration: none;
  padding: 1rem 2.2rem;
  border-radius: 999px;
  transition: transform 0.15s;
}
.btn-invert:hover { transform: scale(1.04); }

.contact-phone { font-size: 1rem; color: #fff; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #b8ad9d;
  padding: 1.9rem 0;
  font-size: 0.92rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
}

.site-footer a { color: #b8ad9d; text-decoration: none; }
.site-footer a:hover { color: var(--cream); text-decoration: underline; }

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

/* ---------- Rechtsseiten ---------- */

.legal { padding: 3.5rem 0 5rem; }
.legal h1 { font-size: clamp(2rem, 6vw, 2.8rem); font-weight: 800; margin-bottom: 2rem; }
.legal h2 { font-size: 1.3rem; margin: 2.4rem 0 0.75rem; }
.legal p, .legal ul { margin-bottom: 1rem; max-width: 44rem; }
.legal ul { padding-left: 1.4rem; }
.legal a { color: var(--accent); }

.todo {
  background: #f8e9b8;
  border: 1px dashed #ab8b1f;
  border-radius: 6px;
  padding: 0.05rem 0.45rem;
  font-weight: 600;
  color: #6d5a13;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.2rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 700;
}
.back-link:hover { text-decoration: underline; }

/* ---------- Bewegung reduzieren ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .eq i, .pulse-dot { animation: none; }
  .btn-invert { transition: none; }
}

/* ---------- Ab Tablet ---------- */

@media (min-width: 700px) {
  .hero { padding-top: 5rem; }
  .hero-grid {
    grid-template-columns: 1.35fr 1fr;
    gap: 3.5rem;
    align-items: center;
  }
  .call-card { justify-self: end; }
  .hero-wave { margin-top: 5rem; }

  .problem { padding: 7rem 0; }
  .how, .mail-section, .trust-section, .contact { padding: 7rem 0; }

  /* Schritte: Text links, Gesprächsschnipsel rechts daneben */
  .step { grid-template-columns: 3rem minmax(0, 24rem) 1fr; gap: 0 1.6rem; }
  .step::before { left: 1.5rem; }
  .step-marker { width: 3rem; height: 3rem; }
  .step .chat { grid-column: 3; grid-row: 1; margin-top: 0.5rem; max-width: 26rem; }

  /* Mail-Sektion: Text links, Mail rechts (wie im Hero) */
  .mail-grid { grid-template-columns: 1fr 1.05fr; gap: 3.5rem; align-items: center; }
  .mail-copy { display: block; }
  .mail-copy .mail-footnote { margin-top: 1.5rem; }
  .mail-grid > .mail-card { justify-self: end; width: 100%; }
  .lead-dark { margin-bottom: 0; }

  .trust { grid-template-columns: repeat(2, 1fr); gap: 3rem 3.5rem; }

  .contact-actions { flex-direction: row; align-items: center; gap: 2rem; }
}
