/* ============================================================
   DESIGN-TOKENS
   ============================================================ */
:root {
  --accent:        #3b82a0;
  --accent-dark:   #2d6a86;
  --accent-light:  rgba(59,130,160,0.10);
  --accent-node:   rgba(80,160,185,0.70);
  --bg:            #ffffff;
  --bg-alt:        #f1f5f9;
  --bg-hero:       #f7fafc;
  --text:          #0f172a;
  --text-muted:    #475569;
  --border:        #e2e8f0;
  --radius:        12px;
  --radius-sm:     8px;
  --shadow:        0 2px 16px rgba(0,0,0,0.07);
  --shadow-hover:  0 8px 32px rgba(0,0,0,0.12);
  --nav-h:         68px;
  --transition:    0.25s ease;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   CONTAINER
   ============================================================ */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
  height: var(--nav-h);
}
#navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.nav-logo:hover { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--accent); background: var(--accent-light); }
.nav-links a.active { color: var(--accent); }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 8px 18px !important;
  border-radius: var(--radius-sm) !important;
}
.nav-cta:hover { background: var(--accent-dark) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  border-radius: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   GLOBALES NETZ (fixed hinter allem)
   ============================================================ */
#network-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  position: relative;
  min-height: 100vh;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
}

#hero-headline {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 28px;
}
#hero-headline .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
}
#hero-headline .word.accent { color: var(--accent); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.75;
  opacity: 0;
}

.btn-group {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0.4;
}
.scroll-dot { animation: scrollBob 1.8s ease-in-out infinite; }
@keyframes scrollBob {
  0%, 100% { cy: 8; }
  50% { cy: 16; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.97rem;
  border: none;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--accent-dark);
  box-shadow: 0 4px 16px rgba(59,130,160,0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text);
  padding: 13px 30px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.97rem;
  border: 1.5px solid var(--border);
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn-small { padding: 9px 20px; font-size: 0.88rem; }

/* ============================================================
   SECTIONS – COMMON
   ============================================================ */
section { padding: 100px 0; position: relative; z-index: 1; }
section:not(.section-alt):not(#hero) { background: rgba(255,255,255,0.55); }
.section-alt { background: rgba(236,244,249,0.62); }
#hero { background: transparent; }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-tag {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: var(--text);
}
.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
}

/* GSAP reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   ZAHLEN / STATS
   ============================================================ */
#zahlen { padding: 72px 0; background: rgba(255,255,255,0.55); position: relative; z-index: 1; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.stat-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.stat-number {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.4;
}

/* ============================================================
   ÜBER MICH
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 64px;
  align-items: start;
}

.photo-placeholder {
  aspect-ratio: 3/4;
  background: var(--bg);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 28px;
}
.about-portrait {
  width: 100%;
  border-radius: var(--radius);
  display: block;
  margin-bottom: 28px;
}

.about-awards, .about-ehrenamt {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.about-awards h4, .about-ehrenamt h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.about-awards li, .about-ehrenamt li {
  font-size: 0.86rem;
  color: var(--text-muted);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.45;
}
.about-awards li:last-child, .about-ehrenamt li:last-child { border-bottom: none; }

.about-text p {
  color: var(--text-muted);
  margin-bottom: 18px;
  line-height: 1.8;
}
.about-text p:last-of-type { margin-bottom: 40px; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pillar-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.pillar-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
  border-color: var(--accent);
}
.pillar-icon {
  width: 52px; height: 52px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 16px;
}
.pillar-card h3 {
  font-size: 0.97rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.pillar-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   LEISTUNGEN
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
  border-color: var(--accent);
}
.service-icon {
  width: 58px; height: 58px;
  background: var(--bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   REFERENZEN – KARTE
   ============================================================ */
.map-wrapper {
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.map-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.map-container {
  position: relative;
  width: 100%;
  max-width: 520px;
}

#germany-map {
  width: 100%;
  height: auto;
  display: block;
}

#germany-map {
  filter: drop-shadow(0 4px 16px rgba(59,130,160,0.15));
}

#germany-outline {
  fill: #e8f4f9;
  stroke: #7dbfd6;
  stroke-width: 1.2;
  stroke-linejoin: round;
  stroke-linecap: round;
}

/* Pins */
.map-pin {
  cursor: pointer;
  transition: r 0.2s;
}
.map-pin circle.pin-bg {
  fill: var(--accent);
  stroke: #fff;
  stroke-width: 2;
  transition: fill 0.2s;
  transform-box: fill-box;
  transform-origin: center;
  animation: pin-breathe 3.8s ease-in-out infinite;
}
@keyframes pin-breathe {
  0%, 100% { transform: scale(1);    opacity: 0.90; }
  50%       { transform: scale(1.35); opacity: 0.65; }
}
.map-pin:hover circle.pin-bg,
.map-pin.active circle.pin-bg {
  fill: var(--accent-dark);
}
.map-pin .pin-label {
  font-size: 9px;
  fill: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.map-pin:hover .pin-label { opacity: 1; }

/* Popup */
.map-popup {
  position: absolute;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 20px;
  width: 260px;
  z-index: 20;
  animation: popupIn 0.2s ease;
}
@keyframes popupIn {
  from { opacity: 0; transform: scale(0.95) translateY(4px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.popup-close {
  position: absolute;
  top: 10px; right: 12px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1;
  padding: 2px 6px;
  border-radius: 4px;
}
.popup-close:hover { background: var(--bg-alt); }
.map-popup h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
  padding-right: 24px;
}
.map-popup ul li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.4;
}
.map-popup ul li:last-child { border-bottom: none; }

/* ============================================================
   REFERENZEN – FILTERLISTE
   ============================================================ */
.ref-filter {
  margin-bottom: 32px;
}
.filter-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  margin-bottom: 18px;
  transition: border-color var(--transition);
}
.filter-search:focus-within { border-color: var(--accent); }
.filter-search input {
  border: none;
  outline: none;
  background: none;
  font-size: 0.95rem;
  color: var(--text);
  flex: 1;
}
.filter-search input::placeholder { color: #94a3b8; }

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-btn {
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.83rem;
  font-weight: 600;
  background: var(--bg);
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.ref-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.ref-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--accent);
}
.ref-card-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.35;
}
.ref-card-meta {
  font-size: 0.81rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.ref-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.ref-tag {
  font-size: 0.73rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--accent-light);
  color: var(--accent);
}

