/*
Theme Name: Christian Stockem
Theme URI: https://christian-stockem.de
Author: Christian Stockem
Description: Minimales One-Page-Visitenkarten-Theme für christian-stockem.de. Hell, typografisch, ohne externe Abhängigkeiten (selbst gehostete Schriften, kein Tracking).
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 7.4
License: Proprietary
Text Domain: christian-stockem
*/

/* ---------- Schriften (selbst gehostet, variable Fonts) ---------- */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/inter-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('assets/fonts/inter-latin-ext-var.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Grundlagen ---------- */

:root {
  --accent: #1d4e7e;
  --ink: #16181b;
  --text: #1f2226;
  --text-soft: #3c4046;
  --text-muted: #4a4f55;
  --label: #8a9097;
  --faint: #a3a8ae;
  --hairline: #d5d8db;
  --chip: #f2f4f5;
  --bg: #ffffff;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--text);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.site {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bg);
  padding: 0 24px;
}

/* ---------- Startseite (Visitenkarte) ---------- */

.card {
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  flex: 1;
  padding: 64px 0;
}

.portrait {
  width: 216px;
  height: 216px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.card h1 {
  font-size: clamp(44px, 9vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 44px 0 0;
  color: var(--ink);
}

.rule {
  width: 40px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 36px 0 0;
}

.contact {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.contact a:hover { color: var(--accent); text-decoration: none; }

.contact .sep { color: var(--hairline); }

.profiles {
  display: flex;
  gap: 16px;
  margin-top: 36px;
}

.profiles a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--chip);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #55595f;
  transition: all 0.15s ease;
}

.profiles a:hover {
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
}

/* ---------- Unterseiten (Impressum / Datenschutz) ---------- */

.cs-sub {
  width: 100%;
  max-width: 660px;
  text-align: left;
  padding: 72px 0 64px;
  flex: 1;
}

.cs-sub .back {
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cs-sub h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 28px 0 0;
  color: var(--text);
}

.cs-sub .prose {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 28px;
}

.cs-sub .prose h2 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--label);
  margin: 0 0 8px;
}

.cs-sub .prose p { margin: 0; }
.cs-sub .prose p + p { margin-top: 12px; }

/* ---------- Fußzeile ---------- */

.colophon {
  width: 100%;
  max-width: 720px;
  padding: 22px 0 30px;
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--faint);
  flex-wrap: wrap;
}

.colophon a { color: var(--faint); }
.colophon a:hover { color: var(--accent); }

/* ---------- Kleine Bildschirme ---------- */

@media (max-width: 480px) {
  .portrait { width: 176px; height: 176px; }
  .card { padding: 48px 0; }
  .contact { gap: 14px; }
  .contact .sep { display: none; }
  .contact { flex-direction: column; }
}
