/* =====================================================================
   Leistungen: Untermenü im Kopf und Leistungsseiten (leistungen/<name>/)
   Ergänzt homepage.css und bewegung.css. Eingebunden auf der Startseite und allen Leistungsseiten.
   Bewegtes hängt – wie in bewegung.css – an .js-bewegung (nicht bei „Bewegung reduzieren“).
   ===================================================================== */

:root {
  --pfeil-l: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12.5M8.5 1l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E");
}
.sr-nur { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Untermenü „Leistungen“ (Desktop: öffnet beim Darüberfahren und per Tastatur) ---------- */
.navi-gruppe { display: flex; align-items: center; padding: 30px 0; margin: -30px 0; }   /* Hover-Fläche reicht bis zur Unterkante des Kopfs */
.navi .navi-oben { display: inline-flex; align-items: center; gap: .4rem; }
.winkel { width: 11px; height: 8px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.navi-gruppe:hover .winkel, .navi-gruppe:focus-within .winkel, .navi-gruppe.offen .winkel { transform: rotate(180deg); }
.navi a[aria-current="true"]::after { right: 0; }

.untermenue {
  position: absolute; left: 50%; top: 100%; z-index: 30; width: min(1040px, calc(100vw - 48px));
  opacity: 0; visibility: hidden; translate: -50% 10px;
  transition: opacity .2s .12s, translate .3s .12s, visibility 0s linear .45s;   /* kurze Verzögerung beim Schließen */
}
.navi-gruppe:hover .untermenue, .navi-gruppe:focus-within .untermenue, .navi-gruppe.offen .untermenue {
  opacity: 1; visibility: visible; translate: -50% 0;
  transition: opacity .25s, translate .35s cubic-bezier(.16, 1, .3, 1), visibility 0s;
}
.navi-gruppe.zu .untermenue { opacity: 0; visibility: hidden; translate: -50% 10px; }
.untermenue-innen {
  background: var(--marine-tief); border: 1px solid rgba(201, 167, 124, .25); border-top: 2px solid var(--gold);
  box-shadow: 0 32px 64px rgba(5, 12, 20, .45); padding: 1.3rem 1.3rem 1.1rem;
}
.untermenue-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem; }
.navi .untermenue-liste a {
  display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: .9rem; align-items: start; padding: .85rem .9rem;
  color: var(--elfenbein); font-family: var(--sans); font-weight: 400; letter-spacing: 0; text-decoration: none; transition: background-color .2s;
}
.navi .untermenue a::after { content: none; }
.untermenue-liste svg { width: 42px; height: 42px; padding: 9px; color: var(--gold); border: 1px solid rgba(201, 167, 124, .3); transition: border-color .25s, background-color .25s; }
.untermenue-liste strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.06rem; line-height: 1.25; color: var(--elfenbein); transition: color .2s; }
.untermenue-liste small { display: block; margin-top: .25rem; font-size: .84rem; line-height: 1.4; color: var(--hell-gedaempft); }
.navi .untermenue-liste a:hover, .navi .untermenue-liste a:focus-visible, .navi .untermenue-liste a[aria-current="page"] { background: rgba(250, 250, 247, .05); outline: none; }
.navi .untermenue-liste a:focus-visible { box-shadow: inset 0 0 0 1px var(--gold); }
.untermenue-liste a:hover strong, .untermenue-liste a:focus-visible strong, .untermenue-liste a[aria-current="page"] strong { color: var(--gold); }
.untermenue-liste a:hover svg, .untermenue-liste a:focus-visible svg, .untermenue-liste a[aria-current="page"] svg { border-color: var(--gold); background: rgba(201, 167, 124, .08); }
.untermenue-fuss { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; margin-top: .9rem; padding: 1rem .9rem 0; border-top: 1px solid rgba(201, 167, 124, .18); }
.navi .untermenue-fuss a { display: inline-flex; align-items: center; gap: .55rem; font-size: .86rem; color: var(--gold); text-decoration: none; }
.navi .untermenue .untermenue-fuss a::after {
  content: ""; position: static; width: 13px; height: 9px; background: currentColor; transition: transform .3s;
  -webkit-mask: var(--pfeil-l) center / contain no-repeat; mask: var(--pfeil-l) center / contain no-repeat;
}
.navi .untermenue .untermenue-fuss a:hover::after { transform: translateX(4px); }
.navi .untermenue-fuss a:hover { color: var(--elfenbein); }
.navi .untermenue-fuss a:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
/* Einträge erscheinen beim Öffnen kurz nacheinander */
.js-bewegung .untermenue-liste li { opacity: 0; translate: 0 8px; transition: opacity .2s, translate .3s; }
.js-bewegung .navi-gruppe:hover .untermenue-liste li,
.js-bewegung .navi-gruppe:focus-within .untermenue-liste li,
.js-bewegung .navi-gruppe.offen .untermenue-liste li { opacity: 1; translate: 0 0; transition: opacity .3s, translate .4s cubic-bezier(.16, 1, .3, 1); transition-delay: calc(var(--n, 0) * 28ms); }

