/* ── Inter (lokal, Latin) — 400, 700, 900; 500/600 → gleiche Datei wie 700, kein Italic ── */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/inter/inter-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/inter/inter-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Inter-Bold.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/inter/inter-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../fonts/inter/inter-latin-900-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Basis: Root-Größe, Standardfarbe, Box sizing ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 100%; /* 1rem ≈ Browser-Standard (meist 16px) */
  /* Verhindert Layoutsprung an ~1300px: ohne gutter erscheint die Scrollbar erst beim Scrollen
     und verringert die Viewportbreite (Breakpoint max. 1299.98px springt kurz an). */
  scrollbar-gutter: stable;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  color: #000;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
   /* entspricht bisher ~14px bei 16px-Root */
  line-height: 1.5;
  overflow-x: hidden;
}
section { margin: 4rem 0; }

/* Sidebar-Breite: fixierte Spalte + Body-Einzug (siehe .hero-section--fixed-sidebar) */
:root {
  --hero-sidebar-w: 22rem;
}

a { color: #000; }
.bg-black a { color: #fff; }
.bg-black a.btn-white { color: #000; }
.bg-black a.btn-white:hover { color: #fff; }
/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero-wrap {
  display: flex;
  height: 100vh;
  position: relative;
}
/* Foto-Spalte rechts von der Sidebar */
.hero-main {
  flex: 1;
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 0;
}

/* Mobil: nur Foto-Bereich pinnen; Desktop: kein zusätzlicher Box-Wrapper */
.hero-fullsize {
  display: contents;
}

.hero-photo__dim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: #000;
  opacity: 0;
}

/* Mobil: Kopfzeile standardmäßig aus */
.hero-mobile-bar {
  display: none;
}
.hero-text {
  margin-top: 10vh;
}
/* ── Sprachumschaltung ── */
.lang-switch {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: #fff;
  padding: .5rem;
}

.lang-btn {
  display: inline-block;
  padding: 6px 12px;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: background 0.2s;
  color: #000;
}

.lang-btn.active {
  background: #fff;
  font-weight: 900;
}

.lang-btn:hover {
  color: #555;
}

.lang-switch .sep {
  color: #555;
  font-size: 0.6875rem;
}

/* Im Offcanvas: im normalen Fluss, nicht wie Desktop oben rechts fixiert */
.lang-switch--on-dark {
  position: static;
  top: auto;
  right: auto;
  inset: auto;
  z-index: auto;
}

/* ── Linke Dock: Nav-Spalte (--hero-sidebar-w); Logo (.hero-site-brand) mit eigener Breite ── */
.hero-left-dock {
  box-sizing: border-box;
}

.hero-site-brand {
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  /* Im Dock: Basisbreite = Nav-Spalte; darf bei overflow-x des Docks sichtbar überstehen */
  width: var(--hero-sidebar-w);
  min-width: 0;
}

.hero-sidebar-stack {
  box-sizing: border-box;
}

/* ── Sidebar-Nav (schmale Spalte --hero-sidebar-w) ── */
.hero-sidebar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: var(--hero-sidebar-w);
  min-height: 0;
  position: relative;
  z-index: 2;
  background: transparent;
}

/* Logo oben, Nav in .hero-sidebar-inner darunter */
.hero-sidebar-inner {
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
}

.sidebar-top {
  min-width: 0;
  width: 100%;
  background: transparent;
  padding-top: 1.75rem;
  padding-right: 3rem;
  padding-bottom: 1.5rem;
  padding-left: var(--sidebar-top-padding-left, 1.5rem);
  flex-shrink: 0;
  box-sizing: border-box;
  transition: padding-left 0.3s ease-out;
}




.sidebar-top .logo-link {
  display: block;
  width: fit-content;
  max-width: min(100%, var(--sidebar-logo-max-w, 100%));
  transition: max-width 0.3s ease-out;
  box-sizing: border-box;
}

.logo-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.logo-link:hover {
  opacity: 0.88;
}

.site-logo {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.sidebar-nav-wrap {
  background: #000;
  padding: 10px 0;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
}

/* Desktop: fixiertes Dock (Logo + Nav-Stack) */


/* Dock-Menü (Tablet schmal, nur sichtbar wenn body.hero-dock-compact) */
.hero-dock-menu-btn {
  display: none;
  box-sizing: border-box;
}

/* Tablet 768–1049px: schmale Spalte, --hero-sidebar-w = 10vw; Dock 14rem, Stack volle Breite */

.wert { margin-top: .5rem; display: block; }


/* Unterhalb 1300px bis Tablet (1050): schmale Nav-Spalte + Hero-Textbox wie abgestimmt */


/* Nach Scroll: Logo-Zeile an Nav-Spaltenbreite (max-width → sanfter als harter width-Wechsel) */
.hero-site-brand.scroll .sidebar-top {
  /* max-width: var(--hero-sidebar-w); */
  width: 100%;
  padding-right: 0;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li {
  position: relative;
  white-space: nowrap;
  transition: .5s;
  padding-left: 30px;
  padding-right: 50px;
}
.sidebar-nav li:hover {
  /* border-left: 3px solid #fff; */
  transition: .5s;
  padding-left: 50px;
  padding-right: 30px;
}
.sidebar-nav li.active::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 2rem;
  right: 0;
  height: 1px;
  background: #000;
}
.sidebar-nav li.active { background: #fff; }
.sidebar-nav li.active a { color: #000; }
.sidebar-nav li:not(:last-child)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 2rem;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 1);
}

.sidebar-nav a {
  font-size: 0.9rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
  padding: 12px 30px 12px 0;
  display: block;
}

.sidebar-nav a:hover {
  opacity: 0.65;
}

/* ── Hero Foto ── */
.hero-photo {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: grayscale(100%);
}

/* ── Hero Textbox (in .hero-main; Desktop über dem Foto positioniert) ── */
.hero-textbox {
  background: #fff;
  z-index: 10;
}

.hero-main > .hero-textbox {
  position: absolute;
  bottom: 10vh;
  /* left: calc(15rem - var(--hero-sidebar-w)); */
  left: calc(18rem - var(--hero-sidebar-w));
  width: 40vw;
  z-index: 99;
  max-width: 800px;
}

/* ── Hero Unterseite (Article): nur weißer Bereich rechts, Inhalt über Markup + .dark-line ── */
.hero-section--article .hero-wrap {
  height: auto;
  min-height: inherit;
  align-items: stretch;
}

.hero-section--article .hero-main {
  flex-direction: column;
  align-items: stretch;
  background: #fff;
  overflow-x: hidden;
  margin-top: 180px;
  /* padding: 0 2.5rem 2.5rem; */
  padding: 0;
  box-sizing: border-box;
}



.dark-line {
  border-left: 6px solid #000;
  padding: 2rem 2.25rem 2rem 1.75rem;
}
.bg-black .dark-line {
  border-left: none;
  padding: 0;
}
h1,
h2,
h3 {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
/* h2.page-h1 { line-height: 1.5; } */
.hero-section--article .hero-main h1 {
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  margin-bottom: 2rem;
}

/* Zwei Spalten Fließtext (ohne Bootstrap-Row) */
.hero-section--article .text-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2.5rem;
  align-items: start;
}

.hero-section--article .text-2col p {
  font-size: 0.9375rem;
  line-height: 1.55;
}

.hero-section--article .text-2col p + p {
  margin-top: 1rem;
}



h2.light {
  text-transform: none;
  font-weight: 400;
  font-size: 1.75rem;
  margin-bottom: 2rem;
  width: 50%;
  min-width: 400px;
}
p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}


.hero-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: none;
  background: #000;
  cursor: pointer;
  flex-shrink: 0;
}

.hero-menu-btn:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.hero-menu-btn-bars {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.3125rem;
}

.hero-menu-btn-bars span {
  display: block;
  width: 1.125rem;
  height: 2px;
  background: #fff;
}

.site-logo--compact {
  display: block;
  width: auto;
  max-width: min(11rem, 52vw);
  max-height: 2.25rem;
  height: auto;
}

.logo-link--compact {
  min-width: 0;
}

/* Seitliches Vollhöhen-Menü (Bootstrap offcanvas-end) */
.hero-nav-offcanvas.offcanvas.offcanvas-end {
  --bs-offcanvas-width: 100vw;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: #fff;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  border-left: solid #fff 6px;
}

.hero-nav-offcanvas.offcanvas {
  display: flex;
  flex-direction: column;
}

.hero-nav-offcanvas .offcanvas-header {
  flex-shrink: 0;
  padding: max(1rem, env(safe-area-inset-top, 0px)) 1rem 0.75rem;
}

.hero-nav-offcanvas .offcanvas-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px));
}

