:root {
  color-scheme: dark;
  font-family: "Segoe UI", system-ui, sans-serif;
  color: #eff1f5;
  background: #08090d;
  line-height: 1.55;
  --muted: #aeb3c0;
  --accent: #d1d9f0;
  --line: #e5ebff26;
  --gutter: clamp(1.25rem, 5.8vw, 6rem);
  --silver: linear-gradient(120deg, #fff 0%, #dce2ed 26%, #b9c1d2 50%, #f4f7ff 71%, #a8b2c7 100%);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 2px solid #c6d8ff; outline-offset: 5px; }
address { font-style: normal; }
h1, h2, p { margin: 0; }
h1, h2 { font-weight: 500; letter-spacing: -.068em; line-height: 1.04; text-wrap: balance; }
h2 { font-size: clamp(2.35rem, 4.05vw, 4.15rem); }
.wrap { width: min(calc(100% - var(--gutter) * 2), 85rem); margin-inline: auto; }
.section { padding-block: clamp(3.4rem, 6.8vw, 6.5rem); }
[id] { scroll-margin-top: 1.2rem; }
.skip { position: fixed; z-index: 10; top: 1rem; left: 1rem; padding: .5rem 1rem; background: #151820; }
.skip:not(:focus) { clip-path: inset(50%); }

.topbar, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar { min-height: 5.8rem; border-bottom: 1px solid var(--line); }
.home {
  isolation: isolate;
  --header-height: 4.3rem;
  padding-top: .85rem;
}
.home .topbar {
  position: sticky; top: .85rem; z-index: 2;
  display: grid; grid-template-columns: minmax(0,1fr) auto 1fr;
  gap: .5rem; min-height: var(--header-height); padding: .5rem .6rem .5rem 1rem;
  border: 1px solid #d8e4ff29; border-top-color: #dfe8ff55; border-radius: 1.15rem;
  background: linear-gradient(155deg, #202633ee, #0b0d16ed 65%);
  box-shadow: 0 .6rem 2rem #0005;
}
.brand {
  display: inline-flex; width: fit-content; min-height: 2.75rem; align-items: center; gap: .55rem;
  flex-shrink: 0; color: #e6ebf5; font-size: .88rem; font-weight: 550;
  letter-spacing: .16em; text-transform: uppercase; line-height: 1;
}
.brand-mark { display: block; width: 2.45rem; height: auto; }
.topbar a, .footer a { text-decoration: none; }
.topbar nav {
  display: flex; align-items: center; gap: .12rem; padding: .22rem;
  border: 1px solid #e4eaff20; border-top-color: #e8edff45; border-radius: 3rem;
  background: linear-gradient(160deg, #c2d2ff12, #0a0b11b5 75%);
  box-shadow: 0 .45rem 1.4rem #0004;
  backdrop-filter: blur(16px);
}
.topbar nav a, .topbar > a:not(.brand), .footer a { color: #bfc4cf; font-size: .9rem; }
.topbar nav a { padding: .46rem 1rem; border-radius: 2rem; transition: background-color .2s, color .2s; }
.topbar nav a:hover, .topbar nav a:focus-visible { background: #dce6ff12; color: white; }
.home .topbar nav { background: none; border: 0; padding: 0; box-shadow: none; backdrop-filter: none; }
.topbar nav a[aria-current="location"] { color: #fff; background: #c7d7ff23; box-shadow: inset 0 0 0 1px #dce5ff26; }
.topbar > a:not(.brand):hover, .footer a:hover { color: white; }

.home main [id], .home #inhalt, .home #impressum { scroll-margin-top: calc(var(--header-height) + 1.85rem); }
.hero { position: relative; isolation: isolate; overflow: clip; }
.hero::after {
  content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, #858faff0 16%, #7c8ba02d 39%, #d8e1f14d 76%, transparent);
}
.hero-art { position: absolute; z-index: -1; inset: 0; pointer-events: none; overflow: hidden; }
.hero-art::before, .hero-art::after { content: ""; position: absolute; inset: 0; }
.hero-art::before {
  background:
    radial-gradient(ellipse at 77% 52%, #2945886b 0%, transparent 49%),
    radial-gradient(ellipse at 91% 23%, #4f2d794f 0%, transparent 37%),
    radial-gradient(ellipse at 60% 88%, #122b4c61 0%, transparent 40%);
}
.hero-art::after {
  background: linear-gradient(90deg, #080a10 0%, #080a10e8 19%, #080a1078 40%, transparent 67%),
              linear-gradient(0deg, #080a10 0%, #080a1000 19%, #080a1000 90%, #080a1070 100%);
}
.hero-art canvas { display: block; width: 100%; height: 100%; }
.hero-inner {
  position: relative; display: grid; align-items: center;
  min-height: clamp(33rem, calc(90svh - var(--header-height) - .85rem), 56rem);
  padding-block: 3.5rem 5.5rem;
}
.hero-copy { width: fit-content; position: relative; isolation: isolate; }
.hero-copy::before {
  content: ""; position: absolute; z-index: -1; inset: -1.7rem -2.7rem;
  background: radial-gradient(ellipse at 42% 54%, #07090edc, #080a106a 64%, transparent 78%);
  pointer-events: none;
}
.eyebrow {
  display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem;
  color: var(--accent); font-size: .79rem; font-weight: 600; letter-spacing: .17em;
  line-height: 1.5; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 1.9rem; height: 1px; background: linear-gradient(90deg, #c5d0eb, #56617d); }
.hero-copy .eyebrow { margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(4.75rem, 7.65vw, 8.6rem); line-height: .98; letter-spacing: -.082em; }
.hero h1 span {
  display: inline-block; padding-right: .12em; padding-bottom: .08em;
  font-family: "Baskervville", Georgia, "Times New Roman", serif; font-weight: 400; font-style: italic;
  font-size: .94em; letter-spacing: -.077em;
  background: var(--silver); background-clip: text; color: transparent;
}
.hero-summary { max-width: 33ch; margin-top: 1.15rem; color: #b9bfcd; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  width: fit-content; min-height: 2.9rem; padding: .62rem 1.3rem; border: 1px solid #f1f4ff85; border-radius: 3rem;
  color: #12151b; background: linear-gradient(165deg, #fafbff, #e0e5ef 42%, #bec6d4 98%);
  box-shadow: inset 0 1px 0 white, 0 4px 18px #0006;
  font-weight: 600; font-size: .92rem; text-decoration: none;
  transition: transform .22s, box-shadow .22s;
}
.button:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 white, 0 4px 22px #becfff25; }
.hero-copy .button { margin-top: 1.65rem; }
.focus-icon { position: relative; width: 1.12rem; height: .72rem; border: 1.4px solid currentColor; border-radius: 50%; transform: rotate(-30deg); }
.focus-icon::after { content: ""; position: absolute; inset: 2px 4px; border: 1px solid currentColor; border-radius: 50%; }
.motion-toggle {
  grid-column: 3; justify-self: end; width: 2.75rem; height: 2.75rem; display: grid; place-items: center;
  padding: 0; border: 1px solid #bacbff42; border-radius: .8rem;
  color: #e4ebfc; background: #c0d2ff0d; cursor: pointer;
}
.motion-toggle:hover { color: #fff; background: #c0d2ff25; }
.motion-icon { display: grid; place-items: center; width: 1rem; height: 1rem; }
.motion-icon::after { content: ""; width: .45rem; height: .55rem; border-inline: 1.5px solid currentColor; }
.motion-toggle[data-paused] .motion-icon::after { width: 0; height: 0; border: .26rem solid transparent; border-right: 0; border-left: .4rem solid currentColor; }

.focus, .contact { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.82fr); gap: 1.6rem 4rem; }
.home .focus, .home .contact { padding-block: clamp(3rem,6.5vw,6rem); }
.home .section-heading { position: relative; isolation: isolate; width: fit-content; }
.home .section-heading::before {
  content: ""; position: absolute; z-index: -1; inset: -.9rem -.85rem;
  background: radial-gradient(ellipse, #080a10e8 35%, #080a1068 67%, transparent 81%);
}
.home .focus-copy, .home .contact address {
  width: fit-content; padding: 1.2rem 1.4rem; border: 1px solid #bacbff25; border-radius: 1rem;
  background: #0b0e19d9;
}
.focus-copy, .contact address, .prose p, .prose address, .app-copy > p:not(.eyebrow) { color: var(--muted); }
.focus-copy { font-size: clamp(1rem, 1.4vw, 1.15rem); max-width: 47ch; }
.focus-copy p + p, .prose p + p { margin-top: .9rem; }
.app-card {
  position: relative; isolation: isolate; overflow: clip; display: grid;
  grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); align-items: center;
  padding: clamp(1.7rem,4.6vw,4.8rem); border: 1px solid #bfcbe033; border-radius: 1.5rem;
  background: radial-gradient(ellipse at 88% 36%, #29324760, transparent 50%), linear-gradient(118deg,#141925f5,#10141fec 46%,#10152391);
  box-shadow: inset 0 1px 0 #f4f7ff16;
}
.app-card::after {
  content: ""; position: absolute; top: 0; left: 8%; width: 46%; height: 1px;
  background: linear-gradient(90deg,transparent,#eaf1ff9e,transparent);
}
.app-copy > p:not(.eyebrow) { max-width: 37ch; margin-top: .85rem; }
.button-secondary { margin-top: 1.5rem; color: #eff2f8; border-color: #dce9ff45; background: linear-gradient(160deg,#54596765,#15171f); box-shadow: inset 0 1px 0 #f1f5ff1f; }
.app-display { display: grid; place-items: center; position: relative; min-height: 9rem; }
.app-display::before {
  content: ""; position: absolute; width: min(100%,20rem); height: 46%; top: 62%; border-radius: 50%;
  background: radial-gradient(ellipse,#abbcec33 0%,#737fa714 36%,transparent 70%);
}
.app-tile { width: clamp(5.5rem,10vw,9rem); transform: perspective(500px) rotateX(12deg) rotateY(-20deg) rotateZ(8deg); }
.app-tile img { display: block; width: 100%; height: auto; border-radius: 23%; border: 1px solid #d1dcec66; box-shadow: 3px 5px 0 #50576a, 5px 8px 0 #252934, 10px 17px 20px #02030890; }
.contact { align-items: center; }
.footer { min-height: 5.2rem; border-top: 1px solid var(--line); }
.home .footer { text-shadow: 0 1px 7px #06070b; }
.footer nav { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; }
.footer small { color: var(--muted); font-size: .85rem; }
.prose { min-height: 65vh; max-width: 49rem; }
.prose h1 { font-size: clamp(2.4rem,6vw,5rem); margin-bottom: 1.75rem; }
.prose h2 { margin: 1.8em 0 .5em; font-size: clamp(1.45rem,3vw,1.9rem); letter-spacing: -.035em; }
.prose address { margin-bottom: 1.1rem; }
.prose .draft { border-left: 2px solid #a6b0c780; padding-left: 1rem; }

@media (max-width: 46rem) {
  .topbar { min-height: 4.7rem; }
  .topbar nav a { padding: .4rem .8rem; }
  .hero-inner { min-height: max(34rem,calc(93svh - var(--header-height))); align-items: end; padding-block: clamp(14rem,49vw,23rem) 4rem; }
  .hero-art::after {
    background: linear-gradient(90deg, #080a10a8, transparent 78%),
                linear-gradient(0deg, #080a10 0%, #080a10bf 17%, #080a1059 52%, #080a1000 77%);
  }
  .hero-art::before {
    background: radial-gradient(ellipse at 78% 29%, #293e7e65, transparent 57%),
                radial-gradient(ellipse at 40% 57%, #282d6950, transparent 60%);
  }
  .hero h1 { font-size: clamp(3.65rem,12vw,6rem); }
  .hero-copy { width: 100%; }
  .hero-copy .eyebrow { margin-bottom: 1rem; }
  .hero-summary { margin-top: .85rem; }
  .focus, .contact { grid-template-columns: 1fr; }
  .home .focus-copy, .home .contact address { padding: 1rem 1.15rem; }
  .app-card { grid-template-columns: minmax(0,1fr) auto; column-gap: 1rem; }
}
@media (max-width: 33rem) {
  .home { --header-height: 6.25rem; }
  .home .topbar { grid-template-columns: 1fr auto; padding: .32rem .48rem; gap: .18rem .5rem; }
  .home .brand { grid-row: 1; padding-inline: .35rem; }
  .home .topbar nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; }
  .home .topbar nav a { flex: 1; min-height: 2.75rem; display: grid; place-items: center; }
  .home .motion-toggle { grid-row: 1; grid-column: 2; }
  .hero-copy .eyebrow { gap: .6rem; letter-spacing: .12em; }
  .brand { font-size: .8rem; gap: .45rem; }
  .brand-mark { width: 2.2rem; }
  .topbar nav a { padding: .48rem .59rem; }
  .app-card { grid-template-columns: 1fr; }
  .app-display { grid-row: 1; min-height: 7rem; margin-bottom: 1.5rem; }
  .footer { flex-wrap: wrap; gap: .55rem 1rem; padding-block: 1rem; }
}
@media (max-width: 23rem) {
  .topbar { gap: .4rem; }
  .topbar nav { padding: .12rem; gap: 0; }
  .topbar nav a { padding-inline: .37rem; font-size: .85rem; }
  .hero .eyebrow { font-size: .75rem; letter-spacing: .09em; }
  .hero h1 { font-size: 3.35rem; }
  .hero-copy::before { inset-inline: -1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
  .button:hover { transform: none; }
}
@media (forced-colors: active) {
  .hero h1 span { color: CanvasText; }
  .hero-art { display: none; }
  .topbar nav a[aria-current="location"] { outline: 1px solid currentColor; }
}
