/* First-visit notice (hinweis.html), in the dark style of the Schülerprojekte page. */
:root {
  --bg: #050605;
  --text: #f1f6ee;
  --muted: #8f9c8c;
  --faint: #5d685b;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  --lime: #b6f23a;
  --mint: #3fe0a8;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: 24px 16px;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; }
::selection { background: var(--lime); color: #0a1204; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 4px; }

/* Background: same grid and glows as the Schülerprojekte page. */
.bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 10%, transparent 75%);
}
.aurora { position: absolute; border-radius: 50%; filter: blur(110px); }
.aurora.a1 {
  width: 50vw; height: 44vw; top: -18vw; right: -10vw; opacity: .45;
  background: radial-gradient(circle, rgba(182, 242, 58, .55), transparent 65%);
}
.aurora.a2 {
  width: 42vw; height: 38vw; bottom: -18vw; left: -14vw; opacity: .25;
  background: radial-gradient(circle, rgba(63, 224, 168, .6), transparent 65%);
}

/* The card */
.box {
  position: relative;
  width: min(100%, 540px);
  padding: clamp(28px, 6vw, 44px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(20, 26, 20, .82), rgba(10, 13, 10, .82));
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .05);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  animation: rise .9s var(--ease) both;
}
/* Lime light along the top edge */
.box::before {
  content: ""; position: absolute; top: -1px; left: 18%; right: 18%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
}
@keyframes rise { from { opacity: 0; transform: translateY(20px) scale(.98); filter: blur(6px); } }

.brand { display: flex; align-items: center; gap: 10px; font-weight: 650; font-size: 15.5px; letter-spacing: -.01em; }
.brand b { color: var(--lime); font-weight: 650; }

h1 {
  margin: 28px 0 14px;
  font-size: clamp(28px, 6vw, 38px); font-weight: 800; line-height: 1.08; letter-spacing: -.04em;
  background: linear-gradient(180deg, #ffffff 40%, #b5c0b1 120%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.box > p { margin: 0; color: var(--muted); font-size: 16.5px; }

.box > p.official { margin: 14px 0 28px; color: var(--muted); }
.official a { color: var(--lime); font-weight: 600; text-decoration: none; }
.official a:hover { text-decoration: underline; text-underline-offset: 3px; }

.ok {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 52px; padding: 0 22px;
  border: 0; border-radius: 999px;
  background: linear-gradient(180deg, #d2ff74, var(--lime));
  color: #0a1204; font-family: inherit; font-size: 16px; font-weight: 650; line-height: 1; cursor: pointer;
  box-shadow: 0 0 0 1px rgba(182, 242, 58, .5), 0 8px 30px -6px rgba(182, 242, 58, .55), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.ok:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(182, 242, 58, .7), 0 14px 40px -6px rgba(182, 242, 58, .7), inset 0 1px 0 rgba(255, 255, 255, .5); }

.noscript { margin-top: 14px !important; color: var(--text) !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