.hero-offcanvas-nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.hero-offcanvas-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Sprachzeile im Panel: kein weißer Desktop-Kasten */
.hero-nav-offcanvas .lang-switch.lang-switch--on-dark {
  background: transparent;
  padding: 0;
}

.hero-offcanvas-list li:last-child a {
  border-bottom: none;
}

.hero-offcanvas-list a {
  display: block;
  padding: 0.875rem 0;
  font-size: 1.0625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 1);
}

.hero-offcanvas-list a:hover {
  opacity: 0.75;
  color: #fff;
}

.hero-offcanvas-footer {
  flex-shrink: 0;
  margin-top: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 1);
}

.hero-offcanvas-lang-label {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 0.75rem;
}

.lang-switch--on-dark .lang-btn {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

.lang-switch--on-dark .lang-btn.active {
  background: #fff;
  color: #000;
  border-color: #fff;
  font-weight: 700;
}

.lang-switch--on-dark .lang-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.lang-switch--on-dark .lang-btn.active:hover {
  background: #fff;
  color: #000;
}

.lang-switch--on-dark .sep {
  color: rgba(255, 255, 255, 0.5);
}

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
.about-section {
  background: #fff;
  padding: 4.5rem 0 5rem;
}

/* Primär: schwarz, heller Text — überschreibt Bootstrap .btn nach Ladereihenfolge */
.btn {
  display: inline-block;
  padding: 0.5625rem 1.375rem;
  background: #000;
  color: #fff;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 1.75rem;
  transition: .5s;
  border-radius: 0;
  border: solid 1px #000;
}

.btn:hover {
  transition: .5s;
  opacity: 0.82;
  color: #000;
  border: solid 1px #000;
}
/* Sekundär: weiß mit schwarzem Rand — nur so breit wie der Text */
.bg-black .btn-info,
.btn-white {
  display: inline-block !important;
  width: auto !important;
  max-width: 100%;
  padding: 0.5625rem 1.375rem;
  border: 1px solid #000;
  color: #000;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 1.125rem;
  transition: .5s;
  box-sizing: border-box;
}

.btn-white:hover {
  border-color: #fff;
  background: #000;
  color: #fff;
  transition: .5s;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.buttons .btn {
  margin-top: 0;
}

.lehrauftrag {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.lehrauftrag .directeditmode {
  border-top: 4px solid #000;
  padding-top: 15px;
  margin-top: 1.5rem;
}
.lehrauftrag h3 {
  font-size: 1.25rem;
  margin-top: 1rem;
}
/* ══════════════════════════════════════
   SERVICES
══════════════════════════════════════ */
.bg-black {
  background: #000;
  padding: 4.5rem 0;
}
.bg-black.no-padding {
  background: #000;
  padding-bottom: 0;
  padding-top: 0;
  margin-top: 7rem;
}
.bg-black-content {
  padding: 3rem 0;
}
.bg-black h2,
.bg-black h3 {
  color: #fff;
  text-transform: uppercase;
}

.bg-black h2 {
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 0 0 1.75rem;
}
.bg-black-content h2 {
  margin-bottom: 2.5rem;
}

.bg-black h3 {
  margin: 0 0 1rem;
}

.bg-black p {
  color: #fff;
  /*  */
  /* line-height: 1.5; */
}

.bg-black a.btn-white {
  margin-top: 0;
}

/* Drei Spalten in .bg-black (Startseite Services + z. B. Referenzen): gleiche Zeilenhöhe; Button unten bündig */
.bg-black .container-content > .row > .col-md-4 {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 0;
}

.bg-black .container-content > .row > .col-md-4 > p {
  flex: 1 1 auto;
  margin-bottom: 0;
}

.bg-black .container-content > .row > .col-md-4 > p:has(+ a.btn-white) {
  margin-bottom: 2rem;
}

.bg-black .container-content > .row > [class*="col-"] > a.btn-white,
.bg-black .container-content > .row > [class*="col-"] > a.btn.btn-info,
.bg-black .container-content > p > a.btn-white,
.bg-black .container-content > p > a.btn-info {
  margin-top: auto;
  align-self: flex-start;
  width: auto !important;
}

.bg-black .container-content > p > a.btn-white,
.bg-black .container-content > p > a.btn-info {
  margin-top: 0;
}

/* Template 1: Bricks direkt in .row — Button in voller Zeilenbreite, optisch links wie Text */
.container-content > .row > .row-link-wrap {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
}

.container-content > .row > .row-link-wrap > a.btn,
.container-content > .row > p > a.btn {
  width: auto !important;
  max-width: 100%;
  display: inline-block !important;
}

.container-content > .row > a.btn {
  flex: 0 0 100%;
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
  display: block;
}

.container-content > .row > a.btn.btn-info,
.container-content > .row > a.btn-white {
  display: inline-block !important;
  width: auto !important;
  max-width: 100%;
}

.professor-img-wrap {
  position: relative;
  overflow: hidden;
  height: 100%;
  min-height: 18.75rem;
}

.professor-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%);
}

.professor-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 1.25rem 1.5rem;
  
  font-weight: 600;
  line-height: 1.4;
}

