/* lucoris website: shared base for every page (tokens, type, nav, footer, FAQ list, mail box).
   Taken from the prototype unchanged; page-specific rules live in index.css, support.css, legal.css. */

:root {
  --bg: #fff;
  --gray: #f5f5f7;
  --ink: #1d1d1f;
  --ink2: #515154;
  --ink3: #86868b;
  --line: #d2d2d7;
  --navy: #141c45;
  --night: #070a14;
  --up: #1e8e4e;
  --down: #c4302b;
  /* System font stack only: no font file is loaded (SF Pro on Apple devices). */
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Inter", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  color-scheme: light;
}

* { box-sizing: border-box }
html { background: var(--bg) }
html.lenis, html.lenis body { height: auto }
.lenis.lenis-smooth { scroll-behavior: auto !important }
/* The prototype keeps the browser's default 8px body margin (visible as a thin white frame in the
   reference shots); it is written out here so the look stays identical. */
body {
  margin: 8px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -.012em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* White strip behind the iPhone status bar / notch. */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: #fff; z-index: 90 }
img { display: block; max-width: 100% }
a { color: inherit }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent }
.in { max-width: 1180px; margin: 0 auto }
.pad { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)) }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.028em; text-wrap: balance }
.h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.06 }
.lead { font-size: clamp(17px, 1.45vw, 21px); line-height: 1.42; color: var(--ink2); max-width: 30em; margin: 18px 0 0 }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--ink3); margin: 0 0 12px }

/* Navigation: transparent with white text over the hero, frosted glass with dark text after (.solid). */
.nav { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; right: 0; z-index: 80; color: #fff; transition: background .4s, color .4s, box-shadow .4s }
.nav .row { height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 24px }
.nav .logo { height: 22px; width: auto }
.nav .logo.d { display: none }
.nav .links { display: flex; gap: 30px; font-size: 14px }
.nav .links a { text-decoration: none; opacity: .86; transition: opacity .2s }
.nav .links a:hover { opacity: 1 }
.nav.solid { background: rgba(255, 255, 255, .78); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); color: var(--ink); box-shadow: 0 1px 0 rgba(0, 0, 0, .07) }
.nav.solid .logo.w { display: none }
.nav.solid .logo.d { display: block }
.btn { display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 9px 17px; font-size: 14px; font-weight: 500; background: #fff; color: var(--navy); cursor: pointer; text-decoration: none; white-space: nowrap; transition: transform .2s var(--ease), background .3s, color .3s }
.btn:active { transform: scale(.96) }
.nav.solid .btn { background: var(--ink); color: #fff }
.btn.dark { background: var(--ink); color: #fff; padding: 12px 20px; font-size: 15px }
@media (max-width:820px) { .nav .links { display: none } }

/* Sections lie on top of each other as sheets with rounded top corners. */
.sheet { position: relative; border-radius: 36px 36px 0 0; margin-top: -36px; background: var(--bg); z-index: 1 }
.gray { background: var(--gray) }

/* FAQ list (landing page and support page) */
.faq { padding-block: clamp(100px, 11vw, 150px) }
.faq .list { max-width: 780px; margin: 40px auto 0; border-top: 1px solid var(--line) }
.faq details { border-bottom: 1px solid var(--line) }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-size: 18px; font-weight: 500 }
.faq summary::-webkit-details-marker { display: none }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 300; color: var(--ink3); transition: transform .35s var(--ease) }
.faq details[open] summary::after { transform: rotate(45deg) }
.faq details p { margin: 0 0 22px; color: var(--ink2); max-width: 42em }

/* "Für Hochschulen" box with the copy-mail button */
.uni { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding: 32px 34px; border-radius: 26px; background: #fff; margin: 100px auto 0; max-width: 980px }
.uni h3 { font-size: 22px }
.uni p { margin: 4px 0 0; color: var(--ink2); font-size: 15.5px }
.uni .unio + div { flex: 1; min-width: 0 }
.unio { width: 56px; height: 56px; object-fit: contain; flex: none; filter: drop-shadow(0 10px 12px rgba(20, 30, 80, .16)) }
.mail { display: flex; gap: 8px; align-items: center; font-size: 15px }
.mail code { font: inherit; background: var(--gray); border-radius: 999px; padding: 10px 15px; user-select: all }
.mail a { text-decoration: none }
.mail a code { display: block; user-select: text; transition: background .2s }
.mail a:hover code { background: #e8e8ed }
@media (max-width:700px) {
  .uni { flex-direction: column; align-items: flex-start; padding: 26px 22px }
  .uni .unio + div { flex: none; width: 100% }
  .uni .mail { width: 100% }
}

/* Sky page head of the sub pages (support, legal texts) */
.page-hero { background: linear-gradient(180deg, rgba(62, 98, 210, .62) 0%, rgba(92, 130, 230, .38) 45%, rgba(255, 255, 255, 0) 100%), url(../a/soft.webp) center/cover no-repeat; color: #fff; padding-block: 140px 72px; text-align: center }
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); line-height: 1.05; text-shadow: 0 2px 30px rgba(20, 40, 110, .18) }
.page-hero p { color: rgba(255, 255, 255, .92); margin: 12px 0 0 }

/* Footer */
footer { background: var(--night); color: #9ea3b6; font-size: 13px; padding-block: 72px 40px; position: relative; z-index: 1 }
footer .cols { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px }
footer h2 { margin: 0 0 12px; color: #e8eaf2; font-size: 13px; font-weight: 600; letter-spacing: inherit }
footer a { display: block; text-decoration: none; padding: 3px 0; transition: color .2s }
footer a:hover { color: #fff }
footer .logo { height: 22px; width: auto; margin-bottom: 12px }
/* Social profiles: plain links, nothing loads from the platforms before a click. */
footer .social { display: flex; gap: 16px; margin-top: 18px }
footer .social a { display: inline-flex; padding: 0; color: #fff; transition: opacity .2s }
footer .social a:hover { opacity: .75 }
footer .social svg { width: 20px; height: 20px; fill: currentColor }
footer .social img { height: 20px; width: auto }
footer .legal { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 48px; padding-top: 20px; font-size: 12px; line-height: 1.6; color: #767b90 }
@media (max-width:900px) { footer .cols { grid-template-columns: 1fr 1fr } }

/* Scroll reveal start state (GSAP fades .rv in); with reduced motion everything is visible at once. */
.rv { opacity: 0; transform: translateY(26px) }
@media (prefers-reduced-motion:reduce) { .rv { opacity: 1; transform: none } }

/* Images and canvases can't be dragged or selected. */
img, canvas { -webkit-user-drag: none; user-drag: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none }
