: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: 700px;
  margin: 0 auto;
  background: rgba(255,248,240,.72);
  border-radius: 28px;
  padding: 36px 40px 32px;
  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; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr 1fr;
  gap: 28px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px 18px 28px;
  text-align: left;
}
.footer-heading { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 10px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; font-size: .82rem; color: var(--muted); }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid #eee; text-align: center; padding: 14px 18px; font-size: .78rem; }
.calendar-wrap {
  border-radius: 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(2px);
  padding: 14px;
}
.calendar-inner { min-width: 560px; }
.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; }
.av-status-res { color: #92400e; background: #fffbeb; }
.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; }
.status-dot.res { background: #f59e0b; }
.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); }
}
.hero-emoji {
  position: absolute;
  pointer-events: none;
  z-index: 3;
  animation: heroFlyOut 1.3s ease-out forwards;
}
@keyframes heroFlyOut {
  0%   { transform: translate(-50%,-50%) scale(.7); opacity: 1; }
  60%  { opacity: .8; }
  100% { transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(.15); opacity: 0; }
}
.disabled-device { opacity: .55; cursor: not-allowed; }
.soon-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: #fde68a;
  color: #92400e;
  margin-left: 4px;
  vertical-align: middle;
}
.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; }
}
/* Price badge — gradient text, kein Button-Look */
.price-badge { display:block; font-size:1.5rem; font-weight:900; background:linear-gradient(135deg,var(--red),var(--orange)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; margin:8px 0 14px; line-height:1.1; }
.price-badge small { font-size:.75rem; }

/* Numbered steps — Kreis über dem Text, kein absolute */
.step[data-step] { text-align:center; }
.step[data-step]::before { content:attr(data-step); display:flex; width:36px; height:36px; border-radius:50%; background:linear-gradient(135deg,var(--red),var(--orange)); color:#fff; font-weight:800; font-size:1rem; align-items:center; justify-content:center; margin:0 auto 12px; }

/* Quick date checker */
.quick-check { display:flex; align-items:center; gap:12px; margin-bottom:16px; flex-wrap:wrap; }
.quick-check label { font-weight:700; font-size:.88rem; }
.quick-check .input { max-width:180px; }
.quick-result { display:flex; flex-direction:column; gap:8px; margin-bottom:16px; }
.quick-row { background:rgba(255,255,255,.9); border-radius:10px; padding:8px 12px; font-size:.88rem; border:1px solid #f3f4f6; }

/* FAQ */
.faq-list { max-width:760px; background:#fff; border-radius:var(--radius); box-shadow:var(--shadow); overflow:hidden; }
.faq-list details { border-bottom:1px solid #f3f4f6; }
.faq-list details:last-child { border-bottom:none; }
.faq-list summary { cursor:pointer; padding:18px 20px; font-weight:700; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:12px; transition:background .15s ease; }
.faq-list summary:hover { background:#fffbeb; }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary::after { content:'+'; font-size:1.4rem; color:var(--orange); line-height:1; flex-shrink:0; transition:transform .2s ease; }
.faq-list details[open] summary::after { transform:rotate(45deg); }
.faq-list details[open] summary { background:#fffbeb; }
.faq-list details p { color:var(--muted); margin:0; padding:0 20px 18px; line-height:1.65; }
.faq-list details p a { color:var(--text); }

/* Footer responsive */
@media (max-width: 768px) {
  .footer-inner { grid-template-columns:1fr 1fr; gap:20px; padding:28px 18px 20px; }
}
@media (max-width: 460px) {
  .footer-inner { grid-template-columns:1fr; gap:0; padding:0; }
  .footer-inner > div { padding:16px 18px; border-bottom:1px solid #f3f4f6; }
  .footer-inner > div:first-child { padding-top:24px; }
  .footer-bottom { padding:14px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
.form-card label:not(.ck) {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
  display: block;
}
.form-card .req { color: var(--red); }
.btn[aria-busy="true"] { opacity: .7; cursor: wait; }

/* Section labels */
.section-label { text-align:center; font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:2px; color:var(--red); margin-bottom:10px; }
.section-title { text-align:center; font-size:clamp(1.5rem,3vw,1.9rem); font-weight:900; margin-bottom:8px; }
.section-sub { text-align:center; color:var(--muted); font-size:.9rem; margin-bottom:36px; }

/* Hero region pill */
.hero-region { display:inline-flex; align-items:center; gap:5px; color:#9ca3af; font-size:.8rem; margin:0 0 20px; background:white; border:1px solid #e5e7eb; border-radius:999px; padding:4px 14px; }

/* Hero emoji boxes */
.emoji-list span { background:white; border-radius:16px; padding:10px; line-height:1; box-shadow:0 3px 14px rgba(0,0,0,.07); display:inline-flex; animation:wackeln 3s ease-in-out infinite; }
.emoji-list span:nth-child(2) { animation-delay:.25s; }
.emoji-list span:nth-child(3) { animation-delay:.5s; }
.emoji-list span:nth-child(4) { animation-delay:.75s; }
@keyframes wackeln { 0%,100%{transform:rotate(-4deg) scale(1)} 50%{transform:rotate(4deg) scale(1.08)} }

/* Hero buttons */
.hero-buttons { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; margin-top:4px; }
.btn-secondary { display:inline-flex; align-items:center; background:white; border:2px solid #e5e7eb; color:#374151; padding:12px 24px; border-radius:999px; font-weight:600; font-size:.92rem; text-decoration:none; transition:border-color .2s; }
.btn-secondary:hover { border-color:var(--red); }

/* Geräte emoji wrap */
.geraet-emoji-wrap { width:68px; height:68px; border-radius:18px; margin:0 auto 14px; display:flex; align-items:center; justify-content:center; font-size:2.2rem; }
.wrap-orange { background:#fff3e0; }
.wrap-pink   { background:#fce7f3; }
.wrap-purple { background:#ede9fe; }
.wrap-blue   { background:#e0f2fe; }
.wrap-green  { background:#dcfce7; }

/* Geräte button (amber pill) */
.geraet-btn { display:inline-block; background:#fff3e0; border:1.5px solid #FFD580; color:#d97706; font-size:.8rem; font-weight:700; padding:8px 16px; border-radius:999px; text-decoration:none; transition:background .2s; }
.geraet-btn:hover { background:#FFE66D; }

/* Bald-badge */
.bald-badge { display:inline-block; background:#f3f4f6; color:#9ca3af; font-size:.7rem; font-weight:700; padding:5px 14px; border-radius:999px; margin-top:6px; }

/* Warum-Section über Konfetti-Canvas */
#warum { z-index: 55; }

/* USP cards */
.usp-card { background:#fff8f0; border:1.5px solid #ffe4c4; border-radius:20px; padding:22px 18px; text-align:center; }
.usp-icon  { font-size:2rem; margin-bottom:10px; display:block; }
.usp-title { font-weight:800; font-size:.9rem; color:var(--text); margin-bottom:5px; }
.usp-text  { color:var(--muted); font-size:.78rem; line-height:1.55; }

/* Ablauf horizontal steps */
.ablauf-steps { display:flex; max-width:800px; margin:0 auto; align-items:flex-start; flex-wrap:wrap; justify-content:center; }
.ablauf-step { flex:1; min-width:130px; text-align:center; padding:0 12px; position:relative; }
.ablauf-step:not(:last-child)::after { content:'→'; position:absolute; right:-8px; top:20px; color:#FFD580; font-size:1.3rem; font-weight:700; line-height:1; }
.step-num { width:48px; height:48px; border-radius:50%; background:linear-gradient(135deg,var(--red),var(--orange)); color:white; font-weight:900; font-size:1.2rem; display:flex; align-items:center; justify-content:center; margin:0 auto 12px; box-shadow:0 4px 15px rgba(255,107,107,.3); }
.step-title { font-weight:800; font-size:.88rem; color:var(--text); margin-bottom:5px; }
.step-text { color:var(--muted); font-size:.75rem; line-height:1.5; }

/* CTA Banner */
.cta-banner { background:linear-gradient(135deg,var(--red) 0%,var(--orange) 50%,#FFD700 100%); padding:64px 32px; text-align:center; position:relative; overflow:hidden; z-index:5; }
.cta-banner::before { content:'🎉  🎊  🎈  🎉  🎊  🎈  🎉  🎊  🎈'; position:absolute; top:12px; left:0; right:0; text-align:center; font-size:1.3rem; letter-spacing:10px; opacity:.2; pointer-events:none; }
.cta-banner h2 { font-size:clamp(1.6rem,4vw,2.2rem); font-weight:900; color:white; margin-bottom:10px; text-shadow:0 2px 10px rgba(0,0,0,.12); }
.cta-banner > p { color:rgba(255,255,255,.9); margin-bottom:26px; font-size:1rem; }
.btn-white { background:white; color:var(--red); border:none; padding:14px 32px; border-radius:999px; font-weight:800; font-size:1rem; cursor:pointer; box-shadow:0 8px 25px rgba(0,0,0,.15); transition:transform .2s; text-decoration:none; display:inline-block; }
.btn-white:hover { transform:translateY(-2px); }
