/* Luna Gelato — verspielt: runde Formen, Sprinkles, tropfender Übergang.
   Farbwelt aus der Eistheke; jede Sorte bringt ihre eigene --flavor mit. */

:root {
  --cream: #FFF6E9;
  --choco: #462B26;
  --rasp: #F2557D;
  --pista: #7ECB8F;
  --sun: #FFC145;
  --pink-soft: #FFE9EF;
  --card: #FFFFFF;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito", "Trebuchet MS", sans-serif;
  background: var(--cream);
  color: var(--choco);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Baloo 2", "Comic Sans MS", cursive; line-height: 1.1; }

a:focus-visible { outline: 3px solid var(--rasp); outline-offset: 3px; border-radius: 4px; }

/* Header */
.top {
  position: sticky; top: .8rem; z-index: 30;
  display: flex; justify-content: space-between; align-items: center;
  max-width: 62rem; margin: .8rem auto 0; padding: .55rem .7rem .55rem 1.1rem;
  background: rgba(255, 255, 255, .85); backdrop-filter: blur(8px);
  border-radius: 999px; box-shadow: 0 6px 24px rgba(70, 43, 38, .12);
  width: calc(100% - 2rem);
}
.logo {
  display: flex; align-items: center; gap: .55rem;
  font-family: "Baloo 2", cursive; font-weight: 800; font-size: 1.25rem;
  color: var(--choco); text-decoration: none;
}
.logo-scoop {
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #FF87A2, var(--rasp));
  box-shadow: inset -2px -3px 0 rgba(70, 43, 38, .15);
}
.top nav { display: flex; gap: 1.2rem; align-items: center; }
.top nav a { text-decoration: none; color: var(--choco); font-weight: 700; font-size: .95rem; }
.top nav a:hover { color: var(--rasp); }
.nav-pill {
  background: var(--rasp); color: #FFF !important;
  padding: .5rem 1.1rem; border-radius: 999px;
  transition: transform .18s cubic-bezier(.34, 1.56, .64, 1);
}
.nav-pill:hover { transform: scale(1.07) rotate(-2deg); }

/* Hero */
.hero {
  max-width: 62rem; margin: 0 auto; padding: 4.5rem 1.5rem 3rem;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem; align-items: center;
}
.kicker {
  display: inline-block; background: var(--sun); color: var(--choco);
  font-weight: 800; font-size: .85rem; letter-spacing: .04em;
  padding: .3rem .9rem; border-radius: 999px; margin-bottom: 1.2rem;
  transform: rotate(-1.5deg);
}
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 4.3rem);
  font-weight: 800; color: var(--choco); margin-bottom: 1.1rem;
}
.hero-copy > p:not(.kicker) { font-size: 1.15rem; max-width: 30rem; margin-bottom: 1.8rem; }
.btn-big {
  display: inline-block; background: var(--choco); color: var(--cream);
  font-family: "Baloo 2", cursive; font-weight: 700; font-size: 1.15rem;
  text-decoration: none; padding: .85rem 1.8rem; border-radius: 999px;
  box-shadow: 0 6px 0 #2E1B17;
  transition: transform .15s, box-shadow .15s;
}
.btn-big:hover { transform: translateY(3px); box-shadow: 0 3px 0 #2E1B17; }

.hero-art { position: relative; display: flex; justify-content: center; }
.cone { width: min(240px, 60vw); filter: drop-shadow(0 14px 24px rgba(70, 43, 38, .22)); }
.sprinkle {
  position: absolute; width: .55rem; height: 1.1rem; border-radius: 999px;
}
.s1 { background: var(--rasp); top: 8%; left: 12%; transform: rotate(25deg); }
.s2 { background: var(--pista); top: 20%; right: 8%; transform: rotate(-30deg); }
.s3 { background: var(--sun); bottom: 30%; left: 4%; transform: rotate(60deg); }
.s4 { background: var(--pista); bottom: 12%; right: 16%; transform: rotate(-10deg); }
.s5 { background: var(--sun); top: 48%; right: 0; transform: rotate(45deg); }

/* Ticker */
.ticker {
  background: var(--choco); color: var(--cream);
  overflow: hidden; padding: .7rem 0;
}
.ticker-track { display: flex; white-space: nowrap; width: max-content; }
.ticker-item {
  font-family: "Baloo 2", cursive; font-weight: 600; font-size: 1.05rem;
  letter-spacing: .03em; padding-right: .5rem;
}

/* Drip-Übergang in die Sorten-Sektion */
.drip { display: block; width: 100%; height: 70px; margin-top: -1px; background: var(--choco); }
.drip path { fill: var(--pink-soft); }

/* Sorten */
.sorten { background: var(--pink-soft); padding: 1.5rem 1.5rem 5rem; margin-top: -1px; }
.sorten h2 { font-size: clamp(2rem, 4.5vw, 2.9rem); text-align: center; }
.sorten-sub { text-align: center; max-width: 34rem; margin: .6rem auto 2.8rem; }
.scoop-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  max-width: 62rem; margin: 0 auto;
}
.scoop-card {
  background: var(--card); border-radius: 1.8rem; padding: 2.6rem 1.6rem 1.6rem;
  position: relative; text-align: center;
  box-shadow: 0 10px 30px rgba(70, 43, 38, .08);
  transition: transform .2s cubic-bezier(.34, 1.56, .64, 1);
}
.scoop-card:hover { transform: rotate(-1.2deg) translateY(-4px); }
.scoop-ball {
  display: block; width: 4.2rem; height: 4.2rem; margin: 0 auto 1rem;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, var(--flavor-soft), var(--flavor));
  box-shadow: inset -4px -6px 0 rgba(70, 43, 38, .12);
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1);
}
.scoop-card:hover .scoop-ball { transform: scale(1.12) rotate(8deg); }
.scoop-card h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.scoop-card p { font-size: .95rem; }
.price {
  margin-top: .9rem; display: inline-block;
  background: var(--flavor-soft); color: var(--choco);
  font-weight: 800; font-size: .88rem;
  padding: .25rem .9rem; border-radius: 999px;
}

