/* Lebenslauf-Ersteller (Panel #wz-ersteller). Alles unter .er gescoped. Druckansicht ganz unten. */
#wz-ersteller .er { color: var(--n-tinte); font-family: Satoshi, "Helvetica Neue", Arial, sans-serif; min-width: 0; }
#wz-ersteller .er *, #wz-ersteller .er *::before, #wz-ersteller .er *::after { box-sizing: border-box; }
.er-intro { max-width: 760px; margin-bottom: 36px; }
.er-quelle { margin: 0 0 14px; font-size: 13px; font-weight: 700; color: var(--n-leise-d); }
.er-titel { font-size: clamp(26px, 3vw, 38px); line-height: 1.05; font-weight: 900; letter-spacing: -.03em; margin: 0 0 16px; }
.er-lead { font-size: 17px; line-height: 1.6; color: var(--n-leise-d); margin: 0 0 16px; }
.er-privat { margin: 0; padding: 14px 16px; border-left: 4px solid var(--n-orange); background: #fff; font-size: 15px; line-height: 1.55; }

.er-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.er-form, .er-seite { min-width: 0; }
.er-aktionen { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.er-gruppe { border: 0; border-top: 2px solid var(--n-tinte); margin: 0 0 28px; padding: 14px 0 0; min-width: 0; }
.er-gruppe legend { font-size: 15px; font-weight: 900; padding: 0 12px 0 0; }
.er-feld { margin: 0 0 14px; min-width: 0; }
.er-feld label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; line-height: 1.3; }
.er-opt { font-weight: 500; color: var(--n-leise-d); }
.er-feld input, .er-feld textarea { display: block; width: 100%; min-height: 44px; padding: 10px 12px; border: 2px solid #00000059; border-radius: 0; background: #fff; color: var(--n-tinte); font: 500 16px/1.5 Satoshi, "Helvetica Neue", Arial, sans-serif; }
.er-feld textarea { resize: vertical; }
.er-feld input:focus-visible, .er-feld textarea:focus-visible { outline: 3px solid var(--n-orange); outline-offset: 2px; border-color: var(--n-tinte); }
.er-zwei { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 14px; }
.er-liste { margin-bottom: 14px; }
.er-eintrag { border: 1px solid #0002; background: #ffffff80; padding: 14px 14px 2px; margin-bottom: 14px; }
.er-eintrag-kopf { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.er-eintrag-titel { margin: 0; font-size: 14px; font-weight: 900; }
.er-knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 2px solid var(--n-tinte); border-radius: 0; background: transparent; color: var(--n-tinte); font: 700 15px/1 Satoshi, sans-serif; cursor: pointer; }
.er-knopf:hover { background: var(--n-tinte); color: #fff; }
.er-knopf:focus-visible { outline: 3px solid var(--n-orange); outline-offset: 2px; }
.er-knopf:disabled { opacity: .45; cursor: not-allowed; }
.er-knopf-klein { min-height: 44px; padding: 0 14px; font-size: 14px; }
.er-knopf-voll { background: var(--n-tinte); color: #fff; }
.er-knopf-voll:hover { background: var(--n-orange); color: var(--n-tinte); border-color: var(--n-tinte); }
.er-speicher { margin-top: 8px; }
.er-check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; font-weight: 700; cursor: pointer; }
.er-check input { width: 22px; height: 22px; accent-color: var(--n-tinte); }
.er-hilfe { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--n-leise-d); }

.er-seite { position: sticky; top: 88px; }
.er-vorkopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.er-vortitel { margin: 0; font-size: 22px; font-weight: 900; letter-spacing: -.02em; }
.er-papier { margin-top: 16px; background: #fff; border: 1px solid #0003; box-shadow: 0 1px 0 #0001; padding: 28px 28px 24px; min-height: 360px; font: 400 14px/1.45 Arial, Helvetica, sans-serif; color: #000; overflow-wrap: anywhere; }
.er-papier p { margin: 0; }
.er-p-name { font-size: 24px; font-weight: 700; line-height: 1.15; }
.er-p-beruf { margin-top: 2px; font-size: 14px; }
.er-p-kontakt { margin-top: 6px; font-size: 12.5px; }
.er-p-kopf { padding-bottom: 10px; border-bottom: 1px solid #000; }
.er-abs { margin-top: 16px; }
.er-abs h4 { margin: 0 0 6px; font: 700 13px/1.2 Arial, Helvetica, sans-serif; text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid #0004; padding-bottom: 3px; }
.er-p-eintrag { margin-bottom: 10px; }
.er-p-titel { font-weight: 700; }
.er-p-zeit { font-size: 12.5px; color: #333; }
.er-papier ul { margin: 4px 0 0; padding-left: 18px; }
.er-papier li { margin: 0 0 2px; }
.er-p-leer { color: #555; }

@media (max-width: 900px) {
  .er-raster { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .er-seite { position: static; }
}
@media (max-width: 520px) {
  .er-zwei { grid-template-columns: minmax(0, 1fr); }
  .er-papier { padding: 20px 16px; }
  .er-vorkopf .er-knopf { width: 100%; }
}

/* Druck: nur der Lebenslauf, A4, einspaltig, Standardschrift, kein Bild, kein Schatten */
@page { size: A4; margin: 18mm 16mm; }
@media print {
  html, body { background: #fff !important; }
  body.unterseite > *:not(main), body.unterseite main > *:not(.werkzeuge) { display: none !important; }
  .werkzeuge { padding: 0 !important; background: #fff !important; }
  .werkzeuge .n-wrap { max-width: none; padding: 0; }
  .werkzeuge .n-kopf, .werkzeuge .sr-only, .er-intro, .er-form, .er-vorkopf, .er-seite > .er-hilfe { display: none !important; }
  .er-raster { display: block; }
  .er-seite { position: static; }
  .er-papier { margin: 0; padding: 0; border: 0; box-shadow: none; min-height: 0; font-size: 10.5pt; line-height: 1.4; }
  .er-p-name { font-size: 20pt; }
  .er-p-kontakt, .er-p-zeit { font-size: 9.5pt; }
  .er-abs h4 { font-size: 10pt; }
  .er-abs, .er-p-eintrag { break-inside: avoid; }
  .er-p-ist-leer { visibility: hidden; }
}