/* ---------- Untermenü im mobilen Menü ---------- */
.menue nav { max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain; }
.menue-unter > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .6rem .4rem; color: var(--elfenbein); font-family: var(--fett); font-weight: 600;
}
.menue .menue-unter > summary { border: 0; border-radius: 0; }   /* homepage.css rahmt sonst jedes summary im Menü */
.menue-unter > summary::-webkit-details-marker { display: none; }
.menue-unter[open] > summary .winkel { transform: rotate(180deg); }
.menue-unter-liste { display: flex; flex-direction: column; margin: 0 0 .5rem .4rem; padding-left: .8rem; border-left: 1px solid rgba(201, 167, 124, .35); }
.menue nav .menue-unter-liste a { padding: .42rem .4rem; font-family: var(--sans); font-weight: 400; font-size: .95rem; color: var(--hell-gedaempft); }
.menue nav .menue-unter-liste a:hover, .menue nav .menue-unter-liste a[aria-current="page"] { color: var(--gold); }

/* ---------- Startseite: Leistungskarten führen zur jeweiligen Leistungsseite ---------- */
.leistung > .leistung-link {
  position: static; align-self: flex-start; margin-top: auto; padding-top: .4rem;
  font-family: var(--fett); font-weight: 600; font-size: .88rem; letter-spacing: .02em; color: var(--marine); text-decoration: none;
}
.leistung-link > span:first-child { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: .5rem; transition: color .3s; }
.leistung-link > span:first-child::after {
  content: ""; width: 13px; height: 9px; background: currentColor; transition: transform .35s cubic-bezier(.16, 1, .3, 1);
  -webkit-mask: var(--pfeil-l) center / contain no-repeat; mask: var(--pfeil-l) center / contain no-repeat;
}
.leistung:hover .leistung-link > span:first-child { color: var(--gold-dunkel); }
.leistung:hover .leistung-link > span:first-child::after { transform: translateX(4px); }
.leistung.hervor .leistung-link, .leistung.hervor:hover .leistung-link > span:first-child { color: var(--gold); }
.leistung-link::after { content: ""; position: absolute; inset: 0; z-index: 3; }   /* ganze Karte klickbar */
.leistung-link:focus-visible { outline: none; }
.leistung:has(.leistung-link:focus-visible) { outline: 2px solid var(--gold); outline-offset: -2px; }

/* =====================================================================
   Leistungsseiten
   ===================================================================== */

