/* Same structure as site/ottoivi/style.css, own accent colour, dark only
   (decided 2026-10-19). System fonts only: privacy.html promises no
   third-party requests (site/check.sh). */
:root {
  --bg: #0b0d10;
  --surface: #14181d;
  --text: #e8eaed;
  --muted: #9aa3ad;
  --line: #262c33;
  --accent: #f2b84b;
  --sun-1: #ffd166;
  --sun-2: #ff9a3c;
  --sun-3: #ff6b8b;
  color-scheme: dark;
}


* { box-sizing: border-box; }

[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

main, footer {
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 16px;
}

main { position: relative; }

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

.hero { padding: 18vh 0 0; }

.wordmark {
  margin: 0;
  font-size: clamp(3rem, 14vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.lead { font-size: 1.15rem; margin: 4.3rem 0 0; }

.contact { margin: 3rem 0 4rem; }

footer {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  padding-bottom: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

footer a { color: var(--muted); margin-right: 1.2rem; }

.legal { padding-top: 4rem; padding-bottom: 3rem; }
.legal h1 { font-size: 2rem; margin: 0 0 1.5rem; }
.legal h2 { font-size: 1.15rem; margin: 2rem 0 0.5rem; }
.back { display: inline-block; margin-bottom: 2rem; }

/* DE/EN switch, top right; same look as site/ottoivi/style.css. */
.seg {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: 600 0.8rem system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.seg button {
  padding: 0.3rem 0.75rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
}
.seg button[aria-pressed="true"] { background: var(--accent); color: var(--surface); }
.seg button:focus-visible { outline: 2px solid var(--text); outline-offset: 1px; }
.lang { position: absolute; top: 16px; right: 16px; }

/* The claim: a sunrise gradient on hand lettering, and a smile drawn under it. */
.claim { margin: 1.6rem 0 0; }
.claim svg { display: block; height: clamp(3rem, 15vw, 6.2rem); width: auto; max-width: 100%; animation: claim-in 0.7s ease-out both; }
html[lang="en"] .claim-de, html:not([lang="en"]) .claim-en { display: none; }
.claim .s1 { stop-color: var(--sun-1); }
.claim .s2 { stop-color: var(--sun-2); }
.claim .s3 { stop-color: var(--sun-3); }
.claim .swoosh { stroke-dasharray: 1; stroke-dashoffset: 1; animation: claim-smile 1.1s 0.4s cubic-bezier(0.6, 0, 0.2, 1) forwards; }
@keyframes claim-in { from { opacity: 0; transform: translateY(6px); } }
@keyframes claim-smile { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .claim svg, .claim .swoosh { animation: none; }
  .claim .swoosh { stroke-dashoffset: 0; }
}

/* Copy button beside an e-mail address (copy.js): a quiet alternative to the link. */
.mail-copy { white-space: nowrap; }
.copy {
  margin-left: 0.4rem;
  padding: 0.1rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: 600 0.75rem system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  vertical-align: 0.1em;
  cursor: pointer;
}
.copy:hover { color: var(--text); border-color: var(--muted); }
.copy:focus-visible { outline: 2px solid var(--text); outline-offset: 1px; }
