/* ==========================================================================
   HKCF - gemeinsames Stylesheet aller Seiten
   Grundlage: Corporate-Design-Vorgaben HKCF (Farbpalette, Typografie, Layout).
   Nur Farben aus der Palette, keine Verläufe, keine Schatten, Radius max. 4 px.

   Aufbau: zuerst die Grundlagen (Schrift, Palette, Typografie, Knöpfe, Navigation, Footer), danach je Seite ein
   Abschnitt (STARTSEITE, REFERENZSEITE, TEAMSEITE, SERVICESEITE, AKTUELLES, KARRIERE, KONTAKT, UNTERNEHMEN,
   IMPRESSUM / DATENSCHUTZ), am Ende die mobilen Anpassungen.

   Lesehilfe: Klassennamen folgen dem Muster block__element--variante; Zustände beginnen mit is-
   (is-active, is-open, is-scrolled, is-hidden, is-paused, is-visible). Abgekürzte oder nicht selbsterklärende Klassen:
     wrap            Inhaltsbreite mit Seitenrand (max. 1640 px)        on-dark   weißer Text auf dunkler Fläche
     eyebrow         Kategorie-Label über einer Überschrift
     h-section       Sektionsüberschrift      h-statement  Leitsatz (eine Stufe größer)     lead  Einleitungstext
     sub             Untertitel im Seitenkopf   meta  kleine Versalzeile (Datum, Ort, Beschriftung)   num  Tabellenziffern
     btn             Knopf mit Pfeil-Box (btn--light hell, btn--plain ohne Coral, btn--fill gefüllt)   arrow-link  Textlink mit Pfeil
     nav, mobile-menu, skip-link, sr-only   Navigation, mobiles Menü, Sprunglink, nur für Screenreader
     hero, hero__slide, hero__dot, hero__bg   Startseiten-Slider mit Folien, Punkten und Hintergrundbild
     about, stats, stat                      Startseite „Was wir tun“ mit Kennzahlen
     services, svc-list, svc, svc__num/__title/__desc, services__media   Startseite: Services-Liste mit Bildwechsel
     sectors, sector                         Startseite: Branchen          why   Startseite: Wertbeitrag
     track, track__rail, deal                Startseite: Track Record (Transaktionskarten)
     news, news-grid, post                   Startseite: Aktuelles-Kacheln   career, tags, tag   Startseite: Karriere-Kasten
     contact, contact__card, contact__row    Startseite: Kontakt
     phero, phero--refs/--team/--services/--news/--career/--contact, phero__bg/__inner/__text/__stats
                                             Seitenkopf der Unterseiten („page hero“)
     pstat, pstat__num/__label               Kennzahl im Seitenkopf
     filters, filters__inner, fgroup, fgroup__label, fselect, chips, chip, search
                                             Filterleiste (Referenzen, Aktuelles): Filtergruppe, Jahresauswahl, Filterknöpfe, Suchfeld
     refs, card, card__logo/__body/__meta/__task/__foot/__branches/__vol, card--quote, card__open, card__hint
                                             Referenzliste und Referenzkarte (Tombstone); Karte mit Kundenstimme samt Knopf und Hinweis
     cta                                     Abschlussbox auf Hellgrün
     people, people--team, team-grid, team-grid__intro, person, person__name/__role/__bio   Teamseite: Porträtraster und Kachel
     contact-links                           Telefon, E-Mail, LinkedIn als Textlinks
     subnav                                  Sprungleiste der Serviceseite   model, circles, circle   HKCF-Modell (drei Kreise mit Band)
     service, service--alt, service__head, ledger__tabs/__panel/__col   Service-Abschnitt mit Reitern und drei Leistungsspalten
     quote, company-quote                    Zitatblock; Zitate auf der Unternehmensseite   milestones, timeline   Meilensteine
     feature                                 Aktuelles: Aufmacher (neueste Meldung)
     nrow, nrow__year/__meta/__text/__tags/__arr   Aktuelles: Meldungszeile in der Chronik
     article, facts, prose, pager, related   Meldungsseite: Artikel, Infospalte, Lesetext, Neuere/Ältere Meldung, weitere Meldungen
     paths, path                             Karriere: drei Einstiegswege   jobs, job   offene Stellen   benefits, bene-grid   Benefits
     cperson, cgroup                         Kontaktseite: Ansprechpartner und Gruppe   visit   Anfahrt
     legal, legal__toc                       Impressum / Datenschutz mit Inhaltsverzeichnis
     crumbs                                  Brotkrumen (derzeit auf keiner Seite eingesetzt)
   ========================================================================== */

/* Schrift Montserrat lokal (variable Schrift, Gewichte 400-700), keine Verbindung zu Google beim Seitenaufruf.
   Dateien von Google Fonts (SIL Open Font License), nur Zeichensätze latin und latin-ext. */
@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/montserrat-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Palette - ausschließlich diese Werte */
  --white:  #FFFFFF;  /* Hintergrund 1 */
  --mint:   #DCE6E6;  /* Hintergrund 2 - Hellgrün aufgehellt */
  --black:  #000000;  /* Text 1 */
  --green:  #1E5050;  /* Text 2 / Leitfarbe - Logo Dunkelgrün */
  --coral:  #FA646E;  /* Akzent 1 - nur als Signal, max. ein Element je Ansicht */
  --silver: #C8C8C8;  /* Akzent 2 - nur Linien, Rahmen, deaktiviert */
  --gray:   #646E6E;  /* Akzent 3 - Sekundärtext */
  --sage:   #A0BEBE;  /* Akzent 4 - nur Fläche/Linie, nie Text */
  --sky:    #C8DCE6;  /* Akzent 5 - nur Fläche */
  --petrol: #0A323C;  /* Akzent 6 - großflächig dunkel (Footer, Track Record) */

  /* Grauton der Mandanten-Logo-Banner (im Bildmaterial enthalten, keine Gestaltungsfarbe):
     Flächen direkt hinter den Bannern müssen ihn treffen, sonst entsteht eine Kante. */
  --banner-bg: #E6E6E6;

  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;   /* auf Wunsch durchgehend Montserrat (statt Arial im Fließtext) */

  --radius: 4px;
  --gutter: clamp(24px, 4.5vw, 88px);
  --max: 1640px;                       /* breites Layout - bewusst über der CD-Empfehlung (1.280 px) */
  --section: clamp(64px, 9vw, 128px);  /* Sektionsabstand 64 px mobil … 128 px Desktop */
  --fast: .15s ease;                   /* CD: Hover/Fokus-Übergänge unter 200 ms */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--black);
  background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; color: var(--green); }
h2 strong, h1 strong { font-weight: inherit; }
/* Einzelne Wörter farbig hervorheben (Startseite: „Seit über 15 Jahren“, „schwarz auf weiß“) */
.text-coral { color: var(--coral); }
.text-white { color: var(--white); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* Sprunglink für Tastatur und Screenreader: erscheint nur beim Fokussieren mit der Tab-Taste */
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100; padding: 12px 20px; border-radius: 2px;
  background: var(--white); color: var(--green); font-family: var(--font-display); font-size: 14px; font-weight: 600;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }
#main:focus { outline: none; }
.num { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.on-dark, .on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }

/* Kategorie-Label über Überschriften (Versalien erlaubt) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--font-display); font-size: clamp(14px, 1.2vw, 18px); font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--coral);  /* Wunsch: Coral - CD sieht Coral erst ab ca. 24 px fett als Schrift vor */
}
.eyebrow::before { content: ""; width: 32px; height: 2px; background: currentColor; }

/* Hierarchie: Headline 48-64 · Sektion 32 · Zwischen 20 · Fließtext 17-18 · Fußnote 14 */
.h-section { font-size: clamp(26px, 2.3vw, 32px); margin-top: 24px; max-width: 24ch; }
.h-section:first-child { margin-top: 0; }   /* Sektionen ohne Kategorie-Label */
/* Leitsatz einer Sektion: eine Stufe über der Sektionsüberschrift, unter der Hero-Headline */
.h-statement { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.12; max-width: 26ch; }
.about .h-statement { max-width: 36ch; }   /* Leitsatz „Wir bringen komplexe Finanzierungen …“ in zwei Zeilen */
.lead { font-size: 18px; max-width: 65ch; }
.meta { font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gray); }

/* ---------- Button: Label + Pfeil-Box. Der Coral-Pfeil ist das wiederkehrende Verweis-Element. ---------- */
.btn {
  display: inline-flex; align-items: stretch; border: 1px solid currentColor; border-radius: 2px; overflow: hidden;
  font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  background: none; cursor: pointer; padding: 0; color: var(--green);
}
.btn[hidden] { display: none; }   /* sonst überschreibt display:inline-flex das hidden-Attribut (z. B. LinkedIn-Knopf ohne Beitrag) */
.btn span { padding: 16px 24px; }
.btn i { display: grid; place-items: center; width: 56px; border-left: 1px solid currentColor; color: var(--coral); transition: background var(--fast), color var(--fast); }
.btn svg { width: 24px; height: 12px; }
.btn:hover i { background: var(--coral); color: var(--white); }
.btn--light { color: var(--white); }
.btn--plain i { color: inherit; }            /* ohne Coral - wenn die Ansicht ihren Akzent schon hat */
.btn--fill { background: var(--green); border-color: var(--green); color: var(--white); }
.btn--fill i { border-color: var(--white); }

/* Textlink mit Pfeil (Teaser) - Pfeil wird beim Hover zum Coral-Signal */
.arrow-link { display: inline-flex; align-items: center; gap: 16px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--green); }
.arrow-link svg { width: 40px; height: 12px; color: var(--green); transition: color var(--fast); }
a:hover .arrow-link svg, .arrow-link:hover svg { color: var(--coral); }

