/* HugosKinderApp Website - Kindgerechtes Design */
:root {
  --orange: #FF6B35;
  --teal:   #4ECDC4;
  --yellow: #FFD93D;
  --green:  #6BCB77;
  --purple: #A66CFF;
  --dark:   #2D3436;
  --gray:   #636E72;
  --light:  #FFF9F0;
  --white:  #FFFFFF;
  --radius: 20px;
  --shadow: 0 8px 32px rgba(0,0,0,0.10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: var(--light);
  color: var(--dark);
  line-height: 1.6;
}

/* ─── NAVIGATION ─────────────────────────────────── */
nav {
  background: var(--white);
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  position: sticky; top: 0; z-index: 100;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo span:first-child { font-size: 32px; }
.nav-logo .logo-text { font-size: 20px; font-weight: 800; color: var(--orange); }
.nav-links { display: flex; gap: 24px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--gray); font-weight: 500; transition: color .2s; }
.nav-links a:hover { color: var(--orange); }
.nav-btn {
  background: var(--orange); color: white; border-radius: 50px;
  padding: 8px 20px; text-decoration: none; font-weight: 700;
  transition: transform .2s, box-shadow .2s;
}
.nav-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,107,53,.4); }

/* ─── HERO ───────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--orange) 0%, #FF9A5C 50%, var(--yellow) 100%);
  text-align: center;
  padding: 80px 20px 100px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; bottom: -1px; left: 0; right: 0; height: 60px;
  background: var(--light);
  clip-path: ellipse(60% 100% at 50% 100%);
}
.hero-emoji { font-size: 80px; margin-bottom: 16px; display: block; animation: bounce 2s infinite; }
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; color: white; margin-bottom: 16px; text-shadow: 0 2px 12px rgba(0,0,0,.15); }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,.92); max-width: 600px; margin: 0 auto 32px; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 50px; font-weight: 700; font-size: 1rem;
  text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.btn-white { background: white; color: var(--orange); }
.btn-outline { background: transparent; color: white; border: 2px solid white; }

/* ─── SECTIONS ───────────────────────────────────── */
section { padding: 70px 20px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-title {
  text-align: center; font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800; margin-bottom: 12px; color: var(--dark);
}
.section-sub { text-align: center; color: var(--gray); margin-bottom: 48px; font-size: 1.05rem; }

/* ─── FEATURE CARDS ──────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.card {
  background: white; border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); text-align: center; transition: transform .2s;
}
.card:hover { transform: translateY(-6px); }
.card-icon { font-size: 48px; margin-bottom: 16px; display: block; }
.card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; color: var(--dark); }
.card p { color: var(--gray); font-size: .95rem; }

/* ─── HOW IT WORKS ───────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; counter-reset: steps; }
.step { background: white; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); text-align: center; position: relative; }
.step-num {
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.3rem; font-weight: 900;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
  color: white;
}
.step:nth-child(1) .step-num { background: var(--orange); }
.step:nth-child(2) .step-num { background: var(--teal); }
.step:nth-child(3) .step-num { background: var(--purple); }
.step:nth-child(4) .step-num { background: var(--green); }
.step h3 { font-weight: 700; margin-bottom: 8px; }
.step p { color: var(--gray); font-size: .92rem; }

/* ─── SAFETY SECTION ─────────────────────────────── */
.safety { background: linear-gradient(135deg, #E8F8F7 0%, #FFF0E8 100%); border-radius: 32px; }
.safety-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.safety-item { display: flex; gap: 14px; align-items: flex-start; }
.safety-icon { font-size: 32px; flex-shrink: 0; }
.safety-item h4 { font-weight: 700; margin-bottom: 4px; }
.safety-item p { color: var(--gray); font-size: .9rem; }

/* ─── FAQ ────────────────────────────────────────── */
.faq-list { max-width: 800px; margin: 0 auto; }
details {
  background: white; border-radius: 14px; margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06); overflow: hidden;
}
summary {
  padding: 18px 24px; font-weight: 600; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  font-size: 1rem;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.4rem; color: var(--orange); transition: transform .3s; font-weight: 300; }
details[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 24px 18px; color: var(--gray); line-height: 1.7; }

/* ─── DOWNLOAD ───────────────────────────────────── */
.download { background: linear-gradient(135deg, var(--teal) 0%, #38B2AC 100%); text-align: center; border-radius: 32px; }
.download h2, .download p { color: white; }
.download p { margin-bottom: 28px; opacity: .9; }
.download-note { font-size: .85rem; opacity: .75; margin-top: 16px; }

/* ─── FOOTER ─────────────────────────────────────── */
footer {
  background: var(--dark); color: #b2bec3; padding: 48px 20px 24px;
  text-align: center;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; margin-bottom: 40px; text-align: left; }
.footer-col h4 { color: white; margin-bottom: 12px; font-size: .95rem; }
.footer-col a { display: block; color: #b2bec3; text-decoration: none; margin-bottom: 8px; font-size: .9rem; transition: color .2s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid #2d3436; padding-top: 20px; font-size: .85rem; }

/* ─── LEGAL PAGES ────────────────────────────────── */
.legal-hero { background: linear-gradient(135deg, var(--teal), var(--purple)); padding: 60px 20px 80px; text-align: center; }
.legal-hero h1 { color: white; font-size: 2.2rem; font-weight: 900; }
.legal-content { max-width: 860px; margin: -40px auto 60px; background: white; border-radius: var(--radius); padding: 48px; box-shadow: var(--shadow); }
.legal-content h2 { font-size: 1.3rem; margin: 32px 0 12px; color: var(--dark); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--gray); line-height: 1.8; margin-bottom: 10px; }
.legal-content ul, .legal-content ol { padding-left: 24px; margin-bottom: 16px; }
.legal-content a { color: var(--orange); }
.highlight-box {
  background: #FFF0E8; border-left: 4px solid var(--orange);
  border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 20px 0;
}
.highlight-box p { margin: 0; color: var(--dark); font-weight: 500; }

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 700px) {
  nav { flex-wrap: wrap; gap: 12px; }
  .nav-links { display: none; }
  .safety-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal-content { padding: 28px 20px; }
}
