:root {
  --accent: #61CE70;
  --accent-dark: #1F8A3B;
  --pink: #E5007E;
  --orange: #F08400;
  --ink: #24282C;
  --heading: #383E44;
  --muted: #74797E;
  --line: #E7EBEF;
  --bg: #FFFFFF;
  --bg-soft: #F6FAF7;
  --bg-tint: #E9F8EC;
  --bg-dark: #1B2126;

  --font-head: "Roboto Slab", serif;
  --font-body: "Roboto", -apple-system, sans-serif;

  --container: 1200px;
  --edge: 40px;
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 14px rgba(36,40,44,0.06);
  --shadow-md: 0 16px 40px rgba(36,40,44,0.12);
  --shadow-accent: 0 10px 26px rgba(97,206,112,0.32);
  --ease: cubic-bezier(.22,.68,0,1);
}

* { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { overflow-x: hidden; }

button, a { cursor: pointer; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--muted);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Medienschutz: kein Text-Auswahlrahmen und kein iOS-Long-Press-Menü auf
   Bildern/Videos – zusammen mit dem contextmenu-/dragstart-Schutz in
   script.js eine zusätzliche, kleine Hürde gegen einfaches Speichern. */
img, video {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.2;
  margin: 0;
  font-weight: 700;
  hyphens: auto;
}
h1 em, h2 em { font-style: normal; color: var(--accent); }

p { margin: 0 0 1.15em; text-align: justify; text-justify: inter-word; hyphens: auto; }
p:last-child { margin-bottom: 0; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2.5px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--edge);
}

/* ---------- Scroll-reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Kicker / section labels ---------- */
.kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 1.4em;
}
.kicker.on-dark { color: var(--accent); }

/* ---------- Buttons / links ---------- */
.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
  border: 1.5px solid var(--accent);
  box-shadow: var(--shadow-accent);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn-solid:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px rgba(31,138,59,0.38); }
.btn-solid.light { background: #fff; color: var(--accent-dark); border-color: #fff; box-shadow: none; }
.btn-solid.light:hover { background: var(--bg-tint); color: var(--accent-dark); transform: translateY(-2px); }

.btn-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--heading);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s ease;
}
.btn-line::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--accent);
  transform: scaleX(1); transform-origin: left;
}
.btn-line svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.btn-line:hover { color: var(--accent-dark); }
.btn-line:hover svg { transform: translateX(3px); }
.btn-line.on-dark { color: #fff; }
.btn-line.on-dark::after { background: var(--accent); }
.btn-line.on-dark:hover { color: var(--accent); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 7px 14px;
  background: var(--bg-tint);
  border-radius: 999px;
  color: var(--accent-dark);
}
.tag svg { width: 13px; height: 13px; flex-shrink: 0; }
.tag.on-dark { background: rgba(255,255,255,0.12); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 24px rgba(36,40,44,0.06); border-color: var(--line); }
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
.logo-text {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--heading);
  position: relative;
}
.logo-text .rent { position: relative; color: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.93rem;
  position: relative;
  padding: 9px 15px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.main-nav a:hover { background: var(--bg-tint); color: var(--accent-dark); }
.main-nav a.active { background: var(--accent); color: #fff; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.lang-switch { display: flex; gap: 5px; font-weight: 700; font-size: 0.82rem; color: var(--muted); }
.lang-switch a { padding: 3px; }
.lang-switch a.active { color: var(--accent); }
.header-actions .btn-solid { padding: 11px 22px; font-size: 0.85rem; }
.nav-toggle { display: none; background: none; border: none; padding: 8px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; transform: scale(1.02); }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(195deg, rgba(20,26,31,0.86) 0%, rgba(20,26,31,0.45) 45%, rgba(15,70,35,0.5) 100%);
}
.hero .container { position: relative; z-index: 2; width: 100%; padding-bottom: 80px; padding-top: 100px; }
.hero-grid { position: relative; }
.hero-copy { max-width: 800px; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 4.4vw, 3.9rem); margin-bottom: 0.4em; max-width: 18ch; }
.hero-lede { font-size: 1.12rem; color: rgba(255,255,255,0.85); max-width: 44ch; margin-bottom: 1.8em; }
.hero-cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero-tag-col { position: absolute; right: 0; bottom: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 20px; }
.hero-seal {
  width: 128px;
  transform: rotate(-8deg);
  filter: drop-shadow(0 14px 26px rgba(0,0,0,0.35));
  animation: sealFloat 5s ease-in-out infinite;
}
@keyframes sealFloat {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(-5deg) translateY(-8px); }
}
.hero-scroll-cue {
  position: absolute; left: var(--edge); bottom: 26px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}