/* ---------- Navigation ---------- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background var(--fast); }
.nav__inner { display: flex; align-items: center; gap: 24px; padding: 16px var(--gutter); }
.nav.is-scrolled { background: var(--white); border-bottom: 1px solid var(--silver); }
.nav__logo { display: block; }
.nav__logo img { height: 68px; width: auto; }   /* Logo immer gleich groß - die Navigation ändert beim Scrollen nur Hintergrund und Farben, nie die Höhe */
.nav__logo .logo-c, .nav.is-scrolled .nav__logo .logo-w { display: none; }
.nav.is-scrolled .nav__logo .logo-c { display: block; }
.nav__links { display: flex; gap: clamp(16px, 2.2vw, 40px); margin: 0 0 0 auto; padding: 0; list-style: none; }
.nav__links a {
  position: relative; padding: 8px 0; color: var(--white);
  font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform var(--fast), background var(--fast);
}
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a:hover::after { transform: scaleX(1); background: var(--coral); }
.nav__right { display: flex; align-items: center; gap: 24px; padding-left: 24px; border-left: 1px solid var(--sage); }
.nav__lang { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--white); }
.nav__cta {
  font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  padding: 12px 20px; border: 1px solid var(--white); border-radius: 2px; color: var(--white); transition: background var(--fast), color var(--fast);
}
.nav__cta:hover { background: var(--white); color: var(--green); }
.nav.is-scrolled .nav__links a, .nav.is-scrolled .nav__lang { color: var(--green); }
.nav.is-scrolled .nav__right { border-color: var(--silver); }
.nav.is-scrolled .nav__cta { background: var(--green); border-color: var(--green); color: var(--white); }
.nav.is-scrolled .nav__cta:hover { background: var(--petrol); border-color: var(--petrol); }
.nav__burger {
  display: none; margin-left: auto; width: 48px; height: 48px; padding: 0; border: 1px solid currentColor; border-radius: 2px;
  background: transparent; color: var(--white); cursor: pointer;
}
.nav.is-scrolled .nav__burger { color: var(--green); }
.nav__burger span { display: block; width: 20px; height: 2px; margin: 5px auto; background: currentColor; transition: transform var(--fast), opacity var(--fast); }
/* Offenes Menü: Navigation immer in der dunklen Fassung */
.nav.is-open, .nav.is-open.is-scrolled { background: var(--petrol); border-color: var(--petrol); }
.nav.is-open .nav__logo .logo-w { display: block; }
.nav.is-open .nav__logo .logo-c { display: none; }
.nav.is-open .nav__burger { color: var(--white); }
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40; display: flex; flex-direction: column; gap: 8px;
  padding: 128px var(--gutter) 40px; background: var(--petrol); color: var(--white);
  visibility: hidden; opacity: 0; transition: opacity var(--fast), visibility var(--fast);
}
.mobile-menu.is-open { visibility: visible; opacity: 1; }
.mobile-menu a.big { padding: 12px 0; border-bottom: 1px solid var(--gray); font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.mobile-menu .nav__cta { margin-top: 32px; align-self: flex-start; }

/* ---------- Footer ---------- */
.footer { background: var(--petrol); color: var(--white); padding: 80px 0 32px; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; }
.footer__brand img { height: 52px; width: auto; margin-bottom: 24px; }
.footer h2 { margin: 0 0 16px; font-size: 14px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--white); }
.footer ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--gray); }
.footer__bottom nav { display: flex; gap: 24px; }

/* ==========================================================================
   STARTSEITE
   ========================================================================== */

/* ---------- Hero (volle Breite) ---------- */
.hero .wrap { max-width: none; }
.hero { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; background: var(--petrol); color: var(--white); }
.hero__slide { position: absolute; inset: 0; visibility: hidden; opacity: 0; transition: opacity .18s ease, visibility .18s; }
.hero__slide.is-active { visibility: visible; opacity: 1; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(1.1); }
/* flache Tönung in Petrol statt Verlauf - Lesbarkeit der weißen Schrift; Bild und Tönung je 10 % heller (Wunsch) */
.hero__slide::after { content: ""; position: absolute; inset: 0; background: var(--petrol); opacity: .74; filter: brightness(1.1); }
/* Folieninhalt oben verankert (nicht zentriert) und mit festen Höhen für Überschrift und Text:
   Label, Überschrift, Text und Knopf stehen auf allen Folien exakt an derselben Stelle - nichts springt beim Wechsel. */
.hero__content {
  position: relative; z-index: 2; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-start;
  /* Freiraum über dem Label: 18 % der Fensterhöhe; bei niedrigen Fenstern höchstens so viel, dass der Knopf
     mindestens 24 px über Pausenknopf und Folienleiste bleibt (Inhalt bis Knopf max. 364 px, Steuerung unten 80 px) */
  padding-top: calc(100px + max(24px, min(clamp(64px, 18vh, 240px), 100svh - 568px))); padding-bottom: 152px;
}
.hero h1, .hero .h1 {
  max-width: none; margin: 24px 0 24px; color: var(--white); white-space: nowrap;   /* genau 2 Zeilen: Teil 1 + <em> */
  font-family: var(--font-display); font-size: clamp(40px, 4.4vw, 64px); font-weight: 600; line-height: 1.1; letter-spacing: -.01em;
}
.hero h1 em, .hero .h1 em { display: block; font-style: normal; font-weight: 700; color: var(--coral); }
/* Claim in zwei Zeilen: „Corporate Finance Exzellenz:“ + wechselndes Attribut */
.hero h1 { max-width: none; }
/* Ein Coral-Element je Ansicht: im Hero trägt der Claim den Akzent, das Label bleibt weiß */
.hero .eyebrow { color: var(--white); }
.rotor span { display: inline-block; transition: opacity .15s ease; }
.rotor span.is-out { opacity: 0; }
.hero__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: max-content; }   /* beide Knöpfe gleich breit */
.hero__btns .btn span { flex: 1; text-align: center; }
@media (max-width: 640px) {   /* beide Knöpfe in einer Zeile, damit die Folie nicht höher wird */
  .hero__btns { gap: 8px; width: 100%; max-width: 360px; }
  .hero__btns .btn span { padding-inline: 8px; white-space: nowrap; }
  .hero__btns .btn i { display: none; }
}
@media (max-width: 380px) { .hero__btns .btn { font-size: 13px; letter-spacing: .04em; } }
.hero p.sub { max-width: 56ch; min-height: calc(2 * 1.6em); margin-bottom: 32px; font-size: 18px; }   /* Platz für 2 Zeilen (alle Folien 2-zeilig), damit der Knopf nicht wandert */
.hero__controls { position: absolute; z-index: 5; left: 0; right: 0; bottom: 40px; }
.hero__controls .wrap { display: flex; align-items: center; gap: 24px; }
.hero__dots { display: flex; flex: 1; gap: 8px; max-width: 520px; }
.hero__dot {
  position: relative; flex: 1; height: 32px; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; color: var(--white);
  font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: .08em;
}
.hero__dot::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gray); }
.hero__dot b { position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--white); }
.hero__dot.is-active b { animation: fill var(--dur, 7s) linear forwards; }
.hero.is-paused .hero__dot.is-active b { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
.hero__pause {
  display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--white); border-radius: 2px;
  background: none; color: var(--white); cursor: pointer;
}

/* ---------- Was wir tun: ein Leitsatz, darunter der Absatz (keine Split-Kopfzeile) ---------- */
.about { position: relative; padding: var(--section) 0; overflow: hidden; }
.about__intro { position: relative; z-index: 1; }
.about .lead { margin-top: 24px; }
.stats { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--silver); }
.stat { padding: 32px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--silver); }
.stat__num {
  font-family: var(--font-display); font-size: clamp(44px, 4.4vw, 64px); font-weight: 600; line-height: 1; letter-spacing: -.01em;
  color: var(--green); white-space: nowrap; font-variant-numeric: tabular-nums;
}
.stat__num sup { position: relative; top: .3em; margin-right: 4px; font-size: .4em; vertical-align: top; }
.stat__num small { margin-left: 8px; font-size: .36em; font-weight: 600; }
.stat__num small.cur { margin-right: 8px; }   /* englische Kennzahl: EUR 12bn */
.stat__num small.unit { margin-left: 2px; }
.stat__label { margin-top: 16px; }
/* Logo-Element: Unterkante schließt mit den Kennzahl-Beschriftungen ab, links ragt es aus dem Bild */
/* Liegt vollständig im freien weißen Streifen links neben dem Inhalt, mit 48 px Abstand zum Fensterrand und zum Text.
   --side = Breite dieses Streifens; die Grafik wird höchstens 440 px breit. */
.about__mark {
  --side: calc(var(--gutter) + max(0px, (100vw - var(--max)) / 2));
  --w: min(440px, calc(var(--side) - 96px));
  position: absolute; z-index: -1; bottom: 0; height: auto; color: var(--mint); pointer-events: none;
  width: var(--w);
  left: calc(-1 * var(--side) + (var(--side) - var(--w)) / 2);   /* im Streifen zentriert */
}
/* Streifen schmaler als 256 px (Fenster unter ca. 1.980 px): kein Platz - ausblenden statt hinter den Text legen */
@media (max-width: 1975px) { .about__mark { display: none; } }

/* ---------- Services ---------- */
.services { position: relative; overflow: hidden; background: var(--green); color: var(--white); }
.services__grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 760px; }
.services__text { padding: var(--section) clamp(24px, 5vw, 80px) var(--section) 0; }
.services .lead { margin: 24px 0 48px; }
.svc-list { margin: 0 0 48px; padding: 0; list-style: none; border-top: 1px solid var(--sage); }
.svc { border-bottom: 1px solid var(--sage); }
.svc a { display: grid; grid-template-columns: 88px 1fr 40px; align-items: center; gap: 16px; padding: 24px 0; }
/* Ein gemeinsames Tempo für alle Service-Übergänge (bewusst langsamer als die CD-Vorgabe von 200 ms) */
.services { --svc-dur: .8s; --svc-ease: cubic-bezier(.45,0,.2,1); }
.svc__num {
  /* Kontur ohne Artefakte: Montserrat hat überlappende Glyphen-Konturen, die ein reiner text-stroke innen als kleine
     Dreiecke nachzeichnet. Daher Kontur doppelt so breit zeichnen und mit einer Füllung in Sektionsfarbe überdecken
     (paint-order: stroke fill) - sichtbar bleibt nur die äußere Kontur. */
  font-family: var(--font-display); font-size: 56px; font-weight: 700; line-height: 1;
  color: var(--green); -webkit-text-stroke: 2px var(--sage); paint-order: stroke fill;
  transition: -webkit-text-stroke-color var(--svc-dur) var(--svc-ease), color var(--svc-dur) var(--svc-ease);
}
/* Keine Höhenänderung beim Wechsel: Jede Zeile reserviert Platz für zwei Beschreibungszeilen.
   Inaktiv sitzt der Titel mittig (nach unten verschoben), aktiv gleitet er nach oben und die
   Beschreibung blendet ein. Animiert werden nur transform und opacity - nichts verschiebt sich unter der Maus. */
.services { --desc-lh: 25.6px; --desc-h: calc(2 * var(--desc-lh) + 8px); }
.svc__title {
  display: block; font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--white);
  transform: translateY(calc(var(--desc-h) / 2)); transition: transform var(--svc-dur) var(--svc-ease);
}
.svc__desc {
  display: block; height: var(--desc-h); padding-top: 8px; overflow: hidden; opacity: 0;
  font-family: var(--font-body); font-size: 16px; font-weight: 400; line-height: var(--desc-lh); letter-spacing: 0;
  transition: opacity calc(var(--svc-dur) * .5) var(--svc-ease);
}
.svc svg {
  width: 32px; height: 12px; color: var(--white); opacity: 0; transform: translateX(-12px);
  transition: opacity var(--svc-dur) var(--svc-ease), transform var(--svc-dur) var(--svc-ease);
}
.svc.is-active .svc__num { color: var(--coral); -webkit-text-stroke-color: var(--coral); }
.svc.is-active svg { opacity: 1; transform: none; }
.svc.is-active .svc__title { transform: none; }
/* Beschreibung erst einblenden, wenn der Titel Platz gemacht hat; beim Verlassen sofort ausblenden */
.svc.is-active .svc__desc { opacity: 1; transition-delay: calc(var(--svc-dur) * .35); }
.nobr { white-space: nowrap; }
/* Touch-Geräte und schmale Ansicht: kein Hover - alle Beschreibungen offen, keine Bewegung */
@media (hover: none), (max-width: 900px) {
  .svc__title, .svc.is-active .svc__title { transform: none; }
  .svc__desc { height: auto; opacity: 1; }
}
/* Bild läuft bis zum rechten Fensterrand - auch wenn der Inhaltsbereich schmaler als das Fenster ist */
.services__media { position: relative; margin-right: calc(-1 * (var(--gutter) + max(0px, (100vw - var(--max)) / 2))); }
/* Bilder laufen wie die Kopfbilder weich in die grüne Textfläche aus (Maske auf dem gemeinsamen Bildbereich,
   damit die Überblendung zwischen M&A, Debt Advisory und Financial Modeling unverändert bleibt) */
