/* Impostor – Website. Bewusst ohne externe Schriften, Skripte oder Cookies (DSGVO-freundlich). */

:root {
  --purple: #6e4ded;
  --blue: #388ffa;
  --yellow: #ffcc38;
  --red: #f5546b;
  --green: #2ebd7a;
  --ink: #211f38;
  --muted: #5d5a73;
  --soft: #f2f0ff;
  --card: #ffffff;
  --bg: #f7f6fd;
  --line: #e3e0f5;
  --hero: linear-gradient(135deg, var(--purple), var(--blue));
  --radius: 22px;
  --font: ui-rounded, "SF Pro Rounded", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f1effc;
    --muted: #b6b2cc;
    --soft: #2a2645;
    --card: #1d1a33;
    --bg: #14122a;
    --line: #2f2b4d;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

img { max-width: 100%; height: auto; }

a { color: var(--purple); text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) { a { color: #a996ff; } }

.wrap { max-width: 920px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { background: var(--hero); color: #fff; }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 14px 0; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 20px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.nav-links a {
  color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 6px 12px; border-radius: 999px;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { background: rgba(255,255,255,.18); }

/* Hero */
.hero { text-align: center; padding: 36px 0 64px; }
.hero .icon { width: 148px; height: 148px; border-radius: 34px; box-shadow: 0 14px 40px rgba(0,0,0,.25); }
.hero h1 { font-size: clamp(36px, 8vw, 58px); line-height: 1.1; margin: 22px 0 8px; font-weight: 900; letter-spacing: -.5px; }
.hero p.lead { font-size: clamp(18px, 3.5vw, 22px); margin: 0 auto 26px; max-width: 34ch; opacity: .95; }
.badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 26px; }
.badge {
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3);
  padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 15px;
}
.btn {
  display: inline-block; background: var(--yellow); color: #211f38; text-decoration: none;
  font-weight: 800; font-size: 18px; padding: 14px 28px; border-radius: 18px;
  box-shadow: 0 5px 0 rgba(0,0,0,.2);
}
.btn:hover { transform: translateY(1px); box-shadow: 0 4px 0 rgba(0,0,0,.2); }
.btn.disabled { opacity: .85; cursor: default; }
.hint { font-size: 14px; opacity: .85; margin-top: 12px; }

/* Sections */
main { padding: 8px 0 40px; }
section { margin: 40px 0; }
h2 { font-size: clamp(26px, 5vw, 32px); line-height: 1.2; margin: 0 0 16px; font-weight: 850; }
h3 { font-size: 19px; margin: 0 0 6px; }

.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: 0 6px 20px rgba(33,31,56,.05);
}
.card .emoji { font-size: 30px; line-height: 1; margin-bottom: 10px; display: block; }
.card p { margin: 0; color: var(--muted); }

ol.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
ol.steps li {
  counter-increment: step; position: relative; padding: 16px 18px 16px 64px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
ol.steps li::before {
  content: counter(step); position: absolute; left: 16px; top: 14px;
  width: 34px; height: 34px; border-radius: 50%; background: var(--yellow); color: #211f38;
  font-weight: 900; display: grid; place-items: center;
}

.price {
  display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.price .card h3 { font-size: 22px; }
.price .amount { font-size: 34px; font-weight: 900; margin: 4px 0 10px; color: var(--ink); }
.price ul { margin: 0; padding-left: 20px; color: var(--muted); }
.price .featured { border: 2px solid var(--purple); }

.notice {
  background: var(--soft); border-radius: var(--radius); padding: 18px 20px; border: 1px solid var(--line);
}

/* Text pages */
.page-title { padding: 30px 0 34px; }
.page-title h1 { margin: 0; font-size: clamp(30px, 6vw, 42px); font-weight: 900; line-height: 1.15; }
.page-title p { margin: 6px 0 0; opacity: .9; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 24px; margin-top: 34px; }
.prose ul { padding-left: 22px; }
.placeholder { background: #fff3c4; color: #5a4300; padding: 0 4px; border-radius: 4px; }

details {
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 14px 18px; margin-bottom: 10px;
}
details summary { cursor: pointer; font-weight: 750; }
details[open] summary { margin-bottom: 8px; }
details p { margin: 6px 0; color: var(--muted); }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: 15px; }
footer .links { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }

/* ---------- doctecs Startseite ---------- */
.home-hero { text-align: center; padding: 30px 0 70px; position: relative; }
.home-hero .logo { width: 104px; height: 104px; border-radius: 26px; box-shadow: 0 12px 34px rgba(0,0,0,.25); }
.home-hero h1 { font-size: clamp(40px, 9vw, 66px); line-height: 1.05; margin: 20px 0 10px; font-weight: 900; letter-spacing: -1px; }
.home-hero p.lead { font-size: clamp(18px, 3.5vw, 22px); margin: 0 auto; max-width: 36ch; opacity: .95; }

.celebrate {
  position: relative; overflow: hidden; margin-top: -44px;
  background: var(--card); border: 1px solid var(--line); border-radius: 28px;
  box-shadow: 0 18px 50px rgba(33,31,56,.12);
  display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; padding: 30px;
}
.celebrate .ribbon {
  display: inline-block; background: var(--yellow); color: #211f38; font-weight: 850;
  font-size: 14px; letter-spacing: .3px; padding: 5px 12px; border-radius: 999px; margin-bottom: 10px;
}
.celebrate .app-icon { width: 150px; height: 150px; border-radius: 34px; box-shadow: 0 12px 30px rgba(33,31,56,.25); }
.celebrate h2 { font-size: clamp(28px, 5vw, 38px); margin: 0 0 6px; }
.celebrate p { margin: 0 0 16px; color: var(--muted); }
.celebrate .actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.btn.secondary { background: var(--soft); color: var(--purple); box-shadow: none; border: 1px solid var(--line); }
@media (prefers-color-scheme: dark) { .btn.secondary { color: #c9bdff; } }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip { background: var(--soft); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 700; color: var(--ink); }
@media (max-width: 640px) {
  .celebrate { grid-template-columns: 1fr; text-align: center; padding: 26px 20px; }
  .celebrate .app-icon { margin: 0 auto; width: 128px; height: 128px; }
  .celebrate .actions, .chips { justify-content: center; }
}

.confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.confetti span { position: absolute; top: -40px; font-size: 22px; animation: fall 7s linear infinite; opacity: .9; }
.confetti span:nth-child(1) { left: 6%;  animation-delay: 0s; }
.confetti span:nth-child(2) { left: 22%; animation-delay: 2.2s; font-size: 18px; }
.confetti span:nth-child(3) { left: 41%; animation-delay: 4.1s; }
.confetti span:nth-child(4) { left: 63%; animation-delay: 1.3s; font-size: 26px; }
.confetti span:nth-child(5) { left: 80%; animation-delay: 3.4s; font-size: 18px; }
.confetti span:nth-child(6) { left: 93%; animation-delay: 5.5s; }
@keyframes fall { to { transform: translateY(460px) rotate(300deg); } }
@media (prefers-reduced-motion: reduce) { .confetti { display: none; } }

.apps { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.app-card { display: flex; gap: 14px; align-items: center; text-decoration: none; color: inherit; }
.app-card img { width: 64px; height: 64px; border-radius: 16px; flex: none; }
.app-card h3 { margin: 0; }
.app-card p { margin: 2px 0 0; }
a.card:hover { border-color: var(--purple); }
.card.soon { border-style: dashed; background: transparent; box-shadow: none; }
.soon-icon {
  width: 64px; height: 64px; border-radius: 16px; flex: none; display: grid; place-items: center;
  background: var(--soft); font-size: 28px;
}

/* Rückwärts gespeicherte Kontaktdaten richtig herum anzeigen (Fallback ohne JavaScript) */
[data-c] { unicode-bidi: bidi-override; direction: rtl; }
