/* Diggits – Website. Gleiche Tokens wie die App ("Ink & Türkis"), Schriften selbst gehostet. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-grotesque.woff") format("woff");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/figtree.woff") format("woff");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --ink: #15171a;
  --ink-2: #26292e;
  --ground: #f2f3f0;
  --white: #ffffff;
  --accent: #4fe6d6;
  --accent-dark: #0f766e;
  --text-2: #4a4e55;
  --text-3: #666b73;
  --on-ink: #c9ccd1;
  --on-ink-2: #a3a8af;
  --line: #e3e5e0;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent-dark); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible { outline-color: var(--accent); }

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

.display { font-family: "Bricolage Grotesque", "Figtree", sans-serif; letter-spacing: -0.025em; }

/* Kopfzeile */
.dark { background: var(--ink); color: var(--white); }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.wordmark { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; letter-spacing: -0.04em; font-size: 24px; line-height: 1; }
.wordmark span { color: var(--accent); }
.light .wordmark span { color: var(--accent-dark); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #3fd6c6; }
.btn-ghost { border: 1.5px solid #4a4e55; color: var(--white); }
.btn-ghost:hover { border-color: var(--on-ink-2); }
.btn-lg { min-height: 56px; padding: 0 26px; font-size: 16px; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(40px, 6vw, 96px); padding-top: clamp(24px, 5vw, 64px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero-text { flex: 1 1 440px; min-width: 0; }
.pill { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 15px; border: 1.5px solid var(--accent); color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.02em; }
.hero h1 { margin: 20px 0 0; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; font-weight: 800; letter-spacing: -0.035em; }
.hero p.lead { margin: 22px 0 0; max-width: 34em; font-size: clamp(16px, 1.5vw, 19px); color: var(--on-ink); }
.actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.meta { margin-top: 16px; font-size: 13.5px; color: var(--on-ink-2); }
.phone { flex: 0 1 auto; margin: 0 auto; padding: 8px; border-radius: 50px; background: var(--ink-2); }
.phone img { width: min(300px, 74vw); height: auto; border-radius: 42px; }

/* Abschnitte */
section.block { padding-top: clamp(56px, 7vw, 104px); }
h2.section-title { margin: 0; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; font-weight: 700; }
p.section-lead { margin: 12px 0 0; max-width: 40em; font-size: 16.5px; color: var(--text-2); }

.cards { margin: 32px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 16px; }
.card { flex: 1 1 240px; min-width: 0; border-radius: 28px; background: var(--white); padding: 24px; }
.card h3 { margin: 18px 0 0; font-size: 21px; line-height: 26px; font-weight: 700; }
.card p { margin: 8px 0 0; font-size: 15.5px; line-height: 23px; color: var(--text-2); }
.icon-dot { width: 48px; height: 48px; border-radius: 24px; display: flex; align-items: center; justify-content: center; }
.icon-dot svg { width: 22px; height: 22px; }
.step-no { width: 40px; height: 40px; border-radius: 20px; background: var(--ink); color: var(--accent); display: flex; align-items: center; justify-content: center; font-family: "Bricolage Grotesque", sans-serif; font-size: 19px; font-weight: 800; }
.card.step h3 { margin-top: 16px; font-family: "Figtree", sans-serif; font-size: 18px; line-height: 24px; }
.card.step p { font-size: 15px; line-height: 22px; }

.note { margin-top: 16px; border-radius: 24px; background: #e3e5e0; padding: 18px 22px; display: flex; gap: 14px; align-items: flex-start; }
.note svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; }
.note p { margin: 0; font-size: 15px; line-height: 22px; }

.data { border-radius: 36px; padding: clamp(28px, 4vw, 56px); }
.data p.section-lead { color: var(--on-ink); }
.data-cols { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 28px 40px; }
.data-cols > div { flex: 1 1 240px; min-width: 0; }
.data h3 { margin: 0; font-size: 15px; font-weight: 700; color: var(--accent); }
.data-cols p { margin: 8px 0 0; font-size: 15px; line-height: 23px; color: var(--on-ink); }
.data .btn { margin-top: 32px; }

/* Fußzeile */
.site-footer { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 20px 40px; padding-top: clamp(40px, 5vw, 64px); padding-bottom: 40px; }
.site-footer .small { flex: 1 1 320px; min-width: 0; font-size: 13px; line-height: 19px; color: var(--text-3); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.site-footer nav a { min-height: 44px; display: flex; align-items: center; font-size: 15px; font-weight: 600; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }

/* Rechtstexte */
.legal-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.legal-header a.back { font-size: 15px; font-weight: 600; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.legal { max-width: 760px; margin: 0 auto; padding: 8px var(--gutter) 48px; }
.legal h1 { margin: 16px 0 0; font-size: clamp(32px, 4vw, 46px); line-height: 1.1; font-weight: 700; }
.legal .stand { margin: 8px 0 0; color: var(--text-3); font-size: 14px; }
.legal h2 { margin: 40px 0 0; font-family: "Bricolage Grotesque", sans-serif; font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; }
.legal h3 { margin: 24px 0 0; font-size: 17px; }
.legal p, .legal li { font-size: 16px; line-height: 1.65; color: var(--ink); }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--accent-dark); }
.legal .box { margin-top: 20px; border-radius: 24px; background: var(--white); padding: 18px 22px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 8px; border-top: 1px solid var(--line); }
.legal th { width: 32%; font-weight: 700; }
.table-scroll { overflow-x: auto; }

@media (max-width: 520px) {
  .site-header .btn span.long { display: none; }
  .legal th { width: 40%; }
}