/* ---------- Titelbereich ---------- */
.leistung-held .innen { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); padding-top: 3.5rem; padding-bottom: 5rem; }
.leistung-held h1 { font-size: clamp(2.2rem, 4.6vw, 3.3rem); hyphens: manual; }   /* getrennt wird nur an den gesetzten Trennstellen */
.pfad { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: 2.4rem; font-family: var(--fett); font-weight: 600; font-size: .82rem; color: var(--hell-gedaempft); }
.pfad a { color: var(--gold); text-decoration: none; }
.pfad a:hover { text-decoration: underline; }
.pfad span[aria-hidden] { opacity: .5; }
.leistung-symbol {
  position: relative; justify-self: center; width: min(320px, 100%); aspect-ratio: 1; display: grid; place-items: center;
  background: radial-gradient(closest-side, rgba(201, 167, 124, .13), rgba(201, 167, 124, 0));
}
.leistung-symbol::before, .leistung-symbol::after { content: ""; position: absolute; border: 1px solid rgba(201, 167, 124, .5); transform: rotate(45deg); }
.leistung-symbol::before { inset: 15%; }
.leistung-symbol::after { inset: 24%; border-color: rgba(201, 167, 124, .2); }
.leistung-symbol svg { position: relative; width: 34%; height: auto; color: var(--gold); }
.leistung-symbol svg > * { stroke-width: .9; }
.js-bewegung .leistung-symbol::before { opacity: 0; transform: rotate(0deg) scale(.6); transition: opacity 1s .3s, transform 1.6s .3s cubic-bezier(.16, 1, .3, 1); }
.js-bewegung .leistung-symbol::after { opacity: 0; transform: rotate(90deg) scale(.6); transition: opacity 1s .5s, transform 1.6s .5s cubic-bezier(.16, 1, .3, 1); }
.js-bewegung .held.sichtbar .leistung-symbol::before,
.js-bewegung .held.sichtbar .leistung-symbol::after { opacity: 1; transform: rotate(45deg); }
.js-bewegung .leistung-symbol svg > * { stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 2.2s .8s cubic-bezier(.22, .61, .36, 1); }
.js-bewegung .held.sichtbar .leistung-symbol svg > * { stroke-dashoffset: 0; }
.js-bewegung .held.sichtbar .leistung-symbol svg { animation: schweben 7s 3s ease-in-out infinite; }

/* ---------- Leistungsumfang ---------- */
.umfang { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 4rem; border-top: 1px solid var(--rand); }
.umfang li { position: relative; padding: 1.7rem 0 1.7rem 2.4rem; border-bottom: 1px solid var(--rand); }
.umfang li::before { content: ""; position: absolute; left: .2rem; top: 2.2rem; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); transition: transform .45s cubic-bezier(.16, 1, .3, 1); }
.umfang li:hover::before { transform: rotate(225deg) scale(1.2); }
.umfang h3 { font-size: 1.3rem; margin-bottom: .45rem; transition: color .3s; }
.umfang li:hover h3 { color: var(--gold-dunkel); }
.umfang p { color: var(--gedaempft); font-size: .98rem; }

/* ---------- Ihr Vorteil ---------- */
.nutzen { --takt: 140ms; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.nutzen-punkt { position: relative; padding-top: 1.5rem; border-top: 1px solid var(--gold); }
.nutzen-punkt h3 { font-size: 1.45rem; margin-bottom: .6rem; }
.nutzen-punkt p { color: var(--gedaempft); }
.js-bewegung .nutzen-punkt { border-top-color: transparent; }
.js-bewegung .nutzen-punkt::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.js-bewegung .nutzen.sichtbar .nutzen-punkt::before { animation: strich 1.2s cubic-bezier(.22, .61, .36, 1) forwards; animation-delay: calc(var(--i, 0) * 140ms + .25s); }

/* ---------- Ablauf mit vier Schritten ---------- */
.schritte.vier { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.schritte.vier .schritt::after { right: -1rem; }

/* ---------- Häufige Fragen ---------- */
.fragen-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 4.5rem; align-items: start; }
.fragen-raster .kopfzeilen { margin-bottom: 0; position: sticky; top: 120px; }
.kopfzeilen p a { color: var(--marine); }
.fragen { border-top: 1px solid var(--rand); }
.frage { border-bottom: 1px solid var(--rand); interpolate-size: allow-keywords; }
.frage summary {
  list-style: none; cursor: pointer; display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.4rem 0; font-family: var(--serif); font-size: 1.25rem; line-height: 1.35; color: var(--marine); transition: color .25s;
}
.frage summary::-webkit-details-marker { display: none; }
.frage summary:hover { color: var(--gold-dunkel); }
.frage summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.plus { flex: none; position: relative; width: 18px; height: 18px; margin-top: .35rem; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; background: var(--gold); transition: transform .35s cubic-bezier(.16, 1, .3, 1); }
.plus::after { transform: rotate(90deg); }
.frage[open] .plus::before { transform: rotate(180deg); }
.frage[open] .plus::after { transform: rotate(180deg); }
.antwort { padding: 0 2.5rem 1.6rem 0; color: var(--gedaempft); }
.js-bewegung .frage::details-content { block-size: 0; overflow: hidden; transition: block-size .45s cubic-bezier(.22, .61, .36, 1), content-visibility .45s allow-discrete; }
.js-bewegung .frage[open]::details-content { block-size: auto; }
.fragen-hinweis { margin-top: 1.4rem; font-size: .85rem; color: var(--gedaempft); }
.passend {
  display: block; margin-top: 2rem; padding: 1.4rem 1.5rem; background: var(--weiss); border: 1px solid var(--rand); border-left: 3px solid var(--gold);
  color: var(--text); text-decoration: none; transition: border-color .3s, transform .45s cubic-bezier(.16, 1, .3, 1), box-shadow .45s;
}
.passend .oberzeile { margin-bottom: .5rem; font-size: .72rem; }
.passend strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.2rem; line-height: 1.3; color: var(--marine); }
.passend > span { display: block; margin-top: .35rem; font-size: .92rem; color: var(--gedaempft); }
.passend em { display: inline-flex; align-items: center; gap: .5rem; margin-top: .8rem; font-style: normal; font-family: var(--fett); font-weight: 600; font-size: .88rem; color: var(--marine); }
.passend em::after { content: ""; width: 13px; height: 9px; background: currentColor; transition: transform .35s; -webkit-mask: var(--pfeil-l) center / contain no-repeat; mask: var(--pfeil-l) center / contain no-repeat; }
.passend:hover { border-color: var(--gold); box-shadow: 0 18px 36px rgba(15, 30, 46, .08); }
.passend:hover em::after { transform: translateX(4px); }
.passend:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.js-bewegung .passend:hover { transform: translateY(-3px); }

