/* Zusatzdatei fuer robert.php: NACH css/robert.css laden.
   Hintergrundbild: httpdocs/images/robert-background.png
   Bilddatei ohne bereits eingebettete Schrift oder Karten verwenden. */

:root {
  --bg: #090c0f;
  --panel: #11171b;
  --panel-2: #171d20;
  --gold: #d6b477;
  --gold-light: #f0d49b;
  --muted: #c6c9ca;
  --line: rgba(222, 190, 135, .28);
}

/* Das Bild ist dekorativ. Zwei Verlaeufe erhalten Kontrast fuer Texte. */
body {
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg,
      rgba(9, 12, 15, .14) 0%,
      rgba(9, 12, 15, .35) 36%,
      rgba(9, 12, 15, .82) 72%,
      #090c0f 100%),
    linear-gradient(90deg,
      rgba(9, 12, 15, .96) 0%,
      rgba(9, 12, 15, .88) 33%,
      rgba(9, 12, 15, .52) 66%,
      rgba(9, 12, 15, .36) 100%),
    url("../images/robert-background.png");
  background-repeat: no-repeat;
  background-position: center top, center top, center top;
  background-size: 100% 1250px, 100% 1250px, min(1900px, 100%) auto;
}

/* Die darunterliegenden Bereiche zeigen den Verlauf ohne harte Blockkante. */
.focus-strip {
  background: rgba(11, 15, 18, .72);
  backdrop-filter: blur(14px);
}

.profile-section {
  background: linear-gradient(180deg,
    rgba(14, 19, 22, .88),
    rgba(18, 22, 24, .94));
}

.contact-section {
  background:
    radial-gradient(ellipse at 15% 100%, rgba(214, 180, 119, .10), transparent 60%),
    rgba(15, 19, 21, .95);
}

.card {
  background: linear-gradient(135deg,
    rgba(27, 33, 36, .90),
    rgba(13, 18, 21, .94));
  border-color: rgba(222, 190, 135, .38);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .16);
  backdrop-filter: blur(16px);
}

/* Kleine goldene Texte: Manrope statt Monospace, lesbar auch mobil. */
.eyebrow,
.focus-strip span,
.card-meta,
.role,
.facts dt,
.visual-caption > span,
.brand small,
.tags li {
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  font-weight: 700;
  font-variant-numeric: lining-nums;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: .095em;
  line-height: 1.45;
}

.eyebrow,
.focus-strip span,
.facts dt,
.visual-caption > span { font-size: 13px; }

.card-meta { font-size: 12px; line-height: 1.5; margin-bottom: 25px; }
.card-meta > span:first-child { letter-spacing: .09em; }
.card-meta .status { font-size: 12px; font-weight: 500; text-transform: none; letter-spacing: 0; color: #e0e1dc; }
.card-meta .status::before { width: 5px; height: 5px; background: var(--gold); }
.role { font-size: 13px; }
.brand small { font-size: 11px; letter-spacing: .07em; }
.tags li { font-size: 12px; }

.card-link,
.text-link,
.footer,
.certificate-help,
.certificate-note {
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.footer { color: var(--muted); }
.section-heading > p { font-size: 15px; }
.card p { color: #d3d5d4; }

@media (max-width: 800px) {
  body {
    background-image:
      linear-gradient(180deg,
        rgba(9, 12, 15, .44),
        rgba(9, 12, 15, .78) 40%,
        #090c0f 100%),
      linear-gradient(90deg,
        rgba(9, 12, 15, .86),
        rgba(9, 12, 15, .52)),
      url("../images/robert-background.png");
    background-position: center top, center top, 64% top;
    background-size: 100% 950px, 100% 950px, auto 740px;
  }
  .card-meta { font-size: 12px; }
}

@media (max-width: 430px) {
  .eyebrow, .focus-strip span, .facts dt { font-size: 12px; }
  .card-meta { font-size: 12px; }
  .brand small { font-size: 10px; }
}

@media print {
  body, .profile-section, .contact-section, .card, .focus-strip {
    background: #fff !important;
    box-shadow: none;
    backdrop-filter: none;
  }
}

/* Weniger Mikrotext und groessere Beschriftungen auf Uebersichtskarten. */
.section-heading > p:empty,
.card-meta .status:empty { display: none; }
.section-heading > p { display: none; }
.section-heading { align-items: start; }
.eyebrow { font-size: 14px; }
.card-meta { font-size: 14px; font-weight: 700; }
.card-meta > span:first-child { letter-spacing: .045em; }
.role { font-size: 14px; font-weight: 650; }
.card p { font-size: 16px; line-height: 1.7; }
.card-link { font-size: 14px; }
.focus-strip span { font-size: 14px; }

@media (max-width: 430px) {
  .eyebrow, .focus-strip span { font-size: 13px; }
  .card-meta { font-size: 13px; }
}

/* Persönliche Stationen, zurückhaltend und ohne Kacheln. */
.detail .tags:not(:has(li)) { display: none; }
.company-timeline {
  margin: 54px 0 52px;
  padding-top: 30px;
  max-width: 900px;
  border-top: 1px solid rgba(214, 180, 119, .22);
}
.company-timeline > h2 {
  margin: 0 0 36px;
  font-size: clamp(23px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -.03em;
}
.company-timeline ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.company-timeline ol::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  right: calc(33.333% - 5px);
  height: 1px;
  background: rgba(214, 180, 119, .48);
}
.company-timeline li {
  position: relative;
  min-width: 0;
  padding: 29px 24px 0 0;
}
.company-timeline li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--gold-light);
}
.company-timeline-date {
  display: block;
  margin-bottom: 9px;
  color: var(--gold-light);
  font: 600 14px/1.45 Manrope, "Segoe UI", Arial, sans-serif;
  letter-spacing: .01em;
}
.company-timeline li h3 {
  margin: 0;
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.025em;
  overflow-wrap: break-word;
}
@media (max-width: 680px) {
  .company-timeline { margin: 40px 0 44px; }
  .company-timeline > h2 { margin-bottom: 28px; }
  .company-timeline ol {
    display: block;
    margin-left: 5px;
    padding-left: 26px;
    border-left: 1px solid rgba(214, 180, 119, .48);
  }
  .company-timeline ol::before { display: none; }
  .company-timeline li { padding: 0 0 30px; }
  .company-timeline li:last-child { padding-bottom: 0; }
  .company-timeline li::before { top: 5px; left: -31px; }
}
@media print {
  .company-timeline li::before { background: #a58145; }
}
