/* SMWcapital – Platzhalterseite. Farben und Wortmarke wie im Logo-Entwurf. */

/* Archivo (SIL Open Font License), variable Schrift für alle Stärken, vom eigenen Server */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/archivo.woff2") format("woff2");
}

:root {
  --ink: #26262A;      /* Anthrazit: SMW, Überschriften */
  --ink-2: #4E4E52;    /* capital, Fließtext */
  --muted: #68675F;    /* kleine Beschriftungen */
  --gold: #E3B23C;     /* Punkt, Schaltfläche */
  --bg: #EDECE8;       /* Seitenhintergrund */
  --card: #F7F6F3;     /* Karte */
  --line: #E1DFD8;     /* Rahmen */
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Wortmarke: SMW + capital + Punkt */
.logo {
  display: inline-flex;
  align-items: baseline;
  margin: 0;
  font-size: clamp(36px, 11vw, 56px);
  font-weight: inherit;
  line-height: 1;
  color: var(--ink);
  text-decoration: none;
}
.logo-strong {
  font-weight: 800;
  letter-spacing: -0.02em;
}
.logo-light {
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: -0.01em;
}
.logo-dot {
  flex: none;
  width: 0.16em;
  height: 0.16em;
  border-radius: 50%;
  background: var(--gold);
  margin-left: 0.143em;
  margin-bottom: 0.107em;
  align-self: flex-end;
}
.logo-small { font-size: 26px; }
.logo-small .logo-dot {
  width: 6px;
  height: 6px;
  margin-left: 6px;
  margin-bottom: 3px;
}

/* Startseite und Fehlerseiten: Karte in der Mitte */
.page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.card {
  width: 100%;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 96px 56px;
}
.tagline {
  margin: 22px 0 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.lead {
  margin: 12px 0 0;
  color: var(--ink-2);
}
.button {
  display: inline-block;
  margin-top: 44px;
  padding: 12px 24px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}
.button:hover { filter: brightness(1.05); }
.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 44px;
}
.buttons .button { margin-top: 0; min-width: 120px; }

/* Fußzeile */
.footer {
  padding: 0 24px 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
}
.footer a { text-decoration: none; }
.footer a:hover,
.footer a[aria-current="page"] { text-decoration: underline; }

/* Impressum und Datenschutz */
.topbar,
.doc {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
.topbar { padding-top: 32px; }
.doc {
  flex: 1;
  margin-top: 24px;
  margin-bottom: 40px;
}
.doc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 56px;
}
.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.doc h1 {
  margin: 0 0 36px;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.doc h2 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}
.doc section + section { margin-top: 28px; }
.doc p,
.doc address {
  margin: 0;
  font-style: normal;
  color: var(--ink-2);
  overflow-wrap: anywhere;
}
.doc .note {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 600px) {
  .card { padding: 64px 24px; }
  .topbar { padding-top: 22px; }
  .doc { margin-top: 18px; }
  .doc-card { padding: 32px 22px; }
  .doc h1 { font-size: 30px; margin-bottom: 28px; }
}

@media print {
  body { background: #fff; }
  .card, .doc-card { border: 0; padding: 0; }
  .footer { display: none; }
}
