/* e-medikation.ch, Coming-Soon-Seite. Alle Styles hier, damit die Content-Security-Policy ohne 'unsafe-inline' auskommt. */

/* Schriften, selbst ausgeliefert (SIL Open Font License, Lizenztexte in assets/fonts/) */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('fonts/archivo-latin-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/instrument-serif-italic-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
}

/* Farben: Text auf Signalflächen ist immer Papier. --ch ist nur der kleine Schweizer Herkunftsakzent. */
:root {
  --ink: #111111;
  --paper: #F4F1EA;
  --sig: #0F766E;
  --on-sig: #F4F1EA;
  --text-2: #444444;
  --grey: #8A867C;
  --grey-lt: #C9C4B8;
  --ch: #E8330F;
  --gutter: clamp(16px, 3.9vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--sig); }
a:focus-visible { outline: 3px solid var(--sig); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }
.mono { font-family: 'IBM Plex Mono', 'Courier New', monospace; }
.serif { font-family: 'Instrument Serif', Georgia, serif; font-style: italic; font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Illustrationsfamilie: Kontur 4 px Tinte, Flächen Papier/Tinte/Signalfarbe, Raster und Schraffur als Halbton. */
.ill { display: block; overflow: visible; }
.ill .k { stroke: var(--ink); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
.ill .ko { stroke: var(--paper); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }

/* Schriftzug */
.wm { --m-line: var(--ink); --m-fill: var(--paper); --m-acc: var(--sig); display: inline-flex; align-items: center; gap: 12px; color: var(--m-line); }
.wm:hover { color: var(--m-line); }
.wm-mark { width: 42px; height: 42px; flex: none; }
.wm-name { display: inline-flex; align-items: baseline; white-space: nowrap; }
.wm-top { font-weight: 900; font-size: 29px; letter-spacing: -0.035em; line-height: 1; }
.wm-tld { font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: 20px; letter-spacing: -0.02em; line-height: 1; color: var(--m-acc); margin-left: 1px; }
.ch-flag { display: inline-block; flex: none; width: 16px; height: 16px; }

.page { max-width: 1600px; margin: 0 auto; overflow: hidden; }
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }

/* Kopf */
.site-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px var(--gutter); border-bottom: 3px solid var(--ink); }
.lang { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; letter-spacing: 0.1em; }
.lang a { padding: 6px 2px; color: var(--text-2); }
.lang a[aria-current="page"] { color: var(--ink); border-bottom: 3px solid var(--sig); }
.lang a:hover { color: var(--sig); }
.lang-sep { color: var(--grey); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding-top: 64px; align-items: stretch; }
.hero-text { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-bottom: 24px; }
.hero-lead { display: flex; flex-direction: column; gap: 28px; }
.kicker { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--sig); letter-spacing: 0.12em; }
.hero h1 { font-weight: 900; font-size: clamp(40px, 5.1vw, 78px); line-height: 0.95; letter-spacing: -0.045em; overflow-wrap: break-word; text-wrap: balance; }
.hero-sub { font-size: clamp(22px, 1.95vw, 28px); line-height: 1.2; max-width: 560px; }
.soon { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.soon-badge { display: inline-flex; align-items: center; gap: 14px; border: 3px solid var(--ink); padding: 14px 22px; font-size: 18px; font-weight: 500; letter-spacing: 0.14em; line-height: 1.2; }
.soon-dot { width: 12px; height: 12px; background: var(--sig); flex: none; }
.soon-note { font-size: 16px; color: var(--text-2); }
.hero-art { margin-right: calc(-1 * var(--gutter)); align-self: end; }
.hero-art svg { width: 100%; height: auto; }

/* So funktioniert es */
.steps { padding-top: 104px; }
.section-title { font-weight: 900; font-size: clamp(30px, 3.1vw, 44px); line-height: 0.95; letter-spacing: -0.03em; border-bottom: 3px solid var(--ink); padding-bottom: 20px; }
.step-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; }
.step { display: flex; flex-direction: column; }
.step-art { width: 100%; height: auto; }
.step-body { border-top: 3px solid var(--ink); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.step-head { display: flex; align-items: baseline; gap: 14px; }
.step-num { font-size: 40px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.step:nth-child(even) .step-num { color: var(--sig); }
.step h3 { font-weight: 700; font-size: 20px; line-height: 1.2; }
.step p { font-size: 15px; line-height: 1.5; color: var(--text-2); }

/* Drei Punkte */
.points { margin-top: 96px; border-top: 3px solid var(--ink); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.point { padding: 24px; border-right: 1px solid var(--ink); display: flex; gap: 16px; align-items: flex-start; }
.point:first-child { padding-left: 0; }
.point:last-child { padding-right: 0; border-right: 0; }
.point svg { width: 56px; height: 56px; flex: none; }
.point h3 { font-weight: 700; font-size: 17px; line-height: 1.3; }
.point p { font-size: 15px; line-height: 1.45; color: var(--text-2); margin-top: 4px; }

/* Apotheken */
.pharmacies { margin-top: 72px; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 32px; }
.pharmacies p { font-weight: 700; font-size: 18px; line-height: 1.3; }
.pharm-cta { font-weight: 400; color: var(--text-2); }
.pharmacies a { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; letter-spacing: 0.02em; border-bottom: 2px solid var(--sig); padding: 4px 0; }
.pharmacies a svg { width: 20px; height: 20px; flex: none; }

/* Fuss */
.site-foot { margin: 88px var(--gutter) 0; border-top: 3px solid var(--ink); padding-top: 28px; padding-bottom: 44px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 56px; align-items: start; }
.imprint { font-size: 13px; line-height: 1.6; color: var(--text-2); justify-self: end; text-align: right; }
.imprint h2 { font-family: 'IBM Plex Mono', monospace; font-size: 12px; font-weight: 500; letter-spacing: 0.12em; color: var(--ink); margin-bottom: 6px; }
.imprint p + p { margin-top: 10px; }
.imprint a { color: var(--ink); border-bottom: 1px solid var(--ink); }
.imprint a:hover { color: var(--sig); border-color: var(--sig); }
.nobr { white-space: nowrap; }

/* Tablet */
@media (max-width: 1099px) {
  .step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 44px; gap: 36px; }
  .hero h1 { font-size: clamp(38px, 10.4vw, 76px); }
  .hero-text { padding-bottom: 0; gap: 32px; }
  .hero-art { margin-left: calc(-1 * var(--gutter)); }
  .steps { padding-top: 80px; }
  .points { grid-template-columns: minmax(0, 1fr); margin-top: 72px; }
  .point { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--ink); }
  .point:last-child { border-bottom: 0; }
  .site-foot { grid-template-columns: minmax(0, 1fr); }
  .imprint { justify-self: start; text-align: left; }
}
/* Handy */
@media (max-width: 599px) {
  .site-head { padding-top: 16px; padding-bottom: 16px; }
  .wm { gap: 9px; }
  .wm-mark { width: 34px; height: 34px; }
  .wm-top { font-size: 23px; }
  .wm-tld { font-size: 16px; }
  .kicker { font-size: 12px; letter-spacing: 0.08em; align-items: flex-start; }
  .kicker .ch-flag { margin-top: 1px; }
  .soon-badge { font-size: 16px; padding: 12px 18px; }
  .step-list { grid-template-columns: minmax(0, 1fr); gap: 40px; margin-top: 28px; }
  .pharmacies p { font-size: 17px; }
  .site-foot { margin-top: 64px; }
  .pharm-cta { display: block; margin-top: 4px; }
}
/* Sehr schmale Geräte */
@media (max-width: 359px) {
  .wm-mark { width: 30px; height: 30px; }
  .wm-top { font-size: 20px; }
  .wm-tld { font-size: 14px; }
  .lang { gap: 6px; font-size: 13px; }
}
