/*
Theme Name: Digistar
Theme URI: https://digistar.example.de
Description: Projektseite für das Digistar-Forschungsprojekt (TU Braunschweig & Ostfalia Hochschule). Quiz-App zur Digitalisierungsbildung.
Version: 1.0.0
Author: TU Braunschweig / Ostfalia Hochschule
Author URI: https://digistar.example.de
Text Domain: digistar
*/

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --ds-navy:       #0c2460;
  --ds-blue:       #1a4fa8;
  --ds-blue-light: #4a7fd4;
  --ds-ostfalia:   #003B6F;
  --ds-bg:         #f4f6fb;
  --ds-bg-card:    #ffffff;
  --ds-border:     #dde4f0;
  --ds-border-mid: #cdd5e8;
  --ds-text:       #12213d;
  --ds-body:       #38496a;
  --ds-muted:      #8a97b8;
  --ds-subtle:     #6b7a99;
  --ds-wrap:       1200px;
}

/* ── RESET ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 62px;
}

body {
  margin: 0;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  background: var(--ds-bg);
  color: var(--ds-text);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

p {
  text-wrap: pretty;
  margin: 0;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { margin: 0; }

/* ── LAYOUT ──────────────────────────────────────────────── */
.ds-wrap {
  max-width: var(--ds-wrap);
  margin-inline: auto;
  padding-inline: 40px;
}

.ds-section {
  padding-block: 96px;
}

.ds-section--white  { background: #fff; }
.ds-section--light  { background: var(--ds-bg); }

.ds-section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 52px;
}

.ds-section-header h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--ds-navy);
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.ds-section-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ds-border-mid);
}

