/* =========================================================
   EXECUTIVE PROFILE — Jörg Beckmann
   Design tokens: dark navy + white + gold, editorial/dossier feel
   ========================================================= */

/* ---------------- SELF-HOSTED FONTS ---------------- */
@font-face{
  font-family:'Inter'; font-style:normal; font-weight:400; font-display:swap;
  src:url('../assets/fonts/inter-latin.woff2') format('woff2');
}
@font-face{
  font-family:'Inter'; font-style:normal; font-weight:500; font-display:swap;
  src:url('../assets/fonts/inter-latin.woff2') format('woff2');
}
@font-face{
  font-family:'Inter'; font-style:normal; font-weight:600; font-display:swap;
  src:url('../assets/fonts/inter-latin.woff2') format('woff2');
}
@font-face{
  font-family:'Inter'; font-style:normal; font-weight:700; font-display:swap;
  src:url('../assets/fonts/inter-latin.woff2') format('woff2');
}
@font-face{
  font-family:'Playfair Display'; font-style:normal; font-weight:500; font-display:swap;
  src:url('../assets/fonts/playfair-display-latin.woff2') format('woff2');
}
@font-face{
  font-family:'Playfair Display'; font-style:normal; font-weight:600; font-display:swap;
  src:url('../assets/fonts/playfair-display-latin.woff2') format('woff2');
}
@font-face{
  font-family:'Playfair Display'; font-style:normal; font-weight:700; font-display:swap;
  src:url('../assets/fonts/playfair-display-latin.woff2') format('woff2');
}

:root{
  --navy-950:#070f1e;
  --navy-900:#0b1a30;
  --navy-800:#132844;
  --navy-700:#1c3457;
  --navy-600:#2a4166;
  --gold-300:#e3cfa0;
  --gold-500:#c6a15b;
  --gold-600:#a8863f;
  --gold-700:#8f7038;
  --white:#ffffff;
  --paper:#fafaf8;
  --ink:#0b1a30;
  --gray-600:#5c6472;
  --gray-300:#9fa8b5;
  --gray-200:#e3e6ea;
  --line-light:rgba(11,26,48,0.12);
  --line-dark:rgba(255,255,255,0.14);

  --bg-light-section:var(--paper);
  --text-on-light:var(--ink);
  --text-on-light-secondary:var(--gray-600);
  --bg-dark-section:var(--navy-900);
  --text-on-dark:var(--white);
  --text-on-dark-secondary:var(--gray-300);

  --font-display:'Playfair Display', Georgia, serif;
  --font-body:'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container:1180px;
  --radius-sm:4px;
  --radius-md:10px;
  --radius-lg:20px;
  --dur:0.6s;
}

