/* Ugarion — holding page. Self-hosted fonts, no external requests. */
@font-face { font-family: "Plex Sans"; src: url("fonts/plex-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url("fonts/plex-sans-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --ink: #0a0c0f;
  --text: #e9e5de;
  --muted: #8f96a1;
  --faint: #5f6670;
  --line: rgba(255, 255, 255, 0.08);
  --clay: #e58a57;
  --sans: "Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { height: 100%; }
body { min-height: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--sans); font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; display: flex; flex-direction: column;
}
a { color: inherit; }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; border-radius: 3px; }

.stage {
  position: relative; flex: 1; display: grid; place-items: center; padding: 64px 16px; overflow: hidden;
  background:
    radial-gradient(620px 420px at 50% 42%, rgba(200, 98, 47, 0.13), transparent 70%),
    var(--ink);
}
.stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(closest-side, #000, transparent);
  -webkit-mask-image: radial-gradient(closest-side, #000, transparent);
}
.card { position: relative; text-align: center; max-width: 30rem; }
.mark { display: block; width: 52px; height: 52px; margin: 0 auto 22px; }
/* Wortmarke „Keilschrift“ (08_Marke) als Inline-SVG */
.word { margin: 0 0 24px; line-height: 0; }
.word .wm { display: block; width: 200px; height: auto; margin: 0 auto; }
.rule { width: 40px; height: 1px; background: var(--clay); margin: 0 auto 26px; opacity: 0.8; }
.eyebrow { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--clay); margin: 0 0 14px; }
.tagline { font-size: 19px; font-weight: 400; color: var(--text); margin: 0 0 8px; letter-spacing: -0.005em; }
.sub { color: var(--muted); margin: 0 0 28px; }
.mail { font-family: var(--mono); font-size: 14px; color: var(--text); text-decoration: none; border-bottom: 1px solid rgba(229,138,87,0.55); padding-bottom: 2px; }
.mail:hover { color: var(--clay); }
.en, .de { margin: 34px 0 0; font-size: 13px; color: var(--faint); }

/* Leistungsfelder der Startseite: Titel + Fachbegriffe in Mono, 2 Spalten, auf dem Handy 1 Spalte */
.card.wide { max-width: 44rem; }
.caps { list-style: none; margin: 8px 0 36px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; text-align: left; border-top: 1px solid var(--line); }
.caps li { padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line); }
.caps li:nth-child(2n) { padding: 18px 0 18px 20px; border-left: 1px solid var(--line); }
.caps h2 { font-size: 15px; font-weight: 500; margin: 0 0 6px; color: var(--text); letter-spacing: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.caps p { margin: 0; font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--muted); }
.caps .soon, .caps .tag { font-family: var(--mono); font-size: 10.5px; font-weight: 400; letter-spacing: 0.08em; text-transform: uppercase; color: var(--clay); }
/* Sicherheit als durchgehende Zeile unter den vier Leistungsfeldern */
.caps li.wide { grid-column: 1 / -1; padding: 18px 0; border-left: 0; }
.note { margin: 14px 0 0; font-size: 13px; color: var(--muted); }
.note .mail { font-size: 13px; }

/* Hinweis „neue Website kommt“ oben auf der Übergangsseite; Punkt pulsiert dezent */
.launch { display: flex; width: fit-content; align-items: center; gap: 10px; margin: 0 auto 30px; padding: 6px 14px; border: 1px solid rgba(229, 138, 87, 0.35); border-radius: 999px; background: rgba(229, 138, 87, 0.06); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay); }
.launch::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); animation: launch-pulse 2.4s ease-out infinite; }
@keyframes launch-pulse { 0% { box-shadow: 0 0 0 0 rgba(229, 138, 87, 0.55); } 70%, 100% { box-shadow: 0 0 0 9px rgba(229, 138, 87, 0); } }

/* Taktlinie als Erkennungszeichen: läuft langsam durch, steht bei reduzierter Bewegung still */
.signal { display: block; width: 160px; height: 16px; margin: -8px auto 26px; overflow: visible; }
.signal path { fill: none; stroke: var(--clay); stroke-width: 1.4; vector-effect: non-scaling-stroke; opacity: 0.85; stroke-dasharray: 46 14; animation: signal-flow 3s linear infinite; }
@keyframes signal-flow { to { stroke-dashoffset: -60; } }

/* Messwerte wie eine Instrumentenanzeige */
.proof { list-style: none; margin: 4px auto 30px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); max-width: 36rem; }
.proof li { padding: 4px 12px; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.proof li + li { border-left: 1px solid var(--line); }
.proof .n { font-family: var(--mono); font-size: 26px; line-height: 1.15; color: var(--text); letter-spacing: -0.02em; }
.proof .n small { font-size: 0.5em; color: var(--clay); margin-left: 3px; letter-spacing: 0; }
.proof .l { font-size: 12px; color: var(--muted); }

.stack { margin: -18px 0 34px; text-align: left; }
.stack div { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.stack dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--clay); padding-top: 2px; }
.stack dd { margin: 0; font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--muted); }

.cta { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 6px; background: #b8582a; color: #fff; text-decoration: none; font-size: 15px; font-weight: 500; transition: background-color .2s; }
.cta:hover { background: #a14b22; }
.cta span { transition: transform .2s; }
.cta:hover span { transform: translateX(3px); }

@media (prefers-reduced-motion: reduce) {
  .signal path { animation: none; stroke-dasharray: none; }
  .launch::before { animation: none; }
}
@media (max-width: 560px) {
  .word .wm { width: 176px; }
  .caps { grid-template-columns: 1fr; }
  .caps li, .caps li:nth-child(2n) { padding: 16px 0; border-left: 0; }
  .proof .n { font-size: 21px; }
  .proof li { padding: 4px 6px; }
  .proof .l { font-size: 11px; text-align: center; }
}

.foot { border-top: 1px solid var(--line); padding: 18px 16px 22px; font-size: 12px; color: var(--faint); }
.foot .row { max-width: 64rem; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.foot nav { display: flex; gap: 18px; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--text); }
.foot .tm { max-width: 64rem; margin: 10px auto 0; line-height: 1.5; }

/* legal pages */
.legal { flex: 1; padding: 56px 16px 72px; }
.legal .inner { max-width: 44rem; margin: 0 auto; }
.legal .back { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--muted); font-size: 13px; letter-spacing: 0.3em; margin-bottom: 40px; }
.legal .back img { width: 26px; height: 26px; }
.legal .back img.wmi { width: 112px; height: auto; opacity: 0.85; }
.legal h1 { font-size: 26px; font-weight: 500; margin: 0 0 28px; letter-spacing: -0.01em; }
.legal h2 { font-size: 15px; font-weight: 500; margin: 30px 0 6px; color: var(--text); }
.legal p, .legal address { color: #b8bec7; margin: 0 0 10px; font-style: normal; }
.legal a { color: var(--text); }
.legal .stand { margin-top: 36px; color: var(--faint); font-size: 13px; }