/* ── NAVIGATION ──────────────────────────────────────────── */
.ds-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(10, 28, 60, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.ds-nav__inner {
  max-width: var(--ds-wrap);
  margin-inline: auto;
  padding-inline: 40px;
  height: 62px;
  display: flex;
  align-items: center;
}

.ds-nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.ds-nav__logo {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #4a7fd4 0%, #1a4fa8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}

.ds-nav__name {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.3px;
}

.ds-nav__spacer { flex: 1; }

.ds-nav__menu {
  display: flex;
  gap: 36px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ds-nav__menu a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.2px;
  transition: color 0.15s;
}

.ds-nav__menu a:hover { color: #fff; }

/* ── HERO ────────────────────────────────────────────────── */
.ds-hero {
  min-height: 100vh;
  background-color: var(--ds-navy);
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  display: flex;
  align-items: center;
  padding: 120px 40px 80px;
}

.ds-hero__inner {
  max-width: var(--ds-wrap);
  margin-inline: auto;
  width: 100%;
}

.ds-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 5px 14px;
  margin-bottom: 40px;
}

.ds-hero__badge span {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  font-weight: 500;
}

.ds-hero__title {
  font-size: 80px;
  font-weight: 700;
  color: #fff;
  line-height: 1.0;
  margin-bottom: 8px;
  letter-spacing: -2px;
}

.ds-hero__title--wrap {
  font-size: 60px;
  line-height: 1.1;
  letter-spacing: -1.5px;
  max-width: 820px;
}

.ds-hero__subtitle {
  font-size: 22px;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}

.ds-hero__desc {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 52px;
}

.ds-hero__actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.ds-btn {
  background: var(--ds-blue);
  color: #fff;
  text-decoration: none;
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid #2a5fb8;
  letter-spacing: 0.2px;
  transition: background 0.15s;
  display: inline-block;
}

.ds-btn:hover { background: #2259c0; color: #fff; }

.ds-link-ghost {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  padding: 13px 0;
  transition: color 0.15s;
}

.ds-link-ghost:hover { color: #fff; }

/* ── NEWS CARDS ──────────────────────────────────────────── */
.ds-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ds-card {
  background: var(--ds-bg-card);
  border: 1px solid var(--ds-border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.ds-card:hover {
  box-shadow: 0 6px 24px rgba(12, 37, 96, 0.1);
}

.ds-card__accent {
  height: 3px;
  background: var(--ds-blue);
  flex-shrink: 0;
}

.ds-card__body {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ds-card__date {
  font-size: 11px;
  color: var(--ds-muted);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-weight: 500;
}

.ds-card__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--ds-text);
  line-height: 1.45;
  margin-bottom: 12px;
}

.ds-card__excerpt {
  font-size: 14px;
  color: #4a5870;
  line-height: 1.75;
  margin-bottom: 24px;
  flex: 1;
}

.ds-card__link {
  font-size: 13px;
  font-weight: 500;
  color: var(--ds-blue);
  text-decoration: none;
  transition: color 0.15s;
}

.ds-card__link:hover { color: var(--ds-navy); }

/* ── DAS PROJEKT ─────────────────────────────────────────── */
.ds-projekt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px;
  align-items: start;
}

.ds-projekt__eyebrow {
  font-size: 11px;
  color: var(--ds-blue);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-weight: 600;
}

.ds-projekt__title {
  font-size: 38px;
  font-weight: 700;
  color: var(--ds-navy);
  letter-spacing: -0.8px;
  margin-bottom: 24px;
  line-height: 1.15;
}

.ds-projekt__text {
  font-size: 16px;
  color: var(--ds-body);
  line-height: 1.85;
  margin-bottom: 18px;
}

.ds-projekt__stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--ds-border);
  padding-top: 36px;
  margin-top: 22px;
}

.ds-stat {
  padding-right: 28px;
}

.ds-stat + .ds-stat {
  padding-left: 28px;
  padding-right: 0;
  border-left: 1px solid var(--ds-border);
}

.ds-stat__value {
  font-size: 34px;
  font-weight: 700;
  color: var(--ds-blue);
  margin-bottom: 4px;
  letter-spacing: -1px;
}

.ds-stat__label {
  font-size: 12px;
  color: var(--ds-muted);
  letter-spacing: 0.5px;
}

.ds-projekt__image {
  background:
    repeating-linear-gradient(45deg, #e4eaf6 0, #e4eaf6 1px, #f4f6fb 0, #f4f6fb 50%);
  background-size: 10px 10px;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d0d9ec;
}

.ds-projekt__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── PUBLIKATIONEN ───────────────────────────────────────── */
.ds-pub-list { display: flex; flex-direction: column; }

.ds-pub {
  padding: 28px 0;
  border-bottom: 1px solid var(--ds-border-mid);
  display: grid;
  grid-template-columns: 64px 1fr 56px;
  gap: 28px;
  align-items: baseline;
}

.ds-pub__year {
  font-size: 13px;
  font-weight: 600;
  color: var(--ds-blue);
}

.ds-pub__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ds-text);
  line-height: 1.5;
  margin-bottom: 6px;
}

.ds-pub__meta {
  font-size: 13px;
  color: var(--ds-muted);
  line-height: 1.6;
}

.ds-pub__pdf {
  font-size: 13px;
  color: var(--ds-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.ds-pub__pdf:hover { color: var(--ds-navy); }

.ds-pub-empty {
  padding: 28px 0;
  font-size: 14px;
  color: #b0bad4;
  font-style: italic;
}

/* ── TEAM ────────────────────────────────────────────────── */
.ds-team-group { margin-bottom: 56px; }
.ds-team-group:last-child { margin-bottom: 0; }

.ds-team-group__label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ds-subtle);
  font-weight: 600;
  margin-bottom: 28px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf0f8;
}

.ds-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.ds-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.ds-member__photo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background:
    repeating-linear-gradient(45deg, #d4ddf0 0, #d4ddf0 1px, #edf1fa 0, #edf1fa 50%);
  background-size: 8px 8px;
  border: 1px solid #c8d4ec;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 10px;
  color: #9aaac8;
}

.ds-member__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ds-text);
  margin-bottom: 3px;
  line-height: 1.3;
}

.ds-member__role {
  font-size: 13px;
  color: var(--ds-blue);
  margin-bottom: 2px;
}

.ds-member__inst {
  font-size: 12px;
  color: #9aaac8;
}

/* ── PARTNER ─────────────────────────────────────────────── */
.ds-partner-section { margin-bottom: 52px; }
.ds-partner-section:last-child { margin-bottom: 0; }

.ds-partner-section__label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ds-subtle);
  font-weight: 600;
  margin-bottom: 28px;
}

.ds-partner-grid--2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

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

.ds-partner-card {
  background: var(--ds-bg-card);
  border: 1px solid var(--ds-border);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.ds-partner-card__logo {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.ds-partner-card__name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ds-text);
  margin-bottom: 4px;
}

.ds-partner-card__desc {
  font-size: 13px;
  color: var(--ds-muted);
  line-height: 1.6;
}

.ds-foerderer-card {
  background: var(--ds-bg-card);
  border: 1px solid var(--ds-border);
  padding: 28px 32px;
}

