@font-face {
  font-family: Space;
  src: url("./media/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("./media/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
:root {
  font-family: Space, system-ui, sans-serif;
  color: #f5fafb;
  background: #0b3748;
  --rand: clamp(20px, 4.8vw, 88px);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .25em; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid #76e2ea; outline-offset: 4px; }
::selection { background: #b1edf2; color: #0b3748; }
.landing {
  min-height: 100vh;
  min-height: 100svh;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.lichtbuehne {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  background: radial-gradient(ellipse at 56% 40%, #2b6376 0%, #164b60 44%, #0a3142 84%);
}
.lichtbuehne::before,
.lichtbuehne::after,
.lichtbuehne i {
  content: "";
  position: absolute;
  pointer-events: none;
}
.lichtbuehne::before {
  width: 170%;
  height: 85%;
  left: -36%;
  top: 66%;
  border-radius: 50%;
  border-top: 2px solid #bbfcff;
  box-shadow: 0 -2px 7px #69f0edb8, 0 -5px 22px #49d9e36e, inset 0 3px 9px #89eee74a;
  background: radial-gradient(ellipse at 46% -7%, #427a87 0%, #285865 27%, #123b4d 56%, #0b2b3a 86%);
}
.lichtbuehne::after {
  width: 168%;
  height: 86%;
  left: -35%;
  top: calc(66% + 12px);
  border-radius: 50%;
  border-top: 1px solid #74e1e0bf;
  box-shadow: 0 -1px 4px #63dfe36e;
}
.codefeld {
  position: absolute;
  inset: 0 0 23%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  mask-image: radial-gradient(ellipse at 50% 62%, #0001 0 12%, #0008 36%, #000 68%),
    radial-gradient(ellipse clamp(165px, 21vw, 330px) 130px at 8% 6%, transparent 38%, #000 100%);
  mask-composite: intersect;
}
.lichtbuehne { isolation: isolate; }
.codefeld span {
  position: absolute;
  top: 0;
  white-space: pre;
  font: 400 16px/1.12 ui-monospace, Consolas, monospace;
  color: #b4f8d8;
  mask-image: linear-gradient(transparent, #000b 14%, #000 46% 89%, #0006);
  animation: codeflug 10s linear infinite;
}
.codefeld .fern { opacity: .46; }
.codefeld .mitte { opacity: .68; text-shadow: 0 0 4px #64deb1a1; }
.codefeld .nah { opacity: .83; color: #aaffd7; text-shadow: 0 0 5px #67ffc9, 0 0 15px #52f4b294; }
.codefeld.ruht span,
html:has(.yesign-lichtfeder[open]) .codefeld span { animation-play-state: paused; }
@keyframes codeflug {
  from { transform: translateY(-100%); }
  to { transform: translateY(77svh); }
}
@media (prefers-reduced-motion: reduce) {
  .codefeld { display: none; }
}
.lichtbuehne i {
  width: 44%;
  height: 20%;
  left: 29%;
  top: 56%;
  opacity: .58;
  background: radial-gradient(ellipse, rgb(107 223 229 / .5), transparent 64%);
  transform: scaleY(.16) rotate(-3deg);
}
@media (prefers-reduced-motion: no-preference) {
  .lichtbuehne i { animation: lichtzug 4.2s cubic-bezier(.16,1,.3,1) both; }
  html:has(.yesign-lichtfeder[open]) .lichtbuehne i { animation-play-state: paused; }
  @keyframes lichtzug {
    from { opacity: .12; transform: translateX(-17%) scale(.7,.14) rotate(-3deg); }
    to { opacity: .58; transform: scaleY(.16) rotate(-3deg); }
  }
}
.kopf { padding: max(25px, env(safe-area-inset-top)) var(--rand) 0; }
.brand { display: block; width: clamp(135px, 15.8vw, 245px); line-height: 0; }
.brand img { display: block; width: 100%; height: auto; }
.ankuendigung { display: grid; place-content: center; padding: 12px var(--rand) clamp(45px, 9vh, 102px); text-align: center; }
.ankuendigung h1 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(54px, 9vw, 155px);
  line-height: 1.05;
  letter-spacing: -.055em;
  white-space: nowrap;
}
.ankuendigung h1 em { color: #d2f1f0; font-family: "Instrument Serif", Georgia, serif; font-weight: 400; letter-spacing: -.04em; }
.fuss { padding: 12px var(--rand) max(20px, env(safe-area-inset-bottom)); }
.fuss nav { display: flex; justify-content: center; gap: 22px; }
.fuss a { display: inline-flex; align-items: center; min-height: 44px; color: #e0eef1; font-size: 14px; text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.textseite { min-height: 100vh; background: #eff4f4; color: #132f39; }
.textseite .kopf { background: linear-gradient(115deg,#0b3748,#20576a); padding-bottom: 24px; }
.textseite main { max-width: 74ch; padding: clamp(40px, 6vw, 88px) var(--rand); margin-inline: auto; box-sizing: content-box; }
.textseite h1 { font-size: clamp(42px, 6.2vw, 82px); letter-spacing: -.045em; line-height: 1.04; font-weight: 500; margin: 0 0 .6em; }
.textseite h2 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.18; letter-spacing: -.035em; margin: 1.5em 0 .45em; }
.textseite p { font-size: 17px; line-height: 1.65; margin: 0 0 1em; }
.textseite .fuss { background: #103f51; }
.textseite :focus-visible { outline-color: #087087; }
.textseite .kopf :focus-visible, .textseite .fuss :focus-visible { outline-color: #76e2ea; }
@media (max-width: 560px) {
  .lichtbuehne::before { width: 210%; left: -62%; }
  .lichtbuehne::after { width: 208%; left: -61%; }
  .lichtbuehne i { width: 67%; left: 14%; }
}