.services__media {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.03) 5%, rgba(0,0,0,.1) 10%, rgba(0,0,0,.22) 15%, rgba(0,0,0,.35) 20%, rgba(0,0,0,.5) 25%, rgba(0,0,0,.65) 30%, rgba(0,0,0,.78) 35%, rgba(0,0,0,.9) 40%, rgba(0,0,0,.97) 45%, #000 50%);
          mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.03) 5%, rgba(0,0,0,.1) 10%, rgba(0,0,0,.22) 15%, rgba(0,0,0,.35) 20%, rgba(0,0,0,.5) 25%, rgba(0,0,0,.65) 30%, rgba(0,0,0,.78) 35%, rgba(0,0,0,.9) 40%, rgba(0,0,0,.97) 45%, #000 50%);
}
/* Überblendung ohne Lücke: das vorige Bild bleibt voll sichtbar darunter, das neue blendet darüber ein */
.services__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: 0;
}
.services__media img.is-prev { opacity: 1; z-index: 1; }
/* Financial Modeling (Theodolit, gespiegelt): Instrument steht rechts im Foto; 70 % hält es bei allen Breiten im klaren Bildteil */
.services__media img.svc-img--modeling { object-position: 70% center; }
.services__media img.is-active { opacity: 1; z-index: 2; transition: opacity calc(var(--svc-dur) * 1.2) var(--svc-ease); }

/* ---------- Branchen: Raster mit Linien statt Icon-Kacheln ---------- */
.sectors { padding: var(--section) 0; }
.sectors__head { margin-bottom: 56px; }
.sectors__head .h-section { max-width: none; }   /* je Satz eine Zeile (fester Umbruch im HTML) */
.sectors__head .lead { margin-top: 16px; }
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--silver); border-bottom: 1px solid var(--silver); }
.sector { display: flex; flex-direction: column; min-height: 320px; padding: 32px 24px; transition: background var(--fast); }
.sector + .sector { border-left: 1px solid var(--silver); }
.sector:hover { background: var(--mint); }
/* Branchen-Icon (Phosphor, light) statt Anzahl der Referenzen */
.sector__icon { margin: 24px 0 32px; color: var(--green); }
.sector__icon svg { display: block; width: 48px; height: 48px; fill: currentColor; }
.sector h3 { font-size: 20px; margin-bottom: 8px; }
.sector p { font-size: 16px; }
.sector .arrow-link { margin-top: auto; padding-top: 24px; }

/* ---------- Warum HKCF ---------- */
.why { padding: 0 0 var(--section); }
/* Prinzipien als Zeilen: Überschrift links, je Prinzip eine Zeile mit Begriff und Erläuterung */
.why__grid { display: grid; grid-template-columns: minmax(0, 1fr) 2fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.why__grid > .h-section { max-width: none; }
.why__grid > .h-section em { font-style: normal; color: var(--coral); }
/* „Wertbeitrag durch Exzellenz“ einzeilig: Spalte so breit wie die Überschrift */
@media (min-width: 641px) {
  .why__grid { grid-template-columns: auto 1fr; }
  .why__grid > .h-section { white-space: nowrap; }
}
/* alle Zeilen gleich hoch (= höchste Zeile), damit die Trennlinien immer im gleichen Abstand stehen */
.why__list { display: grid; grid-auto-rows: 1fr; margin: 0; padding: 0; list-style: none; }
.why__list li { display: grid; grid-template-columns: 200px 1fr; gap: 32px; padding: 24px 0; border-top: 1px solid var(--silver); }
.why__list h3 { font-size: 20px; white-space: nowrap; }
.why__list p { max-width: 52ch; }

/* ---------- Track Record ---------- */
.track { position: relative; overflow: hidden; padding: var(--section) 0; background: var(--petrol); color: var(--white); }
.track__head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 32px; margin-bottom: 56px; }
.track__nav { display: flex; gap: 8px; }
.track__nav button {
  display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--white); border-radius: 2px;
  background: none; color: var(--white); cursor: pointer; transition: background var(--fast), color var(--fast);
}
.track__nav button:hover { background: var(--white); color: var(--petrol); }
.track__nav svg { width: 24px; height: 12px; }
.track__rail {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 0 var(--gutter) 8px; margin: 0 auto;
  scroll-padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
}
.track__rail::-webkit-scrollbar { display: none; }
.deal {
  flex: 0 0 clamp(272px, 24vw, 320px); min-height: 384px; display: flex; flex-direction: column; padding: 32px 24px;
  border: 1px solid var(--gray); border-radius: var(--radius); scroll-snap-align: start; transition: border-color var(--fast);
}
.deal:hover { border-color: var(--white); }
.deal__top { display: flex; justify-content: space-between; gap: 16px; color: var(--white); white-space: nowrap; }   /* Datum und Service einzeilig, auch auf dem Handy */
.deal__client { margin: 40px 0 16px; min-height: calc(2 * 1.3em); font-size: 20px; line-height: 1.3; color: var(--white); }   /* immer zwei Zeilen Platz: Beschreibung beginnt überall auf gleicher Höhe */
.deal__what { font-size: 16px; }
.deal__vol { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--gray); text-align: right; }
.deal__vol small { display: block; margin-bottom: 4px; color: var(--white); }
.deal__vol strong { font-family: var(--font-display); font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--coral); }
/* Überschrift und Volumina im Track Record in Coral (große, fette Schrift: Kontrast auf Petrol ausreichend) */
/* Handy: immer genau eine Transaktion sichtbar, weiter mit den Pfeilen (bzw. Wischen) */
@media (max-width: 640px) {
  .deal { flex: 0 0 calc(100vw - 2 * var(--gutter)); }
  .track__rail { padding-right: var(--gutter); }
}
.track .h-section { color: var(--coral); }
.track__foot { margin-top: 48px; }

/* ---------- Aktuelles: drei gleich große Kacheln ---------- */
.news { padding: var(--section) 0; background: var(--mint); }
.news__head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 32px; margin-bottom: 56px; }
.news__head .h-section { max-width: none; }
@media (min-width: 641px) { .news__head .h-section { white-space: nowrap; } }   /* „Unsere Beiträge schwarz auf weiß“ einzeilig */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border-radius: var(--radius); }
.post__img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--green); }
.post__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post__body { display: flex; flex: 1; flex-direction: column; padding: 32px 24px; }
.post h3 { margin: 16px 0 24px; font-size: 20px; line-height: 1.35; }
.post__body > .meta { color: var(--coral); }   /* Datum und Ort der Meldung */
.post .arrow-link { margin-top: auto; }