.hero-scroll-cue .line { width: 34px; height: 1px; background: rgba(255,255,255,0.35); position: relative; overflow: hidden; }
.hero-scroll-cue .line::after {
  content: ""; position: absolute; inset: 0; background: var(--accent);
  animation: scrollcue 2.2s ease-in-out infinite;
}
@keyframes scrollcue { 0% { transform: translateX(-100%);} 50% { transform: translateX(0);} 100% { transform: translateX(100%);} }

/* ---------- Facts strip ---------- */
.facts { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.facts .container { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { padding: 38px var(--edge); border-left: 1px solid var(--line); }
.fact:first-child { border-left: none; padding-left: 0; }
.fact b { display: block; font-family: var(--font-head); font-size: 2.3rem; font-weight: 700; color: var(--accent); margin-bottom: 0.1em; }
.fact span { font-size: 0.88rem; color: var(--muted); }

/* ---------- Section shell ---------- */
.section { padding: 110px 0; }
.section-dark { background: var(--bg-dark); }
.section-alt { background: var(--bg-soft); }

/* ---------- Mission ---------- */
.mission-grid { display: grid; grid-template-columns: 0.95fr 0.7fr; gap: 72px; align-items: start; }
.mission-grid h2 { font-size: clamp(1.7rem, 2.6vw, 2.4rem); margin-bottom: 0.6em; }
.mission-grid .lede { font-size: 1.06rem; }
.pull-quote {
  background: var(--bg-tint);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
}
.pull-quote::before {
  content: "“";
  position: absolute; top: 14px; left: 28px;
  font-family: var(--font-head);
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.35;
  line-height: 1;
}
.pull-quote p {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--heading);
  line-height: 1.4;
  position: relative;
}
.pull-quote cite {
  display: block;
  margin-top: 1em;
  font-style: normal;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--accent-dark);
}

/* ---------- Editorial rows (projects / news) ---------- */
.row-list { display: flex; flex-direction: column; gap: 20px; }
.row-item {
  display: grid;
  grid-template-columns: minmax(64px, 110px) 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 34px 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.row-item:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--bg-tint); }
.row-index { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--bg-tint); -webkit-text-stroke: 1.5px var(--accent); }
.row-logo { display: flex; align-items: center; }
.row-logo img { max-height: 40px; max-width: 100px; width: auto; height: auto; object-fit: contain; }
.row-body { min-width: 0; }
.row-body .tag { margin-bottom: 14px; }
.row-body h3 { font-size: 1.5rem; margin-bottom: 0.45em; font-weight: 700; }
.row-body p { color: var(--muted); max-width: 62ch; font-size: 0.98rem; }
.row-arrow {
  width: 48px; height: 48px;
  background: var(--bg-tint);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;
}
.row-arrow svg { width: 18px; height: 18px; color: var(--accent-dark); transition: transform 0.25s ease; }
.row-item:hover .row-arrow { background: var(--accent); transform: scale(1.08); }
.row-item:hover .row-arrow svg { color: #fff; transform: translate(2px, -2px); }

.news-list { display: flex; flex-direction: column; }
.news-row {
  display: grid;
  grid-template-columns: 120px 150px 1fr 24px;
  gap: 20px;
  align-items: center;
  padding: 22px 20px;
  border-radius: var(--radius-sm);
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease, padding-left 0.2s ease;
}
.news-row:hover { background: var(--bg-soft); padding-left: 28px; }
.news-row time { font-size: 0.82rem; color: var(--muted); font-weight: 500; }
.news-row .cat { font-weight: 700; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pink); }
.news-row h3 { font-size: 1.05rem; font-weight: 700; color: var(--heading); font-family: var(--font-body); }
.news-row .arrow { color: var(--muted); transition: transform 0.2s ease, color 0.2s ease; font-weight: 700; }
.news-row:hover .arrow { color: var(--accent); transform: translateX(4px); }
.news-row:hover h3 { color: var(--accent-dark); }

