/* lightview – Profil, Impressum, Datenschutz, 404 */

.label-head { margin: 0 0 2.5rem; font-size: .72rem; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; }

/* ---------- Seitenkopf ---------- */
.page { position: relative; isolation: isolate; }
.page::before { /* dezentes Bühnenlicht oben */
  content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 40rem; pointer-events: none;
  background:
    radial-gradient(ellipse 45% 70% at 0% 0%, rgb(110 30 130 / .32), transparent 70%),
    radial-gradient(ellipse 40% 60% at 100% 0%, rgb(30 70 170 / .35), transparent 70%);
}
.page-intro {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: end; gap: 2rem 4rem;
  padding: clamp(3.5rem, 8vw, 6.5rem) var(--pad-x) clamp(3rem, 5vw, 4.5rem);
}
.page-intro h1 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(2.5rem, 1.5rem + 3.3vw, 4.4rem); line-height: 1.06; letter-spacing: -.01em; }
.page-lead { margin: 0 0 .6rem; max-width: 34ch; justify-self: end; color: var(--text-soft); line-height: 1.65; }

/* ---------- Profil ---------- */
.profile-hero {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: auto minmax(0, 38rem); justify-content: center; align-items: center;
  gap: 3rem clamp(4rem, 8vw, 9rem);
  min-height: min(92svh, 52rem); box-sizing: border-box;
  padding: calc(var(--header-h) + 3rem) var(--pad-x) clamp(3.5rem, 7vw, 5rem);
  background:
    radial-gradient(ellipse 35% 60% at 18% 45%, rgb(110 70 230 / .22), transparent 70%),
    radial-gradient(ellipse 45% 70% at 0% 0%, rgb(110 30 130 / .35), transparent 70%),
    radial-gradient(ellipse 40% 60% at 100% 0%, rgb(30 70 170 / .3), transparent 70%);
}

/* Rundes Porträt mit Lichtkranz – wie ein Scheinwerfer von hinten */
.profile-portrait {
  position: relative; margin: 0;
  width: clamp(16rem, 24vw, 26rem); aspect-ratio: 1; border-radius: 50%;
}
.profile-portrait::before { /* weicher Schein */
  content: ""; position: absolute; inset: -32%; z-index: -1; border-radius: 50%;
  background:
    radial-gradient(closest-side, rgb(170 130 255 / .75), rgb(90 90 240 / .38) 50%, transparent 76%),
    radial-gradient(ellipse 60% 45% at 30% 20%, rgb(200 150 255 / .35), transparent 70%);
  filter: blur(18px);
}
.profile-portrait::after { /* Lichtkante am Rand */
  content: ""; position: absolute; inset: -9px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 210deg, rgb(205 190 255 / .95), rgb(150 120 255 / .1) 22%, transparent 40%, rgb(90 140 255 / .75) 62%, rgb(150 120 255 / .1) 80%, rgb(205 190 255 / .95));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
}
@media (prefers-reduced-motion: no-preference) {
  .profile-portrait::after { animation: rim-turn 24s linear infinite; }
  @keyframes rim-turn { to { transform: rotate(1turn); } }
}
.profile-portrait img, .portrait-initials {
  position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover;
}
.profile-portrait img { box-shadow: 0 30px 80px rgb(0 0 0 / .55); }
.profile-portrait img.is-missing { display: none; }
.portrait-initials {
  display: grid; place-items: center; background: radial-gradient(circle at 50% 35%, #1d1a33, #0d0c16 70%);
  font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 6vw, 5rem); letter-spacing: .04em; color: rgb(244 242 248 / .55);
}

.profile-hero-content { max-width: 38rem; }
.profile-hero-content .eyebrow { margin-top: 0; }
.profile-hero h1 {
  margin: 1.25rem 0 0; font-family: var(--serif); font-weight: 300;
  font-size: clamp(3.2rem, 1.6rem + 5vw, 6.5rem); line-height: .98; letter-spacing: -.02em;
}
.profile-lead { margin: 1.5rem 0 0; max-width: none; font-size: clamp(1.02rem, .98rem + .25vw, 1.15rem); line-height: 1.7; color: var(--text-soft); }
.profile-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.75rem; }
.btn-solid { background: var(--text); border-color: var(--text); color: var(--ink); }
.btn-solid:hover { background: transparent; color: var(--text); border-color: var(--line); }
.profile-social { margin: 2.25rem 0 0; gap: 1.4rem; }
@media (min-width: 75rem) { .profile-hero h1 { white-space: nowrap; } }
.profile-social a { color: var(--text-soft); }

.profile-intro {
  display: grid; grid-template-columns: minmax(0, 32rem) minmax(0, 34rem); justify-content: center; align-items: center;
  gap: 3rem clamp(4rem, 8vw, 9rem);
  padding: clamp(4.5rem, 9vw, 7rem) var(--pad-x);
}
.profile-quote { text-wrap: balance; margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(1.9rem, 1.3rem + 1.9vw, 2.75rem); line-height: 1.25; }
.profile-text p { margin: 0 0 1.2rem; color: var(--text-soft); font-size: 1.06rem; line-height: 1.75; }
.profile-text p:last-child { margin-bottom: 0; }