/* ---------- Karriere ---------- */
.career { padding: var(--section) 0; }
.career__box { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; background: var(--green); color: var(--white); border-radius: var(--radius); }
.career__img { position: relative; min-height: 464px; }
.career__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Bild läuft wie die Kopfbilder weich in die grüne Textbox aus (gleicher Verlauf, hier nach rechts) - keine sichtbare Kante */
.career__img img {
  -webkit-mask-image: linear-gradient(to left, transparent 0%, rgba(0,0,0,.03) 5%, rgba(0,0,0,.1) 10%, rgba(0,0,0,.22) 15%, rgba(0,0,0,.35) 20%, rgba(0,0,0,.5) 25%, rgba(0,0,0,.65) 30%, rgba(0,0,0,.78) 35%, rgba(0,0,0,.9) 40%, rgba(0,0,0,.97) 45%, #000 50%);
          mask-image: linear-gradient(to left, transparent 0%, rgba(0,0,0,.03) 5%, rgba(0,0,0,.1) 10%, rgba(0,0,0,.22) 15%, rgba(0,0,0,.35) 20%, rgba(0,0,0,.5) 25%, rgba(0,0,0,.65) 30%, rgba(0,0,0,.78) 35%, rgba(0,0,0,.9) 40%, rgba(0,0,0,.97) 45%, #000 50%);
}
.career__text { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 5vw, 80px); }
.career__text h2 { margin: 24px 0; }
.career__text p { margin-bottom: 32px; max-width: 60ch; }
.tags { display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 8px; max-width: 616px; margin-bottom: 40px; }   /* alle Rahmen gleich breit */
.tag { text-align: center; }
.tag {
  padding: 8px 16px; border: 1px solid var(--white); border-radius: 2px;
  font-family: var(--font-display); font-size: 14px; font-weight: 600; transition: background var(--fast), color var(--fast);
}
.tag:hover { background: var(--white); color: var(--green); }

/* ---------- Kontakt ---------- */
.contact { padding: var(--section) 0; }
.contact__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.contact .lead { margin: 24px 0 40px; }
.contact__card { padding: clamp(32px, 4vw, 48px); background: var(--mint); border-radius: var(--radius); }
.contact__row { padding: 16px 0; border-bottom: 1px solid var(--silver); }
.contact__row:first-child { padding-top: 0; }
/* Label wie im Karriere-Kasten darüber; Abstand zur ersten Zeile wie zwischen Label und Überschrift dort */
.contact__card .eyebrow { display: flex; margin-bottom: 24px; }
.contact__card .eyebrow + .contact__row { padding-top: 0; }
.contact__row:last-child { padding-bottom: 0; border-bottom: 0; }
.contact__row small { display: block; margin-bottom: 4px; }
.contact__row a { font-size: 18px; color: var(--green); }
.contact__row a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================================
   REFERENZSEITE
   ========================================================================== */
.phero { position: relative; overflow: hidden; background: var(--green); color: var(--white); }
/* Bild beginnt unter der Navigation, damit die Menüpunkte auf ruhiger Fläche stehen */
.phero__bg { position: absolute; top: 100px; right: 0; bottom: 0; width: 40%; background: url("img/mediathek/teaser_referenzen.webp") center / cover; }
.phero__inner { position: relative; padding-top: calc(100px + clamp(56px, 8vw, 112px)); padding-bottom: clamp(64px, 7vw, 96px); }
.phero__text { max-width: 58%; }
.crumbs { display: flex; gap: 8px; margin-bottom: 32px; font-size: 14px; }
.crumbs a { text-decoration: underline; text-underline-offset: 4px; }
.phero h1 { margin: 24px 0; font-size: clamp(40px, 4.4vw, 64px); color: var(--white); }
.phero h1 em { font-style: normal; font-weight: 700; color: var(--coral); }
.phero p.sub { max-width: 60ch; font-size: 18px; }
.phero__stats { display: flex; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--sage); }
.pstat { padding: 24px 32px 0 0; }
.pstat + .pstat { padding-left: 32px; border-left: 1px solid var(--sage); }
.pstat__num { font-family: var(--font-display); font-size: clamp(32px, 3.2vw, 48px); font-weight: 600; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pstat__num sup { position: relative; top: .25em; margin-right: 4px; font-size: .45em; vertical-align: top; }
.pstat__num small { margin-left: 8px; font-size: .4em; }
.pstat__num small.cur { margin-right: 6px; }   /* englische Kennzahl: EUR 12bn */
.pstat__num small.unit { margin-left: 2px; }
.pstat__label { margin-top: 8px; color: var(--white); }

/* Seitenkopf auf dem Desktop kompakt (Wunsch: 30 % niedriger): weniger Luft, Überschrift max. 50 px, Kennzahlen max. 40 px */
@media (min-width: 901px) {
  .phero__inner { padding-top: calc(100px + clamp(32px, 3vw, 48px)); padding-bottom: clamp(40px, 3vw, 48px); }
  .phero .crumbs { margin-bottom: 24px; }
  .phero h1 { margin: 20px 0; font-size: clamp(36px, 3.4vw, 50px); }
  .phero p.sub { font-size: 17px; }
  .phero__stats { margin-top: clamp(32px, 2.8vw, 40px); }
  .pstat { padding-top: 16px; }
  .pstat__num { font-size: clamp(30px, 2.8vw, 40px); }
}
/* Gleich hoher Seitenkopf für Services, Referenzen, Team, Aktuelles, Karriere und Kontakt, damit beim Seitenwechsel
   nichts springt: 780 px (Maß ist der längste Text, Team, gemessen bis 772 px).
   Überschrift oben, Kennzahlen unten: beide stehen auf allen sechs Seiten an derselben Stelle.
   Mobil (Bild ausgeblendet) bleibt die Höhe am Inhalt, sonst entstünden große Leerflächen.
   Bei neuen oder längeren Texten im Seitenkopf mit tools/vorschau-hero-hoehen.html nachmessen. */
@media (min-width: 901px) {
  :is(.phero--services, .phero--refs, .phero--team, .phero--news, .phero--career, .phero--contact) .phero__inner { display: flex; flex-direction: column; min-height: 780px; }
  :is(.phero--services, .phero--refs, .phero--team, .phero--news, .phero--career, .phero--contact) .phero__text { flex: 1; display: flex; flex-direction: column; }
  :is(.phero--services, .phero--refs, .phero--team, .phero--news, .phero--career, .phero--contact) .eyebrow { align-self: flex-start; }
  :is(.phero--services, .phero--refs, .phero--team, .phero--news, .phero--career, .phero--contact) p.sub { margin-bottom: clamp(32px, 2.8vw, 40px); }
  :is(.phero--services, .phero--refs, .phero--team, .phero--news, .phero--career, .phero--contact) .phero__stats { margin-top: auto; }
  /* Kontaktzeile hat kleinere Schrift: gleiche Zeilenhöhe wie die Kennzahlen, damit die Trennlinie überall gleich hoch liegt */
  .phero__stats--contact .pstat__num { display: flex; align-items: flex-end; min-height: clamp(30px, 2.8vw, 40px); }
}
/* Kennzahlenleiste: kein Abstand nach der letzten Zahl; bis 1399 px etwas engere Abstände,
   damit die drei Services-Kennzahlen ab ca. 1240 px in einer Zeile bleiben */
.phero__stats .pstat:last-child { padding-right: 0; }
@media (min-width: 901px) and (max-width: 1399px) {
  .pstat { padding-right: 24px; }
  .pstat + .pstat { padding-left: 24px; }
  .phero__stats .pstat:last-child { padding-right: 0; }
}
/* bis 1239 px noch enger, damit "Veröffentlichte Referenzen" ab 1180 px in einer Zeile bleibt */
@media (min-width: 901px) and (max-width: 1239px) {
  .pstat { padding-right: 16px; }
  .pstat + .pstat { padding-left: 16px; }
  .phero__stats .pstat:last-child { padding-right: 0; }
}

/* Filterleiste - klebt unter der Navigation (16 + 68 + 16 + 1 px Linie = 101 px) */
.filters { position: sticky; top: 101px; z-index: 30; background: var(--white); border-bottom: 1px solid var(--silver); transition: transform var(--fast); }
/* Referenzen: Filterleiste beim Herunterscrollen hinter die Kopfleiste schieben (Steuerung in referenzen/index.html) */
.filters.is-hidden { transform: translateY(-100%); }
.filters__inner { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px 40px; padding-top: 24px; padding-bottom: 24px; }
.fgroup { display: flex; align-items: center; gap: 16px; min-width: 0; }
.fgroup__label { flex: none; width: 88px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -2px; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; cursor: pointer;
  border: 1px solid var(--silver); border-radius: 2px; background: var(--white); color: var(--green);
  font-family: var(--font-display); font-size: 14px; font-weight: 600;
  transition: background var(--fast), color var(--fast), border-color var(--fast);
}
.chip b { font-weight: 600; color: var(--gray); font-variant-numeric: tabular-nums; }
.chip:hover { border-color: var(--green); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--white); }
.chip[aria-pressed="true"] b { color: var(--white); }
.chip:disabled { cursor: default; color: var(--gray); }
.chip:disabled:hover { border-color: var(--silver); }
/* Zeile 1: Branche (volle Breite) · Zeile 2: Service links, Suche rechts. Trefferzahl steht über dem Raster. */
.fgroup--branche { grid-row: 1; grid-column: 1 / -1; }
.fgroup--service { grid-row: 2; grid-column: 1; }
.search { grid-row: 2; grid-column: 2; position: relative; width: 320px; }
.search input {
  width: 100%; height: 48px; padding: 0 16px 0 44px; border: 1px solid var(--silver); border-radius: 2px;
  background: var(--white); color: var(--black); font: 16px var(--font-body);
}
.search input:focus { outline: 2px solid var(--green); outline-offset: -1px; border-color: var(--green); }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--gray); }
.fmeta { display: flex; align-items: center; gap: 24px; margin-bottom: 24px; font-size: 16px; }
.fmeta strong { font-family: var(--font-display); color: var(--green); font-variant-numeric: tabular-nums; }
.reset {
  display: none; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--green); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px;
}
.reset.is-visible { display: inline; }

/* Tombstone-Raster */
.refs { padding: clamp(40px, 5vw, 64px) 0 var(--section); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--silver); border-radius: var(--radius); transition: border-color var(--fast); }
.card[hidden] { display: none; }   /* alle Referenzen stehen im DOM (lesbar für Suchmaschinen), sichtbar nur die geladenen */
.card:hover { border-color: var(--green); }
/* Logos sind Banner im Format ~4,28:1 mit grauem Grund und Logo links - linker Ausschnitt, vergrößert, bündig zum Text */
/* Logokasten: Logos immer vollständig im grauen Feld, links bündig und vertikal mittig.
   Gleiche optische Größe: Höhe sinkt mit der Wurzel des Seitenverhältnisses (--a = Breite/Höhe), d. h. breite und
   kompakte Logos bekommen ungefähr dieselbe Fläche; nie höher als das Feld, nie breiter als die Karte. */
.card__logo {
  --logo-box: clamp(96px, 7.5vw, 128px); --logo-k: calc(var(--logo-box) * 1.15);
  display: flex; align-items: center; height: var(--logo-box); padding: 16px 24px; overflow: hidden;
  background: var(--banner-bg); border-bottom: 1px solid var(--silver);
}
.card__logo img {
  display: block; width: auto; max-width: 100%; height: 60%;
  height: min(100%, calc(var(--logo-k) / sqrt(var(--a, 4))));
  object-fit: contain; object-position: left center;
}
/* Logo ohne Aufbereitung (Rückfall): ganzes Bild einpassen */
.card__logo img.is-raw { width: 100%; height: 100%; }
.card__body { display: flex; flex: 1; flex-direction: column; padding: 24px; }
.card__meta { display: flex; justify-content: space-between; gap: 16px; }
.card__svc { color: var(--green); text-align: right; }
.card h3 { margin: 16px 0 8px; font-size: 20px; line-height: 1.3; }
.card__task { font-size: 16px; }
/* Kachel mit Kundenstimme: ganze Kachel klickbar (Knopf am Namen, Klickfläche über die Kachel gespannt) */
.card--quote { position: relative; cursor: pointer; }
.card__open { padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.card__open::after { content: ""; position: absolute; inset: 0; }
.card__open:focus-visible { outline: none; }
.card--quote:has(.card__open:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.card__hint { margin-top: 16px; }
.card--quote:hover .card__hint svg { color: var(--coral); }
/* Kachelfuß: Branche immer links unten, Volumen rechts auf gleicher Höhe (unten bündig), auch wenn die Branche umbricht */
.card__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 12px; margin-top: auto; padding-top: 24px; container: reffoot / inline-size; }
/* je Branche ein Etikett; mehrere stehen untereinander bzw. nebeneinander, wenn Platz ist */
.card__branches { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px; min-width: 0; }
.card__branch { max-width: 100%; padding: 4px 8px; background: var(--mint); border-radius: 2px; color: var(--green); font-size: 14px; line-height: 1.4; }
.card__vol { grid-column: 2; text-align: right; white-space: nowrap; }
.card__vol small { display: block; margin-bottom: 4px; }
.card__vol strong { font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1.1; color: var(--green); font-variant-numeric: tabular-nums; }
/* Betrag passt sich der Kachelbreite an, damit Branche und Volumen in einer Zeile bleiben */
@container reffoot (max-width: 339px) { .card__vol strong { font-size: 20px; } }
@container reffoot (max-width: 299px) { .card__vol strong { font-size: 18px; } }

.more { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 48px; }
.more__page { margin: 0; }
/* Referenzen am Handy: Kennzahlen untereinander */
@media (max-width: 640px) { .phero--refs .phero__stats { flex-direction: column; } }
@media (min-width: 641px) { .phero--refs .phero__stats { flex-wrap: nowrap; } }   /* immer eine Zeile; bei wenig Platz bricht das Label am Bindestrich */.more[hidden] { display: none; }
.empty { padding: 80px 24px; text-align: center; }
.empty__title { margin: 0 0 16px; font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; color: var(--green); }   /* Leer-Zustand als Absatz, keine Überschrift im Quelltext */
.empty p { margin-bottom: 32px; }

.cta { padding: var(--section) 0; background: var(--mint); }   /* Abschlussbox immer auf durchgehendem Hellgrün */
.cta__box {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 40px;
  padding: clamp(40px, 6vw, 80px); background: var(--green); color: var(--white); border-radius: var(--radius);
}
.cta__box h2 { max-width: 22ch; }

/* ==========================================================================
   TEAMSEITE
   ========================================================================== */
.phero--team .phero__bg { background-image: url("img/team-ruderachter.jpg"); background-position: right center; }   /* Maske für die linke Kante: siehe Abschnitt Aktuelles */

.people { padding: var(--section) 0; }
.people__head { margin-bottom: 56px; }
.people__head .lead { margin-top: 16px; }

/* Kontaktzeile: Telefon, E-Mail, LinkedIn als Textlinks */
.contact-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; font-size: 16px; }
.contact-links a { color: var(--green); text-decoration: underline; text-decoration-color: var(--silver); text-underline-offset: 4px; transition: text-decoration-color var(--fast); }
.contact-links a:hover { text-decoration-color: var(--green); }

