/* cuteworks · Entwurf A
   Farben strikt nach Marke: Ink, Cream, Signal Red (nur als Punkt). Keine Verläufe, keine Schatten, keine weiteren Töne. */

@font-face { font-family: "Nunito"; font-weight: 800; font-style: normal; font-display: swap; src: url("/fonts/Nunito-800.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/Nunito-600.woff2") format("woff2"); }

:root {
  --ink: #1A1A1A;
  --cream: #F6F2E9;
  --rot: #E2524A;
  --rand: 1.5px solid var(--ink);
  --radius: 28px;
  --gutter: 20px;
  --breite: 1120px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dauer: .7s;
  --font: "Nunito", "Avenir Next", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
section[id] { scroll-margin-top: 96px; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; margin: 0; text-wrap: balance; }
p { margin: 0; }
.innen { width: min(100% - 2 * var(--gutter), var(--breite)); margin-inline: auto; }

/* Punkt: der einzige Akzent */
.punkt { display: inline-block; width: .5em; height: .5em; border-radius: 50%; background: var(--rot); margin-right: .55em; vertical-align: .08em; flex: none; }

/* Knöpfe */
.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--cream);
  font-weight: 800; font-size: 1.0625rem;
  padding: .95em 1.5em; border-radius: 999px; border: var(--rand);
  transition: transform .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.knopf:hover { transform: translateY(-2px); }
.knopf:active { transform: translateY(0) scale(.98); }
.knopf-leer { background: transparent; color: var(--ink); }
.knopf-klein { padding: .6em 1.1em; font-size: .95rem; }
.knopf-gross { font-size: 1.2rem; padding: 1em 1.6em; }
.knopf:focus-visible, a:focus-visible { outline: 3px solid var(--rot); outline-offset: 3px; }

/* Kopf */
/* Navigation als schwebende Pille (Emil 15.11. #165450). Die Tiefe kommt von einer harten Ink-Kante unten,
   ohne Unschärfe und ohne Verlauf, damit alles in der Palette bleibt. */
.kopf {
  position: relative; z-index: 10;            /* am Handy scrollt die Pille normal mit weg, ab 720px bleibt sie stehen */
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  width: min(100% - 2 * var(--gutter), var(--breite)); margin: 10px auto 0;
  padding: 7px 7px 7px 18px;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0 5px 0 var(--ink);
}
/* Links in der Pille: normal nur der Schriftzug plus ein unsichtbarer Andockplatz, auf den die 3D-Marke beim
   Scrollen fliegt. Ohne WebGL, bei reduzierter Bewegung oder ohne JS steht dort die komplette SVG-Wortmarke. */
.kopf-marke { display: flex; align-items: center; min-height: 30px; }
.kopf-wortmarke-voll { display: none; height: 30px; width: auto; }
.kopf-wortmarke-text { display: flex; align-items: center; gap: 7px; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1; padding-bottom: 2px; }
.andock { width: 30px; height: 30px; flex: none; }
@media (max-width: 719.98px) { .andock { display: none; } }  /* am Handy dockt nichts an, also kein leerer Platz */
.no-js .kopf-wortmarke-voll, .fallback .kopf-wortmarke-voll, .ruhig .kopf-wortmarke-voll { display: block; }
.no-js .kopf-wortmarke-text, .fallback .kopf-wortmarke-text, .ruhig .kopf-wortmarke-text { display: none; }
.kopf-nav { display: flex; align-items: center; gap: 1.6rem; font-weight: 800; font-size: .95rem; }
.kopf-nav > a:not(.knopf) { display: none; position: relative; }
.kopf-nav > a:not(.knopf)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.kopf-nav > a:not(.knopf):hover::after { transform: scaleX(1); }

