/* Funkelfee – Webseite. Farben wie in der App. */
:root {
  --pink: #ed4599;
  --pink-soft: #ff7ab8;
  --violet: #9966f2;
  --ink: #6b3380;
  --ink-soft: #8a5a99;
  --gold: #fac24d;
  --mint: #29adb8;
  --card: #ffffffd9;
  --bg-top: #ffe3f2;
  --bg-bottom: #e6e3ff;
  --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: linear-gradient(180deg, var(--bg-top), #f3e6ff 45%, var(--bg-bottom)) fixed;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--violet); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Kopfzeile */
header.top {
  position: sticky; top: 0; z-index: 10;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: #fff0f8b3;
  border-bottom: 1px solid #ffffff80;
}
header.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 22px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: 0 2px 8px #ed459940; }
.brand span { background: linear-gradient(90deg, var(--pink), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
nav.links { display: flex; gap: 20px; margin-left: auto; }
nav.links a { text-decoration: none; color: var(--ink); font-weight: 800; font-size: 15px; }
nav.links a:hover { color: var(--pink); }
.langs { display: flex; gap: 4px; background: #ffffffb3; padding: 4px; border-radius: 999px; }
.langs button {
  border: 0; background: transparent; font: inherit; font-weight: 900; font-size: 13px; color: var(--ink-soft);
  padding: 5px 9px; border-radius: 999px; cursor: pointer;
}
.langs button[aria-pressed="true"] { background: var(--pink); color: #fff; }

/* Startbereich */
.hero { padding: 64px 0 40px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.hero .tag {
  display: inline-block; font-weight: 900; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--violet); background: #ffffffb3; padding: 6px 14px; border-radius: 999px;
}
.hero h1 {
  margin: 14px 0 10px; font-size: clamp(52px, 9vw, 96px); line-height: 1; font-weight: 900;
  background: linear-gradient(90deg, var(--pink), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 0 #fff);
}
.hero p.lead { font-size: clamp(18px, 2.2vw, 22px); font-weight: 700; color: var(--ink-soft); max-width: 34em; }
.hero .shots { position: relative; height: 560px; }
.hero .shots .phone { position: absolute; width: 230px; }
.hero .shots .phone:nth-child(1) { left: 0; top: 50px; transform: rotate(-7deg); }
.hero .shots .phone:nth-child(2) { right: 0; top: 0; transform: rotate(6deg); z-index: 1; }

.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font-weight: 900; font-size: 19px; color: #fff;
  background: linear-gradient(180deg, var(--pink-soft), var(--pink));
  padding: 15px 28px; border-radius: 999px; box-shadow: 0 8px 20px #ed459955;
  transition: transform .15s;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn svg { width: 22px; height: 22px; fill: #fff; }
.cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 26px; }
.note { font-weight: 800; color: var(--ink-soft); font-size: 15px; }

/* Handy-Rahmen */
.phone {
  background: #fff; padding: 9px; border-radius: 40px;
  box-shadow: 0 20px 40px #6b338033, 0 0 0 1px #6b338014;
}
.phone img { border-radius: 32px; aspect-ratio: 1179 / 2556; object-fit: cover; width: 100%; }

/* Abschnitte */
section { padding: 56px 0; }
h2 { font-size: clamp(32px, 5vw, 46px); line-height: 1.1; margin: 0 0 12px; font-weight: 900; text-align: center; }
.sub { text-align: center; font-size: 19px; font-weight: 700; color: var(--ink-soft); max-width: 40em; margin: 0 auto 40px; }

.feature {
  display: grid; grid-template-columns: 220px 1fr; gap: 56px; align-items: center;
  background: var(--card); border-radius: 40px; padding: 36px 48px; margin-bottom: 28px;
  box-shadow: 0 10px 30px #ed459920; border: 3px solid #ffffff;
}
.feature:nth-of-type(even) { grid-template-columns: 1fr 220px; }
.feature:nth-of-type(even) .phone { order: 2; }
.feature h3 { font-size: 34px; margin: 0 0 8px; font-weight: 900; display: flex; align-items: center; gap: 12px; }
.feature h3 .dot { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-size: 22px; flex: none; }
.feature p { font-size: 19px; font-weight: 700; color: var(--ink-soft); margin: 0; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border-radius: var(--radius); padding: 24px; border: 3px solid #fff;
  box-shadow: 0 8px 24px #9966f21f;
}
.card .icon { font-size: 34px; line-height: 1; }
.card h4 { margin: 10px 0 6px; font-size: 21px; font-weight: 900; }
.card p { margin: 0; font-weight: 700; color: var(--ink-soft); }

/* Preise */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 860px; margin: 0 auto; }
.plan { background: var(--card); border-radius: 36px; padding: 32px; border: 3px solid #fff; box-shadow: 0 8px 24px #9966f21f; }
.plan.full { border-color: var(--gold); box-shadow: 0 12px 32px #fac24d55; position: relative; }
.plan h3 { margin: 0; font-size: 28px; font-weight: 900; }
.plan .price { font-size: 44px; font-weight: 900; margin: 6px 0 2px; }
.plan.full .price { background: linear-gradient(90deg, var(--pink), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plan .per { font-weight: 800; color: var(--ink-soft); margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.plan li { font-weight: 800; padding-left: 32px; position: relative; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.plan.full li::before { background-color: var(--pink); }
.plan .badge {
  position: absolute; top: -16px; right: 24px; background: var(--gold); color: #fff; font-weight: 900;
  padding: 6px 14px; border-radius: 999px; font-size: 14px; box-shadow: 0 4px 10px #fac24d66;
}

/* Schluss */
.final { text-align: center; }
.final .icon-big { width: 120px; height: 120px; border-radius: 28px; margin: 0 auto 20px; box-shadow: 0 12px 30px #ed459955; }

footer { padding: 40px 0 56px; text-align: center; font-weight: 800; color: var(--ink-soft); }
footer nav { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-bottom: 12px; }
footer a { color: var(--ink); text-decoration: none; }
footer a:hover { color: var(--pink); }

/* Textseiten (Datenschutz, Hilfe, Impressum) */
.doc { max-width: 780px; margin: 40px auto 0; background: var(--card); border-radius: 36px; padding: 40px 44px; border: 3px solid #fff; box-shadow: 0 10px 30px #ed459920; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin: 0 0 6px; font-weight: 900; line-height: 1.1; }
.doc .updated { color: var(--ink-soft); font-weight: 800; margin: 0 0 24px; }
.doc h2 { text-align: left; font-size: 23px; margin: 28px 0 6px; }
.doc p, .doc li { font-weight: 600; font-size: 17px; }
.doc details { background: #ffffffb3; border-radius: 20px; padding: 14px 18px; margin-bottom: 12px; }
.doc summary { font-weight: 900; font-size: 18px; cursor: pointer; }
.doc details p { margin: 10px 0 2px; }
.todo { background: #fff2c2; color: #8a5a00; padding: 1px 6px; border-radius: 6px; font-weight: 800; }

/* Funkeln */
.sparkle { position: absolute; width: 28px; height: 28px; fill: var(--gold); opacity: .8; animation: twinkle 2.4s ease-in-out infinite; pointer-events: none; }
.sparkle.white { fill: #fff; }
@keyframes twinkle { 50% { opacity: .25; transform: scale(.8); } }
@media (prefers-reduced-motion: reduce) { .sparkle { animation: none; } html { scroll-behavior: auto; } }

/* Schmal */
@media (max-width: 860px) {
  nav.links { display: none; }
  .langs { margin-left: auto; }
  .hero { padding-top: 36px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero p.lead { margin: 0 auto; }
  .cta-row { justify-content: center; }
  .hero .shots { height: 440px; max-width: 380px; margin: 0 auto; width: 100%; }
  .hero .shots .phone { width: 180px; }
  .feature, .feature:nth-of-type(even) { grid-template-columns: 1fr; padding: 28px 24px; gap: 24px; text-align: center; }
  .feature:nth-of-type(even) .phone { order: 0; }
  .feature .phone { max-width: 220px; margin: 0 auto; }
  .feature h3 { justify-content: center; }
  .grid { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .doc { padding: 28px 22px; margin-top: 24px; }
  .btn { font-size: 17px; padding: 14px 22px; }
}
@media (min-width: 861px) and (max-width: 1000px) { .grid { grid-template-columns: 1fr 1fr; } }