/* Team: Porträtwand nach dem Vorbild gpbullhound.com/team - quadratische Kacheln ohne Abstand,
   Name und Funktion im Petrol-Balken unten im Foto, beim Darüberfahren leicht abgedunkelt.
   4 Spalten, die Titelkachel belegt 2 Felder: 14 Personen ergeben genau 4 volle Reihen
   (3 Spalten: Titel 1 Feld = 5 Reihen; 2 Spalten: Titel über die volle Breite). */
.people--team { background: var(--mint); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); max-width: var(--max); margin: 0 auto; padding: 0; list-style: none; }
.team-grid__intro { grid-column: span 2; display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 4vw, 72px); background: var(--green); color: var(--white); }
.team-grid__intro .h-section { color: var(--white); }
.team-grid__intro .lead { margin-top: 16px; max-width: 36ch; }
.person { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; overflow: hidden; background: var(--white); color: var(--white); font: inherit; text-align: left; cursor: pointer; }
.person img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.person::before { content: ""; position: absolute; inset: 0; z-index: 1; background: var(--petrol); opacity: 0; transition: opacity var(--fast); }
.person:hover::before { opacity: .2; }
.person:focus-visible { outline: 3px solid var(--coral); outline-offset: -3px; }
.person__info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 12px 20px 16px; background: rgba(10, 50, 60, .78); }   /* Petrol #0A323C, leicht transparent */
.person__name { display: block; font-family: var(--font-display); font-size: clamp(16px, 1.4vw, 20px); font-weight: 600; line-height: 1.3; color: var(--white); }
.person__role.meta { display: block; margin-top: 4px; font-size: 12px; color: var(--white); }
@media (max-width: 1200px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid__intro { grid-column: span 1; }
}
@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-grid__intro { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .person__info { padding: 8px 12px 10px; }
  .person__name { font-size: 15px; }
  .person__role.meta { font-size: 10px; letter-spacing: .06em; }
}

/* Profil-Dialog */
.profile { width: min(960px, calc(100% - 48px)); max-height: calc(100% - 48px); padding: 0; border: 0; border-radius: var(--radius); color: var(--black); background: var(--white); }
.profile::backdrop { background: var(--petrol); opacity: .8; }
.profile[open] { animation: profileIn .15s ease; }
@keyframes profileIn { from { opacity: 0; } }
.profile__inner { display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding: 48px; }
.profile__img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); background: var(--mint); }
.profile__name { margin: 0; padding-right: 48px; font-family: var(--font-display); font-size: 28px; font-weight: 600; line-height: 1.15; letter-spacing: -.01em; color: var(--green); }   /* Absatz mit Überschriften-Rolle: im Quelltext kein leeres h2 */
.profile__name:focus { outline: none; }   /* Dialog startet mit dem Fokus am Namen (für Screenreader), ohne sichtbaren Rahmen */
.profile .meta { display: block; margin-top: 8px; }
.profile__bio { margin-top: 24px; font-size: 16px; max-width: 60ch; }
.profile__close {
  position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 48px; height: 48px; padding: 0;
  border: 1px solid var(--silver); border-radius: 2px; background: var(--white); color: var(--green); cursor: pointer; transition: border-color var(--fast);
}
.profile__close:hover { border-color: var(--green); }
/* Referenz-Dialog (Kundenstimme): Logo statt Porträt, darunter Aufgabe und Zitat */
.profile__logo { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 24px; background: var(--banner-bg); border-radius: var(--radius); }
.profile__logo img { display: block; width: auto; max-width: 100%; height: auto; max-height: 100%; object-fit: contain; }
.profile__task { margin-top: 24px; font-size: 16px; max-width: 60ch; }
.profile__quote { margin-top: 32px; }
.profile__quote figcaption { margin-top: 16px; }
.profile__close svg { width: 18px; height: 18px; }

.cta__text { margin-top: 16px; max-width: 60ch; }
.cta__box .tags { margin: 24px 0 0; }

/* ==========================================================================
   SERVICESEITE
   ========================================================================== */
.phero--services .phero__bg { background-image: url("img/pm-umspannwerk-dunkel.jpg"); background-position: 72% center; }   /* Maske für die linke Kante: siehe Abschnitt Aktuelles */

/* Sprungleiste - klebt unter der Navigation (101 px) */
.subnav { position: sticky; top: 101px; z-index: 30; background: var(--white); border-bottom: 1px solid var(--silver); }
.subnav__inner { display: flex; gap: 40px; overflow-x: auto; scrollbar-width: none; }
.subnav__inner::-webkit-scrollbar { display: none; }
/* Unterstrich wie in der Hauptnavigation, hier in Coral: läuft beim Hover von links ein, bleibt beim sichtbaren Service stehen */
.subnav a {
  position: relative; padding: 20px 0; white-space: nowrap; color: var(--gray);
  font-family: var(--font-display); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  transition: color var(--fast);
}
.subnav a::after {
  content: ""; position: absolute; left: 0; bottom: 14px; width: 100%; height: 2px; background: var(--coral);   /* 8 px unter der Schrift, wie Hauptnavigation */
  transform: scaleX(0); transform-origin: left; transition: transform var(--fast);
}
.subnav a:hover, .subnav a.is-active { color: var(--green); }
.subnav a:hover::after, .subnav a.is-active::after { transform: scaleX(1); }
.model { scroll-margin-top: 170px; }
/* Sprung zu einem Service: Überschrift und Bild 28 px unter der Sprungleiste (Unterkante 164 px); der obere Innenabstand
   des Abschnitts (--section) wird abgezogen, sonst bliebe darüber eine große weiße Fläche */
.service { scroll-margin-top: calc(192px - var(--section)); }

/* HKCF-Modell: drei überlappende Kreise, Financial Modeling als Fundament in der Mitte */
.model { padding: var(--section) 0; }
/* Text oben, Grafik darunter in voller Breite - so groß wie die Originalgrafik auf hkcf.de */
.model__grid { display: grid; grid-template-columns: 1fr; gap: 64px; }
.model .lead { margin-top: 24px; }

/* Nachbau der Grafik „HKCF-Modell“ (hkcf.de/service), ohne grauen Hintergrund:
   drei gleich große Kreise mit dünnem Coral-Ring, die sich genau berühren; ein Coral-Punkt markiert
   jeden Berührungspunkt sowie die beiden Außenkanten. Keine Füllung. Titel Coral in Versalien
   (20 px fett = „große Schrift“ nach WCAG, Kontrast 3,4:1 ausreichend), Stichpunkte wie der Einleitungstext.
   Titel und Stichpunkte haben feste Umbrüche (genau 2 Zeilen, kein weiterer Umbruch). Damit das auf jeder
   Breite passt, hängen Schriftgrößen und Abstände am Durchmesser --d; die Titel stehen mit festem Abstand
   vom oberen Rand und damit in allen drei Kreisen auf derselben Höhe. */
.circles { display: flex; justify-content: center; padding: 8px 0; }
.circle {
  /* max. 400 px, sonst ein Drittel der Inhaltsbreite */
  --d: min(400px, calc((min(100vw - 20px, var(--max)) - 2 * var(--gutter)) / 3 + 2px));
  position: relative; flex: none; display: flex; flex-direction: column; justify-content: flex-start; align-items: center;
  width: var(--d); aspect-ratio: 1; padding: calc(var(--d) * .27) 0 0; border: 2px solid var(--coral); border-radius: 50%;
  transition: background var(--fast);
}
.circle + .circle { margin-left: -2px; }   /* Ringe berühren sich, gemeinsamer Punkt */
/* Band wie im Original (dort weiß, hier Logo-Hellgrün): eine durchgehende, gleich breite Linie mittig auf den roten
   Ringen, oben / unten / oben wie Kettenglieder, an den Berührungspunkten ohne Knick ineinander übergehend.
   Verlauf und Breite berechnet das Skript in service/index.html; das Band liegt hinter Ringen und Punkten. */
.circles { position: relative; }
.circles__band { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }
.circles__band path { fill: none; stroke: var(--sage); stroke-linecap: round; stroke-linejoin: round; }
/* Ringe und Punkte noch einmal über dem Band; die Ringe der Kreise selbst bleiben als Rückfall ohne Skript */
.circles__rings circle { fill: none; stroke: var(--coral); stroke-width: 2; }
.circles__rings circle.dot { fill: var(--coral); stroke: none; }
.circle { z-index: 1; }
.circle:hover { background: var(--mint); }
.circle::before, .circle::after {
  content: ""; position: absolute; top: 50%; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--coral); z-index: 1;
}
.circle::before { left: -5.5px; }
.circle::after { right: -5.5px; }
.circle strong {
  font-family: var(--font-display); font-size: calc(var(--d) * .05); font-weight: 700; line-height: 1.25;   /* 20 px bei 400 px */
  letter-spacing: .02em; text-transform: uppercase; text-align: center; white-space: nowrap; color: var(--coral);
}
.circle ul { display: grid; gap: calc(var(--d) * .025); margin: calc(var(--d) * .04) 0 0; padding: 0; list-style: none; }
.circle li {   /* wie .lead: Fließtextschrift, Schwarz - 18 px bei 400 px */
  position: relative; padding-left: calc(var(--d) * .04); white-space: nowrap;
  font-family: var(--font-body); font-size: calc(var(--d) * .045); line-height: 1.4; color: var(--black); text-align: left;
}
.circle li::before { content: "•"; position: absolute; left: 0; top: 0; color: var(--black); }

/* Service-Abschnitt: Einleitung + Zitat links, Bild rechts; darunter die Leistungen */
.service { padding: var(--section) 0; }
.service--alt { background: var(--mint); }
/* Kontrast (WCAG AA): Grau auf Hellgrün erreicht nur 4,1 : 1 – Sekundärtext dort in Schwarz bzw. Dunkelgrün */
.service--alt .ledger__tabs button[aria-selected="false"] { color: var(--black); }
:is(.news, .contact__card, .cta, .people--team, .service--alt, .jobs, .visit, .company-quote) :is(.meta, dt) { color: var(--green); }
.people--team .person__role.meta { color: var(--white); }   /* Funktion auf der Petrol-Fläche der Teamkacheln: weiß statt Dunkelgrün, sonst kaum lesbar */
.service__head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; margin-bottom: 64px; }
.service .lead { margin-top: 24px; }
.service__img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.service__more { margin-top: 48px; }

