/* Exact Tune – Homepage. Farben wie in der App, folgt dem Dunkelmodus des Systems */
:root {
  --bg: #f3eee6;
  --surface: #fffaf2;
  --surface-2: #ebe4d8;
  --ink: #1d2230;
  --muted: #6f717a;
  --line: #e1d9cb;
  --accent: #e2553a;
  --accent-2: #ff7a1a;
  --accent-ink: #ffffff;
  --good: #1f9d6b;
  --shadow: 0 1px 2px rgba(60, 40, 20, .06), 0 10px 30px rgba(60, 40, 20, .08);
  --radius: 22px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #10141c; --surface: #1a2030; --surface-2: #232a3c; --ink: #eef0f4;
    --muted: #9aa1b0; --line: #283044; --accent: #ff7a5c; --accent-2: #ff9a4a;
    --accent-ink: #1b0d08; --good: #35c98c; --shadow: none;
  }
}
:root[data-theme="dark"] {
  --bg: #10141c; --surface: #1a2030; --surface-2: #232a3c; --ink: #eef0f4;
  --muted: #9aa1b0; --line: #283044; --accent: #ff7a5c; --accent-2: #ff9a4a;
  --accent-ink: #1b0d08; --good: #35c98c; --shadow: none;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.55; overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
main, .site-head, .site-foot { max-width: 1120px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; }
h2 { font-size: clamp(26px, 4vw, 36px); margin-bottom: 26px; }

/* ---------- Kopf ---------- */
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 18px; padding-bottom: 6px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; font-size: 21px; letter-spacing: .01em; }
.logo img { border-radius: 9px; }
.logo span { display: flex; align-items: center; gap: 4px; }
.logo i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; }
.logo.small { font-size: 16px; } .logo.small img { border-radius: 6px; }
.langs { display: flex; gap: 2px; background: var(--surface-2); padding: 3px; border-radius: 99px; }
.langs a { text-decoration: none; font-size: 12.5px; font-weight: 650; color: var(--muted); padding: 5px 9px; border-radius: 99px; }
.langs a[aria-current="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 40px 0 56px; }
.kicker { margin: 0 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--accent); }
.kicker a { text-decoration: none; letter-spacing: .04em; text-transform: none; font-size: 15px; }
.hero h1 { font-size: clamp(40px, 6.2vw, 68px); font-weight: 760; }
.lead { font-size: clamp(17px, 1.9vw, 20px); color: var(--muted); margin: 20px 0 0; max-width: 34em; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 13px 22px; border-radius: 99px; text-decoration: none;
  font-weight: 680; font-size: 16.5px; transition: transform .12s, box-shadow .12s, background .12s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: var(--accent-ink); box-shadow: 0 8px 22px color-mix(in srgb, var(--accent) 32%, transparent); }
.btn-primary:hover { box-shadow: 0 10px 28px color-mix(in srgb, var(--accent) 42%, transparent); }
.btn-play { background: var(--ink); color: var(--bg); }
.btn-play:hover { opacity: .9; }
.trust { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14.5px; font-weight: 560; }
.trust li::before { content: "✓"; color: var(--good); font-weight: 800; margin-right: 6px; }
.hero-art { display: flex; justify-content: center; position: relative; }
.hero-art::before {
  content: ""; position: absolute; inset: 8% 2% 6%; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--accent-2) 30%, transparent), transparent 75%);
  filter: blur(8px); z-index: 0;
}

/* ---------- Handy-Rahmen ---------- */
.phone {
  margin: 0; position: relative; z-index: 1; width: min(310px, 78vw);
  border-radius: 44px; padding: 10px; background: #14171f;
  box-shadow: 0 0 0 1.5px #2b3040 inset, 0 30px 70px rgba(30, 20, 10, .28);
}
.phone img { display: block; width: 100%; border-radius: 34px; aspect-ratio: 390 / 844; object-fit: cover; }
.lead-phone { transform: rotate(-2.5deg); }

/* ---------- Instrumente ---------- */
.band { padding: 24px 0 56px; }
.inst-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.inst {
  display: flex; flex-direction: column; gap: 6px; text-decoration: none;
  background: var(--surface); border-radius: var(--radius); padding: 20px 18px 18px; box-shadow: var(--shadow);
  border: 1px solid transparent; transition: border-color .15s, transform .15s;
}
.inst:hover { border-color: var(--accent); transform: translateY(-2px); }
.inst svg { color: var(--accent); margin-bottom: 6px; }
.inst strong { font-size: 18px; }
.inst span { color: var(--muted); font-size: 14px; line-height: 1.4; flex: 1; }
.inst em { font-style: normal; font-weight: 650; font-size: 14px; color: var(--accent); margin-top: 8px; }

/* ---------- So geht's ---------- */
.how { padding: 24px 0 56px; }
.how ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.how li { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); font-weight: 750; margin-bottom: 14px; }
.how h3 { font-size: 19px; margin-bottom: 8px; }
.how p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- Bilder ---------- */
.shots { padding: 24px 0 56px; }
.shot-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.shot .phone { width: 100%; border-radius: 34px; padding: 7px; }
.shot .phone img { border-radius: 27px; }
.shot p { text-align: center; color: var(--muted); font-size: 14.5px; margin: 12px 0 0; font-weight: 560; }

