* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: #0f1115;
  color: white;
  overflow-x: hidden;
}

/* =========================
   HEADER
========================= */

.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 22px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;

  background: rgba(15, 17, 21, 0.72);
  backdrop-filter: blur(16px);

  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 0.3px;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 26px;
  opacity: 0.78;
  font-weight: bold;

  transition:
    transform 0.3s ease,
    color 0.3s ease,
    opacity 0.3s ease;
}

nav a:hover {
  opacity: 1;
  color: #d6a85c;
  transform: translateY(-2px);
}

/* =========================
   HERO
========================= */

.hero {
  min-height: 100vh;

  padding: 155px 8% 90px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 65px;

  background:
    radial-gradient(circle at top right, rgba(214,168,92,0.36), transparent 34%),
    radial-gradient(circle at bottom left, rgba(255,255,255,0.08), transparent 28%),
    linear-gradient(135deg, #0f1115, #1d2430);
}

.hero-text {
  max-width: 670px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: #f3c977;

  background:
    linear-gradient(135deg, rgba(214,168,92,0.24), rgba(255,255,255,0.06));

  padding: 12px 20px;

  border-radius: 999px;

  margin-bottom: 28px;

  border: 1px solid rgba(214,168,92,0.45);

  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 12px 35px rgba(214,168,92,0.18);

  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.4px;

  backdrop-filter: blur(14px);

  position: relative;
  overflow: hidden;

  transform: scale(1);
  animation: badgePulse 4s ease-in-out infinite;
}

.badge::before {
  content: "";

  position: absolute;
  top: 0;
  left: -80%;

  width: 60%;
  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,0.35),
    transparent
  );

  transform: skewX(-20deg);

  animation: badgeShine 4s ease-in-out infinite;
}

@keyframes badgeShine {
  0% {
    left: -80%;
  }

  45% {
    left: 130%;
  }

  100% {
    left: 130%;
  }
}

@keyframes badgePulse {
  0% {
    transform: scale(1);
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.06),
      0 12px 35px rgba(214,168,92,0.18);
  }

  22% {
    transform: scale(1.035);
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.08),
      0 18px 45px rgba(214,168,92,0.28);
  }

  45% {
    transform: scale(1.055);
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.1),
      0 22px 55px rgba(214,168,92,0.35);
  }

  100% {
    transform: scale(1);
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.06),
      0 12px 35px rgba(214,168,92,0.18);
  }
}

h1 {
  font-size: 58px;
  line-height: 1.05;

  margin-bottom: 25px;

  letter-spacing: -1.4px;
}

.hero-text p {
  font-size: 20px;
  line-height: 1.65;
  color: #d8d8d8;
}

/* =========================
   BUTTON
========================= */

.btn {
  display: inline-block;

  margin-top: 32px;

  padding: 16px 32px;

  background: #d6a85c;

  color: #111;

  text-decoration: none;

  border-radius: 999px;

  font-weight: bold;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.btn:hover {
  transform:
    translateY(-5px)
    scale(1.03);

  box-shadow:
    0 18px 42px rgba(214,168,92,0.36);

  background: #e5ba70;
}

/* =========================
   HERO CARD
========================= */

.hero-card {
  width: 340px;
  flex-shrink: 0;

  background: rgba(255,255,255,0.08);

  border: 1px solid rgba(255,255,255,0.15);

  border-radius: 34px;

  padding: 35px;

  text-align: center;

  backdrop-filter: blur(20px);

  box-shadow:
    0 30px 80px rgba(0,0,0,0.35);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border 0.35s ease,
    background 0.35s ease;
}

.hero-card:hover {
  transform:
    translateY(-8px)
    scale(1.03);

  box-shadow:
    0 40px 100px rgba(0,0,0,0.45);

  border: 1px solid rgba(214,168,92,0.4);

  background: rgba(255,255,255,0.11);
}

.hero-card img {
  width: 190px;
  height: 190px;

  object-fit: cover;

  border-radius: 50%;

  margin-bottom: 24px;

  border: 4px solid #d6a85c;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.hero-card:hover img {
  transform: scale(1.03);

  box-shadow:
    0 15px 45px rgba(214,168,92,0.35);
}

.hero-card h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.hero-card p {
  color: #d5d5d5;
  line-height: 1.6;
}

/* =========================
   SECTION
========================= */

.section {
  padding: 120px 8%;

  background: #f4f4f4;

  color: #111;
}

.section h2,
.contact h2 {
  font-size: 42px;

  margin-bottom: 50px;

  letter-spacing: -0.8px;
}

/* =========================
   CARDS
========================= */

.cards {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 30px;

  align-items: stretch;
}

.card {
  background: white;

  padding: 40px;

  border-radius: 32px;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.08);

  border: 1px solid rgba(0,0,0,0.04);

  cursor: pointer;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;

  will-change: transform;
}

.card:hover {
  transform:
    translateY(-8px)
    scale(1.03);

  box-shadow:
    0 28px 70px rgba(0,0,0,0.16);

  background: white;
}