h2 + .block_3_col {
  margin-top: -1.5rem;
}
.block_3_col {
  padding-left: 30px;
}
.pg1 .block_3_col {
  padding-left: 20px;
}
/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
.contact-section {
  background: #000;
  padding: 2.5rem 0 3rem;
  margin-bottom: 0;
  padding-left: 30px;
}

.contact-section h2 {
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
  margin-bottom: .65rem;
}

.contact-section p {
  line-height: 1.75;
  color: #ccc;
}

.contact-name {
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.contact-details {
  line-height: 1.5;
  color: #ccc;
}

.contact-details a {
  color: #fff;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}
.contact-details img {
  width: 16px;
  height: 18px;
  vertical-align: middle;
  margin-right: 0.5rem;
}
/* Icon-Spalte: feste Mindesthöhe, damit Überschriften + Linie über Karten hinweg bündig sind */
.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 55px;
  min-height: 65px;
}

.card__icon img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.card__hl {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
  border-bottom: 2px solid #fff;
  padding-bottom: 5px;
  margin-bottom: 1rem;
}

/* Bild + Headline + Text (Auszeichnungszeile, z. B. Referenzen) */
.bhl-item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.25rem 2.5rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 4px solid #000;
}

.bhl-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.bhl-item__media {
  flex: 0 0 auto;
  width: min(11rem, 32%);
  max-width: 12.5rem;
}