/* Held */
.held { position: relative; min-height: calc(100svh - 84px); display: flex; align-items: center; overflow: hidden; }
.marken-canvas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 20; }
.no-js .marken-canvas, .fallback .marken-canvas, .ruhig .marken-canvas { display: none; }
.held-innen {
  position: relative; z-index: 1;
  width: min(100% - 2 * var(--gutter), 900px); margin-inline: auto;
  text-align: center;
  padding: 12px 0 64px;
}
.buehne {
  position: relative;
  width: clamp(200px, 56vw, 330px); aspect-ratio: 1;
  margin: 0 auto 28px;
  z-index: 3;
}
.buehne-fallback { width: 100%; height: 100%; opacity: 0; }
.no-js .buehne-fallback, .fallback .buehne-fallback { opacity: 1; animation: schweben 5s ease-in-out infinite; }
.ruhig .buehne-fallback { animation: none; }
@keyframes schweben { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }

.augenbraue { display: inline-flex; align-items: center; font-weight: 800; font-size: .95rem; letter-spacing: .01em; text-transform: none; margin-bottom: 14px; }
.held-titel { font-size: clamp(2.5rem, 4.6vw + 1.4rem, 5.2rem); line-height: 1.0; letter-spacing: -0.03em; margin: 0 auto 20px; max-width: 14ch; }
.held-titel .wort { display: inline-block; white-space: pre; }
.held-text { font-size: clamp(1.1rem, 1vw + .8rem, 1.35rem); max-width: 34ch; margin: 0 auto 30px; line-height: 1.45; }
.held-knoepfe { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Lade-Animation: Elemente warten unsichtbar, bis app.js "los" setzt */
[data-intro] { opacity: 0; transform: translateY(16px); }
.los [data-intro] { opacity: 1; transform: none; transition: opacity var(--dauer) var(--ease), transform var(--dauer) var(--ease); transition-delay: calc(var(--i, 0) * 90ms + 80ms); }
.held-titel .wort { opacity: 0; transform: translateY(.35em) rotate(1.5deg); transform-origin: left bottom; }
.los .held-titel .wort { opacity: 1; transform: none; transition: opacity .75s var(--ease), transform .75s var(--ease); transition-delay: calc(var(--w, 0) * 80ms + 240ms); }
.no-js [data-intro], .no-js .held-titel .wort, .ruhig [data-intro], .ruhig .held-titel .wort { opacity: 1; transform: none; transition: none; }

/* Abschnitte */
.abschnitt { padding: clamp(72px, 10vw, 128px) 0; }
.abschnitt-eng { padding-top: 0; }
.abschnitt h2 { font-size: clamp(1.9rem, 2.4vw + 1rem, 3.1rem); margin-bottom: 40px; max-width: 24ch; }
.abschnitt h3 { font-size: 1.35rem; margin-bottom: 10px; }
.hinweis { display: inline-flex; align-items: baseline; margin: -22px 0 26px; font-size: .95rem; }

/* Karten */
.karten { display: grid; gap: 16px; }
.karte { border: var(--rand); border-radius: var(--radius); padding: 28px 26px 30px; background: var(--cream); transition: transform .35s var(--ease); }
.karte:hover { transform: translateY(-4px); }
.karte-icon { width: 54px; height: 54px; border: var(--rand); border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px; }
.karte-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

/* Schritte */
.schritte { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.schritte li { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 20px; align-items: start; padding: 26px 0; border-top: var(--rand); }
.schritte li:last-child { border-bottom: var(--rand); }
.schritt-zahl { grid-row: 1 / span 2; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; font-weight: 800; font-size: 1.5rem; }
.schritte h3 { margin: 10px 0 8px; }

/* Beispiel-Mock, komplett in CSS */
.mock { border: var(--rand); border-radius: 22px; overflow: hidden; background: var(--cream); max-width: 920px; }
.mock-leiste { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: var(--rand); }
.mock-leiste span { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); }
.mock-leiste span:first-child { background: var(--rot); border-color: var(--rot); }
.mock-leiste i { font-style: normal; font-size: .8rem; margin-left: auto; margin-right: auto; padding: 3px 14px; border: var(--rand); border-radius: 999px; }
.mock-seite { padding: 18px 18px 22px; }
.mock-nav { display: flex; align-items: center; gap: 14px; font-size: .85rem; padding-bottom: 14px; }
.mock-nav b { margin-right: auto; font-weight: 800; }
.mock-held { background: var(--ink); color: var(--cream); border-radius: 18px; padding: 28px 22px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.mock-held h4 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
.mock-knopf { display: inline-block; background: var(--cream); color: var(--ink); border-radius: 999px; padding: .55em 1.1em; font-size: .9rem; font-weight: 800; }
.mock-raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.mock-raster > div { border: var(--rand); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 4px; font-size: .8rem; }
.mock-raster i { display: block; aspect-ratio: 4/3; background: var(--ink); border-radius: 9px; margin-bottom: 6px; }
.mock-raster b { font-weight: 800; }
.mock-fuss { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 16px; font-size: .78rem; padding-top: 12px; border-top: var(--rand); }

/* Über uns: Cream auf Ink */
.abschnitt-ink { background: var(--ink); color: var(--cream); }
.ueber { display: grid; gap: 36px; align-items: center; }
.ueber-marke { width: clamp(140px, 34vw, 260px); }
.ueber-marke img { filter: none; }
.ueber-text p:not(.augenbraue) { max-width: 56ch; }
.ueber-text p + p { margin-top: 16px; }
.ueber-text h2 { margin-bottom: 24px; }
.ueber-signatur { font-weight: 800; }
.abschnitt-ink .knopf, .abschnitt-ink .karte { border-color: var(--cream); }

/* Kontakt */
.kontakt-innen { text-align: center; }
.kontakt h2 { margin-inline: auto; margin-bottom: 20px; }
.kontakt p + p, .kontakt-innen > p:not(.augenbraue) { max-width: 44ch; margin: 0 auto 30px; }

/* Fuß */
.fuss { background: var(--ink); color: var(--cream); padding: 44px 0 max(28px, env(safe-area-inset-bottom)); }
.fuss-innen { display: grid; gap: 18px; justify-items: start; }
.fuss-marke { height: 26px; width: auto; }
.fuss-klein { font-size: .85rem; opacity: 1; }
.fuss-nav { display: flex; gap: 20px; font-weight: 800; font-size: .9rem; }
.fuss-nav a { border-bottom: 1.5px solid var(--cream); }

/* Scroll-Reveal: nur transform und opacity */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
[data-reveal].sichtbar { opacity: 1; transform: none; }
.no-js [data-reveal], .ruhig [data-reveal] { opacity: 1; transform: none; transition: none; }

/* Größere Bildschirme */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  .kopf { position: sticky; top: 14px; margin-top: 14px; padding: 8px 8px 8px 26px; }
  .kopf-wortmarke-voll { height: 34px; }
  .kopf-wortmarke-text { font-size: 1.7rem; gap: 8px; }
  .andock { width: 34px; height: 34px; }
  .kopf-nav > a:not(.knopf) { display: inline-block; }
  .karten { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .schritte { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .schritte li { display: block; border: var(--rand); border-radius: var(--radius); padding: 28px 26px 30px; }
  .schritte li:last-child { border-bottom: var(--rand); }
  .schritt-zahl { width: 54px; height: 54px; font-size: 1.3rem; margin-bottom: 22px; }
  .schritte h3 { margin-top: 0; }
  .mock-seite { padding: 26px 26px 30px; }
  .mock-held { padding: 44px 36px; }
  .ueber { grid-template-columns: 1fr 2fr; gap: 56px; }
  .ueber-marke { width: min(100%, 300px); margin-inline: auto; }
  .fuss-innen { grid-template-columns: auto 1fr auto; align-items: center; }
  .fuss-klein { text-align: center; }
  .held-innen { padding: 0 0 72px; }
}
@media (min-width: 1100px) {
  .buehne { width: 300px; margin-bottom: 36px; }
  .held-titel { font-size: clamp(2.5rem, 4.2vw + 1.2rem, 4.8rem); }
}

/* Barrierefreiheit: wer wenig Bewegung will, bekommt alles ruhig und sofort */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-intro], .held-titel .wort, [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .buehne-fallback { animation: none !important; }
  .knopf, .karte { transition: none; }
}
