/* =========================================================
   aboutme.css
   ---------------------------------------------------------
   FINAL
   ✅ Body scrollt NICHT (nur rechts scrollt)
   ✅ Links bleibt stabil
   ✅ Rechts hat eigenen Scrollbereich
   ✅ Home-Reiter passt jetzt mit in die Navigation
   ✅ Aktiver Reiter "Über mich" wird sauber hervorgehoben
   ✅ Mobile: normales Scrollen untereinander
   ========================================================= */

html {
  scrollbar-gutter: stable;
}

/* =========================================================
   1) VARIABLEN
   ---------------------------------------------------------
   Hier kommen nur die Zusatzwerte für diese Seite.
   Die Grundfarben kommen weiter aus style.css.
   ========================================================= */
:root {
  --header-h: 92px;
  --left-w: 420px;
  --gap: 28px;
}

/* =========================================================
   2) HEADER
   ---------------------------------------------------------
   Der Header bleibt oben sichtbar.
   Weil jetzt ein Reiter mehr da ist, geben wir etwas mehr
   Luft und lassen Umbruch sauber zu.
   ========================================================= */
header.top {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

/* etwas mehr Abstand für 4 Reiter */
.top-inner {
  gap: 18px;
}

/* aktive Seite "Über mich" sichtbar markieren
   funktioniert zusätzlich zu nav-btn-ghost */
.nav-btn.active {
  border-color: rgba(255, 122, 0, 0.28);
  background: linear-gradient(90deg, rgba(255, 122, 0, 0.16), rgba(16, 207, 199, 0.12));
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.10);
}

/* =========================================================
   3) BODY SCROLL AUS
   ---------------------------------------------------------
   Nur der rechte Inhaltsbereich scrollt auf Desktop.
   ========================================================= */
body {
  height: 100vh;
  overflow: hidden;
}

.about-shell {
  height: calc(100vh - var(--header-h));
  overflow: hidden;
}

/* =========================================================
   4) GRID
   ---------------------------------------------------------
   Links: Bild + Mail
   Rechts: Inhalt mit eigenem Scrollbereich
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: var(--left-w) minmax(0, 1fr);
  gap: var(--gap);
  align-items: start;

  height: calc(100vh - var(--header-h));
  padding-top: 18px;
  padding-bottom: 18px;
}

/* =========================================================
   5) LINKE SPALTE
   ---------------------------------------------------------
   Bleibt fest und ruhig.
   ========================================================= */
.about-left {
  display: grid;
  gap: 14px;
  align-content: start;
}

/* =========================================================
   6) RECHTE SPALTE
   ---------------------------------------------------------
   Dieser Bereich scrollt eigenständig.
   ========================================================= */
.about-right {
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 6px;
}

.about-right-content {
  padding-bottom: 18px;
}

/* =========================================================
   7) FOTO
   ---------------------------------------------------------
   Bild links mit weichem Kartenstil.
   ========================================================= */
.photo {
  margin: 0;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
}

.photo-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
  border: 0;
}

.photo-cap {
  display: none !important;
}

/* =========================================================
   8) MINI-MAILBOX
   ---------------------------------------------------------
   Nur die Mail, kein Zusatztext.
   ========================================================= */
.mini {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--r);
  padding: 14px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.mini-mail-only {
  padding: 14px;
}

.mini-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(16, 207, 199, 0.25);
  background: linear-gradient(90deg, rgba(16, 207, 199, 0.12), rgba(42, 140, 255, 0.10));
  font-weight: 950;
  color: #0a8f8a;
  text-decoration: none;
}

.mini-mail:hover {
  border-color: rgba(42, 140, 255, 0.30);
  box-shadow: 0 14px 34px rgba(16, 207, 199, 0.14);
}

/* =========================================================
   9) HERO RECHTS
   ---------------------------------------------------------
   Einstiegstext und kleine Pills
   ========================================================= */
