/* JUNEVEX - gemeinsames Stylesheet.
   Welt: aus dem Firmenlogo (Steve, 2026-09-12). Schwarz, metallisches Gold, roemische
   Versal-Serife (Marcellus), breite Grotesk fuer Zusaetze (Montserrat), Pixel-Quadrate als
   digitales Zeichen. Gold ist Metall im Logo und sonst sparsam: Haarlinien, Knoepfe, Status.
   Bewusst nur ein Schema: schwarz. */

@font-face { font-family: "Marcellus"; src: url("/assets/fonts/marcellus-latin.woff2") format("woff2");
  font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Marcellus"; src: url("/assets/fonts/marcellus-latin-ext.woff2") format("woff2");
  font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-latin.woff2") format("woff2");
  font-weight: 500 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; src: url("/assets/fonts/montserrat-latin-ext.woff2") format("woff2");
  font-weight: 500 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: dark;
  --serif: "Marcellus", "Trajan Pro", ui-serif, Georgia, serif;
  --breit: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --text: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --grund: #0A0A0B;
  --flaeche: #121113;
  --linie: #2B2620;
  --ink: #F3EFE7;
  --ink-soft: #B7AE9F;
  --gold: #D6AC49;
  --gold-hell: #F2D98E;
  --gold-tief: #9A7021;
  --kohle: #26241F;
  --fokus: #F2D98E;

  --mass: 66ch;
  --rand: clamp(1.25rem, 5vw, 4rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html, body { overflow-x: clip; }
body { margin: 0; background: var(--grund); color: var(--ink); font: 400 1.0625rem/1.65 var(--text);
  -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--fokus); outline-offset: 4px; border-radius: 3px; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 10; background: var(--gold); color: #1A1204;
  padding: .6rem 1rem; font: 600 .85rem/1 var(--breit); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.skip:focus { top: 1rem; }

/* ---------- Kopf ---------- */
.kopf { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.4rem var(--rand); max-width: 84rem; margin: 0 auto; }
.wortmarke { font-family: var(--serif); font-size: 1.15rem; letter-spacing: .24em; color: var(--gold-hell);
  text-decoration: none; }
.navi { display: flex; gap: clamp(1.1rem, 3vw, 2.4rem); }
.navi a { font: 600 .74rem/1 var(--breit); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  color: var(--ink-soft); padding: .5rem 0; border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.navi a:hover { color: var(--gold-hell); border-bottom-color: var(--gold); }

/* ---------- Buehne ---------- */
.buehne { position: relative; border-bottom: 1px solid var(--linie);
  background: radial-gradient(120% 70% at 50% 0%, #17140F 0%, var(--grund) 62%); }
.buehne-inhalt { position: relative; max-width: 60rem; margin: 0 auto; text-align: center;
  padding: clamp(2rem, 6vw, 4.5rem) var(--rand) clamp(3.5rem, 8vw, 6rem); }

/* Platzhalter-Schriftzug, bis die Logo-Datei da ist. Das Monogramm wird NICHT nachgebaut. */
.marke { margin: 0 auto 2.6rem; display: grid; justify-items: center; gap: .2rem; position: relative; }
.marke-name { font-family: var(--serif); font-size: clamp(3.4rem, 11vw, 7.6rem); line-height: 1; letter-spacing: .06em;
  color: var(--gold); }
.marke-zusatz { display: flex; align-items: center; gap: 1rem; width: 100%; justify-content: center;
  font: 700 clamp(.8rem, 1.9vw, 1.25rem)/1 var(--breit); letter-spacing: .34em; text-transform: uppercase; color: var(--ink); }
.marke-zusatz::before, .marke-zusatz::after { content: ""; flex: 0 1 4.5rem; height: 1px; background: var(--gold); }
.marke-leitsatz { margin-top: .7rem; font-family: var(--serif); font-size: clamp(.68rem, 1.3vw, .86rem);
  letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.logo { width: min(34rem, 88%); height: auto; margin: 0 auto 2.6rem; }

/* Pixel-Quadrate wie im Logo: sie loesen sich links oben vom Schriftzug ab */
.pixel { position: absolute; inset: 0; pointer-events: none; }
.pixel i { position: absolute; width: var(--g, 14px); aspect-ratio: 1; background: var(--gold); border-radius: 1px;
  box-shadow: 0 1px 1px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,244,210,.35); }
.pixel i:nth-child(3n) { background: var(--kohle); box-shadow: 0 1px 1px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.08); }
.pixel i:nth-child(1) { left: 5%; top: 6%; --g: 12px; }
.pixel i:nth-child(2) { left: 10%; top: 1%; --g: 18px; }
.pixel i:nth-child(3) { left: 14%; top: 10%; --g: 14px; }
.pixel i:nth-child(4) { left: 8%; top: 16%; --g: 20px; }
.pixel i:nth-child(5) { left: 16%; top: 19%; --g: 11px; }
.pixel i:nth-child(6) { left: 12%; top: 25%; --g: 15px; }
.pixel i:nth-child(7) { left: 3%; top: 14%; --g: 9px; }
.pixel i:nth-child(8) { left: 18%; top: 29%; --g: 16px; }
.pixel i:nth-child(9) { left: 13%; top: 33%; --g: 11px; }
.pixel i:nth-child(10) { left: 19%; top: 12%; --g: 9px; }
@media (prefers-reduced-motion: no-preference) {
  .pixel i { opacity: 0; transform: translate(-28px, -18px) scale(.6); animation: einrasten .9s var(--ease) forwards; }
  .pixel i:nth-child(n) { animation-delay: calc(var(--n, 0) * 70ms + 150ms); }
  .pixel i:nth-child(1){--n:1} .pixel i:nth-child(2){--n:2} .pixel i:nth-child(3){--n:3} .pixel i:nth-child(4){--n:4}
  .pixel i:nth-child(5){--n:5} .pixel i:nth-child(6){--n:6} .pixel i:nth-child(7){--n:7} .pixel i:nth-child(8){--n:8}
  .pixel i:nth-child(9){--n:9} .pixel i:nth-child(10){--n:10}
  @keyframes einrasten { to { opacity: 1; transform: none; } }
}

.buehne h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.1;
  letter-spacing: .01em; margin: 0 auto 1.1rem; max-width: 20ch; text-wrap: balance; }
.einleitung { color: var(--ink-soft); font-size: clamp(1.02rem, 1.4vw, 1.18rem); max-width: 48ch; margin: 0 auto 2.2rem; text-wrap: pretty; }
.handlung { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 2rem; }
.knopf { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none;
  font: 700 .78rem/1 var(--breit); letter-spacing: .2em; text-transform: uppercase; color: #1A1204;
  padding: 1.05rem 1.6rem; border-radius: 2px;
  background: linear-gradient(180deg, var(--gold-hell) 0%, var(--gold) 48%, #B4852C 100%);
  box-shadow: 0 1px 0 rgba(255,244,210,.5) inset, 0 10px 24px -12px rgba(214,172,73,.55);
  transition: filter .25s var(--ease), transform .25s var(--ease); }
.knopf:hover { filter: brightness(1.08); transform: translateY(-1px); }
.knopf:active { transform: none; }
.text-link { color: var(--gold-hell); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
  font: 600 .78rem/1 var(--breit); letter-spacing: .18em; text-transform: uppercase; }
.text-link:hover { color: #fff; }

/* ---------- Abschnitte ---------- */
.abschnitt { padding: clamp(3.5rem, 9vw, 7rem) var(--rand); max-width: 72rem; margin: 0 auto; }
.abschnitt > h2, .auftrag h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  line-height: 1.1; margin: 0 0 .9rem; letter-spacing: .01em; }
.abschnitt > .lead { color: var(--ink-soft); max-width: 52ch; margin: 0 0 2.8rem; font-size: 1.08rem; }

.register { border-top: 1px solid var(--linie); }
.exemplar { display: grid; grid-template-columns: 76px minmax(0, 1fr) minmax(11rem, 14rem);
  gap: 1.2rem 2.2rem; align-items: start; padding: 2.2rem 0; border-bottom: 1px solid var(--linie); scroll-margin-top: 1.5rem; }
.exemplar-icon { width: 76px; height: 76px; border-radius: 17px;
  box-shadow: 0 0 0 1px rgba(214,172,73,.22), 0 12px 28px -12px rgba(0,0,0,.9); }
.exemplar h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.8vw, 2rem); line-height: 1.1; margin: .1rem 0 .35rem; }
.exemplar-untertitel { font: 600 .74rem/1.4 var(--breit); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 .9rem; }
.exemplar-text p { max-width: var(--mass); margin: 0 0 .75rem; }
.exemplar-text > p:nth-of-type(2) { color: var(--ink-soft); }
.exemplar-meta { font-size: .95rem; color: var(--ink-soft); }
.exemplar-meta .text-link { font-size: .72rem; margin-left: .35rem; }

/* Reifegrad als Pixel-Quadrate: 1 = in Arbeit, 2 = im Test, 3 = im App Store */
.status { margin: .45rem 0 0; font-size: .92rem; color: var(--ink-soft); }
.status strong { display: block; font: 700 .72rem/1.3 var(--breit); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-hell); margin-bottom: .2rem; }
.reife { display: inline-flex; gap: 5px; margin-bottom: .6rem; }
.reife i { width: 11px; height: 11px; border: 1px solid var(--gold-tief); border-radius: 1px; }
.reife-1 i:nth-child(-n+1), .reife-2 i:nth-child(-n+2), .reife-3 i:nth-child(-n+3) { background: var(--gold); border-color: var(--gold); }
.nachwuchs { margin: 1.6rem 0 0; color: var(--ink-soft); font-size: .95rem; }

.auftrag { background: var(--flaeche); border-block: 1px solid var(--linie); }
.auftrag .abschnitt { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: center; }
.auftrag h2 { margin: 0; }
.auftrag p { margin: 0 0 1.7rem; color: var(--ink-soft); max-width: 48ch; font-size: 1.08rem; }

.fuss { padding: 2.6rem var(--rand) 3rem; max-width: 72rem; margin: 0 auto; display: grid; gap: 1.2rem; font-size: .9rem; color: var(--ink-soft); }
.fuss-zeile { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.fuss p { margin: 0; }
.fuss nav { display: flex; gap: 1.6rem; }
.fuss nav a { font: 600 .72rem/1.6 var(--breit); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; }
.fuss nav a:hover { color: var(--gold-hell); }
.namenshinweis { color: #8E8677; font-size: .84rem; }

/* ---------- Rechtsseiten ---------- */
.seitenkopf { border-bottom: 1px solid var(--linie); }
.recht { max-width: 46rem; margin: 0 auto; padding: clamp(2.5rem, 7vw, 5rem) var(--rand); }
.recht h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.08; margin: 0 0 .5rem; }
.recht h2 { font: 700 .8rem/1.4 var(--breit); letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin: 2.6rem 0 .6rem; }
.recht p, .recht li { max-width: var(--mass); }
.recht .stand { color: var(--ink-soft); margin: 0 0 2rem; }
.recht address { font-style: normal; }
.recht .kurz { background: var(--flaeche); border: 1px solid var(--linie); padding: 1.1rem 1.3rem; }
.recht a { color: var(--gold-hell); }

@media (max-width: 760px) {
  .exemplar { grid-template-columns: 60px minmax(0, 1fr); }
  .exemplar-icon { width: 60px; height: 60px; border-radius: 14px; }
  .status { grid-column: 2; margin-top: 0; }
  .auftrag .abschnitt { grid-template-columns: 1fr; }
  .navi a:not(.navi-kontakt) { display: none; }
  .pixel i:nth-child(n+7) { display: none; }
}

/* Handy: Quadrate bekommen eine eigene Zone ueber dem Namen, der Zusatz bleibt einzeilig */
@media (max-width: 760px) {
  .marke { padding-top: 3.2rem; }
  .pixel { inset: auto; top: clamp(2rem, 6vw, 4.5rem); left: var(--rand); width: 55%; height: 3.4rem; }
  .marke-zusatz { white-space: nowrap; font-size: .76rem; letter-spacing: .24em; gap: .7rem; }
  .marke-zusatz::before, .marke-zusatz::after { flex-basis: 1.6rem; }
  .marke-leitsatz { letter-spacing: .2em; text-wrap: balance; max-width: 22rem; }
}
@media (max-width: 760px) {
  /* Spur vom J nach links oben, kleiner werdend - wie im Logo. Alle Quadrate bleiben
     links vom J: eines ueber dem E las sich am Handy wie ein Akzent auf dem E. */
  .pixel i:nth-child(1) { left: 20%; top: 80%; --g: 12px; }
  .pixel i:nth-child(2) { left: 10%; top: 56%; --g: 10px; }
  .pixel i:nth-child(3) { left: 16%; top: 26%; --g: 8px; }
  .pixel i:nth-child(4) { left: 3%;  top: 36%; --g: 9px; }
  .pixel i:nth-child(5) { left: 9%;  top: 4%;  --g: 7px; }
  .pixel i:nth-child(6) { left: 0%;  top: 72%; --g: 6px; }
}
