/* Umbau-Seite kestro.de. Nacht-Palette der neuen Seite, eine Signalfarbe (Amber).
   Animationen laufen immer (kein reduced-motion-Gating, Kians Regel). */
@font-face {
  font-family: 'Mona Sans';
  src: url('/fonts/mona-sans.woff2') format('woff2');
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
}

:root {
  --bg: #0c0e12;
  --ink: #ece8df;
  --muted: #9a958b;
  --line: rgba(236, 232, 223, 0.14);
  --signal: #f2a23a;
  --gutter: clamp(1.5rem, 6vw, 6rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Mona Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(242, 162, 58, 0.08), transparent 60%),
    var(--bg);
}

::selection {
  background: var(--signal);
  color: var(--bg);
}

.stage {
  flex: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(2rem, 6vh, 4rem);
  padding: clamp(1.5rem, 5vh, 3rem) var(--gutter) clamp(2.5rem, 8vh, 5rem);
  min-height: 100svh;
}

.brand {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 720;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.12em;
  animation: rise 1s var(--ease) both;
}

.dot {
  width: 0.32em;
  height: 0.32em;
  background: var(--signal);
  display: inline-block;
  animation: pulse 2.4s ease-in-out infinite;
}

.message {
  align-self: center;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 10.5vw, 13rem);
  line-height: 0.92;
  letter-spacing: -0.035em;
  font-weight: 760;
  font-stretch: 112%;
  text-wrap: balance;
  animation: rise 1.2s var(--ease) 0.1s both;
}

.en {
  margin: clamp(1rem, 2.5vw, 2rem) 0 0;
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  color: var(--muted);
  animation: rise 1.2s var(--ease) 0.25s both;
}

.contact {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  animation: rise 1.2s var(--ease) 0.4s both;
}

.label {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.mail {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  user-select: all;
  transition: color 0.3s var(--ease);
}

.mail:hover {
  color: var(--signal);
}

.legal {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 3.5rem) var(--gutter) clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--muted);
}

.legal h2 {
  margin: 0 0 0.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
}

.legal p {
  margin: 0 0 0.6rem;
  max-width: 72ch;
}

@media (min-width: 960px) {
  .legal {
    grid-template-columns: 1fr 2fr;
    gap: clamp(2rem, 5vw, 5rem);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(1.2rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.25;
  }
}