/* ---------- CTA banner (dark) ---------- */
.cta-dark { padding: 120px 0; position: relative; overflow: hidden; }
.cta-dark::before {
  content: "";
  position: absolute; top: -30%; right: -10%; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(97,206,112,0.35) 0%, rgba(97,206,112,0) 70%);
  pointer-events: none;
}
.cta-dark .container { position: relative; display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: center; }
.cta-dark h2 { color: #fff; font-size: clamp(2rem, 3.2vw, 2.9rem); max-width: 24ch; text-wrap: balance; }
.cta-dark p { color: rgba(255,255,255,0.72); max-width: 48ch; margin-top: 0.9em; }
.cta-dark-media { display: flex; justify-content: flex-end; }
.cta-dark-media img { width: 100%; max-width: 320px; transition: transform 0.25s var(--ease); }
.cta-dark-media a:hover img { transform: scale(1.05); }
.cta-dark-actions { margin-top: 24px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-dark); color: rgba(255,255,255,0.6); padding: 84px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-wordmark { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: #fff; margin-bottom: 16px; }
.footer-wordmark .rent { color: var(--accent); }
.footer-tagline { font-size: 0.98rem; color: rgba(255,255,255,0.55); text-align: left; }
.site-footer p { text-align: left; }
.footer-col h4 { font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.42); margin-bottom: 18px; font-weight: 700; }
.footer-col a { display: block; margin-bottom: 12px; font-size: 0.93rem; color: rgba(255,255,255,0.78); transition: color 0.2s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-address { font-size: 0.93rem; color: rgba(255,255,255,0.78); margin: 0; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: 0.82rem; color: rgba(255,255,255,0.42); }
.footer-bottom a { color: rgba(255,255,255,0.6); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Skip-Link (Accessibility) ---------- */
.skip-link {
  position: absolute;
  top: -60px;
  left: 12px;
  z-index: 100;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

/* ---------- Legal content (Impressum/Datenschutz) ---------- */
.legal-content h2 { font-size: 1.7rem; margin: 1.2em 0 .6em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.15rem; margin: 1.6em 0 .5em; }
.legal-content p { max-width: 68ch; }
.legal-content a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; }
.legal-content a:hover { color: var(--accent-dark); }

/* ---------- Bilder in Beitrags-/Seiteninhalten (WordPress-Editor) ----------
   Gilt überall, wo the_content() ausgegeben wird (Neuigkeiten, Projektseiten,
   Startseite, Impressum) – WordPress-Standardklassen von Block- und
   Classic-Editor werden automatisch passend zum Design gestylt. */
.entry-content img,
.entry-content .wp-block-image {
  border-radius: var(--radius-sm);
}
.entry-content figure,
.entry-content .wp-block-image {
  margin: 1.8em 0;
}
.entry-content figcaption,
.entry-content .wp-caption-text {
  margin-top: .7em;
  font-size: .85rem;
  color: var(--muted);
  text-align: center;
  font-style: italic;
}
.entry-content .wp-caption { max-width: 100%; }
.entry-content .alignleft { float: left; margin: .3em 1.6em 1.2em 0; max-width: 50%; }
.entry-content .alignright { float: right; margin: .3em 0 1.2em 1.6em; max-width: 50%; }
.entry-content .aligncenter { display: block; margin-left: auto; margin-right: auto; }
.entry-content .alignwide,
.entry-content .alignfull { width: 100%; max-width: 100%; }
.entry-content:after { content: ""; display: table; clear: both; }

/* ---------- Einklapptext / Details-Block ---------- */
.entry-content details {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 1.4em 0;
  background: var(--bg-soft);
}
.entry-content summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--heading);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.entry-content summary::-webkit-details-marker { display: none; }
.entry-content summary::after {
  content: "+";
  font-size: 1.3rem;
  line-height: 1;
  color: var(--accent-dark);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.entry-content details[open] summary::after { transform: rotate(45deg); }
.entry-content details[open] summary { margin-bottom: 0.8em; }
.entry-content details p:last-child { margin-bottom: 0; }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding: 176px 0 90px; background: var(--bg-dark); position: relative; overflow: hidden; }
.page-hero .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.page-hero .hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(195deg, rgba(20,26,31,0.92) 0%, rgba(20,26,31,0.72) 45%, rgba(15,70,35,0.6) 100%);
}
.page-hero::before {
  content: "";
  position: absolute; top: -20%; left: -10%; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(97,206,112,0.3) 0%, rgba(97,206,112,0) 70%);
  z-index: 1;
}
.page-hero .container { position: relative; z-index: 2; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.5); margin-bottom: 2em; }
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: #fff; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 3.6vw, 3.1rem); max-width: 22ch; margin: 0.5em 0 0.5em; hyphens: none; text-wrap: balance; }
.page-hero .hero-lede { color: rgba(255,255,255,0.75); max-width: 56ch; margin-bottom: 0; }

.info-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 72px; align-items: start; }
.info-grid h2 { font-size: 1.6rem; margin: 1.4em 0 0.6em; }
.info-grid h2:first-child { margin-top: 0; }
.spec-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; }
.spec-row { padding: 16px 26px; border-bottom: 1px solid var(--line); }
.spec-row:last-child { border-bottom: none; }
.spec-row h4 { font-size: 0.74rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; font-weight: 700; }
.spec-row .value { font-weight: 700; color: var(--heading); font-size: 0.98rem; }
.spec-row .contact-line { display: block; font-weight: 400; font-size: 0.88rem; margin-top: 3px; }
.spec-row .contact-line a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; }
.spec-row .contact-line a:hover { color: var(--heading); }

