/* christianschmidt.dev – Visitenkarte
   Durchgehend hell, damit das Logo (weißer Hintergrund) nahtlos in die Seite übergeht.
   Keine externen Fonts, keine Drittanbieter-Ressourcen. */

:root {
  --bg: #fefefe;
  --text: #141a26;
  --muted: #6f7787;
  --line: #e6e9ef;
  --accent: linear-gradient(90deg, #13254d, #2a6db5 55%, #bcd3ec); /* Blau aus dem Logo */
  --link: #1f4f8f;
  --ph: #7a5a00;
  --ph-bg: rgba(216, 168, 40, 0.12);
  --ph-line: rgba(176, 130, 0, 0.55);
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid #2a6db5; outline-offset: 3px; }

.wrap { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Startseite: Logo mittig, sonst nichts */
.card { flex: 1; display: grid; place-items: center; padding: 48px 20px; text-align: center; }
.card img { width: min(480px, 100%); height: auto; margin: 0 auto; }
.card h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Unterseiten */
.site-header { position: relative; }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); opacity: 0.7; }
.site-header .wrap { display: flex; align-items: center; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 650; letter-spacing: 0.01em; text-decoration: none; }
.brand img { width: 30px; height: 30px; }

.legal { flex: 1; padding: 48px 0 72px; }
.legal h1 { font-size: clamp(1.9rem, 5vw, 2.4rem); font-weight: 650; letter-spacing: -0.015em; line-height: 1.2; margin: 0 0 32px; }
.legal h2 { font-size: 1.15rem; font-weight: 650; margin: 36px 0 8px; }
.legal h3 { font-size: 1rem; font-weight: 650; margin: 24px 0 4px; }
.legal p { margin: 0 0 1rem; }
.legal ul { padding-left: 1.2em; }
.legal address { font-style: normal; margin-bottom: 1rem; }
.legal p, .legal address, .legal li { overflow-wrap: anywhere; }
.note { color: var(--muted); font-size: 0.92rem; }

/* Platzhalter für die persönlichen Impressum-Daten */
.ph { background: var(--ph-bg); color: var(--ph); border-bottom: 1px dashed var(--ph-line); padding: 0 3px; }

/* Footer */
.site-footer { padding: 20px 0 28px; font-size: 0.85rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover, .site-footer a[aria-current] { color: var(--text); }