.ref-empty {
  text-align: center;
  padding: 48px;
  color: var(--text-muted);
}

/* ============================================================
   BÜCHER
   ============================================================ */
.books-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 860px;
  margin: 0 auto;
}

.book-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.book-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* Cover image area */
.book-cover {
  width: 100%;
  height: 240px;
  flex-shrink: 0;
  background: #e9f0f6;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.book-cover img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  display: block;
  padding: 16px;
  box-sizing: border-box;
}

/* Placeholder for unpublished books */
.book-cover-placeholder {
  background: linear-gradient(145deg, #1c3a5e 0%, #0f2540 100%);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  padding: 28px;
}
.plh-eyebrow {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.plh-acronym {
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-yellow, #f8c842);
  line-height: 1;
  text-shadow: 0 2px 16px rgba(248,200,66,0.25);
}
.plh-subtitle {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  max-width: 200px;
}

/* Info section */
.book-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.book-status {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  display: inline-block;
  width: fit-content;
}
.book-status.published {
  background: rgba(34,197,94,0.12);
  color: #16a34a;
}
.book-status.in-progress {
  background: rgba(234,179,8,0.12);
  color: #b45309;
}
.book-info h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}
.book-subtitle {
  font-size: 0.85rem;
  color: var(--accent) !important;
  font-style: italic;
}
.book-info p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Equal-width buttons */
.book-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}
.book-btns a {
  text-align: center;
}

/* ============================================================
   KONTAKT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
}
.contact-item svg { color: var(--accent); flex-shrink: 0; }
.contact-item a { color: var(--text-muted); transition: color var(--transition); }
.contact-item a:hover { color: var(--accent); }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text);
}
.required { color: var(--accent); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #94a3b8; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.btn-submit { align-self: flex-start; }
.form-message { font-size: 0.88rem; padding: 12px 16px; border-radius: var(--radius-sm); }
.form-success { background: rgba(34,197,94,0.1); color: #16a34a; }
.form-error { background: rgba(239,68,68,0.1); color: #dc2626; }

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: rgba(15,23,42,0.97);
  color: rgba(255,255,255,0.6);
  padding: 32px 0;
  position: relative;
  z-index: 1;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
}
#footer a { transition: color var(--transition); }
#footer a:hover { color: #fff; }
.footer-links { display: flex; gap: 24px; }

/* ============================================================
   SEKTIONS-DOTS
   ============================================================ */
#section-dots {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 800;
}
.dot-item {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--accent);
  opacity: 0.5;
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}
.dot-item.active {
  background: var(--accent);
  opacity: 1;
  transform: scale(1.25);
}
.dot-item:hover { opacity: 1; }
.dot-item::before {
  content: attr(data-label);
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--text);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  font-family: 'Inter', sans-serif;
}
.dot-item:hover::before { opacity: 1; }

/* ============================================================
   FLOATING BUTTON
   ============================================================ */
#floating-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--accent);
  color: #fff;
  padding: 13px 22px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 9px;
  box-shadow: 0 6px 24px rgba(59,130,160,0.40);
  text-decoration: none;
  z-index: 700;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(.34,1.56,.64,1), background 0.2s;
}
#floating-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
#floating-btn:hover {
  background: var(--accent-dark);
  box-shadow: 0 8px 28px rgba(59,130,160,0.50);
}

/* ============================================================
   KARRIERE-TIMELINE
   ============================================================ */
.career-timeline {
  margin-top: 72px;
  padding-top: 64px;
  border-top: 1px solid var(--border);
}
.timeline-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}
.timeline-track {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 28px;
}
.timeline-track::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), rgba(59,130,160,0.1));
}
.tl-item {
  display: flex;
  gap: 28px;
  padding-bottom: 36px;
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.tl-item.tl-visible {
  opacity: 1;
  transform: translateX(0);
}
.tl-dot {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 0 0 5px rgba(59,130,160,0.12);
  margin-left: -10px;
  z-index: 1;
}
.tl-content { padding-top: 8px; }
.tl-year {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.tl-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.tl-desc {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ============================================================
   RESPONSIVE – TABLET (≤900px)
   ============================================================ */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .photo-placeholder { aspect-ratio: 4/3; max-width: 340px; }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .books-grid { grid-template-columns: 1fr; max-width: 420px; }
}

/* ============================================================
   RESPONSIVE – MOBILE (≤640px)
   ============================================================ */
@media (max-width: 768px) {
  #section-dots { display: none; }
  #floating-btn { bottom: 20px; right: 16px; padding: 11px 18px; font-size: 0.82rem; }
}

@media (max-width: 640px) {
  section { padding: 72px 0; }
  #zahlen { padding: 52px 0; }

  /* Nav mobile */
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    padding: 16px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; }
  .nav-cta { text-align: center; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-card { padding: 24px 16px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .book-cover { height: 180px; }
  .book-btns { grid-template-columns: 1fr; }

  .map-container { max-width: 100%; }
}
