/* iVelo Apps – schlichtes Design, ohne Cookies, ohne Tracking, ohne externe Dateien. */

@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("fonts/Manrope-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  --bg: #f6f7f9;
  --card: #ffffff;
  --text: #16181d;
  --muted: #5b6275;
  --border: #e3e6ee;
  --accent: #14213d;
  --accent-text: #ffffff;
  --link: #1f4fbf;
  --radius: 18px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101216;
    --card: #191c22;
    --text: #eef0f4;
    --muted: #a3a9b8;
    --border: #2a2f39;
    --accent: #e8ebf2;
    --accent-text: #14213d;
    --link: #8fb0ff;
  }
}

/* Tresorio-Seiten: Farben der App (Navy, Gold nur als Akzent). */
.tresorio {
  --accent: #14213d;
  --accent-text: #ffffff;
  --gold: #c9a227;
}
@media (prefers-color-scheme: dark) {
  .tresorio {
    --accent: #c9a227;
    --accent-text: #14213d;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

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

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

header.site {
  padding: 24px 0 8px;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wordmark {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.wordmark span {
  color: var(--muted);
  font-weight: 600;
}

nav.lang a {
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  margin-left: 12px;
}

nav.lang a[aria-current="page"] {
  color: var(--text);
}

main {
  padding: 24px 0 48px;
}

h1 {
  font-size: clamp(28px, 6vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 8px 0 12px;
}

h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 36px 0 8px;
}

h3 {
  font-size: 18px;
  font-weight: 800;
  margin: 24px 0 4px;
}

.lead {
  font-size: 19px;
  color: var(--muted);
  margin: 0 0 24px;
}

.muted {
  color: var(--muted);
}

.card {
  display: flex;
  gap: 18px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  color: var(--text);
  text-decoration: none;
}

a.card:hover {
  border-color: var(--muted);
}

.card img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  flex: none;
}

.card strong {
  display: block;
  font-size: 19px;
  font-weight: 800;
}

.card span {
  color: var(--muted);
  font-size: 15px;
}

.hero {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 8px;
}

.hero img {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  flex: none;
}

ul.features {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 12px;
}

ul.features li {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 800;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 14px;
}

.button[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.legal p,
.legal li {
  overflow-wrap: anywhere;
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin: 12px 0;
}

.legal th,
.legal td {
  text-align: left;
  vertical-align: top;
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
}

.table-scroll {
  overflow-x: auto;
}

.note {
  background: var(--card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold, var(--accent));
  border-radius: 12px;
  padding: 12px 16px;
}

footer.site {
  border-top: 1px solid var(--border);
  padding: 20px 0 32px;
  font-size: 15px;
  color: var(--muted);
}

footer.site a {
  color: var(--muted);
  margin-right: 16px;
}
