/* PeakPrint — Website. Dieselben Farben wie die App (Theme.swift),
   Montserrat als Ersatz fuer Avenir Next (siehe Kommentar dort: Poppins/
   Montserrat kaemen der App-Schrift am naechsten, liegen iOS nur nicht bei —
   im Web gibt es diese Einschraenkung nicht). Selbst gehostet, keine
   Drittanbieter-Anfrage: die Datenschutzerklaerung verspricht das. */

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-Variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #141414;
  --bg-raised: #1c1c1c;
  --surface: #2a2a2a;
  --text: #f2f2f2;
  --text-dim: #8a8a8a;
  --accent: #2b6b41;
  --accent-text: #5fa57b;
  --hairline: rgba(242, 242, 242, 0.1);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

h1, h2, h3 {
  font-family: "Montserrat", -apple-system, sans-serif;
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
}

.wordmark {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  font-size: 15px;
}

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

/* ---------- Kopfzeile ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  background: rgba(20, 20, 20, 0.72);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid var(--hairline);
}

.site-header .brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header .brand img {
  width: 26px;
  height: 26px;
  border-radius: 7px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav-legal {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  text-decoration: none;
  color: var(--text-dim);
  transition: color 0.15s ease;
  white-space: nowrap;
}

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

.lang-switch {
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  text-decoration: none;
  color: var(--text) !important;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(20, 20, 20, 0.15) 0%,
    rgba(20, 20, 20, 0.35) 45%,
    rgba(20, 20, 20, 0.96) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 24px 72px;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
  margin: 0 0 18px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  max-width: 16ch;
  margin: 0 0 22px;
}

.tagline {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: #d8d8d8;
  max-width: 46ch;
  margin: 0 0 34px;
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  height: 54px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
}

.cta-sub {
  font-size: 13px;
  color: var(--text-dim);
}

/* ---------- Abschnitte ---------- */

section {
  padding: 72px 0;
}

section.tight {
  padding: 40px 0;
}

.section-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.about h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  max-width: 20ch;
  margin-bottom: 26px;
}

.about p {
  font-size: 19px;
  color: #d0d0d0;
  max-width: 62ch;
}

/* Schritte: nummeriert wie Wegmarken, keine Icon-Kacheln. */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
}

.step {
  padding: 28px 32px 28px 0;
  border-right: 1px solid var(--hairline);
}

.step:last-child {
  border-right: none;
}

.step .num {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: var(--accent-text);
  display: block;
  margin-bottom: 22px;
}

.step h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.step p {
  color: var(--text-dim);
  font-size: 15.5px;
  margin: 0;
}

/* ---------- Prinzipien ---------- */

.principles {
  border-top: 1px solid var(--hairline);
  padding-top: 8px;
}

.principles ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.principles li {
  padding-top: 18px;
  border-top: 2px solid var(--accent);
}

.principles h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.principles p {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0;
}

/* ---------- Abschluss ---------- */

.closing {
  text-align: left;
  border-top: 1px solid var(--hairline);
}

.closing h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  max-width: 18ch;
  margin-bottom: 16px;
}

.closing p {
  color: var(--text-dim);
  font-size: 17px;
  max-width: 50ch;
}

/* ---------- Rechtstexte ---------- */

.legal {
  padding: 64px 0 120px;
  max-width: 760px;
}

.legal h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 6px;
}

.legal .updated {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 40px;
}

.legal .intro {
  color: #d0d0d0;
  margin-bottom: 40px;
}

.legal section {
  padding: 0;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 19px;
  margin-bottom: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
}

.legal section:first-of-type h2 {
  border-top: none;
  padding-top: 0;
}

.legal p {
  color: #cfcfcf;
  font-size: 15.5px;
  margin: 0 0 14px;
}

.legal ul {
  color: #cfcfcf;
  font-size: 15.5px;
  padding-left: 20px;
  margin: 0 0 14px;
}

.legal li {
  margin-bottom: 4px;
}

/* ---------- Fuss ---------- */

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 40px 0 56px;
}

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

.site-footer .tagline {
  color: var(--text-dim);
  font-size: 14px;
}

.site-footer .tagline strong {
  color: var(--text);
  font-weight: 700;
}

.site-footer nav {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.site-footer a {
  text-decoration: none;
  color: var(--text-dim);
}

.site-footer a:hover {
  color: var(--text);
}

/* ---------- Responsive ---------- */

@media (max-width: 560px) {
  .nav-legal {
    display: none;
  }
  .site-header {
    padding: 18px 20px;
  }
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
  }
  .step {
    border-right: none;
    border-bottom: 1px solid var(--hairline);
    padding: 28px 0;
  }
  .principles ul {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  section {
    padding: 64px 0;
  }
  .site-nav {
    gap: 14px;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 92vh;
  }
  .cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
