/* rothe-dirk.de – digitaler Lebenslauf */
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("fonts/inter-regular.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("fonts/inter-medium.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-display: swap; src: url("fonts/inter-semibold.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("fonts/inter-bold.woff2") format("woff2"); }
@font-face { font-family: "Inter Display"; font-weight: 700; font-display: swap; src: url("fonts/inter-display-bold.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --bg: #f4f3ef;
  --paper: #ffffff;
  --ink: #1b2129;
  --text: #2c343e;
  --muted: #5d6774;
  --line: #e2e0d9;
  --accent: #1d5a86;
  --accent-ink: #164769;
  --accent-soft: #e8f0f6;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-feature-settings: "kern", "liga";
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-ink); }
h1, h2, h3 { color: var(--ink); margin: 0; }

.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }

/* ---------- Kopf ---------- */
.hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
  align-items: center;
  padding-top: 56px;
  padding-bottom: 52px;
}
.portrait {
  width: 220px; height: auto; aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  object-fit: cover; object-position: center 22%;
  background: #e9e8e4;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 12px 32px -14px rgba(27,33,41,.35);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .02em;
  color: var(--accent-ink); background: var(--accent-soft);
  padding: 5px 11px; border-radius: 999px; margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2e9a5b; }
h1 {
  font: 700 clamp(36px, 6vw, 52px)/1.05 "Inter Display", "Inter", sans-serif;
  letter-spacing: -.02em;
}
.role { font-size: clamp(18px, 2.4vw, 21px); font-weight: 600; color: var(--accent-ink); margin: 10px 0 4px; }
.focus { color: var(--muted); margin: 0 0 22px; }
.meta { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--muted); font-size: 15px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  padding: 11px 18px; border-radius: 10px; border: 1px solid var(--line);
  color: var(--ink); background: var(--paper);
}
.btn:hover { border-color: #c9c6bd; color: var(--ink); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: #fff; }
.btn svg { width: 17px; height: 17px; flex: none; }

/* ---------- Kennzahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 36px 0 8px; }
.stat { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; }
.stat strong { display: block; font: 700 30px/1.1 "Inter Display", "Inter", sans-serif; color: var(--ink); letter-spacing: -.01em; font-feature-settings: "tnum"; }
.stat span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--muted); line-height: 1.35; }

/* ---------- Abschnitte ---------- */
section { padding: 40px 0 8px; }
.section-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
h2 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); white-space: nowrap; }
.section-head::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.lead { font-size: 17.5px; line-height: 1.7; color: var(--text); margin: 0; max-width: 72ch; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }

.skills { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.skills h3 { font-size: 15px; margin-bottom: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; margin: 0; }
.tags li { font-size: 14px; padding: 4px 10px; border-radius: 7px; background: #f3f2ee; border: 1px solid #ebe9e3; color: var(--text); }

/* Werdegang */
.timeline { list-style: none; margin: 0; padding: 0; }
.job { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.job:first-child { border-top: 0; padding-top: 4px; }
.when { font-size: 14px; font-weight: 600; color: var(--muted); font-feature-settings: "tnum"; padding-top: 2px; }
.job h3 { font-size: 18px; line-height: 1.35; }
.org { color: var(--accent-ink); font-weight: 500; margin: 2px 0 8px; }
.note { color: var(--muted); font-size: 14.5px; margin: 0 0 8px; }
.job h4 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 16px 0 6px; }
.job ul { margin: 0; padding-left: 18px; }
.job li { margin: 5px 0; }
.job li::marker { color: #9aa3ad; }
.tools { margin-top: 12px; font-size: 14px; color: var(--muted); }
.tools b { color: var(--text); font-weight: 600; }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.list-plain { list-style: none; margin: 0; padding: 0; }
.list-plain li { padding: 10px 0; border-top: 1px solid var(--line); }
.list-plain li:first-child { border-top: 0; padding-top: 0; }
.list-plain strong { display: block; color: var(--ink); font-weight: 600; }
.list-plain span { color: var(--muted); font-size: 14.5px; }

.contact { margin: 40px 0 0; text-align: center; padding: 34px 26px; }
.contact h2 { margin-bottom: 10px; }
.contact p { margin: 0 0 20px; color: var(--muted); }
.contact .actions { justify-content: center; }

footer { padding: 34px 0 42px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- Unterseite (Datenschutz) ---------- */
.page { padding: 48px 0 10px; }
.page h1 { font-size: 34px; margin-bottom: 20px; }
.page h2 { font-size: 13px; margin: 28px 0 8px; }
.page p, .page ul { max-width: 70ch; }
.back { display: inline-block; margin-bottom: 24px; font-weight: 600; text-decoration: none; }

/* ---------- Mobil ---------- */
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 26px; padding-top: 32px; padding-bottom: 34px; }
  .portrait { width: 150px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .skills, .two { grid-template-columns: 1fr; }
  .job { grid-template-columns: 1fr; gap: 6px; }
  .card { padding: 20px; }
}

/* ---------- Druck / PDF ---------- */
@page { size: A4; margin: 14mm 14mm 16mm; }
@media print {
  body { background: #fff; font-size: 10pt; line-height: 1.45; }
  .wrap { max-width: none; padding: 0; }
  .hero { border: 0; }
  .hero .wrap { grid-template-columns: 34mm 1fr; gap: 9mm; padding: 0 0 6mm; }
  .portrait { width: 34mm; box-shadow: none; border-radius: 3mm; }
  .eyebrow, .actions, .contact, .no-print { display: none !important; }
  h1 { font-size: 26pt; }
  .role { font-size: 13pt; margin-top: 2mm; }
  .focus { margin-bottom: 3mm; }
  .meta { margin: 0; font-size: 9.5pt; }
  .print-only { display: block !important; }
  .stats { margin: 3mm 0 0; gap: 3mm; }
  .stat { padding: 3mm 4mm; border-radius: 2.5mm; }
  .stat strong { font-size: 16pt; }
  .stat span { font-size: 8.5pt; }
  section { padding: 6mm 0 0; }
  .section-head { margin-bottom: 3mm; }
  .lead { font-size: 10pt; line-height: 1.55; max-width: none; }
  .card { border: 0; padding: 0; border-radius: 0; }
  .skills { gap: 2mm 8mm; }
  .tags li { font-size: 8.5pt; padding: 1px 6px; }
  .job { grid-template-columns: 30mm 1fr; gap: 5mm; padding: 3.5mm 0; break-inside: avoid; }
  .job.long { break-inside: auto; }
  .job h3 { font-size: 11pt; }
  .job h4 { margin-top: 2.5mm; font-size: 8pt; break-after: avoid; }
  .job ul { break-inside: auto; }
  .job li { margin: 1mm 0; break-inside: avoid; }
  .when { font-size: 8.5pt; white-space: nowrap; }
  .section-head { break-after: avoid; }
  .two { gap: 8mm; }
  footer { display: none; }
  a { color: inherit; text-decoration: none; }
}
.print-only { display: none; }