[data-theme="dark"]{
  --bg-light-section:var(--navy-800);
  --text-on-light:var(--white);
  --text-on-light-secondary:var(--gray-300);
  --paper:var(--navy-950);
  --line-light:rgba(255,255,255,0.12);
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *,*::before,*::after{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; transition-delay:0s !important; scroll-behavior:auto !important; }
  .hero-bg::after{ animation:none !important; }
}
body{
  margin:0;
  font-family:var(--font-body);
  background:var(--paper);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  line-height:1.6;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3{ font-family:var(--font-display); margin:0; font-weight:600; }

.skip-link{
  position:absolute; left:-999px; top:0; background:var(--gold-500); color:var(--navy-900);
  padding:12px 20px; z-index:1000; font-weight:600;
}
.skip-link:focus{ left:12px; top:12px; }

:focus-visible{ outline:2px solid var(--gold-500); outline-offset:3px; }

.section-inner{ max-width:var(--container); margin:0 auto; padding:0 32px; }
.section-inner.narrow{ max-width:820px; }

/* ---------- Chapter mark (signature numbering device) ---------- */
.chapter-mark{
  display:flex; align-items:center; gap:18px; margin-bottom:28px;
}
.chapter-num{
  font-family:var(--font-display); font-size:15px; line-height:1; letter-spacing:0.08em; color:var(--gold-600);
  display:inline-block; align-self:center; opacity:0; transform:rotate(-8deg) scale(0.8);
  transition:opacity .6s ease, transform .6s ease;
}
[data-theme="dark"] .chapter-num{ color:var(--gold-300); }
.section.dark .chapter-num{ color:var(--gold-300); }
.chapter-mark.is-visible .chapter-num{ opacity:1; transform:none; }
.chapter-rule{
  flex:0 0 64px; align-self:center; height:1px; line-height:1; background:var(--gold-600);
  transform-origin:left; transform:scaleX(0); transition:transform .6s ease; transition-delay:.1s;
}
.section.dark .chapter-rule, .chapter-rule.light-rule{ background:var(--gold-300); }
.chapter-mark.is-visible .chapter-rule{ transform:scaleX(1); }
.chapter-title{
  font-family:var(--font-body); font-size:13px; line-height:1; align-self:center; letter-spacing:0.14em; text-transform:uppercase; color:var(--text-on-light-secondary);
}
.section.dark .chapter-title{ color:var(--text-on-dark-secondary); }

.eyebrow{ font-size:13px; letter-spacing:0.16em; text-transform:uppercase; font-weight:600; }
.eyebrow.gold{ color:var(--gold-300); }

.h2{ position:relative; font-size:clamp(28px,3.4vw,42px); line-height:1.15; margin-bottom:18px; padding-bottom:16px; }
.h2::after{
  content:''; position:absolute; left:0; bottom:0; width:80px; height:2px; background:var(--gold-500);
  transform-origin:left; transform:scaleX(0); transition:transform .6s ease; transition-delay:.15s;
}
.section.dark .h2::after{ background:var(--gold-300); }
.h2.is-visible::after{ transform:scaleX(1); }
.h3-small{ font-family:var(--font-body); font-size:17px; font-weight:600; margin:0 0 8px; }
.section-intro{ color:var(--text-on-light-secondary); max-width:640px; margin:-6px 0 40px; font-size:16px; }
.section-intro.light-intro{ color:var(--text-on-dark-secondary); }
.lede{ font-size:19px; line-height:1.7; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px; padding:14px 28px; border-radius:2px;
  font-size:14px; font-weight:600; letter-spacing:0.02em; border:1px solid transparent;
  transition:transform 0.25s ease, background 0.25s ease, background-size .35s ease, border-color 0.25s ease, color .25s ease;
}
.btn:hover{ transform:translateY(-2px); }
.btn-gold{ background:var(--gold-500); color:var(--navy-950); }
.btn-gold:hover{ background:var(--gold-300); }
.btn-outline{
  border-color:var(--gold-300); color:var(--white);
  background-image:linear-gradient(var(--gold-300),var(--gold-300)); background-repeat:no-repeat;
  background-size:0% 100%; background-position:left center;
}
.btn-outline:hover{ background-size:100% 100%; color:var(--navy-950); }
.btn-ghost{ color:var(--white); opacity:0.85; padding-left:8px; padding-right:8px; }
.btn-ghost:hover{ opacity:1; }

/* ============ HEADER ============ */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:200;
  background:transparent; transition:background .35s ease, box-shadow .35s ease, padding .35s ease;
  padding:22px 0;
}
.site-header.scrolled{
  background:rgba(11,26,48,0.92); backdrop-filter:blur(10px); padding:14px 0;
  box-shadow:0 1px 0 rgba(255,255,255,0.08);
}
.header-inner{
  max-width:var(--container); margin:0 auto; padding:0 32px;
  display:flex; align-items:center; justify-content:space-between;
}
.brand{ font-family:var(--font-display); font-size:20px; color:var(--white); border:1px solid var(--gold-300); border-radius:50%; width:40px; height:40px; display:flex; align-items:center; justify-content:center; }
.main-nav{ display:flex; align-items:center; gap:28px; }
.main-nav a{ position:relative; color:var(--gray-300); font-size:14px; font-weight:500; transition:color .2s ease; padding-bottom:4px; }
.main-nav a::after{
  content:''; position:absolute; left:0; bottom:0; width:0; height:1px; background:var(--gold-300);
  transition:width .3s ease;
}
.main-nav a:hover{ color:var(--white); }
.main-nav a:hover::after, .main-nav a.active::after{ width:100%; }
.main-nav a.active{ color:var(--gold-300); }
.main-nav a.nav-cta{ color:var(--gold-300); }
.main-nav a.nav-cta::after{ background:var(--gold-300); }
.header-actions{ display:flex; align-items:center; gap:14px; }
.theme-toggle{ background:none; border:1px solid var(--line-dark); width:36px; height:36px; border-radius:50%; position:relative; }
.theme-icon{ position:absolute; inset:0; margin:auto; width:14px; height:14px; border-radius:50%; background:var(--gold-300); box-shadow:0 0 0 3px transparent; }
[data-theme="dark"] .theme-icon{ background:transparent; box-shadow:inset -4px -2px 0 1px var(--gold-300); }
.nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:none; padding:8px; }
.nav-toggle span{ width:22px; height:2px; background:var(--white); display:block; }

