/* ── Maibaum Köln Ehrenfeld – Stylesheet ── */

@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;600;700&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --cream: #faf3e8;
  --brown: #8B6A3E;
  --blue: #5B8DD9;
  --green-dark: #4a7c59;
  --green-mid: #6db580;
  --yellow: #F5C842;
  --pink: #E896C2;
  --orange: #F4874B;
  --red: #E05252;
  --purple: #9B72CF;
  --leaf: #4a8c5c;
}

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

body {
  background-color: var(--cream);
  font-family: 'Caveat', cursive;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Subtle grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

/* ── Header ── */
.header {
  text-align: center;
  animation: fadeDown 0.8s ease both;
}

.header h1 {
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.04em;
  line-height: 1.1;
  text-transform: uppercase;
}

.header .subtitle {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--brown);
  margin-top: 0.4rem;
  letter-spacing: 0.08em;
}

/* ── Tree SVG ── */
.tree-wrap {
  animation: floatUp 1s ease both 0.3s;
  filter: drop-shadow(0 8px 24px rgba(74,124,89,0.15));
}

.tree-wrap svg {
  width: min(320px, 80vw);
  height: auto;
}

/* Ribbon sway */
.ribbon { transform-origin: top center; animation: sway 3s ease-in-out infinite alternate; }
.r1 { animation-delay: 0s; }
.r2 { animation-delay: 0.4s; }
.r3 { animation-delay: 0.8s; }
.r4 { animation-delay: 1.2s; }
.r5 { animation-delay: 0.2s; }
.r6 { animation-delay: 0.6s; }
.r7 { animation-delay: 1s; }
.r8 { animation-delay: 1.4s; }

@keyframes sway {
  from { transform: rotate(-6deg); }
  to   { transform: rotate(6deg); }
}

/* ── Info Cards ── */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  width: 100%;
  animation: fadeUp 0.9s ease both 0.5s;
}

.card {
  background: white;
  border-radius: 18px;
  padding: 1.4rem 1.6rem;
  box-shadow: 4px 6px 0px rgba(91,141,217,0.18);
  border: 2px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px) rotate(-0.5deg);
  box-shadow: 6px 10px 0px rgba(91,141,217,0.22);
}

.card.full { grid-column: 1 / -1; text-align: center; background: var(--blue); }
.card.full .label { color: rgba(255,255,255,0.75); }
.card.full .value { color: #fff; font-size: 2rem; }

.card .label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card .value {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--brown);
  margin-top: 0.25rem;
  line-height: 1.3;
}

.card .icon {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
  display: block;
}

/* ── Preis badge ── */
.preis-badge {
  background: var(--green-dark);
  color: white;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  padding: 0.6rem 2.2rem;
  border-radius: 50px;
  box-shadow: 4px 6px 0 rgba(74,124,89,0.3);
  animation: pop 0.6s cubic-bezier(0.34,1.56,0.64,1) both 0.9s;
  display: inline-block;
}

/* ── Vorbestellung ── */
.vorbestellung {
  width: 100%;
  background: white;
  border-radius: 18px;
  padding: 1.8rem 2rem;
  box-shadow: 4px 6px 0px rgba(91,141,217,0.18);
  animation: fadeUp 0.9s ease both 1.1s;
  text-align: center;
}

.vorbestellung .vb-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cream);
  border: 2px solid var(--blue);
  color: var(--brown);
  font-family: 'Caveat', cursive;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 0.5rem 1.3rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s;
}

.contact-links a:hover {
  background: var(--blue);
  color: white;
  transform: scale(1.04);
}

/* ── Impressum ── */
.impressum {
  width: 100%;
  border-top: 2px dashed rgba(91,141,217,0.25);
  padding-top: 2rem;
  animation: fadeUp 1s ease both 1.3s;
}

.impressum summary {
  font-size: 1.1rem;
  color: var(--blue);
  cursor: pointer;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.06em;
  list-style: none;
}

.impressum summary::-webkit-details-marker { display: none; }
.impressum summary::after { content: ' ▾'; }
details[open] summary::after { content: ' ▴'; }

.imp-body {
  margin-top: 1.2rem;
  font-family: 'Lora', serif;
  font-size: 0.92rem;
  color: #666;
  line-height: 1.8;
  text-align: center;
}

.imp-body p { margin-bottom: 0.4rem; }
.imp-body .par { font-size: 0.85rem; color: #888; margin-top: 0.8rem; }

/* ── Decorative dots ── */
.dots {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.dot {
  position: absolute;
  border-radius: 50%;
  opacity: 0.12;
  animation: drift linear infinite;
}

/* ── Keyframes ── */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes floatUp {
  from { opacity: 0; transform: scale(0.9) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes pop {
  from { opacity: 0; transform: scale(0.6); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes drift {
  from { transform: translateY(100vh) rotate(0deg); }
  to   { transform: translateY(-120px) rotate(360deg); }
}

@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
  .card.full { grid-column: 1; }
  .contact-links a { font-size: 1.1rem; }
}
