:root {
  --blue: #18bcf2;
  --night: #0b1220;
  --ink: #0f1b2d;
  --muted: #55657c;
  --soft: #f3f8fc;
  --line: #dbe6f0;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--soft); color: var(--ink); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.wrap { width: min(1040px, 100% - 40px); margin-inline: auto; }
a { color: inherit; }
a:focus-visible { outline: 4px solid var(--blue); outline-offset: 3px; }

.hero { background: radial-gradient(900px 500px at 80% 20%, rgb(24 188 242 / .28), transparent 70%), var(--night); color: #fff; padding: 72px 0 80px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.eyebrow { color: var(--blue); font-weight: 700; letter-spacing: .04em; }
h1 { font-size: clamp(46px, 8vw, 84px); line-height: 1.02; margin: 8px 0 16px; letter-spacing: -.02em; }
.lead { font-size: 21px; color: #cdd9ea; max-width: 30ch; margin-bottom: 28px; }
.btn { display: inline-block; background: var(--blue); color: #04121b; font-weight: 800; font-size: 19px; text-decoration: none; padding: 16px 30px; border-radius: 14px; box-shadow: 0 14px 34px rgb(24 188 242 / .35); transition: transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 20px 42px rgb(24 188 242 / .45); }
.btn:focus-visible { outline-color: #fff; }
.meta { margin-top: 16px; font-size: 15px; color: #9fb0c8; }
.meta strong { color: #fff; }

.hero-art { perspective: 900px; display: flex; justify-content: center; }
.tile { width: min(300px, 100%); animation: float 7s ease-in-out infinite; transform-style: preserve-3d; }
.tile img { display: block; width: 100%; height: auto; border-radius: 22%; box-shadow: -30px 40px 70px rgb(0 0 0 / .55); }
@keyframes float {
  0%, 100% { transform: rotateY(-18deg) rotateX(8deg) translateY(0); }
  50% { transform: rotateY(14deg) rotateX(-4deg) translateY(-14px); }
}

main { padding: 56px 0 64px; display: grid; gap: 48px; }
h2 { font-size: 30px; margin-bottom: 20px; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px 20px; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--blue); color: #04121b; font-weight: 800; margin-bottom: 14px; }
h3 { font-size: 18px; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 15.5px; overflow-wrap: anywhere; }
.note { background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--blue); border-radius: 16px; padding: 26px 28px; }
.note ul { padding-left: 20px; display: grid; gap: 8px; }

footer { background: var(--night); color: #9fb0c8; padding: 24px 0; font-size: 15px; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 20px; }
.foot nav a { padding: 10px 0; }
.badge { display: flex; justify-content: center; align-items: center; min-width: 44px; min-height: 44px; }
.badge img { width: 38px; height: 37px; object-fit: contain; }

/* Rechtsseiten */
.legal { padding: 40px 0 64px; max-width: 760px; }
.legal h1 { font-size: 40px; }
.legal h2 { font-size: 21px; margin: 28px 0 8px; }
.legal p, .legal ul { margin-bottom: 10px; }
.legal ul { padding-left: 20px; }
.back { display: inline-block; padding: 10px 0; font-weight: 700; }

/* Hero-Intro und Ein-/Ausblenden beim Scrollen */
.intro { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.hero-text > :nth-child(2) { animation-delay: .08s; }
.hero-text > :nth-child(3) { animation-delay: .16s; }
.hero-text > :nth-child(4) { animation-delay: .24s; }
.hero-text > :nth-child(5) { animation-delay: .32s; }
.hero-art { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s, transform .6s; }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 36px 0 48px; text-align: center; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-art { order: -1; }
  .tile { width: 150px; }
  .lead { margin-inline: auto; font-size: 19px; }
  .btn { display: block; }
  main { padding: 36px 0 44px; gap: 32px; }
  .steps { grid-template-columns: 1fr; }
  .note { padding: 20px; }
  .foot { justify-content: center; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .intro, .tile { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}