/* ============ HERO ============ */
.hero{
  position:relative; min-height:100vh; display:flex; flex-direction:column;
  background:var(--navy-900); color:var(--white); overflow:hidden; padding-top:120px; padding-bottom:28px;
}
.hero-bg{
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse at 78% 18%, rgba(198,161,91,0.16), transparent 55%),
    linear-gradient(160deg, var(--navy-950), var(--navy-900) 60%);
}
.hero-bg::after{
  content:''; position:absolute; inset:-10%;
  background:radial-gradient(circle at var(--mx,70%) var(--my,30%), rgba(198,161,91,0.22), transparent 45%);
  opacity:0.6; animation:heroDrift 22s ease-in-out infinite;
}
@keyframes heroDrift{
  0%,100%{ transform:translate(0,0); }
  50%{ transform:translate(-3%,3%); }
}
.hero-content{ position:relative; z-index:2; flex:1; display:flex; flex-direction:column; justify-content:center; }
.hero-inner{ display:grid; grid-template-columns:minmax(0,1fr) minmax(260px,340px); align-items:center; gap:48px; }
.hero-text{ max-width:760px; }
.hero-name{ font-size:clamp(44px,7vw,86px); line-height:1.02; margin:14px 0 18px; }
.hero-headline{ font-size:clamp(16px,2vw,20px); color:var(--gold-300); font-weight:500; margin:0 0 16px; }
.hero-headline .dot{ color:var(--gray-300); margin:0 6px; }
.hero-headline .hw{ display:inline-block; opacity:0; transform:translateY(10px); transition:opacity .45s ease, transform .45s ease; }
.hero-headline.words-in .hw{ opacity:1; transform:none; }
.hero-sub{ font-size:18px; color:var(--gray-300); max-width:560px; margin:0 0 36px; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:16px; }
.hero-photo{ width:100%; aspect-ratio:3/4; align-self:center; justify-self:center; max-width:300px; }
.hero-kpis{
  position:relative; z-index:2; display:grid; grid-template-columns:repeat(4,1fr);
  gap:28px; margin-top:56px; padding-top:36px; border-top:1px solid var(--line-dark); max-width:var(--container);
  margin-left:auto; margin-right:auto; padding-left:32px; padding-right:32px;
}
.kpi-value{ font-family:var(--font-display); font-size:clamp(30px,3.2vw,44px); color:var(--white); }
.kpi-label{ font-size:13px; color:var(--gray-300); letter-spacing:0.03em; margin-top:4px; }
.scroll-cue{ position:relative; z-index:2; margin:20px auto 0; width:22px; height:36px; border:1px solid var(--line-dark); border-radius:12px; flex-shrink:0; }
.scroll-cue span{ position:absolute; top:6px; left:50%; width:4px; height:8px; background:var(--gold-300); border-radius:2px; transform:translateX(-50%); animation:scrollcue 1.8s infinite; }
@keyframes scrollcue{ 0%{opacity:1; top:6px;} 70%{opacity:0; top:18px;} 100%{opacity:0; top:6px;} }

/* hero intro sequence */
.hero-in{ opacity:0; transform:translateY(16px); transition:opacity .7s ease, transform .7s ease; }
.hero-in.is-in{ opacity:1; transform:none; }
.hero-in.d1{ transition-delay:.05s; }
.hero-in.d2{ transition-delay:.14s; }
.hero-in.d3{ transition-delay:.23s; }
.hero-in.d4{ transition-delay:.32s; }
.hero-in.d5{ transition-delay:.41s; }
.hero-in.d6{ transition-delay:.5s; }

/* scroll progress bar */
.scroll-progress{ position:fixed; top:0; left:0; height:3px; width:0%; background:var(--gold-500); z-index:300; }

/* photo frame — dark backdrop so the cutout portrait reads cleanly */
.photo-frame{
  position:relative;
  background:linear-gradient(150deg, var(--navy-800), var(--navy-700));
  border:1px solid var(--gold-700); border-radius:var(--radius-md);
  display:flex; align-items:center; justify-content:center; overflow:hidden;
  width:100%; height:100%; padding:16px;
}
.photo-frame img{ width:100%; height:100%; object-fit:contain; }
.ratio-4-5{ aspect-ratio:4/5; }

/* curtain reveal */
.photo-frame::after{
  content:''; position:absolute; inset:0; z-index:2;
  background:linear-gradient(120deg, var(--gold-500), var(--navy-800));
  transform-origin:right; transform:scaleX(1);
  transition:transform 1s cubic-bezier(.65,0,.35,1);
}
.photo-frame.is-revealed::after{ transform:scaleX(0); }
.hero-photo .photo-frame::after{ transition-delay:.6s; }

/* about photo: grayscale to color */
.about-photo img{ filter:grayscale(70%); transition:filter 1.2s ease; }
.about-photo.is-color img{ filter:grayscale(0%); }

/* ============ SECTION BASE ============ */
.section{ padding:110px 0; }
.section.light{ background:var(--bg-light-section); color:var(--text-on-light); }
.section.dark{ background:var(--bg-dark-section); color:var(--text-on-dark); }
.section.dark .section-intro{ color:var(--text-on-dark-secondary); }

/* reveal-on-scroll */
.reveal{
  opacity:0; transform:translateY(28px) scale(0.96);
  transition:opacity .7s ease, transform .7s ease;
  transition-delay:calc(var(--stagger-i, 0) * 70ms);
}
.reveal.is-visible{ opacity:1; transform:translateY(0) scale(1); }

/* ============ ABOUT ============ */
.about-grid{ display:grid; grid-template-columns:0.8fr 1.2fr; gap:64px; align-items:start; margin-bottom:56px; }
.about-photo .photo-frame{ min-height:420px; }
.about-questions{ display:grid; grid-template-columns:1fr 1fr; gap:28px; margin-top:32px; }
.about-q p{ color:var(--text-on-light-secondary); margin:0; }
.mini-timeline{ display:flex; align-items:center; gap:18px; max-width:320px; margin:0 auto; }
.mt-year{ font-family:var(--font-display); font-size:20px; color:var(--gold-600); }
.mt-line{ flex:1; height:1px; background:linear-gradient(90deg,var(--gold-600),var(--gold-300)); position:relative; }
.mt-line::after{ content:'→'; position:absolute; right:-4px; top:-10px; color:var(--gold-500); }

