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

body {
  font-family: "Baloo 2", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 2rem 1.5rem;
  background: radial-gradient(circle at top left, #ffe3f1 0, #fdf2ff 30%, #e0f8ff 70%, #ffe9d6 100%);
}

.page {
  max-width: 960px;
  width: 100%;
  margin: auto;
  background: #fffdf9;
  border-radius: 28px;
  border: 2px solid #ffd6ec;
  box-shadow: 0 20px 70px rgba(255, 143, 178, 0.35);
  padding: 2.5rem 2rem 2rem;
  position: relative;
  overflow: hidden;
}

/* Doodles / Sticker */
.page::before {
  content: "✦";
  position: absolute;
  top: 14px;
  right: 22px;
  font-size: 1.4rem;
  color: #ff8bb0;
  opacity: 0.8;
  transform: rotate(12deg);
}

.page::after {
  content: "✉︎";
  position: absolute;
  bottom: 10px;
  left: 18px;
  font-size: 2rem;
  color: #facc15;
  opacity: 0.7;
  transform: rotate(-8deg);
}

.content {
  position: relative;
  z-index: 1;
}

.badge-row {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin-bottom: 1.3rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: #fff2fb;
  border: 1px dashed #ff8fb4;
  color: #ff4b8b;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-heart {
  font-size: 0.95rem;
}

.sticker {
  padding: 0.2rem 0.9rem;
  border-radius: 999px;
  border: 2px solid #a5f3fc;
  background: #ecfeff;
  font-size: 0.78rem;
  color: #0f766e;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transform: rotate(-4deg);
  box-shadow: 0 5px 0 rgba(15, 118, 110, 0.15);
}

.hero-title {
  font-size: clamp(2.1rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 0.6rem;
  color: #111827;
}

.hero-highlight {
  color: #ff4b8b;
  position: relative;
  display: inline-block;
}

.hero-highlight::after {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  bottom: -4px;
  height: 8px;
  background: #ffe4f0;
  z-index: -1;
  border-radius: 999px;
}

.hero-subtitle {
  font-size: 1rem;
  color: #4b5563;
  max-width: 540px;
  margin-bottom: 0.7rem;
}

.hero-meta {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 1.7rem;
}

.hero-meta span {
  color: #0f766e;
  font-weight: 600;
}

.layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.8rem;
  align-items: stretch;
}

@media (max-width: 768px) {
  .page {
    padding: 2rem 1.4rem 1.6rem;
  }
  .layout {
    grid-template-columns: 1fr;
  }
}

/* Karten-Optik */
.card {
  background: #ffffff;
  border-radius: 22px;
  border: 2px solid #ffe2f4;
  padding: 1.4rem 1.3rem 1.3rem;
  position: relative;
  box-shadow: 0 12px 30px rgba(248, 113, 113, 0.15);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  border: 1px dashed #fecaca;
  opacity: 0.5;
  pointer-events: none;
}

.card.timeline-card {
  transform: rotate(-1.2deg);
}

.card.message-card {
  transform: rotate(1.4deg);
  background: #fff7ed;
  border-color: #fed7aa;
  box-shadow: 0 12px 32px rgba(248, 153, 60, 0.27);
}

.card-title {
  font-size: 0.95rem;
  color: #9f1239;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card-title span {
  font-size: 1.1rem;
}

/* Zeitstrahl */
.timeline {
  position: relative;
  padding-top: 0.8rem;
  padding-bottom: 0.4rem;
}

.timeline-track {
  position: absolute;
  top: 44px;
  left: 5%;
  right: 5%;
  height: 3px;
  background-image: repeating-linear-gradient(
    90deg,
    #fecaca,
    #fecaca 6px,
    transparent 6px,
    transparent 10px
  );
  opacity: 0.9;
  z-index: 0;
}

.timeline-steps {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.timeline-step {
  text-align: center;
  padding: 0.3rem 0.2rem 0.1rem;
}

.timeline-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9ca3af;
  margin-bottom: 0.2rem;
}

.timeline-dot {
  width: 30px;
  height: 30px;
  margin: 0 auto 0.4rem;
  border-radius: 999px;
  background: #fee2e2;
  border: 2px solid #fb7185;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #9f1239;
  box-shadow: 0 6px 10px rgba(248, 113, 113, 0.35);
}

.timeline-dot--now {
  background: #a5f3fc;
  border-color: #0ea5e9;
  color: #0369a1;
}

.timeline-dot--future {
  background: #fef9c3;
  border-color: #facc15;
  color: #854d0e;
}

.timeline-heading {
  font-size: 0.96rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.2rem;
}

.timeline-text {
  font-size: 0.86rem;
  color: #6b7280;
}

/* Nachricht + Countdown */
.message-top {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.6rem;
}

.message-icon {
  width: 50px;
  height: 50px;
  border-radius: 18px;
  background: linear-gradient(135deg, #f97316, #fb7185);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  box-shadow: 0 10px 22px rgba(248, 113, 113, 0.55);
  transform: rotate(-8deg);
}

.message-main-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #7c2d12;
}

.message-text {
  font-size: 0.9rem;
  color: #7c2d12;
  margin-top: 0.1rem;
}

.message-text span {
  color: #ea580c;
  font-weight: 600;
}

/* Stempel */
.stamp {
  margin-top: 0.4rem;
  display: inline-flex;
  padding: 0.15rem 0.75rem;
  border-radius: 999px;
  border: 2px dashed #f97316;
  color: #b45309;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transform: rotate(-7deg);
  background: #fffbeb;
  box-shadow: 0 5px 0 rgba(245, 158, 11, 0.2);
}

.countdown {
  margin-top: 1.1rem;
  border-radius: 18px;
  border: 2px solid #fed7aa;
  padding: 0.9rem 0.85rem 0.8rem;
  background: #fff7ed;
  position: relative;
}

.countdown::after {
  content: "⏳";
  position: absolute;
  top: -16px;
  right: 12px;
  font-size: 1.3rem;
  transform: rotate(10deg);
}

.countdown-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #9a3412;
  margin-bottom: 0.5rem;
}

.countdown-values {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.time-box {
  flex: 1;
  min-width: 74px;
  border-radius: 14px;
  padding: 0.5rem 0.4rem 0.45rem;
  background: #ffffff;
  border: 1.5px solid #fecaca;
  text-align: center;
  box-shadow: 0 4px 8px rgba(248, 113, 113, 0.15);
}

.time-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #b91c1c;
  display: block;
}

.time-label {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9f1239;
}

.note {
  font-size: 0.78rem;
  color: #7c2d12;
  margin-top: 0.5rem;
}

.footer-line {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #6b7280;
  text-align: center;
}

.footer-line span {
  color: #ec4899;
}

