/* =============================================
   Stephan Häming – Persönliche Visitenkarte
   ============================================= */

:root {
  --bg:           #111318;
  --surface:      #1a1d24;
  --border:       #2a2d36;
  --text:         #f0f2f5;
  --text-muted:   #8b90a0;
  --text-subtle:  #555b6e;
  --accent:       #4a90d9;
  --accent-hover: #6aaae8;
  --radius:       10px;
}

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

html, body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s;
}

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

/* =============================================
   MAIN CARD
   ============================================= */
.page {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.card {
  width: 100%;
  max-width: 480px;
}

/* Name */
.card__name {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 6px;
}

.card__location {
  font-size: 0.85rem;
  color: var(--text-subtle);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 36px;
}

/* Divider */
.divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 32px;
}

/* Roles */
.roles {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.role {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}

.role:last-child {
  border-bottom: none;
}

.role__title {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex: 1;
}

.role__org {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
  text-align: right;
  margin-left: 16px;
}

.role__org a {
  color: var(--text);
  font-weight: 600;
}

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

/* Contact */
.card__contact {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.card__contact a {
  font-weight: 500;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  text-align: center;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  list-style: none;
}

.footer__links a {
  font-size: 0.8rem;
  color: var(--text-subtle);
}

.footer__links a:hover {
  color: var(--text-muted);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 480px) {
  .card__name { font-size: 1.6rem; }

  .role {
    flex-direction: column;
    gap: 4px;
  }

  .role__org {
    text-align: left;
    margin-left: 0;
  }
}