.bhl-item__media img,
.bhl-item__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.bhl-item__body {
  flex: 1 1 14rem;
  min-width: 0;
}

.bhl-item__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  line-height: 1.25;
}

.bhl-item__text {
  margin: 0 0 0.5rem;
  
  line-height: 1.5;
  font-weight: 400;
  text-transform: none;
}

.bhl-item__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.bhl-item__link {
  display: inline-block;
  margin-top: 0.15rem;
  
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: inherit;
  text-decoration: underline;
}

.bhl-item__link:hover {
  color: inherit;
  text-decoration: underline;
}

.card__hl h3 {
  font-size: 1.2rem !important;
  margin-bottom: 0;
  font-weight: 600;
}

/* Referenz-Sektion (Icon + Kategorie + Liste) */
.ref-sektion {
  margin: 0 0 2rem;
}
.ref-sektion:last-child {
  margin-bottom: 0;
}

.ref-sektion__head.card__hl--on-light {
  border-bottom-color: #000;
}

.ref-sektion__title {
  margin-bottom: 0;
}

.ref-sektion__list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.ref-sektion__item {
  padding: 0.65rem 0 0.75rem;
}

.ref-sektion__item + .ref-sektion__item {
  padding-top: 0.85rem;
}

.ref-sektion__line1,
.ref-sektion__wert {
  margin: 0;
  
  line-height: 1.5;
  font-weight: 400;
  text-transform: none;
}

.ref-sektion__line1 {
  margin-bottom: 0.2rem;
}

.ref-sektion__line1 strong,
.ref-sektion__wert strong {
  font-weight: 700;
}

/* Buch-Eintrag (Cover + Metadaten + Links) */
h3 + .buch-item,
h3 + .pub-jahr
{
  margin-top: 1.5rem;
}
.buch-item {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.5rem 2.25rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 4px solid #000;
}

.buch-item:last-child {
  margin-bottom: 0;
}

.buch-item__cover {
  flex: 0 0 auto;
  width: min(7.5rem, 28%);
  max-width: 8.5rem;
}

.buch-item__cover-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.buch-item__body {
  flex: 1 1 16rem;
  min-width: 0;
}

.buch-item__title {
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
  line-height: 1.2;
  text-transform: none;
  font-weight: 600;
}

.buch-item__meta {
  margin: 0 0 0.5rem;
  
  line-height: 1.45;
  font-style: italic;
  font-weight: 400;
  text-transform: none;
}

.buch-item__text {
  margin: 0 0 0.65rem;
  
  line-height: 1.55;
  font-weight: 400;
  text-transform: none;
}

.buch-item__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  margin-top: 0.35rem;
}

.buch-item__link {
  display: inline-block;
  
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: inherit;
  text-decoration: underline;
}

.buch-item__link:hover {
  color: inherit;
  text-decoration: underline;
}

