/* maker.cologne — Design-DNA aus Thread 046
   Farben: Neon-Gelb #E6FF00 (Marker), Neon-Blau #0033FF (Text), Papier #F3F0E8 (BG)
   Hektographie 70/20/10: Klarheit / Materialität / Störung */

:root {
  --gelb: #E6FF00;
  --blau: #0033FF;
  --papier: #F3F0E8;
  --papier-dunkel: #EAE6DA;
  --max-w: 62rem;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--papier);
  color: var(--blau);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1rem, 0.95rem + 0.4vw, 1.2rem);
  line-height: 1.55;
  hyphens: auto;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--gelb); color: var(--blau); }

h1, h2, .brand, .fact-num, .step-num {
  font-family: "Archivo Black", "Archivo", "Arial Black", sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.08; margin-bottom: 1.2rem; }
h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }

/* Marker: zeichnet sich per background-size beim Hover (Liveliness 3) */
.marker {
  background-image: linear-gradient(var(--gelb), var(--gelb));
  background-repeat: no-repeat;
  background-size: 0% 34%;
  background-position: 0 78%;
  transition: background-size 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.marker:hover, h1:hover .marker { background-size: 100% 34%; }
@media (prefers-reduced-motion: reduce) {
  .marker { transition: none; background-size: 100% 34%; }
}

.kicker {
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  margin-bottom: 1rem;
  color: var(--blau);
  opacity: 0.75;
}

/* Nav — Marker-Underline wächst (Liveliness 5) */
.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  background: color-mix(in srgb, var(--papier) 88%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--blau);
}
.brand { color: var(--blau); text-decoration: none; font-size: 1.05rem; }
.nav-links { display: flex; gap: clamp(0.8rem, 3vw, 2rem); }
.nav-links a {
  color: var(--blau);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  background-image: linear-gradient(var(--gelb), var(--gelb));
  background-repeat: no-repeat;
  background-size: 0% 3px;
  background-position: 0 100%;
  padding-bottom: 3px;
  transition: background-size 0.3s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { background-size: 100% 3px; }
@media (prefers-reduced-motion: reduce) {
  .nav-links a { transition: none; }
}

/* Hero */
.hero {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 6vw, 5rem);
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero .sub {
  margin-top: 1.4rem;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  max-width: 34rem;
}

/* Flow: Alltag → Verstehen → Verbesserung → Wirkung (3-Stationen-Logik, max Richtung) */
.flow {
  margin-top: 2.6rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-family: "Archivo Black", sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.flow .arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}
.flow:hover .arrow { transform: translateX(6px); }
@media (prefers-reduced-motion: reduce) {
  .flow:hover .arrow { transform: none; }
}
.marker-wirkung {
  background: var(--gelb);
  padding: 0.15em 0.5em;
}

/* Sektionen — Scroll-Reveal: faden+steigen 12px (Liveliness 2) */
.section {
  padding: clamp(3.5rem, 9vw, 7rem) clamp(1.25rem, 5vw, 4rem);
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-alt { background: var(--papier-dunkel); max-width: none; }
.section-alt > * { max-width: var(--max-w); margin-left: auto; margin-right: auto; }
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

.lead { max-width: 40rem; margin-bottom: 2rem; }
.footnote { font-size: 0.85rem; opacity: 0.7; max-width: 40rem; }

/* Facts */
.facts {
  display: flex;
  gap: clamp(1.5rem, 5vw, 4rem);
  flex-wrap: wrap;
  margin: 2rem 0 1rem;
}
.fact { display: flex; flex-direction: column; }
.fact-num { font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1; }
.fact-label { font-size: 0.9rem; max-width: 11rem; margin-top: 0.3rem; opacity: 0.85; }

/* Werkzeugkasten */
.tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.6rem;
  margin-top: 1rem;
}
.tool {
  border: 2px solid var(--blau);
  padding: 1.3rem 1.2rem;
  background: var(--papier);
  box-shadow: 5px 5px 0 var(--blau); /* Hektographie-Störung: Schablonendruck-Kante */
}
.tool h3 { position: relative; display: inline-block; }
.tool:hover h3 {
  background-image: linear-gradient(var(--gelb), var(--gelb));
  background-repeat: no-repeat;
  background-size: 100% 34%;
  background-position: 0 78%;
}
.tool p { font-size: 0.95rem; }

/* Schritte */
.steps { list-style: none; margin-top: 1.5rem; }
.steps li {
  display: flex;
  gap: 1.4rem;
  padding: 1.6rem 0;
  border-top: 2px solid var(--blau);
}
.steps li:last-child { border-bottom: 2px solid var(--blau); }
.step-num {
  font-size: 2rem;
  line-height: 1;
  min-width: 2.4rem;
  background: var(--blau);
  color: var(--papier);
  text-align: center;
  padding: 0.35rem 0;
  height: fit-content;
}
.steps p { font-size: 0.98rem; max-width: 38rem; }

/* Kontakt */
.section-contact { padding-bottom: 8rem; }
.cta {
  display: inline-block;
  margin: 1.6rem 0 1.2rem;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.3rem, 3vw, 2rem);
  color: var(--blau);
  text-decoration: none;
  border: 3px solid var(--blau);
  padding: 0.7em 1.1em;
  background: var(--gelb);
  box-shadow: 7px 7px 0 var(--blau);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.cta:hover, .cta:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 4px 4px 0 var(--blau);
}
@media (prefers-reduced-motion: reduce) {
  .cta { transition: none; }
}

/* Pixel-Echo: sparsam, driftet leicht mit Scroll (Liveliness 6) */
.pixel-echo {
  position: fixed;
  right: clamp(0.5rem, 2vw, 2rem);
  bottom: 1.5rem;
  width: 7px;
  height: 7px;
  z-index: 5;
  pointer-events: none;
  background-image:
    linear-gradient(var(--gelb), var(--gelb)),
    linear-gradient(var(--blau), var(--blau)),
    linear-gradient(var(--gelb), var(--gelb));
  background-size: 7px 7px;
  background-position: 0 0, 8px 8px, 16px 2px;
  background-repeat: no-repeat;
  width: 23px; height: 16px;
  opacity: 0.9;
}
@media (prefers-reduced-motion: reduce) {
  .pixel-echo { transform: none !important; }
}
