/* aonta — site styles. Brand: Poppins; #000780 · #121138 · #8868FE · #2CBAFE · #FFFFFF */

@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 400; font-display: swap; src: url(fonts/poppins-400.woff) format('woff'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 500; font-display: swap; src: url(fonts/poppins-500.woff) format('woff'); }
@font-face { font-family: 'Poppins'; font-style: normal; font-weight: 600 700; font-display: swap; src: url(fonts/poppins-700.woff) format('woff'); }

:root {
  --navy: #000780;
  --ink: #121138;
  --purple: #8868FE;
  --cyan: #2CBAFE;
  --line: #DCDCEB;
  --muted: #5B5A7A;
  --gutter: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: #FFFFFF;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; }
a { color: #FFFFFF; }
a:hover { color: var(--cyan); }
a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; border-radius: 6px; }

.container { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Header with moving gradient ---------- */
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(160deg, #000780 0%, #000780 48%, #0A0B5E 100%);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.blob { position: absolute; aspect-ratio: 1; border-radius: 50%; }
.blob-a {
  width: clamp(420px, 56vw, 780px); right: -16%; top: -62%;
  background: radial-gradient(circle at center, #8868FE 0%, rgba(136, 104, 254, 0.55) 32%, rgba(136, 104, 254, 0) 68%);
  opacity: 0.75;
  animation: drift-a 22s ease-in-out infinite alternate;
}
.blob-b {
  width: clamp(360px, 46vw, 640px); right: 14%; bottom: -78%;
  background: radial-gradient(circle at center, #2CBAFE 0%, rgba(44, 186, 254, 0.5) 30%, rgba(44, 186, 254, 0) 66%);
  opacity: 0.6;
  animation: drift-b 26s ease-in-out infinite alternate;
}
.blob-c {
  width: clamp(320px, 38vw, 540px); left: -14%; bottom: -70%;
  background: radial-gradient(circle at center, #8868FE 0%, rgba(136, 104, 254, 0) 66%);
  opacity: 0.28;
  animation: drift-c 30s ease-in-out infinite alternate;
}
.grain {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url(grain.svg) repeat; background-size: 240px 240px;
  opacity: 0.14; mix-blend-mode: overlay;
}
.ghost {
  position: absolute; right: -4%; top: -16%; height: 132%; width: auto; z-index: 0;
  opacity: 0.06; pointer-events: none; user-select: none;
  animation: ghost-in 2s ease-out both;
}
.hero-inner { position: relative; z-index: 1; }

.nav { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 32px 0; }
.nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.nav-link { padding: 0 4px; font-size: 16px; font-weight: 500; text-decoration: none; letter-spacing: 0.01em; }
.logo { height: 52px; width: auto; }

.intro {
  display: flex; flex-direction: column; align-items: flex-start; gap: 24px;
  max-width: 860px;
  padding: clamp(64px, 9vw, 128px) 0 clamp(88px, 12vw, 160px);
}
.headline {
  margin: 0;
  font-size: clamp(2.25rem, 4.6vw, 4rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.025em;
  color: #FFFFFF; cursor: default;
}
.headline .line { display: block; }
.line-gradient:not(.chars) {
  width: fit-content;
  background: linear-gradient(90deg, #6CD0FF, #B4A2FF);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
/* text scramble: one slot per character keeps the layout still while glyphs change */
.headline .chars { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 0.26em; }
.word { display: inline-flex; white-space: nowrap; }
.ch { position: relative; display: block; }
.ch-slot { visibility: hidden; }
.ch-vis { position: absolute; left: 50%; top: 0; transform: translateX(-50%); white-space: nowrap; }

.lead {
  margin: 0; max-width: 34rem;
  font-size: clamp(1.0625rem, 1.4vw, 1.3125rem); line-height: 1.75;
  color: #C7CEFF;
  animation: fade-up 1s cubic-bezier(.19, 1, .22, 1) 0.55s both;
}

/* compact header (Impressum) */
.hero--compact .blob-a { width: clamp(360px, 44vw, 620px); right: -12%; top: -110%; opacity: 0.7; }
.hero--compact .blob-b { width: clamp(320px, 38vw, 520px); right: 18%; bottom: -150%; opacity: 0.55; }
.page-title { padding: clamp(36px, 5vw, 64px) 0 clamp(56px, 7vw, 88px); }
.page-title h1 { margin: 0; font-size: clamp(2.25rem, 4.6vw, 4rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }

/* ---------- Light sections ---------- */
.light { background: #FFFFFF; color: var(--ink); flex: 1 0 auto; }

.contact-inner {
  display: flex; flex-wrap: wrap; align-items: stretch;
  gap: clamp(48px, 6vw, 96px);
  padding-block: clamp(72px, 9vw, 120px);
}
.contact-text { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.eyebrow {
  margin: 0; display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--navy);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--purple); }
.section-title { margin: 0; font-size: clamp(2rem, 3vw, 2.625rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.016em; color: var(--navy); }
.contact-lead { margin: 0; max-width: 34rem; font-size: 18px; line-height: 1.7; color: #3D3C5C; }

.facts { margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px 40px; }
.facts > div { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.facts dt, .imprint dt { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.facts dd, .imprint dd { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.6; color: var(--ink); }
.mail-link { color: var(--navy); text-underline-offset: 4px; text-decoration-thickness: 1px; transition: color .2s ease; }
.mail-link:hover { color: var(--purple); }

.pattern {
  flex: 1 1 360px; min-height: 360px; border-radius: 24px;
  position: relative; overflow: hidden; background: var(--navy);
}

.imprint-wrap { padding-block: clamp(64px, 8vw, 112px); }
.imprint { margin: 0; max-width: 820px; border-bottom: 1px solid var(--line); }
.imprint > div { display: flex; flex-wrap: wrap; gap: 4px 24px; border-top: 1px solid var(--line); padding: 20px 0; }
.imprint dt { flex: 0 0 200px; line-height: 2.2; }
.imprint dd { flex: 1 1 280px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, 0.72); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; padding-block: 32px; }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; }
.footer-meta p { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, 0.6); }
.footer-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, 0.85); text-decoration: none; transition: color .2s ease; }
.footer-link:hover { color: var(--cyan); }

/* ---------- Motion ---------- */
@keyframes aonta-in{from{opacity:0;transform:translateY(16px);filter:blur(6px)}to{opacity:1;transform:none;filter:blur(0)}}
@keyframes aonta-breathe{0%,100%{transform:scale(1);opacity:1}50%{transform:scale(.7);opacity:.45}}
.in{animation:aonta-in 1.2s cubic-bezier(.19,1,.22,1) both}
@keyframes aonta-ch{from{opacity:0;transform:translateY(.35em);filter:blur(8px)}to{opacity:1;transform:none;filter:blur(0)}}
.ln{display:block}
.wd{display:inline-block;white-space:nowrap}
.ch{display:inline-block;animation:aonta-ch 1.1s cubic-bezier(.19,1,.22,1) backwards;transition:transform 1.1s cubic-bezier(.19,1,.22,1),color 1.1s ease}
.ch:hover{transform:translateY(-0.12em);color:#A9E1FF !important;transition-duration:.25s}
.ln2 .ch:hover{color:#FFFFFF !important}
.sym{transform-box:fill-box;transform-origin:center;animation:aonta-breathe 4.8s ease-in-out infinite}
@media (prefers-reduced-motion: reduce){.in,.sym{animation:none}}

@keyframes drift-a { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-8%, 6%, 0) scale(1.08); } 100% { transform: translate3d(-3%, 12%, 0) scale(.96); } }
@keyframes drift-b { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(10%, -8%, 0) scale(1.1); } 100% { transform: translate3d(-6%, -3%, 0) scale(1); } }
@keyframes drift-c { 0% { transform: translate3d(0, 0, 0) scale(1); } 100% { transform: translate3d(12%, -10%, 0) scale(1.12); } }
@keyframes ghost-in { from { opacity: 0; } to { opacity: .06; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) { .blob-a { opacity: .45; } }
@media (prefers-reduced-motion: reduce) {
  .blob, .ghost, .lead { animation: none; }
}
