/* ============================================================
   NEXT SELF — Stylesheet
   Eine einzige Datei für die ganze Webseite.
   Farben änderst du ganz oben bei ":root".
   ============================================================ */

:root {
  /* --- Farben (hier kannst du alles umstellen) --- */
  --bg:          #000000;   /* Seitenhintergrund      */
  --card:        #0E0E11;   /* Kacheln / Boxen        */
  --card-2:      #17171B;   /* Kacheln, etwas heller  */
  --line:        rgba(255, 255, 255, .10);
  --line-soft:   rgba(255, 255, 255, .06);
  --text:        #F5F5F7;   /* Hauptschrift           */
  --dim:         #98989F;   /* Nebensächliche Schrift */
  --accent:      #0A84FF;   /* Blau (wie in der App)  */
  --accent-2:    #3D9BFF;
  --green:       #30D158;

  /* --- Maße --- */
  --max:    1120px;
  --radius: 22px;
  --gutter: 22px;

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Grundgerüst ---------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }

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

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.center { text-align: center; }
.dim    { color: var(--dim); }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.12;
  letter-spacing: -.022em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 6.2vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4.4vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 2.6vw, 1.4rem); }

p { margin: 0 0 1.1em; }

.lead {
  font-size: clamp(1.05rem, 2.3vw, 1.3rem);
  color: var(--dim);
  line-height: 1.55;
  max-width: 44ch;
}

.section { padding: clamp(64px, 10vw, 120px) 0; }
.section--tight { padding: clamp(44px, 7vw, 80px) 0; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

hr.rule {
  border: 0;
  border-top: 1px solid var(--line-soft);
  margin: 0;
}

/* ---------- Kopfzeile ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
  padding-top: env(safe-area-inset-top, 0px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 62px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-weight: 650;
  font-size: 1.04rem;
  letter-spacing: -.015em;
}
.brand:hover { color: var(--text); opacity: .85; }
.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav a {
  color: var(--dim);
  font-size: .95rem;
  padding: 8px 12px;
  border-radius: 10px;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav .btn { color: #fff; }

@media (max-width: 640px) {
  .nav a.nav-hide { display: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font-size: .98rem;
  font-weight: 600;
  letter-spacing: -.01em;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { background: var(--accent-2); color: #fff; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--ghost {
  background: rgba(255, 255, 255, .07);
  border-color: var(--line);
  color: var(--text);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: var(--text); }

.btn--sm { padding: 9px 17px; font-size: .9rem; }

.btn svg { width: 19px; height: 19px; flex: none; }

/* Store-Buttons */
.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px 11px 18px;
  border-radius: 14px;
  background: #fff;
  color: #000;
  border: 1px solid #fff;
  transition: transform .15s ease, opacity .15s ease;
}
.store-btn:hover { color: #000; opacity: .88; transform: translateY(-1px); }
.store-btn svg { width: 24px; height: 24px; flex: none; }
.store-btn span { display: block; text-align: left; line-height: 1.2; }
.store-btn .small { font-size: .68rem; opacity: .65; letter-spacing: .02em; }
.store-btn .big   { font-size: 1.02rem; font-weight: 650; letter-spacing: -.01em; }

.store-btn--alt { background: transparent; color: var(--text); border-color: var(--line); }
.store-btn--alt:hover { color: var(--text); background: rgba(255, 255, 255, .07); opacity: 1; }

.store-note {
  margin-top: 16px;
  font-size: .88rem;
  color: var(--dim);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(52px, 9vw, 104px) 0 clamp(20px, 4vw, 40px);
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% 50% auto;
  width: 900px;
  height: 640px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(10, 132, 255, .20), transparent 68%);
  pointer-events: none;
  filter: blur(10px);
}
.hero > * { position: relative; }

.hero__icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  margin: 0 auto 26px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .65);
}

.hero h1 { margin-bottom: 18px; }
.hero .lead { margin: 0 auto 30px; }