.quote { margin: 40px 0 0; padding-left: 24px; border-left: 2px solid var(--green); }
.quote blockquote { margin: 0; max-width: 56ch; font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.45; color: var(--green); }
.quote figcaption { display: flex; align-items: center; gap: 24px; margin-top: 32px; }
.quote img { width: 120px; height: 120px; object-fit: cover; border-radius: var(--radius); }
.quote figcaption strong { display: block; font-family: var(--font-display); font-size: 16px; color: var(--green); }
.quote .meta { display: block; margin-top: 2px; }

/* Leistungen: Reiter je Leistungsart, darunter Ausgangslage | Arbeitsbeiträge | Wertbeiträge */
.ledger__tabs { display: flex; overflow-x: auto; border-bottom: 1px solid var(--silver); scrollbar-width: none; }
.ledger__tabs button {
  flex: none; margin-bottom: -1px; padding: 16px 24px 14px; border: 0; border-bottom: 2px solid transparent; background: none; cursor: pointer;
  color: var(--gray); font-family: var(--font-display); font-size: 16px; font-weight: 600; transition: color var(--fast), border-color var(--fast);
}
.ledger__tabs button:first-child { padding-left: 0; }
.ledger__tabs button:hover { color: var(--green); }
.ledger__tabs button[aria-selected="true"] { color: var(--green); border-color: var(--green); }
.ledger__panel { display: grid; grid-template-columns: repeat(3, 1fr); }
.ledger__panel[hidden] { display: none; }
.ledger__col { padding: 32px 32px 0 0; }
.ledger__col + .ledger__col { padding-left: 32px; border-left: 1px solid var(--silver); }
.ledger__col h3, .ledger__col h4 { padding: 12px 16px; background: var(--mint); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.service--alt .ledger__col h3 { background: var(--white); }
.ledger__col ul { display: grid; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.ledger__col li { position: relative; padding-left: 20px; font-size: 16px; }
.ledger__col li::before { content: ""; position: absolute; left: 0; top: .75em; width: 8px; height: 2px; background: var(--green); }
@media (max-width: 380px) { .ledger__col li { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: anywhere; } }   /* sehr schmal: lange Wörter trennen statt über den Stellenkasten hinaus */

/* ==========================================================================
   AKTUELLES (Pressemitteilungen)
   ========================================================================== */
.phero--refs .phero__bg { background-image: url("img/referenzen-tombstones.jpg"); background-position: 78% center; }
.phero--news .phero__bg { background-image: url("img/aktuelles-zeitungen.jpg"); background-position: center; }
/* Eigene Kopfbilder werden beschnitten: linke Kante per Maske weich ins Seitengrün ausblenden (kein sichtbarer Rand, unabhängig von der Fensterbreite) */
.phero--services .phero__bg,
.phero--refs .phero__bg,
.phero--news .phero__bg,
.phero--career .phero__bg,
.phero--team .phero__bg,
.phero--contact .phero__bg {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.03) 5%, rgba(0,0,0,.1) 10%, rgba(0,0,0,.22) 15%, rgba(0,0,0,.35) 20%, rgba(0,0,0,.5) 25%, rgba(0,0,0,.65) 30%, rgba(0,0,0,.78) 35%, rgba(0,0,0,.9) 40%, rgba(0,0,0,.97) 45%, #000 50%);
          mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,.03) 5%, rgba(0,0,0,.1) 10%, rgba(0,0,0,.22) 15%, rgba(0,0,0,.35) 20%, rgba(0,0,0,.5) 25%, rgba(0,0,0,.65) 30%, rgba(0,0,0,.78) 35%, rgba(0,0,0,.9) 40%, rgba(0,0,0,.97) 45%, #000 50%);
}

/* Filter: Zeile 1 Service + Jahr, Zeile 2 Branche */
.filters__inner--news > .fgroup:nth-child(1) { grid-row: 1; grid-column: 1; }
.filters__inner--news > .fgroup:nth-child(2) { grid-row: 2; grid-column: 1 / -1; }
.fselect { grid-row: 1; grid-column: 2; display: flex; align-items: center; gap: 16px; }
.fselect .fgroup__label { width: auto; }
.fselect select {
  height: 44px; padding: 0 44px 0 16px; border: 1px solid var(--silver); border-radius: 2px; cursor: pointer; appearance: none;
  background: var(--white) 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='%231E5050' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center;
  color: var(--green); font: 600 14px var(--font-display); transition: border-color var(--fast);
}
.fselect select:hover { border-color: var(--green); }
.fselect select:focus-visible { outline: 2px solid var(--coral); outline-offset: 2px; }

.press { padding: clamp(40px, 5vw, 64px) 0 var(--section); }

/* Aufmacher: neueste Meldung */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; margin-bottom: 96px; }
.feature[hidden] { display: none; }
.feature__img { border-radius: var(--radius); }
.feature__text .h-statement { margin-top: 16px; font-size: clamp(26px, 2.6vw, 36px); max-width: 28ch; }
.feature__text .lead { margin-top: 16px; }
.feature__text .arrow-link { margin-top: 32px; }

/* Chronik: eine durchgehende Liste mit gleichen Abständen, auch beim Jahreswechsel.
   Die Jahreszahl steht in einer eigenen Spalte nur neben der ersten Meldung eines Jahres;
   alle Zeilen haben dieselbe Textbreite und brechen daher einheitlich um. */
.nrow { display: grid; grid-template-columns: 160px 150px 1fr 40px; gap: 32px; align-items: start; padding: 24px 0; border-top: 1px solid var(--silver); }
.nrow__year { font-family: var(--font-display); font-size: clamp(32px, 3vw, 44px); font-weight: 600; line-height: 1; color: var(--green); }
.nrow__meta { padding-top: 2px; line-height: 1.5; }
.nrow__y { display: none; }   /* Jahr in der Meta-Zeile nur mobil, wenn die Jahresspalte entfällt */
.nrow__text strong { display: block; max-width: 70ch; font-family: var(--font-display); font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--green); }
.nrow__tags { display: block; margin-top: 6px; font-size: 14px; color: var(--gray); }
.nrow__arr { width: 32px; height: 12px; margin-top: 6px; color: var(--green); transition: color var(--fast); }
.nrow:hover .nrow__arr { color: var(--coral); }
.nrow:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* ==========================================================================
   PRESSEMITTEILUNG (Detailseite /<slug>/, erzeugt aus tools/meldung-vorlage.html)
   ========================================================================== */
.phero--article .phero__bg { background-image: none; background-position: center; }   /* Titelbild setzt das Skript; kein unnötiges Standardbild laden */
.phero--article h1 { font-size: clamp(30px, 3.2vw, 48px); line-height: 1.15; max-width: 26ch; }
.article__dateline { margin-top: 8px; color: var(--white); }

.article { padding: var(--section) 0; }
.article__grid { display: grid; grid-template-columns: 280px 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.facts { display: grid; gap: 20px; margin: 0; padding-top: 24px; border-top: 2px solid var(--green); }
.facts dd { margin: 4px 0 0; font-size: 16px; }
.facts a { color: var(--green); text-decoration: underline; text-decoration-color: var(--silver); text-underline-offset: 4px; }
.facts a:hover { text-decoration-color: var(--green); }
.article__links { display: grid; justify-items: start; gap: 24px; margin-top: 40px; }

/* Lesetext: 18 px, Zeilenlänge max. 68 Zeichen */
.prose { max-width: 68ch; font-size: 18px; line-height: 1.7; }
.prose p { margin: 0 0 20px; }
.prose :is(h2, h3) { margin: 40px 0 16px; font-size: 20px; }
.prose h4 { margin: 28px 0 8px; font-size: 17px; }
/* Insight-Meldungen: Balkendiagramm (z. B. EIB-Finanzierungen); Balkenlänge über --v (0–100) */
.eib-chart { margin: 32px 0 36px; padding: clamp(20px, 3vw, 32px); background: var(--mint); border-radius: var(--radius); }
@media (max-width: 640px) { .eib-chart__name, .eib-chart__desc { -webkit-hyphens: manual; hyphens: manual; overflow-wrap: break-word; } }
.eib-chart__title { margin: 0 0 16px; font-family: var(--font-display); font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.prose .eib-chart__list { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.eib-chart__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 6px; align-items: baseline; }
.eib-chart__name { font-family: var(--font-display); font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--black); }
.eib-chart__tag { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 2px; background: var(--white); color: var(--green); font-size: 12px; font-style: normal; font-weight: 600; vertical-align: 2px; white-space: nowrap; }
.eib-chart__vol { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--green); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.eib-chart__bar { grid-column: 1 / -1; display: block; height: 10px; overflow: hidden; border-radius: 2px; background: var(--white); }
.eib-chart__bar span { display: block; width: calc(var(--v) * 1%); height: 100%; background: var(--green); }
.eib-chart__desc { grid-column: 1 / -1; font-size: 15px; line-height: 1.5; color: var(--black); }
.eib-chart__note { margin: 20px 0 0; font-size: 14px; line-height: 1.5; color: var(--green); }
.prose strong { color: var(--green); }
.prose a { color: var(--green); text-decoration: underline; text-decoration-color: var(--sage); text-underline-offset: 4px; word-break: break-word; }
.prose a:hover { text-decoration-color: var(--green); }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 24px; }
/* Fotos im Meldungstext: einzeln volle Textbreite, als Paar nebeneinander mit gleicher Höhe */
.prose__img, .prose__gallery { margin: 40px 0; }
.prose img { display: block; width: 100%; height: auto; border-radius: var(--radius); background: var(--mint); }
.prose__gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
.prose__gallery figure { position: relative; margin: 0; }
.prose__gallery figure:first-child img { aspect-ratio: 4 / 3; object-fit: cover; }   /* bestimmt die Zeilenhöhe */
.prose__gallery figure + figure img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
.article__sub { margin-top: 16px; }

/* Neuere / ältere Meldung */
.pager { border-top: 1px solid var(--silver); border-bottom: 1px solid var(--silver); }
.pager__grid { display: grid; grid-template-columns: 1fr 1fr; }
.pager__item { display: grid; gap: 8px; padding: 40px 48px 40px 0; transition: background var(--fast); }
.pager__item--next { padding: 40px 0 40px 48px; border-left: 1px solid var(--silver); text-align: right; }
.pager__item strong { font-family: var(--font-display); font-size: 18px; line-height: 1.35; color: var(--green); }
.pager__item:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

.related { padding: var(--section) 0; }
.related .h-section { margin-bottom: 40px; }
.related__all { margin-top: 32px; }

.notfound { padding-top: calc(100px + var(--section)); padding-bottom: var(--section); }
.notfound .lead { margin: 24px 0 40px; }
.notfound[hidden] { display: none; }

/* ==========================================================================
   KARRIERE
   ========================================================================== */
.phero--career .phero__bg { background-image: url("img/karriere-visitenkarte.jpg"); background-position: right center; }   /* Maske für die linke Kante: siehe Abschnitt Aktuelles */

