/* ==========================================================
   Anas Saidi – Bewerbungsportfolio
   Schriften lokal eingebunden (keine externen Anfragen, DSGVO-freundlich)
   ========================================================== */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations");
  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: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(../fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(../fonts/source-serif-4-latin-opsz-normal.woff2) format("woff2-variations");
  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: "Source Serif 4";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(../fonts/source-serif-4-latin-ext-opsz-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-display: swap;
  font-weight: 200 900;
  src: url(../fonts/source-serif-4-latin-opsz-italic.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC;
}

/* ---------- Tokens ---------- */
:root {
  --paper: #FFFFFF;
  --bg: #F3F5F7;
  --kraft: #C9A57A;
  --kraft-deep: #B48E62;
  --ink: #18202B;
  --muted: #535D6A;
  --line: #D6DCE3;
  --stamp: #2446A6;
  --praxis: #2F7A55;
  --basis: #9A6A12;
  --neu: #2446A6;

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --step--1: 0.875rem;  /* 14 */
  --step-0: 1.0625rem;  /* 17 */
  --step-1: 1.25rem;    /* 20 */
  --step-2: 1.625rem;   /* 26 */
  --step-3: clamp(1.875rem, 1.4rem + 1.6vw, 2.5rem); /* 30–40 */
  --step-5: clamp(3.5rem, 2rem + 7vw, 7.5rem);       /* 56–120 */

  --wrap: 72rem;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --section: clamp(3.5rem, 2.5rem + 4vw, 6.5rem);
  --radius: 4px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: var(--step-0);
  line-height: 1.65;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--stamp); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--stamp); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--sans); color: var(--ink); margin: 0; }
h2 { font-size: var(--step-3); font-weight: 760; font-stretch: 82%; line-height: 1.1; letter-spacing: -0.01em; }
h3 { font-size: var(--step-1); font-weight: 650; font-stretch: 95%; line-height: 1.25; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; font-family: var(--sans);
}
.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.875rem; padding: 0.65rem 1.25rem;
  font-family: var(--sans); font-size: 1rem; font-weight: 640; font-stretch: 92%;
  color: #fff; background: var(--ink); border: 2px solid var(--ink); border-radius: var(--radius);
  text-decoration: none; transition: background-color .15s, color .15s;
}
.btn:hover { background: var(--stamp); border-color: var(--stamp); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-small { min-height: 2.375rem; padding: 0.4rem 0.9rem; font-size: 0.9375rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand {
  font-family: var(--sans); font-weight: 800; font-stretch: 75%; font-size: 1.375rem;
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
}
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul { display: flex; gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.site-nav ul a {
  font-family: var(--sans); font-size: 0.9375rem; font-weight: 520; font-stretch: 92%;
  color: var(--muted); text-decoration: none; padding: 0.35rem 0; border-bottom: 2px solid transparent;
}
.site-nav ul a:hover, .site-nav ul a[aria-current="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.nav-toggle {
  display: none; font-family: var(--sans); font-weight: 640; font-size: 0.9375rem;
  background: none; border: 2px solid var(--ink); border-radius: var(--radius);
  color: var(--ink); padding: 0.35rem 0.85rem; cursor: pointer;
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0.75rem;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 0.75rem var(--gutter) 1.25rem;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; color: var(--ink); }
  .site-nav ul a:hover, .site-nav ul a[aria-current="true"] { border-bottom-color: var(--line); color: var(--stamp); }
  .site-nav .btn-small { align-self: flex-start; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--kraft);
  background-image:
    repeating-linear-gradient(90deg, rgba(0,0,0,0.018) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 9px);
  padding-block: clamp(2.5rem, 1.5rem + 5vw, 6rem);
  border-bottom: 1px solid var(--kraft-deep);
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center;
}
.hero-kicker { font-family: var(--sans); font-weight: 600; font-stretch: 92%; font-size: 1.0625rem; margin-bottom: 0.5rem; }
.hero h1 {
  font-size: var(--step-5); font-weight: 820; font-stretch: 68%;
  line-height: 0.9; letter-spacing: -0.015em; margin-bottom: 1.25rem;
}
.hero-role {
  font-family: var(--sans); font-size: var(--step-2); font-weight: 600; font-stretch: 88%;
  line-height: 1.2; max-width: 30ch; margin-bottom: 1rem; text-wrap: balance;
}
.hero-lead { max-width: 54ch; font-size: 1.125rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 1.25rem; }
.hero .btn-ghost { border-color: var(--ink); }
.nowrap { white-space: nowrap; }
.hero-also { font-size: 0.9375rem; color: #3b3326; max-width: 48ch; }

/* Versandetikett */
.label {
  position: relative;
  background: var(--paper);
  border-radius: 3px;
  padding: 1.25rem 1.4rem 1.1rem;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06), 0 14px 30px -12px rgba(60, 40, 15, 0.45);
  transform: rotate(-1.4deg);
  max-width: 30rem; justify-self: end; width: 100%;
  font-family: var(--sans);
}
.label-head {
  display: flex; justify-content: space-between; align-items: baseline;
  border-bottom: 3px solid var(--ink); padding-bottom: 0.55rem;
}
.label-type { font-weight: 850; font-stretch: 70%; font-size: 1.75rem; line-height: 1; letter-spacing: 0.01em; }
.label-service {
  font-weight: 700; font-stretch: 85%; font-size: 0.875rem;
  background: var(--ink); color: #fff; padding: 0.2rem 0.5rem; border-radius: 2px;
}
.label-route { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--ink); }
.label-route > div { padding: 0.75rem 0.75rem 0.75rem 0; }
.label-route > div + div { border-left: 1px solid var(--ink); padding-left: 0.85rem; }
.field-name { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--muted); font-stretch: 90%; }
.field-value { display: block; font-size: 1.125rem; font-weight: 720; font-stretch: 85%; line-height: 1.2; }
.field-sub { display: block; font-size: 0.9375rem; font-weight: 500; font-stretch: 90%; }
.label-facts { margin: 0; }
.label-facts > div {
  display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.75rem;
  padding: 0.5rem 0; border-bottom: 1px dashed #AEB6C0;
}
.label-facts dt { font-size: 0.875rem; font-weight: 600; color: var(--muted); font-stretch: 90%; }
.label-facts dd { margin: 0; font-size: 1rem; font-weight: 640; font-stretch: 90%; line-height: 1.35; }
.label-foot { display: flex; align-items: end; gap: 0.9rem; padding-top: 0.85rem; }
.barcode { width: 11rem; height: 2.4rem; color: var(--ink); flex: none; }
.tracking { font-size: 0.8125rem; font-weight: 600; font-stretch: 85%; letter-spacing: 0.04em; color: var(--muted); }

