/* Druck-/PDF-Version des Lebenslaufs – helles Layout, A4, ohne private Kontaktdaten */

@page {
    size: A4;
    margin: 15mm 14mm;
}

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

:root {
    --ink:    #1b2430;
    --soft:   #55616e;
    --line:   #d6dce3;
    --accent: #9a7a33;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
    font-size: 10.5pt;
    line-height: 1.45;
    color: var(--ink);
    background: #e7eaee;
}

img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }

/* Hinweisleiste – nur am Bildschirm sichtbar */
.hint {
    max-width: 210mm;
    margin: 18px auto 0;
    padding: 12px 16px;
    background: #14202c;
    color: #e8dcc4;
    font-size: 9.5pt;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    border-left: 4px solid #c9a560;
}

.hint a { color: #c9a560; font-weight: 600; }

.sheet {
    max-width: 210mm;
    margin: 18px auto 40px;
    padding: 15mm 14mm;
    background: #fff;
    box-shadow: 0 2px 18px rgba(0,0,0,.18);
}

/* Kopf */
.cv-top {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
    margin-bottom: 4px;
}

.cv-top h1 {
    font-size: 21pt;
    font-weight: 700;
    letter-spacing: .01em;
    line-height: 1.1;
}

.cv-top .subtitle {
    font-size: 10.5pt;
    color: var(--accent);
    font-weight: 600;
    margin-top: 3px;
}

.cv-top .contact {
    font-size: 9pt;
    color: var(--soft);
    margin-top: 8px;
    line-height: 1.7;
}

.portrait {
    width: 28mm;
    height: 36mm;
    object-fit: cover;
    object-position: top center;
    border: 1px solid var(--line);
    flex-shrink: 0;
}

/* Profiltext */
.profile {
    font-size: 9.8pt;
    color: var(--soft);
    margin: 10px 0 2px;
    line-height: 1.5;
}

/* Abschnitte */
section { margin-top: 14px; break-inside: avoid; }

h2 {
    font-size: 9pt;
    text-transform: uppercase;
    letter-spacing: .13em;
    color: var(--accent);
    border-bottom: 1px solid var(--line);
    padding-bottom: 3px;
    margin-bottom: 8px;
}

.entry {
    display: grid;
    grid-template-columns: 32mm 1fr;
    gap: 10px;
    margin-bottom: 9px;
    break-inside: avoid;
}

.entry:last-child { margin-bottom: 0; }

.when {
    font-size: 8.8pt;
    color: var(--soft);
    font-variant-numeric: tabular-nums;
    padding-top: 1px;
}

.what h3 {
    font-size: 10.5pt;
    font-weight: 600;
    line-height: 1.3;
}

.what .where {
    font-size: 9pt;
    color: var(--accent);
    margin-bottom: 2px;
}

.what p {
    font-size: 9.3pt;
    color: var(--soft);
}

.what ul {
    list-style: none;
    margin-top: 2px;
}

.what li {
    font-size: 9.3pt;
    color: var(--soft);
    padding-left: 10px;
    position: relative;
}

.what li::before {
    content: '·';
    position: absolute;
    left: 2px;
    color: var(--accent);
    font-weight: 700;
}

.skills {
    display: grid;
    grid-template-columns: 32mm 1fr;
    gap: 10px 10px;
    font-size: 9.3pt;
    color: var(--soft);
}

.skills dt {
    font-weight: 600;
    color: var(--ink);
    font-size: 9pt;
}

.footnote {
    margin-top: 14px;
    padding-top: 6px;
    border-top: 1px solid var(--line);
    font-size: 8pt;
    color: var(--soft);
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

@media print {
    body { background: #fff; }
    .hint { display: none; }
    .sheet {
        margin: 0;
        padding: 0;
        max-width: none;
        box-shadow: none;
    }
}

@media (max-width: 700px) {
    .sheet { padding: 20px 16px; }
    .entry, .skills { grid-template-columns: 1fr; gap: 2px; }
    .cv-top { flex-direction: column-reverse; }
    .portrait { width: 32mm; height: 40mm; }
}