/* Drei Einstiegswege */
.paths { padding: var(--section) 0; }
.paths__lead { margin: 16px 0 56px; }
.paths__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.path { display: flex; flex-direction: column; }
.path img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.path h3 { margin: 24px 0 8px; font-size: 22px; }
.path p { font-size: 16px; max-width: 46ch; }
.path .arrow-link { margin-top: 24px; }
.path:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }

/* Offene Stellen: aufklappbare Zeilen */
.jobs { padding: var(--section) 0; background: var(--mint); scroll-margin-top: 101px; }
.jobs .h-section { margin-bottom: 40px; }
.job { background: var(--white); border-radius: var(--radius); scroll-margin-top: 120px; }
.job + .job { margin-top: 16px; }
.job summary {
  display: grid; grid-template-columns: 1fr auto 40px; align-items: center; gap: 24px; padding: 28px 32px; cursor: pointer; list-style: none;
}
.job summary::-webkit-details-marker { display: none; }
.job__title { font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: inherit; letter-spacing: normal; color: var(--green); }   /* Stellentitel ist eine h3 im summary, sieht aus wie zuvor */
.job summary:hover .job__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.job summary:focus-visible { outline: 2px solid var(--coral); outline-offset: -2px; }
/* Plus/Minus aus zwei Linien */
.job__toggle { position: relative; width: 20px; height: 20px; justify-self: end; }
.job__toggle::before, .job__toggle::after { content: ""; position: absolute; top: 9px; left: 0; width: 20px; height: 2px; background: var(--green); transition: transform var(--fast); }
.job__toggle::after { transform: rotate(90deg); }
.job[open] .job__toggle::after { transform: rotate(0deg); }
.job__panel { padding: 0 32px; border-top: 1px solid var(--silver); }
.job__apply { padding: 32px; }

/* Benefits in drei Gruppen */
.benefits { padding: var(--section) 0; }
.benefits .h-section { margin-bottom: 48px; }
.benefits__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.bgroup h3 { padding-top: 16px; border-top: 2px solid var(--green); font-size: 20px; }
.bgroup ul { display: grid; gap: 12px; margin: 20px 0 0; padding: 0; list-style: none; }
.bgroup li { position: relative; padding-left: 20px; font-size: 17px; }
.bgroup li::before { content: ""; position: absolute; left: 0; top: .75em; width: 8px; height: 2px; background: var(--coral); }
.bgroup sup, .benefits__note sup { color: var(--gray); }
.benefits__note { margin-top: 32px; font-size: 14px; color: var(--gray); }
/* Benefits als Icon-Übersicht auf Dunkelgrün: 4 Spalten, Icon über Text, feine Linie oben */
.benefits.on-dark { background: var(--green); }
.bene-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; margin: 0; padding: 0; list-style: none; }
.bene-grid li { display: flex; flex-direction: column; gap: 20px; padding-top: 24px; border-top: 1px solid var(--sage); }
.bene-grid img { width: 72px; height: 72px; }
.bene-grid span { font-family: var(--font-display); font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--white); -webkit-hyphens: none; hyphens: none; }   /* Trennstellen (&shy;) im HTML wirken erst mobil */
.bene-grid sup, .benefits.on-dark .benefits__note, .benefits.on-dark .benefits__note sup { color: var(--sage); }
@media (max-width: 1100px) { .bene-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bene-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; } .bene-grid img { width: 56px; height: 56px; } .bene-grid span { font-size: 15px; -webkit-hyphens: manual; hyphens: manual; overflow-wrap: anywhere; } }   /* zwei schmale Spalten: lange Wörter an den Trennstellen umbrechen */
.cta__mail { text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================================
   KONTAKT
   ========================================================================== */
.phero--contact .phero__bg { background-image: url("img/kontakt-satellit-gross.jpg"); background-position: right bottom; }   /* Satellitenbild der Startseite, rechts am Sockel beschnitten, nach links und oben um Himmel ergänzt: Schüssel etwa so groß wie die Tombstones bei Referenzen und bei allen Breiten ganz sichtbar; Maske für die linke Kante: siehe Abschnitt Aktuelles */
.phero__stats--contact .pstat__num { font-size: clamp(22px, 2vw, 30px); }
.phero__stats--contact a.pstat:hover .pstat__num { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }

/* Ansprechpartner: zwei Gruppen nebeneinander, je zwei Personen als Zeilen */
.contacts { padding: var(--section) 0; }
.contacts .h-section { margin-bottom: 48px; }
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.cgroup > h3 { padding-top: 16px; border-top: 2px solid var(--green); color: var(--gray); }
.cperson { display: grid; grid-template-columns: 112px 1fr; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--silver); }
.cperson img { width: 112px; height: 112px; object-fit: cover; border-radius: var(--radius); background: var(--mint); }
.cperson strong { display: block; font-family: var(--font-display); font-size: 20px; color: var(--green); }
.cperson .meta { display: block; margin-top: 4px; }
.cperson .contact-links { margin-top: 12px; }
.contacts__team { margin-top: 40px; }

/* Anfahrt */
.visit { padding: var(--section) 0; background: var(--mint); }
/* Karte im Breitformat: Kartenspalte rund 40 % breiter als zuvor, Adressspalte entsprechend schmaler */
.visit__grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.visit__address { margin-top: 24px; font-style: normal; font-size: 18px; line-height: 1.6; }
.visit__address strong { display: block; font-family: var(--font-display); color: var(--green); }
.visit__facts { margin: 32px 0 40px; max-width: 360px; }
.visit__map { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); }
.visit__map img { width: 100%; height: auto; aspect-ratio: 2240 / 1200; object-fit: cover; object-position: 33% 50%; }
@media (max-width: 900px) { .visit__map img { aspect-ratio: 4 / 3; object-position: 0 50%; } }   /* schmal: etwas höher, Ausschnitt links mit Marker und Maßstab */
/* Quellenhinweis wie bei Online-Karten: klein unten rechts auf halbtransparentem Weiß */
.visit__credit {
  position: absolute; right: 0; bottom: 0; padding: 2px 8px; border-top-left-radius: var(--radius);
  background: rgba(255, 255, 255, .8); color: var(--gray); font-size: 11px; line-height: 1.6;
}
.visit__credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ==========================================================================
   UNTERNEHMEN
   ========================================================================== */
.phero--company .phero__bg { background-image: url("img/mediathek/Skyline_Koeln_1600px-1536x499.webp"); }   /* WordPress-Variante 1536 px: gleicher Ausschnitt, rund 310 KB weniger */

/* Positionierung: Leitsatz links, Text rechts */
.company { padding: var(--section) 0; }
.company .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.company__statement { max-width: 16ch; }
.company__text p + p { margin-top: 20px; max-width: 65ch; }
.company__text a { color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.company__text a:hover { color: var(--coral); }

/* Zitat aus der Gründungsmeldung */
.company-quote { padding: var(--section) 0; background: var(--mint); }
.company-quote__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); }
.company-quote .quote { display: flex; flex-direction: column; margin: 0; }
.company-quote .quote blockquote { font-size: clamp(20px, 1.6vw, 24px); max-width: 40ch; }
.company-quote .quote figcaption { margin-top: auto; padding-top: 32px; }   /* Fotos beider Zitate auf gleicher Höhe */
.company-quote .quote img { width: 160px; height: 160px; }

/* Meilensteine */
.milestones { padding: var(--section) 0; }
.milestones__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--green); }
.timeline li { display: grid; grid-template-columns: 120px 1fr; gap: 32px; padding: 32px 0; border-bottom: 1px solid var(--silver); }
.timeline__year { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1.1; color: var(--green); }
.timeline h3 { font-size: 20px; color: var(--green); }
.timeline p { margin-top: 8px; max-width: 60ch; }
.timeline .arrow-link { margin-top: 16px; }

@media (max-width: 900px) {
  .company .wrap, .milestones__grid, .company-quote__grid { grid-template-columns: 1fr; gap: 40px; }
  .company-quote__grid { gap: 64px; }
  .company__statement { max-width: 20ch; }
}
@media (max-width: 640px) {
  .timeline li { grid-template-columns: 1fr; gap: 8px; padding: 24px 0; }
  .timeline__year { font-size: 24px; }
  .company-quote .quote img { width: 120px; height: 120px; }
}

/* ==========================================================================
   IMPRESSUM / DATENSCHUTZ
   ========================================================================== */
/* schmaler Kopf ohne Bild */
.phero--legal .phero__inner { padding-bottom: clamp(48px, 5vw, 72px); }
.phero--legal .phero__text { max-width: none; }
.phero--legal h1 { margin-bottom: 0; font-size: clamp(32px, 3.4vw, 52px); max-width: 24ch; }

.legal__h { margin: 56px 0 16px; padding-top: 24px; border-top: 2px solid var(--green); font-size: 24px; }
.prose > .legal__h:first-child { margin-top: 0; }
.legal__address { margin: 0 0 20px; font-style: normal; }
.legal__address strong { display: block; font-family: var(--font-display); }
.legal__list { display: grid; margin: 24px 0 0; border-top: 1px solid var(--silver); }
.legal__list > div { display: grid; grid-template-columns: 220px 1fr; gap: 24px; padding: 12px 0; border-bottom: 1px solid var(--silver); }
.legal__list dt { color: var(--gray); }
.legal__list dd { margin: 0; }

/* Inhaltsverzeichnis Datenschutz: mitlaufend unter der Navigation */
.legal .article__aside { position: sticky; top: 132px; }
.legal__toc { padding-top: 24px; border-top: 2px solid var(--green); }
.legal__toc ol { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 16px; }
.legal__toc a { color: var(--green); text-decoration: underline; text-decoration-color: var(--silver); text-underline-offset: 4px; }
.legal__toc a:hover { text-decoration-color: var(--green); }
.legal [id] { scroll-margin-top: 132px; }

