/* Brokr – brokr.ch
   Farben und Schriften nach dem Markenvorschlag vom 31.10.2026
   (https://claude.ai/artifact/7Ceo5sqhtfow6aT32ihQLr). Gelb nur auf Graphite oder Violett. */

@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter Tight'; font-weight: 800; font-style: normal; font-display: swap; src: url('fonts/inter-tight-latin-800-normal.woff2') format('woff2'); }

:root {
  --graphite: #111116;
  --violett: #7850FF;
  --violett-tief: #5A32E0;
  --gelb: #E6FF64;
  --soft: #F5F5F7;
  --weiss: #FFFFFF;
  --text-2: #5B5B66;
  --hell-auf-dunkel: #E4E4EA;
  --linie: #E6E6EB;
  --linie-stark: #DCDCE2;
  /* Statusmarken: immer mit Wort, Kontrast über 4.5 : 1 */
  --marke-violett-grund: #EEE9FF; --marke-violett: #4A2BC2;
  --marke-gruen-grund: #E3F5E8;   --marke-gruen: #1D6B34;
  --marke-gelb-grund: #FFF1D6;    --marke-gelb: #8A5A00;
  --marke-rot-grund: #FDE7E5;     --marke-rot: #B42318;
  --marke-grau-grund: #ECECEF;    --marke-grau: #4A4A55;

  --schrift: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --schrift-titel: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --breite: 1200px;
  --rand: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-knopf: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--soft); color: var(--graphite); font-family: var(--schrift); font-size: 17px; line-height: 1.55; }
img, svg { display: block; max-width: 100%; }
a { color: var(--violett-tief); }
a:hover { color: var(--graphite); }
:focus-visible { outline: 3px solid var(--violett); outline-offset: 3px; }
.auf-dunkel :focus-visible { outline-color: var(--gelb); }