/* Publikationen: Jahresblock */
.pub-jahr {
  margin-bottom: 2rem;
}

.pub-jahr:last-child {
  margin-bottom: 0;
}

/* Folge-Block mit gleichem Jahr: keine zweite Überschrift, Liste nahtlos */
.pub-jahr--continued {
  margin-top: -2rem;
  margin-bottom: 2rem;
}

.pub-jahr--continued .pub-jahr__list {
  margin-top: 0;
}

.pub-jahr__year {
  margin: 0 0 0.35rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid #000;
  font-size: 1.25rem;
  line-height: 1.2;
  text-transform: none;
}

.pub-jahr__list {
  list-style: none;
  padding: 0;
  margin: 0.85rem 0 0;
}

.pub-jahr__item {
  padding: 0.5rem 0 0.65rem;
}

.pub-jahr__item + .pub-jahr__item {
  padding-top: 0.55rem;
}

.pub-jahr__title,
.pub-jahr__cite {
  margin: 0;
  line-height: 1.5;
  font-weight: 400;
  text-transform: none;
}

.pub-jahr__title {
  margin-bottom: 0.15rem;
}

.pub-jahr__title strong {
  font-weight: 700;
}

.pub-jahr__cite {
  color: inherit;
  font-style: italic;
}
.s6 .pub-jahr__cite, .s16 .pub-jahr__cite 
{ font-style: normal; } 
/* Timeline / Lebenslauf */
.timeline {
  --timeline-date-w: 7.5rem;
  --timeline-line-offset: 1.25rem;
  --timeline-line-w: 4px;
  --timeline-body-gap: 1.25rem;
  margin-bottom: 2rem;
}