/* ============ PROFILE GRID (Managementprofil) ============ */
.profile-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.profile-card{
  background:var(--navy-800); border:1px solid var(--line-dark); border-radius:var(--radius-md);
  padding:32px 26px; transition:transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
@media (hover:hover) and (pointer:fine){
  .profile-card, .competency-card, .dash-card{ transform-style:preserve-3d; will-change:transform; }
}
.profile-card:hover{ transform:translateY(-6px); border-color:var(--gold-500); box-shadow:0 16px 34px rgba(198,161,91,0.14); }
.profile-icon{ width:44px; height:44px; border-radius:50%; border:1px solid var(--gold-500); display:flex; align-items:center; justify-content:center; margin-bottom:20px; color:var(--gold-300); font-family:var(--font-display); }
.profile-card h3{ font-family:var(--font-body); font-size:18px; margin-bottom:10px; }
.profile-card p{ color:var(--text-on-dark-secondary); font-size:14.5px; margin:0 0 14px; }
.profile-example{ font-size:13.5px; color:var(--gold-300); border-top:1px solid var(--line-dark); padding-top:12px; margin:0; }

/* ============ CAREER TIMELINE ============ */
.career-timeline{ position:relative; padding-left:36px; }
.career-timeline::before{
  content:''; position:absolute; left:7px; top:8px; bottom:8px; width:1px; background:var(--line-light);
  transform-origin:top; transform:scaleY(0); transition:transform 1.1s ease;
}
.career-timeline.is-visible::before{ transform:scaleY(1); }
.career-item{ position:relative; padding-bottom:36px; }
.career-item:last-child{ padding-bottom:0; }
.career-item::before{ content:''; position:absolute; left:-36px; top:6px; width:15px; height:15px; border-radius:50%; background:var(--paper); border:2px solid var(--gold-500); }
.career-head{
  display:flex; justify-content:space-between; align-items:center; gap:20px; cursor:pointer;
  padding:20px 24px; background:var(--white); border:1px solid var(--line-light); border-radius:var(--radius-md);
  transition:border-color .25s ease, box-shadow .25s ease;
}
[data-theme="dark"] .career-head{ background:var(--navy-800); }
.career-head:hover{ border-color:var(--gold-500); box-shadow:0 12px 28px rgba(198,161,91,0.12); }
.career-title-row{ display:flex; align-items:center; gap:12px; margin:0 0 4px; }
.career-logo-wrap{
  flex-shrink:0; width:40px; height:40px; border-radius:8px; background:#fff;
  display:flex; align-items:center; justify-content:center; padding:5px; box-shadow:0 0 0 1px rgba(7,15,30,0.06);
}
.career-logo{ max-width:100%; max-height:100%; object-fit:contain; }
.career-head h3{ font-family:var(--font-body); font-size:18px; margin:0; }
.career-period{ color:var(--text-on-light-secondary); font-size:14px; }
.career-toggle{ width:28px; height:28px; border-radius:50%; border:1px solid var(--gold-500); flex-shrink:0; position:relative; }
.career-toggle::before,.career-toggle::after{ content:''; position:absolute; background:var(--gold-500); left:50%; top:50%; transform:translate(-50%,-50%); }
.career-toggle::before{ width:12px; height:1px; }
.career-toggle::after{ width:1px; height:12px; transition:transform .25s ease; }
.career-item.open .career-toggle::after{ transform:translate(-50%,-50%) scaleY(0); }
.career-body{ max-height:0; overflow:hidden; transition:max-height .4s ease; }
.career-item.open .career-body{ max-height:640px; }
.career-bullets{
  list-style:none; margin:0; padding:24px; display:flex; flex-direction:column; gap:10px;
  background:var(--gray-200); border-radius:0 0 var(--radius-md) var(--radius-md); margin-top:-8px;
}
[data-theme="dark"] .career-bullets{ background:var(--navy-700); }
.career-bullets li{ position:relative; padding-left:18px; margin:0; font-size:14px; }
.career-bullets li::before{ content:'—'; position:absolute; left:0; color:var(--gold-600); }
[data-theme="dark"] .career-bullets li::before{ color:var(--gold-300); }

/* ============ DASHBOARD (Erfolge) ============ */
.dashboard-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-bottom:32px; }
.dash-card{ background:var(--navy-800); border:1px solid var(--line-dark); border-radius:var(--radius-md); padding:30px 24px; text-align:center; transition:border-color .3s ease, box-shadow .3s ease, transform .3s ease; }
.dash-card:hover{ border-color:var(--gold-500); box-shadow:0 14px 30px rgba(198,161,91,0.14); transform:translateY(-4px); }
.dash-value{ font-family:var(--font-display); font-size:clamp(30px,3vw,40px); color:var(--gold-300); }
.dash-label{ font-size:13.5px; color:var(--text-on-dark-secondary); margin-top:6px; }
.tag-grid{ display:flex; flex-wrap:wrap; gap:12px; }
.tag-pill{ border:1px solid var(--gold-500); color:var(--gold-300); font-size:13px; padding:9px 18px; border-radius:20px; }

