/* SGMM Nachbau – Redesign 2026/27 im HSG-Markensystem
   Quelle Marke: Vault, 02 Universität/Institut/Marke/HSG Markenwelt Basiselemente.md
   Grundsätze: HSG-Grün dominiert, Gill Sans Light für Titel, Palatino für Lauftext,
   grüne Schrift erst ab 18 pt (WCAG laut Markenwelt). */

@view-transition { navigation: auto; }

:root {
  color-scheme: light dark;

  /* HSG-Farben (Markenwelt) */
  --hsg-gruen: #00802F;
  --hsg-dunkelgruen: #0A5F2D;
  --hsg-beige: #E1D7C3;
  --beige-60w: #F3EFE7;
  --beige-30w: #EAE3D5;
  --beige-60s: #5A564E;
  --hsg-korall: #EB6969;
  --hsg-blau: #73A5AF;
  --hsg-gelb: #FFF04B;

  /* Rollen, hell/dunkel */
  --bg:       #ffffff;
  --surface:  var(--beige-60w);
  --surface-2:var(--beige-30w);
  --text:     #111111;
  --muted:    var(--beige-60s);
  --line:     #d9d1c1;
  --link:     var(--hsg-dunkelgruen);
  --accent:   var(--hsg-gruen);

  --font-title: "Gill Sans MT Pro", "Gill Sans", "Gill Sans Nova", "Gill Sans MT", "Segoe UI", Helvetica, Arial, sans-serif; /* Windows: Gill Sans MT aus Office, sonst Segoe UI */
  --font-text:  "Palatino Linotype", Palatino, "Book Antiqua", "Times New Roman", serif;

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  --radius-xl: clamp(28px, 6vw, 88px);   /* eigenes Motiv: eine grosse Ecke */
  --ease: cubic-bezier(.2, .7, .2, 1);
}
/* Hell und dunkel nur in Browsern, die light-dark() kennen; ältere bleiben hell statt durchsichtig */
@supports (color: light-dark(#fff, #000)) {
  :root {
    --bg:       light-dark(#ffffff, #0d1a12);
    --surface:  light-dark(var(--beige-60w), #14261b);
    --surface-2:light-dark(var(--beige-30w), #1b3324);
    --text:     light-dark(#111111, #eef0ec);
    --muted:    light-dark(var(--beige-60s), #b9bdb3);
    --line:     light-dark(#d9d1c1, #2c4434);
    --link:     light-dark(var(--hsg-dunkelgruen), #7fd39b);
  }
}

:root[data-theme="light"] { color-scheme: light; }
:root[data-theme="dark"]  { color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head, 77px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-text);
  font-size: clamp(17px, 1rem + .25vw, 19px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--link); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--hsg-gelb); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, .title {
  font-family: var(--font-title);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.01em;
  text-wrap: balance;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(36px, min(3rem + 3.5vw, 10vh), 96px); }
h2 { font-size: clamp(30px, 1.6rem + 1.8vw, 54px); }
h3 { font-size: clamp(22px, 1.2rem + .6vw, 28px); }
p { text-wrap: pretty; margin: 0 0 1em; }
.label {
  font-family: var(--font-title); font-weight: 500;
  font-size: 13px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--bg); padding: 8px 12px; }

/* ---------- Lesefortschritt (scroll-driven) ---------- */
.progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60;
  background: var(--hsg-gruen); transform-origin: left; transform: scaleX(0);
}
@supports (animation-timeline: scroll()) {
  .progress { animation: grow linear both; animation-timeline: scroll(root); }
  @keyframes grow { to { transform: scaleX(1); } }
}

/* ---------- Header ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / .82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
}
.top-row { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; margin-right: auto; }
.brand svg { width: 44px; height: 40px; flex: none; }
.brand span { font-family: var(--font-title); font-weight: 500; font-size: 17px; line-height: 1.1; }

.main-nav { display: flex; gap: 4px; }
.nav-col { position: relative; }
.nav-col > a {
  display: block; padding: 10px 14px; border-radius: 999px;
  font-family: var(--font-title); font-weight: 500; font-size: 15px;
  color: var(--text); text-decoration: none;
  transition: background .2s var(--ease);
}
.nav-col > a:hover { background: var(--surface-2); }
.nav-col > a[aria-current="page"] { background: var(--hsg-gruen); color: #fff; }
.nav-col ul {
  list-style: none; margin: 0; padding: 10px;
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 280px;
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 40px -18px rgb(0 0 0 / .35);
  opacity: 0; translate: 0 -6px; visibility: hidden;
  transition: opacity .2s var(--ease), translate .2s var(--ease), visibility .2s;
}
.nav-col:hover ul, .nav-col:focus-within ul { opacity: 1; translate: 0 0; visibility: visible; }
.nav-col ul a {
  display: block; padding: 9px 12px; border-radius: 8px;
  font-family: var(--font-title); font-size: 15px; color: var(--text); text-decoration: none;
}
.nav-col ul a:hover { background: var(--surface); }

.tools { display: flex; align-items: center; gap: 8px; }
.lang { font-family: var(--font-title); font-size: 14px; color: var(--muted); }
.lang b { color: var(--text); font-weight: 500; }
.lang a { color: var(--muted); text-decoration: none; }
.icon-btn {
  appearance: none; border: 1px solid var(--line); background: transparent; color: var(--text);
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
}
.icon-btn:hover { background: var(--surface-2); }
.menu-btn { display: none; }

/* Mobile-Menü über die Popover-API */
.mobile-menu {
  border: 0; padding: 88px var(--gutter) 40px; margin: 0;
  width: 100%; height: 100dvh; max-width: none; max-height: none;
  background: var(--hsg-dunkelgruen); color: #fff;
  transition: opacity .25s, display .25s allow-discrete, overlay .25s allow-discrete;
  opacity: 0;
}
.mobile-menu:popover-open { opacity: 1; }
@starting-style { .mobile-menu:popover-open { opacity: 0; } }
.mobile-menu details { border-bottom: 1px solid rgb(255 255 255 / .25); }
.mobile-menu summary {
  font-family: var(--font-title); font-weight: 300; font-size: 30px;
  padding: 14px 0; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between;
}
.mobile-menu summary::after { content: "+"; }
.mobile-menu details[open] summary::after { content: "–"; }
.mobile-menu ul { list-style: none; padding: 0 0 14px; margin: 0; }
.mobile-menu a { color: #fff; font-family: var(--font-title); font-size: 18px; text-decoration: none; display: block; padding: 6px 0; }
.mobile-menu .close { position: absolute; top: 18px; right: var(--gutter); color: #fff; border-color: rgb(255 255 255 / .4); }
.mobile-menu .meta { margin-top: 28px; display: flex; gap: 20px; }

/* ---------- Hero ---------- */
.hero {
  background: var(--hsg-dunkelgruen); color: #fff;
  border-bottom-right-radius: var(--radius-xl);
  overflow: clip; position: relative;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 64px);
  align-items: end; padding-block: clamp(56px, 9vw, 128px);
}
.hero .label { color: rgb(255 255 255 / .75); }
.hero h1 { color: #fff; margin-top: 14px; view-transition-name: page-title; }
.hero p.lead { font-size: clamp(19px, 1rem + .5vw, 23px); max-width: 38ch; color: rgb(255 255 255 / .9); }
.claim { font-family: var(--font-title); font-weight: 300; font-size: clamp(22px, 1.2rem + 1vw, 34px); color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-title); font-weight: 500; font-size: 16px;
  padding: 14px 22px; border-radius: 999px; text-decoration: none;
  transition: translate .2s var(--ease), background .2s;
}
.btn:hover { translate: 0 -2px; text-decoration: none; }
.btn--primary { background: #fff; color: var(--hsg-dunkelgruen); }
.btn--ghost { color: #fff; border: 1px solid rgb(255 255 255 / .55); }
.btn--green { background: var(--hsg-gruen); color: #fff; }
.btn::after { content: "→"; transition: translate .2s var(--ease); }
.btn:hover::after { translate: 4px 0; }

/* Modell-Visual: eigene, abstrakte Darstellung (kein Original-Asset) */
.model-visual { aspect-ratio: 1; width: 100%; max-width: 460px; justify-self: end; }
.model-visual .ring { fill: none; stroke: rgb(255 255 255 / .35); stroke-width: 1; }
.model-visual .core { fill: var(--hsg-gruen); }
.model-visual text { fill: #fff; font-family: var(--font-title); font-size: 13px; letter-spacing: .06em; }
@media (prefers-reduced-motion: no-preference) {
  .model-visual .orbit { transform-origin: 50% 50%; animation: spin 60s linear infinite; }
  .model-visual .orbit--rev { animation-direction: reverse; animation-duration: 90s; }
  @keyframes spin { to { rotate: 360deg; } }
}

/* ---------- Sektionen ---------- */
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--surface { background: var(--surface); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { margin: 8px 0 0; max-width: 18ch; }

.intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 5vw, 80px); }
.intro .big { font-family: var(--font-title); font-weight: 300; font-size: clamp(26px, 1.4rem + 1vw, 38px); line-height: 1.25; }

/* Perspektiven als Akkordeon */
.perspectives { display: grid; gap: 12px; }
.perspectives details {
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 4px 24px;
  transition: border-color .2s;
}
.perspectives details[open] { border-color: var(--hsg-gruen); }
.perspectives summary {
  cursor: pointer; list-style: none; padding: 18px 0;
  font-family: var(--font-title); font-weight: 300; font-size: clamp(22px, 1.2rem + .6vw, 28px);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.perspectives summary::-webkit-details-marker { display: none; }
.perspectives summary::after {
  content: ""; width: 14px; height: 14px; flex: none;
  border-right: 2px solid var(--hsg-gruen); border-bottom: 2px solid var(--hsg-gruen);
  rotate: 45deg; translate: 0 -4px; transition: rotate .25s var(--ease);
}
.perspectives details[open] summary::after { rotate: 225deg; translate: 0 4px; }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .perspectives details::details-content { height: 0; overflow: clip; transition: height .35s var(--ease), content-visibility .35s allow-discrete; }
  .perspectives details[open]::details-content { height: auto; }
}

/* Bento-Grid der vier Bereiche */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile {
  container-type: inline-size;
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 260px; padding: 28px; border-radius: 16px;
  background: var(--bg); border: 1px solid var(--line);
  color: var(--text); text-decoration: none; overflow: clip;
  transition: translate .3s var(--ease), box-shadow .3s var(--ease);
}
.tile:hover { translate: 0 -4px; box-shadow: 0 24px 48px -28px rgb(0 0 0 / .35); text-decoration: none; }
.tile h3 { margin: 0; }
.tile p { color: var(--muted); margin: 12px 0 0; max-width: 40ch; }
.tile .go { font-family: var(--font-title); font-weight: 500; font-size: 15px; color: var(--link); margin-top: 24px; }
.tile .go::after { content: " →"; }
.tile--a { grid-column: span 4; background: var(--hsg-gruen); color: #fff; border: 0; border-top-right-radius: var(--radius-xl); }
.tile--a p, .tile--a .go { color: rgb(255 255 255 / .9); }
.tile--b { grid-column: span 2; background: var(--hsg-beige); color: #111; border: 0; }
.tile--b p { color: #3b3933; } .tile--b .go { color: var(--hsg-dunkelgruen); }
.tile--c { grid-column: span 3; }
.tile--d { grid-column: span 3; background: var(--hsg-dunkelgruen); color: #fff; border: 0; }
.tile--d p, .tile--d .go { color: rgb(255 255 255 / .85); }
.tile .num { font-family: var(--font-title); font-weight: 300; font-size: 15px; opacity: .8; }
@container (min-width: 520px) { .tile h3 { font-size: 40px; } }

/* Zitat */
.quote { display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 4vw, 48px); align-items: start; }
.quote::before { content: "«"; font-family: var(--font-title); font-weight: 300; font-size: clamp(96px, 12vw, 180px); line-height: .8; color: var(--hsg-gruen); }
.quote blockquote { margin: 0; font-family: var(--font-title); font-weight: 300; font-size: clamp(26px, 1.3rem + 1.4vw, 44px); line-height: 1.2; text-wrap: balance; }
.quote cite { display: block; margin-top: 20px; font-family: var(--font-title); font-style: normal; font-weight: 500; font-size: 16px; color: var(--muted); }

/* Bücher */
.books { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 24px; }
.book {
  display: grid; grid-template-columns: 140px 1fr; gap: 24px;
  padding: 24px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line);
}
.cover {
  aspect-ratio: 7 / 10; border-radius: 3px; padding: 14px 12px;
  background: var(--hsg-gruen); color: #fff;
  font-family: var(--font-title); font-size: 13px; line-height: 1.2;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 8px 10px 0 -2px var(--hsg-beige);
  transition: rotate .3s var(--ease);
}
.book:hover .cover { rotate: -3deg; }
.cover--dark { background: var(--hsg-dunkelgruen); }
.cover small { opacity: .8; }
.book h3 { font-size: 24px; }
.book .meta { font-size: 15px; color: var(--muted); }
.links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 8px; font-family: var(--font-title); font-weight: 500; font-size: 16px; }
.links a::after { content: " →"; }

/* Newsletter / CTA-Band */
.cta-band {
  background: var(--hsg-gruen); color: #fff; border-top-left-radius: var(--radius-xl);
  padding: clamp(40px, 6vw, 80px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
}
.cta-band h2 { color: #fff; margin: 0; }
.cta-band form { display: flex; gap: 8px; flex-wrap: wrap; }
.cta-band input {
  flex: 1 1 220px; padding: 14px 18px; border-radius: 999px; border: 0;
  font: 16px var(--font-title); background: #fff; color: #111;
}
.cta-band button { border: 0; cursor: pointer; }

/* ---------- Unterseiten ---------- */
.page-hero { background: var(--surface); padding-block: clamp(48px, 7vw, 96px) clamp(32px, 5vw, 56px); border-bottom-right-radius: var(--radius-xl); }
.crumbs { font-family: var(--font-title); font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.page-hero h1 { view-transition-name: page-title; margin: 0; }
.page-hero .lead { font-size: clamp(19px, 1rem + .4vw, 22px); max-width: 52ch; margin-top: 20px; color: var(--muted); }
.page-body { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); padding-block: clamp(48px, 7vw, 96px); }
.toc { position: sticky; top: 110px; align-self: start; font-family: var(--font-title); }
.toc .label { display: block; margin-bottom: 12px; }
.toc a { display: block; padding: 8px 0 8px 14px; border-left: 2px solid var(--line); color: var(--text); text-decoration: none; font-size: 15px; }
.toc a:hover { border-color: var(--hsg-gruen); }
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(28px, 1.4rem + 1vw, 40px); margin-top: 1.4em; }
.prose ul { padding-left: 1.1em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--hsg-gruen); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; margin-top: 32px; }
.card {
  display: block; padding: 22px; border-radius: 12px; background: var(--surface);
  color: var(--text); text-decoration: none; transition: background .2s, translate .2s var(--ease);
}
.card:hover { background: var(--surface-2); translate: 0 -3px; text-decoration: none; }
.card strong { display: block; font-family: var(--font-title); font-weight: 300; font-size: 22px; line-height: 1.2; margin-bottom: 8px; }
.card span { font-size: 15px; color: var(--muted); }
.callout { margin: 40px 0; padding: 28px; border-radius: 12px; border-left: 4px solid var(--hsg-gruen); background: var(--surface); }
.callout blockquote { margin: 0; font-family: var(--font-title); font-weight: 300; font-size: 26px; line-height: 1.25; }
.callout cite { display: block; margin-top: 12px; font-style: normal; font-family: var(--font-title); font-size: 15px; color: var(--muted); }
.downloads { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 8px; }
.downloads a {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 20px; border-radius: 10px; background: var(--surface); color: var(--text); text-decoration: none;
  font-family: var(--font-title); font-size: 17px;
}
.downloads a:hover { background: var(--surface-2); }
.downloads small { color: var(--muted); font-size: 13px; letter-spacing: .06em; }

/* ---------- Footer ---------- */
body > footer { background: var(--hsg-dunkelgruen); color: #fff; margin-top: clamp(64px, 8vw, 120px); border-top-left-radius: var(--radius-xl); }
body > footer a { color: #fff; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block: clamp(48px, 7vw, 88px) 32px; font-family: var(--font-title); font-size: 16px; }
.foot .claim { font-size: clamp(30px, 1.6rem + 1.6vw, 52px); line-height: 1.05; margin-bottom: 24px; }
.foot h4 { font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; margin: 0 0 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot-bottom { border-top: 1px solid rgb(255 255 255 / .2); padding-block: 20px 28px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--font-title); font-size: 14px; opacity: .85; }

/* ---------- Scroll-Reveal (scroll-driven, nur ohne reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reveal { animation: reveal both var(--ease); animation-timeline: view(); animation-range: entry 0% cover 28%; }
    @keyframes reveal { from { opacity: 0; translate: 0 32px; } }
  }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .3s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .main-nav, .lang { display: none; }
  .menu-btn { display: grid; }
  .hero-grid, .intro, .cta-band { grid-template-columns: 1fr; }
  .model-visual { justify-self: start; max-width: 320px; }
  .page-body { grid-template-columns: 1fr; }
  .toc { position: static; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .bento { grid-template-columns: 1fr; }
  .tile { grid-column: auto !important; min-height: 200px; }
  .book { grid-template-columns: 96px 1fr; padding: 18px; gap: 16px; }
  .brand span { font-size: 15px; }
  .foot { grid-template-columns: 1fr; }
}

/* =================================================================
   Erweiterung: Landing, Versionen 4.0/5.0, Plattform-Bausteine
   ================================================================= */
.brand span small { display: block; font-weight: 300; font-size: 12px; color: var(--muted); letter-spacing: .04em; margin-top: 2px; }

/* Versionsschalter */
.vswitch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--font-title); font-size: 14px; }
.vswitch a { padding: 6px 12px; border-radius: 999px; color: var(--text); text-decoration: none; }
.vswitch a[aria-current="true"] { background: var(--hsg-dunkelgruen); color: #fff; }
.mob-link { font-family: var(--font-title); font-weight: 300; font-size: 30px !important; padding: 14px 0 !important; border-bottom: 1px solid rgb(255 255 255 / .25); }

/* Landing */
.hero--landing .wrap { padding-block: clamp(64px, 10vw, 140px) clamp(48px, 7vw, 96px); }
.hero--landing h1 { max-width: 14ch; }
.versions-section { padding-top: clamp(40px, 6vw, 72px); }
.versions { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.version {
  display: grid; grid-template-rows: auto 1fr auto; gap: 18px;
  padding: clamp(28px, 4vw, 48px); border-radius: 18px; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); min-height: 380px;
  transition: translate .3s var(--ease), box-shadow .3s var(--ease);
}
.version:hover { translate: 0 -6px; box-shadow: 0 30px 60px -32px rgb(0 0 0 / .45); text-decoration: none; }
.version .vnum { font-family: var(--font-title); font-weight: 300; font-size: clamp(64px, 8vw, 120px); line-height: .9; color: var(--hsg-gruen); }
.version h2 { font-size: clamp(26px, 1.3rem + 1vw, 36px); margin: 8px 0 12px; }
.version p { color: var(--muted); margin: 0; }
.version .go { font-family: var(--font-title); font-weight: 500; }
.version .go::after { content: " →"; }
.version--5 { background: var(--hsg-dunkelgruen); color: #fff; border: 0; border-top-right-radius: var(--radius-xl); }
.version--5 .vnum { color: #fff; }
.version--5 p, .version--5 .label { color: rgb(255 255 255 / .82); }

/* Zeitleiste */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.timeline .year { font-family: var(--font-title); font-weight: 300; font-size: 28px; color: var(--link); }
.timeline strong { font-family: var(--font-title); font-weight: 500; font-size: 20px; display: block; }
.timeline .who { display: block; font-family: var(--font-title); font-size: 15px; color: var(--muted); margin: 2px 0 6px; }
.timeline p { margin: 0; max-width: 60ch; }
.prose .timeline li { grid-template-columns: 96px 1fr; }

/* Personenraster */
.voices { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 10px; margin: 16px 0; }
.voice { padding: 16px 18px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-family: var(--font-title); }
.prose .voice { background: var(--surface); border: 0; }
.voice strong { display: block; font-weight: 500; font-size: 17px; }
.voice span { font-size: 14px; color: var(--muted); }
.prose h3 { font-size: 22px; margin-top: 1.4em; }

/* Plattform 5.0 */
.hero--v5 h1 { max-width: 16ch; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0; }
.stats div { padding: 18px 20px; border-radius: 14px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .18); }
.stats div:first-child { grid-column: 1 / -1; background: var(--hsg-gruen); border: 0; }
.stats dt { font-family: var(--font-title); font-weight: 300; font-size: clamp(36px, 2rem + 2vw, 64px); line-height: 1; color: #fff; }
.stats dd { margin: 6px 0 0; font-family: var(--font-title); font-size: 15px; color: rgb(255 255 255 / .85); }
.notice { margin: 28px 0 0; padding: 16px 20px; border-radius: 12px; background: var(--surface); border-left: 4px solid var(--hsg-gelb); font-size: 16px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.big { font-family: var(--font-title); font-weight: 300; font-size: clamp(24px, 1.3rem + 1vw, 34px); line-height: 1.25; }
.hint { max-width: 40ch; color: var(--muted); font-size: 16px; margin: 0; }
.sub-head { margin-top: 56px; }

.chart { margin: 0; padding: 24px; border-radius: 16px; background: var(--surface); }
.bars { list-style: none; padding: 0; margin: 14px 0 8px; display: grid; gap: 10px; }
.bars li { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 12px; font-family: var(--font-title); font-size: 15px; }
.bars b {
  display: block; width: calc(var(--v) * 1%); min-width: 3.5em; padding: 6px 10px; border-radius: 4px;
  background: var(--hsg-gruen); color: #fff; font-weight: 500; text-align: right;
}
.source { font-family: var(--font-title); font-size: 13px; color: var(--muted); margin: 0; }

.theses { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 48px; }
.theses article { padding: 22px; border-radius: 14px; border: 1px solid var(--line); }
.theses h3 { font-size: 22px; margin: 8px 0; }
.theses p { font-size: 16px; color: var(--muted); margin: 0; }
.num { font-family: var(--font-title); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Überarbeitungen */
.revisions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.revision { border: 1px solid var(--line); border-radius: 14px; padding: 4px 22px; background: var(--bg); scroll-margin-top: 110px; }
.revision[open] { border-color: var(--hsg-gruen); }
.revision summary { list-style: none; cursor: pointer; display: flex; gap: 16px; align-items: center; padding: 16px 0;
  font-family: var(--font-title); font-weight: 300; font-size: 20px; line-height: 1.25; }
.revision summary::-webkit-details-marker { display: none; }
.rnum { flex: none; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--hsg-gruen); color: #fff; font-family: var(--font-title); font-weight: 500; font-size: 15px; margin-right: 4px; }
.rbody p { font-size: 17px; }
.rmodel { padding: 12px 14px; border-radius: 8px; background: var(--surface); }

/* Diagnose */
.diag { display: grid; gap: 20px; }
.diag-type { font-family: var(--font-title); font-weight: 500; display: grid; gap: 8px; max-width: 360px; }
select, textarea {
  font: 16px var(--font-title); padding: 12px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg); color: var(--text);
}
.diag-items { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.diag fieldset { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 0; background: var(--bg); }
.diag legend { display: flex; gap: 10px; align-items: center; float: left; width: 100%; margin-bottom: 14px; font-size: 17px; }
.likert { clear: both; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.likert label { position: relative; }
.likert input { position: absolute; opacity: 0; inset: 0; }
.likert span {
  display: block; text-align: center; padding: 10px 6px; border-radius: 10px; cursor: pointer;
  font-family: var(--font-title); font-size: 14px; border: 1px solid var(--line); transition: background .15s;
}
.likert label:hover span { background: var(--surface); }
.likert input:checked + span { background: var(--hsg-gruen); border-color: var(--hsg-gruen); color: #fff; }
.likert input:focus-visible + span { outline: 3px solid var(--hsg-gelb); outline-offset: 2px; }
.diag-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn--plain { background: transparent; color: var(--text); border: 1px solid var(--line); }
button.btn { cursor: pointer; border: 0; }
button.btn--plain { border: 1px solid var(--line); }
.result { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; margin-top: 32px; padding: 32px; border-radius: 18px;
  background: var(--bg); border: 2px solid var(--hsg-gruen); scroll-margin-top: 100px; }
.result[hidden] { display: none; }
.profile { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.profile li { display: grid; grid-template-columns: 1fr 110px; gap: 12px; align-items: center; font-size: 15px; }
.profile b { display: block; width: calc(var(--v) * 1%); min-width: 3em; padding: 4px 8px; border-radius: 4px;
  background: var(--hsg-blau); color: #111; font-family: var(--font-title); font-weight: 500; font-size: 13px; }
.profile b.low { background: var(--hsg-korall); }
.rec { padding-left: 1.2em; }
.rec li { margin-bottom: 8px; }

/* Use Cases */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { appearance: none; border: 1px solid var(--line); background: var(--bg); color: var(--text); cursor: pointer;
  padding: 8px 16px; border-radius: 999px; font: 500 15px var(--font-title); }
.chip[aria-pressed="true"] { background: var(--hsg-dunkelgruen); border-color: var(--hsg-dunkelgruen); color: #fff; }
.cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; view-transition-name: cases; }
.case { padding: 26px; border-radius: 16px; background: var(--surface); }
.case h3 { font-size: 26px; margin: 8px 0 14px; }
.case p { font-size: 16px; }
.tags { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { padding: 4px 10px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font: 13px var(--font-title); }

/* Ringvorlesungen */
.lectures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lecture { padding: 20px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); display: grid; gap: 6px; font-family: var(--font-title); }
.lecture strong { font-weight: 300; font-size: 20px; line-height: 1.25; }
.lecture span:last-child { color: var(--muted); font-size: 15px; }
.split--team { margin-top: 56px; }
.cta-band form { display: grid; gap: 10px; }
.cta-band form p { margin: 0 0 6px; color: rgb(255 255 255 / .9); }
.cta-band textarea { border: 0; background: #fff; color: #111; }
#mitwirken { grid-template-columns: 1fr; }

@media (max-width: 1020px) {
  .versions, .split, .explorer, .revisions, .result { grid-template-columns: 1fr; }
  .theses { grid-template-columns: 1fr 1fr; }
  .lectures { grid-template-columns: 1fr 1fr; }
  .panel { position: static; }
  .vswitch { font-size: 13px; }
}
@media (max-width: 680px) {
  .theses, .lectures { grid-template-columns: 1fr; }
  .timeline li, .prose .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .likert { grid-template-columns: 1fr; }
  .likert span { text-align: left; }
  .stats { grid-template-columns: 1fr 1fr; }
  .brand span small { display: none; }
  .profile li { grid-template-columns: 1fr; gap: 4px; }
}

/* =================================================================
   Runde 3: moderne Effekte, Vergleich, 4.0-Erweiterungen, Plattform 5.0
   ================================================================= */

/* Versionsschalter mit Übersicht */
.vswitch { align-items: center; }
.vswitch a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; transition: background .25s var(--ease), color .25s; }
.vswitch a:hover:not([aria-current="true"]) { background: var(--surface-2); }
.vswitch-pill { display: none; }

/* Spotlight auf Karten (Zeiger) */
.spot, .version, .tile, .card { position: relative; isolation: isolate; }
.spot::after, .version::after, .tile::after, .card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgb(0 128 47 / .10), transparent 60%);
  opacity: 0; transition: opacity .3s;
}
.spot:hover::after, .version:hover::after, .tile:hover::after, .card:hover::after { opacity: 1; }
.version--5::after, .tile--a::after, .tile--d::after { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgb(255 255 255 / .14), transparent 60%); }
.tilt { transition: transform .35s var(--ease), box-shadow .35s var(--ease); will-change: transform; }
.magnetic { transition: translate .25s var(--ease); }

/* Parallax-Hero */
.parallax { position: relative; overflow: clip; }
.px-layer { position: absolute; border-radius: 50%; pointer-events: none; }
.px-1 { width: 70vw; height: 70vw; right: -20vw; top: -25vw; background: radial-gradient(circle, rgb(0 128 47 / .55), transparent 65%); translate: 0 calc(var(--py, 0) * 160px); }
.px-2 { width: 45vw; height: 45vw; left: -15vw; bottom: -25vw; background: radial-gradient(circle, rgb(225 215 195 / .22), transparent 65%); translate: 0 calc(var(--py, 0) * -120px); }
.px-num { position: absolute; right: var(--gutter); bottom: -2vw; display: flex; gap: 2vw; pointer-events: none;
  font-family: var(--font-title); font-weight: 300; font-size: clamp(120px, 22vw, 340px); line-height: .8; letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgb(255 255 255 / .18); translate: 0 calc(var(--py, 0) * 120px); }
.px-num span:last-child { -webkit-text-stroke-color: rgb(255 255 255 / .32); }
.parallax .wrap { position: relative; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    .px-1, .px-2, .px-num { animation: px-move linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
    .px-2 { animation-name: px-move-rev; }
    .px-num { animation-name: px-num; }
    @keyframes px-move { to { translate: 0 160px; } }
    @keyframes px-move-rev { to { translate: 0 -120px; } }
    @keyframes px-num { to { translate: 0 120px; opacity: .3; } }
    .hero h1 { animation: h1-fade linear both; animation-timeline: scroll(root); animation-range: 0 70vh; }
    @keyframes h1-fade { to { translate: 0 -40px; opacity: .25; } }
  }
}
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; color: #fff; font-family: var(--font-title); font-weight: 500; text-decoration: none; }
.scroll-cue::after { content: "↓"; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .5); }
@media (prefers-reduced-motion: no-preference) { .scroll-cue::after { animation: bob 1.8s var(--ease) infinite; } @keyframes bob { 50% { translate: 0 5px; } } }
.hero--landing { min-height: min(88vh, 820px); display: grid; align-items: center; }

/* Vergleich 4.0 → 5.0 */
.cmp-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 28px; }
.cmp-summary div { padding: 20px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.cmp-summary b { display: block; font-family: var(--font-title); font-weight: 300; font-size: 48px; line-height: 1; color: var(--link); }
.cmp-summary span { font-family: var(--font-title); font-size: 15px; color: var(--muted); }
.cmp { display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: start; }
.cmp-tabs { display: grid; gap: 6px; }
.cmp-tab {
  appearance: none; border: 1px solid transparent; background: transparent; color: var(--text); cursor: pointer; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px;
  font: 400 17px var(--font-title); transition: background .2s, border-color .2s;
}
.cmp-tab:hover { background: var(--bg); }
.cmp-tab[aria-selected="true"] { background: var(--bg); border-color: var(--hsg-gruen); box-shadow: 0 12px 30px -20px rgb(0 0 0 / .4); }
.badge { font-style: normal; font: 500 12px var(--font-title); letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: var(--surface-2); color: var(--text); white-space: nowrap; }
.badge--neu { background: var(--hsg-gruen); color: #fff; }
.badge--erweitert { background: var(--hsg-blau); color: #111; }
.badge--umgebaut { background: var(--hsg-gelb); color: #111; }
.cmp-panel { display: grid; grid-template-columns: 1fr auto 1.2fr; gap: 16px; align-items: stretch; view-transition-name: cmp-panel; }
.cmp-panel[hidden] { display: none; }
.cmp-side { padding: 28px; border-radius: 16px; }
.cmp-side p { margin: 10px 0 0; }
.cmp-side--old { background: var(--bg); border: 1px dashed var(--line); color: var(--muted); }
.cmp-side--new { background: var(--hsg-dunkelgruen); color: #fff; border-top-right-radius: var(--radius-xl); }
.cmp-side--new p { font-family: var(--font-title); font-weight: 300; font-size: clamp(20px, 1rem + .6vw, 26px); line-height: 1.3; }
.cmp-side--new .cmp-rev { font-size: 15px; font-weight: 500; }
.cmp-side--new a { color: #fff; margin-right: 12px; }
.vtag { font: 500 13px var(--font-title); letter-spacing: .08em; padding: 4px 10px; border-radius: 999px; border: 1px solid currentColor; }
.cmp-arrow { display: grid; place-items: center; font-family: var(--font-title); font-size: 32px; color: var(--hsg-gruen); }

/* Version 4.0: Modellbild, Downloads, Stimmen */
.section--plain { background: var(--bg); }
.model-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.model-figure { margin: 24px 0; }
.model-figure img { width: 100%; height: auto; border-radius: 16px; background: #fff; box-shadow: 0 30px 60px -40px rgb(0 0 0 / .4); }
.model-figure figcaption { margin-top: 10px; font: 14px var(--font-title); color: var(--muted); }
.figure-slot {
  aspect-ratio: 16 / 10; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 32px;
  border-radius: 16px; border: 2px dashed var(--line); background:
  repeating-radial-gradient(circle at 50% 50%, transparent 0 38px, rgb(0 128 47 / .07) 38px 39px), var(--bg);
}
.figure-slot p { max-width: 42ch; margin: 0; color: var(--muted); font-size: 16px; }
.figure-slot code { font-size: 14px; }
.dl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; margin: 24px 0; }
.dl {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; gap: 6px 16px; align-items: start;
  padding: 20px; border-radius: 14px; background: var(--surface); color: var(--text); text-decoration: none;
  transition: translate .25s var(--ease), background .25s;
}
.dl:hover { translate: 0 -3px; background: var(--surface-2); text-decoration: none; }
.dl-type { grid-row: span 2; display: grid; place-items: center; width: 54px; height: 64px; border-radius: 6px 16px 6px 6px;
  font: 500 13px var(--font-title); color: #fff; background: var(--hsg-dunkelgruen); }
.dl-type--pptx { background: var(--hsg-korall); color: #111; }
.dl-body strong { display: block; font: 500 18px var(--font-title); }
.dl-body span { font-size: 15px; color: var(--muted); }
.dl-meta { font: 14px var(--font-title); color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }
.dl-meta em { font-style: normal; color: var(--link); }
.dl-meta em::after { content: " ↓"; }
.cite-note { font-size: 15px; padding: 16px 18px; border-radius: 12px; border-left: 4px solid var(--hsg-gruen); background: var(--surface); }

.carousel { position: relative; }
.carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: min(460px, 86%); gap: 16px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding: 6px 2px 20px; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel-track::-webkit-scrollbar { display: none; }
.quote-card { scroll-snap-align: start; margin: 0; padding: 32px; border-radius: 20px; background: var(--bg); border: 1px solid var(--line);
  display: grid; grid-template-rows: auto 1fr auto; gap: 8px; min-height: 300px; }
.quote-card:nth-child(3n+1) { background: var(--hsg-dunkelgruen); color: #fff; border: 0; border-top-right-radius: var(--radius-xl); }
.quote-card:nth-child(3n+1) figcaption span span { color: rgb(255 255 255 / .8); }
.qmark { font-family: var(--font-title); font-weight: 300; font-size: 88px; line-height: .6; color: var(--hsg-gruen); height: 44px; }
.quote-card:nth-child(3n+1) .qmark { color: #fff; }
.quote-card blockquote { margin: 0; font-family: var(--font-title); font-weight: 300; font-size: clamp(21px, 1.1rem + .5vw, 26px); line-height: 1.3; }
.quote-card figcaption { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; font-family: var(--font-title); }
.quote-card figcaption strong { display: block; font-weight: 500; }
.quote-card figcaption span span { font-size: 14px; color: var(--muted); }
.avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--hsg-beige); color: #111; font: 500 15px var(--font-title); }
.carousel-nav { display: flex; gap: 8px; align-items: center; }
.links-inline { margin-left: 12px; font-family: var(--font-title); font-weight: 500; }
.links-inline::after { content: " →"; }

/* Buttons */
.btn--light { background: #fff; color: var(--hsg-dunkelgruen); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn[disabled] { opacity: .6; cursor: default; translate: none; }

/* Trichter */
.funnel-story { display: grid; grid-template-columns: 420px 1fr; gap: clamp(32px, 6vw, 96px); }
.funnel-sticky { position: sticky; top: 110px; align-self: start; }
.funnel { width: 100%; height: auto; }
.f-stage { cursor: pointer; }
.f-stage path { fill: var(--surface-2); stroke: var(--bg); stroke-width: 2; transition: fill .35s var(--ease); }
.f-stage text { text-anchor: middle; font: 400 16px var(--font-title); fill: var(--text); pointer-events: none; transition: fill .3s; }
.f-stage .f-count { font-size: 13px; fill: var(--muted); }
.f-stage:hover path { fill: var(--hsg-beige); }
.f-stage.is-active path { fill: var(--hsg-gruen); }
.f-stage.is-active text { fill: #fff; }
.f-stage[data-stage="5"].is-active path { fill: var(--hsg-dunkelgruen); }
.funnel-steps { list-style: none; margin: 0; padding: 0; }
.fstep { min-height: 46vh; display: flex; flex-direction: column; justify-content: center; padding: 24px 0 24px 28px; border-left: 2px solid var(--line); opacity: .45; transition: opacity .35s, border-color .35s; }
.fstep.is-active { opacity: 1; border-color: var(--hsg-gruen); }
.fstep h3 { font-size: clamp(30px, 1.6rem + 1.2vw, 44px); margin: 8px 0 12px; }
.fstep p { max-width: 52ch; }
.criteria { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.criteria li { padding: 6px 12px; border-radius: 999px; background: var(--surface); font: 15px var(--font-title); }
.rhythm { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 48px; border-radius: 16px; overflow: hidden; }
.rhythm div { padding: 22px; background: var(--surface); display: grid; gap: 4px; position: relative; }
.rhythm div:nth-child(2) { background: var(--surface-2); }
.rhythm div:nth-child(3) { background: var(--hsg-gruen); color: #fff; }
.rhythm div:nth-child(4) { background: var(--hsg-dunkelgruen); color: #fff; }
.rhythm b { font: 300 26px var(--font-title); }
.rhythm span { font: 15px var(--font-title); opacity: .85; }

/* Beitragswand */
.wall-filters { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; margin-bottom: 14px; }
.wall-filters label { display: grid; gap: 6px; font: 500 14px var(--font-title); }
.wall-filters select { min-width: 220px; }
.demo-note { font: 14px var(--font-title); color: var(--muted); margin: 0 0 16px; }
.wall { columns: 3 300px; column-gap: 16px; }
.post { break-inside: avoid; margin: 0 0 16px; padding: 22px 22px 18px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.post header { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.ptype { font: 500 12px var(--font-title); letter-spacing: .08em; text-transform: uppercase; color: var(--link); }
.pstage { font: 500 12px var(--font-title); padding: 3px 9px; border-radius: 999px; background: var(--surface); }
.stage-3 .pstage { background: var(--hsg-blau); color: #111; }
.stage-4 .pstage { background: var(--hsg-gruen); color: #fff; }
.stage-5 .pstage { background: var(--hsg-dunkelgruen); color: #fff; }
.post h4 { font: 300 22px/1.25 var(--font-title); margin: 0 0 8px; }
.post p { font-size: 16px; color: var(--muted); margin: 0 0 14px; }
.post footer { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font: 14px var(--font-title); }
.prev { font-weight: 500; }
.prole { color: var(--muted); margin-right: auto; }
.support { appearance: none; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer;
  padding: 6px 12px; border-radius: 999px; font: 500 14px var(--font-title); transition: background .2s, color .2s, scale .2s; }
.support:hover { background: var(--surface); }
.support.is-on { background: var(--hsg-gruen); border-color: var(--hsg-gruen); color: #fff; }
.support:active { scale: .94; }
.pprogress { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.pprogress li { height: 4px; border-radius: 2px; background: var(--surface-2); }
.pprogress li.done { background: var(--hsg-gruen); }
.empty { color: var(--muted); }
.changelog { margin-top: 40px; padding: 28px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.changelog h3 { margin-top: 0; }
.changelog ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.changelog li { display: grid; grid-template-columns: 70px 110px 1fr; gap: 12px; align-items: baseline; }
.changelog b { font: 300 30px var(--font-title); color: var(--link); }
.changelog span { font: 14px var(--font-title); color: var(--muted); }
.changelog p { margin: 0; }
.changelog .planned b { color: var(--muted); }

/* Eingabe-Sheet (Popover) */
.sheet { border: 0; padding: 0; margin: auto 0 auto auto; height: 100dvh; max-height: none; width: min(520px, 100%);
  background: var(--bg); color: var(--text); box-shadow: -30px 0 60px -30px rgb(0 0 0 / .5);
  transition: translate .35s var(--ease), display .35s allow-discrete, overlay .35s allow-discrete; translate: 100% 0; }
.sheet:popover-open { translate: 0 0; }
@starting-style { .sheet:popover-open { translate: 100% 0; } }
.sheet::backdrop { background: rgb(10 20 14 / .45); backdrop-filter: blur(3px); }
.sheet-body { display: grid; gap: 14px; padding: 28px; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; }
.sheet-head h3 { margin: 0; }
.sheet label { display: grid; gap: 6px; font: 500 15px var(--font-title); }
.sheet input { font: 16px var(--font-title); padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }

/* Modell-Explorer, neu gezeichnet */
.layer-toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.layer-toggles label { position: relative; }
.layer-toggles input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.layer-toggles span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  font: 500 14px var(--font-title); background: var(--bg); transition: background .2s, color .2s; }
.layer-toggles span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; }
.layer-toggles input:checked + span { background: var(--hsg-dunkelgruen); border-color: var(--hsg-dunkelgruen); color: #fff; }
.layer-toggles input:checked + span::before { background: currentColor; }
.layer-toggles input:focus-visible + span { outline: 3px solid var(--hsg-gelb); outline-offset: 2px; }
.model-wrap { border-radius: 20px; background: var(--bg); border: 1px solid var(--line); padding: clamp(8px, 2vw, 20px); }
.model5 { width: 100%; height: auto; display: block; overflow: visible; }
.model5 .layer { transition: opacity .35s var(--ease); }
.model5 .layer.is-hidden { opacity: 0; pointer-events: none; }
.model5 .sphere { cursor: pointer; }
.model5 .sphere circle { fill: url(#g-sph); stroke: var(--hsg-beige); stroke-width: 1; transition: stroke .2s, stroke-width .2s; }
.model5 .sphere:hover circle, .model5 .sphere.is-active circle { stroke: var(--hsg-dunkelgruen); stroke-width: 2; }
.model5 .sph-label { font: 500 12px var(--font-title); letter-spacing: .14em; fill: var(--muted); }
.model5 .sphere.is-active .sph-label { fill: var(--link); }
.model5 .stake { cursor: pointer; }
.model5 .stake circle { fill: none; stroke: var(--hsg-blau); stroke-width: 26; stroke-opacity: .28; transition: stroke-opacity .2s; }
.model5 .stake:hover circle, .model5 .stake.is-active circle { stroke-opacity: .6; }
.model5 .ring-label { font: 500 11px var(--font-title); letter-spacing: .2em; fill: var(--text); }
.model5 .eight { fill: none; stroke: url(#g-eight); stroke-width: 10; stroke-linecap: round; opacity: .9; }
.model5 .eight-flow { fill: none; stroke: #fff; stroke-width: 2; stroke-dasharray: 6 18; opacity: .7; }
@media (prefers-reduced-motion: no-preference) { .model5 .eight-flow { animation: flow 6s linear infinite; } @keyframes flow { to { stroke-dashoffset: -240; } } }
.model5 .connector { stroke: var(--hsg-dunkelgruen); stroke-width: 1.5; stroke-dasharray: 3 4; }
.model5 .node { cursor: pointer; outline: none; }
.model5 .node rect { fill: var(--bg); stroke: var(--hsg-gruen); stroke-width: 1.5; transition: fill .2s, stroke .2s; }
.model5 .node text { font: 500 14px var(--font-title); text-anchor: middle; fill: var(--text); pointer-events: none; transition: fill .2s; }
.model5 .node:hover rect, .model5 .node.is-active rect { fill: var(--hsg-gruen); stroke: var(--hsg-gruen); }
.model5 .node:hover text, .model5 .node.is-active text { fill: #fff; }
.model5 .node--ki rect { fill: var(--hsg-dunkelgruen); stroke: var(--hsg-dunkelgruen); }
.model5 .node--ki text { fill: #fff; }
.model5 .node--value rect { fill: var(--hsg-gelb); stroke: var(--hsg-gelb); }
.model5 .node--value text { fill: #111 !important; }
.model5 .node--value:hover rect, .model5 .node--value.is-active rect { fill: #FFF581; }
.model5 .node--core circle { fill: var(--hsg-dunkelgruen); stroke: #fff; stroke-width: 3; transition: r .25s var(--ease); }
.model5 .node--core text { fill: #fff; font: 400 17px var(--font-title); }
.model5 .node--core:hover circle, .model5 .node--core.is-active circle { fill: var(--hsg-gruen); r: 50; }
.model5 .node--time line, .model5 .node--time path { fill: none; stroke: var(--muted); stroke-width: 1.5; }
.model5 .node--time circle { fill: var(--bg); stroke: var(--muted); stroke-width: 1.5; }
.model5 .node--time text { font: 400 13px var(--font-title); fill: var(--muted); }
.model5 .node--time:hover *, .model5 .node--time.is-active * { stroke: var(--hsg-gruen); }
.model5 .node--time:hover text, .model5 .node--time.is-active text { fill: var(--link); stroke: none; }
.model5 .node:focus-visible rect, .model5 .node:focus-visible circle, .model5 .sphere:focus-visible circle { stroke: var(--hsg-gelb); stroke-width: 4; }
.panel { position: sticky; top: 100px; padding: 30px; border-radius: 20px; background: var(--hsg-dunkelgruen); color: #fff; border-top-right-radius: var(--radius-xl); view-transition-name: panel; }
.panel .label { color: rgb(255 255 255 / .75); }
.panel h3 { color: #fff; margin: 8px 0 12px; font-size: clamp(26px, 1.3rem + 1vw, 36px); }
.panel p { color: rgb(255 255 255 / .9); }
.panel a { color: #fff; }
.panel-rev { font-family: var(--font-title); font-size: 15px; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.panel .btn--ghost { color: #fff; border: 1px solid rgb(255 255 255 / .55); background: transparent; cursor: pointer; }

/* Selbstcheck */
.why-check { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.why-check div { padding: 22px; border-radius: 14px; background: var(--bg); }
.why-check div:nth-child(2) { background: var(--hsg-gruen); color: #fff; }
.why-check b { font: 300 26px var(--font-title); display: block; margin-bottom: 6px; }
.why-check p { margin: 0; font-size: 16px; }
.diag-progress { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; position: sticky; top: 84px; z-index: 5; }
.diag-progress span { display: block; height: 100%; width: 0; background: var(--hsg-gruen); transition: width .35s var(--ease); }

/* Fokus auf Panels in der View Transition */
::view-transition-old(panel), ::view-transition-new(panel) { animation-duration: .25s; }

@media (max-width: 1020px) {
  .cmp { grid-template-columns: 1fr; }
  .cmp-tabs { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; scrollbar-width: none; padding-bottom: 6px; }
  .cmp-panel { grid-template-columns: 1fr; }
  .cmp-arrow { rotate: 90deg; }
  .cmp-summary { grid-template-columns: 1fr 1fr; }
  .model-split, .funnel-story { grid-template-columns: 1fr; }
  .funnel-sticky { position: static; max-width: 420px; }
  .fstep { min-height: auto; opacity: 1; }
  .rhythm, .why-check { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .rhythm, .why-check { grid-template-columns: 1fr; }
  .changelog li { grid-template-columns: 60px 1fr; }
  .changelog li p { grid-column: 1 / -1; }
  .px-num { display: none; }
  .wall-filters select { min-width: 0; width: 100%; }
  .wall-filters label { flex: 1 1 100%; }
  .quote-card { padding: 24px; }
}

/* Handy: Kopfbereich kompakt, Raster darf nicht aufweiten */
@media (max-width: 1020px) {
  .page-body { grid-template-columns: minmax(0, 1fr); }
  .prose { min-width: 0; }
}
@media (max-width: 520px) {
  .top-row { gap: 10px; }
  .brand { gap: 8px; min-width: 0; }
  .brand svg { width: 36px; height: 33px; }
  .brand span { font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
  .tools { gap: 6px; }
  .vswitch a { min-width: 32px; padding: 6px 8px; }
  .icon-btn { width: 36px; height: 36px; }
}
@media (max-width: 400px) {
  .brand span { display: none; }
}

/* ===== Runde 4: Explorer nach Abbildung 6, kompakt; Beitragswand sauber ===== */
.explorer { grid-template-columns: minmax(0, 1.75fr) minmax(260px, 1fr); gap: 18px; }
.model-wrap { padding: 12px; }
.model5 { max-height: calc(100vh - 230px); margin: 0 auto; }
.model-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 6px 6px 0; }
.model5 .env-ellipse { fill: none; stroke-width: 2.5; opacity: .75; }
.model5 .env { cursor: pointer; }
.model5 .env text { font: 500 13px var(--font-title); letter-spacing: .14em; fill: var(--muted); transition: fill .2s; }
.model5 .env:hover text, .model5 .env.is-active text { fill: var(--link); }
.model5 .stake ellipse { fill: none; stroke-width: 5; opacity: .55; transition: opacity .2s; }
.model5 .stake { cursor: pointer; }
.model5 .stake:hover ellipse, .model5 .stake.is-active ellipse { opacity: .9; }
.model5 .cycle-ring { fill: none; stroke: #c9d8cd; stroke-width: 14; }
.model5 .node rect { fill: var(--bg); stroke: var(--hsg-gruen); stroke-width: 1.5; }
.model5 .node text { font: 500 13.5px var(--font-title); }
.model5 .node--stake rect { fill: var(--bg); stroke: #50737A; stroke-width: 1.2; }
.model5 .node--stake text { font: 500 11.5px var(--font-title); fill: #2E4246; }
.model5 .node--cycle rect { fill: var(--hsg-gruen); stroke: var(--hsg-gruen); }
.model5 .node--cycle text { fill: #fff; }
.model5 .node--cycle:hover rect, .model5 .node--cycle.is-active rect { fill: var(--hsg-dunkelgruen); stroke: var(--hsg-dunkelgruen); }
.model5 .node--dec rect { fill: var(--bg); stroke: var(--hsg-dunkelgruen); stroke-width: 1.5; }
.model5 .node--dec text { fill: var(--text); }
.model5 .node--value-chain rect { fill: var(--hsg-dunkelgruen); stroke: var(--hsg-dunkelgruen); }
.model5 .node--value-chain text { fill: #fff; }
.model5 .eight { fill: none; stroke: #2b2b2b; stroke-width: 7; opacity: .85; stroke-linejoin: round; }
:root[data-theme="dark"] .model5 .eight { stroke: #d9ddd5; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .model5 .eight { stroke: #d9ddd5; } }
.model5 .node--core circle { fill: var(--bg); stroke: var(--hsg-gruen); stroke-width: 2; }
.model5 .node--core text { fill: var(--link); font: 500 15px var(--font-title); }
.model5 .node--core:hover circle, .model5 .node--core.is-active circle { fill: var(--hsg-gruen); r: 32; }
.model5 .node--core:hover text, .model5 .node--core.is-active text { fill: #fff; }
.model5 .node:hover rect, .model5 .node.is-active rect { fill: var(--hsg-dunkelgruen); stroke: var(--hsg-dunkelgruen); }
.model5 .node:hover text, .model5 .node.is-active text { fill: #fff; }
.model5 .node--value:hover rect, .model5 .node--value.is-active rect { fill: #FFF581; stroke: #FFF581; }
.model5.has-active .node--cycle:not(.is-active):not(:hover) rect { fill: #6fae86; stroke: #6fae86; }
.model5.has-active .node--cycle:not(.is-active):not(:hover) text { fill: #fff; }

/* Panel: Buttons lesbar */
.panel { top: 96px; padding: 26px; }
.panel h3 { font-size: clamp(24px, 1.2rem + .8vw, 32px); }
.panel p { font-size: 17px; }
.panel .btn--light, .panel a.btn--light { background: #fff; color: var(--hsg-dunkelgruen); }
.panel .btn--ghost { background: transparent; color: #fff; border: 1px solid rgb(255 255 255 / .6); }
.panel .btn--ghost:hover { background: rgb(255 255 255 / .12); }

/* Kleinere Breiten: Panel klebt unten am Bildschirm, solange das Modell sichtbar ist */
@media (max-width: 1020px) {
  .model5 { max-height: none; }
  .panel { position: sticky; bottom: 10px; top: auto; z-index: 6; max-height: 46vh; overflow: auto;
    box-shadow: 0 -10px 40px -16px rgb(0 0 0 / .45); }
}

/* Beitragswand: Zweck und saubere Felder */
.wall-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.wall-why div { padding: 20px 22px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.wall-why b { display: block; font: 300 24px var(--font-title); margin-bottom: 4px; color: var(--link); }
.wall-why p { margin: 0; font-size: 16px; color: var(--muted); }
.wall-filters select, .diag select, .sheet select {
  appearance: none; -webkit-appearance: none; width: 100%; min-width: 0; max-width: 100%;
  padding: 12px 40px 12px 16px; border-radius: 12px; border: 1px solid var(--line); background-color: var(--bg); color: var(--text);
  font: 16px var(--font-title); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230A5F2D' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; cursor: pointer;
}
.wall-filters { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 220px) 1fr; gap: 14px; align-items: end; }
.wall-filters .chips { justify-self: start; }
.post footer { background: none; margin: 0; border-radius: 0; color: inherit; }
.post .prev { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: var(--surface); color: var(--link); text-decoration: none; }
.post .prev:hover { background: var(--surface-2); }
@media (max-width: 1020px) {
  .wall-filters { grid-template-columns: 1fr 1fr; }
  .wall-filters .chips { grid-column: 1 / -1; }
  .wall-why { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .wall-filters { grid-template-columns: 1fr; } }

/* Explorer: Raster und Details */
.explorer { display: grid; align-items: start; }
.model5 .node--value rect { fill: var(--hsg-gelb); stroke: var(--hsg-gelb); }
.model5 .node--value text { fill: #111 !important; }
.model5 .connector { stroke: var(--hsg-dunkelgruen); stroke-width: 1.5; stroke-dasharray: 3 4; }
.model5 .layer { transition: opacity .35s var(--ease); }
.model5 .layer.is-hidden { opacity: 0; pointer-events: none; }
.model5 .node { cursor: pointer; outline: none; }
.model5 .node text { text-anchor: middle; pointer-events: none; }
.model5 .node:focus-visible rect, .model5 .node:focus-visible circle { stroke: var(--hsg-gelb); stroke-width: 3; }

.nav-col > a { white-space: nowrap; }
@media (max-width: 1180px) { .nav-col > a { padding: 10px 10px; font-size: 14px; } }

/* ================================================================ IMP-Anbindung (seit 02.11.2026) */
.imp-bar { background: var(--hsg-dunkelgruen); color: #fff; font: 14px var(--font-title); }
.imp-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; }
.imp-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; opacity: .92; }
.imp-crumb a, .imp-back { color: #fff; text-decoration: none; }
.imp-crumb a:hover, .imp-back:hover { text-decoration: underline; }
.imp-crumb span[aria-hidden] { opacity: .5; }
.imp-crumb [aria-current] { font-weight: 500; }
.imp-back { white-space: nowrap; }
.imp-back::before { content: "← "; }

/* ================================================================ Modell-Explorer nach Abbildung 6 */
.model5 .env-ring { fill: none; stroke-width: 7; transition: stroke-width .2s, opacity .2s; }
.model5 .node--env line { stroke-width: 2; }
.model5 .node--env rect { stroke: none; }
.model5 .node--env text { font: 500 11.5px var(--font-title); fill: #1d2a22; letter-spacing: .02em; }
.model5 .node--env:hover rect, .model5 .node--env.is-active rect { fill: var(--hsg-dunkelgruen); }
.model5 .node--env:hover text, .model5 .node--env.is-active text { fill: #fff; }
.model5.has-env .env-ring { opacity: .35; }
.model5.has-env .env-ring.is-on { opacity: 1; stroke-width: 12; }
.model5 .node--ag .hex { fill: var(--hsg-gruen); stroke: var(--bg); stroke-width: 3; transition: fill .2s, r .2s var(--ease); }
.model5 .node--ag text { font: 500 12.5px var(--font-title); fill: #fff; }
.model5 .node--ag:hover .hex, .model5 .node--ag.is-active .hex { fill: var(--hsg-dunkelgruen); }
.model5 .cycle-ring { fill: none; stroke: var(--hsg-dunkelgruen); stroke-width: 22; }
.model5 .cycle-arrow { fill: var(--hsg-dunkelgruen); }
.model5 .node--cycle rect { fill: var(--hsg-gruen); stroke: var(--bg); stroke-width: 2; }
.model5 .node--cycle text { fill: #fff; }
.model5 .node--cycle:hover rect, .model5 .node--cycle.is-active rect { fill: var(--hsg-dunkelgruen); stroke: var(--hsg-gelb); }
.model5 .loop { fill: none; stroke: var(--text); stroke-width: 3.5; }
.model5 .node--dec rect { fill: var(--bg); stroke: var(--text); stroke-width: 1.5; }
.model5 .node--dec text { fill: var(--text); }
.model5 .node--lead text { font: 600 17px var(--font-title); fill: var(--link); }
.model5 .node--lead:hover text, .model5 .node--lead.is-active text { fill: var(--hsg-gruen); text-decoration: underline; }
.model5 .chev { fill: none; stroke: var(--hsg-gruen); stroke-width: 1.5; stroke-dasharray: 4 3; }
.model5 .chev--in { fill: var(--hsg-gruen); stroke: none; }
.model5 .chain-label { fill: var(--bg); }
.model5 .node--chain text.chain-text { font: 500 11.5px var(--font-title); fill: var(--text); }
.model5 .node--chain:hover .chev--in, .model5 .node--chain.is-active .chev--in { fill: var(--hsg-dunkelgruen); }
.model5 .slab { stroke: rgb(0 0 0 / .18); stroke-width: .8; transition: translate .25s var(--ease); }
.model5 .slab--top { filter: brightness(1.08); }
.model5 .slab-label { fill: rgb(255 255 255 / .85); stroke: none; }
.model5 .node--slab text.slab-text { font: 500 10.5px var(--font-title); fill: #111; }
.model5 .node--slab:hover .slab, .model5 .node--slab.is-active .slab { stroke: var(--hsg-dunkelgruen); stroke-width: 2; }
.model5 .node--slab:hover .slab-label, .model5 .node--slab.is-active .slab-label { fill: #fff; }
.model5.has-active .node--cycle:not(.is-active):not(:hover) rect { fill: var(--hsg-gruen); stroke: var(--bg); }

/* ================================================================ Beitragswand als Prozess-Board */
.wall-intro { max-width: 70ch; margin: 0 0 24px; font-size: 18px; }
.wall-count { margin: 0 0 0 auto; font: 500 14px var(--font-title); color: var(--muted); }
.pipeline { list-style: none; margin: 8px 0 18px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.pipe a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; height: 52px; padding: 0 26px 0 22px;
  text-decoration: none; font: 500 15px var(--font-title); color: #fff; background: var(--hsg-gruen);
  clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%, 16px 50%); transition: filter .2s; }
.pipe:first-child a { clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%); border-radius: 10px 0 0 10px; }
.pipe:last-child a { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 16px 50%); border-radius: 0 10px 10px 0; }
.pipe--curated a { background: var(--surface-2); color: var(--text); }
.pipe a:hover { filter: brightness(1.08); }
.pipe-n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgb(255 255 255 / .22); font-size: 13px; }
.pipe--curated .pipe-n { background: var(--bg); }
.pipe-t { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pipe b { font: 300 22px var(--font-title); }
.board { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: start; }
.board-group { font: 500 12px var(--font-title); letter-spacing: .1em; text-transform: uppercase; color: var(--link);
  border-top: 2px solid var(--hsg-gruen); padding-top: 8px; }
.board-group--open { grid-column: 1 / span 2; }
.board-group--curated { grid-column: 3 / span 3; color: var(--muted); border-top-color: var(--line); }
.lane { display: grid; gap: 10px; align-content: start; padding: 12px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); min-height: 160px; scroll-margin-top: 120px; }
.lane--curated { background: transparent; border-style: dashed; }
.lane-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin: 2px 4px 4px; font: 500 15px var(--font-title); }
.lane-head small { font-weight: 400; font-size: 12px; color: var(--muted); }
.lane-body { display: grid; gap: 10px; }
.lane .post { margin: 0; padding: 16px 16px 14px; border-radius: 12px; background: var(--surface); border: 1px solid transparent; transition: border-color .2s, translate .2s var(--ease); }
.lane--curated .post { background: var(--bg); border-color: var(--line); }
.lane .post:hover { border-color: var(--hsg-gruen); translate: 0 -2px; }
.lane .post.is-own { border-color: var(--hsg-gruen); }
.lane .post header { align-items: baseline; }
.lane .post h4 { font: 400 17px/1.3 var(--font-title); }
.lane .post p { font-size: 14.5px; line-height: 1.45; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.lane .post footer { font-size: 13px; }
.lane .support { padding: 4px 10px; font-size: 13px; }
.lane .empty { font: 14px var(--font-title); margin: 4px; }
@media (max-width: 1020px) {
  .pipeline { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; scrollbar-width: none; }
  .pipe-t { display: none; }
  .board { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 8px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .board-group { display: none; }
  .lane { flex: 0 0 min(82vw, 320px); scroll-snap-align: start; }
}

/* ================================================================ Modellgeschichte: Wachstumsringe */
.history { display: grid; grid-template-columns: minmax(260px, 400px) 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.rings-wrap { margin: 0; position: sticky; top: 110px; }
.rings { width: 100%; height: auto; display: block; }
.rings .ring { cursor: pointer; outline: none; }
.rings text { font: 500 15px var(--font-title); text-anchor: middle; fill: #fff; pointer-events: none; }
.rings .ring--draft text { fill: #1d2a22; }
.rings .ring-core { font-size: 20px; }
.rings .ring-year { font: 300 15px var(--font-title); fill: rgb(255 255 255 / .85); text-anchor: middle; pointer-events: none; }
.gens { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: g; }
.gen { display: grid; grid-template-columns: 64px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); outline: none; transition: background .2s; }
.gen:last-child { border-bottom: 1px solid var(--line); }
.gen-v { font: 300 34px/1 var(--font-title); color: var(--link); position: relative; }
.gen h3 { margin: 6px 0 6px; font-size: clamp(20px, 1rem + .6vw, 26px); }
.gen p { margin: 0 0 8px; color: var(--muted); }
.gen-year { font: 500 13px var(--font-title); letter-spacing: .04em; color: var(--muted); }
.gen-ctx { display: inline-block; font: 13px var(--font-title); padding: 3px 10px; border-radius: 999px; background: var(--surface); }
.gen.is-on .gen-v, .gen:focus-visible .gen-v { color: var(--hsg-gruen); }
.gen.is-on h3 { color: var(--link); }
.gen--draft .gen-v::after { content: "Entwurf"; display: block; font: 500 11px var(--font-title); letter-spacing: .08em; text-transform: uppercase; margin-top: 6px; color: var(--muted); }
@media (max-width: 860px) { .history { grid-template-columns: 1fr; } .rings-wrap { position: static; max-width: 320px; margin-inline: auto; } }
.model5 .node--env:hover rect, .model5 .node--env.is-active rect { fill: var(--hsg-dunkelgruen) !important; }
.model5 .loop { stroke-width: 8; stroke-linejoin: round; }
.explorer { grid-template-columns: minmax(0, 2.5fr) minmax(250px, 1fr); }
#modell .panel p { font-size: 16px; line-height: 1.5; }
@media (max-width: 1020px) { .explorer { grid-template-columns: 1fr; } }
.lane .post .prev { font: 500 12px var(--font-title); padding: 3px 9px; white-space: nowrap; background: var(--bg); }
.lane--curated .post .prev { background: var(--surface); }
.lane .post header { align-items: center; }
.pipeline { gap: 12px; }
.lane-title { display: none; }
.lane-head { justify-content: flex-end; }
@media (max-width: 1020px) { .lane-title { display: inline; } .lane-head { justify-content: space-between; } }
.rings.has-on .ring:not(.is-on) .band { opacity: .3; }
.rings .ring--draft .band { stroke-dasharray: 5 4; }
.rings .ring:focus-visible .band { filter: brightness(1.15); }
.rings .band { transition: opacity .25s, filter .25s; }
.rings .ring.is-on .band { filter: brightness(1.08); }

/* ================================================================ Überarbeitung 02.11.2026 (2) */
/* Pfad: schlanke Brotkrumen mit Chevrons, aktuelle Seite als Pille */
.imp-bar { background: var(--bg); color: var(--muted); border-bottom: 1px solid var(--line); }
.imp-row { min-height: 40px; }
.imp-crumb ol { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; min-width: 0; }
.imp-crumb li { display: flex; align-items: center; min-width: 0; }
.imp-crumb li + li::before { content: ""; width: 14px; height: 14px; margin: 0 4px; flex: none; opacity: .55;
  background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M6 3.5 10.5 8 6 12.5' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.imp-crumb a { color: var(--muted); padding: 4px 8px; border-radius: 999px; white-space: nowrap; transition: background .2s, color .2s; }
.imp-crumb a:hover { background: var(--surface); color: var(--text); text-decoration: none; }
.imp-crumb a[aria-current] { display: inline-flex; align-items: center; gap: 7px; color: var(--text); background: var(--surface); font-weight: 500; overflow: hidden; text-overflow: ellipsis; }
.imp-crumb a[aria-current] i { width: 7px; height: 7px; border-radius: 50%; background: var(--hsg-gruen); flex: none; box-shadow: 0 0 0 3px rgb(0 128 47 / .15); }
.imp-back { display: inline-flex; align-items: center; gap: 6px; color: var(--text); padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; transition: background .2s, border-color .2s; }
.imp-back::before { content: none; }
.imp-back:hover { background: var(--surface); border-color: var(--hsg-gruen); text-decoration: none; }
@media (max-width: 680px) { .imp-crumb .crumb-far { display: none; } .imp-crumb { min-width: 0; } }
.brand svg.signet { width: 42px; height: 42px; }

/* Farben: Gelb nur noch dort, wo es codiert (Kundenwert), sonst Grün */
.notice { border-left-color: var(--hsg-gruen); }
:focus-visible { outline-color: var(--hsg-gruen); }
.hero :focus-visible, .panel :focus-visible, .landing :focus-visible { outline-color: #fff; }

/* Modell: Übersicht und Detail */
.model5 { touch-action: pan-y; }
.model5.is-zoomed { cursor: grab; touch-action: none; }
.model5.is-dragging { cursor: grabbing; }
.model5 .detail-only, .model5 .overview-only { transition: opacity .35s var(--ease); }
.model5:not(.is-detail) .detail-only { pointer-events: none; }
.model5.is-detail .overview-only { pointer-events: none; }
.model5 .node--ag .hex { transition: r .35s var(--ease), fill .2s; }
.model5 .node--ag text { transition: opacity .3s; }
.model5 .env-ring { stroke-width: 6; }
.model5 .cycle-ring { stroke-width: 20; }
.model5 .loop { stroke-width: 6; opacity: .85; }
/* Etiketten der Übersicht */
.model5 .node--group rect { fill: var(--bg); stroke: none; filter: drop-shadow(0 3px 8px rgb(0 0 0 / .14)); transition: fill .2s; }
.model5 .node--group text { font: 500 23px var(--font-title); fill: var(--text); }
.model5 .node--group:hover rect, .model5 .node--group.is-active rect { fill: var(--hsg-dunkelgruen); stroke: none; }
.model5 .node--group:hover text, .model5 .node--group.is-active text { fill: #fff; }
/* ruhige Zustände: Schatten und Dunkelgrün statt Konturen */
.model5 .node--cycle rect { fill: var(--hsg-gruen); stroke: none; rx: 6px; }
.model5 .node--cycle:hover rect, .model5 .node--cycle.is-active rect { fill: var(--hsg-dunkelgruen); stroke: none; }
.model5 .node--cycle:hover, .model5 .node--cycle.is-active, .model5 .node--dec:hover, .model5 .node--dec.is-active { filter: drop-shadow(0 3px 6px rgb(0 0 0 / .22)); }
.model5.has-active .node--cycle:not(.is-active):not(:hover) rect { fill: var(--hsg-gruen); stroke: none; }
.model5 .node--dec rect { fill: var(--bg); stroke: var(--line); stroke-width: 1; rx: 6px; }
.model5 .node--dec:hover rect, .model5 .node--dec.is-active rect { fill: var(--hsg-dunkelgruen); stroke: none; }
.model5 .node--dec:hover text, .model5 .node--dec.is-active text { fill: #fff; }
.model5 .node--ag .hex { stroke: none; }
.model5 .node--ag:hover, .model5 .node--ag.is-active { filter: drop-shadow(0 3px 6px rgb(0 0 0 / .25)); }
.model5 .node--chain .chain-label, .model5 .node--chain:hover .chain-label, .model5 .node--chain.is-active .chain-label { fill: var(--bg); stroke: none; }
.model5 .node--chain text.chain-text, .model5 .node--chain:hover text.chain-text { fill: var(--text); }
.model5 .chev { stroke-dasharray: 3 3; stroke-width: 1.2; }
.model5 .slab { stroke: none; transition: translate .3s var(--ease), filter .3s; }
.model5 .slab-top { fill: rgb(255 255 255 / .35); pointer-events: none; }
.model5 .node--slab:hover .slab, .model5 .node--slab.is-active .slab { stroke: none; translate: 0 -3px; filter: drop-shadow(0 4px 5px rgb(0 0 0 / .2)); }
.model5 .node--slab:hover .slab-top, .model5 .node--slab.is-active .slab-top { translate: 0 -3px; }
.model5 .node--slab .slab-label, .model5 .node--slab:hover .slab-label, .model5 .node--slab.is-active .slab-label { fill: rgb(255 255 255 / .9); stroke: none; }
.model5 .node--slab .slab-label + text { fill: #111; }
.model5 .node--env rect { stroke: none; }
.model5 .node:focus-visible rect, .model5 .node:focus-visible circle { stroke: var(--hsg-dunkelgruen); stroke-width: 3; }
/* Bedienleiste */
.model-wrap { position: relative; }
.zoom-ui { position: absolute; top: 14px; right: 14px; display: flex; align-items: center; gap: 6px; padding: 5px; border-radius: 999px;
  background: rgb(255 255 255 / .88); backdrop-filter: blur(8px); box-shadow: 0 2px 10px rgb(0 0 0 / .1); font-family: var(--font-title); }
.zoom-level { font-size: 13px; color: var(--muted); padding: 0 8px 0 10px; }
.zoom-btn { appearance: none; border: 0; background: var(--surface); color: var(--text); width: 32px; height: 32px; border-radius: 50%; font: 400 18px/1 var(--font-title); cursor: pointer; transition: background .2s, color .2s; }
.zoom-btn--text { width: auto; padding: 0 12px; border-radius: 999px; font-size: 13px; }
.zoom-btn:hover { background: var(--hsg-dunkelgruen); color: #fff; }
@media (max-width: 680px) { .zoom-level { display: none; } .zoom-ui { top: 8px; right: 8px; } }

/* Modellgeschichte als Akkordeon */
.gen { display: block; padding: 0; transition: opacity .25s; }
.gens.has-open .gen:not(.is-open) { opacity: .55; }
.gens.has-open .gen:not(.is-open):hover { opacity: 1; }
.gen-head { appearance: none; border: 0; background: none; color: inherit; width: 100%; text-align: left; cursor: pointer;
  display: grid; grid-template-columns: 64px 1fr 28px; gap: 18px; align-items: center; padding: 18px 0; font: inherit; }
.gen-title { display: grid; gap: 4px; }
.gen-title b { font: 300 clamp(20px, 1rem + .6vw, 26px)/1.2 var(--font-title); }
.gen-plus { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); position: relative; transition: background .2s, rotate .3s var(--ease); }
.gen-plus::before, .gen-plus::after { content: ""; position: absolute; inset: 50% 8px auto; height: 1.5px; background: currentColor; translate: 0 -50%; }
.gen-plus::after { rotate: 90deg; }
.gen.is-open .gen-plus { rotate: 45deg; background: var(--hsg-dunkelgruen); color: #fff; border-color: var(--hsg-dunkelgruen); }
.gen-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.gen-body > div { overflow: hidden; padding-left: 82px; }
.gen.is-open .gen-body { grid-template-rows: 1fr; }
.gen.is-open .gen-body > div { padding-bottom: 20px; }
.gen.is-open .gen-v, .gen.is-on .gen-v { color: var(--hsg-gruen); }
.gen h3 { display: none; }
@media (max-width: 680px) { .gen-head { grid-template-columns: 48px 1fr 28px; gap: 12px; } .gen-body > div { padding-left: 60px; } }

/* Ringvorlesungen */
button.lecture { appearance: none; text-align: left; color: inherit; cursor: pointer; transition: border-color .2s, background .2s, opacity .2s, translate .2s var(--ease); }
button.lecture:hover { border-color: var(--hsg-gruen); translate: 0 -2px; }
button.lecture[aria-pressed="true"] { background: var(--hsg-dunkelgruen); border-color: var(--hsg-dunkelgruen); color: #fff; }
button.lecture[aria-pressed="true"] span { color: rgb(255 255 255 / .8) !important; }
.lectures.has-pick button.lecture[aria-pressed="false"] { opacity: .6; }
.lecture-detail { margin-top: 14px; padding: 26px 28px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line); border-top: 3px solid var(--hsg-gruen); view-transition-name: lecture; }
.lecture-detail h4 { font: 300 clamp(22px, 1.1rem + .6vw, 28px)/1.2 var(--font-title); margin: 8px 0 10px; }
.lecture-detail p { max-width: 70ch; }
.lecture-detail b { font: 500 14px var(--font-title); }
.lecture-detail ul { margin: 6px 0 14px; padding-left: 20px; }

/* ================================================================ Landing Page */
.landing { background: var(--hsg-dunkelgruen); color: #fff; border-bottom-right-radius: var(--radius-xl); overflow: clip; }
.landing-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center;
  min-height: min(calc(100vh - 110px), 900px); padding-block: clamp(36px, 5vw, 72px); }
.landing .label { color: rgb(255 255 255 / .72); }
.landing h1 { color: #fff; margin: 12px 0 10px; font-size: clamp(36px, 1.6rem + 2.6vw, 66px); max-width: 16ch; }
.landing .lead { color: rgb(255 255 255 / .88); max-width: 46ch; font-size: clamp(17px, 1rem + .3vw, 20px); margin: 0; }
.landing-model { margin: clamp(10px, 2vw, 24px) 0 0; }
.lm { width: 100%; height: auto; display: block; overflow: visible; }
/* ruhig: einmal einzeichnen, danach nur sehr langsames Atmen der Umwelt-Ringe, alles einfarbig */
.lm-ring { fill: none; stroke: rgb(255 255 255 / .28); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; animation: lm-draw 2.4s var(--ease) forwards; animation-delay: calc(var(--i) * .15s); }
.lm-rot { transform-box: view-box; transform-origin: 600px 338px; rotate: var(--r); }
.lm-cycle { fill: none; stroke: rgb(255 255 255 / .2); stroke-width: 18; stroke-dasharray: 1; stroke-dashoffset: 1; animation: lm-draw 2.4s .6s var(--ease) forwards; }
.lm-arrow { fill: rgb(255 255 255 / .45); opacity: 0; animation: lm-fade 1s 2.4s forwards; }
.lm-loop-flow { fill: none; stroke: var(--hsg-dunkelgruen); stroke-width: 1.6; stroke-dasharray: .8 9; }
.lm-loop { fill: none; stroke: rgb(255 255 255 / .75); stroke-width: 3.5; opacity: 0; animation: lm-fade 1.2s 1.2s forwards; }
.lm-chev { fill: none; stroke: rgb(255 255 255 / .35); stroke-width: 1.2; stroke-dasharray: 3 3; }
.lm-chev--in { fill: rgb(255 255 255 / .8); stroke: none; }
.lm-chain { opacity: 0; animation: lm-fade 1.2s 1.6s forwards; }
.lm-slab { fill: rgb(255 255 255 / .16); stroke: rgb(255 255 255 / .45); stroke-width: 1; opacity: 0; animation: lm-rise 1s var(--ease) forwards; animation-delay: calc(1.8s + var(--j) * .15s); }
.lm-dot { fill: var(--hsg-dunkelgruen); stroke: rgb(255 255 255 / .8); stroke-width: 3; opacity: 0; animation: lm-fade 1s forwards; animation-delay: calc(1.2s + var(--k) * .1s); }
.lm-tag { opacity: 0; animation: lm-fade 1s var(--ease) forwards; animation-delay: calc(2.8s + var(--t) * .3s); }
.lm-tag rect { fill: #fff; filter: drop-shadow(0 4px 10px rgb(0 0 0 / .2)); }
.lm-tag text { font: 500 24px var(--font-title); fill: #111; text-anchor: middle; }
@keyframes lm-draw { to { stroke-dashoffset: 0; } }
@keyframes lm-fade { to { opacity: 1; } }
@keyframes lm-rise { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
@media (prefers-reduced-motion: no-preference) {
  /* sanfte Dauerbewegung: Ringe wiegen, Punkte schweben, die 8 fliesst kaum merklich, durch die Kette läuft ein Schimmer */
  .lm-rot { animation: lm-sway 15s ease-in-out infinite alternate; animation-delay: calc(var(--d) * -2); }
  @keyframes lm-sway { from { rotate: calc(var(--r) - 5deg); } to { rotate: calc(var(--r) + 5deg); } }
  .lm-dot { animation: lm-fade 1s forwards, lm-float 4.5s ease-in-out infinite alternate;
    animation-delay: calc(1.2s + var(--k) * .1s), calc(var(--k) * -.9s); }
  @keyframes lm-float { from { translate: 0 -15px; } to { translate: 0 15px; } }
  .lm-loop-flow { opacity: 0; animation: lm-fade-half 1.2s 2s forwards, lm-flow 48s linear infinite; }
  @keyframes lm-fade-half { to { opacity: .45; } }
  @keyframes lm-flow { to { stroke-dashoffset: -100; } }
  .lm-chev--in { animation: lm-wave 3.2s ease-in-out infinite; animation-delay: calc(var(--c) * .22s); }
  .lm-chev:not(.lm-chev--in) { animation: lm-wave-out 3.2s ease-in-out infinite; animation-delay: calc(var(--c) * .22s); }
  @keyframes lm-wave { 0%, 100% { fill-opacity: .4; } 35% { fill-opacity: 1; } }
  @keyframes lm-wave-out { 0%, 100% { stroke-opacity: .3; } 35% { stroke-opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  /* Windows meldet oft «Animationen reduzieren»: Modell sofort fertig zeigen, die ruhige Dauerbewegung bleibt */
  .lm-ring, .lm-cycle { stroke-dashoffset: 0; animation: none; }
  .lm-arrow, .lm-loop, .lm-chain, .lm-tag, .lm-node, .lm-slab { opacity: 1; animation: none; }
  .lm-dot { opacity: 1; animation: lm-float 4.5s ease-in-out infinite alternate; animation-delay: calc(var(--k) * -.9s); }
  .lm-rot { animation: lm-sway 15s ease-in-out infinite alternate; animation-delay: calc(var(--d) * -2); }
  .lm-loop-flow { opacity: .6; stroke-width: 2.4; animation: lm-flow 30s linear infinite; }
  .lm-cycle-flow { opacity: .6; animation: lm-flow 40s linear infinite reverse; }
  .lm-chev--in { animation: lm-wave 3.2s ease-in-out infinite; animation-delay: calc(var(--c) * .22s); }
  .lm-chev:not(.lm-chev--in) { animation: lm-wave-out 3.2s ease-in-out infinite; animation-delay: calc(var(--c) * .22s); }
}
/* Keyframes ausserhalb der Medienabfragen, damit sie in beiden Fällen gelten */
@keyframes lm-sway { from { rotate: calc(var(--r) - 5deg); } to { rotate: calc(var(--r) + 5deg); } }
@keyframes lm-float { from { translate: 0 -15px; } to { translate: 0 15px; } }
@keyframes lm-flow { to { stroke-dashoffset: -100; } }
@keyframes lm-wave { 0%, 100% { fill-opacity: .4; } 35% { fill-opacity: 1; } }
@keyframes lm-wave-out { 0%, 100% { stroke-opacity: .3; } 35% { stroke-opacity: 1; } }
.portals .label { display: block; margin-bottom: 10px; }
.portals ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.portal { display: grid; grid-template-columns: 34px 1fr 24px; gap: 14px; align-items: center; padding: 14px 18px; border-radius: 16px;
  color: #fff; text-decoration: none; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .14);
  transition: background .25s, border-color .25s, translate .25s var(--ease); }
.portal:hover, .portal:focus-visible { background: rgb(255 255 255 / .14); border-color: rgb(255 255 255 / .35); translate: 4px 0; }
.portal--main { background: #fff; color: var(--hsg-dunkelgruen); border-color: #fff; }
.portal--main:hover { background: var(--beige-60w); }
.pn { font: 300 15px var(--font-title); opacity: .7; font-variant-numeric: tabular-nums; }
.pt { display: grid; gap: 2px; }
.pt b { font: 400 19px/1.2 var(--font-title); }
.pt small { font: 300 14px/1.35 var(--font-title); opacity: .8; }
.pa { font-size: 18px; transition: translate .25s var(--ease); }
.portal:hover .pa { translate: 4px 0; }
@media (max-width: 1020px) { .landing-grid { grid-template-columns: 1fr; min-height: 0; } }
.model5 { overflow: hidden; border-radius: 14px; }
.imp-crumb { min-width: 0; flex: 1 1 auto; }
.imp-crumb li { flex: none; }
.imp-crumb li:last-child { flex: 0 1 auto; min-width: 0; }
.imp-crumb li:last-child a { max-width: 100%; }
.imp-back { flex: none; }
@media (max-width: 680px) { .imp-crumb li:nth-child(2)::before { display: none; } }
@media (max-width: 680px) {
  .zoom-ui { position: static; justify-content: flex-end; margin: 10px 0 0; padding: 0; background: none; box-shadow: none; backdrop-filter: none; }
}
@media (max-width: 1020px) { #modell .panel { position: static; } }

/* Zoom stetig: Ein- und Ausblenden folgt dem Detailgrad, keine eigenen Übergänge, keine Sprünge */
.model5 .detail-only, .model5 .overview-only, .model5 .node--ag .hex, .model5 .node--ag text { transition: none; }
.model5 .detail-only { opacity: var(--lod, 0); }
.model5 .overview-only { opacity: calc(1 - var(--lod, 0)); }
.model5 .node--ag text { opacity: var(--lod, 0); }
.model5 .node--slab:hover .slab, .model5 .node--slab.is-active .slab,
.model5 .node--slab:hover .slab-top, .model5 .node--slab.is-active .slab-top { translate: none; }
.model5 .node--slab .slab { transition: filter .3s; }

/* ================================================================ Landing ohne Kopf- und Fusszeile */
body.landing-page { background: var(--hsg-dunkelgruen); }
.landing-page .landing { min-height: 100vh; min-height: 100dvh; border-radius: 0; display: grid; grid-template-rows: auto 1fr auto auto; }
.landing-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px 0; font: 14px var(--font-title); }
.landing-mark { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 500; font-size: 16px; }
.landing-mark svg { width: 36px; height: 36px; }
.landing-mark svg circle { fill: #fff; }
.landing-status { display: inline-flex; align-items: center; gap: 8px; color: rgb(255 255 255 / .75); padding: 6px 14px; border: 1px solid rgb(255 255 255 / .2); border-radius: 999px; }
.landing-status i { width: 7px; height: 7px; border-radius: 50%; background: #8FD39A; }
.landing-page .landing-grid { min-height: 0; padding-block: clamp(16px, 3vw, 40px) 0; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); }
.landing-page .landing-model { margin: 0; }
.landing-text { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: clamp(28px, 4vw, 64px); align-items: end;
  padding-block: clamp(24px, 4vw, 48px) clamp(20px, 3vw, 32px); border-top: 1px solid rgb(255 255 255 / .16); margin-top: clamp(20px, 3vw, 40px); }
.landing-text h1 { color: #fff; margin: 0; font-weight: 300; font-size: clamp(40px, 1.2rem + 4.2vw, 92px); line-height: .98; letter-spacing: -.02em; }
.landing-text h1 em { font-style: normal; color: #8FD39A; }
.landing-copy p { margin: 0 0 18px; color: rgb(255 255 255 / .85); font-size: clamp(17px, 1rem + .25vw, 20px); max-width: 40ch; }
.landing-facts { display: flex; gap: clamp(16px, 2.5vw, 32px); margin: 0; }
.landing-facts dt { font: 300 clamp(26px, 1.2rem + 1vw, 38px)/1 var(--font-title); color: #fff; }
.landing-facts dd { margin: 4px 0 0; font: 13px/1.3 var(--font-title); color: rgb(255 255 255 / .7); }
.landing-foot { margin: 0 auto; padding-block: 0 22px; font: 13px var(--font-title); color: rgb(255 255 255 / .55); }
.landing-foot a { color: rgb(255 255 255 / .8); }
@media (max-width: 1020px) {
  .landing-page .landing-grid, .landing-text { grid-template-columns: 1fr; }
}
@media (max-width: 680px) { .landing-status { display: none; } .landing-facts { flex-wrap: wrap; } }
.landing-page .landing > .wrap { width: 100%; box-sizing: border-box; }
.landing-text h1 { font-size: clamp(36px, 1rem + 3.2vw, 72px); }
.landing-page .landing-model .lm { max-height: calc(100dvh - 330px); margin-inline: auto; }
.landing-text h1 { font-size: clamp(32px, .8rem + 2.6vw, 58px); line-height: 1.02; }
.landing-page .landing-model .lm { max-height: calc(100dvh - 390px); min-height: 260px; }
.landing-text { padding-block: clamp(18px, 2.4vw, 32px) clamp(14px, 2vw, 22px); margin-top: clamp(14px, 2vw, 28px); }
.landing-text h1 { max-width: none; }
.landing-page .portal { padding: 11px 16px; }
.landing-page .portals ol { gap: 6px; }

/* Beitragswand: Kuratoriums-Ebenen als einklappbare Leisten */
.board { transition: grid-template-columns .35s var(--ease); }
.pipeline { transition: grid-template-columns .35s var(--ease); }
.board-group--open { grid-column: 1 / span 2; }
.board-group--curated { grid-column: 3 / -1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lane { min-width: 0; overflow: hidden; }
.lane .post header { flex-wrap: wrap; row-gap: 6px; }
.lane .post h4 { overflow-wrap: anywhere; hyphens: auto; }
.lane-head { align-items: center; }
.lane-close { appearance: none; border: 1px solid var(--line); background: var(--bg); color: var(--text); width: 26px; height: 26px; border-radius: 50%; cursor: pointer; font-size: 16px; line-height: 1; margin-left: 4px; }
.lane-close:hover { background: var(--hsg-dunkelgruen); color: #fff; border-color: var(--hsg-dunkelgruen); }
.lane.is-collapsed { padding: 0; min-height: 320px; align-self: stretch; border-style: dashed; background: transparent; }
.lane-toggle { appearance: none; border: 0; background: none; color: var(--text); cursor: pointer; width: 100%; height: 100%; min-height: 320px;
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 14px 0; font: 500 15px var(--font-title); border-radius: 16px; transition: background .2s; }
.lane-toggle:hover { background: var(--surface); }
.lane-vert { writing-mode: vertical-rl; rotate: 180deg; white-space: nowrap; }
.lane-count { display: grid; place-items: center; min-width: 28px; height: 28px; border-radius: 999px; background: var(--surface-2); font-size: 14px; }
.lane-plus { margin-top: auto; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 17px; }
.pipe.is-collapsed a { grid-template-columns: 1fr; justify-items: center; padding: 0 10px 0 18px; gap: 0; }
.pipe.is-collapsed .pipe-t, .pipe.is-collapsed .pipe-n { display: none; }
.pipe.is-collapsed b { font-size: 18px; }
@media (max-width: 1020px) {
  .pipeline { display: none; }
  .lane.is-collapsed { flex: 0 0 64px; }
}

/* Landing: Titel oben, Absatz und Kennzahlen unten */
.landing-top { align-items: center; padding-block: clamp(20px, 3vw, 36px) 0; }
.landing-top h1 { margin: 0; color: #fff; font-weight: 300; font-size: clamp(28px, .8rem + 2.4vw, 52px); line-height: 1.05; letter-spacing: -.01em; max-width: none; }
.landing-top h1 em { font-style: normal; color: #8FD39A; }
.landing-status { flex: none; }
.landing-text { align-items: center; }
.landing-claim { margin: 0; color: rgb(255 255 255 / .9); font: 300 clamp(20px, .9rem + .9vw, 30px)/1.3 var(--font-title); max-width: 34ch; }
.landing-copy { justify-self: start; }
@media (max-width: 680px) { .landing-top { flex-direction: column; align-items: flex-start; } }

/* Führung & Entscheide als Dreieck, Anspruchsgruppen als Sechsecke (Abbildung 6) */
.model5 .loop--tri { stroke-width: 2.5; opacity: calc(var(--lod, 0) * .7); stroke-linejoin: round; }
.model5 .node--dec.node--tri rect { rx: 50%; ry: 50%; }
.model5 .node--ag .hex { stroke-linejoin: round; }
.lm-node { fill: var(--hsg-dunkelgruen); stroke: rgb(255 255 255 / .75); stroke-width: 2.5; opacity: 0; animation: lm-fade 1s forwards; animation-delay: calc(1.3s + var(--n) * .15s); }
.lm-node--top { fill: rgb(255 255 255 / .75); }
.lm-dot { stroke-linejoin: round; }
.lm-cycle-flow { fill: none; stroke: #fff; stroke-width: 3.5; stroke-dasharray: .35 2.6; stroke-linecap: round; opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .lm-cycle-flow { animation: lm-fade-flow 1.2s 3s forwards, lm-flow 40s linear infinite reverse; }
  .lm-loop-flow { stroke-width: 2.4; animation: lm-fade-flow 1.2s 2s forwards, lm-flow 30s linear infinite; }
  @keyframes lm-fade-flow { to { opacity: .6; } }
}

/* Beitragswand: zwei Wege, gezielter Beitrag oder freies Feedback */
.wall-actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
#contribute label small { font-weight: 400; color: var(--muted, #6b6b6b); }
.wall-actions .btn--ghost { color: var(--hsg-dunkelgruen); background: transparent; border: 1.5px solid var(--hsg-dunkelgruen); }
.wall-actions .btn--ghost:hover { color: #fff; background: var(--hsg-dunkelgruen); }
.panel-actions .btn { white-space: nowrap; }

/* Impressum und Datenschutz */
.legal h1 { font-family: var(--font-title); font-weight: 300; font-size: clamp(36px, 1.6rem + 2vw, 56px); line-height: 1.05; margin: .3em 0 .6em; }
.legal h2 { font-family: var(--font-title); font-weight: 400; font-size: clamp(21px, 1.1rem + .4vw, 26px); margin: 1.8em 0 .5em; }
.legal a { color: var(--link); }
.legal .legal-stand { color: var(--muted); margin-top: 2.4em; }

/* Beitragswand live */
.support.is-static { cursor: default; opacity: .6; }
.post.is-sample { opacity: .82; }
.wall-msg { margin: 8px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--surface); border-left: 3px solid var(--hsg-gruen); font-size: 15px; }
.falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.c-status { margin: 0; min-height: 1.2em; font-size: 14px; color: var(--muted); }

/* Freigabe-Seite Kernteam */
.kur { max-width: 860px; }
.kur h1 { font-family: var(--font-title); font-weight: 300; font-size: clamp(34px, 1.6rem + 2vw, 52px); margin: .3em 0 .4em; }
.k-intro { color: var(--muted); max-width: 62ch; }
.k-form { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; margin-top: 18px; }
.k-form label { display: grid; gap: 6px; font-family: var(--font-title); font-size: 15px; flex: 1 1 260px; }
.k-form input { font: inherit; font-size: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); color: var(--text); }
.k-status { min-height: 1.4em; color: var(--muted); }
.k-leiste { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 24px 0 18px; }
.k-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.k-filter button { font: 500 15px var(--font-title); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--text); cursor: pointer; }
.k-filter button[aria-pressed="true"] { background: var(--hsg-dunkelgruen); border-color: var(--hsg-dunkelgruen); color: #fff; }
.k-filter b { font-weight: 500; opacity: .75; margin-left: 4px; }
.k-aktionen { display: flex; gap: 8px; }
.kur .btn--ghost { color: var(--hsg-dunkelgruen); background: transparent; border: 1.5px solid var(--hsg-dunkelgruen); }
.kur .btn--ghost:hover { color: #fff; background: var(--hsg-dunkelgruen); }
.k-post { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin-bottom: 14px; background: var(--bg); }
.k-post header { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.k-typ { font-family: var(--font-title); font-weight: 500; color: var(--link); }
.k-post h3 { font-family: var(--font-title); font-weight: 400; font-size: 21px; margin: 8px 0 4px; }
.k-post p { margin: 0 0 12px; }
.k-felder { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.k-felder label { display: grid; gap: 4px; font: 500 13px var(--font-title); color: var(--muted); }
.k-felder select { font: inherit; font-size: 15px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.k-knoepfe { display: flex; gap: 8px; flex-wrap: wrap; }
.k-leer { color: var(--muted); }

/* Halbtransparente Flächen im Dunkelmodus, nur wo color-mix() bekannt ist */
@supports (background: color-mix(in srgb, red 50%, transparent)) {
  .top { background: color-mix(in srgb, var(--bg) 82%, transparent); }
  .zoom-ui { background: color-mix(in srgb, var(--bg) 88%, transparent); }
}
/* Schmale, ruhige Bildlaufleisten auch unter Windows */
html { scrollbar-color: rgb(90 86 78 / .4) transparent; }
.sheet, .mobile-menu { scrollbar-width: thin; }
/* Beispielkarten: Abstimmen erst bei echten Beiträgen */
.support.is-static { cursor: not-allowed; }

/* Landing am Desktop: Kopf, Modell und Zugänge füllen genau den ersten Bildschirm bis zum Trennstrich,
   Leitsatz, Zahlen und Fusszeile folgen beim Scrollen. --kopf ist die feste Höhe der Titelzeile. */
@media (min-width: 1021px) {
  .landing-page { --kopf: 96px; --luft: 24px; }
  .landing-top { min-height: var(--kopf); box-sizing: border-box; padding-block: 0; align-items: center; }
  .landing-page .landing-grid { min-height: calc(100dvh - var(--kopf) - var(--luft) - 1px); padding-block: 0; align-items: center; }
  .landing-text { margin-top: var(--luft); }
}
/* Niedrige Fenster (z. B. Windows-Laptop mit 150 % Skalierung): Zugänge etwas kompakter, Abstände wachsen mit der Höhe */
@media (min-width: 1021px) and (max-height: 860px) {
  .landing-page { --kopf: max(56px, 11vh); --luft: 2vh; }
  .landing-top h1 { font-size: clamp(26px, 6.5vh, 52px); }
  .landing-page .portals ol { gap: .9vh; }
  .landing-page .portal { padding: 1.1vh 16px; gap: 12px; border-radius: 13px; }
  .landing-page .pt b { font-size: clamp(15px, 3vh, 19px); line-height: 1.15; }
  .landing-page .pt small { font-size: clamp(12px, 2.25vh, 14px); line-height: 1.25; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; line-clamp: 1; overflow: hidden; }
  .landing-page .pn { font-size: clamp(13px, 2.4vh, 15px); }
  .landing-page .landing-model .lm { max-height: calc(100dvh - var(--kopf) - 60px); min-height: 0; }
}
/* Fusszeile der Landing etwas kleiner */
.landing-foot { font-size: 12px; }
/* Fluss auf der 8 auch bei «Animationen reduzieren» (muss nach der Grundregel stehen) */
@media (prefers-reduced-motion: reduce) {
  .lm-cycle-flow { opacity: .6; animation: lm-flow 40s linear infinite reverse; }
  .lm-loop-flow { opacity: .6; stroke-width: 2.4; animation: lm-flow 30s linear infinite; }
}

/* Kernteam in drei Reihen: Leitung, IMP-HSG, Zukunft-Fabrik.2050 */
.voices--leitung, .voices--vier { margin: 0 0 10px; }
@media (min-width: 900px) {
  .voices--leitung { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .voices--vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.voices--leitung .voice strong { font-size: 19px; }

/* Verweise auf das Arbeitspapier (Alexandria) */
.ap-link { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.ap-link:hover { text-decoration-thickness: 2px; }
a.landing-status { text-decoration: none; transition: border-color .2s, color .2s; }
a.landing-status:hover { color: #fff; border-color: rgb(255 255 255 / .55); }

/* Fotos der HSG Alumni Deutschland Konferenz 2026 */
.rfoto { margin: 14px 0 16px; }
.rfoto img, .fotoband img, .kernteam-foto img { display: block; width: 100%; height: auto; border-radius: 12px; }
.rfoto figcaption, .kernteam-foto figcaption { font: 13px var(--font-title); color: var(--muted); margin-top: 6px; }
.fotoband { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 28px 0 8px; }
.fotoband figure { margin: 0; }
.fotoband img { aspect-ratio: 3 / 2; object-fit: cover; }
.fotoband-text { grid-column: 1 / -1; font: 13px var(--font-title); color: var(--muted); margin: 0; }
@media (max-width: 760px) { .fotoband { grid-template-columns: 1fr 1fr; } .fotoband figure:last-of-type { grid-column: 1 / -1; } }
.kernteam-foto { margin: 0 0 16px; max-width: 760px; }
/* Kernteam in zwei Spalten: IMP-HSG unter Thomas Bieger, Zukunft-Fabrik.2050 unter Rainer Lampe */
.kernteam { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 16px 0; }
.kernteam-gruppe { display: grid; gap: 10px; align-content: start; }
.voices--zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.voice--leitung strong { font-size: 19px; }
@media (max-width: 900px) { .kernteam { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .voices--zwei { grid-template-columns: 1fr; } }

/* Anhang an Beiträgen (PDF mit Kurzzusammenfassung) */
.panhang { border-top: 1px solid var(--line); padding-top: 10px; margin: 0 0 12px; font-size: 14px; }
.panhang a, .panhang > span { font-family: var(--font-title); color: var(--ink, inherit); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.panhang > span { text-decoration: none; color: var(--muted); }
.panhang p, .lane .post .panhang p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.45; -webkit-line-clamp: 5; }
.c-hilfe { display: block; color: var(--muted); font-size: 13px; line-height: 1.4; margin-top: 4px; font-weight: 400; }
#c-datei { font: inherit; font-size: 14px; padding: 6px 0; }
.k-anhang { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin: 0 0 12px; }
.k-anhang textarea { width: 100%; font: inherit; font-size: 14px; margin: 6px 0; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: inherit; }
.k-anhang .k-knoepfe { margin: 0; }
.k-anhang > a { display: inline-block; margin-bottom: 10px; font-family: var(--font-title); }
.k-anhang label { display: block; font-size: 14px; color: var(--muted); }
.k-anhang .k-knoepfe { display: flex; gap: 8px; flex-wrap: wrap; }

/* Dateiauswahl im Formular */
.c-anhang { display: grid; gap: 6px; margin: 0 0 14px; }
.c-anhang-titel { font-weight: inherit; }
.c-anhang-titel small { font-weight: 400; color: var(--muted, #6b6b6b); }
.dropzone { position: relative; display: flex !important; align-items: center; gap: 12px; padding: 14px 16px; margin: 0 !important;
  border: 1.5px dashed var(--line); border-radius: 14px; background: var(--bg); cursor: pointer;
  transition: border-color .2s, background-color .2s; }
.dropzone:hover, .dropzone.is-drag, .dropzone:focus-within { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 5%, var(--bg)); }
.dropzone.is-voll { border-style: solid; }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.dz-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--hsg-gruen); color: #fff; }
.dz-text { font-size: 15px; color: var(--muted); overflow-wrap: anywhere; }
.dz-text b { color: var(--ink, inherit); font-weight: 500; }
.dropzone:not(.is-voll) .dz-text b { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.dz-weg { position: relative; z-index: 1; margin-left: auto; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: inherit; cursor: pointer; }
.dz-weg:hover { border-color: var(--accent); }
@supports not (background: color-mix(in srgb, red 5%, white)) { .dropzone:hover, .dropzone.is-drag { background: #f6f8f6; } }

/* Anhang auf der Karte: Datei-Kachel und aufklappbare Zusammenfassung */
.panhang { border-top: 1px solid var(--line); padding-top: 10px; margin: 0 0 12px; display: grid; gap: 8px; }
.pdatei { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); color: inherit; text-decoration: none; font: 14px/1.3 var(--font-title); transition: border-color .2s, transform .2s; }
a.pdatei:hover { border-color: var(--accent); transform: translateY(-1px); }
.pdatei svg { flex: none; color: var(--accent); }
.pdatei-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.pdatei-auf { margin-left: auto; color: var(--accent); }
.pdatei.is-off { color: var(--muted); }
.pzus summary { cursor: pointer; font: 13.5px var(--font-title); color: var(--accent); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.pzus summary::-webkit-details-marker { display: none; }
.pzus summary::before { content: '+'; display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1px solid currentColor; border-radius: 50%; font-size: 13px; line-height: 1; }
.pzus[open] summary::before { content: '–'; }
.panhang .pzus p, .lane .post .panhang .pzus p { margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); display: block; -webkit-line-clamp: unset; overflow: visible; }
@media (prefers-reduced-motion: reduce) { a.pdatei:hover { transform: none; } }
.panhang a.pdatei, .panhang a.pdatei:hover { text-decoration: none; }
.c-anhang-titel { font: 500 15px var(--font-title); } .c-anhang-titel small { font-size: 13px; }

/* Bildstrecke «Die Schritte auf der Bühne»: horizontal, rechts am Seitenrand angeschnitten */
.buehne { margin-top: clamp(48px, 7vw, 88px); }
.buehne-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 20px; }
.buehne-kopf h3 { font: 300 clamp(26px, 3.2vw, 38px)/1.15 var(--font-title); margin: 6px 0 8px; }
.buehne-kopf p { margin: 0; max-width: 60ch; color: var(--muted); }
.buehne-knoepfe { display: flex; gap: 8px; flex: none; }
.buehne-knoepfe .icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg); color: inherit; font-size: 18px; cursor: pointer; transition: border-color .2s, opacity .2s; }
.buehne-knoepfe .icon-btn:hover:not(:disabled) { border-color: var(--accent); }
.buehne-knoepfe .icon-btn:disabled { opacity: .35; cursor: default; }
.buehne-bahn {
  --rand: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  display: flex; gap: clamp(12px, 1.6vw, 20px); overflow-x: auto; overscroll-behavior-x: contain;
  padding: 4px var(--rand) 8px; scroll-padding-inline: var(--rand); scroll-snap-type: x mandatory;
  scrollbar-width: none; cursor: grab; outline: none;
}
.buehne-bahn::-webkit-scrollbar { display: none; }
.buehne-bahn.is-ziehen { cursor: grabbing; scroll-snap-type: none; }
.buehne-bahn.is-ziehen .bkarte { pointer-events: none; }
.bkarte { position: relative; flex: 0 0 clamp(270px, 42vw, 560px); aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden;
  scroll-snap-align: start; color: #fff; text-decoration: none; background: #1d2a22; }
.bkarte img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); user-select: none; }
.bkarte::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0) 55%); }
.bkarte-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; display: flex; align-items: flex-end; gap: 12px; padding: 16px 18px; font: 400 clamp(15px, 1.4vw, 18px)/1.3 var(--font-title); }
.bkarte-n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--hsg-gruen); font-size: 15px; }
.bkarte:hover img, .bkarte:focus-visible img { transform: scale(1.04); }
.bkarte:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.buehne-fortschritt { height: 2px; background: var(--line); margin-top: 18px; border-radius: 2px; overflow: hidden; }
.buehne-fortschritt span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(.06); transition: transform .15s linear; }
@media (max-width: 640px) { .buehne-knoepfe { display: none; } .bkarte { flex-basis: 82vw; } }
@media (prefers-reduced-motion: reduce) { .bkarte img { transition: none; } .bkarte:hover img { transform: none; } }

/* Konferenzfotos als Bento-Raster */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 14vw, 190px); gap: 12px; margin: 32px 0 12px; }
.bento figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--line); }
.bento img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.bento figure:hover img { transform: scale(1.03); }
.bento-a { grid-column: 1 / 3; grid-row: 1 / 3; }
.bento-b { grid-column: 3 / 4; grid-row: 1 / 3; }
.bento-b img { object-position: 45% center; }
.bento-text { grid-column: 4 / 5; grid-row: 1 / 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; border-radius: 14px; background: var(--hsg-gruen); color: #fff; }
.bento-text .label { color: rgba(255,255,255,.75); }
.bento-text p { margin: 6px 0 0; font: 400 15px/1.35 var(--font-title); }
.bento-c { grid-column: 4 / 5; grid-row: 2 / 3; }
.bento-d { grid-column: 1 / -1; grid-row: 3 / 4; }
.bento-d img { object-position: center 40%; }
@media (max-width: 760px) {
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .bento-a { grid-column: 1 / -1; grid-row: auto; } .bento-b, .bento-c { grid-column: auto; grid-row: span 1; }
  .bento-text { grid-column: 1 / -1; grid-row: auto; } .bento-d { grid-column: 1 / -1; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) { .bento img { transition: none; } .bento figure:hover img { transform: none; } }

/* Kernteam-Foto kleiner */
.kernteam-foto { max-width: 460px; }
.kernteam-foto img { aspect-ratio: 3 / 2; object-fit: cover; }
.bento-b { grid-column: 3 / 5; grid-row: 1 / 2; }
.bento-b img { object-position: center 30%; }
.bento-c { grid-column: 3 / 4; grid-row: 2 / 3; }
.bento-c img { object-position: 60% 30%; }
.bento-text { grid-column: 4 / 5; grid-row: 2 / 3; }
@media (max-width: 760px) { .bento-b, .bento-c { grid-column: auto; grid-row: auto; } .bento-text { grid-column: 1 / -1; grid-row: auto; } }
.bento-b img { object-position: center 12%; }
.kernteam-foto { max-width: none; } .kernteam-foto img { aspect-ratio: 5 / 2; object-position: center 30%; }

/* Fotos randlos: Bento über die ganze Fensterbreite, Bildstrecke grösser */
#entstehung, #ueberarbeitungen { overflow-x: clip; }
.bento { margin: 40px calc(50% - 50vw) 16px; gap: 4px; grid-auto-rows: clamp(150px, 19vw, 320px); }
.bento figure, .bento-text { border-radius: 0; }
.bento figure { position: relative; }
.bento figure::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.18), transparent 40%); pointer-events: none; }
.bento img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1), filter .6s; filter: saturate(.92); }
.bento figure:hover img { transform: scale(1.05); filter: saturate(1.05); }
.bento-text { padding: clamp(18px, 2.4vw, 36px); }
.bento-text p { font-size: clamp(16px, 1.5vw, 22px); line-height: 1.3; font-weight: 300; }
.bkarte { flex-basis: clamp(290px, 56vw, 820px); border-radius: 6px; }
.buehne-bahn { gap: 6px; }
@media (max-width: 760px) { .bento { gap: 3px; grid-auto-rows: 170px; } .bkarte { flex-basis: 86vw; } }

/* Fotos 2026: kompakt im Inhalt, grosse Radien, Glas-Beschriftung, scroll-gesteuerte Einblendung */
.bento { margin: 36px 0 12px; max-width: 980px; gap: 10px; grid-auto-rows: clamp(96px, 10.5vw, 150px); }
.bento figure, .bento-text { border-radius: 20px; }
.bento figure { isolation: isolate; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 12px 30px -18px rgba(20,40,28,.35); }
.bento figure::after { background: linear-gradient(to top, rgba(0,0,0,.28), transparent 45%); }
.bento img { filter: none; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.bento figure:hover img { transform: scale(1.04); filter: none; }
.bento figcaption { position: absolute; left: 10px; bottom: 10px; z-index: 2; padding: 5px 11px; border-radius: 999px;
  font: 500 12px/1.2 var(--font-title); letter-spacing: .02em; color: #fff;
  background: rgba(20,32,24,.38); -webkit-backdrop-filter: blur(10px) saturate(1.4); backdrop-filter: blur(10px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.22); }
.bento-text { padding: 18px 20px; background: linear-gradient(150deg, var(--hsg-gruen), #00562c); }
.bento-text p { font-size: clamp(15px, 1.25vw, 18px); font-weight: 400; }
.bento-d { grid-row: 3 / 4; }
@media (max-width: 760px) { .bento { gap: 6px; grid-auto-rows: 130px; } .bento figure, .bento-text { border-radius: 16px; } }

/* Bildstrecke kompakter, Karten wachsen zur Mitte hin (scroll-gesteuert, wo unterstützt) */
.bkarte { flex-basis: clamp(250px, 34vw, 440px); border-radius: 20px; box-shadow: 0 14px 34px -22px rgba(20,40,28,.45); }
.buehne-bahn { gap: 14px; padding-block: 10px 14px; }
.bkarte-text { font-size: clamp(14px, 1.15vw, 16px); padding: 12px 14px; gap: 10px; }
.bkarte-n { width: 28px; height: 28px; font-size: 13px; }
.bkarte::after { background: linear-gradient(to top, rgba(0,0,0,.7), transparent 50%); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .bkarte { animation: bk-fokus linear both; animation-timeline: view(inline); }
    @keyframes bk-fokus { 0% { transform: scale(.9); opacity: .55; } 35%, 65% { transform: scale(1); opacity: 1; } 100% { transform: scale(.9); opacity: .55; } }
    .bento figure, .bento-text { animation: bento-ein linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    @keyframes bento-ein { from { clip-path: inset(12% 6% 12% 6% round 20px); opacity: .3; } to { clip-path: inset(0 0 0 0 round 20px); opacity: 1; } }
  }
}
.bento-b img { object-position: center 6%; }
/* Bildbeschriftung im Bento nur beim Überfahren */
.bento figcaption { opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.bento figure:hover figcaption, .bento figure:focus-within figcaption { opacity: 1; transform: none; }
.bento figure::after { opacity: 0; transition: opacity .3s; }
.bento figure:hover::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .bento figcaption { transform: none; transition: none; } }
/* Konferenzfotos als Teil der Zeitleiste */
.tl-konferenz .bento { margin: 18px 0 4px; max-width: none; grid-auto-rows: clamp(90px, 9.5vw, 140px); }
.tl-konferenz .bento-a { grid-column: 1 / 3; grid-row: 1 / 3; }
.tl-konferenz .bento-b { grid-column: 3 / 5; grid-row: 1 / 2; }
.tl-konferenz .bento-c { grid-column: 3 / 4; grid-row: 2 / 3; }
.tl-konferenz .bento-d { grid-column: 4 / 5; grid-row: 2 / 3; }
.tl-konferenz .bento-d img { object-position: 30% center; }
@media (max-width: 760px) {
  .tl-konferenz .bento { grid-auto-rows: 110px; }
  .tl-konferenz .bento-a, .tl-konferenz .bento-b { grid-column: 1 / -1; grid-row: auto; }
  .tl-konferenz .bento-c, .tl-konferenz .bento-d { grid-column: auto; grid-row: auto; }
}
.tl-konferenz .bento-b img { object-position: center 0%; }

/* ===== Kollaboration Zukunft-Fabrik.2050 (seit 27.11.2026) =====
   Logo als Maske, damit es die Farbe der Umgebung annimmt: Blau der Zukunft-Fabrik auf hell, Weiss auf dunkel. */
:root { --zf: #00009C; }
:root[data-theme="dark"] { --zf: #C9C9FF; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --zf: #C9C9FF; } }
.zf-logo { display: inline-block; flex: none; aspect-ratio: 1280 / 240; height: 1em; background: var(--zf);
  -webkit-mask: url("bilder/zukunft-fabrik-2050.png") center / contain no-repeat; mask: url("bilder/zukunft-fabrik-2050.png") center / contain no-repeat; }
.brand-kollab { display: flex; align-items: center; gap: 12px; margin-right: auto; margin-left: -4px; text-decoration: none; color: var(--muted); }
.brand-kollab i { font-style: normal; font: 300 18px/1 var(--font-title); }
.brand-kollab .zf-logo { height: 26px; }
.brand { margin-right: 0; }
@media (max-width: 1180px) { .brand-kollab .zf-logo { height: 20px; } }
@media (max-width: 860px) { .brand-kollab { display: none; } .brand { margin-right: auto; } }
.hero-kollab { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; font: 14px var(--font-title); color: var(--muted); text-decoration: none; }
.hero-kollab .zf-logo { height: 30px; }
.hero-kollab:hover { color: var(--text); }
.kollab-band { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); margin: 0 0 clamp(24px, 3vw, 40px); padding: clamp(18px, 2.4vw, 28px) clamp(20px, 3vw, 36px);
  border: 1px solid var(--line, rgb(0 0 0 / .12)); border-radius: 20px; background: var(--bg, transparent); }
.kollab-band .zf-logo { height: clamp(34px, 4vw, 52px); }
.kollab-band p { margin: 0; max-width: 62ch; }
@media (max-width: 700px) { .kollab-band { flex-direction: column; align-items: flex-start; } }
.kernteam-kopf { display: flex; align-items: center; min-height: 32px; font: 500 13px var(--font-title); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.kernteam-kopf .zf-logo { height: 26px; }
.foot-kollab { display: flex; flex-direction: column; gap: 10px; margin: 22px 0 0; font: 13px var(--font-title); color: rgb(255 255 255 / .7); }
.foot-kollab .zf-logo, .landing-kollab .zf-logo { --zf: #fff; }
.foot-kollab .zf-logo { height: 34px; }
.landing-kollab { display: flex; align-items: center; gap: 14px; margin: clamp(18px, 2.4vw, 28px) 0 0; font: 13px var(--font-title); color: rgb(255 255 255 / .7); }
.landing-kollab .zf-logo { height: clamp(30px, 3vw, 42px); }
.landing-titel { display: flex; align-items: center; flex-wrap: wrap; gap: 10px clamp(20px, 3vw, 40px); min-width: 0; }
.landing-titel .landing-kollab { margin: 0; padding-left: clamp(20px, 3vw, 40px); border-left: 1px solid rgb(255 255 255 / .25); }
.landing-titel .landing-kollab .zf-logo { height: clamp(26px, 2.4vw, 36px); }
@media (max-width: 680px) { .landing-titel .landing-kollab { padding-left: 0; border-left: 0; } }
.landing-titel { flex-direction: column; align-items: flex-start; gap: 14px; }
.landing-titel .landing-kollab { padding-left: 0; border-left: 0; gap: 14px; }
.landing-titel .landing-kollab .zf-logo { height: clamp(30px, 2.6vw, 40px); }
.brand { flex: none; }
.hero--v5 .hero-kollab { color: rgb(255 255 255 / .75); }
.hero--v5 .hero-kollab:hover { color: #fff; }
.hero--v5 .hero-kollab .zf-logo { --zf: #fff; }
.foot-kollab { align-items: flex-start; }

/* Wandkarten: gekürzten Beitrag ganz lesen (seit 27.11.2026) */
.lane .post p.ptext.is-open { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; white-space: pre-line; }
.pmehr { display: inline-flex; align-items: center; gap: 6px; margin: -4px 0 12px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 13.5px var(--font-title); color: var(--accent); }
.pmehr[hidden] { display: none; }
.pmehr::before { content: '+'; display: inline-grid; place-items: center; width: 18px; height: 18px; border: 1px solid currentColor; border-radius: 50%; font-size: 13px; line-height: 1; }
.pmehr[aria-expanded="true"]::before { content: '–'; }
.pmehr:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Landing am Desktop: mit dem Kollaborations-Logo ist die Titelzeile höher. Mehr Luft zum oberen Rand,
   --kopf deckt Titel, Logo und Luft ab, damit der erste Bildschirm weiter genau bis zum Trennstrich reicht (seit 27.11.2026) */
@media (min-width: 1021px) {
  .landing-page { --kopf: 168px; }
  .landing-top { padding-top: 28px; }
}
@media (min-width: 1021px) and (max-height: 860px) {
  .landing-page { --kopf: clamp(118px, 18vh, 150px); }
  .landing-top { padding-top: 2.6vh; }
}