/* ---------- Fragen ---------- */
.faq { padding: 24px 0 56px; max-width: 820px; }
.faq details { background: var(--surface); border-radius: 16px; margin-bottom: 10px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* ---------- App ---------- */
.app-cta {
  display: flex; align-items: center; gap: 24px; margin: 8px 0 56px; padding: 28px;
  background: var(--surface); border-radius: 28px; box-shadow: var(--shadow);
}
.app-cta img { border-radius: 20px; flex: 0 0 auto; }
.app-cta div { flex: 1; }
.app-cta h2 { margin-bottom: 6px; font-size: 26px; }
.app-cta p { margin: 0; color: var(--muted); }

/* ---------- Nischen-Seiten ---------- */
.niche .lead { font-size: 17.5px; }
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.checks li { font-weight: 580; }
.checks li::before { content: "✓"; color: var(--good); font-weight: 800; margin-right: 10px; }

/* ---------- Datenschutz ---------- */
.prose { max-width: 760px; padding-top: 30px; padding-bottom: 50px; }
.prose h1 { font-size: 34px; margin: 10px 0 6px; }
.prose h2 { font-size: 20px; margin: 28px 0 8px; }
.prose p { margin: 0 0 10px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 44px 0 30px; }
.muted { color: var(--muted); }

/* ---------- Fuß ---------- */
.site-foot { border-top: 1px solid var(--line); padding-top: 26px; padding-bottom: 36px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-row nav a { color: var(--muted); text-decoration: none; font-size: 14.5px; }
.foot-row nav a:hover { color: var(--ink); }
.foot-note { color: var(--muted); font-size: 13px; margin: 18px 0 0; }

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 960px) {
  .inst-grid { grid-template-columns: repeat(2, 1fr); }
  .shot-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 22px; text-align: left; }
  .hero-art { order: 2; }
  .how ol { grid-template-columns: 1fr; }
  .app-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .btn { width: 100%; }
  .inst-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .inst { padding: 16px 14px 14px; }
  .inst span { font-size: 13px; }
  .langs a { padding: 5px 7px; font-size: 12px; }
  .logo { font-size: 18px; } .logo img { width: 30px; height: 30px; }
  .shot-row { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } .lead-phone { transform: none; } }

/* ---------- Echtes Stimmgerät im Handy-Rahmen ---------- */
.live-wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone.live { width: min(340px, 88vw); }
.phone.live img { filter: saturate(.9); }
.live-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  width: 78%; padding: 18px 16px; border-radius: 22px; text-decoration: none;
  background: color-mix(in srgb, var(--ink) 88%, transparent); color: var(--bg);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .3); transition: transform .15s;
}
.live-btn:hover { transform: translate(-50%, -50%) scale(1.03); }
.live-btn svg { width: 46px; height: 46px; padding: 11px; border-radius: 50%; color: var(--accent-ink);
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); box-sizing: content-box; }
.live-btn span { font-weight: 720; font-size: 18px; }
.live-btn small { opacity: .75; font-size: 13.5px; line-height: 1.35; }
.phone.is-live { transform: none; }
.phone.live iframe {
  display: block; width: 100%; aspect-ratio: 390 / 844; border: 0; border-radius: 34px;
  background: var(--bg); color-scheme: normal;
}
.live-full { font-size: 14.5px; font-weight: 620; color: var(--muted); text-decoration: none; }
.live-full:hover { color: var(--accent); }
@media (max-width: 520px) {
  .phone.live { width: 92vw; border-radius: 40px; padding: 8px; }
  .phone.live img, .phone.live iframe { border-radius: 32px; }
}

/* ---------- Frequenz-Tabellen ---------- */
.ref { padding: 8px 0 48px; max-width: 820px; }
.table-wrap { overflow-x: auto; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); }
.ref table { width: 100%; border-collapse: collapse; font-size: 16px; }
.ref th, .ref td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.ref th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.ref tr:last-child td { border-bottom: 0; }
.ref td:nth-child(2) { font-weight: 700; }
.small { font-size: 13px; margin-top: 10px; }

/* ---------- Weitere Seiten ---------- */
.guides { padding: 8px 0 48px; }
.guide-links { display: flex; flex-wrap: wrap; gap: 10px; }
.guide-links a {
  text-decoration: none; background: var(--surface); box-shadow: var(--shadow);
  padding: 11px 16px; border-radius: 99px; font-weight: 620; font-size: 15px;
}
.guide-links a:hover { color: var(--accent); }

/* Handy: Bild gerade und mit Rand, Tabellen dürfen umbrechen */
html { overflow-x: clip; }
@media (max-width: 520px) {
  .phone.live { width: 86vw; transform: none; }
  .ref th, .ref td { white-space: normal; padding: 11px 12px; }
}
