/* Funkelkopf website – no external fonts, scripts or trackers. */

:root {
  --ink: #2d2160;
  --ink-soft: #5f5486;
  --violet: #5b3fb8;
  --pink: #ff3d8b;
  --orange: #ff8a1f;
  --yellow: #ffc928;
  --green: #5cbf2a;
  --teal: #14a99e;
  --blue: #1e88e5;
  --cream: #fff8ec;
  --blush: #ffeef6;
  --white: #ffffff;
  --line: rgba(45, 33, 96, 0.12);
  --shadow: 0 18px 50px rgba(61, 44, 141, 0.16);
  --radius: 28px;
  --font: ui-rounded, "SF Pro Rounded", "Nunito", "Arial Rounded MT Bold", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 248, 236, 0.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 22px;
  color: var(--ink);
  text-decoration: none;
}

.brand img { width: 44px; height: 44px; border-radius: 11px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12); }

.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink-soft); text-decoration: none; font-weight: 700; font-size: 16px; }
.nav a:hover { color: var(--violet); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 17px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-store { background: #111; color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22); }
.btn-store svg { width: 22px; height: 22px; fill: #fff; }
.btn-store small { display: block; font-size: 11px; font-weight: 600; opacity: 0.8; line-height: 1; }
.btn-store span { line-height: 1.15; }

.btn-soft { background: var(--white); color: var(--ink); box-shadow: 0 6px 18px rgba(61, 44, 141, 0.12); }

.header-cta { padding: 10px 18px; font-size: 15px; }

/* Language switch (DE | EN) */
.lang-switch {
  display: flex;
  padding: 4px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: 0 4px 12px rgba(61, 44, 141, 0.12);
}
.lang-switch a {
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
}
.lang-switch a[aria-current="true"] { background: var(--violet); color: var(--white); }
.lang-switch a:not([aria-current="true"]):hover { color: var(--violet); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 40px;
  background:
    radial-gradient(600px 400px at 8% 10%, rgba(255, 201, 40, 0.35), transparent 70%),
    radial-gradient(520px 380px at 95% 5%, rgba(255, 61, 139, 0.22), transparent 70%),
    radial-gradient(700px 500px at 85% 95%, rgba(30, 136, 229, 0.16), transparent 70%),
    var(--cream);
}

.hero .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 40px;
}

.hero-logo { width: min(420px, 100%); margin-inline: auto; filter: drop-shadow(0 18px 30px rgba(255, 170, 0, 0.25)); animation: float 6s ease-in-out infinite; }

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--pink);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 12px rgba(255, 61, 139, 0.15);
}

h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  margin: 18px 0 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

h1 .accent {
  background: linear-gradient(90deg, var(--pink), var(--orange) 30%, var(--green) 55%, var(--teal) 70%, var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead { font-size: 21px; color: var(--ink-soft); max-width: 34ch; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 24px; padding: 0; list-style: none; color: var(--ink-soft); font-weight: 700; font-size: 15px; }
.hero-facts li::before { content: "✓"; color: var(--green); font-weight: 900; margin-right: 6px; }

.device {
  margin: 48px auto 0;
  width: min(980px, 100%);
  padding: 14px;
  border-radius: 42px;
  background: #1c1b22;
  box-shadow: 0 40px 80px rgba(45, 33, 96, 0.28);
  grid-column: 1 / -1;
}

.device img { border-radius: 30px; }

.sparkle { position: absolute; width: 26px; height: 26px; color: var(--yellow); animation: twinkle 3s ease-in-out infinite; }
.sparkle svg { width: 100%; height: 100%; fill: currentColor; }
.s1 { top: 14%; left: 47%; }
.s2 { top: 30%; right: 6%; color: var(--pink); animation-delay: 0.8s; width: 18px; }
.s3 { top: 62%; left: 4%; color: var(--teal); animation-delay: 1.6s; width: 20px; }

@keyframes float { 50% { transform: translateY(-12px) rotate(-1.5deg); } }
@keyframes twinkle { 50% { transform: scale(0.55) rotate(25deg); opacity: 0.45; } }

/* ---------- Sections ---------- */

section { padding: 88px 0; }

.section-head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(32px, 4.4vw, 48px); line-height: 1.12; margin: 12px 0 14px; font-weight: 900; letter-spacing: -0.01em; }
.section-head p { color: var(--ink-soft); font-size: 20px; margin: 0; }

.intro { background: var(--white); }
.intro .wrap { max-width: 860px; text-align: center; }
.intro h2 { font-size: clamp(30px, 4vw, 44px); margin: 0 0 18px; font-weight: 900; }
.intro p { font-size: 21px; color: var(--ink-soft); }

/* Pillars */

.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.pillar {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-top: 8px solid var(--c);
}

.pillar .icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 18px;
  background: color-mix(in srgb, var(--c) 16%, white);
  color: var(--c);
  margin-bottom: 16px;
}