@media (max-width: 900px) {
  .legal .article__aside { position: static; order: 0; }
  .legal__list > div { grid-template-columns: 1fr; gap: 2px; }
}

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
  .model__grid { grid-template-columns: 1fr; gap: 48px; }
  .filters__inner--news > .fgroup:nth-child(2), .fselect { grid-row: auto; grid-column: 1; }
  .filters__inner { grid-template-columns: 1fr; }
  .fgroup--service { grid-column: 1; }
  .search { grid-row: 3; grid-column: 1; width: min(100%, 360px); }
}
@media (max-width: 1100px) {
  .nav__links, .nav__right { display: none; }
  .nav__burger { display: block; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .sector:nth-child(3) { border-left: 0; }
  .sector:nth-child(n+3) { border-top: 1px solid var(--silver); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .model__grid, .service__head { grid-template-columns: 1fr; gap: 48px; }
  /* Kreise untereinander, sie berühren sich oben/unten; Punkte entsprechend oben und unten */
  .circles { flex-direction: column; align-items: center; }
  .circle { --d: min(400px, calc(100vw - 48px)); }
  .circle + .circle { margin-left: 0; margin-top: -2px; }
  .circle::before, .circle::after { top: auto; left: 50%; right: auto; margin: 0 0 0 -4.5px; }
  .circle::before { top: -5.5px; }
  .circle::after { bottom: -5.5px; }
  .service__img { aspect-ratio: 16 / 9; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  /* Leistungs- und Stellenspalten untereinander: drei Spalten sind hier für lange Wörter zu schmal (Seite wurde breiter) */
  .ledger__panel { grid-template-columns: 1fr; }
  .ledger__col, .ledger__col + .ledger__col { padding: 32px 0 0; border-left: 0; }
}
/* Tablet quer (901-1100 px): zweispaltiges "Warum HKCF" und drei News-Kacheln sind hier knapp */
@media (min-width: 901px) and (max-width: 1100px) {
  .why__grid > .h-section { white-space: normal; }
  .post__body { padding: 32px 20px; }
  .post h3 { font-size: 18px; }
}
@media (max-width: 900px) {
  .contact__grid, .why__grid, .career__box { grid-template-columns: 1fr; }
  .tags { grid-template-columns: repeat(auto-fill, minmax(min(196px, 100%), 1fr)); max-width: min(616px, 100%); }   /* Rahmen brechen um, statt Box und Text nach rechts aufzuweiten */
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding-bottom: 32px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .services__grid { grid-template-columns: 1fr; min-height: 0; }
  .services__text { padding-right: 0; }
  .services__media { height: 320px; margin: 0 calc(-1 * var(--gutter)); }
  /* gestapelt: Bild unter dem Text, daher Verlauf nach oben in die Textfläche */
  .services__media {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.03) 5%, rgba(0,0,0,.1) 10%, rgba(0,0,0,.22) 15%, rgba(0,0,0,.35) 20%, rgba(0,0,0,.5) 25%, rgba(0,0,0,.65) 30%, rgba(0,0,0,.78) 35%, rgba(0,0,0,.9) 40%, rgba(0,0,0,.97) 45%, #000 50%);
            mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.03) 5%, rgba(0,0,0,.1) 10%, rgba(0,0,0,.22) 15%, rgba(0,0,0,.35) 20%, rgba(0,0,0,.5) 25%, rgba(0,0,0,.65) 30%, rgba(0,0,0,.78) 35%, rgba(0,0,0,.9) 40%, rgba(0,0,0,.97) 45%, #000 50%);
  }
  .news-grid { grid-template-columns: 1fr; }
  .career__img { min-height: 280px; }
  /* gestapelt: Bild über dem Text, daher Verlauf nach unten */
  .career__img img {
    -webkit-mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,.03) 5%, rgba(0,0,0,.1) 10%, rgba(0,0,0,.22) 15%, rgba(0,0,0,.35) 20%, rgba(0,0,0,.5) 25%, rgba(0,0,0,.65) 30%, rgba(0,0,0,.78) 35%, rgba(0,0,0,.9) 40%, rgba(0,0,0,.97) 45%, #000 50%);
            mask-image: linear-gradient(to top, transparent 0%, rgba(0,0,0,.03) 5%, rgba(0,0,0,.1) 10%, rgba(0,0,0,.22) 15%, rgba(0,0,0,.35) 20%, rgba(0,0,0,.5) 25%, rgba(0,0,0,.65) 30%, rgba(0,0,0,.78) 35%, rgba(0,0,0,.9) 40%, rgba(0,0,0,.97) 45%, #000 50%);
  }
  .phero__bg { display: none; }
  .phero__text { max-width: none; }
  /* schmal: Überschrift darf umbrechen, reserviert aber 4 Zeilen bzw. der Text 5 - so springt auch hier nichts */
  .hero h1, .hero .h1 { white-space: normal; min-height: calc(4 * 1.1em); font-size: clamp(28px, 7.5vw, 40px); }
  .hero p.sub { min-height: calc(5 * 1.6em); }
  .hero__content { padding-top: calc(88px + clamp(16px, 100svh - 624px, 48px)); }   /* niedrige Handys: Knopf bleibt über der Folienleiste */
  .feature { grid-template-columns: 1fr; gap: 32px; margin-bottom: 64px; }
  .article__grid { grid-template-columns: 1fr; }
  .paths__grid, .benefits__grid { grid-template-columns: 1fr; gap: 40px; }
  .contacts__grid, .visit__grid { grid-template-columns: 1fr; gap: 48px; }
  .job summary { grid-template-columns: 1fr 24px; gap: 8px 16px; padding: 24px; }
  .job__meta { grid-row: 2; grid-column: 1; }
  .job__toggle { grid-row: 1; grid-column: 2; }
  .job__panel { padding: 0 24px; }
  .cperson { grid-template-columns: 80px 1fr; gap: 16px; }
  .cperson img { width: 80px; height: 80px; }
  .cperson .contact-links { flex-direction: column; gap: 4px; }
  .job__apply { padding: 24px; }
  .article__aside { order: 2; }
  .pager__grid { grid-template-columns: 1fr; }
  .pager__item, .pager__item--next { padding: 32px 0; border-left: 0; text-align: left; }
  .pager__item--next { border-top: 1px solid var(--silver); }
  .nrow { grid-template-columns: 120px 1fr 32px; gap: 24px; }
  .nrow__year { display: none; }
  .nrow__y { display: inline; }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .nav__inner { padding-top: 12px; padding-bottom: 12px; }
  .nav__logo img, .nav.is-scrolled .nav__logo img { height: 48px; }
  .sector-grid { grid-template-columns: 1fr; }
  .why__list li { grid-template-columns: 1fr; gap: 8px; }
  .sector { min-height: 0; padding: 24px 0; }
  .sector + .sector { border-left: 0; border-top: 1px solid var(--silver); }
  .sector:hover { background: none; }
  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--silver); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .svc a { grid-template-columns: 64px 1fr 32px; }
  .svc__num { font-size: 40px; }
  .hero__dot { font-size: 0; }
  .btn span { padding: 16px 16px; }
  .grid { grid-template-columns: 1fr; }
  .quote img { width: 96px; height: 96px; }
  .subnav { top: 73px; }
  .subnav__inner { gap: 24px; }
  .service { scroll-margin-top: calc(160px - var(--section)); }   /* Sprungleiste endet hier bei 136 px, Überschrift 24 px darunter */
  .quote blockquote { font-size: 18px; }
  .ledger__tabs button { padding: 14px 16px 12px; font-size: 15px; }
  .profile__inner { grid-template-columns: 1fr; gap: 24px; padding: 72px 24px 32px; }
  .profile__img { max-width: 200px; }
  .profile__logo { max-width: 260px; }
  .fgroup { flex-direction: column; align-items: stretch; gap: 8px; }
  .fgroup__label { width: auto; }
  /* Mobil: Chips einzeilig und seitlich wischbar */
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); }
  .filters { position: relative; top: auto; }   /* mobil nicht klebend - würde sonst den halben Bildschirm belegen */
  .filters__inner { grid-template-columns: 1fr; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
  .search { width: 100%; }
  .filters__inner--news > .fgroup:nth-child(2), .fselect { grid-row: auto; grid-column: 1; }
  .nrow { grid-template-columns: 1fr 32px; gap: 8px 16px; }
  .nrow__meta { grid-column: 1; }
  .nrow__text { grid-column: 1 / -1; grid-row: 2; }
  .nrow__arr { grid-row: 1; grid-column: 2; }
  .phero__inner { padding-top: calc(72px + 56px); }
  .pstat, .pstat + .pstat { padding: 24px 24px 0 0; border-left: 0; }
}

/* Druck: feste Kopfleiste nur einmal oben statt auf jeder Seite über dem Text, Sprunglink nicht drucken. Bildschirm unverändert. */
/* Hero-Text mobil/Tablet: Platz für so viele Zeilen, wie die längste Folie bei dieser Breite braucht
   (gemessen: bis 380 px 5, bis 599 px 4, bis 699 px 3, darüber 2) - Knopf steht dicht am Text und springt nicht */
@media (max-width: 380px) {
  .hero .eyebrow { min-height: 45px; }   /* Label „Transaktion · Monat Jahr“ bricht hier teils um */
  .hero__content { padding-top: calc(88px + clamp(16px, 100svh - 680px, 48px)); }   /* mehr Zeilen: früher Platz sparen */
}
/* Handy: lange deutsche Wörter (Konsortialfinanzierung, verantwortungsvoll ...) trennen bzw. umbrechen statt über den Rand */
@media (max-width: 640px) {
  h3, .lead, .sub, .prose, .crumbs, .profile__bio, .profile__quote figcaption, .card__task, .svc__title {
    -webkit-hyphens: auto; hyphens: auto; overflow-wrap: anywhere;
  }
  /* Überschriften: keine automatische Silbentrennung (sonst „Transaktio-nen“, „Exzel-lenz“), ganze Wörter umbrechen;
     gewollte Trennstellen stehen als &shy; im HTML (Konsortial-finanzierung). overflow-wrap bleibt als Notbremse. */
  h1, h2, .h1, .h-section, .h-statement {
    -webkit-hyphens: manual; hyphens: manual; overflow-wrap: anywhere;
  }
}
/* Handys (bis 480 px): Seitenkopf-Überschrift mit der Breite skalieren, damit das längste Wort („Entscheidungen.“)
   ungetrennt in eine Zeile passt (Faustregel: Wortbreite ≈ 9,6 × Schriftgröße, verfügbar sind Breite minus 48 px);
   ab 455 px ergibt die Formel wieder die normalen 40 px */
@media (max-width: 480px) {
  .phero h1 { font-size: clamp(26px, 8.8vw, 40px); }
}
@media (max-width: 420px) {
  .svc__desc .nobr { white-space: normal; }   /* "Unternehmenskäufen, -verkäufen" passt hier nicht in eine Zeile */
}
/* Referenz-Kacheln: lange Namen umbrechen statt in die Nachbarkachel */
.card h3 { overflow-wrap: anywhere; }
/* Kontakt, sehr schmal (unter 360 px): längste E-Mail-Adresse passt sonst nicht neben das Foto */
@media (max-width: 359px) {
  .cperson { grid-template-columns: 64px 1fr; gap: 12px; }
  .cperson img { width: 64px; height: 64px; }
  .cperson .contact-links { font-size: 15px; }
}
@media (max-width: 900px) and (min-width: 381px) { .hero p.sub { min-height: calc(4 * 1.6em); } }
@media (max-width: 900px) and (min-width: 600px) { .hero p.sub { min-height: calc(3 * 1.6em); } }
@media (max-width: 900px) and (min-width: 700px) { .hero p.sub { min-height: calc(2 * 1.6em); } }

@media print {
  .nav { position: absolute; }
  .skip-link { display: none; }
}

/* Kennzahlen im Seitenkopf: ohne senkrechte Trennstriche, nebeneinander zentriert unter der Linie */
.phero__stats { justify-content: space-evenly; column-gap: clamp(24px, 4vw, 56px); row-gap: 8px; }
.phero__stats .pstat, .phero__stats .pstat + .pstat, .phero__stats .pstat:last-child { padding: 28px 0 0; border-left: 0; text-align: center; }
.phero--refs .phero__stats { flex-direction: row; flex-wrap: wrap; }
