/* Tiqo – Stylesheet. Keine externen Ressourcen, System-Fonts. */

:root {
  --primary: #5b4bdb;
  --primary-ink: #4838c4;      /* Text/Links auf hellem Grund (AA) */
  --primary-soft: #eeecfc;
  --accent: #14b8a6;
  --accent-ink: #0f766e;
  --accent-soft: #e3f7f4;
  --success: #16a34a;
  --success-ink: #15803d;
  --success-soft: #e4f6ea;
  --warning: #ea8a0c;
  --warning-ink: #8a4b00;
  --warning-soft: #fdf1de;
  --danger: #dc2626;
  --danger-ink: #b91c1c;
  --danger-soft: #fdeaea;

  --bg: #ffffff;
  --bg-soft: #f6f6fc;
  --surface: #ffffff;
  --text: #1a1a2e;
  --muted: #53536d;
  --border: #e3e3f1;
  --header-bg: rgba(255, 255, 255, 0.86);
  --on-primary: #ffffff;

  --shadow-sm: 0 1px 2px rgba(26, 26, 46, 0.05), 0 2px 8px rgba(26, 26, 46, 0.04);
  --shadow-md: 0 8px 28px rgba(60, 50, 160, 0.12);
  --shadow-lg: 0 24px 60px rgba(60, 50, 160, 0.22);

  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 20px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root {
    --primary-ink: #a89fff;
    --primary-soft: #25224a;
    --accent-ink: #2dd4bf;
    --accent-soft: #11332f;
    --success-ink: #4ade80;
    --success-soft: #11321f;
    --warning-ink: #fbbf6b;
    --warning-soft: #3a2810;
    --danger-ink: #f87171;
    --danger-soft: #3b1717;

    --bg: #0e0e1a;
    --bg-soft: #14142a;
    --surface: #1a1a30;
    --text: #f0f0fa;
    --muted: #aaaac6;
    --border: #2c2c4a;
    --header-bg: rgba(14, 14, 26, 0.86);

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 8px 28px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.6);
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  color-scheme: light dark;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--primary-ink); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }

:focus-visible {
  outline: 3px solid var(--primary-ink);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--primary);
  color: var(--on-primary);
  padding: 10px 16px;
  border-radius: var(--r-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}
.brand svg { width: 32px; height: 32px; border-radius: 9px; }

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
}
.nav-list a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-weight: 550;
  font-size: 0.98rem;
}
.nav-list a:hover { background: var(--primary-soft); color: var(--primary-ink); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle .bars,
.nav-toggle .bars::before,
.nav-toggle .bars::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before,
.nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 759px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 8px 16px 16px;
    display: none;
  }
  .js .site-nav.open { display: block; }
  .js .nav-list { flex-direction: column; }
  .js .nav-list a { padding: 14px 12px; border-radius: var(--r-sm); font-size: 1.05rem; }
  .nav-list { gap: 0; flex-wrap: wrap; }
}

/* ---------- Buttons ---------- */
.btn, .store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 650;
  line-height: 1.15;
}
.btn {
  padding: 12px 20px;
  background: var(--primary);
  color: var(--on-primary);
}
.btn:hover { background: #4d3ec9; }

.store {
  background: #14142a;
  color: #fff;
  padding: 10px 20px 10px 16px;
  border: 1px solid #14142a;
  min-height: 56px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, box-shadow 0.15s;
}
@media (prefers-color-scheme: dark) {
  .store { background: #262647; border-color: #3a3a64; }
}
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 0.74rem; font-weight: 500; opacity: 0.85; }
.store strong { display: block; font-size: 1.1rem; }
.store:not(.is-soon):hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.store.is-soon { cursor: default; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; }
.store-hint { margin: 14px 0 0; font-size: 0.95rem; color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(60% 70% at 88% 8%, rgba(20, 184, 166, 0.2), transparent 70%),
    radial-gradient(70% 80% at 6% 0%, rgba(91, 75, 219, 0.18), transparent 70%),
    var(--bg);
  padding: 48px 0 72px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-ink);
  background: var(--primary-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.hero .lead {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  color: var(--muted);
  max-width: 34em;
  margin-bottom: 28px;
}
.hl {
  color: var(--primary-ink);
}
@media (min-width: 900px) {
  .hero { padding: 80px 0 96px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }
}

/* Phone-Mockup (reines HTML/CSS). Später durch <img> ersetzen – siehe README. */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: min(290px, 78vw);
  aspect-ratio: 9 / 18.4;
  background: var(--bg-soft);
  border: 9px solid #14142a;
  border-radius: 44px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  padding: 14px 14px 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--text);
}
.phone::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 70px;
  height: 18px;
  background: #14142a;
  border-radius: 12px;
  transform: translateX(-50%);
}
.phone-status {
  display: flex;
  justify-content: space-between;
  font-weight: 650;
  font-size: 0.72rem;
  padding: 2px 8px 0;
  margin-bottom: 26px;
}
.phone h2 { font-size: 1.15rem; margin: 0 0 10px 2px; letter-spacing: -0.02em; }
.timer-card {
  background: linear-gradient(150deg, #5b4bdb 0%, #4a3fc4 55%, #14a899 130%);
  color: #fff;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(91, 75, 219, 0.35);
}
.timer-project { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.timer-project i {
  width: 10px; height: 10px; border-radius: 50%; background: #5eead4; flex: none;
  animation: pulse 1.8s ease-out infinite;
}
.timer-client { opacity: 0.85; font-size: 0.74rem; margin: 2px 0 10px 18px; }
.timer-time {
  font-size: 2.15rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.timer-actions { display: flex; gap: 8px; }
.timer-actions span {
  flex: 1;
  text-align: center;
  padding: 9px 0;
  border-radius: 12px;
  font-weight: 650;
  background: rgba(255, 255, 255, 0.2);
}
.timer-actions span:last-child { background: #fff; color: #b42323; }
.phone-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0; }
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
}
.stat b { display: block; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.stat span { color: var(--muted); font-size: 0.7rem; }
.entry {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 9px 12px;
  margin-bottom: 8px;
}
.entry i { width: 8px; height: 26px; border-radius: 4px; flex: none; }
.entry div { flex: 1; min-width: 0; }
.entry strong { display: block; font-size: 0.78rem; }
.entry small { color: var(--muted); font-size: 0.68rem; }
.entry time { font-weight: 650; font-variant-numeric: tabular-nums; font-size: 0.78rem; }
.phone img { width: 100%; height: 100%; object-fit: cover; }

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.7); }
  100% { box-shadow: 0 0 0 9px rgba(94, 234, 212, 0); }
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 40em; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }
.section-head.center { margin-inline: auto; text-align: center; }
@media (min-width: 900px) { .section { padding: 96px 0; } }

