:root {
  --bg: #fff8f0;
  --card: #ffffff;
  --text: #1a1a2e;
  --muted: #6b7280;
  --red: #ff6b6b;
  --orange: #ff8e53;
  --yellow: #ffe66d;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
#balloon-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.balloon {
  position: absolute;
  animation: float 7s ease-in-out infinite;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.15));
}
#canvas-regen, #canvas-kanone {
  position: fixed;
  inset: 0;
  pointer-events: none;
}
#canvas-regen { z-index: 50; }
#canvas-kanone { z-index: 100; }
.nav {
  position: sticky; top: 0; z-index: 200;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  min-height: 64px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--yellow);
}
.logo { text-decoration: none; font-weight: 900; color: var(--text); }
.logo .logo-accent {
  background: linear-gradient(135deg,var(--red),var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.links { display: flex; gap: 12px; align-items: center; }
.links a { text-decoration: none; color: #374151; font-size: .9rem; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none;
  border: 1px solid #eee;
  background: #fff;
  color: #374151;
  border-radius: 999px;
  padding: 10px 12px;
  font-weight: 700;
}
.mobile-menu {
  display: none;
}
.btn {
  display:inline-block; border:0; cursor:pointer;
  padding: 12px 18px; border-radius: 999px; font-weight: 700; text-decoration: none;
  background: linear-gradient(135deg,var(--red),var(--orange)); color: #fff;
  box-shadow: 0 8px 24px rgba(255,107,107,.35);
}
.section { padding: 60px 18px; max-width: 1120px; margin: 0 auto; position: relative; z-index: 5; }
#geraete, #warum, #ablauf, #kalender, #top { scroll-margin-top: 90px; }
.hero {
  min-height: 74vh;
  text-align: center;
  background: linear-gradient(160deg,#fff8f0 0%,#fff0f5 50%,#f0f4ff 100%);
  padding: 80px 18px 64px;
  position: relative;
}
.hero-card {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(255,248,240,.72);
  border-radius: 28px;
  padding: 28px 24px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 6;
}
.hero h1 { margin: 0 0 10px; font-size: clamp(2rem, 5vw, 3.2rem); }
.hl {
  background: linear-gradient(135deg,var(--red),var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.muted { color: var(--muted); }
.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #fcd34d;
  background: #fffbeb;
  color: #b45309;
  font-weight: 700;
  font-size: .78rem;
}
.emoji-list { display: flex; justify-content: center; gap: 10px; font-size: 2rem; margin: 20px 0; }
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
}
.card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(2px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
  transition: transform .18s ease;
  transform-style: preserve-3d;
}
.card:hover { transform: translateY(-4px); }
.card.disabled { opacity: .58; filter: grayscale(.2); }
.price { font-size: 1.2rem; font-weight: 800; margin: 8px 0 14px; }
.usps { grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); }
.step {
  background: rgba(255, 255, 255, 0.94); border-radius: 16px; padding: 14px;
  backdrop-filter: blur(2px);
  border: 1px solid #f3f4f6;
}
.footer {
  background: #fff;
  border-top: 1px solid #eee;
  text-align: center;
  padding: 30px 18px;
}
.calendar-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(2px);
  padding: 14px;
}
.availability-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.btn-ghost {
  background: #fff;
  color: #374151;
  border: 1px solid #e5e7eb;
  box-shadow: none;
  padding: 8px 12px;
}
#availability-grid {
  display: grid;
  grid-template-columns: 160px repeat(7, minmax(70px, 1fr));
  gap: 6px;
}
.av-cell {
  background: rgba(255,255,255,.9);
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 8px;
  font-size: .82rem;
}
.av-head { font-weight: 700; text-align: center; }
.av-device { font-weight: 700; }
.av-status-ok { color: #065f46; background: #ecfdf5; }
.av-status-no { color: #991b1b; background: #fef2f2; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; vertical-align: middle; }
.status-dot.ok { background: #10b981; }
.status-dot.no { background: #ef4444; }
.trail-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  pointer-events: none;
  z-index: 220;
  animation: fade .65s ease-out forwards;
}
@keyframes fade {
  to { opacity: 0; transform: translateY(-14px) scale(.3) rotate(150deg); }
}
.floating {
  position: absolute;
  font-size: clamp(1.2rem,2vw,2.4rem);
  animation: float 6s ease-in-out infinite;
  opacity: .9;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-22px); }
}
.form-shell { display: grid; grid-template-columns: 1fr; gap: 18px; }
.form-card, .calc-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 18px;
}
.inputs { display: grid; gap: 10px; }
.input, textarea, select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: rgba(255, 255, 255, 0.92);
}
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); gap: 10px; }
.ck {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.92);
}
.ck input { margin-right: 8px; }
.progress {
  height: 10px;
  border-radius: 999px;
  background: #fde68a;
  overflow: hidden;
  margin-bottom: 14px;
}
.progress > span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg,var(--red),var(--orange));
}

/* Anfragen-Seite: Effekte hinter dem Content halten */
.page-anfragen #canvas-regen,
.page-anfragen #canvas-kanone { z-index: 1; }
.page-anfragen .nav,
.page-anfragen .section,
.page-anfragen .footer { position: relative; z-index: 5; }

/* Textboxen leicht transparent, aber gut lesbar */
.page-anfragen .form-card,
.page-anfragen .calc-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(2px);
}
@media (min-width: 960px) {
  .form-shell { grid-template-columns: 1.3fr .7fr; align-items: start; }
  .calc-card { position: sticky; top: 90px; }
}
@media (max-width: 860px) {
  .nav {
    flex-wrap: wrap;
    gap: 10px;
    padding: calc(12px + env(safe-area-inset-top, 0px)) 14px 12px;
  }
  .links { display: none; }
  .menu-toggle { display: inline-block; }
  .nav-actions { margin-left: auto; }
  .btn { padding: 10px 12px; font-size: .82rem; white-space: nowrap; }
  .mobile-menu {
    display: none;
    position: sticky;
    top: 64px;
    z-index: 190;
    padding: 8px 14px 10px;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid #eee;
  }
  .mobile-menu.open { display: grid; gap: 8px; }
  .mobile-menu a {
    text-decoration: none;
    color: #374151;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 600;
  }
  .hero { min-height: auto; padding-top: 56px; }
  .hero-card { padding: 20px 16px; border-radius: 20px; }
  .section { padding: 44px 14px; }
}
@media (max-width: 460px) {
  .emoji-list { font-size: 1.6rem; gap: 6px; }
  .card, .step, .form-card, .calc-card { border-radius: 14px; padding: 14px; }
  #availability-grid {
    grid-template-columns: 120px repeat(7, minmax(52px, 1fr));
    gap: 4px;
  }
  .av-cell { padding: 6px; font-size: .72rem; }
}