/* ============ COMPETENCY GRID ============ */
.competency-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.competency-card{ border:1px solid var(--line-light); border-radius:var(--radius-md); padding:26px; cursor:pointer; transition:box-shadow .3s ease, border-color .3s ease, transform .3s ease; background:var(--white); }
[data-theme="dark"] .competency-card{ background:var(--navy-800); }
.competency-card:hover{ box-shadow:0 12px 30px rgba(198,161,91,0.15); border-color:var(--gold-500); transform:translateY(-4px); }
.competency-card h3{ font-family:var(--font-body); font-size:16.5px; margin:0 0 10px; }
.competency-card p{ font-size:14px; color:var(--text-on-light-secondary); margin:0; max-height:0; opacity:0; overflow:hidden; transition:max-height .35s ease, margin .35s ease, opacity .3s ease; }
.competency-card.open p{ max-height:160px; margin-top:10px; opacity:1; }
.competency-mark{ font-family:var(--font-display); color:var(--gold-600); font-size:14px; }

/* ============ QUOTES (Führungsphilosophie) ============ */
.quote-list{ display:flex; flex-direction:column; gap:52px; }
.quote-item .q-mark{ font-family:var(--font-display); font-size:52px; color:var(--gold-500); line-height:0.6; display:block; margin-bottom:12px; }
.quote-item h3{ font-family:var(--font-body); font-size:14px; text-transform:uppercase; letter-spacing:0.1em; color:var(--gold-300); margin-bottom:10px; }
.quote-item p{ font-family:var(--font-display); font-size:clamp(20px,2.4vw,28px); line-height:1.5; margin:0; }

/* ============ EDUCATION ============ */
.education-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.education-card{ background:var(--navy-800); border:1px solid var(--line-dark); border-radius:var(--radius-md); padding:26px; transition:border-color .3s ease, box-shadow .3s ease, transform .3s ease; }
.education-card:hover{ border-color:var(--gold-500); box-shadow:0 14px 30px rgba(198,161,91,0.14); transform:translateY(-4px); }
.education-card .ed-year{ color:var(--gold-300); font-size:13px; letter-spacing:0.04em; }
.education-card h3{ font-family:var(--font-body); font-size:16px; margin:8px 0 4px; }
.education-card p{ margin:0; color:var(--text-on-dark-secondary); font-size:14px; }

/* ============ AI SKILLS ============ */
.ai-pill-row{ display:flex; flex-wrap:wrap; gap:12px; margin-bottom:32px; }
.seminar-heading{ margin-top:44px; }
.seminar-note{ margin-top:-4px; margin-bottom:20px; }
.ai-pill{ border:1px solid var(--gold-600); border-radius:20px; padding:9px 18px; font-size:13.5px; color:var(--gold-700); }
[data-theme="dark"] .ai-pill{ color:var(--gold-300); border-color:var(--gold-300); }
.ai-example-card{ border:1px dashed var(--line-light); border-radius:var(--radius-md); padding:26px; max-width:640px; }