.timeline { padding: 0 var(--pad-x) clamp(5rem, 9vw, 7.5rem); }
/* Profil: Werdegang und Aufruf auf dieselbe Breite wie Zitat/Text, mittig */
.profile-page .timeline { max-width: 75rem; margin-inline: auto; box-sizing: content-box; }
.profile-page .cta-band { max-width: 75rem; margin-inline: auto; box-sizing: border-box; }
@media (max-width: 82rem) { .profile-page .cta-band { margin-inline: var(--pad-x); max-width: none; } }
.timeline .label-head { margin-bottom: 3rem; }
.tl-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tl-step { position: relative; padding: 1.75rem 2rem 0 0; border-top: 1px solid rgb(244 242 248 / .25); }
.tl-dot { position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: #8f87c9; }
.tl-step.is-now .tl-dot { background: #fff; box-shadow: 0 0 0 4px rgb(185 168 255 / .2), 0 0 18px #b9a8ff; }
.tl-num { margin: 0 0 .9rem; font-size: .8rem; letter-spacing: .14em; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.tl-step h3 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(1.4rem, 1.2rem + .5vw, 1.65rem); line-height: 1.15; }
.tl-step p:last-child { margin: .65rem 0 0; color: var(--text-soft); font-size: .95rem; max-width: 26ch; }

/* ---------- Abschluss mit Aufruf ---------- */
.cta-band {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem;
  margin: 0 var(--pad-x) clamp(4rem, 8vw, 6rem); padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3.5rem);
  background: radial-gradient(ellipse 50% 120% at 85% 50%, rgb(60 70 200 / .35), transparent 70%), radial-gradient(ellipse 40% 120% at 10% 50%, rgb(110 30 130 / .3), transparent 70%), #0f0e1a;
  border: 1px solid rgb(244 242 248 / .08);
}
.cta-band h2 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); line-height: 1.1; }
.cta-band p { margin: .7rem 0 0; color: var(--text-soft); }

/* ---------- Impressum / Datenschutz ---------- */
.legal { max-width: 46rem; padding: clamp(3.5rem, 8vw, 6rem) var(--pad-x) clamp(4rem, 8vw, 6rem); box-sizing: content-box; }
.legal::before { display: none; }
.legal h1 { margin: 0 0 2.5rem; font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 1.6rem + 2.6vw, 3.8rem); line-height: 1.08; }
.legal h2 { margin: 2.5rem 0 .75rem; font-size: 1rem; font-weight: 600; }
.legal p { margin: 0 0 1rem; color: var(--text-soft); line-height: 1.75; }
.legal a { color: var(--text); text-underline-offset: .2em; }
.legal .todo { background: rgb(243 201 139 / .14); color: #f3c98b; padding: .05em .35em; border-radius: 3px; }
.legal-note { font-size: .88rem; padding: .9rem 1.1rem; border: 1px solid rgb(244 242 248 / .14); margin-bottom: 2rem !important; }
.legal-date { margin-top: 3rem !important; font-size: .85rem; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; padding: 6rem var(--pad-x); }
.notfound h1 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(2.8rem, 1.8rem + 4vw, 5.5rem); line-height: 1.05; }
.notfound p { color: var(--text-soft); margin: 1.5rem 0 2.5rem; }
.nf-links { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Responsive ---------- */
@media (max-width: 64rem) {
  .page-intro { grid-template-columns: 1fr; }
  .page-lead { justify-self: start; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 64rem) {
  .tl-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
}
@media (max-width: 48rem) {
  .profile-hero { grid-template-columns: 1fr; justify-content: stretch; padding-top: calc(var(--header-h) + 2rem); gap: 2.5rem; }
  .profile-portrait { width: min(15rem, 62vw); margin: 1.5rem auto 0 1rem; }
  .profile-hero .eyebrow { letter-spacing: .26em; }
  .profile-intro { grid-template-columns: 1fr; justify-content: stretch; gap: 2rem; }
  /* Werdegang senkrecht */
  .tl-list { grid-template-columns: 1fr; row-gap: 0; border-left: 1px solid rgb(244 242 248 / .25); margin-left: 4px; }
  .tl-step { border-top: 0; padding: 0 0 2.5rem 1.75rem; }
  .tl-step:last-child { padding-bottom: 0; }
  .tl-dot { top: .35rem; left: -5px; }
}
@media (max-width: 40rem) {
  .profile-hero { min-height: 0; text-align: left; }
  .profile-actions .btn-outline { flex: 1 1 100%; justify-content: space-between; }
  .page-intro { padding-top: 2.75rem; padding-bottom: 2.25rem; gap: 1.25rem; }
  .page-intro h1 { font-size: clamp(2.3rem, 10vw, 2.9rem); }
  .page-intro h1 br { display: none; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid > div { padding-right: 0; }
  .cta-band { margin-inline: 0; }
  .cta-band .btn-outline { width: 100%; justify-content: space-between; }
}