/* ---------- Seiten-Logo im Info-Kasten (optional, Beitragsbild der Seite) --- */
.spec-logo { padding: 24px 26px; border-bottom: 1px solid var(--line); display: flex; justify-content: center; }
.spec-logo img { max-height: 84px; width: auto; max-width: 100%; object-fit: contain; }

/* ---------- Personen-Gruppen im Info-Kasten (Kontakt-Box) ---------- */
/* Linksbündig statt zentriert (anders als die große Team-Übersicht) und
   kompakter, damit die schmale Box übersichtlich bleibt. */
.spec-row.spec-people h4 { margin-bottom: 10px; }
.spec-people .person-card { text-align: left; }
.spec-people .person-name,
.spec-people .person-role,
.spec-people .person-line { text-align: left; }
.spec-people .person-card + .person-card { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }

/* ---------- Contact form ---------- */
.contact-form { display: flex; flex-direction: column; gap: 22px; max-width: 560px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 700; font-size: 0.88rem; color: var(--heading); }
.field input, .field textarea {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--heading);
  background: #fff;
  transition: border-color 0.2s ease;
}
.field input:focus, .field textarea:focus { outline: 2.5px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field textarea { min-height: 170px; resize: vertical; font-family: var(--font-body); }
.contact-form .btn-solid { align-self: flex-start; }
.form-note { font-size: 0.82rem; color: var(--muted); text-align: left; }
.form-success h2 { font-size: 1.6rem; margin-bottom: 0.5em; }

/* ---------- Team-Gruppen (nach Rolle: Projektleitung, Wiss. Mitarbeiter, …) --- */
.team-group { margin-top: 32px; }
.team-group:first-of-type { margin-top: 16px; }
.team-group-heading { font-size: 0.78rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 18px; }
/* auto-fill + feste Maximalbreite (statt auto-fit + 1fr): Personen bleiben
   linksbündig in ihrer natürlichen Kartenbreite, statt sich über die volle
   Zeilenbreite zu strecken und dadurch bei wenigen Personen pro Rolle
   pyramidenartig mittig zu wirken. */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 190px)); gap: 32px; justify-content: start; }

/* ---------- Personen-Karte (Foto, Name, Funktion, Hochschule, Studium, Raum, Mail, Telefon) ---------- */
.person-card { text-align: center; }
.person-photo {
  width: 116px; height: 116px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  box-shadow: var(--shadow-sm);
}
.person-name { font-weight: 700; color: var(--heading); font-size: 0.96rem; text-align: center; margin: 0; }
.person-role { font-size: 0.8rem; color: var(--accent-dark); font-weight: 600; margin: 2px 0 0; text-align: center; }
.person-line { font-size: 0.82rem; color: var(--muted); margin: 2px 0 0; text-align: center; }
.person-line a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; }
.person-line a:hover { color: var(--heading); }

/* ---------- Partner / funder logo wall ---------- */
.partners-heading { margin-top: 64px; font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: var(--heading); }
.partners-heading + .logo-group { margin-top: 20px; }
.logo-group { margin-top: 28px; }
.logo-group h3 { font-size: 0.78rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 16px; }
.logo-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 16px; }
.logo-tile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 84px;
}
.logo-tile img { max-width: 100%; max-height: 48px; object-fit: contain; filter: grayscale(1); opacity: 0.72; transition: filter 0.2s ease, opacity 0.2s ease; }
.logo-tile:hover img { filter: grayscale(0); opacity: 1; }
.logo-tile.text-only { font-weight: 700; color: var(--muted); font-size: 0.82rem; text-align: center; line-height: 1.35; }

/* ---------- Mobile nav ---------- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 82px; right: 0; bottom: 0; left: 0;
  background: #fff;
  z-index: 49;
  padding: 8px var(--edge);
  overflow-y: auto;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 2px; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--heading);
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn-solid {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: 28px;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  :root { --edge: 24px; }
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions { gap: 12px; }
  .header-actions .btn-solid { display: none; }
  .hero-copy { max-width: none; }
  .hero-tag-col { position: static; flex-direction: row; align-items: center; margin-top: 32px; }
  .mission-grid, .info-grid, .cta-dark .container { grid-template-columns: 1fr; }
  .cta-dark-media { justify-content: flex-start; margin-top: 32px; }
  .cta-dark-media img { max-width: 180px; }
  .facts .container { grid-template-columns: 1fr; }
  .fact { border-left: none; border-top: 1px solid var(--line); padding-left: 0; }
  .fact:first-child { border-top: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .row-item { grid-template-columns: 1fr; padding: 28px; }
  .row-index { display: none; }
  .row-arrow { display: none; }
  .news-row { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
  .news-row time { display: none; }
  .news-row .arrow { display: none; }
}
@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .cta-dark { padding: 80px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .hero .container { padding-top: 120px; padding-bottom: 56px; }
  .hero-scroll-cue { display: none; }
}