.ds-foerderer-card__logo {
  width: 44px;
  height: 44px;
  background:
    repeating-linear-gradient(45deg, #e4eaf6 0, #e4eaf6 1px, #f4f6fb 0, #f4f6fb 50%);
  background-size: 6px 6px;
  border: 1px solid #d0d9ec;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: monospace;
  font-size: 9px;
  color: #9aaac8;
}

.ds-foerderer-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ds-foerderer-card__name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ds-text);
  margin-bottom: 4px;
}

.ds-foerderer-card__desc {
  font-size: 13px;
  color: var(--ds-muted);
  line-height: 1.6;
}

.ds-partner-cta {
  background: var(--ds-bg-card);
  border: 1px dashed var(--ds-border-mid);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.ds-partner-cta__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ds-muted);
  margin-bottom: 6px;
}

.ds-partner-cta__link {
  font-size: 13px;
  color: var(--ds-blue);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.ds-partner-cta__link:hover { color: var(--ds-navy); }

/* ── FOOTER ──────────────────────────────────────────────── */
.ds-footer {
  background: var(--ds-navy);
  padding: 52px 40px;
  border-top: 1px solid rgba(255,255,255,0.07);
}

.ds-footer__inner {
  max-width: var(--ds-wrap);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.ds-footer__brand {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.ds-footer__sub {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  line-height: 1.9;
}

.ds-footer__links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ds-footer__links a {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  transition: color 0.15s;
}

.ds-footer__links a:hover { color: rgba(255,255,255,0.75); }

/* ── SINGLE POST ─────────────────────────────────────────── */
.ds-single {
  padding-top: 62px;
}

/* Header / Hero */
.ds-single__header {
  background: var(--ds-navy);
  padding: 72px 40px 64px;
}

.ds-single__header--image {
  /* background-image set inline via PHP */
  background-color: var(--ds-navy);
}

.ds-single__header-inner {
  max-width: var(--ds-wrap);
  margin-inline: auto;
}

.ds-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-weight: 400;
  margin-bottom: 40px;
  transition: color 0.15s;
  letter-spacing: 0.2px;
}

.ds-back:hover { color: #fff; }

.ds-single__meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.ds-single__date {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  font-weight: 500;
}

.ds-single__sep {
  color: rgba(255,255,255,0.25);
  font-size: 12px;
}

.ds-single__cat {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 2px 8px;
  transition: all 0.15s;
}

.ds-single__cat:hover {
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}

.ds-single__title {
  font-size: 52px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -1.5px;
  max-width: 800px;
  text-wrap: pretty;
}

.ds-single__image-credit {
  display: none; /* ausblenden – bei Bedarf aktivieren */
}

/* Body */
.ds-single__body {
  background: #fff;
}

.ds-single__content {
  max-width: 720px;
  margin-inline: auto;
  padding: 72px 40px 56px;
  font-size: 17px;
  color: var(--ds-body);
  line-height: 1.9;
}

.ds-single__content p       { margin-bottom: 22px; }
.ds-single__content p:last-child { margin-bottom: 0; }

.ds-single__content h2,
.ds-single__content h3 {
  color: var(--ds-navy);
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.ds-single__content h2 { font-size: 26px; font-weight: 700; }
.ds-single__content h3 { font-size: 20px; font-weight: 600; }

.ds-single__content a {
  color: var(--ds-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ds-single__content a:hover { color: var(--ds-navy); }

.ds-single__content blockquote {
  border-left: 3px solid var(--ds-blue);
  margin: 32px 0;
  padding: 8px 0 8px 24px;
  font-size: 18px;
  color: var(--ds-navy);
  font-style: italic;
}

.ds-single__content img {
  width: 100%;
  height: auto;
  margin-block: 32px;
}

/* Tags */
.ds-single__tags {
  max-width: 720px;
  margin-inline: auto;
  padding: 0 40px 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ds-single__tag {
  font-size: 12px;
  color: var(--ds-subtle);
  text-decoration: none;
  border: 1px solid var(--ds-border);
  padding: 4px 10px;
  letter-spacing: 0.3px;
  transition: all 0.15s;
}

.ds-single__tag:hover {
  color: var(--ds-blue);
  border-color: var(--ds-blue);
}

/* Prev / Next Navigation */
.ds-single__nav {
  border-top: 1px solid var(--ds-border);
  background: var(--ds-bg);
}

.ds-single__nav-inner {
  max-width: var(--ds-wrap);
  margin-inline: auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ds-single__nav-item {
  padding: 36px 0;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: opacity 0.15s;
}

.ds-single__nav-item:hover { opacity: 0.7; }

.ds-single__nav-item--next {
  text-align: right;
  align-items: flex-end;
  border-left: 1px solid var(--ds-border);
  padding-left: 40px;
}

.ds-single__nav-item--prev {
  padding-right: 40px;
}

.ds-single__nav-label {
  font-size: 11px;
  color: var(--ds-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
}

.ds-single__nav-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--ds-navy);
  line-height: 1.4;
  text-wrap: pretty;
}

/* ── PAGE ────────────────────────────────────────────────── */
.ds-page {
  padding-top: 62px;
}

.ds-page__content {
  max-width: 800px;
  margin-inline: auto;
  padding: 80px 40px;
  font-size: 17px;
  color: var(--ds-body);
  line-height: 1.85;
}

.ds-page__content h1 {
  font-size: 44px;
  font-weight: 700;
  color: var(--ds-navy);
  letter-spacing: -1px;
  margin-bottom: 32px;
  line-height: 1.15;
}

.ds-page__content p { margin-bottom: 20px; }

.ds-page__content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--ds-navy);
  margin: 40px 0 14px;
  letter-spacing: -0.3px;
}

.ds-page__content h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--ds-navy);
  margin: 32px 0 12px;
}

.ds-page__content ul,
.ds-page__content ol {
  margin: 0 0 20px;
  padding-left: 22px;
}

.ds-page__content li { margin-bottom: 6px; }

.ds-notice {
  background: #fbf3df;
  border: 1px solid #ecdca8;
  padding: 14px 20px;
  font-size: 13px;
  color: #7a6423;
  line-height: 1.75;
  margin-bottom: 20px;
}

/* ── TEASER / ZIELGRUPPEN ───────────────────────────────── */
.ds-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.ds-teaser {
  background: #fff;
  border: 1px solid var(--ds-border-mid);
  box-shadow: 0 1px 4px rgba(12,37,96,0.05);
  padding: 36px 32px;
}

.ds-teaser__label {
  font-size: 11px;
  color: var(--ds-blue);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
}

.ds-teaser p {
  font-size: 15px;
  color: #4a5870;
  line-height: 1.8;
}

/* ── PROJEKT: erweiterte Inhalte ────────────────────────── */
.ds-wrap--narrow { max-width: 800px; }

.ds-fact-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ds-border);
  border-bottom: 1px solid var(--ds-border);
  padding: 32px 0;
  margin-bottom: 56px;
}

.ds-fact-strip .ds-stat:not(:first-child) {
  padding-left: 28px;
  border-left: 1px solid var(--ds-border);
}

.ds-subheading {
  font-size: 22px;
  font-weight: 700;
  color: var(--ds-navy);
  margin: 0 0 16px;
  letter-spacing: -0.3px;
}

.ds-goal-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 56px; }