.stamp {
  position: absolute; width: 8.5rem; height: 8.5rem;
  right: -2.4rem; bottom: -2.6rem;
  color: var(--stamp); opacity: 0.86;
  transform: rotate(14deg);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.stamp-ring { font-family: var(--sans); font-size: 11.5px; font-weight: 800; font-stretch: 80%; letter-spacing: 1.2px; fill: currentColor; }
.stamp-core { font-family: var(--sans); font-size: 26px; font-weight: 850; font-stretch: 70%; fill: currentColor; }

@media (prefers-reduced-motion: no-preference) {
  .stamp { animation: stamp-in 520ms cubic-bezier(.2,.9,.3,1.25) 650ms both; }
  @keyframes stamp-in {
    from { opacity: 0; transform: rotate(4deg) scale(1.6); }
    to   { opacity: 0.86; transform: rotate(14deg) scale(1); }
  }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .label { justify-self: start; transform: rotate(-0.8deg); max-width: 34rem; }
  .stamp { right: 0.4rem; bottom: -1.6rem; width: 6.5rem; height: 6.5rem; }
}
@media (max-width: 420px) {
  .label { padding: 1rem 1rem 0.9rem; }
  .label-facts > div { grid-template-columns: 6.2rem 1fr; gap: 0.5rem; }
  .barcode { width: 8.5rem; }
  .tracking { display: none; }
  .stamp { width: 5.5rem; height: 5.5rem; right: 0; bottom: -1.4rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-tint { background: var(--bg); border-block: 1px solid var(--line); }
.section-head { max-width: 46rem; margin-bottom: 2.25rem; }
.section-head h2 + .section-intro { margin-top: 0.75rem; }
.section-intro { color: var(--muted); font-size: 1.125rem; }
.prose { max-width: 40rem; }
.prose h2 { margin-bottom: 1.25rem; }
.prose h3 { margin-bottom: 0.6rem; }

/* Über mich */
.about-grid { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(1.75rem, 1rem + 3vw, 4rem); align-items: start; }
.portrait {
  margin: 0; position: relative; aspect-ratio: 4 / 5; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait-fallback {
  display: none; position: absolute; inset: 0; place-items: center;
  font-family: var(--sans); font-weight: 820; font-stretch: 68%; font-size: 4.5rem; color: var(--kraft-deep);
}
.portrait.no-photo { display: none; }
.about-grid:has(.no-photo) { grid-template-columns: 1fr; }
.traits { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
.traits li {
  font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; font-stretch: 90%;
  padding: 0.3rem 0.75rem; border: 1px solid var(--ink); border-radius: 999px;
}
@media (max-width: 720px) {
  .about-grid { grid-template-columns: 1fr; }
  .portrait { width: 11rem; }
}

/* Warum Ausbildung */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); margin-bottom: 3.25rem; }
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

.match { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 0.75rem + 2vw, 2.25rem); }
.match-title { font-size: var(--step-2); font-stretch: 85%; font-weight: 720; margin-bottom: 0.5rem; }
.match-summary { max-width: 62ch; margin-bottom: 1.25rem; }
.match-bar { display: grid; grid-template-columns: repeat(9, 1fr); gap: 4px; height: 0.9rem; max-width: 34rem; }
.match-bar span { border-radius: 2px; }
.s-praxis { --c: var(--praxis); }
.s-basis  { --c: var(--basis); }
.s-neu    { --c: var(--neu); }
.match-bar span { background: var(--c); }
.match-bar .s-neu { background: repeating-linear-gradient(135deg, var(--c) 0 3px, #fff 3px 6px); border: 1.5px solid var(--c); }
.match-legend { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; padding: 0; margin: 0.75rem 0 1.75rem; font-family: var(--sans); font-size: 0.9375rem; font-stretch: 92%; }
.match-legend li { display: flex; align-items: center; gap: 0.45rem; }
.dot { width: 0.8rem; height: 0.8rem; border-radius: 2px; background: var(--c); }
.dot.s-neu { background: repeating-linear-gradient(135deg, var(--c) 0 2px, #fff 2px 4px); border: 1.5px solid var(--c); }

.match-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.match-table thead th {
  font-family: var(--sans); font-size: 0.875rem; font-weight: 640; font-stretch: 90%; color: var(--muted);
  text-align: left; padding: 0 1rem 0.6rem 0; border-bottom: 2px solid var(--ink);
}
.match-table tbody th, .match-table td { text-align: left; vertical-align: top; padding: 0.85rem 1rem 0.85rem 0; border-bottom: 1px solid var(--line); }
.match-table tbody th { font-family: var(--sans); font-weight: 650; font-stretch: 92%; width: 34%; line-height: 1.35; }
.match-table td:nth-child(2) { width: 10.5rem; }
.match-table tbody tr:last-child > * { border-bottom: 0; }
.status {
  display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap;
  font-family: var(--sans); font-size: 0.9375rem; font-weight: 640; font-stretch: 90%; color: var(--c);
}
.status::before { content: ""; width: 0.7rem; height: 0.7rem; border-radius: 2px; background: var(--c); }
.status.s-neu::before { background: repeating-linear-gradient(135deg, var(--c) 0 2px, #fff 2px 4px); border: 1.5px solid var(--c); }

@media (max-width: 720px) {
  .match-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .match-table, .match-table tbody, .match-table tr, .match-table th, .match-table td { display: block; width: auto !important; }
  .match-table tr { padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
  .match-table tbody tr:last-child { border-bottom: 0; }
  .match-table tbody th, .match-table td { border: 0; padding: 0.15rem 0; }
  .match-table td:last-child { color: var(--muted); font-size: 0.9375rem; }
}

/* Visum-Schritte (echte Reihenfolge, daher nummeriert) */
.steps {
  list-style: none; counter-reset: step; padding: 0; margin: 0 0 2rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.steps li { counter-increment: step; position: relative; padding: 3.25rem 1.5rem 0 0; }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 2.25rem; height: 2.25rem; display: grid; place-items: center;
  font-family: var(--sans); font-weight: 800; font-stretch: 75%; font-size: 1.25rem;
  color: #fff; background: var(--ink); border-radius: 50%;
}
.steps li::after {
  content: ""; position: absolute; top: 1.1rem; left: 2.75rem; right: 0.5rem;
  border-top: 2px dashed var(--line);
}
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 0.4rem; font-size: 1.125rem; }
.steps p { font-size: 1rem; color: var(--muted); }
.note {
  max-width: 46rem; font-size: 1rem; padding: 1rem 1.25rem;
  border-left: 4px solid var(--stamp); background: var(--bg);
}
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps li { padding: 0 0 0 3.25rem; }
  .steps li::after { top: 2.6rem; left: 1.1rem; right: auto; bottom: -1.2rem; border-top: 0; border-left: 2px dashed var(--line); }
}

/* Lebenslauf (deutsche tabellarische Form) */
.cv { width: 100%; max-width: 54rem; border-collapse: collapse; }
.cv th {
  width: 9rem; text-align: left; vertical-align: top; white-space: nowrap;
  font-family: var(--sans); font-weight: 650; font-stretch: 88%; font-size: 1rem; color: var(--muted);
  padding: 1rem 1.5rem 1rem 0; border-top: 1px solid var(--line);
}
.cv td { padding: 1rem 0; border-top: 1px solid var(--line); }
.cv tr:first-child > * { border-top: 2px solid var(--ink); }
.cv h3 { font-size: 1.125rem; margin-bottom: 0.2rem; }
.cv p { font-size: 1rem; color: var(--muted); }
@media (max-width: 560px) {
  .cv, .cv tbody, .cv tr, .cv th, .cv td { display: block; width: auto; }
  .cv th { padding: 1rem 0 0.2rem; }
  .cv td, .cv tr:first-child > td { border-top: 0; padding: 0 0 1rem; }
}

/* Projekte */
.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 1rem + 3vw, 4rem); }
.project { padding: 1.5rem 0; border-top: 1px solid var(--line); }
.project:nth-child(-n+2) { border-top: 2px solid var(--ink); }
.project-cat { font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; font-stretch: 90%; color: var(--stamp); margin-bottom: 0.25rem; }
.project h3 { margin-bottom: 0.85rem; }
.project h3 a { color: inherit; }
.project dl { margin: 0; display: grid; grid-template-columns: 8rem 1fr; gap: 0.35rem 1rem; }
.project dt { font-family: var(--sans); font-size: 0.875rem; font-weight: 640; font-stretch: 90%; color: var(--muted); padding-top: 0.15rem; }
.project dd { margin: 0; font-size: 1rem; }
@media (max-width: 760px) {
  .projects { grid-template-columns: 1fr; }
  .project:nth-child(2) { border-top: 1px solid var(--line); }
}
@media (max-width: 420px) {
  .project dl { grid-template-columns: 1fr; gap: 0.1rem; }
  .project dd + dt { margin-top: 0.5rem; }
}

/* Kenntnisse */
.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 1rem + 2vw, 3rem); margin-bottom: 3rem; }
.skills h3 { font-size: 1.125rem; padding-bottom: 0.6rem; margin-bottom: 0.75rem; border-bottom: 2px solid var(--ink); }
.skills > div:nth-child(3) h3 { border-bottom-style: dashed; }
.skills ul { list-style: none; padding: 0; margin: 0; }
.skills li { padding: 0.4rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
.lang-title { margin-bottom: 0.75rem; }
.languages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin: 0; }
.languages > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem 1rem; }
.languages dt { font-family: var(--sans); font-weight: 700; font-stretch: 88%; font-size: 1.0625rem; }
.languages dd { margin: 0; font-size: 0.9375rem; color: var(--muted); }
@media (max-width: 860px) {
  .skills { grid-template-columns: 1fr; }
  .languages { grid-template-columns: 1fr 1fr; }
}

/* Kontakt */
.contact { background: var(--ink); color: #E8ECF1; }
.contact h2 { color: #fff; }
.contact .btn { background: #fff; color: var(--ink); border-color: #fff; margin-top: 1.5rem; }
.contact .btn:hover { background: var(--kraft); border-color: var(--kraft); }
.contact a { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.contact-list { margin: 0; }
.contact-list > div { padding: 0.9rem 0; border-bottom: 1px solid rgba(255,255,255,0.18); display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; }
.contact-list > div:first-child { border-top: 1px solid rgba(255,255,255,0.18); }
.contact-list dt { font-family: var(--sans); font-weight: 600; font-stretch: 90%; color: #A9B4C2; }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-list > div { grid-template-columns: 1fr; gap: 0.1rem; }
}

/* Footer */
.site-footer { background: var(--ink); color: #A9B4C2; border-top: 1px solid rgba(255,255,255,0.12); font-family: var(--sans); font-size: 0.9375rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 2rem; padding-block: 1.25rem; }
.site-footer a { color: #E8ECF1; }

/* Unterseiten (Impressum, 404) */
.page { padding-block: var(--section); }
.page h1 { font-size: var(--step-3); font-weight: 780; font-stretch: 78%; line-height: 1.1; margin-bottom: 1.5rem; }
.page h2 { font-size: var(--step-1); font-stretch: 92%; margin: 2rem 0 0.5rem; }

/* ---------- Druck (für Personalabteilungen, die ausdrucken) ---------- */
@media print {
  @page { margin: 16mm 14mm; }
  body { font-size: 10.5pt; line-height: 1.45; }
  .site-header, .skip-link, .hero-actions, .nav-toggle, .contact .btn { display: none !important; }
  .hero, .section-tint, .contact, .site-footer { background: none !important; color: #000 !important; border: 0 !important; }
  .contact h2, .contact a, .contact-list dt, .site-footer a { color: #000 !important; }
  .label { box-shadow: none; border: 1px solid #000; transform: none; }
  .stamp { animation: none !important; }
  .section { padding-block: 10mm; }
  .match, .cv tr, .project, .steps li { break-inside: avoid; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
}