.badge-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  margin-bottom: 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
  font-size: .86rem;
  color: var(--dim);
}
.badge-row .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(48, 209, 88, .18);
}

/* Handy-Reihe im Hero */
.phone-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(8px, 1.6vw, 20px);
  margin-top: clamp(38px, 6vw, 66px);
  padding-bottom: 10px;
}
.phone-row img {
  width: clamp(150px, 23vw, 250px);
  filter: drop-shadow(0 24px 46px rgba(0, 0, 0, .85))
          drop-shadow(0 0 32px rgba(120, 170, 255, .10));
}
.phone-row img:nth-child(1),
.phone-row img:nth-child(3) {
  transform: translateY(30px) scale(.9);
  opacity: .78;
}

@media (max-width: 620px) {
  .phone-row img:nth-child(1),
  .phone-row img:nth-child(3) { display: none; }
  .phone-row img { width: min(66vw, 280px); }
}

/* ---------- Funktions-Kacheln ---------- */
.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.card h3 { margin-bottom: .35em; }
.card p  { margin: 0; color: var(--dim); font-size: .97rem; }

.card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(10, 132, 255, .14);
  color: var(--accent);
  margin-bottom: 18px;
}
.card__icon svg { width: 21px; height: 21px; }

/* ---------- Wechselnde Bild/Text-Blöcke ---------- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(46px, 7vw, 86px) 0;
  border-top: 1px solid var(--line-soft);
}
.feature:first-of-type { border-top: 0; }
.feature--flip .feature__media { order: -1; }

.feature__media {
  display: flex;
  justify-content: center;
  gap: 18px;
  background:
    radial-gradient(ellipse 62% 54% at 50% 48%, rgba(10, 132, 255, .11), transparent 70%),
    radial-gradient(ellipse 52% 46% at 50% 50%, rgba(255, 255, 255, .055), transparent 72%);
}
.feature__media img {
  width: clamp(170px, 30vw, 250px);
  filter: drop-shadow(0 22px 44px rgba(0, 0, 0, .85))
          drop-shadow(0 0 28px rgba(120, 170, 255, .10));
}
.feature__media img:nth-child(2) {
  transform: translateY(30px) scale(.92);
  opacity: .82;
}

.feature ul {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.feature li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 11px;
  color: var(--dim);
  font-size: .99rem;
}
.feature li::before {
  content: "";
  position: absolute;
  left: 0; top: .5em;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: rgba(48, 209, 88, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2330D158' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px no-repeat;
}

@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; text-align: left; }
  .feature--flip .feature__media { order: 0; }
  .feature__media { margin-top: 6px; }
  .feature__media img:nth-child(2) { display: none; }
  .feature__media img { width: min(60vw, 250px); }
}

/* ---------- Preis / Testphase ---------- */
.price-box {
  max-width: 620px;
  margin-inline: auto;
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: clamp(30px, 5vw, 46px);
  text-align: center;
}
.price-box .big-num {
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  font-weight: 750;
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-bottom: 6px;
}

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq details {
  border-bottom: 1px solid var(--line-soft);
  padding: 4px 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 0;
  position: relative;
  font-weight: 600;
  font-size: 1.04rem;
  letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px; top: 50%;
  width: 11px; height: 11px;
  margin-top: -7px;
  border-right: 2px solid var(--dim);
  border-bottom: 2px solid var(--dim);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p {
  margin: 0 0 20px;
  color: var(--dim);
  max-width: 62ch;
}

/* ---------- Schluss-Aufruf ---------- */
.cta {
  text-align: center;
  padding: clamp(64px, 10vw, 120px) 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: auto 50% -55%;
  width: 820px; height: 560px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(10, 132, 255, .18), transparent 70%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta img.icon {
  width: 72px; height: 72px;
  border-radius: 17px;
  margin: 0 auto 24px;
}

/* ---------- Fußzeile ---------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 56px 0 calc(40px + env(safe-area-inset-bottom, 0px));
  font-size: .93rem;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 34px 60px;
  justify-content: space-between;
  margin-bottom: 42px;
}
.footer-brand { max-width: 300px; }
.footer-brand p { color: var(--dim); font-size: .92rem; margin: 14px 0 0; }

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 34px 64px;
}
.footer-col h4 {
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: var(--text); opacity: .78; }
.footer-col a:hover { color: var(--text); opacity: 1; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  align-items: center;
  justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  color: var(--dim);
  font-size: .87rem;
}
.social {
  display: flex;
  gap: 8px;
}
.social a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 11px;
  border: 1px solid var(--line-soft);
  color: var(--dim);
}
.social a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.social svg { width: 18px; height: 18px; }

/* ============================================================
   RECHTSTEXT-SEITEN
   Alles, was du in <div class="rechtstext"> hineinkopierst,
   wird automatisch sauber formatiert.
   ============================================================ */
.legal-head {
  padding: clamp(48px, 8vw, 84px) 0 clamp(24px, 4vw, 40px);
  border-bottom: 1px solid var(--line-soft);
}
.legal-head h1 { margin-bottom: 10px; }
.legal-head p  { color: var(--dim); margin: 0; max-width: 60ch; }

.legal-body { padding: clamp(36px, 6vw, 64px) 0 clamp(60px, 9vw, 110px); }

.rechtstext {
  max-width: 760px;
  color: #D6D6DB;
  font-size: 1rem;
  line-height: 1.75;
  overflow-wrap: break-word;
}
.rechtstext h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin: 2em 0 .6em; color: var(--text); }
.rechtstext h2 { font-size: clamp(1.28rem, 3vw, 1.55rem); margin: 2em 0 .6em; color: var(--text); }
.rechtstext h3 { font-size: 1.12rem; margin: 1.7em 0 .5em; color: var(--text); }
.rechtstext h4,
.rechtstext h5 { font-size: 1rem; margin: 1.5em 0 .4em; color: var(--text); }
.rechtstext > :first-child { margin-top: 0; }
.rechtstext p { margin: 0 0 1.15em; }
.rechtstext ul,
.rechtstext ol { margin: 0 0 1.2em; padding-left: 1.35em; }
.rechtstext li { margin-bottom: .5em; }
.rechtstext strong, .rechtstext b { color: var(--text); font-weight: 650; }
.rechtstext a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.rechtstext hr { border: 0; border-top: 1px solid var(--line-soft); margin: 2.2em 0; }
.rechtstext blockquote {
  margin: 1.4em 0;
  padding: 2px 0 2px 18px;
  border-left: 3px solid var(--line);
  color: var(--dim);
}
.rechtstext table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  font-size: .94rem;
  display: block;
  overflow-x: auto;
}
.rechtstext th,
.rechtstext td {
  border: 1px solid var(--line);
  padding: 10px 13px;
  text-align: left;
  vertical-align: top;
}
.rechtstext th { background: var(--card); color: var(--text); font-weight: 650; }
.rechtstext code {
  background: var(--card-2);
  padding: 2px 6px;
  border-radius: 6px;
  font-size: .9em;
}
.rechtstext img { border-radius: 10px; margin: 1.2em 0; }

/* Der gelbe Platzhalter-Kasten — verschwindet, sobald du ihn löschst */
.platzhalter {
  border: 1px dashed #FFD60A;
  background: rgba(255, 214, 10, .07);
  border-radius: 16px;
  padding: 24px 26px;
  color: #FFE8A3;
  margin-bottom: 8px;
}
.platzhalter strong { color: #FFD60A; }
.platzhalter p:last-child { margin-bottom: 0; }

/* Info-Kasten für Hilfe / Support */
.info-box {
  max-width: 760px;
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 26px 28px;
  margin-bottom: 16px;
}
.info-box h3 { margin-bottom: .4em; }
.info-box p:last-child { margin-bottom: 0; }
.info-box .mail {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 4px;
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 80px 0;
}

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
