/* GeoDoor – gemeinsames Design für Landingpage, Support und Datenschutz */
/* ----------------------------------------------------------------
   Farbschema
   Hell ist die Vorgabe; wer es dunkel mag, schaltet im Kopf der Seite um.
   Ohne getroffene Wahl folgt die Seite der Systemeinstellung.
   ---------------------------------------------------------------- */
:root {
  --bg: #ffffff;
  --panel: #f5f7f9;
  --text: #1f2a33;
  --muted: #5d6b78;
  --green: #197a3f;
  --green-soft: #eaf5ee;
  --line: #dfe4e9;
  --shadow: 0 1px 2px rgba(31, 42, 51, .06);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1c2630;
    --panel: #232f3b;
    --text: #eef2f5;
    --muted: #9aa8b3;
    --green: #30d158;
    --green-soft: #1e3327;
    --line: #33414d;
    --shadow: none;
  }
}

:root[data-theme="dark"] {
  --bg: #1c2630;
  --panel: #232f3b;
  --text: #eef2f5;
  --muted: #9aa8b3;
  --green: #30d158;
  --green-soft: #1e3327;
  --line: #33414d;
  --shadow: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 system-ui, -apple-system, sans-serif;
}

a { color: var(--green); }

/* ---------- Kopfzeile (alle Unterseiten) ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}
.site-header .inner {
  max-width: 780px; margin: 0 auto; padding: .9rem 1.2rem;
  display: flex; align-items: center; gap: .8rem; flex-wrap: wrap;
}
.site-header img { width: 40px; height: 40px; border-radius: 10px; display: block; }
.site-header .name {
  font-weight: 700; font-size: 1.1rem; text-decoration: none; color: var(--text);
  letter-spacing: -.01em;
}
.site-header nav { margin-left: auto; display: flex; gap: 1.3rem; flex-wrap: wrap; }
.site-header nav a {
  color: var(--muted); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.site-header nav a:hover,
.site-header nav a[aria-current="page"] { color: var(--text); }
.site-header nav a[aria-current="page"] { border-bottom: 2px solid var(--green); }

/* ---------- Inhalt ---------- */
main.page {
  max-width: 780px; margin: 0 auto; padding: 2.2rem 1.2rem 4rem;
}
h1 { font-size: 1.95rem; margin: 0 0 .2rem; letter-spacing: -.02em; }
h2 { font-size: 1.25rem; margin: 2.6rem 0 .6rem; }
h3 { font-size: 1.02rem; margin: 1.8rem 0 .3rem; }
p.lead { color: var(--green); font-weight: 600; margin: 0 0 1.6rem; }
p, li { color: var(--text); }
.muted, figcaption, .shots span, footer.site-footer { color: var(--muted); }
ol, ul { padding-left: 1.3rem; }
li { margin: .3rem 0; }
li::marker { color: var(--green); }

/* ---------- Medien ---------- */
figure { margin: 1.2rem 0 0; }
video {
  width: 100%; height: auto; aspect-ratio: 16 / 9;
  border-radius: 14px; border: 1px solid var(--line);
  background: #000; display: block;
  object-fit: contain;
}
figcaption { font-size: .92rem; margin-top: .6rem; }

.shots {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.4rem; margin: 1.2rem 0 0; padding: 0; list-style: none;
}
.shots li { margin: 0; text-align: center; }
.shots img {
  width: 100%; max-width: 185px; height: auto; display: block; margin: 0 auto;
  border-radius: 18px; border: 1px solid var(--line); background: var(--panel);
}
.shots span { display: block; font-size: .87rem; margin-top: .6rem; }
.shot-phone { max-width: 240px; margin: 1.2rem auto 0; }
.shot-phone img {
  width: 100%; border-radius: 20px; border: 1px solid var(--line); display: block;
}

/* ---------- Bausteine ---------- */
.panel-box {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 14px; padding: 1.1rem 1.3rem; margin: 1.4rem 0;
  box-shadow: var(--shadow);
}
.note {
  background: var(--green-soft); border-left: 4px solid var(--green);
  border-radius: 0 10px 10px 0; padding: .9rem 1.2rem; margin: 1.4rem 0;
}
details {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 10px; padding: .85rem 1.1rem; margin: .6rem 0;
}
details summary { cursor: pointer; font-weight: 600; }
details p { margin: .6rem 0 0; color: var(--muted); }
dl.meta { margin: .6rem 0; }
dl.meta dt { font-weight: 600; margin-top: .8rem; }
dl.meta dd { margin: .1rem 0 0; color: var(--muted); }