/* Der Laden */
.laden { padding: 5rem 1.5rem; }
.laden-inner { max-width: 44rem; margin: 0 auto; text-align: center; }
.laden h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1rem; }
.laden p { font-size: 1.1rem; }
.laden-facts { display: flex; justify-content: center; gap: 1.6rem; margin: 2.4rem 0 1rem; flex-wrap: wrap; }
.fact-bubble {
  width: 8.5rem; height: 8.5rem; border-radius: 50%;
  border: 3px solid var(--flavor);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .1rem; padding: 1rem; background: #FFF;
}
.fact-bubble strong { font-family: "Baloo 2", cursive; font-size: 2.2rem; line-height: 1; color: var(--flavor); }
.fact-bubble span { font-size: .78rem; font-weight: 700; text-align: center; line-height: 1.25; }
.wink { font-size: .9rem !important; opacity: .7; font-style: italic; }

/* Besuch */
.besuch {
  background: var(--sun); border-radius: 3rem 3rem 0 0;
  padding: 4rem 1.5rem 5rem; text-align: center; position: relative;
}
.sun-badge { width: 4.5rem; margin: 0 auto 1rem; }
.sun-badge circle { fill: #FFF; }
.sun-badge g { stroke: #FFF; }
.besuch h2 { font-size: clamp(1.8rem, 4vw, 2.5rem); max-width: 26rem; margin: 0 auto 2.2rem; }
.besuch-grid { display: flex; justify-content: center; gap: 4rem; flex-wrap: wrap; }
.besuch h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.besuch-grid p { font-weight: 600; }

/* Footer */
footer {
  background: var(--choco); color: var(--cream);
  padding: 1.6rem 1.5rem 4.5rem; text-align: center; font-size: .88rem;
}
footer .demo-note { opacity: .75; margin-top: .3rem; }
footer a { color: var(--sun); }

/* Demo-Badge (Portfolio-Navigation) */
.demo-badge {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 40;
  font-size: .75rem; font-weight: 700; text-decoration: none;
  background: var(--choco); color: var(--cream);
  padding: .45rem .8rem; border-radius: 999px; opacity: .85;
}
.demo-badge:hover { opacity: 1; }

/* Bewegung — nur wenn erwünscht */
@media (prefers-reduced-motion: no-preference) {
  .cone { animation: bob 4.5s ease-in-out infinite; }
  .sprinkle { animation: drift 6s ease-in-out infinite; }
  .s2 { animation-delay: -1.2s; } .s3 { animation-delay: -2.4s; }
  .s4 { animation-delay: -3.6s; } .s5 { animation-delay: -4.8s; }
  .ticker-track { animation: marquee 22s linear infinite; }
  .sun-badge { animation: spin 24s linear infinite; }
  @keyframes bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-12px) rotate(2deg); } }
  @keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
  @keyframes marquee { to { transform: translateX(-25%); } }
  @keyframes spin { to { transform: rotate(360deg); } }
}

/* Responsive */
@media (max-width: 780px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 3rem; }
  .hero-copy > p:not(.kicker) { margin-left: auto; margin-right: auto; }
  .hero-art { order: -1; }
  .cone { width: 170px; }
  .scoop-grid { grid-template-columns: 1fr 1fr; }
  .top nav a:not(.nav-pill) { display: none; }
}
@media (max-width: 520px) {
  .scoop-grid { grid-template-columns: 1fr; }
  .besuch-grid { gap: 2rem; }
}