.pillar .icon svg { width: 32px; height: 32px; fill: currentColor; }
.pillar h3 { margin: 0 0 8px; font-size: 22px; font-weight: 900; }
.pillar p { margin: 0; color: var(--ink-soft); font-size: 17px; }

/* Feature rows */

.features { background: var(--blush); }

.feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 80px;
}

.feature:last-child { margin-bottom: 0; }
.feature.flip .shot { order: 2; }

.shot { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); border: 8px solid var(--white); background: var(--white); }

.tag { display: inline-block; font-weight: 900; font-size: 14px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, white); padding: 5px 12px; border-radius: 999px; }
.feature h3 { font-size: clamp(28px, 3.4vw, 38px); margin: 12px 0 12px; font-weight: 900; line-height: 1.15; }
.feature p { color: var(--ink-soft); margin: 0 0 14px; }

.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 32px; margin: 8px 0; }
.checks li::before {
  content: "";
  position: absolute; left: 0; top: 5px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--c, var(--green)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Levels */

.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.level { border-radius: 24px; padding: 24px; color: #fff; text-align: center; box-shadow: var(--shadow); }
.level .stars { font-size: 28px; letter-spacing: 4px; }
.level .stars .off { opacity: 0.35; }
.level h4 { margin: 4px 0 6px; font-size: 26px; font-weight: 900; }
.level p { margin: 0; font-size: 16px; opacity: 0.95; }
.l1 { background: linear-gradient(135deg, #7bd389, #43a047); }
.l2 { background: linear-gradient(135deg, #ffc46b, #fb8c00); }
.l3 { background: linear-gradient(135deg, #ff8a80, #e53935); }

/* Gallery */

.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(520px, 82%);
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 4px 24px;
}

.gallery figure { margin: 0; scroll-snap-align: center; }
.gallery img { border-radius: 22px; box-shadow: 0 14px 34px rgba(61, 44, 141, 0.18); border: 6px solid var(--white); }
.gallery figcaption { text-align: center; font-weight: 800; margin-top: 10px; color: var(--ink-soft); }

/* Safety */

.safety { background: var(--white); }
.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.badge { text-align: center; padding: 28px 18px; border-radius: var(--radius); background: var(--cream); }
.badge .icon { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; }
.badge .icon svg { width: 32px; height: 32px; fill: currentColor; }
.badge h3 { margin: 0 0 6px; font-size: 20px; font-weight: 900; }
.badge p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* Pricing */

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }

.price {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.price h3 { margin: 0; font-size: 24px; font-weight: 900; }
.price .amount { font-size: 42px; font-weight: 900; margin: 6px 0 2px; }
.price .note { color: var(--ink-soft); font-size: 15px; margin: 0 0 18px; }
.price .checks li { font-size: 16px; }

.price.featured {
  background: linear-gradient(160deg, #fff7d6, #ffe0ef);
  border: 3px solid var(--yellow);
  position: relative;
  transform: translateY(-10px);
}

.price.featured .ribbon {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--pink); color: #fff; font-weight: 900; font-size: 14px;
  padding: 6px 16px; border-radius: 999px; white-space: nowrap;
}

.price-footnote { text-align: center; color: var(--ink-soft); margin-top: 28px; font-size: 16px; }

/* Research */

.research { background: linear-gradient(180deg, #f3efff, var(--cream)); }
.research .wrap { max-width: 880px; }
.research p { font-size: 19px; color: var(--ink-soft); }

.goal {
  margin: 34px 0;
  padding: 28px 32px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  border-left: 8px solid var(--yellow);
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
}

.goal small { display: block; margin-top: 10px; font-weight: 600; font-size: 17px; color: var(--ink-soft); }

.refs { background: var(--white); border-radius: 22px; padding: 22px 26px; margin-top: 26px; }
.refs h3 { margin: 0 0 10px; font-size: 20px; }
.refs ul { margin: 0; padding-left: 20px; font-size: 16px; color: var(--ink-soft); }
.refs li { margin: 8px 0; }
.refs .hint { font-size: 15px; margin: 14px 0 0; }

/* FAQ */

.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: var(--white); border-radius: 20px; padding: 18px 24px; margin-bottom: 12px; box-shadow: 0 6px 18px rgba(61, 44, 141, 0.08); }
.faq summary { font-weight: 800; cursor: pointer; font-size: 19px; }
.faq details p { color: var(--ink-soft); margin: 10px 0 0; }

/* CTA */

.cta {
  text-align: center;
  background:
    radial-gradient(500px 300px at 20% 20%, rgba(255, 201, 40, 0.35), transparent 70%),
    radial-gradient(500px 300px at 80% 80%, rgba(255, 61, 139, 0.25), transparent 70%),
    var(--white);
}

.cta img { width: 120px; margin: 0 auto 12px; border-radius: 28px; box-shadow: var(--shadow); }
.cta h2 { font-size: clamp(30px, 4vw, 44px); margin: 10px 0; font-weight: 900; }
.cta p { color: var(--ink-soft); font-size: 20px; margin: 0 0 24px; }

/* ---------- Footer ---------- */

.site-footer { background: #17112f; color: #d8d2f0; padding: 56px 0 40px; font-size: 16px; }
.site-footer .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.made-by { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.made-by img { width: 220px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px 26px; justify-content: flex-end; }
.footer-links a { color: #fff; text-decoration: none; font-weight: 700; }
.footer-links a:hover { text-decoration: underline; }
.copyright { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 22px; font-size: 14px; opacity: 0.75; }

/* ---------- Text pages (Datenschutz, Impressum, Hilfe) ---------- */

.page { padding: 56px 0 88px; }
.page .wrap { max-width: 820px; }
.page h1 { font-size: clamp(34px, 5vw, 52px); }
.page h2 { font-size: 26px; margin: 40px 0 10px; }
.page h3 { font-size: 20px; margin: 24px 0 6px; }
.page p, .page li { color: var(--ink-soft); }
.page .card { background: var(--white); border-radius: var(--radius); padding: 28px 32px; box-shadow: var(--shadow); }
.placeholder { background: #fff3c4; padding: 0 6px; border-radius: 6px; color: #7a5b00; font-weight: 700; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .pillars, .badges { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .lang-switch { margin-left: auto; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-inline: auto; }
  .hero-actions, .hero-facts { justify-content: center; }
  .pillars, .badges { grid-template-columns: repeat(2, 1fr); }
  .feature, .feature.flip { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .shot { order: 0; }
  .pricing, .levels { grid-template-columns: 1fr; }
  .price.featured { transform: none; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 560px) {
  body { font-size: 17px; }
  section { padding: 64px 0; }
  .pillars, .badges { grid-template-columns: 1fr; }
  .hero { padding-top: 36px; }
  .device { padding: 8px; border-radius: 24px; }
  .device img { border-radius: 18px; }
  .brand span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo, .sparkle { animation: none; }
  html { scroll-behavior: auto; }
}