/* ============ CERTIFICATES ============ */
.cert-group-heading{ color:var(--gold-300); margin:40px 0 18px; }
.cert-group-heading:first-child{ margin-top:0; }
.certificate-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-bottom:8px; }
.certificate-card{ background:var(--navy-800); border:1px solid var(--line-dark); border-radius:var(--radius-md); padding:26px; cursor:pointer; transition:transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.certificate-card:hover{ transform:translateY(-4px); border-color:var(--gold-500); box-shadow:0 16px 34px rgba(198,161,91,0.16); }
.certificate-card h3{ font-family:var(--font-body); font-size:16px; margin:0 0 6px; }
.certificate-card .cert-issuer{ font-size:13.5px; color:var(--text-on-dark-secondary); margin:0 0 14px; }
.certificate-rating{ color:var(--gold-300); font-size:14px; letter-spacing:0.05em; }

/* ============ VOLUNTEERING ============ */
.volunteer-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.volunteer-card{ text-align:center; padding:30px 20px; border:1px solid var(--line-dark); border-radius:var(--radius-md); transition:border-color .3s ease, box-shadow .3s ease, transform .3s ease; }
.volunteer-card:hover{ border-color:var(--gold-300); box-shadow:0 14px 30px rgba(198,161,91,0.14); transform:translateY(-4px); }
.volunteer-icon{ width:48px; height:48px; margin:0 auto 16px; border-radius:50%; border:1px solid var(--gold-300); display:flex; align-items:center; justify-content:center; color:var(--gold-300); font-family:var(--font-display); }
.volunteer-card h3{ font-family:var(--font-body); font-size:16px; margin:0 0 6px; }
.volunteer-card p{ margin:0; font-size:13.5px; color:var(--text-on-dark-secondary); }

/* ============ CONTACT ============ */
.contact-grid{ display:grid; grid-template-columns:1.3fr 1fr; gap:56px; }
.contact-form{ display:flex; flex-direction:column; gap:18px; }
.form-row{ display:flex; flex-direction:column; gap:8px; }
.form-row label{ font-size:13px; letter-spacing:0.03em; color:var(--text-on-light-secondary); }
.form-row input, .form-row textarea{
  font-family:inherit; font-size:15px; padding:13px 16px; border:1px solid var(--line-light);
  border-radius:var(--radius-sm); background:transparent; color:var(--text-on-light); resize:vertical;
}
.form-row input:focus, .form-row textarea:focus{ border-color:var(--gold-500); }
.form-note{ font-size:13.5px; color:var(--gold-600); min-height:18px; margin:0; }
.form-note.is-success{ color:var(--gold-600); }
.form-note.is-error{ color:#b3453f; }
.contact-side{ display:flex; flex-direction:column; gap:18px; }
.contact-side-header{ margin-bottom:4px; }
.contact-side-name{ font-family:var(--font-display); font-size:20px; font-weight:600; margin:0 0 4px; }
.contact-side-role{ font-size:13.5px; color:var(--text-on-light-secondary); margin:0; }
.contact-side-role .dot{ color:var(--gold-500); margin:0 5px; }
.contact-line{ display:flex; align-items:center; gap:12px; font-size:15px; padding:14px 18px; border:1px solid var(--line-light); border-radius:var(--radius-sm); transition:border-color .2s ease; }
.contact-line:hover{ border-color:var(--gold-500); }
.ci{ width:22px; text-align:center; color:var(--gold-600); font-weight:600; }
.contact-linkedin-note{ font-size:13px; color:var(--text-on-light-secondary); margin:-8px 0 0; }
.contact-closing{
  margin:64px auto 24px; max-width:780px; font-family:var(--font-display); font-weight:700;
  font-size:clamp(32px,4.2vw,56px); line-height:1.25; text-align:center; color:var(--text-on-light);
}
.contact-closing .gold{ color:var(--gold-600); }
[data-theme="dark"] .contact-closing .gold, .section.dark .contact-closing .gold{ color:var(--gold-300); }

/* ============ FOOTER ============ */
.site-footer{ background:var(--navy-950); color:var(--gray-300); padding:44px 0; }
.footer-inner{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:18px; }
.footer-brand{ font-family:var(--font-display); color:var(--white); }
.footer-nav{ display:flex; gap:22px; }
.footer-nav a{ font-size:13.5px; color:var(--gray-300); }
.footer-nav a:hover{ color:var(--gold-300); }
.footer-copy{ font-size:13px; margin:0; }

/* ============ LEGAL PAGES (Impressum / Datenschutz) ============ */
.legal-content{ padding-top:40px; }
.legal-content h1{ font-size:clamp(32px,4.5vw,52px); margin-bottom:40px; }
.legal-content h2{ font-family:var(--font-display); font-size:22px; font-weight:600; margin:44px 0 14px; }
.legal-content h2:first-of-type{ margin-top:0; }
.legal-content p{ margin:0 0 16px; color:var(--text-on-light-secondary); font-size:15.5px; line-height:1.75; }
.legal-content ul{ margin:0 0 16px; padding-left:20px; color:var(--text-on-light-secondary); font-size:15.5px; line-height:1.75; }
.legal-content li{ margin-bottom:4px; }
.legal-content .legal-footer{ margin-top:56px; padding-top:24px; border-top:1px solid var(--line-light); font-size:14px; color:var(--text-on-light-secondary); }

/* ============ MODAL ============ */
.modal{
  position:fixed; inset:0; z-index:500; visibility:hidden; opacity:0;
  transition:opacity .3s ease, visibility 0s linear .3s;
}
.modal[aria-hidden="false"]{ visibility:visible; opacity:1; transition:opacity .3s ease; }
.modal-overlay{ position:absolute; inset:0; background:rgba(7,15,30,0.72); }
.modal-panel{
  position:relative; max-width:520px; margin:10vh auto 0; background:var(--paper); color:var(--text-on-light);
  border-radius:var(--radius-md); padding:36px; z-index:1;
  transform:translateY(16px) scale(0.98); transition:transform .3s ease;
}
.modal[aria-hidden="false"] .modal-panel{ transform:translateY(0) scale(1); }
.modal-close{ position:absolute; top:16px; right:16px; background:none; border:none; font-size:16px; color:var(--text-on-light-secondary); }

/* ============ RESPONSIVE ============ */
@media (max-width:960px){
  .main-nav{ display:none; }
  .main-nav.is-open{
    display:flex; flex-direction:column; gap:0; position:fixed; top:0; right:0; bottom:0; width:min(78vw,320px);
    background:var(--navy-950); padding:100px 32px 32px; box-shadow:-8px 0 30px rgba(0,0,0,0.3);
  }
  .main-nav.is-open a{ padding:14px 0; border-bottom:1px solid var(--line-dark); color:var(--white); }
  .nav-toggle{ display:flex; position:relative; z-index:220; }
  .hero-inner{ grid-template-columns:1fr; gap:32px; }
  .hero-photo{ max-width:220px; margin:0 auto; order:-1; }
  .hero-kpis{ grid-template-columns:repeat(2,1fr); }
  .about-grid{ grid-template-columns:1fr; }
  .about-questions{ grid-template-columns:1fr; }
  .profile-grid, .competency-grid{ grid-template-columns:repeat(2,1fr); }
  .dashboard-grid{ grid-template-columns:repeat(2,1fr); }
  .education-grid, .volunteer-grid, .certificate-grid{ grid-template-columns:1fr 1fr; }
  .contact-grid{ grid-template-columns:1fr; }
  .hero-chat-trigger-text{ font-size:14px; white-space:normal; max-width:220px; text-align:left; }
}
@media (max-width:640px){
  .section{ padding:76px 0; }
  .section-inner{ padding:0 20px; }
  .hero-kpis{ grid-template-columns:1fr 1fr; gap:20px; }
  .profile-grid, .competency-grid, .dashboard-grid, .education-grid, .volunteer-grid, .certificate-grid{ grid-template-columns:1fr; }
  .hero-actions{ flex-direction:column; align-items:flex-start; }
}

/* ============ CHAT WIDGET ============ */
.hero-chat-row{ display:flex; justify-content:center; padding-bottom:36px; }
.hero-chat-trigger{
  display:inline-flex; align-items:center; gap:16px; z-index:5;
  background:var(--gold-500); color:var(--navy-950); border:none; border-radius:999px;
  padding:8px 30px 8px 8px; cursor:pointer;
  box-shadow:0 10px 26px rgba(7,15,30,0.35); transition:transform .25s ease, background .25s ease, box-shadow .25s ease;
  animation:chatPulseGlow 3s ease-in-out infinite;
}
.hero-chat-trigger:hover{ transform:scale(1.03); background:var(--gold-300); box-shadow:0 14px 32px rgba(7,15,30,0.4); }
.hero-chat-trigger-icon{
  width:68px; height:68px; border-radius:50%; flex-shrink:0; background:var(--navy-950); color:var(--gold-300);
  display:flex; align-items:center; justify-content:center; font-size:30px;
}
.hero-chat-trigger-text{ font-family:var(--font-body); font-weight:600; font-size:15px; letter-spacing:0.01em; white-space:nowrap; }
@keyframes chatPulseGlow{
  0%,100%{ box-shadow:0 8px 24px rgba(198,161,91,0.35); }
  50%{ box-shadow:0 8px 32px rgba(198,161,91,0.6); }
}
body:has(.chat-panel[aria-hidden="false"]) .hero-chat-trigger{
  animation:none;
  box-shadow:0 10px 26px rgba(7,15,30,0.35);
}

.chat-panel{
  position:fixed; right:24px; bottom:96px; z-index:600; width:100%; max-width:500px; max-height:760px;
  display:flex; flex-direction:column; background:var(--navy-900); border:1px solid var(--gold-700);
  border-radius:var(--radius-md); box-shadow:0 24px 60px rgba(0,0,0,0.45); overflow:hidden;
  transform-origin:bottom right; transform:translateY(12px) scale(0.96); opacity:0; visibility:hidden;
  transition:transform .28s cubic-bezier(.2,.8,.2,1), opacity .28s cubic-bezier(.2,.8,.2,1), visibility 0s linear .28s;
}
.chat-panel[aria-hidden="false"]{
  transform:translateY(0) scale(1); opacity:1; visibility:visible;
  transition:transform .28s cubic-bezier(.2,.8,.2,1), opacity .28s cubic-bezier(.2,.8,.2,1);
}

.chat-header{ display:flex; align-items:center; gap:12px; padding:16px 18px; border-bottom:1px solid var(--line-dark); flex-shrink:0; }
.chat-avatar{ position:relative; font-family:var(--font-display); font-size:16px; color:var(--white); border:1px solid var(--gold-300); border-radius:50%; width:34px; height:34px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.chat-status-dot{
  position:absolute; right:-1px; bottom:-1px; width:7px; height:7px; border-radius:50%;
  background:#34d399; border:2px solid var(--navy-900); animation:chatStatusPulse 2s infinite ease-in-out;
}
@keyframes chatStatusPulse{ 0%,100%{ opacity:1; box-shadow:0 0 0 0 rgba(52,211,153,0.55); } 50%{ opacity:.85; box-shadow:0 0 0 4px rgba(52,211,153,0); } }
.chat-title{ font-family:var(--font-body); font-size:14px; font-weight:600; color:var(--white); line-height:1.3; flex:1; }
.chat-title-online{ display:block; font-size:10px; font-weight:500; color:#34d399; letter-spacing:0.03em; margin-top:2px; }
.chat-clear{ background:none; border:none; color:var(--gold-300); font-size:14px; flex-shrink:0; cursor:pointer; opacity:0; pointer-events:none; transition:opacity .2s ease; }
.chat-clear.is-visible{ opacity:1; pointer-events:auto; }
.chat-clear:hover{ color:var(--gold-500); }
.chat-close{ background:none; border:none; color:var(--gold-300); font-size:15px; flex-shrink:0; cursor:pointer; }

.chat-messages{ flex:1; overflow-y:auto; padding:16px 18px; display:flex; flex-direction:column; gap:10px; }
.chat-messages::-webkit-scrollbar{ width:6px; }
.chat-messages::-webkit-scrollbar-track{ background:transparent; }
.chat-messages::-webkit-scrollbar-thumb{ background:var(--gold-700); border-radius:3px; }
.chat-messages::-webkit-scrollbar-thumb:hover{ background:var(--gold-500); }
.chat-messages{ scrollbar-width:thin; scrollbar-color:var(--gold-700) transparent; }
.chat-bubble{ max-width:86%; padding:10px 14px; border-radius:14px; font-size:14px; line-height:1.55; }
.chat-bubble.bot{ align-self:flex-start; background:var(--navy-800); color:var(--white); border-bottom-left-radius:4px; }
.chat-bubble.user{ align-self:flex-end; background:var(--gold-500); color:var(--navy-950); border-bottom-right-radius:4px; }
.chat-bubble p{ margin:0 0 8px; }
.chat-bubble p:last-child{ margin-bottom:0; }
.chat-bubble h4{ font-family:var(--font-body); font-size:13.5px; text-transform:uppercase; letter-spacing:0.05em; color:var(--gold-300); margin:12px 0 6px; }
.chat-bubble h4:first-child{ margin-top:0; }
.chat-bubble ul{ margin:0 0 8px; padding-left:18px; }
.chat-bubble li{ margin-bottom:4px; }
.chat-bubble.user h4{ color:var(--navy-800); }
.chat-source{ margin-top:8px; font-size:12px; color:var(--gold-300); }
.chat-source::before{ content:"📖 "; color:var(--gold-500); }

.chat-bubble.entering{ animation:bubbleIn .35s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes bubbleIn{
  from{ opacity:0; transform:translateY(10px) scale(0.97); }
  to{ opacity:1; transform:translateY(0) scale(1); }
}

.chat-typing{ display:flex; gap:5px; align-items:center; padding:14px; }
.chat-typing span{ width:6px; height:6px; border-radius:50%; background:var(--gold-300); animation:chatTypingBounce 1.2s infinite ease-in-out; }
.chat-typing span:nth-child(2){ animation-delay:.15s; }
.chat-typing span:nth-child(3){ animation-delay:.3s; }
@keyframes chatTypingBounce{ 0%,60%,100%{ transform:translateY(0); opacity:.5; } 30%{ transform:translateY(-4px); opacity:1; } }

.chat-suggestions{ display:grid; grid-template-columns:1fr 1fr; gap:10px; padding:4px 18px 16px; flex-shrink:0; }
.chat-suggestions.is-hidden{ display:none; }
.chat-chip{
  border:1px solid var(--gold-700); color:var(--gold-300); background:var(--navy-800); font-size:12.5px; line-height:1.4;
  text-align:left; padding:16px 17px; border-radius:var(--radius-md); cursor:pointer;
  transition:background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.chat-chip-wide{ grid-column:1 / -1; text-align:center; }
.chat-chip:hover{ background:var(--gold-500); border-color:var(--gold-500); color:var(--navy-950); transform:translateY(-2px); }

.chat-input-row{ display:flex; align-items:flex-end; gap:10px; padding:14px 16px; border-top:1px solid var(--line-dark); flex-shrink:0; }
.chat-input-row textarea{
  flex:1; resize:none; max-height:120px; background:var(--navy-800); color:var(--white); border:1px solid var(--line-dark);
  border-radius:var(--radius-md); padding:10px 12px; font-family:var(--font-body); font-size:14px; line-height:1.4;
  scrollbar-width:thin; scrollbar-color:var(--gold-700) transparent;
}
.chat-input-row textarea:focus{ border-color:var(--gold-500); }
.chat-input-row textarea::placeholder{ color:var(--gray-300); }
.chat-input-row textarea::-webkit-scrollbar{ width:6px; }
.chat-input-row textarea::-webkit-scrollbar-track{ background:transparent; }
.chat-input-row textarea::-webkit-scrollbar-thumb{ background:var(--gold-700); border-radius:3px; }
.chat-input-row textarea::-webkit-scrollbar-thumb:hover{ background:var(--gold-500); }
.chat-send{ width:38px; height:38px; border-radius:50%; background:var(--gold-500); color:var(--navy-950); border:none; flex-shrink:0; cursor:pointer; transition:background .2s ease, transform .2s ease; }
.chat-send:hover{ background:var(--gold-300); transform:scale(1.05); }
.chat-send:disabled{ opacity:.5; cursor:default; transform:none; }

@media (max-width:640px){
  .chat-panel{ right:16px; left:16px; bottom:88px; max-width:calc(100vw - 32px); max-height:min(78vh,720px); }
  .hero-chat-trigger{ gap:12px; padding:6px 20px 6px 6px; }
  .hero-chat-trigger-icon{ width:52px; height:52px; font-size:22px; }
  .hero-chat-trigger-text{ font-size:14px; white-space:normal; }
}

@media (prefers-reduced-motion: reduce){
  .hero-chat-trigger{ transition:none; animation:none; box-shadow:0 10px 26px rgba(7,15,30,0.35); }
  .chat-panel{ transition:none; transform:none; }
  .chat-send{ transition:none; }
  .chat-clear{ transition:none; }
  .chat-typing span{ animation:none; opacity:1; }
  .chat-bubble.entering{ animation:none; }
  .chat-status-dot{ animation:none; }
}