.ds-goal-card {
  background: #fff;
  border: 1px solid var(--ds-border);
  padding: 22px 26px;
}

.ds-goal-card__title { font-size: 14px; font-weight: 600; color: var(--ds-text); margin-bottom: 6px; }
.ds-goal-card__text { font-size: 14px; color: #4a5870; line-height: 1.75; }

.ds-fund-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 28px 0 56px;
}

.ds-fund-logo {
  background: #fff;
  border: 1px dashed var(--ds-border-mid);
  padding: 22px 16px;
  text-align: center;
  font-size: 12px;
  color: var(--ds-muted);
  font-family: monospace;
}

.ds-faq-list { display: flex; flex-direction: column; }

details.ds-faq {
  border-bottom: 1px solid var(--ds-border);
  padding: 20px 0;
}

details.ds-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--ds-text);
  cursor: pointer;
  list-style: none;
}

details.ds-faq summary::-webkit-details-marker { display: none; }
details.ds-faq summary::after { content: '+'; color: var(--ds-blue); font-size: 18px; }
details.ds-faq[open] summary::after { content: '\2212'; }

details.ds-faq p {
  font-size: 14px;
  color: #4a5870;
  line-height: 1.8;
  margin-top: 14px;
}

/* ── DIE APP ─────────────────────────────────────────────── */
.ds-availability-box {
  background: var(--ds-bg);
  border: 1px solid var(--ds-border);
  padding: 24px 28px;
  margin-top: 8px;
}