.card span {
  display: block;

  color: #d6a85c;

  font-size: 42px;

  font-weight: bold;

  margin-bottom: 18px;
}

.card h3 {
  font-size: 26px;

  margin-bottom: 18px;

  color: #111;
}

.card p {
  color: #555;

  line-height: 1.7;

  font-size: 17px;
}

/* =========================
   DARK SECTION
========================= */

.dark {
  background: #11151c;
  color: white;
}

.timeline {
  display: grid;
  gap: 25px;
}

.step {
  padding: 35px;

  border-left: 5px solid #d6a85c;

  background: rgba(255,255,255,0.07);

  border-radius: 24px;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.step:hover {
  transform:
    translateY(-5px)
    scale(1.02);

  background: rgba(255,255,255,0.1);

  box-shadow:
    0 25px 70px rgba(0,0,0,0.25);
}

.step h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

.step p {
  color: #ccc;
}

/* =========================
   CONTACT
========================= */

.contact {
  padding: 120px 8%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 55px;

  background:
    radial-gradient(circle at bottom left, rgba(214,168,92,0.3), transparent 35%),
    #0f1115;
}

.contact-text {
  max-width: 620px;
}

.contact-text p {
  font-size: 20px;
  color: #d8d8d8;
  line-height: 1.65;
}

.qr-box {
  background: white;

  padding: 25px;

  border-radius: 34px;

  box-shadow:
    0 30px 80px rgba(0,0,0,0.4);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.qr-box:hover {
  transform:
    translateY(-8px)
    scale(1.03);

  box-shadow:
    0 45px 120px rgba(0,0,0,0.5);
}

.qr-box img {
  width: 330px;

  border-radius: 22px;

  display: block;
}

/* =========================
   FOOTER
========================= */

footer {
  background: #090a0d;

  color: #aaa;

  padding: 35px 8%;

  text-align: center;
}

footer p {
  margin-bottom: 15px;
  font-size: 15px;
}

footer a {
  color: #d6a85c;

  text-decoration: none;

  margin: 0 12px;

  font-weight: bold;

  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

footer a:hover {
  color: white;
  transform: translateY(-2px);
}

/* =========================
   SCROLL REVEAL
========================= */

.reveal {
  opacity: 0;

  transform: translateY(60px);

  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 900px) {

  .hero,
  .contact {
    flex-direction: column;
    text-align: center;
  }

  nav {
    display: none;
  }

  h1 {
    font-size: 42px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .hero-card {
    width: 100%;
    max-width: 340px;
  }
}

@media (max-width: 600px) {

  .header {
    padding: 18px 6%;
  }

  .logo {
    font-size: 18px;
  }

  .hero {
    padding: 125px 6% 65px;
    gap: 38px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.15;
  }

  .hero-text p,
  .contact-text p {
    font-size: 17px;
  }

  .section,
  .contact {
    padding: 80px 6%;
  }

  .section h2,
  .contact h2 {
    font-size: 32px;
  }

  .card {
    padding: 32px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .qr-box img {
    width: 230px;
  }

  footer a {
    display: block;
    margin: 10px 0;
  }
}

/* =========================
   FIX: CARD HOVER TROTZ REVEAL
========================= */

.card.reveal.active:hover,
.card:hover {
  transform: translateY(-10px) scale(1.08);
  box-shadow: 0 35px 90px rgba(0,0,0,0.22);
  z-index: 20;
}

.hero-card.reveal.active:hover,
.hero-card:hover {
  transform: translateY(-10px) scale(1.06);
  box-shadow: 0 45px 110px rgba(0,0,0,0.5);
  z-index: 20;
}

.step.reveal.active:hover,
.step:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  z-index: 20;
}

.qr-box.reveal.active:hover,
.qr-box:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 45px 120px rgba(0,0,0,0.5);
  z-index: 20;
}

/* =========================
   SCROLL SPARSCHWEIN
========================= */

.piggy-scroll {
  position: fixed;
  right: 34px;
  bottom: 34px;
  z-index: 80;

  width: 190px;

  pointer-events: none;

  opacity: 0.92;

  transform: translateY(0) scale(1);

  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.piggy-scroll.hide {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
}

.piggy-label {
  margin-bottom: 12px;

  background: rgba(15, 17, 21, 0.72);
  border: 1px solid rgba(214,168,92,0.28);

  backdrop-filter: blur(14px);

  border-radius: 999px;

  padding: 9px 14px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  box-shadow:
    0 18px 45px rgba(0,0,0,0.28);
}

.piggy-label span {
  color: #f3c977;
  font-weight: 900;
  font-size: 15px;
}

.piggy-label small {
  color: rgba(255,255,255,0.78);
  font-size: 12px;
  font-weight: 700;
}

/* Gesamtform */

.piggy-bank {
  position: relative;

  width: 190px;
  height: 135px;

  filter:
    drop-shadow(0 25px 35px rgba(0,0,0,0.35));
}

/* Ohr */

.piggy-ear {
  position: absolute;
  top: 16px;
  left: 45px;

  width: 34px;
  height: 34px;

  background:
    linear-gradient(135deg, #f2c979, #d6a85c);

  border-radius: 65% 35% 55% 45%;

  transform: rotate(-25deg);

  z-index: 1;
}

/* Körper */

.piggy-body {
  position: absolute;
  left: 18px;
  top: 32px;

  width: 145px;
  height: 88px;

  border-radius: 55px 65px 55px 60px;

  overflow: hidden;

  background:
    linear-gradient(135deg, rgba(255,255,255,0.95), rgba(214,168,92,0.55));

  border: 2px solid rgba(214,168,92,0.65);

  box-shadow:
    inset 0 0 25px rgba(255,255,255,0.45),
    inset 0 -18px 30px rgba(0,0,0,0.08);
}

/* Füllung */

.piggy-fill {
  position: absolute;
  left: 0;
  bottom: 0;

  width: 100%;
  height: 0%;

  background:
    linear-gradient(
      to top,
      rgba(214,168,92,0.95),
      rgba(243,201,119,0.85)
    );

  transition: height 0.18s ease-out;

  z-index: 1;
}

/* Münzen */

.piggy-coins {
  position: absolute;
  inset: 0;

  z-index: 2;

  opacity: 0;

  transition: opacity 0.35s ease;
}

.piggy-coins.active {
  opacity: 1;
}

.piggy-coins span {
  position: absolute;

  width: 18px;
  height: 18px;

  border-radius: 50%;

  background:
    radial-gradient(circle at 35% 30%, #fff1b8, #d6a85c 60%, #a97826);

  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,0.25),
    0 5px 10px rgba(0,0,0,0.15);
}

.piggy-coins span:nth-child(1) {
  left: 24px;
  bottom: 15px;
}

.piggy-coins span:nth-child(2) {
  left: 52px;
  bottom: 27px;
}

.piggy-coins span:nth-child(3) {
  left: 82px;
  bottom: 17px;
}

.piggy-coins span:nth-child(4) {
  left: 102px;
  bottom: 40px;
}

.piggy-coins span:nth-child(5) {
  left: 38px;
  bottom: 51px;
}

/* Auge */

.piggy-eye {
  position: absolute;
  top: 27px;
  right: 34px;

  width: 8px;
  height: 8px;

  background: #11151c;

  border-radius: 50%;

  z-index: 4;
}

/* Nase */

.piggy-nose {
  position: absolute;
  top: 39px;
  right: 8px;

  width: 28px;
  height: 22px;

  background:
    linear-gradient(135deg, #f6d38b, #d6a85c);

  border-radius: 50%;

  border: 1px solid rgba(120,80,20,0.18);

  z-index: 4;
}

.piggy-nose::before,
.piggy-nose::after {
  content: "";

  position: absolute;
  top: 8px;

  width: 4px;
  height: 4px;

  background: rgba(0,0,0,0.38);

  border-radius: 50%;
}

.piggy-nose::before {
  left: 8px;
}

.piggy-nose::after {
  right: 8px;
}

/* Münzschlitz */

.piggy-slot {
  position: absolute;
  top: 15px;
  left: 55px;

  width: 40px;
  height: 5px;

  background: rgba(17,21,28,0.6);

  border-radius: 999px;

  z-index: 4;
}

/* Beine */

.piggy-leg {
  position: absolute;
  bottom: 2px;

  width: 24px;
  height: 20px;

  background: #d6a85c;

  border-radius: 0 0 10px 10px;

  z-index: 0;
}

.leg-left {
  left: 50px;
}

.leg-right {
  left: 120px;
}

/* Schwanz */

.piggy-tail {
  position: absolute;
  top: 65px;
  left: 6px;

  width: 28px;
  height: 28px;

  border: 4px solid #d6a85c;
  border-right: none;

  border-radius: 50%;

  transform: rotate(20deg);

  z-index: 0;
}

/* leichter lebendiger Effekt beim Scrollen */

.piggy-scroll.pulse .piggy-bank {
  animation: piggyBounce 0.45s ease;
}

@keyframes piggyBounce {
  0% {
    transform: scale(1);
  }

  45% {
    transform: scale(1.045) rotate(-1deg);
  }

  100% {
    transform: scale(1);
  }
}

/* MOBILE */

@media (max-width: 900px) {
  .piggy-scroll {
    width: 135px;
    right: 16px;
    bottom: 16px;
    opacity: 0.75;
  }

  .piggy-bank {
    width: 135px;
    height: 100px;
    transform: scale(0.75);
    transform-origin: bottom right;
  }

  .piggy-label {
    transform: scale(0.85);
    transform-origin: bottom right;
    margin-bottom: -2px;
  }
}

@media (max-width: 600px) {
  .piggy-scroll {
    display: none;
  }
}