/* PunktVier – dunkel, Uhr auf vier, Feierabend-Gold */
@font-face { font-family: "Bricolage Grotesque"; src: url("assets/fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("assets/fonts/hanken-grotesk.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Caveat"; src: url("assets/fonts/caveat.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --night: #0B0E19;
  --panel: #131829;
  --panel-2: #1A2036;
  --board: #0C101D;
  --line: #2C3552;
  --text: #F3F1EA;
  --soft: #C9CEDD;
  --muted: #A9B0C6;
  --gold: #F5A524;
  --chalk: #FFD08A;
  --ink: #16233F;
  --display: "Bricolage Grotesque", "Trebuchet MS", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --gutter: clamp(20px, 5vw, 64px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: linear-gradient(180deg, var(--night) 0%, var(--night) 62%, #1B1413 86%, #3A2010 100%);
  background-color: var(--night);
  color: var(--text);
  font: 18px/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
img, svg { display: block; }
a { color: inherit; }
a:hover { opacity: 0.85; }
:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; border-radius: 8px; }
button { font: inherit; cursor: pointer; }

.wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; padding: 8px 14px; background: var(--gold); color: var(--night); border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.dot { display: inline-block; width: 0.2em; height: 0.2em; margin-left: 0.06em; border-radius: 50%; background: var(--gold); }
.dot--sm { flex: none; width: 12px; height: 12px; margin: 0; }
.hand { font-family: var(--hand); font-weight: 700; color: var(--soft); }
.hand--warm { color: var(--chalk); }

.logo { width: 36px; height: 36px; flex: none; }
.logo circle { fill: var(--gold); }
.logo line { stroke: var(--night); stroke-width: 9; stroke-linecap: round; }

/* Einstieg mit Foto */
.hero { position: relative; overflow: hidden; color: #FFFFFF; display: flex; flex-direction: column; min-height: clamp(420px, 62vw, 92vh); background: var(--night); }
/* Bild höchstens 2560px breit: auf sehr breiten Bildschirmen wird es nicht weiter aufgezogen, die Ränder laufen ins Dunkle aus. */
.hero__media { position: absolute; top: 0; bottom: 0; left: 50%; width: min(100%, 2560px); transform: translateX(-50%); }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 0%, rgba(11, 14, 25, 0) 12%, rgba(11, 14, 25, 0) 88%, var(--night) 100%); opacity: 0; }
@media (min-width: 2561px) { .hero__media::after { opacity: 1; } }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 8, 12, 0.66) 0%, rgba(8, 8, 12, 0.14) 24%, rgba(8, 8, 12, 0.1) 52%, rgba(11, 14, 25, 0.82) 84%, var(--night) 100%); }
.bar { position: relative; width: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 24px; }
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font: 700 24px/1 var(--display); letter-spacing: -0.01em; }
.bar nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 16px; font-weight: 500; }
.bar nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.pill { padding: 0 22px; border-radius: 999px; background: var(--gold); color: var(--night); font-weight: 700; }
.hero__text { position: relative; width: 100%; margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: clamp(8px, 1.2vw, 16px); padding-block: clamp(120px, 16vw, 240px) clamp(48px, 6vw, 88px); }
.hero h1 { font: 800 clamp(64px, 12.5vw, 184px)/0.88 var(--display); letter-spacing: -0.045em; }
.hero__text p { font: 700 clamp(28px, 4.6vw, 68px)/1.05 var(--display); letter-spacing: -0.025em; color: #FFE7BF; }

/* Überschriften */
.h-xl { font: 800 clamp(38px, 5.9vw, 84px)/0.97 var(--display); letter-spacing: -0.04em; text-wrap: balance; }
.h-lg { font: 800 clamp(36px, 5vw, 72px)/1 var(--display); letter-spacing: -0.03em; text-wrap: balance; }
.h-xxl { font: 800 clamp(60px, 10vw, 148px)/0.9 var(--display); letter-spacing: -0.04em; }
.eyebrow { font-size: 15px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Idee: aus zwölf mach eins */
.idee { display: flex; flex-direction: column; gap: clamp(36px, 5vw, 64px); padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 112px); }
.lead { display: flex; flex-direction: column; gap: 24px; }
.lead__text { max-width: 34em; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.45; color: var(--soft); display: flex; flex-direction: column; gap: 0.6em; }

.stage { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 28px 32px; }
.stage__col { min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.count { display: flex; align-items: baseline; gap: 14px; }
.count__num { font: 800 84px/0.9 var(--display); letter-spacing: -0.04em; color: var(--gold); }
.count__num--muted { color: #8A91A8; }
.count .hand { font-size: 30px; line-height: 1; }

.chaos { position: relative; height: 470px; }
.tile { position: absolute; left: var(--x); top: var(--y); transform: rotate(var(--r)); transition: transform 0.7s cubic-bezier(.3,.9,.2,1), opacity 0.7s ease, filter 0.7s ease; transition-delay: calc(var(--i) * 40ms); }
.is-tidy .tile { transform: rotate(var(--r)) scale(0.86); opacity: 0.3; filter: grayscale(1); }
.chip { display: flex; align-items: center; gap: 9px; padding: 9px 14px 9px 9px; border-radius: 13px; background: #1B2136; color: var(--text); border: 1px solid var(--line); font-size: 15px; font-weight: 600; white-space: nowrap; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4); }
.chip--paper { background: #EFE7D2; border-color: #EFE7D2; color: var(--ink); }
.ico { display: flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--c); }
.ico--lg { width: 36px; height: 36px; border-radius: 10px; }
.ico path, .arrow path { fill: none; stroke: var(--night); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.note { display: block; width: 124px; padding: 12px 12px 16px; background: var(--paper); color: var(--ink); font: 700 23px/1.05 var(--hand); box-shadow: 0 10px 22px rgba(0, 0, 0, 0.45); }

.stage__mid { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.arrow { display: flex; align-items: center; justify-content: center; width: 68px; height: 68px; border-radius: 50%; background: var(--gold); }
.arrow path { stroke-width: 2.6; }
.ghost { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--text); background: transparent; color: var(--text); font-size: 15px; font-weight: 700; white-space: nowrap; }
.ghost:hover { background: rgba(255, 255, 255, 0.08); }

.when-tidy { display: none; }
.is-tidy .when-tidy { display: inline; }
.is-tidy .when-messy { display: none; }

.system { padding: 18px; border-radius: 24px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5); display: flex; flex-direction: column; gap: 10px; }
.system__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 4px 8px; }
.system__name { display: flex; align-items: center; gap: 10px; font: 700 22px/1.1 var(--display); }
.system__name .logo { width: 26px; height: 26px; }
.tag { padding: 4px 12px; border-radius: 999px; background: #1F2742; color: var(--soft); font-size: 13px; font-weight: 700; white-space: nowrap; }
.mods { display: flex; flex-direction: column; gap: 10px; }
.mod { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 14px; border: 1px dashed var(--line); opacity: 0.4; transition: opacity 0.5s ease, background 0.5s ease; }
.is-tidy .mod { border-style: solid; background: var(--panel-2); opacity: 1; transition-delay: calc(0.3s + var(--j) * 0.1s); }
.mod__text { min-width: 0; display: flex; flex-direction: column; font-size: 13px; line-height: 1.3; color: var(--muted); }
.mod__text strong { font-size: 17px; line-height: 1.25; color: var(--text); }
.system__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 8px 4px 0; font-size: 14px; color: var(--muted); }
.cheers { display: flex; align-items: center; gap: 8px; opacity: 0; transform: scale(0.6); transform-origin: right center; transition: opacity 0.5s ease, transform 0.5s cubic-bezier(.2,.9,.2,1.4); }
.is-tidy .cheers { opacity: 1; transform: scale(1); transition-delay: 1s; }
.time { padding: 3px 12px; border-radius: 999px; background: var(--gold); color: var(--night); font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }

/* So arbeiten wir */
.weg { display: flex; flex-direction: column; gap: 14px; padding-block: clamp(40px, 6vw, 80px); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 26px; }
.step { min-width: 0; padding: 26px; border-radius: 24px; background: var(--panel); border: 1px solid #262D45; display: flex; flex-direction: column; gap: 18px; }
.step header { display: flex; align-items: center; gap: 14px; min-height: 58px; }
.step__num { display: flex; align-items: center; justify-content: center; flex: none; width: 44px; height: 44px; border-radius: 13px; background: #1F2742; color: var(--gold); font: 800 24px/1 var(--display); }
.step h3 { font: 700 26px/1.1 var(--display); }
.step > p { color: var(--soft); min-height: 3em; }
.board { position: relative; min-height: 320px; border-radius: 16px; background: var(--board); overflow: hidden; }
.board--dots { background-image: radial-gradient(#232A44 1px, transparent 1px); background-size: 18px 18px; }
.board__title { position: absolute; top: 8px; left: 14px; font-size: 22px; color: var(--muted); }
.sticky, .board__note { position: absolute; left: var(--x); top: var(--y); width: var(--w); transform: rotate(var(--r)); }
.sticky { padding: 10px 10px 14px; background: var(--paper); color: var(--ink); font: 700 20px/1.05 var(--hand); }
.board__note { font-size: 28px; line-height: 1.05; }
.board--proto { display: flex; align-items: center; gap: 16px; padding: 22px 16px; }
.board--proto .board__note { position: static; width: auto; flex: 1 1 0; min-width: 0; }
.phone { flex: none; width: min(190px, 60%); padding: 16px 14px; border-radius: 26px; border: 6px solid #05070D; background: #F7F8FA; color: var(--ink); display: flex; flex-direction: column; gap: 9px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5); }
.phone strong { font: 700 17px/1.15 var(--display); }
.field { padding: 8px 10px; border-radius: 9px; background: #FFFFFF; border: 1px solid #DDE2EB; font-size: 14px; font-variant-numeric: tabular-nums; }
.field--go { background: var(--ink); border-color: var(--ink); color: #FFFFFF; text-align: center; font-weight: 700; }
.feedback { padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.feedback li { display: flex; align-items: flex-start; gap: 12px; padding: 12px; border-radius: 12px; background: #161C30; font-size: 15px; line-height: 1.35; color: var(--soft); }
.feedback li > span:last-child { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.feedback strong { color: var(--text); }
.avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--c); }
.state { padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; font-style: normal; }
.state--done { background: #173B2A; color: #7FE0A8; }
.state--work { background: #4A3510; color: #FFC766; }

.pilot { margin-top: 26px; padding: 24px 26px; border-radius: 24px; border: 1px solid #262D45; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.pilot p { flex: 1 1 320px; min-width: 0; display: flex; align-items: center; gap: 12px; font-weight: 700; }
.pilot ul { flex: 2 1 420px; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; font-weight: 600; }
.pilot li { padding: 5px 14px; border-radius: 999px; border: 1px solid #3A4262; color: var(--muted); }
.pilot li.is-next { border-color: var(--text); color: var(--text); }
.pilot li.is-now { border-color: var(--gold); background: var(--gold); color: var(--night); }

/* Wir */
.wir { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 48px 72px; padding-block: clamp(56px, 8vw, 104px); }
.wir__text { display: flex; flex-direction: column; gap: 20px; }
.wir__text p { max-width: 26em; font-size: 22px; line-height: 1.4; color: var(--soft); }
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 36px; }
.person__photo { width: 100%; max-width: 220px; aspect-ratio: 1; margin-bottom: 14px; border-radius: 50%; border: 2px dashed #5A6385; background: var(--panel); display: flex; align-items: center; justify-content: center; font-size: 14px; color: var(--muted); }
.person { padding-top: 18px; border-top: 2px solid var(--line); }
.person h3 { font: 700 clamp(32px, 3.6vw, 48px)/1.1 var(--display); letter-spacing: -0.02em; }
.person p { color: var(--muted); }

/* Kontakt und Fuß */
.kontakt { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; padding-block: clamp(56px, 8vw, 104px) clamp(32px, 5vw, 64px); }
.kontakt__row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; font-size: 20px; }
.mail { display: inline-flex; align-items: center; min-height: 56px; padding: 0 28px; border-radius: 999px; background: var(--gold); color: var(--night); font-weight: 700; font-size: clamp(18px, 2vw, 24px); text-decoration: none; overflow-wrap: anywhere; }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 32px; padding-block: 18px 28px; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 15px; color: #E6E2D8; }
.foot nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; }

/* Rechtstexte */
.legal { max-width: 760px; padding-block: 40px 80px; }
.legal h1 { font: 800 clamp(40px, 6vw, 72px)/1 var(--display); letter-spacing: -0.03em; margin-bottom: 32px; }
.legal h2 { font: 700 24px/1.2 var(--display); margin: 32px 0 8px; }
.legal p { color: var(--soft); margin-bottom: 12px; }
.legal a { color: var(--chalk); }

@media (max-width: 1000px) {
  .steps { grid-template-columns: minmax(0, 1fr); }
  .step > p { min-height: 0; }
}
@media (max-width: 900px) {
  .stage { grid-template-columns: minmax(0, 1fr); }
  .stage__mid { flex-direction: row; justify-content: center; }
  .arrow svg { transform: rotate(90deg); }
  .wir { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .bar nav a:not(.pill) { display: none; }
  .count__num { font-size: 64px; }
  .count .hand { font-size: 25px; }
  .chaos { height: 500px; }
  .board__note { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tile, .mod, .cheers { transition: none; }
}