.about-hero {
  border: 1px solid var(--line);
  background:
    radial-gradient(900px 240px at 15% 0%, rgba(16, 207, 199, 0.12), transparent 70%),
    radial-gradient(900px 240px at 85% 0%, rgba(42, 140, 255, 0.10), transparent 70%),
    rgba(255, 255, 255, 0.75);
  border-radius: var(--r);
  padding: 18px 18px 14px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
  margin-bottom: 14px;
}

.about-title {
  margin: 10px 0 10px;
  font-size: clamp(2.05rem, 3.2vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.about-lead {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 75ch;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  font-weight: 850;
  font-size: 0.92rem;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: rgba(255, 255, 255, 0.70);
  color: rgba(15, 23, 42, 0.78);
}

/* =========================================================
   10) KARTEN
   ---------------------------------------------------------
   Inhalt in ruhigen Karten.
   ========================================================= */
.cards {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  border-radius: var(--r);
  padding: 14px 14px 12px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.card h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.card ul,
.card ol {
  margin: 0;
  padding-left: 18px;
  color: rgba(15, 23, 42, 0.78);
  font-weight: 650;
}

.card li {
  margin: 6px 0;
}

.card-accent {
  background:
    radial-gradient(600px 220px at 0% 0%, rgba(16, 207, 199, 0.10), transparent 70%),
    radial-gradient(600px 220px at 100% 0%, rgba(42, 140, 255, 0.08), transparent 70%),
    rgba(255, 255, 255, 0.96);
  border-color: rgba(16, 207, 199, 0.20);
}

.muted {
  color: var(--muted);
}

/* =========================================================
   11) WERDEGANG / TIMELINE
   ---------------------------------------------------------
   Zeitleistenbereich
   ========================================================= */
.bio-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 8px 0 10px;
}

.timeline {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  border-radius: var(--r);
  padding: 14px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.06);
}

.tl-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  padding: 10px 0;
}

.tl-item + .tl-item {
  border-top: 1px dashed rgba(15, 23, 42, 0.12);
}

.tl-dot {
  width: 14px;
  height: 14px;
  margin-top: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--aqua), var(--blue));
  box-shadow: 0 10px 24px rgba(16, 207, 199, 0.16);
}

.tl-content h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.tl-content p {
  margin: 0;
  color: rgba(15, 23, 42, 0.75);
}

.link {
  font-weight: 900;
  color: rgba(15, 23, 42, 0.86);
  text-decoration: none;
  border-bottom: 2px solid rgba(42, 140, 255, 0.35);
}

.link:hover {
  border-bottom-color: rgba(16, 207, 199, 0.45);
}

/* =========================================================
   12) FOOTER IM RECHTEN PANEL
   ---------------------------------------------------------
   Nicht mittig, sondern sauber linksbündig.
   ========================================================= */
.footer.footer-in-panel {
  margin-top: 18px;
  padding: 18px 0 8px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  text-align: left;
}

.footer.footer-in-panel .footer-links,
.footer.footer-in-panel .footer-copy {
  text-align: left;
}

/* =========================================================
   13) TABLET / KLEINER DESKTOP
   ---------------------------------------------------------
   Wenn die Breite kleiner wird, bekommt links etwas weniger
   Platz, damit die Navigation oben entspannter bleibt.
   ========================================================= */
@media (max-width: 1180px) {
  :root {
    --left-w: 360px;
    --gap: 22px;
  }
}

/* =========================================================
   14) MOBILE
   ---------------------------------------------------------
   Hier wird wieder normales Scrollen aktiviert
   und alles untereinander angeordnet.
   ========================================================= */
@media (max-width: 980px) {
  body {
    height: auto;
    overflow: auto;
  }

  .about-shell {
    height: auto;
    overflow: visible;
  }

  .about-grid {
    height: auto;
    grid-template-columns: 1fr;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .about-right {
    height: auto;
    overflow: visible;
    padding-right: 0;
  }
}

/* =========================================================
   15) SEHR KLEINE DISPLAYS
   ---------------------------------------------------------
   Damit die 4 Reiter oben sauber umbrechen können.
   ========================================================= */
@media (max-width: 640px) {
  .top-inner {
    gap: 12px;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
  }
}