/* ---------- Erstgespräch ---------- */
.aufruf { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 3rem 4rem; align-items: center; }
.aufruf h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 1rem; }
.aufruf p { color: var(--hell-gedaempft); max-width: 38rem; }
.aufruf-wege { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
.aufruf-kontakt { display: flex; flex-direction: column; gap: .35rem; font-size: .95rem; color: var(--hell-gedaempft); }
.aufruf-kontakt a { color: var(--elfenbein); text-decoration: none; }
.aufruf-kontakt a:hover { color: var(--gold); }

/* ---------- Weitere Leistungen ---------- */
.weitere { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.weitere a {
  position: relative; display: flex; flex-direction: column; gap: .8rem; height: 100%; padding: 1.5rem 1.5rem 1.6rem;
  background: var(--weiss); border: 1px solid var(--rand); color: var(--marine); text-decoration: none;
  transition: border-color .3s, box-shadow .45s, transform .45s cubic-bezier(.16, 1, .3, 1);
}
.weitere svg { width: 30px; height: 30px; color: var(--gold-dunkel); }
.weitere strong { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; line-height: 1.25; padding-right: 1.5rem; }
.weitere small { font-size: .88rem; line-height: 1.45; color: var(--gedaempft); }
.weitere a::after {
  content: ""; position: absolute; top: 1.7rem; right: 1.5rem; width: 13px; height: 9px; background: var(--gold-dunkel); transition: transform .35s;
  -webkit-mask: var(--pfeil-l) center / contain no-repeat; mask: var(--pfeil-l) center / contain no-repeat;
}
.weitere a:hover { border-color: var(--gold); box-shadow: 0 18px 36px rgba(15, 30, 46, .08); }
.weitere a:hover::after { transform: translateX(4px); }
.weitere a:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.js-bewegung .weitere a:hover { transform: translateY(-4px); }

/* ---------- Ansprechpartner mit Foto (z. B. Unternehmensnachfolge) ---------- */
.aufruf.mit-ansprechpartner { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.aufruf.mit-ansprechpartner .aufruf-wege { margin-top: 2rem; }
.ansprechpartner { justify-self: end; width: min(340px, 100%); margin: 0; background: var(--marine-tief); border: 1px solid rgba(201, 167, 124, .35); }
.ansprechpartner-foto { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-bottom: 3px solid var(--gold); }
.ansprechpartner-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.ansprechpartner:hover .ansprechpartner-foto img { transform: scale(1.04); }
.ansprechpartner figcaption { display: flex; flex-direction: column; gap: .3rem; padding: 1.3rem 1.5rem 1.5rem; }
.ansprechpartner strong { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; line-height: 1.2; color: var(--elfenbein); }
.ansprechpartner .rolle { font-family: var(--fett); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.ansprechpartner .qualifikation { display: flex; gap: .6rem; align-items: baseline; font-size: .92rem; line-height: 1.45; color: var(--hell-gedaempft); }
.ansprechpartner .rolle + .qualifikation { margin-top: .5rem; }
.ansprechpartner .qualifikation::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg) translateY(-2px); }

@keyframes schweben { 50% { transform: translateY(-8px); } }

/* ---------- Tablet und Smartphone ---------- */
@media (max-width: 960px) {
  .leistung-held .innen { grid-template-columns: minmax(0, 1fr); }
  .leistung-symbol { display: none; }
  .umfang, .nutzen { grid-template-columns: minmax(0, 1fr); }
  .nutzen { gap: 2rem; }
  .schritte.vier { grid-template-columns: minmax(0, 1fr); }
  .fragen-raster, .aufruf { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .fragen-raster .kopfzeilen { position: static; }
  .aufruf.mit-ansprechpartner { grid-template-columns: minmax(0, 1fr); }
  .ansprechpartner { justify-self: start; }
  .weitere { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .leistung-held .innen { padding-top: 2.5rem; padding-bottom: 3.5rem; }
  .pfad { margin-bottom: 1.6rem; }
  .umfang li { padding-left: 2rem; }
  .frage summary { font-size: 1.12rem; }
  .antwort { padding-right: 0; }
  .weitere { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .untermenue, .untermenue-liste li { transition: none !important; }
  .ansprechpartner-foto img { transition: none; }
  .ansprechpartner:hover .ansprechpartner-foto img { transform: none; }
}

/* =====================================================================
   Team: kleines Untermenü, Startseiten-Links, Teamseiten (team/<name>/)
   ===================================================================== */
.navi-gruppe.klein { position: relative; }   /* Feld steht direkt unter „Team“ */
.navi-gruppe.klein .untermenue { width: 360px; }
.navi-gruppe.klein .untermenue-liste { grid-template-columns: minmax(0, 1fr); }

/* Startseite: Links unter den Karten der Geschäftsführung */
.person .profil-link, .team-links a, .einladung-link, .ansprechpartner-link {
  display: inline-flex; align-items: center; gap: .5rem; font-family: var(--fett); font-weight: 600; font-size: .88rem; text-decoration: none;
}
.person .profil-link::after, .team-links a::after, .einladung-link::after, .ansprechpartner-link::after {
  content: ""; flex: none; width: 13px; height: 9px; background: currentColor; transition: transform .35s cubic-bezier(.16, 1, .3, 1);
  -webkit-mask: var(--pfeil-l) center / contain no-repeat; mask: var(--pfeil-l) center / contain no-repeat;
}
.person .profil-link:hover::after, .team-links a:hover::after, .einladung-link:hover::after, .ansprechpartner-link:hover::after { transform: translateX(4px); }
.person .profil-link { margin-top: 1.2rem; color: var(--marine); }
.person .profil-link:hover { color: var(--gold-dunkel); }
.team-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.team-links a { justify-content: space-between; padding: 1.1rem 1.4rem; background: var(--weiss); border: 1px solid var(--rand); color: var(--marine); font-size: .92rem; transition: border-color .3s, color .3s; }
.team-links a:hover { border-color: var(--gold); color: var(--gold-dunkel); }
.ansprechpartner-link { margin-top: .9rem; color: var(--gold); }
.ansprechpartner-link:hover { color: var(--elfenbein); }

/* Geschäftsführung: ausführliche Profile */
.profile { display: flex; flex-direction: column; gap: 5.5rem; }
.profil { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 4rem; align-items: start; scroll-margin-top: 110px; }
.profil:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
.profil:nth-child(even) .profil-foto { order: 2; }
.profil-foto { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--marine); border-bottom: 3px solid var(--gold); }
.profil-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.profil:hover .profil-foto img { transform: scale(1.03); }
.profil-foto.initialen-gross { display: grid; place-items: center; font-family: var(--serif); font-size: 6rem; color: var(--elfenbein); }
.profil-text h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 1rem; }
.profil-einleitung { margin-bottom: 2rem; font-family: var(--serif); font-size: 1.3rem; line-height: 1.5; color: var(--marine); }
.profil-spalten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem; padding-top: 1.8rem; border-top: 1px solid var(--rand); }
.profil-spalten h3 { margin-bottom: 1rem; font-family: var(--fett); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-dunkel); }
.profil-liste, .zeitleiste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; font-size: .97rem; color: var(--text); }
.profil-liste li { display: flex; gap: .7rem; align-items: baseline; }
.profil-liste li::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg) translateY(-2px); }
.zeitleiste li { display: flex; gap: .8rem; }
.zeitleiste b { flex: none; width: 3.2rem; font-family: var(--fett); font-weight: 600; color: var(--marine); }
.profil-schwerpunkt { margin-top: 2rem; padding: 1rem 1.2rem; background: var(--sand); border-left: 3px solid var(--gold); color: var(--text); }
.profil-schwerpunkt a { color: var(--marine); font-weight: 600; }