.huelle { width: 100%; max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.nur-vorleser { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: 16px; top: -60px; background: var(--weiss); color: var(--graphite); padding: 10px 16px; border-radius: 8px; z-index: 50; }
.sprung:focus { top: 12px; }

/* ---------- Wortmarke ---------- */
.wortmarke { font-family: var(--schrift-titel); font-weight: 800; letter-spacing: -0.06em; line-height: 1; white-space: nowrap; }
.wortmarke .punkt { display: inline-block; width: 0.17em; height: 0.17em; margin-left: 0.05em; background: var(--gelb); }

/* ---------- Knöpfe ---------- */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--radius-knopf); background: var(--violett); color: var(--weiss); font: 600 16px/1.2 var(--schrift); text-decoration: none; cursor: pointer; transition: background .15s, color .15s; text-align: center; max-width: 100%; }
.knopf:hover { background: var(--violett-tief); color: var(--weiss); }
.knopf--dunkel { background: var(--graphite); }
.knopf--dunkel:hover { background: #2A2A33; }
.knopf--rand { background: transparent; color: var(--weiss); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.knopf--rand:hover { background: rgba(255,255,255,.1); color: var(--weiss); }
.knopf--hell { background: var(--weiss); color: var(--graphite); box-shadow: inset 0 0 0 1px var(--linie-stark); }
.knopf--hell:hover { background: var(--soft); color: var(--graphite); }
.knopf--klein { min-height: 40px; padding: 0 16px; font-size: 15px; }
.knopf[disabled] { background: var(--marke-grau-grund); color: var(--marke-grau); cursor: not-allowed; }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 20; background: var(--graphite); color: var(--weiss); }
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; padding-block: 10px; }
.marke-kopf { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--weiss); text-decoration: none; }
.marke-kopf .bildmarke { width: 40px; height: 40px; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.marke-kopf .wortmarke { font-size: 30px; }
.marke-kopf:hover { color: var(--weiss); }
/* Auf dem Telefon steht nur die Bildmarke (Ricardo, 31.10.2026) */
@media (max-width: 40rem) {
  .marke-kopf .wortmarke { display: none; }
  .kopf .huelle { min-height: 60px; padding-block: 8px; }
}
.kopf nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
.kopf nav a:not(.knopf) { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; color: var(--hell-auf-dunkel); text-decoration: none; font-weight: 500; border-radius: 8px; }
.kopf nav a:not(.knopf):hover { color: var(--weiss); background: rgba(255,255,255,.08); }
@media (max-width: 40rem) { .kopf nav .nur-breit { display: none; } }

/* ---------- Einstieg ---------- */
.einstieg { background: var(--graphite); color: var(--weiss); padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.einstieg-raster { display: grid; gap: clamp(32px, 4vw, 56px); align-items: center; }
@media (min-width: 64rem) { .einstieg-raster { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.einstieg h1 { margin: 0; font-family: var(--schrift-titel); font-weight: 800; font-size: clamp(44px, 7vw, 84px); line-height: 0.98; letter-spacing: -0.05em; overflow-wrap: break-word; hyphens: auto; }
.punkt-gelb { color: var(--gelb); }
.einstieg p.lead { margin: 22px 0 0; max-width: 32em; font-size: clamp(17px, 2vw, 20px); color: var(--hell-auf-dunkel); }
.einstieg .aktionen { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* ---------- Von Hand oder mit Brokr ---------- */
.vergleich { margin-top: 44px; display: flex; flex-direction: column; gap: 14px; }
.v-zeile { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--linie); background: var(--soft); }
.v-zeile h3 { margin: 0; padding: 18px 22px 0; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.v-hand, .v-brokr { padding: 14px 22px 20px; }
.v-label { margin: 0 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.v-hand ol { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; counter-reset: h; }
.v-hand li { counter-increment: h; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--weiss); border: 1px solid var(--linie); color: var(--text-2); font-size: 14px; }
.v-hand li::before { content: counter(h); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--marke-grau-grund); color: var(--marke-grau); font-size: 12px; font-weight: 700; }
@media (max-width: 40rem) {
  .vergleich { margin-top: 32px; gap: 16px; }
  .v-zeile h3 { padding: 18px 18px 0; font-size: 19px; }
  .v-hand, .v-brokr { padding: 12px 18px 18px; }
  .v-hand ol { flex-direction: column; gap: 0; }
  .v-hand li { display: flex; align-items: flex-start; padding: 7px 0; border: 0; border-radius: 0; background: none; font-size: 15px; line-height: 1.4; }
  .v-hand li + li { border-top: 1px solid var(--linie); }
  .v-hand li::before { flex: 0 0 auto; margin-top: -1px; }
  .abschnitt { scroll-margin-top: 60px; }
  .demo-tipps { gap: 6px; }
  .d-tipp { font-size: 14px; padding: 0 14px; }
}
.v-brokr { background: var(--graphite); color: var(--weiss); }
.v-brokr .v-label { color: var(--gelb); }
.v-kurz { margin: 0; font-family: var(--schrift-titel); font-weight: 800; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.1; letter-spacing: -0.03em; color: var(--weiss); overflow-wrap: break-word; }
.v-satz { margin: 8px 0 0; font-size: 15px; color: var(--hell-auf-dunkel); }
.v-schritte { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: b; display: flex; flex-direction: column; gap: 8px; }
.v-schritte li { counter-increment: b; display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.4; color: var(--hell-auf-dunkel); }
.v-schritte li::before { content: counter(b); flex: 0 0 auto; display: grid; place-items: center; width: 22px; height: 22px; margin-top: -1px; border-radius: 50%; background: var(--gelb); color: var(--graphite); font-size: 12px; font-weight: 700; }
/* Das Wort Brokr steht im Fliesstext als Logo: Wortmarke mit gelbem Punkt (Ricardo, 31.10.2026) */
.logo-text { font-family: var(--schrift-titel); font-weight: 800; letter-spacing: -0.05em; text-transform: none; white-space: nowrap; }
.logo-text .punkt { display: inline-block; width: 0.17em; height: 0.17em; margin-left: 0.04em; background: var(--gelb); }
.v-label .logo-text, .vorzeile .logo-text { font-size: 1.35em; letter-spacing: -0.04em; vertical-align: -0.05em; }
.v-hand .v-label .logo-text { color: var(--graphite); }
.v-brokr .v-label .logo-text { color: var(--weiss); }
.vorzeile .logo-text, .abschnitt--weiss .lead .logo-text { color: var(--graphite); }
.abschnitt--weiss .logo-text .punkt, .lead .logo-text .punkt, .vorzeile .logo-text .punkt { background: var(--violett); }
.v-brokr .logo-text .punkt { background: var(--gelb); }
@media (min-width: 56rem) {
  .v-zeile { grid-template-columns: 13rem minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; }
  .v-zeile h3 { padding: 20px 22px; align-self: center; }
  .v-hand, .v-brokr { padding: 20px 24px; display: flex; flex-direction: column; justify-content: center; }
}

/* Einstiegsknöpfe über der Demo */
.demo-tipps { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.d-tipp { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--linie-stark); background: var(--weiss); color: var(--graphite); font: 500 15px/1.2 var(--schrift); cursor: pointer; }
.d-tipp:hover { border-color: var(--violett); color: var(--violett-tief); }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(56px, 8vw, 104px) 0; scroll-margin-top: 68px; }
.abschnitt--weiss { background: var(--weiss); }
.abschnitt--violett { background: var(--violett); color: var(--weiss); }
.vorzeile { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
.abschnitt--violett .vorzeile { color: var(--weiss); }
.titel { margin: 0; font-family: var(--schrift-titel); font-weight: 800; font-size: clamp(34px, 5.4vw, 60px); line-height: 1.02; letter-spacing: -0.045em; max-width: 16em; overflow-wrap: break-word; hyphens: auto; }
.lead { margin: 18px 0 0; max-width: 40em; font-size: clamp(17px, 1.9vw, 19px); color: var(--text-2); }
.abschnitt--violett .lead { color: var(--weiss); }

/* Funktionen */
.raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; margin-top: 48px; }
.karte { background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 10px; }
.abschnitt--weiss .karte { background: var(--soft); border-color: transparent; }
.karte h3 { margin: 0; font-size: 20px; font-weight: 600; letter-spacing: -0.01em; }
.karte p { margin: 0; color: var(--text-2); font-size: 16px; }
.karte .zeichen { width: 44px; height: 44px; border-radius: 12px; background: var(--graphite); color: var(--gelb); display: grid; place-items: center; margin-bottom: 6px; }

/* Ablauf */
.schritte { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 16px; counter-reset: schritt; }
.schritte li { counter-increment: schritt; background: rgba(17,17,22,.22); /* Weiss darauf 6.6 : 1 */ border-radius: var(--radius); padding: 24px 22px; }
.schritte li::before { content: counter(schritt); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--gelb); color: var(--graphite); font: 800 18px/1 var(--schrift-titel); margin-bottom: 14px; }
.schritte h3 { margin: 0 0 6px; font-size: 19px; font-weight: 600; }
.schritte p { margin: 0; font-size: 16px; color: var(--weiss); }

/* Demo-Abschnitt */
.demo-kopf { display: flex; flex-wrap: wrap; gap: 24px; align-items: end; justify-content: space-between; }
.demo-hinweis { display: inline-flex; gap: 10px; align-items: center; margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--weiss); border: 1px solid var(--linie); font-size: 15px; max-width: 30em; }
.demo-hinweis svg { flex: 0 0 auto; color: var(--violett-tief); }

/* Kontakt */
.kontakt { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 32px; align-items: center; }
.abschnitt--violett .kontakt-karte .knopf { background: var(--gelb); color: var(--graphite); }
.abschnitt--violett .kontakt-karte .knopf:hover { background: var(--weiss); color: var(--graphite); }
.kontakt-karte { background: var(--graphite); color: var(--weiss); border-radius: 20px; padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; gap: 16px; }
.kontakt-karte p { margin: 0; color: var(--hell-auf-dunkel); }
.kontakt-karte a.mail { color: var(--gelb); font-size: clamp(20px, 3vw, 26px); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.kontakt-karte a.mail:hover { text-decoration: underline; color: var(--gelb); }

/* Fuss */
.fuss { background: var(--graphite); color: var(--hell-auf-dunkel); padding: 40px 0; font-size: 15px; }
.fuss .huelle { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.fuss .wortmarke { font-size: 26px; color: var(--weiss); }
.fuss ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.fuss a { color: var(--hell-auf-dunkel); display: inline-flex; min-height: 44px; align-items: center; }
.fuss a:hover { color: var(--weiss); }

/* Rechtstexte */
.rechtstext { max-width: 46rem; }
.rechtstext h1 { font-family: var(--schrift-titel); font-weight: 800; font-size: clamp(36px, 6vw, 56px); letter-spacing: -0.04em; line-height: 1.05; margin: 0 0 24px; }
.rechtstext h2 { font-size: 21px; margin: 36px 0 8px; }
.rechtstext p, .rechtstext li { color: var(--graphite); }
.offen { background: var(--marke-gelb-grund); color: var(--marke-gelb); font-weight: 600; padding: 1px 6px; border-radius: 4px; }
.kopf nav .logo-text { margin-left: 0.3em; }