footer.site-footer {
  border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 1.3rem;
  font-size: .93rem;
}
footer.site-footer p { color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* iPhone-Screenshots: etwas breiter als die Watch-Bilder */
.shots-phone { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.shots-phone img { max-width: 215px; border-radius: 22px; background: #fff; }

/* Schritt-für-Schritt-Anleitung */
.steps-guide { list-style: none; counter-reset: step; margin: 1.6rem 0 0; padding: 0; }
.steps-guide > li {
  display: grid; grid-template-columns: 1fr 190px; gap: 1.6rem;
  align-items: center; padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}
.steps-guide > li:first-child { border-top: 0; }
.steps-guide h3 { margin: 0 0 .4rem; font-size: 1.08rem; }
.steps-guide p { margin: 0; color: var(--muted); font-size: .97rem; }
.steps-guide img {
  width: 100%; max-width: 190px; height: auto; display: block;
  border-radius: 20px; border: 1px solid var(--line); background: #fff;
}
@media (max-width: 640px) {
  .steps-guide > li { grid-template-columns: 1fr; }
  .steps-guide img { max-width: 210px; margin: .8rem auto 0; }
}

/* Sicherheitsübersicht */





/* ---------- Einheitliche Karten für Inhaltsblöcke ---------- */
.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 1.1rem 1.3rem; margin: .8rem 0;
  box-shadow: var(--shadow);
}
.card > h2, .card > summary {
  font-size: 1.06rem; font-weight: 700; margin: 0 0 .4rem;
  letter-spacing: -.01em; color: var(--text);
}
.card > summary { cursor: pointer; margin: 0; list-style: none; }
.card > summary::-webkit-details-marker { display: none; }
.card > summary::before {
  content: "▸"; color: var(--green); margin-right: .55rem;
  display: inline-block; transition: transform .12s;
}
.card[open] > summary::before { transform: rotate(90deg); }
.card[open] > summary { margin-bottom: .5rem; }
.card p { margin: 0; color: var(--muted); }
.card p + p { margin-top: .6rem; }

/* Wegweiser */
.quicklinks { list-style: none; padding: 0; }
.quicklinks li {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 1.1rem 1.3rem; margin: .8rem 0;
  box-shadow: var(--shadow); color: var(--muted);
}
.quicklinks a { font-weight: 600; }

/* Schritt-für-Schritt-Anleitung */
.steps-guide { list-style: none; padding: 0; counter-reset: schritt; }
.steps-guide > li {
  display: flex; gap: 1.4rem; align-items: flex-start; flex-wrap: wrap;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: 12px; padding: 1.1rem 1.3rem; margin: .8rem 0;
}
.steps-guide .txt { flex: 1 1 300px; }
.steps-guide h3 { margin: 0 0 .35rem; font-size: 1.06rem; }
.steps-guide p { margin: 0; color: var(--muted); }
.steps-guide img {
  width: 150px; height: auto; border-radius: 14px;
  border: 1px solid var(--line); background: var(--panel); flex-shrink: 0;
}


/* ---------- Umschalter für das Farbschema ---------- */
.theme-toggle {
  margin-left: .8rem; border: 1px solid var(--line); background: var(--bg);
  color: var(--muted); border-radius: 999px; padding: .35rem .8rem;
  font: inherit; font-size: .85rem; font-weight: 600; cursor: pointer;
  display: inline-flex; align-items: center; gap: .4rem;
}
.theme-toggle:hover { color: var(--text); border-color: var(--muted); }
.theme-toggle svg { width: 15px; height: 15px; fill: currentColor; }
:root[data-theme="dark"] .theme-toggle .sun,
:root:not([data-theme="light"]) .theme-toggle .sun { display: inline; }
.theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: inline; }
}
:root[data-theme="dark"] .theme-toggle .sun { display: none; }
:root[data-theme="dark"] .theme-toggle .moon { display: inline; }
:root[data-theme="light"] .theme-toggle .sun { display: inline; }
:root[data-theme="light"] .theme-toggle .moon { display: none; }

/* Kleiner Hinweistext auf der Startseite */
.small { font-size: .88rem; margin-top: 1.6rem; }