/* Beratungsteam: Karten je Person */
.mitglieder { --takt: 110ms; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; }
.mitglied { display: flex; flex-direction: column; background: var(--weiss); border: 1px solid var(--rand); }
.mitglied-foto { position: relative; aspect-ratio: 4 / 5; overflow: hidden; display: grid; place-items: center; background: var(--marine); border-bottom: 3px solid var(--gold); color: rgba(201, 167, 124, .55); }
.mitglied-foto svg { width: 34%; height: auto; }
.mitglied-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.mitglied-text { display: flex; flex-direction: column; gap: .45rem; padding: 1.4rem 1.4rem 1.6rem; }
.mitglied h3 { font-size: 1.35rem; }
.mitglied .rolle { font-family: var(--fett); font-weight: 600; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-dunkel); }
.mitglied-text p:not(.rolle) { font-size: .95rem; color: var(--gedaempft); }
.mitglied.einladung { justify-content: center; gap: .9rem; padding: 2rem 1.6rem; background: var(--marine); border-color: var(--marine); }
.mitglied.einladung .oberzeile { margin-bottom: 0; color: var(--gold); }
.mitglied.einladung h3 { color: var(--elfenbein); }
.mitglied.einladung p:not(.oberzeile) { color: var(--hell-gedaempft); font-size: .95rem; }
.einladung-link { color: var(--gold); }
.einladung-link:hover { color: var(--elfenbein); }
.weitere.zwei { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.weitere.drei { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .weitere.drei { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 1080px) { .mitglieder { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .team-links { grid-template-columns: minmax(0, 1fr); }
  .profil, .profil:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .profil:nth-child(even) .profil-foto { order: 0; }
  .profil-foto { max-width: 340px; width: 100%; }
}
@media (max-width: 640px) {
  .profil-spalten, .mitglieder, .weitere.zwei { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .profil-foto img { transition: none; } .profil:hover .profil-foto img { transform: none; } }

/* Geschäftsführung: Profile gleiten beim Scrollen von der Seite herein (Viaene von links, Wittig von rechts) */
.profile-abschnitt { overflow-x: hidden; overflow-x: clip; }   /* verhindert seitliches Scrollen während der Bewegung */
.js-bewegung .profil.einblenden { transition: opacity 1s ease, transform 1.3s cubic-bezier(.16, 1, .3, 1); }
.js-bewegung .profil.von-links.einblenden { transform: translateX(-120px); }
.js-bewegung .profil.von-rechts.einblenden { transform: translateX(120px); }
.js-bewegung .profil.einblenden.sichtbar { transform: none; }
@media (max-width: 640px) {
  .js-bewegung .profil.von-links.einblenden { transform: translateX(-48px); }
  .js-bewegung .profil.von-rechts.einblenden { transform: translateX(48px); }
  .js-bewegung .profil.einblenden.sichtbar { transform: none; }
}

/* ===== Ohne Inline-Styles (Content-Security-Policy): Staffelung im Untermenü per CSS statt style="--n:…" ===== */
.untermenue-liste li:nth-child(2) { --n: 1; } .untermenue-liste li:nth-child(3) { --n: 2; }
.untermenue-liste li:nth-child(4) { --n: 3; } .untermenue-liste li:nth-child(5) { --n: 4; }
.untermenue-liste li:nth-child(6) { --n: 5; } .untermenue-liste li:nth-child(7) { --n: 6; }
.untermenue-liste li:nth-child(8) { --n: 7; } .untermenue-liste li:nth-child(9) { --n: 8; }
.erstgespraech-titel { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 1rem; }