.ds-availability-box__title { font-size: 13px; font-weight: 600; color: var(--ds-text); margin-bottom: 6px; }
.ds-availability-box p { font-size: 14px; color: #4a5870; line-height: 1.75; margin-bottom: 14px; }

.ds-app-features { display: flex; flex-direction: column; gap: 18px; }

.ds-app-feature {
  border-bottom: 1px solid #edf0f8;
  padding-bottom: 18px;
}

.ds-app-feature__title { font-size: 14px; font-weight: 600; color: var(--ds-text); margin-bottom: 5px; }
.ds-app-feature__text { font-size: 14px; color: #4a5870; line-height: 1.75; }

/* ── TEAM & PARTNER (merged) ─────────────────────────────── */
.ds-lead { font-size: 15px; color: var(--ds-body); line-height: 1.8; max-width: 720px; margin-bottom: 48px; }

.ds-team-names {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.ds-team-name-card {
  background: #fff;
  border: 1px solid var(--ds-border);
  padding: 20px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ds-text);
}

/* ── KONTAKT ─────────────────────────────────────────────── */
.ds-kontakt { background: var(--ds-navy); }

.ds-section-header--dark h2 { color: #fff; }
.ds-section-header--dark::after { background: rgba(255,255,255,0.15); }

.ds-lead--dark { color: rgba(255,255,255,0.65); max-width: 640px; }

.ds-kontakt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ds-kontakt-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 32px 36px;
}

.ds-kontakt-card__label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
  margin-bottom: 18px;
}

.ds-kontakt-card__name { font-size: 17px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.ds-kontakt-card__org { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 14px; }

.ds-kontakt-card__email {
  font-size: 14px;
  color: #8fb3ff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}
.ds-kontakt-card__email:hover { color: #fff; }

.ds-kontakt-card__lead {
  font-size: 14px;
  color: #fff;
  line-height: 1.9;
  margin-bottom: 14px;
}
.ds-kontakt-card__lead:last-child { margin-bottom: 0; }
.ds-kontakt-card__lead span { display: block; color: rgba(255,255,255,0.5); font-size: 12px; }

/* ── ICON LINKS (Mail / LinkedIn / ResearchGate) ─────────── */
.ds-icon-link { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: rgba(255,255,255,0.5); font-size: 13px; font-weight: 500; transition: color 0.15s; }
.ds-icon-link:hover { color: #fff; }
.ds-icon-link--light { color: var(--ds-muted); }
.ds-icon-link--light:hover { color: var(--ds-blue); }

/* ── FLIESSTEXT (editierbarer Seiteninhalt: Das Projekt / Die App) ── */
.ds-flow-content h3 { font-size: 22px; font-weight: 700; color: var(--ds-navy); margin: 0 0 16px; letter-spacing: -0.3px; }
.ds-flow-content h3:not(:first-child) { margin-top: 48px; }
.ds-flow-content p { font-size: 16px; color: var(--ds-body); line-height: 1.85; margin-bottom: 18px; }
.ds-flow-content p:last-child { margin-bottom: 0; }
.ds-flow-content ul, .ds-flow-content ol { margin: 0 0 18px; padding-left: 22px; color: var(--ds-body); font-size: 16px; line-height: 1.85; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ds-news-grid          { grid-template-columns: repeat(2, 1fr); }
  .ds-team-grid          { grid-template-columns: repeat(3, 1fr); }
  .ds-projekt-grid       { grid-template-columns: 1fr; gap: 48px; }
  .ds-partner-grid--3    { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .ds-wrap               { padding-inline: 24px; }
  .ds-section            { padding-block: 64px; }
  .ds-hero               { padding: 100px 24px 60px; }
  .ds-hero__title        { font-size: 52px; }
  .ds-hero__title--wrap  { font-size: 38px; }
  .ds-news-grid          { grid-template-columns: 1fr; }
  .ds-team-grid          { grid-template-columns: repeat(2, 1fr); }
  .ds-partner-grid--2,
  .ds-partner-grid--3    { grid-template-columns: 1fr; }
  .ds-pub                { grid-template-columns: 48px 1fr; }
  .ds-pub__pdf           { display: none; }
  .ds-nav__menu          { display: none; }
  .ds-footer__inner      { flex-direction: column; align-items: flex-start; }
  .ds-teaser-grid        { grid-template-columns: 1fr; }
  .ds-fact-strip         { grid-template-columns: 1fr; }
  .ds-fund-logos         { grid-template-columns: repeat(2, 1fr); }
  .ds-team-names         { grid-template-columns: repeat(2, 1fr); }
  .ds-kontakt-grid       { grid-template-columns: 1fr; }
}