.grid { display: grid; gap: 20px; }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.card p { color: var(--muted); margin: 0; font-size: 1rem; }
.card h3 { margin-bottom: 0.4em; }

.ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: var(--primary-soft);
  color: var(--primary-ink);
}
.ico svg {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.ico.teal { background: var(--accent-soft); color: var(--accent-ink); }
.ico.green { background: var(--success-soft); color: var(--success-ink); }
.ico.orange { background: var(--warning-soft); color: var(--warning-ink); }
.ico.red { background: var(--danger-soft); color: var(--danger-ink); }

.promise { text-align: left; }
.promise .ico { width: 54px; height: 54px; border-radius: 16px; }
.promise .ico svg { width: 28px; height: 28px; }
.promise h3 { font-size: 1.3rem; }
.promise p { font-size: 1.05rem; }

.feature { padding: 22px; }
.feature .ico { width: 42px; height: 42px; margin-bottom: 14px; }
.feature .ico svg { width: 22px; height: 22px; }

/* Bald verfügbar */
.soon {
  margin-top: 40px;
  border: 1.5px dashed var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
}
.soon h3 { margin-bottom: 14px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
}
.section.soft .chips li { background: var(--surface); }
.chips li::after {
  content: "Bald";
  margin-left: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--warning-ink);
  background: var(--warning-soft);
  padding: 2px 8px;
  border-radius: 999px;
}

/* Schritte */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 20px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  counter-increment: step;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-sm);
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 800;
  margin-bottom: 16px;
}
.steps p { color: var(--muted); margin: 0; }

/* Datenschutz-Abschnitt */
.privacy-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .privacy-grid { grid-template-columns: 1fr 1fr; } }
.never { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.never li { display: flex; gap: 12px; align-items: flex-start; }
.never svg {
  flex: none; width: 24px; height: 24px; margin-top: 2px; padding: 4px;
  border-radius: 50%;
  fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round;
}
.never .x svg { background: var(--danger-soft); color: var(--danger-ink); }
.never .ok svg { background: var(--success-soft); color: var(--success-ink); }
.card h3 + .never, .card h3 + p { margin-top: 0; }
.privacy-link { margin-top: 24px; font-weight: 600; }

/* Zielgruppen */
.audience .ico { margin-bottom: 14px; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 56px 18px 20px;
  font-weight: 650;
  position: relative;
  border-radius: var(--r-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 22px; top: 50%;
  width: 10px; height: 10px;
  border-right: 2.5px solid var(--primary-ink);
  border-bottom: 2.5px solid var(--primary-ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .answer { padding: 0 20px 18px; color: var(--muted); }
.faq .answer p:last-child { margin-bottom: 0; }

/* CTA */
.cta {
  background: linear-gradient(135deg, #5b4bdb 0%, #4a3fc4 50%, #0f9b8c 120%);
  color: #fff;
  text-align: center;
  padding: 80px 0;
}
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.92); max-width: 34em; margin-inline: auto; font-size: 1.1rem; }
.cta .store-row { justify-content: center; margin-top: 28px; }
.cta .store { background: #fff; color: #14142a; border-color: #fff; }
.cta .store-hint { color: rgba(255, 255, 255, 0.92); }
.cta :focus-visible { outline-color: #fff; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 36px 0; color: var(--muted); font-size: 0.95rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.footer-links { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; }
.footer-links a { color: var(--text); font-weight: 550; }

/* ---------- Rechtliche Unterseiten ---------- */
.legal { padding: 48px 0 80px; }
.legal .prose { max-width: 760px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.45rem; margin-top: 2em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6em; }
.legal li { margin-bottom: 0.4em; }
.draft-note {
  background: var(--warning-soft);
  color: var(--warning-ink);
  border: 2px solid var(--warning);
  border-radius: var(--r-md);
  padding: 16px 20px;
  margin: 0 0 32px;
  font-weight: 600;
}
.draft-note strong { display: block; letter-spacing: 0.04em; font-size: 1.05rem; margin-bottom: 4px; }
.draft-note span { font-weight: 450; }
.ph {
  background: rgba(234, 138, 12, 0.18);
  border-radius: 4px;
  padding: 0 4px;
  font-style: normal;
}
.part {
  display: inline-block;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--primary-ink); background: var(--primary-soft);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 8px;
}
.toc { background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px 24px 16px 40px; margin-bottom: 32px; }
.toc li { margin-bottom: 0.25em; }
.dl { display: grid; gap: 4px 24px; grid-template-columns: 1fr; margin: 0 0 1.4em; }
@media (min-width: 640px) { .dl { grid-template-columns: 200px 1fr; } }
.dl dt { font-weight: 650; }
.dl dd { margin: 0 0 10px; }

/* ---------- Einblend-Animationen ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.store svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