.timeline__list {
  position: relative;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Durchgängige Linie (nicht pro Zeile) */
.timeline__list::before {
  content: "";
  position: absolute;
  left: calc(var(--timeline-date-w) + var(--timeline-line-offset));
  top: 0.15rem;
  bottom: 0;
  width: var(--timeline-line-w);
  background: #000;
  pointer-events: none;
}

.timeline__item {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(5.5rem, var(--timeline-date-w)) minmax(0, 1fr);
  column-gap: calc(var(--timeline-line-offset) + var(--timeline-line-w) + var(--timeline-body-gap));
  align-items: start;
  padding-bottom: 1.1rem;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item--no-date .timeline__date,
.timeline__item--hide-date .timeline__date {
  visibility: hidden;
}

.timeline__date {
  padding-top: 0.1rem;
  font-weight: 600 !important;
  line-height: 1.4;
  font-weight: 400;
  text-transform: none;
  text-align: left;
}

.timeline__body {
  min-width: 0;
  padding-top: 0.05rem;
}

.timeline__title {
  margin: 0 0 0.25rem;
  
  line-height: 1.45;
  font-weight: 400;
  text-transform: none;
}

.timeline__title strong {
  font-weight: 700;
}

.timeline__detail {
  
  line-height: 1.5;
  font-weight: 400;
  text-transform: none;
  color: inherit;
}

.timeline__detail p {
  margin: 0 0 0.35rem;
}

.timeline__detail p:last-child {
  margin-bottom: 0;
}

.timeline__detail em {
  font-style: italic;
}

/* Gleiche Kartenhöhe in der Bootstrap-Zeile (Zeile stretcht Spalten) */
.icon-card {
  display: flex;
  flex-direction: column;
  /* height: 100%; */
  padding: 0 15px 0 6px;
}

.icon-card > p {
  flex: 1 1 auto;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  background: #fff;
  padding: 1.25rem 0;
  border-top: 1px solid #e0e0e0;
}

.site-footer a {
  /* font-size: 0.6875rem; */
  text-decoration: none;
  /* letter-spacing: 0.04em; */
  color: #000;
}

.site-footer a:hover {
  color: #555;
}

.site-footer a:before {
  content: "|";
  color: #000;
  margin: 0 0.5rem;
  font-size: 0.5rem;
}
.site-footer a:first-child:before {
  display: none;
}
.container-content {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2.5rem;
}
.hero-section { margin-top: 0;}

.multiCol {
  column-count: 2;
  column-gap: 20px;
}

/* Absätze (und ähnliche Blöcke) nicht mitten im <p> umbrechen */
.multiCol p,
.multiCol h2,
.multiCol h3,
.multiCol h4,
.multiCol li,
.multiCol blockquote {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}
/* Block 1/3 ohne Bild: Text oben, Button unten (gleiche Spaltenhöhe in der Zeile) */
.block-1-3-col {
  display: flex;
  flex-direction: column;
}

.block-1-3-col .body-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 auto;
  min-height: 100%;
}

.block-1-3-col .body-content > p {
  flex: 1 1 auto;
  margin-bottom: 0;
}

.block-1-3-col .body-content > a.btn-white,
.block-1-3-col .body-content > a.btn-info,
.block-1-3-col .body-content > a.btn {
  margin-top: auto;
  flex-shrink: 0;
  align-self: flex-start;
  width: auto !important;
}
.btn-info:hover {
  background: #fff;
  border-color: #000;
  color: #000;
}
.btn-card {
  margin-top: 1.125rem !important;
}
.zitat {
  font-style: italic;
  font-size: 2rem !important;
  line-height: 1.5;
  font-weight: 400;
  text-transform: none;
}

h2 i, h4 i { display: block; margin-bottom: 1rem; font-size: 1rem !important; font-style: normal; text-transform: none; }
h2.page-h1 + h4 { margin-top: -.75rem }
/* ═══════════════════════════════════════════════════════════════════════════
   Media queries — sortiert nach Viewport (breit → schmal)
   1) prefers-reduced-motion (Logo-Zeile, global)
   2) min-width 768px (Dock / Desktop-Sidebar)
   3) 1050px–1299.98px (12rem-Spalte + Hero-Textbox)
   4) 768px–1049.98px (Tablet-Dock / Hamburger)
   5) prefers-reduced-motion + Tablet (Transitions aus)
   6) max-width 767.98px (Mobil)
═══════════════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  .sidebar-top {
    transition: none;
  }

  .sidebar-top .logo-link {
    transition: none;
  }
}

@media (min-width: 768px) {
  /* Einzug = Nav-Spaltenbreite */
  .bg-black,
  .contact-section,
  .std-section,
  section
   {
    padding-left: var(--hero-sidebar-w);
  }

  body:has(.hero-section--fixed-sidebar) .hero-left-dock {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 50px;
    width: var(--hero-sidebar-w);
    z-index: 25;
    overflow-x: visible;
    overflow-y: visible;
    box-sizing: border-box;
    /* Platz unter dem fixed Logo — --hero-site-brand-h setzt hero-sidebar-logo-scroll.js */
    padding-top: var(--hero-site-brand-h, 5.75rem);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  /* Logo: eigenes Layer über der Nav-Spalte (Viewport fix, Breiten wie unten / Breakpoints) */
  body:has(.hero-section--fixed-sidebar) .hero-site-brand {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 26;
  }

  body:has(.hero-section--fixed-sidebar) .hero-sidebar-stack {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    overflow-x: visible;
    overflow-y: auto;
  }

  body:has(.hero-section--fixed-sidebar) .hero-sidebar {
    position: static;
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    overflow-x: visible;
  }

  /* Nav vertikal im Bereich unter dem Logo zentrieren */
  body:has(.hero-section--fixed-sidebar) .hero-sidebar-inner {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Editorial-Hero: kein vertikales Zentrieren, Abstand nach oben */
  body:has(.hero-section--article) .hero-sidebar-inner {
    justify-content: flex-start;
    padding-top: 75px;
  }
}
@media (max-width: 1500px) {
  .hero-main > .hero-textbox {
    bottom: 10vh;
    left: calc(18rem - var(--hero-sidebar-w));
    width: 40vw;
    max-width: 500px;
  }
}

@media (max-width: 1299.98px) and (min-width: 1050px) {
  :root {
    --hero-sidebar-w: 12rem;
  }

  .hero-section:not(.hero-section--article) .hero-main {
    margin-left: 100px;
  }

  .hero-section:not(.hero-section--article) .hero-main > .hero-textbox {
    width: 50vw;
    margin-left: -100px;
  }

  /* Logo: etwas breiter als 12rem-Nav, aber nicht über die Hero-Fläche hinaus */
  .hero-site-brand {
    width: auto;
    max-width: min(21rem, calc(100vw - var(--hero-sidebar-w) - 1.5rem));
  }

  .hero-site-brand .sidebar-top {
    width: 18rem;
    max-width: 100%;
    min-width: 0;
    padding-right: 2rem;
  }

  .hero-section--article .hero-main {
    margin-top: 18vh;
  }
}
@media (max-width: 1049.98px) {
  .sidebar-nav a {
    padding: 12px 10px 12px 0;
  }
}
@media (max-width: 1049.98px) and (min-width: 768px) {
  :root {
    --hero-sidebar-w: 10vw;
  }

  body:has(.hero-section--fixed-sidebar) {
    /* padding-left: 40px; */
    transition: padding-left 0.25s ease;
  }

  body.hero-dock-compact:has(.hero-section--fixed-sidebar) {
    /* padding-left: 40px; */
  }

  body:has(.hero-section--fixed-sidebar) .hero-left-dock {
    width: 14rem;
    transition: width 0.25s ease;
    background: transparent;
  }

  body.hero-dock-compact:has(.hero-section--fixed-sidebar) .hero-left-dock {
    width: 40px;
    padding-top: max(0.5rem, env(safe-area-inset-top, 0px)) !important;
    overflow-x: hidden;
  }

  body:has(.hero-section--fixed-sidebar) .hero-sidebar-stack {
    width: 100%;
    align-items: stretch;
    gap: 0.75rem;
  }

  body:has(.hero-section--fixed-sidebar) .hero-sidebar {
    width: 100%;
    background: transparent;
  }

  /* Vertikale Nav (Tablet): weich aus-/einblenden — kein display:none (sonst kein Slide) */
  body:has(.hero-section--fixed-sidebar) .hero-sidebar-inner .sidebar-nav-wrap {
    transform: translateX(0);
    opacity: 1;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  /* Wie mit display:none: keine Geisterhöhe — sonst flex:1 der Innern zentriert eine leere Fläche / Sprung */
  body.hero-dock-compact .hero-sidebar-inner {
    flex: 0 0 auto;
    min-height: 0;
    position: relative;
    overflow-x: hidden;
  }

  body.hero-dock-compact .hero-sidebar-inner .sidebar-nav-wrap {
    position: absolute;
    left: 0;
    top: 0;
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
  }

  .hero-site-brand {
    width: auto;
    max-width: min(20rem, calc(100vw - 14rem - 1rem));
    transition:
      max-width 0.25s ease,
      opacity 0.25s ease,
      visibility 0.25s ease;
    opacity: 1;
    visibility: visible;
  }
  .hero-section--article .hero-main {
    margin-top: 18vh;
  }
  /* Kompaktes Dock: Logo aus (fixiertes Panel sonst über schmaler Spalte / Hamburger) */
  body.hero-dock-compact:has(.hero-section--fixed-sidebar) .hero-site-brand {
    max-width: min(18rem, calc(100vw - 8rem - 1rem));
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  .hero-site-brand .sidebar-top {
    width: auto;
    max-width: 100%;
    min-width: 0;
  }

  .hero-dock-menu-btn {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.75rem;
    padding: 0.35rem 0;
    border: none;
    background: #000;
    cursor: pointer;
    flex-shrink: 0;
  }

  .hero-dock-menu-btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
  }

  body.hero-dock-compact .hero-dock-menu-btn {
    display: inline-flex;
  }

  body.hero-dock-compact .hero-sidebar {
    flex: 0 0 auto;
    min-height: 0;
  }

  body.hero-dock-compact:has(.hero-section:not(.hero-section--article)) .hero-sidebar-inner {
    justify-content: flex-start;
    padding-top: 0;
  }

  body.hero-dock-compact:has(.hero-section--article) .hero-sidebar-inner {
    justify-content: flex-start;
    padding-top: 4rem;
  }
  .hero-section:not(.hero-section--article) .hero-main {
    margin-left: 250px;
  }

  .hero-section:not(.hero-section--article) .hero-main > .hero-textbox {
    width: 60vw;
    margin-left: -220px;
  }
  .hero-section--article .hero-main {
    margin-left: 145px;
  }
  .bg-black, .contact-section, section, .std-section {
    padding-left: 15px;
  }
  h2.light {
      width: 100%;
  }
  .multiCol {
    column-count: inherit;
  }
}

@media (prefers-reduced-motion: reduce) {
  @media (max-width: 1049.98px) and (min-width: 768px) {
    body:has(.hero-section--fixed-sidebar) {
      transition: none;
    }

    body:has(.hero-section--fixed-sidebar) .hero-left-dock {
      transition: none;
    }

    .hero-site-brand {
      transition: none;
    }

    body:has(.hero-section--fixed-sidebar) .hero-sidebar-inner .sidebar-nav-wrap {
      transition: none;
    }
  }
}

@media (max-width: 767.98px) {
  .hero-section--article .text-2col {
    grid-template-columns: 1fr;
  }
  .multiCol {
    column-count: 1;
    column-gap: 0;
  }
  body:has(.hero-section--fixed-sidebar) {
    padding-left: 0 !important;
  }
  .icon-card {
    padding: 0 15px 0 15px;
  }
  /* Navbar + Bild = eine Viewporthöhe; Text darunter im Dokumentfluss */
  .hero-section {
    /* Höhe der Kopfzeile ≈ oben/unten Padding + max(Logo, Menübutton) */
    --hero-mobile-bar-h: calc(
      max(0.75rem, env(safe-area-inset-top, 0px)) + 0.75rem + 0.75rem + max(3.375rem, 2.75rem)
    );
  }

  /* Abstand Hero -> nächster Container deutlich kleiner */
  .hero-section {
    margin: 0;
  }

  #after-hero {
    margin-top: 0;
  }

  .hero-wrap {
    flex-direction: column;
    height: auto;
    min-height: 0;
    /* Platz für fixed Navbar (Bar steht aus dem Fluss) */
    padding-top: var(--hero-mobile-bar-h);
  }
  .container-content {
    padding: 0 20px;
  }
  .lang-switch--desktop {
    display: none !important;
  }

  /* Falls Toolbar-Sprache noch im Markup vorkommt: mobil ausblenden */
  .hero-mobile-bar .lang-switch--toolbar {
    display: none !important;
  }

  .hero-mobile-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-shrink: 0;
    padding: 0.75rem 1rem;
    padding-top: max(0.75rem, env(safe-area-inset-top, 0px));
    background: #fff;
    /* unter Offcanvas (1045), über Seiteninhalt */
    z-index: 1030;
  }

  .hero-mobile-bar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
  }

  .hero-left-dock {
    display: none !important;
  }

  /* Desktop-Logo liegt im Markup vor dem Hero; nur ≥768px fixed — mobil ausblenden */
  .hero-site-brand {
    display: none !important;
  }

  .hero-main {
    flex: 0 0 auto;
    flex-direction: column;
    width: 100%;
    /*
     * lvh = large viewport height (URL-Bar versteckt) — stabil, kein Zoom-Sprung.
     * 185lvh: Sticky-Dauer reicht bis das Weiß-Fade abgeschlossen ist.
     */
    min-height: calc(160lvh - var(--hero-mobile-bar-h));
    height: auto;
    overflow: visible;
  }

  .hero-fullsize {
    display: block;
    width: 100%;
    flex-shrink: 0;
    /* Bild klebt oben, während Text von unten einrollt */
    position: sticky;
    top: var(--hero-mobile-bar-h);
    /*
     * lvh statt svh/dvh: Bild füllt den Viewport sobald URL-Bar verschwindet,
     * ohne zu wachsen oder zu springen.
     */
    min-height: calc(100lvh - var(--hero-mobile-bar-h));
    height: calc(100lvh - var(--hero-mobile-bar-h));
  }

  .hero-main .hero-photo {
    min-height: 100%;
    height: 100%;
  }

  .hero-main > .hero-textbox {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: none;
    margin: 0;
    flex-shrink: 0;
    box-sizing: border-box;
    z-index: 6;
  }

  /* Article-Hero: kein Sticky-Foto, normale Scrollhöhe */
  .hero-section--article .hero-wrap {
    min-height: 0;
  }

  .hero-section--article .hero-main {
    min-height: 0 !important;
    margin-top: 0;
    padding: 1.25rem 1.25rem 1.5rem 2px;
  }

  .hero-section--article .hero-main .dark-line {
    width: auto;
    max-width: none;
    margin-left: 0;
    padding: 1rem 1rem 1rem 1rem;
  }

  .hero-fullsize {
    background: #000;
  }

  /* Weiße Überblendung statt schwarz */
  .hero-photo__dim {
    background: #fff;
  }

  .hero-textbox.dark-line {
    padding: 1.25rem 1rem 1.5rem 1rem;
    border-left-width: 5px;
    width: 80vw;
    margin-left: 10vw;
  }

  .hero-textbox p {
    font-size: 0.8125rem;
  }

  .site-logo--compact {
    max-width: min(16.5rem, 72vw);
    max-height: 3.375rem;
  }
  .lang-btn {
    font-size: 1rem;
  }
  .lang-switch span {
    display: none;
  }
  .site-logo--compact {
    max-width: inherit;
    max-height: inherit;
    width: 250px;
    height: auto;
  }
  .site-footer {
    text-align: center;
  }

  h2.light {
    min-width: inherit !important;
    width: 100% !important;
  }
  .block-1-3-col {
    margin-top: 4rem;
  }
  .portrait {
    margin-top: 4rem !important;
  }
  .portrait-img {
    margin-bottom: 5rem !important;
    margin-top: 2rem !important;
  }
}
