@charset "UTF-8";

/* Design-Schriften (SIL Open Font License, lokal gehostet, nur latin).
   Bricolage Grotesque + IBM Plex Sans als Variable Fonts. */
@font-face {
    font-family: "Bricolage Grotesque";
    src: url("../fonts/bricolage-grotesque-latin-variable.woff2") format("woff2");
    font-weight: 400 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Sans";
    src: url("../fonts/ibm-plex-sans-latin-variable.woff2") format("woff2");
    font-weight: 300 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Mono";
    src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Mono";
    src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* "Source Sans Pro" @font-face entfernt (2026-08-28) – die Familie wurde nirgends
   per font-family referenziert (nur die vier @font-face-Deklarationen selbst).
   Zugehörige Dateien fonts/SourceSansPro-* ebenfalls gelöscht. */

.btn.btn-custom {
    /* Buttons auf hellem Grund: Petrol #2F7C84 (weißer Text 4,8:1), eckig */
    background-color: #2f7c84 !important;
    border-radius: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    mix-blend-mode: normal;
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-weight: 300;
    /* Hover (Variante V3, 2026-09-24): Fläche dunkelt auf #42585E ab, feiner weißer
       Innenrahmen blendet ein. Gilt auch bei Tastaturfokus. */
    outline: 1px solid transparent;
    outline-offset: -0.375rem;
    transition: background-color 0.35s ease, outline-color 0.35s ease;
}

.btn.btn-custom:hover,
.btn.btn-custom:focus-visible {
    background-color: #42585e !important;
    outline-color: rgba(255, 255, 255, 0.9);
    color: #fff !important;
}

@media (prefers-reduced-motion: reduce) {
    .btn.btn-custom,
    .wgbr-scope .wgbr-button,
    input.btn,
    #infocenter.dp-scope a.dp-tile::after {
        transition: none;
    }
}

.btn.btn-custom > * {
    position: relative;
    z-index: 1;
}

/* Extern-Link-Icon (a[href^=http]::before, 1.17rem) darf die Button-Zeile nicht höher machen: alle .btn-custom gleich hoch */
.btn.btn-custom::before {
    line-height: 1;
    vertical-align: middle;
}

/* Für Buttons auf dunklem #003D78-Grund (Kasten, CTA-Karten): #2677D4 gegen
   #003D78 liegt nur bei 2,41:1 (WCAG 1.4.11 Non-Text Contrast will 3:1). Statt
   Weiß die vorhandene helle Akzentfarbe #eaf4f9 – 9,5:1 gegen #003D78 und gegen
   den Navy-Text, bleibt in der Palette. */
.btn.btn-custom.btn-light {
    background-color: #eaf4f9 !important;
    color: var(--primary-color);
}

/* Der innere <span> übernimmt die Textfarbe nicht zuverlässig von .btn-light
   (blieb beim geerbten Weiß der umgebenden dunklen Karte) - direkt setzen,
   auch für den Hover-Zustand (dort schiebt sich #003D78 unter den Button). */
.btn.btn-custom.btn-light > * {
    color: var(--primary-color);
}

/* auf dunklem Grund: Fläche bleibt hell, Innenrahmen in Primärblau */
/* Button mit feinem Pfeil (statt Textlink „MEHR →“): Pfeil ist immer da und rückt beim Hover/Fokus
   ein Stück nach rechts – gleiches Verhalten wie a.link-arrow. Kombinierbar mit .btn-light. */
.btn.btn-custom.btn-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.btn.btn-custom.btn-arrow > i {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
    /* eigene Ebene von Anfang an: sonst springt das Glyph beim Start/Ende der Transform-Animation
       um ~1 px (Subpixel-Rendering wechselt) */
    will-change: transform;
    backface-visibility: hidden;
}

.btn.btn-custom.btn-arrow:hover > i,
.btn.btn-custom.btn-arrow:focus-visible > i {
    transform: translateX(0.3rem);
}

@media (prefers-reduced-motion: reduce) {
    .btn.btn-custom.btn-arrow > i {
        transition: none;
    }
}

.btn.btn-custom.btn-light:hover,
.btn.btn-custom.btn-light:focus-visible {
    background-color: #fff !important;
    outline-color: var(--primary-color);
    color: var(--primary-color) !important;
}

.totop {
    position: fixed;
    right: .5rem;
    bottom: 1.875rem;
    z-index: 14;
    background: var(--primary-color);
    height: 3rem;
    width: 3rem;
    display: none;
    justify-content: center;
    align-items: center;
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, .5);
    color: var(--primary-font-color);
    text-decoration: none;
    box-shadow: rgba(0, 0, 0, 0.05) 0px 6px 24px 0px, rgba(0, 0, 0, 0.08) 0px 0px 0px 1px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease-in-out;
}

.totop a {
    color: var(--primary-font-color);
}

.totop span {
    position: absolute;
    left: 0;
    top: -42px;
    width: 100%;
    font-weight: 400;
    font-size: 0.625rem;
    display: none;
    transition: all 1.2s ease-in-out;
    text-align: center;
    text-transform: uppercase;
}

.totop:hover {
    background: var(--tertiary-color);
}

.totop:hover span {
    display: block;
}

.totop:hover i {
    animation: bounce 1.2s ease-in-out infinite;
    color: var(--primary-font-color);
}

.totop.visible {
    display: flex;
}

/*######### Fab-Container (QUICKBUTTONS) — Port von fkp-steuer.de,
   nur Farbwerte und Inhalt angepasst, Form unverändert #########*/
.fab-container {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    user-select: none;
    position: fixed;
    bottom: 5.625rem;
    right: .5rem;
    z-index: 9999;
}

.fab-container:hover {
    height: 100%;
}

.fab-container:hover .sub-button:nth-child(2),
.fab-container:focus-within .sub-button:nth-child(2),
.fab-container--open .sub-button:nth-child(2) {
    transform: translateY(-3.75rem);
}

.fab-container:hover .sub-button:nth-child(3),
.fab-container:focus-within .sub-button:nth-child(3),
.fab-container--open .sub-button:nth-child(3) {
    transform: translateY(-7.5rem);
}

.fab-container:hover .sub-button:nth-child(4),
.fab-container:focus-within .sub-button:nth-child(4),
.fab-container--open .sub-button:nth-child(4) {
    transform: translateY(-11.25rem);
}

.fab-container .hhFab {
    position: relative;
    height: 3rem;
    width: 3rem;
    background-color: var(--primary-color);
    border-radius: 0;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, .5);
    padding: 0;
}

.fab-container .hhFab::before {
    content: '';
    position: absolute;
    color: var(--primary-font-color);
    bottom: 0;
    right: 0;
    height: 35px;
    width: 35px;
    background-color: inherit;
    border-radius: 0;
    z-index: -1;
}

.fab-container .hhFab .fab-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    border-radius: 0;
}

.fab-container .sub-button {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 0;
    right: 0;
    height: 3rem;
    width: 3rem;
    background-color: var(--primary-color);
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, .5);
    transition: all 0.3s ease;
}

.fab-container .sub-button:hover {
    cursor: pointer;
}

.fab-container i {
    color: var(--primary-font-color);
}

.fab-content {
    cursor: pointer;
}

/* Notwendige Ergänzung (bei FKP nicht Teil des gezeigten Ausschnitts):
   die <a> in .sub-button muss die Kreisfläche füllen und zentrieren. */
.fab-container a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}
/*######### End Fab-Container #########*/

/* Dezente Tooltips für den Info-Button (Bootstrap-Tooltip, siehe js/tooltip.js) */
.tooltip.floatHandler-tooltip {
    --bs-tooltip-opacity: 1;   /* Bootstrap-Standard 0,9 lässt das Blau heller als die Buttons wirken */
    --bs-tooltip-border-radius: 0;
    --bs-tooltip-bg: var(--primary-color);
    --bs-tooltip-color: var(--primary-font-color);
    font-size: 0.85rem;
}

@keyframes btnShimmer {

    /* SHmmer Fekt für BUttons */
    0% {
        left: -120%;
    }

    100% {
        left: 140%;
    }
}

@keyframes clickPulse {

    /* mouse cloick simulation */
    0% {
        transform: scale(1) rotate(-15deg);
    }

    20% {
        transform: scale(0.88) rotate(-15deg);
    }

    /* Klick runter */
    40% {
        transform: scale(1.06) rotate(-15deg);
    }

    /* Loslassen */
    60% {
        transform: scale(1) rotate(-15deg);
    }

    100% {
        transform: scale(1) rotate(-15deg);
    }
}

@keyframes bounce {

    /* bounce ffekt */
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

@keyframes borderGrow {

    /* Linie wird größer links -> rechts */
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

@keyframes fadeIn {

    /* fadein (OPACITY 0 -> 1) */
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {

    /* Slide hoch / rein */
    0% {
        transform: translateY(140px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes scrollBlink {

    /* Text blink/soft pulse */
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

@keyframes scrollLinePulse {

    /* Linie wächst & schrumpft vertical */
    0% {
        transform: scaleY(0.2);
    }

    50% {
        transform: scaleY(1);
    }

    100% {
        transform: scaleY(0.2);
    }
}

.navbar {
    /* Navbar */
    height: 140px;
    padding: 0;
    margin: 0;
    background-color: rgb(255, 255, 255);
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    color: var(--primary-color);
    transition: all 0.6s ease-in-out;
}

.navbar img.lrg-logo {
    /* Logo links (neues Logo 3112:1447): Höhe 7rem (112 px) → ~15,1rem Breite; nie breiter als 17,5rem (280 px).
       Blaue Fassung auf heller Leiste, weiße über dunklem Grund (s. .has-navflip) – zwei Dateien statt Filter. */
    height: 7rem;
    max-height: 7rem;
    max-width: 17.5rem;
    width: auto;
    transition: all 0.6s ease-in-out;
}

.navbar button {
    /* Button/Hamburger links */
    border: none;
    box-shadow: none !important;
}

.navbar button .menu-toggle {
    /* text + fa wrapper */
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 2.4rem;
    color: var(--primary-color);
}

/* Sichtbares Wort „MENÜ“ neben dem dünnen Hamburger – damit der Einstieg nicht übersehen wird (Label im Namen: aria-label „Menü öffnen“) */
.navbar button .menu-toggle .menu-toggle__label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    line-height: 1;
    margin-right: 0.85rem;
}

@media (max-width: 575.98px) {
    .navbar button .menu-toggle .menu-toggle__label {
        display: none;
    }
}

.navbar button .menu-toggle i {
    margin-left: 0.5rem;
}

.navbar.shrink {
    height: 80px;
}

.navbar.shrink img.lrg-logo {
    /* Logo links */
    height: 64px;
    max-height: 64px;
}

@media screen and (max-width: 767px) {
    .navbar {
        /* Navbar mobil: höher, damit das Logo mit Unterzeile lesbar bleibt (vorher 42 px Logo) */
        height: 5rem;
    }

    .navbar img.lrg-logo {
        /* Logo links: 3,75rem hoch → ~7,4rem breit */
        height: 3.75rem;
        max-height: 3.75rem;
    }

    .navbar.shrink {
        height: 4rem;
    }

    .navbar.shrink img.lrg-logo {
        /* Logo links */
        height: 2.625rem;
        max-height: 2.625rem;
    }
}

.offcanvas {
    /* Menu Overlayx Backdrop */
    width: 100dvw;
    height: 100dvh !important;
    overflow: auto;
    background: #fff;
}

.offcanvas-header {
    /* Header */
    align-items: center;
    justify-content: center;
    position: relative;
}

.offcanvas-header .offcanvas-close {
    /* schlichtes X oben rechts – kein Hintergrund (Referenzen: fkp-steuer.de,
       huebner-samagga.de) */
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0.5rem;
    font-size: 2rem;
    line-height: 1;
    color: var(--primary-color);
    cursor: pointer;
}

.offcanvas-header .offcanvas-close:hover,
.offcanvas-header .offcanvas-close:focus-visible {
    color: var(--tertiary-color);
}

.offcanvas-body {
    /* Bod */
    text-align: center;
    width: 720px;
    max-width: 90%;
    margin: 0 auto;
}

.offcanvas-body .nav-item {
    position: relative;
}

.offcanvas-body .nav-item:last-child {
    margin-bottom: 0;
}

.offcanvas-body .nav-item .dropdown {
    margin-bottom: 0.5em;
}

.offcanvas-body .nav-item .dropdown-menu {
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    border: none;
    padding: 0;
    margin: 0 0 6% 0;
}

.offcanvas-body .nav-item .dropdown-menu.show {
    display: flex;
}

.offcanvas-body .nav-item .dropdown-item {
    background: #fff;
    color: var(--secondary-font-color);
    padding: 0.25rem 0.75rem;
    border-radius: 0;
    transition: all 0.3s ease-in-out;
}

.offcanvas-body .nav-item .dropdown-item.active {
    background: var(--primary-color);
    color: var(--primary-font-color);
    font-weight: 700;
}

.offcanvas-body .nav-item .dropdown-item:active,
.offcanvas-body .nav-item .dropdown-item:hover {
    background: var(--primary-color);
    color: var(--primary-font-color);
}

.offcanvas-body .nav-item .nav-link {
    font-size: 1.17rem;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 0;
    transition: all 0.3s ease-in-out;
    margin-bottom: 0.5em;
}

.offcanvas-body .nav-item .nav-link.active,
.offcanvas-body .nav-item .nav-link .show {
    background: var(--primary-color);
    color: var(--primary-font-color);
    font-weight: 700;
}

.offcanvas-body .nav-item .nav-link.active {
    font-weight: 700;
}

.offcanvas-end {
    border-left: none !important;
}

.offcanvas-backdrop {
    background: linear-gradient(to left, #18233E, rgba(24, 35, 62, 0.6));
}

.offcanvas-backdrop.show {
    opacity: 1 !important;
}

@media screen and (max-width: 768px) {
    .offcanvas-header img {
        visibility: hidden;
    }

    .offcanvas-body {
        text-align: center;
    }

    .offcanvas-body .nav-item {
        padding-left: 0;
    }

    .offcanvas-body .nav-item .dropdown-item {
        text-align: center;
    }

    .offcanvas-body .nav-item .nav-link::before {
        display: none;
    }
}

.cta {
    position: fixed;
    right: .5rem;
    bottom: 10.5rem;
    z-index: 9;
    border-radius: 0;
    color: var(--primary-font-color);
    background: #5a7178; /* Petrolgrau (Test, 2026-09-28) – weiß darauf 5,16:1, AA auch für Fließtext */
    width: 280px;
    padding: 12px;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px, rgba(0, 0, 0, 0.22) 0px 15px 12px;
}

.cta .carousel-inner * {
    color: var(--primary-font-color);
}

.cta.visible {
    opacity: 1;
}

/* Unter 1400 px (87,5rem, Bootstrap xxl) liegt die Box im Fluss: bei 800 px überdeckte die fixe Box ~180 px Text. Zwischen 1400 und ~1590 px bleibt sie fix und überlappt nur die längsten Zeilen (Nutzer 2026-11-26: 1600 war zu früh).
   Dort liegt sie im Seitenfluss nach dem Thema (vor dem Footer), sofort sichtbar, ohne „schließen“ (Muster: artemis.nrw, Nutzer 2026-11-26). */
@media (max-width: 87.49rem) {
    .cta {
        position: static;
        opacity: 1;
        transition: none;
        margin: 3rem auto 4rem;
    }

    .cta .cta-closer {
        display: none;
    }
}

.cta .card-img-top {
    width: 75% !important;
    height: auto !important;
    max-width: 75%;
    margin: 0 auto;
    border-radius: 0;
}

.cta.ansprechpartner .card {
    color: var(--primary-font-color);
    background: #5a7178; /* Petrolgrau (Test, 2026-09-28) – weiß darauf 5,16:1, AA auch für Fließtext */
}

/* Alexander Heymanns Folie hat (noch) keinen Kontakt-Button (auskommentiert in
   incl/cta-ansprechpartner.php) und ist dadurch kürzer als Bröxkes' Folie - das
   Karussell springt beim Wechsel sichtbar in der Höhe. Mindesthöhe angeglichen. */
.cta.ansprechpartner .card-body {
    min-height: 133px;
}

/* Titelzeile immer zwei Zeilen hoch, damit das Karussell beim Wechsel nicht in der Höhe springt
   (Christian: „Steuerberater / Wirtschaftsprüfer“, Sascha: „Steuerberater“) */
.cta.ansprechpartner .cta__titel {
    min-height: 3em;
    line-height: 1.5;
}

.cta .cta-closer {
    margin-top: .25rem;
    font-size: 0.85rem;
    text-transform: lowercase;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -36px;
    color: #fa2000 !important;
    color: var(--primary-font-color);
    background: var(--primary-color);
    border-radius: 0;
    padding: .25rem .5rem;
}

.cta .cta-closer button {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    text-transform: inherit;
    cursor: pointer;
    color: var(--primary-font-color) !important;
}

.cta .carousel-indicators {
    bottom: -18px;
}

/* Punkte so klein wie beim Blog-Slider der Startseite: 5 px (0,3125 rem).
   Die transparente Kante 0,625 rem macht daraus 25 px Tippfläche (WCAG 2.2, 2026-12-02); Raster damit 25 px.
   Die Ränder (unten negativ) gleichen die dickere Kante aus, die Punkte bleiben auf gleicher Höhe. */
.cta .carousel-indicators [data-bs-target] {
    width: 0.3125rem;
    height: 0.3125rem;
    box-sizing: content-box;
    padding: 0;
    margin: 0.6875rem 0 -0.3125rem;
    border: 0.625rem solid transparent;
    border-radius: 50%;
    background-clip: padding-box;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Palette „Grau-Petrol" (docs/farben.md, bestätigt 2026-09-09). --primary-color
       = Dunkelblau #193153 (Kundentest 2026-11-18; vorher #004479, davor #003D78). --secondary/--tertiary werden mit dem
       weiteren Design auf die Palette gezogen. */
    /* Radius 0 als Standard – Bootstrap-Variablen (Dropdowns, Alerts, Tooltips …); --bs-border-radius-pill bleibt */
    --bs-border-radius: 0;
    --bs-border-radius-sm: 0;
    --bs-border-radius-lg: 0;
    --bs-border-radius-xl: 0;
    --bs-border-radius-2xl: 0;
    --bs-navbar-toggler-border-radius: 0;
    --primary-color: #193153;
    --petrol: #2F7C84;               /* Akzent: große Schrift, Icons, Linien, Fokus – kein Fließtext */
    --petrol-grey-dark: #42585E;     /* Eyebrows, Sub-Headlines, Lede auf hell */
    --paper: #eef2f6;                /* heller Grund */
    --on-ink: #CFDADF;               /* Fließtext auf #193153 (~6:1) */
    --on-ink-dim: #B7C6CC;           /* Labels/Eyebrows auf #193153 (~5:1) */
    --on-ink-icon: #9DB4BB;          /* Icons auf #193153 (~4:1) */

    --font-display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
    --font-body: "IBM Plex Sans", Arial, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, monospace;

    --secondary-color: #004BC6;
    --tertiary-color: #2677D4;
    --background: #fff;
    --primary-font-color: #fff;
    --secondary-font-color: #133342;
    --elementBottomMargin: 8em;
    --elementBottomMarginHalf: 4em;
    --elementBottomMarginMin: 2em;

    /* Überschriften-Skala (2026-09-01): modulare Stufung, Verhältnis 1.25.
       Einheit rem – skaliert mit der Browser-Schriftgröße des Nutzers
       (Barrierefreiheit), kein Kompoundieren wie bei em. Keine pt/em mehr. */
    --h1: 3.15rem;
    --h2: 2.5rem;
    --h3: 2rem;
    --h4: 1.6rem;
    --h5: 1.3rem;
    --h6: 1.05rem;
}

body {
    font-family: var(--font-body);
    /* Fließtext-Standard siteweit hier festgelegt (2026-08-28), damit er nicht pro
       Element per Klasse gesetzt werden muss. Klassen wie .large nur noch für Ausnahmen.
       rem (Agentur-Standard, einheitlich): skaliert mit der Browser-Schriftgröße des Nutzers (Barrierefreiheit). */
    font-weight: 300;
    font-size: 1.1rem;
    color: var(--secondary-font-color);
    /* clip statt hidden: hidden macht <body> zum Scroll-Container und bricht
       position: sticky (Hero-Vorhang auf der Startseite). */
    overflow-x: clip;

    /* Textauswahl/Kopieren war seitenweit unterbunden – auf Wunsch deaktiviert (2026-08-28).
       Bei Bedarf gezielt pro Element wieder setzen statt global auf <body>. */
    /* -webkit-user-select: none; */ /* Safari */
    /* -ms-user-select: none; */ /* IE 10 and IE 11 */
    /* user-select: none; */ /* Standard syntax */
}

/* Headlines
   Größen kommen aus den --h1…--h6-Token in :root (rem, Verhältnis 1.25).
   Gewicht monoton gestuft: H1–H3 leicht (300, das elegante Roboto-Light),
   H4–H6 regulär (400) – keine Überschrift schwerer als die darüber. Der
   300er-Standard auf <body> gilt sonst nur für Fließtext. Keine
   text-transform auf Überschriften (uppercase bleibt Nav/Buttons/Labels). */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--primary-color);
    font-weight: 400;
}

a {
    color: var(--secondary-font-color);
    text-decoration: none;
    /* Unterstreichung (wo gesetzt) unter den Unterlängen statt durch g/p/y – typografisch wie im Print */
    text-underline-position: under;
    text-decoration-skip-ink: auto;
}

/* Skip-Link „Zum Inhalt springen" – erstes fokussierbares Element (in incl/nav.php
   vor <nav>). Bootstrap .visually-hidden-focusable blendet ihn ein, sobald er
   Fokus bekommt; hier als sichtbarer Kasten oben links über der fixed-top-Navbar
   (z-index > 1030). WCAG 2.4.1. */
.skip-link:focus,
.skip-link:focus-visible {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 2000;
    padding: 0.6rem 1.1rem;
    background: var(--primary-color);
    color: #fff;
    border-radius: 0;
    text-decoration: none;
}

#inhalt {
    scroll-margin-top: 150px; /* fixed-top-Navbar nicht über den Sprungziel-Inhalt legen */
}

/* Anker aus dem Anbieter-Inhalt (u. a. #barrierefreiheitserklaerung im Impressum): Überschrift direkt unter der Navbar (64–80 px) */
.infocenter [id] {
    scroll-margin-top: 6rem;
}

/* Fließtext-Links zusätzlich unterstreichen – nicht nur über Farbe erkennbar
   (WCAG 1.4.1). Nur in den Prosa-/Inhaltsbereichen, nicht Nav/Footer/Buttons/
   Karten/Trigger. */
.textblock p a:not(.btn),
.textblock li a:not(.btn),
.infocenter p a:not(.btn),
.infocenter li a:not(.btn),
#infocenter:not(.dp-scope) p a:not(.btn),
#infocenter:not(.dp-scope) li a:not(.btn) {
    /* !important + höhere Spezifität, um das pauschale
       "a:link { text-decoration: none !important }" weiter unten zu schlagen
       (das killt Unterstreichungen aus externem Portal-CSS – bleibt für alles
       außerhalb der Prosa erhalten). */
    text-decoration: underline !important;
    /* feinere Linie statt Browser-Standard; beim Hover kräftiger */
    text-decoration-thickness: 0.08em !important;
    text-underline-offset: 0.08em !important;
    transition: text-decoration-thickness 0.2s ease;
}

.textblock p a:not(.btn):hover,
.textblock li a:not(.btn):hover,
.infocenter p a:not(.btn):hover,
.infocenter li a:not(.btn):hover,
#infocenter:not(.dp-scope) p a:not(.btn):hover,
#infocenter:not(.dp-scope) li a:not(.btn):hover,
.footer .form a:hover,
.wgbr-scope a:hover {
    text-decoration-thickness: 0.14em !important;
}

@media (prefers-reduced-motion: reduce) {
    .textblock p a, .textblock li a, .infocenter p a, .infocenter li a {
        transition: none;
    }
}

a[href^=http]:not([href*="hillringhaus-stb.de"]):not(.noicon):not(.mmb_download):not(.download-link)::before {
    font-family: "Font Awesome 7 Sharp";
    content: "\f35d";
    /* external-link-alt */
    font-weight: 100;
    font-size: 1.17rem;
    margin-right: 0.35rem;
    /* inline-block: Unterstreichung des Links läuft nicht unter dem Icon durch */
    display: inline-block;
    text-decoration: none;
}

.footer .form a[href^=http]:not([href*="hillringhaus-stb.de"]):not(.noicon):not(.mmb_download):not(.download-link)::before {
    font-family: "Font Awesome 7 Sharp";
    content: "\e09f";
    /* external-link-alt */
    font-weight: 100;
    font-size: 1.17rem;
    margin-right: 0.35rem;
    /* inline-block: Unterstreichung des Links läuft nicht unter dem Icon durch */
    display: inline-block;
    text-decoration: none;
}

/* PDF-/Download-Links: eigenes Dokument-Icon als Inline-SVG – bewusst
   FA-unabhängig, damit es FA-Upgrades überlebt. Farbe fest #003D78. Eine
   Definition, überall gleich. Die Klasse ".download-link" unterdrückt zugleich
   das automatische Extern-Link-Icon (siehe :not() oben). Format ("PDF") und
   "öffnet in neuem Tab" stehen zusätzlich im (ggf. visually-hidden) Linktext. */
.download-link::before {
    content: "";
    display: inline-block;
    width: 0.85em;
    height: 1em;
    margin-right: 0.4rem;
    vertical-align: -0.15em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23003D78' d='M6 2H14L20 8V20A2 2 0 0 1 18 22H6A2 2 0 0 1 4 20V4A2 2 0 0 1 6 2Z'/%3E%3Cpath fill='%23ffffff' fill-opacity='.45' d='M14 2L20 8H14Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

h1 {
    font-size: var(--h1);
    font-weight: 600;
}

h2 {
    font-size: var(--h2);
    font-weight: 600;
}

h3 {
    font-size: var(--h3);
    font-weight: 500;
}

h4 {
    font-size: var(--h4);
}

h5 {
    font-size: var(--h5);
}

h6 {
    font-size: var(--h6);
}

/* Mobile Abstufung der Überschriftenskala – die Desktop-Werte (v. a. --h1 3.15rem)
   sprengen sonst schmale Container (z. B. das Panel im Seitenkopf). */
@media (max-width: 767px) {
    :root {
        --h1: 2rem;
        --h2: 1.75rem;
        --h3: 1.5rem;
        --h4: 1.3rem;
        --h5: 1.15rem;
        --h6: 1rem;
    }
}

/* Überschriften, deren Tag beim Tech-Lektorat (2026-09-01) auf die semantisch
   korrekte Ebene gezogen wurde – optische Größe bleibt über die --h*-Token
   erhalten, damit sich am Erscheinungsbild nichts ändert. */
.ansprechpartner .card-title {   /* Personennamen: <h3>, Größe wie h5 (CTA-Sidebar + ueber-uns-Team-Grid) */
    font-size: var(--h5);
}

.cta .cta__label {               /* "Ihr Ansprechpartner": <h2>, Größe wie h5 */
    font-size: var(--h5);
}

.digital .card-title {           /* Job-Rollen-Karten auf karriere-einblick: <h4>, Größe wie h5 */
    font-size: var(--h5);
}

/* p/ul/ol erben die Schriftgröße (früher "font-size: 1em" = dasselbe, als em-Angabe entfernt). */

/* Bootstrap-Reboot setzt b/strong auf "bolder" – das ergibt vom 300er-Standard aus
   nur 400 (nicht mehr fett). Deshalb hier fest auf 700. */
b,
strong {
    font-weight: 700;
}


/* .large war früher der Fließtext-Stil (1.1em / 300) und klebte an fast jedem
   Absatz/Listeneintrag. Dieser Wert ist jetzt der body-Standard (siehe oben), daher
   ist .large hier bewusst leer: die vorhandenen class="large" im Markup bleiben als
   harmloser Haken erhalten, setzen aber
   keine Schriftgröße/-stärke mehr – kein Kompoundieren mit dem body-Wert. */

/* Ausnahme-Klasse: etwas größerer/kräftigerer Text als der Standard. */
p.medium,
ul.medium,
ol.medium {
    font-size: 1.32rem;               /* = vorher 1.2em auf dem 1.1rem-Fließtext */
    font-weight: 400;
}

.first {
    margin-top: 0 !important;
    padding-top: 140px;
}

@media screen and (max-width: 767px) {
    .first {
        padding-top: 5rem;   /* = Navbar-Höhe mobil */
    }
}

/* ELEMENT: textblock */
.textblock {
    /* Abstand vereinheitlicht (2026-09-02): war Min (2em) als Basis + 4em per
       Inline-Style auf 40 von 58 Blöcken – jetzt einheitlich Half (4em),
       Inline-Styles entfernt. */
    margin-bottom: var(--elementBottomMarginHalf);
}

.textblock h2 {
    margin: 1rem 0;
}

/* ELEMENT: textblock */
/* .ansprechpartnerGrid entfernt (2026-09-01): war nur ein auskommentierter,
   nie fertiggestellter Block auf beratung-betriebswirtschaft.php – ersetzt durch
   incl/cta-ansprechpartner.php. */

.ansprechpartner img {
    width: 100%;
    transition: all 0.3s ease-in-out;
    opacity: 1;
}

/* ELEMENT: Leistungsangebot */
.leistungen {
    margin-bottom: var(--elementBottomMarginMin);
}

.leistungen h2 {
    margin: 1rem 0;
}

/* Bullet-Icons für Listen innerhalb der imageBox__text-Overlays */
.imageBox__text ul li {
    position: relative;
    list-style: none;
    padding-left: 0;
    margin-bottom: 1rem;
}

.imageBox__text ul li:last-child {
    margin-bottom: 0;
}

.imageBox__text ul li::before {
    font-family: "Font Awesome 7 Pro";
    font-weight: 900;
    content: "\e82e";
    position: absolute;
    left: -1.625rem;                  /* vorher -26px; Schriftgröße erbt vom li (vorher 1em) */
    top: 0;
}

/* ELEMENT: Kontakt */
.kontakt {
    margin-bottom: var(--elementBottomMargin);
    padding: 2em 0;
    min-height: 60dvh;
    background: linear-gradient(to right, rgb(255, 255, 255), transparent), url(../img/Karriere_01.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.kontakt__left h3 {
    font-size: 2.6rem !important;
}

.kontakt__left p {
    margin-bottom: 8rem;
}

.kontakt__left .btn {
    padding: 1rem 4rem;
}

/* ELEMENT: Kontakt */
/* ELEMENT: imageBox */
.imageBox {
    margin-bottom: var(--elementBottomMargin);
}

.imageBox .container {
    /* Untergrenze in px, damit die Box auf kurzen Bildschirmen (Laptops) nicht so
       breit im Verhältnis wird, dass beim background-size:cover oben/unten Personen
       angeschnitten werden. Bild + Bildausschnitt werden pro Box per Inline-Style
       gesetzt (background-image/background-position), da mehrere Boxen (Startseite,
       Leistungsangebot) dieselben Klassen mit unterschiedlichen Fotos nutzen. */
    min-height: max(60dvh, 575px);
    background-repeat: no-repeat;
    background-size: cover;
}

.imageBox__text {
    background: linear-gradient(rgba(19, 51, 66, 0.75), rgba(19, 51, 66, 0.75));
    min-height: max(60dvh, 575px);
}

/* ELEMENT: imageBox */
/* ELEMENT: News */
.news {
    margin-bottom: var(--elementBottomMargin);
}

.news .card {
    border: 1px solid var(--primary-color);
}

.news .card-body {
    position: relative;
}

.news .card-body-label {
    height: 42px;
    position: absolute;
    left: 0;
    top: -42px;
    width: 100%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
}

/* ELEMENT: News */
/* FOOTER */
.footer {
    min-height: 80dvh;
    padding: 4rem 0;
    margin-top: 2rem;
    /* Dunkles Petrolgrau #42585E (Palette „Grau-Petrol"), oben minimal heller (#4A6066) – sehr sanfter Verlauf.
       Kontrast weißer Text: unten 7,5:1, oben 6,7:1 (AA ≥ 4,5:1). */
    background: linear-gradient(to bottom, #4a6066 0%, #42585e 100%);
    z-index: 20 !important;
    position: relative;
    ;
}

/* Adress-/Kontaktblock links (Nutzer 2026-10-14): luftigerer Zeilenabstand 190 % (im Projekt zeilenlos: 1.9), nur diese Absätze */
.footer__kontakt p,
.kontakt__zeilen {
    line-height: 1.9;
}

.footer a {
    text-decoration: none;
    color: #fff;
}

.footer a:hover,
.footer a:focus {
    /* #0683fb erreichte auf dem blauen Footer-Verlauf nur 1,2-2,9:1 (WCAG 1.4.3).
       Weiß bleibt (10,8:1 unten, 4,5:1 oben), Hover über Unterstreichung. */
    color: #fff;
    text-decoration: underline;
}

/* Fußzeile (Impressum | Datenschutz | Barrierefreiheit): größeres Tap-Ziel –
   Höhe der Textlinks lag bei ~19 px, Empfehlung WCAG 2.5.8 sind 24×24 px. */
.footer p.text-center a {
    display: inline-block;
    padding: 0.4rem 0.4rem;
    line-height: 1.4;
}

.footer p.text-center {
    line-height: 1.9;
    color: #fff; /* auch die Trennstriche | zwischen den Links */
}

.footer .logo {
    margin-bottom: 4rem;
    max-width: 17.5rem; /* wie das Logo oben (280 px) */
    width: 100%;
    height: auto;
}

/* Formulare aus einem Guss: das Footer-Kontaktformular (.footer .form) und Seiten-Formulare
   (.wgbr-scope, z. B. Online-Bewerbung) teilen ein Styling. Alle taxserver.de-Formulare kommen
   per file_get_contents(); nur die zurückgelieferten wgbr-*-Klassen werden umformatiert,
   gescoped auf diese beiden Wrapper. Palette: --paper als Fläche, weiße Felder mit
   Petrolgrau-Rahmen (5,3:1 auf Weiß), Text #42585E, Fokus in Primärblau, Button Petrol. */
.footer .form,
.wgbr-scope {
    background-color: var(--paper);
    color: var(--petrol-grey-dark);
}

.wgbr-scope {
    padding: 1.5rem;
    margin-bottom: var(--elementBottomMarginMin);
}

.footer .form h3,
.footer .form h2 {   /* h2 seit 2026-10-13 (Überschriften-Reihenfolge), Optik wie zuvor h3 */
    font-size: var(--h3);
    padding: 2rem 2rem 0 2rem;
    font-weight: 300;
    color: var(--primary-color);
}

.footer .form .wgbr-form label,
.wgbr-scope .wgbr-form label {
    padding: 0;
    margin: 0;
    font-weight: 400;
    color: var(--petrol-grey-dark);
}

/* Pflichtstern: das Formular liefert #ef4444 (3,8:1) – hier Primärblau */
.footer .form .wgbr-required,
.wgbr-scope .wgbr-required {
    color: var(--primary-color);
}

.footer .form .wgbr-form-check-label,
.wgbr-scope .wgbr-form-check-label {
    padding: 0;
    margin: 0;
    font-size: 1rem !important;       /* Lektorat „barrierearm“: Fließtext mind. 16 px (vorher 0.875rem) */
    font-weight: 300;
}

.footer .form p,
.wgbr-scope p {
    font-size: 1rem !important;       /* dito */
    font-weight: 300;
    color: var(--petrol-grey-dark);
}

.footer .form .wgbr-form input:not([type="checkbox"]):not([type="radio"]),
.footer .form .wgbr-form textarea,
.wgbr-scope .wgbr-form input:not([type="checkbox"]):not([type="radio"]),
.wgbr-scope .wgbr-form textarea {
    background-color: #fff;
    border: 0;
    border-bottom: 1px solid #5a7178; /* nur Unterkante (5,3:1 auf Weiß) */
    font-family: inherit;
    font-size: 1rem;
    border-radius: 0 !important;
    color: var(--petrol-grey-dark);
    padding: 0.5rem 0.75rem;
    margin-top: 0.375rem !important;
}

.footer .form .wgbr-form input::placeholder,
.footer .form .wgbr-form textarea::placeholder,
.wgbr-scope .wgbr-form input::placeholder,
.wgbr-scope .wgbr-form textarea::placeholder {
    color: #5a7178;
    font-size: 0.9rem;
    opacity: 1;
}

.footer .form .wgbr-form input:focus,
.footer .form .wgbr-form textarea:focus,
.wgbr-scope .wgbr-form input:focus,
.wgbr-scope .wgbr-form textarea:focus {
    /* sichtbarer Fokus-Ring (WCAG 2.4.7): 2px Primärblau mit Versatz – ersetzt das
       outline:none aus dem Formular-eigenen <style>. */
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-bottom-color: var(--primary-color);
    box-shadow: none;
}

.footer .form .wgbr-form input[type="checkbox"],
.wgbr-scope .wgbr-form input[type="checkbox"] {
    accent-color: var(--petrol);
    margin-right: 0.5rem;
}

.footer .form .wgbr-form textarea,
.wgbr-scope .wgbr-form textarea {
    min-height: 9rem;
}

.footer .form a:link,
.footer .form a:visited,
.wgbr-scope a:link,
.wgbr-scope a:visited {
    color: var(--primary-color) !important;
    /* Unterstreichung Pflicht (WCAG 1.4.1) – !important, weil das pauschale a:link { text-decoration: none !important }
       weiter unten sonst gewinnt (Datenschutz-Link in der Einwilligung). */
    text-decoration: underline !important;
    text-decoration-thickness: 0.08em !important;
    text-underline-offset: 0.08em !important;
}

.footer .form a:focus-visible,
.wgbr-scope a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.footer .form a:hover,
.footer .form a:focus,
.footer .form a:active,
.wgbr-scope a:hover,
.wgbr-scope a:focus,
.wgbr-scope a:active {
    color: var(--petrol-grey-dark) !important;
}

/* Meldungen: das Formular liefert Grün #22c55e / Rot #ef4444 mit weißer Schrift (2,3:1 / 3,8:1,
   fällt durch) – hier Petrol (4,8:1) bzw. das formeigene Fehlerrot #c0392b (5,4:1). */
.footer .form .wgbr-alert-success,
.wgbr-scope .wgbr-alert-success {
    background-color: #2f7c84;
    box-shadow: none;
}

.footer .form .wgbr-alert-error,
.footer .form .wgbr-form-error-global,
.wgbr-scope .wgbr-alert-error,
.wgbr-scope .wgbr-form-error-global {
    background-color: #c0392b;
    box-shadow: none;
}

/* Bewerbungsformular: Datei-Upload (Dropzone) und Kompetenz-Sterne – Palette statt der
   Formular-Standardfarben (Dropzone-Rahmen #cbd5e1 = 1,5:1, Sterne grau #d1d5db / Amber #f59e0b). */
.wgbr-scope .wgbr-dropzone {
    border-color: #5a7178;
    background: #fff;
}

.wgbr-scope .wgbr-dropzone:hover,
.wgbr-scope .wgbr-dropzone.wgbr-is-dragover {
    background: var(--paper);
    border-color: var(--primary-color);
    box-shadow: none;
}

.wgbr-scope .wgbr-dropzone:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: none;
}

.wgbr-scope .wgbr-dropzone-title,
.wgbr-scope .wgbr-file-name {
    color: var(--petrol-grey-dark);
}

.wgbr-scope .wgbr-dropzone-subtitle,
.wgbr-scope .wgbr-file-size {
    color: #5a7178;
}

.wgbr-scope .wgbr-file-remove {
    color: #c0392b;
}

.wgbr-scope .wgbr-stars label {
    color: #7e9398;
}

.wgbr-scope .wgbr-stars label:hover,
.wgbr-scope .wgbr-stars label:hover ~ label,
.wgbr-scope .wgbr-stars input:checked ~ label {
    color: var(--petrol);
}

.wgbr-scope .wgbr-stars input:focus-visible + label {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Absenden: wie .btn-custom – Petrol, Hover #42585E + Innenrahmen (Variante V3) */
.footer .form .wgbr-button,
.wgbr-scope .wgbr-button {
    display: inline-block;
    background-color: #2f7c84 !important;
    font-size: 1rem;
    font-weight: 300;
    color: #fff;
    padding: 0.375rem 1.5rem !important;
    border: 1px solid transparent; /* wie .btn (Höhe gleich .btn-custom) */
    border-radius: 0;
    cursor: pointer;
    outline: 1px solid transparent;
    outline-offset: -0.375rem;
    transition: background-color 0.35s ease, outline-color 0.35s ease;
    width: 100%;
    margin-top: 1rem;
}

@media (min-width: 640px) {
    .footer .form .wgbr-button,
    .wgbr-scope .wgbr-button {
        width: auto;
    }
}

.footer .form .wgbr-button:hover,
.footer .form .wgbr-button:focus-visible,
.wgbr-scope .wgbr-button:hover,
.wgbr-scope .wgbr-button:focus-visible {
    background-color: #42585e !important;
    outline-color: rgba(255, 255, 255, 0.9);
}

.footer .form .wgbr-button:focus-visible,
.wgbr-scope .wgbr-button:focus-visible {
    box-shadow: 0 0 0 0.125rem var(--paper), 0 0 0 0.25rem var(--primary-color);
}

@media (prefers-reduced-motion: reduce) {
    .footer .form .wgbr-button,
    .wgbr-scope .wgbr-button {
        transition: none;
    }
}

/* Newsletter-Anmeldung (steuerapps.de-Code): Maske kommt mit eigenen dh-*-Klassen und ist 1:1 eingebaut.
   Hier nur Optik – gleiche Palette wie .wgbr-scope (Online-Bewerbung): Fläche --paper, weiße Felder nur mit Unterkante,
   Fokus in Primärblau, Button Petrol wie .btn-custom. Wrapper: <div class="wgbr-scope dh-form-wrapper">. */
.wgbr-scope .dh-form label {
    display: block;
    padding: 0;
    margin: 0;
    font-weight: 400;
    color: var(--petrol-grey-dark);
}

.wgbr-scope .dh-form .dh-form-group {
    margin-bottom: 1rem;
}

.wgbr-scope .dh-form input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.wgbr-scope .dh-form select {
    display: block;
    width: 100%;
    max-width: 100%;
    background-color: #fff;
    border: 0;
    border-bottom: 1px solid #5a7178;   /* nur Unterkante (5,3:1 auf Weiß) */
    border-radius: 0 !important;
    font-family: inherit;
    font-size: 1rem;
    color: var(--petrol-grey-dark);
    padding: 0.5rem 0.75rem;
    margin-top: 0.375rem;
}

.wgbr-scope .dh-form select {
    margin-bottom: 1rem;
}

.wgbr-scope .dh-form input:focus,
.wgbr-scope .dh-form select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-bottom-color: var(--primary-color);
}

.wgbr-scope .dh-form .dh-form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.wgbr-scope .dh-form input[type="checkbox"] {
    flex: 0 0 auto;
    width: auto;
    margin-top: 0.3rem;
    accent-color: var(--petrol);
}

.wgbr-scope .dh-form .dh-form-check-label {
    margin-left: 0 !important;          /* das Formular setzt inline 25px, hier über das Flex-Gap */
    font-weight: 300;
}

.wgbr-scope .dh-form-response:empty {
    display: none;   /* leeres Meldungsfeld (mt-5 des Formulars) soll keinen Abstand erzeugen */
}

.wgbr-scope .dh-form-response:not(:empty) {
    background-color: #fff;
    border-left: 0.25rem solid var(--petrol);
    padding: 0.75rem 1rem;
    margin-top: 0 !important;
    margin-bottom: 1rem;
}

/* Absenden: wie .btn-custom – Petrol, Hover #42585E + Innenrahmen (Variante V3) */
.wgbr-scope .dh-btn {
    display: inline-block;
    background-color: #2f7c84 !important;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 300;
    color: #fff;
    padding: 0.375rem 1.5rem !important;
    border: 1px solid transparent;
    border-radius: 0;
    cursor: pointer;
    outline: 1px solid transparent;
    outline-offset: -0.375rem;
    transition: background-color 0.35s ease, outline-color 0.35s ease;
    width: 100%;
    margin-top: 1rem !important;
}

@media (min-width: 640px) {
    .wgbr-scope .dh-btn {
        width: auto;
    }
}

.wgbr-scope .dh-btn:hover,
.wgbr-scope .dh-btn:focus-visible {
    background-color: #42585e !important;
    outline-color: rgba(255, 255, 255, 0.9);
}

.wgbr-scope .dh-btn:focus-visible {
    box-shadow: 0 0 0 0.125rem var(--paper), 0 0 0 0.25rem var(--primary-color);
}

@media (prefers-reduced-motion: reduce) {
    .wgbr-scope .dh-btn {
        transition: none;
    }
}

.footer hr {
    width: 75%;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, .75);
    opacity: .25;
}

#heroSlider .carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

@media (max-width: 991.98px) {
    #heroSlider .carousel-item img {
        height: 300px;
    }
}

@media (max-width: 575.98px) {
    #heroSlider .carousel-item img {
        height: 220px;
    }
}

.offcanvas {
    width: 580px !important;
}

.offcanvas .nav-link,
.offcanvas .dropdown-item {
    text-align: left;
    text-transform: none !important;
}

.offcanvas .nav-link.active,
.offcanvas .nav-link.show,
.offcanvas .dropdown-item.active,
.offcanvas .dropdown-item.show {
    background: #fff !important;
    color: var(--primary-color) !important;
    font-weight: bold;
}

.offcanvas .nav-link:hover,
.offcanvas .dropdown-item:hover {
    background: #fff !important;
    color: var(--primary-color) !important;
}

.fa-ul {
    margin-left: 2rem;
}

.fa-ul li {
    margin-bottom: 0.5rem;
}

/* .wgbr-button jetzt gescoped bei den Formular-Regeln oben
   (.footer .form / .wgbr-scope) – kein globales .wgbr-button mehr. */

.card {
    border: 1px solid rgba(234, 244, 249, .75)
}

.digital .card-footer,
.ansprechpartner .card-footer {
    background-color: #eaf4f9 !important;
    border-top: none;
    padding-top: 4%;
}

.digital .card-footer,
.ansprechpartner .card-footer {
    min-height: 54px;
}

.digital .card-footer i,
.ansprechpartner .card-footer i {
    color: #2677D4;
}

.digital .card {
    border: 1px solid #003D78;
    border-radius: 0;
}

.ansprechpartner .card {
    border: none;
    border-radius: 0;
}

.digital .card-footer a[href^="http"]:not([href*="hillringhaus-stb.de"])::before,
.ansprechpartner .card-footer a[href^="http"]:not([href*="hillringhaus-stb.de"])::before {
    display: none;
}

input.btn {
    background-color: #2f7c84 !important;
    border-radius: 0;
    color: #fff;
    outline: 1px solid transparent;
    outline-offset: -0.375rem;
    transition: background-color 0.35s ease, outline-color 0.35s ease;
}

input.btn:hover,
input.btn:focus-visible {
    background-color: #42585e !important;
    outline-color: rgba(255, 255, 255, 0.9);
    color: #fff;
}

#infocenter h3 {
}

/* Externe Infocenter-Inhalte (taxplanet.de-Portale): h2/h3/.trigger/.toggle_container
   werden schon über die bestehende ".infocenter { ... }"-Regel weiter unten gestylt
   (inkl. Pfeil-Icon für .trigger.trigger_active) und per js/accordion.js (jQuery)
   bedient. Hier nur, was dort noch fehlt: Bullet-Listen und die Vergleichstabelle.
   ":not(.dp-scope)", damit diese Alt-Regeln nicht ins neue Digital-Portal
   (dp-grid.css, ebenfalls id="infocenter") hineinspielen - das bringt eigene
   Listen-Optik mit (z. B. .dp-quicklink-list, mehrspaltig). */
#infocenter:not(.dp-scope) ul,
.infocenter ul {
    margin: 0 0 1rem;
    list-style: none;
}

#infocenter:not(.dp-scope) ul li,
.infocenter ul li {
    position: relative;
    padding-left: 26px;
    margin-bottom: .5rem;
}

/* Linke Textkante der taxplanet-Themenportale einheitlich auf 2.4rem – dort steht
   auch der Trigger-Text (das Chevron sitzt im 2.4rem-Streifen davor). So fluchtet
   links alles auf einer Linie. Innerhalb .toggle_container zurücksetzen, da die
   Box selbst schon eingerückt ist – sonst doppelter Einzug.
   ":has(.trigger)" grenzt gezielt auf die aufklappbaren Themenportale ein –
   NICHT auf impressum/datenschutz (auch .infocenter, aber reiner Fließtext ohne
   Trigger, da wäre der Einzug sinnlos). ":not(.dp-scope)" schützt das neue
   Digital-Portal; beide Selektoren, weil das Fragment ein eigenes id="infocenter"
   mitbringt. */
#infocenter:not(.dp-scope):has(.trigger) :is(h2, h3, h4, p, ul, ol),
.infocenter:has(.trigger) :is(h2, h3, h4, p, ul, ol),
#infocenter:not(.dp-scope):has(.trigger) .toggle_container,
.infocenter:has(.trigger) .toggle_container {
    padding-left: 2.4rem;
}

#infocenter:not(.dp-scope):has(.trigger) .toggle_container :is(h2, h3, h4, p, ul, ol),
.infocenter:has(.trigger) .toggle_container :is(h2, h3, h4, p, ul, ol) {
    padding-left: 0;
}

/* Mobil den 2.4rem-Chevron-Streifen zusammenziehen – frisst sonst zu viel Breite.
   (Der Trigger-Einzug selbst wird weiter unten nach der Disclosure-Regel
   überschrieben, sonst gewinnt die spätere 2.4rem-Regel.) */
@media (max-width: 767px) {
    #infocenter:not(.dp-scope):has(.trigger) :is(h2, h3, h4, p, ul, ol),
    .infocenter:has(.trigger) :is(h2, h3, h4, p, ul, ol),
    #infocenter:not(.dp-scope):has(.trigger) .toggle_container,
    .infocenter:has(.trigger) .toggle_container {
        padding-left: 1.4rem;
    }

    #infocenter:not(.dp-scope):has(.trigger) .toggle_container :is(h2, h3, h4, p, ul, ol),
    .infocenter:has(.trigger) .toggle_container :is(h2, h3, h4, p, ul, ol) {
        padding-left: 0;
    }
}

#infocenter:not(.dp-scope) ul li::before,
.infocenter ul li::before {
    font-family: "Font Awesome 7 Pro";
    font-weight: 900;
    content: "\e82e";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--tertiary-color);
}

#infocenter .pv-table,
.infocenter .pv-table {
    border-collapse: collapse;
}

#infocenter .pv-table th,
.infocenter .pv-table th {
    background-color: #eaf4f9;
    color: var(--secondary-font-color);
}

#infocenter .pv-table td,
#infocenter .pv-table th,
.infocenter .pv-table td,
.infocenter .pv-table th {
    border-color: #eaf4f9;
}

/* Digital-Portal (neu, dp-grid.css vom Portalserver) – Feinschliff auf unsere CI.
   Bewusst auf ".dp-scope" statt nur "#infocenter" gescoped, damit die alten
   Portal-Regeln oben (taxplanet.de-Themenportale) hier nicht mit hineinspielen. */
#infocenter.dp-scope .dp-login-tile-icon {
    background: transparent;
    width: 40px;
    height: 40px;
}

#infocenter.dp-scope .dp-login-tile-icon i {
    /* FA7 steuert den Schriftschnitt über die Custom Property --fa-style (das
       macht auch .fa-thin selbst so), nicht über font-weight direkt - font-weight
       hier hätte keine Wirkung gehabt, siehe die i-Icon-Lektion bei den Quickbuttons. */
    --fa-style: 100;
    font-size: 1.6rem;
}

#infocenter.dp-scope .dp-login-tile-name {
    font-weight: 400;
}

/* Sitesweite Auto-Icon-Regel für externe Links (siehe a[href^=http]:not(...)::before
   weiter oben) greift ungewollt auch auf die DATEV-Kacheln - die haben schon ihr
   eigenes Icon, das Portal-Markup kommt extern von taxplanet.de und kann hier nicht
   mit class="noicon" versehen werden. Deshalb hier gezielt unterdrückt. */
#infocenter.dp-scope a[href^=http]::before {
    content: none;
}

#infocenter.dp-scope .dp-tile i {
    --fa-style: 100;
    font-size: 2rem;
}

/* Themen-Kachel (<a class="dp-tile">): die ganze Kachel ist der Link, aber nur
   der unterstrichene Titel signalisiert das – zu versteckt. Stattdessen ein
   klarer „Mehr"-Button unten in der Kachel (Pseudo-Element, kein Portal-Markup
   nötig), Titel-Unterstreichung entfällt. */
#infocenter.dp-scope a.dp-tile,
#infocenter.dp-scope a.dp-tile:hover,
#infocenter.dp-scope a.dp-tile:focus,
#infocenter.dp-scope .dp-tile-title {
    text-decoration: none;
}

/* gleiche Zeilenhöhe, damit der „Mehr"-Button (margin-top:auto) bei allen Kacheln
   einer Reihe auf gleicher Höhe unten sitzt */
#infocenter.dp-scope .dp-tile-grid {
    grid-auto-rows: 1fr;
}

/* garantierter Mindestabstand Lead-Text -> „Mehr"-Button (auch bei der höchsten
   Kachel, wo margin-top:auto = 0 ist) */
#infocenter.dp-scope .dp-tile-lead {
    margin-bottom: 1rem;
}

#infocenter.dp-scope a.dp-tile::after {
    content: "Mehr";
    margin-top: auto;
    align-self: flex-start;
    padding: 0.5rem 1.4rem;
    background: #2f7c84;
    color: #fff;
    font-weight: 300;
    border-radius: 0;
    outline: 1px solid transparent;
    outline-offset: -0.375rem;
    transition: background-color 0.35s ease, outline-color 0.35s ease;
}

#infocenter.dp-scope a.dp-tile:hover::after,
#infocenter.dp-scope a.dp-tile:focus::after {
    background: #42585e;
    outline-color: rgba(255, 255, 255, 0.9);
}

/* Copyright-Zeile: „Wollschläger Kanzleimarketing" wird portalseitig zum Link
   (-> https://wollschlaeger-gbr.de/); hier nur die Optik – ohne Unterstrich,
   beim Hovern unterstrichen. */
#infocenter.dp-scope .dp-copyright a {
    color: inherit;
    text-decoration: none;
}

#infocenter.dp-scope .dp-copyright a:hover,
#infocenter.dp-scope .dp-copyright a:focus {
    text-decoration: underline;
}

#infocenter.dp-scope .dp-login-tile-grid {
    margin-bottom: 2rem;
}

/* Browser- und App-Kacheln nutzen im Original unterschiedliche Mindestbreiten
   (160px bzw. 200px) - dadurch wirken beide Gruppen unterschiedlich breit.
   Auf eine gemeinsame Breite vereinheitlicht. */
#infocenter.dp-scope .dp-login-tile-grid--browser,
#infocenter.dp-scope .dp-login-tile-grid--apps {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* Browser-Kacheln (nur Icon + Name) sind von Natur aus niedriger als App-Kacheln
   (zusätzlich noch die Android/iOS-Link-Zeile) - auf die App-Kachel-Höhe angeglichen.
   Schätzwert, bei Bedarf nach Live-Ansicht noch nachjustieren. */
#infocenter.dp-scope .dp-login-tile {
    min-height: 8.5rem;
}

/* Login-Kacheln nie unterstrichen (dp-grid.css unterstreicht den Kachel-Link). */
#infocenter.dp-scope a.dp-login-tile,
#infocenter.dp-scope a.dp-login-tile:hover,
#infocenter.dp-scope a.dp-login-tile:focus,
#infocenter.dp-scope a.dp-login-tile .dp-login-tile-name {
    text-decoration: none;
}

#infocenter.dp-scope h2,
#infocenter.dp-scope h3 {
    margin-top: 2rem;
}

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

.infocenter {
    h2 {
        font-size: var(--h2);
        font-weight: 300;
        margin: 2rem 0 2rem 0 !important;
    }

    h3 {
        font-weight: 300;
        font-size: var(--h3);
        margin: .5rem 0 1rem 0;
    }

    h3.trigger {
        font-size: var(--h4);
        font-weight: 400; /* Standard-Überschriftengewicht, nicht das leichte 300 der .infocenter h3 */
    }

    h4 {
        font-size: var(--h4);
        margin: .5rem 0 1rem 0;
    }

    .trigger {
        line-height: 120% !important;
        border-bottom: 1px solid var(--primary-color); /* Linienstärke wie .merkblaetter .rubrik_header */
        padding-bottom: 10px;
        margin-bottom: 50px;
    }

    .trigger.trigger_active {
        margin-bottom: 18px;
    }

    .toggle_container {
        margin-bottom: 30px;
    }

    .erB {
        img {
            width: 100%;
            max-width: 100%;
            margin: 2rem 0;
            border-radius: 0;
        }
    }

    [data-role="collapsible"] {
        margin-top: 2rem !important;
    }
}

/* ---- Einheitliche Aufklapp-Steuerung (Disclosure) ----------------------------
   Ein einziges Icon für alle eingebundenen Portal-/Archiv-Aufklappbereiche:
   Chevron nach unten (zu), Chevron nach oben (offen) – per Glyph-Tausch, nicht
   per Rotation (auf ::before zuverlässiger). Ersetzt die früher drei
   verschiedenen Varianten (gefülltes SVG-Dreieck bei .infocenter/#myAccordion,
   nicht drehendes FA-Chevron bei .ArchivWrapper). js/accordion.js schaltet
   .trigger_active. Farbe pro Kontext: dunkel auf hell, weiß im dunklen
   #myAccordion. Reine Aufzählungs-Bullets (▶) bleiben davon unberührt – die
   Semantik ist jetzt getrennt: ▼/▲ = aufklappbar, ▶/› = Aufzählung/Link. */
.infocenter .trigger,
.ArchivWrapper .trigger,
#myAccordion .trigger {
    position: relative;
    padding-left: 2.4rem;
    cursor: pointer;
}

@media (max-width: 767px) {
    .infocenter .trigger,
    .ArchivWrapper .trigger,
    #myAccordion .trigger {
        padding-left: 1.4rem;
    }
}

.infocenter .trigger::before,
.ArchivWrapper .trigger::before,
#myAccordion .trigger::before {
    content: "\f078"; /* Font Awesome: chevron-down (zugeklappt) */
    font-family: "Font Awesome 7 Pro";
    font-weight: 900;
    font-size: 1rem;
    color: #003D78;
    position: absolute;
    left: 0;
    top: 0.15em;
    width: auto;
    height: auto;
    background: none;
}

#myAccordion .trigger::before {
    color: #fff;
}

.infocenter .trigger.trigger_active::before,
.ArchivWrapper .trigger.trigger_active::before,
#myAccordion .trigger.trigger_active::before {
    content: "\f077"; /* chevron-up (aufgeklappt) – Glyph-Tausch statt Rotation:
                         robust auf ::before, ohne transform-Sonderfälle */
}

a:link {
    text-decoration: none !important;
}

#myAccordion h3 {
    color: #fff !important;
}

#myAccordion h3.trigger {
    color: #fff !important;
    font-size: var(--h4) !important;
    margin-top: 1rem;
}

#myAccordion h3.portal-digital {
    color: #fff !important;
    margin-top: 1rem !important;
}

.merkblaetter {
    .rubrik_header {
        background-color: #fff !important;
        border-bottom: 1px solid var(--primary-color);
        /* Deubner setzt height:40px + float:left auf den Kindern; flow-root, damit
           der Header die Floats umschließt und padding-bottom sichtbar wird. */
        display: flow-root;
        height: auto;
        padding-bottom: 10px; /* Abstand Text -> Linie, wie bei .infocenter .trigger */
    }

    /* Deubner liefert die Rubrik-Icons als weiß/schwarze PNG-Bitmaps auf blauer
       Fläche. Fläche transparent, Icon per filter näherungsweise auf #003D78
       eingefärbt (brightness(0) flacht die 2-Ton-PNG zur Silhouette, der Rest
       tönt Richtung Navy). Wenn die Farbe exakt sitzen muss: auf mask-image
       oder Font-Awesome-Icons je Rubrik umstellen. */
    .rubrikbild_hg {
        background: transparent;
    }

    .rubrikbild_hg img {
        padding: 4px;
        filter: brightness(0) saturate(100%) invert(17%) sepia(56%) saturate(1976%) hue-rotate(196deg) brightness(94%) contrast(94%);
    }

    .rubrik_n {   /* Deubner-Rubriktitel, per PHP von <h5> auf <h2> gehoben */
        font-size: var(--h4);
        margin-top: -4px;
        height: auto;
    }

    .rubrik_container ul {
        padding: 0 !important;
        margin: 24px 0 0 0 !important;
    }

    .rubrik_container ul li {
        list-style: none;
        padding: 0 0 8px 24px !important;
        margin: 0 !important;
        position: relative;
    }

    .rubrik_container ul li::before {
        font-family: "Font Awesome 7 Pro";
        content: "\f054";
        /* external-link-alt */
        font-weight: 300;
        font-size: 1rem;
        position: absolute;
        left: 3px;
        top: -1px;
    }

    .mb_teaser {
        margin: 12px 0 !important;
    }

    input#suchbegriff {
        background-color: var(--primary-color);
        font-family: inherit;
        border-radius: 0 !important;
        color: #fff;
        margin-top: 0 !important;
        border: none;
        padding: 5px 8px;
        font-family: inherit;
        font-size: inherit
    }

    input#suchbegriff::placeholder {
        color: #fff;
        font-family: inherit;
        font-size: inherit
    }

    input#suchbegriff:focus::placeholder {
        opacity: .25;
    }
}


.ArchivWrapper {
    .trigger {
        font-weight: 400;
        font-size: var(--h4);
        padding-bottom: 12px;
    }

    .toggle_container {
        padding-left: 30px;
        margin-bottom: 30px;
    }

    .toggle_container.ArchivArtikelInhalt a:first-child {
        margin: -4px 0 4px 0;
        display: block;
        text-align: right;
        font-size: 1rem;
    }

    /* PDF-Icon kommt jetzt zentral über .download-link::before (FA-unabhängig) */

    .toggle_container.ArchivArtikelInhalt img {
        width: 100%;
        max-width: 100%;
        margin: 0 0 1rem 0;
        border-radius: 0;
    }

    .toggle_container .BriefRubriken {
        font-weight: 700;
        margin-top: 8px;
        margin-bottom: 8px;
    }

    .toggle_container .ArchivArtikelHeadline {
        padding-left: 24px;
        position: relative;
    }

    .toggle_container .ArchivArtikelHeadline::before {
        content: "\f324";
        font-family: "Font Awesome 7 Pro";
        font-weight: 300;
        font-size: 0.65rem;
        position: absolute;
        left: 3px;
        top: 1px;
    }
}

.card,
.rounded {
    --bs-card-border-radius: 0 !important;
}

.rounded {
    border-radius: 0 !important;
}

#infocenter p,
#infocenter ul,
.infocenter p,
.infocenter ul {
    color: var(--secondary-font-color);
}

.einstieg i {
    color: var(--primary-color) !important;
}

/*######### Design 2026-09-23: Startseite Hero + Vorhang, Menüfarbe, CTA-Reiter #########*/

/* Eyebrow: kleine Mono-Versalzeile über Überschriften (auch als <h2> nutzbar) */
.eyebrow {
    font-family: var(--font-mono);
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .18em;
    text-transform: uppercase;
    line-height: 1.5;
    margin-bottom: 0;
    color: var(--petrol-grey-dark);
}

/* Textlink mit Pfeil (statt Button in ruhigen Abschnitten) */
a.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--font-mono);
    font-size: .8rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    text-decoration: none;
    color: inherit;
}

a.link-arrow i {
    font-size: 1.1rem;
    transition: transform .2s ease;
    will-change: transform;
    backface-visibility: hidden;
}

a.link-arrow:hover i,
a.link-arrow:focus-visible i {
    transform: translateX(4px);
}

/* ---- Bühne: Foto klebt (sticky), das Band zieht darüber ---- */
.first--stage {
    padding-top: 0;
}

.stage {
    position: relative;
}

.stage__photo {
    position: sticky;
    top: 0;
    z-index: 0;
    height: 64svh;
    min-height: 460px;
    overflow: hidden;
    background: var(--primary-color);
}

.stage__photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 32%;
}

/* Abdunkeln beim Hochziehen – Deckkraft setzt js/main.js über --dim */
.stage__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: var(--primary-color);
    opacity: var(--dim, 0);
}

/* heller Verlauf hinter der Schrift – Bildbehandlung, kein Text-Schatten.
   Von links (dort steht der Text) nach rechts (Personen) ausklingend, oben leicht für Logo/Menü. */
.stage__scrim {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 100%;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(238, 242, 246, .80) 0%, rgba(238, 242, 246, .72) 40%, rgba(238, 242, 246, .32) 62%, rgba(238, 242, 246, 0) 82%),
        linear-gradient(180deg, rgba(238, 242, 246, .55) 0%, rgba(238, 242, 246, 0) 38%);
}

/* 768–1199: Text reicht hier weiter ins Bild – Verlauf links dichter (Lead sonst nur ~3,9 : 1; 2026-12-02) */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .stage__scrim {
        background:
            linear-gradient(90deg, rgba(238, 242, 246, .88) 0%, rgba(238, 242, 246, .84) 45%, rgba(238, 242, 246, .60) 66%, rgba(238, 242, 246, 0) 86%),
            linear-gradient(180deg, rgba(238, 242, 246, .55) 0%, rgba(238, 242, 246, 0) 38%);
    }
}

.stage__inner {
    position: relative;
    z-index: 1;
    padding-top: clamp(180px, 25vh, 220px);   /* unter dem 140px-Menü mit großem Logo */
}

/* Große Zeile: optisch die Hauptüberschrift, semantisch ein Absatz – die <h1> ist der Eyebrow darüber */
.stage__inner .stage__title {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--primary-color);
    font-size: clamp(1.9rem, 4.4vw, 3.4rem);
    line-height: 1.08;
    max-width: 30ch;
    margin-top: .9rem;
    margin-bottom: 0;
    text-wrap: pretty;
}

.stage__lede {
    margin-top: 1.1rem;
    max-width: 44ch;
    color: var(--petrol-grey-dark);
}

/* ---- Band "Das macht uns aus" ---- */
.band {
    position: relative;
    z-index: 1;
    background: var(--primary-color);
    color: var(--on-ink);
    padding: clamp(40px, 7svh, 72px) 0 clamp(64px, 14vh, 140px);
}

.band .eyebrow {
    color: var(--on-ink-dim);
}

.band__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(40px, 7svh, 84px) clamp(24px, 4vw, 56px);
    margin-top: clamp(20px, 3svh, 36px);
}

.band__item i {
    font-size: 2rem;
    color: var(--on-ink-icon);
}

.band__item h3 {
    font-size: 1.2rem;
    color: #fff;
    margin: 1rem 0 .5rem;
}

.band__item p {
    font-size: 1rem;                  /* Fließtext mind. 16 px (Lektorat), vorher .95rem */
    line-height: 1.6;
    color: var(--on-ink);
    margin-bottom: 0;
}

.band .link-arrow,
.band .btn-arrow {
    margin-top: 3rem;                 /* Abstand Text → Button einheitlich 3rem (= mt-5) */
}

.band .link-arrow {
    color: #fff;
}

/* ---- Abschnitte nach der Bühne ---- */
.sec {
    padding: clamp(64px, 12vh, 150px) 0;
}

.sec h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    max-width: 24ch;
    margin-top: .9rem;
}

.sec__body {
    margin-top: 1.25rem;
    max-width: 62ch;
    line-height: 1.7;
}

.sec__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 48px;
}

.sec__grid img {
    display: block;
    width: 100%;
    height: auto;
    margin-bottom: 1.25rem;
}

/* Services: Steuerberatung + Gestaltung als Karten, Digitale Zusammenarbeit als hervorgehobene Kachel (Foto + Primärblau) */
.sec__grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sec__feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    margin-top: 6.25rem; /* 100 px */
    background: var(--primary-color);
}

.sec__feature img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sec__feature-text {
    align-self: center;
    padding: clamp(2rem, 5vw, 4.5rem);
}

.sec--white .sec__feature h3 {
    color: #fff;
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    margin-bottom: 1rem;
}

.sec--white .sec__feature p {
    color: var(--on-ink);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

@media (max-width: 767px) {
    .sec__grid--two,
    .sec__feature {
        grid-template-columns: 1fr;
    }
}

.sec__grid h3 {
    font-size: 1.15rem;
    margin-bottom: .6rem;
}

.sec__grid p {
    font-size: .95rem;
    line-height: 1.6;
}

.sec--dark {
    background: var(--primary-color);
    color: var(--on-ink);
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.sec--dark .eyebrow {
    color: var(--on-ink-dim);
}

.sec--dark h2,
.sec--dark h3,
.sec--dark .link-arrow {
    color: #fff;
}

.sec--dark p {
    color: var(--on-ink);
}

/* Weißer Abschnitt – Kontrast auf #fff: #193153 ~10:1 (Headlines, Links),
   #42585E ~7:1 (Fließtext, Eyebrow) */
.sec--white {
    background: #fff;
    color: var(--petrol-grey-dark);
}

.sec--white .eyebrow {
    color: var(--petrol-grey-dark);
}

.sec--white h2,
.sec--white h3,
.sec--white .link-arrow {
    color: var(--primary-color);
}

.sec--white p {
    color: var(--petrol-grey-dark);
}

.sec--paper {
    background: var(--paper);
    margin-bottom: var(--elementBottomMargin);
}

.sec--paper h2 {
    color: var(--primary-color);
}

/* Text + Bild nebeneinander (Über-uns-Teaser): Liste links einspaltig, Foto rechts, max. 800 px, Originalverhältnis */
.sec__split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
    margin-top: 2rem;
}

.sec__split .checklist {
    margin-top: 0;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
}

/* Köln-Abschnitt: Text links (Eyebrow + H2 + Absätze), Foto rechts, mittig */
.sec__split--text {
    margin-top: 0;
}

.sec__figure {
    margin: 0;
    max-width: 800px;
}

.sec__figure img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 991.98px) {
    .sec__split {
        grid-template-columns: 1fr;
    }

    .sec__figure {
        order: -1;
    }
}

/* Stimmen aus unserem Team – Schachbrett (Vorbild: nicepage „interior design firm“, Zitat-Raster):
   Desktop 3 Spalten × 2 Reihen: Foto | Zitat | Foto  /  Zitat | Foto | Zitat, ohne Zwischenraum.
   Zitatfläche #7E9398: weiße Schrift nur 3,2:1 → ausschließlich große Schrift (≥ 24 px bzw. fett ≥ 18,7 px),
   Anführungszeichen als Grafik (≥ 3:1). Bei kleineren Breiten 2 Spalten, mobil 1 Spalte. */
.stimmen__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 2.5rem;
}

.stimmen__foto {
    position: relative;
    overflow: hidden;
    background: var(--paper);
}

/* Foto füllt die Zelle (Reihenhöhe bestimmt das höhere Zitatfeld der Reihe) */
.stimmen__foto img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stimmen__zitat {
    margin: 0;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    min-height: min(30vw, 27.5rem);   /* ≈ quadratisch, wächst mit dem Text */
    background: #5a7178;            /* Petrolgrau der Palette: Weiß 5,2:1 → auch kleine Schrift zulässig (vorher #7E9398, 3,2:1) */
    color: #fff;
    display: flex;
    flex-direction: column;
}

.stimmen__zitat i {
    font-size: 3rem;
    line-height: 1;
    margin-bottom: 1rem;
}

.stimmen__zitat p:not(.stimmen__autor) {
    flex: 1 1 auto;
    font-size: var(--h5);            /* Skala; vorher 1.5rem (Anouk 2026-10-15: etwas kleiner) */
    line-height: 1.4;
    color: #fff;
    margin: 0 0 1.25rem;
}

.stimmen__zitat p.stimmen__autor {
    flex: 0 0 auto;
    hyphens: auto;                    /* lange Wörter (Steuerfachangestellter) in schmalen Spalten bei 992 px */
    overflow-wrap: break-word;
    font-size: 1rem;                  /* normale p-Größe (wie Button-Schrift); Weiß auf #5A7178 = 5,2:1 */
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
    color: #fff;
}

.stimmen__cta {
    margin-top: 3rem;                 /* Abstand Text → Button einheitlich 3rem (= mt-5) */
}

/* Platzierung Desktop: Spalte = Person; Spalten 1+3 Foto oben, Spalte 2 Zitat oben */
@media (min-width: 992px) {
    .stimmen__foto.stimmen__c1, .stimmen__foto.stimmen__c3, .stimmen__zitat.stimmen__c2 { grid-row: 1; }
    .stimmen__zitat.stimmen__c1, .stimmen__zitat.stimmen__c3, .stimmen__foto.stimmen__c2 { grid-row: 2; }
    .stimmen__c1 { grid-column: 1; }
    .stimmen__c2 { grid-column: 2; }
    .stimmen__c3 { grid-column: 3; }
}

/* 576–991 px: 2 Spalten × 3 Reihen (Person = Reihe): Foto | Zitat, Zitat | Foto, Foto | Zitat */
@media (min-width: 576px) and (max-width: 991.98px) {
    .stimmen__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stimmen__zitat { min-height: min(50vw, 26rem); }
    .stimmen__c1 { grid-row: 1; }
    .stimmen__c2 { grid-row: 2; }
    .stimmen__c3 { grid-row: 3; }
    .stimmen__foto.stimmen__c1, .stimmen__foto.stimmen__c3, .stimmen__zitat.stimmen__c2 { grid-column: 1; }
    .stimmen__zitat.stimmen__c1, .stimmen__zitat.stimmen__c3, .stimmen__foto.stimmen__c2 { grid-column: 2; }
}

/* mobil: eine Spalte, je Person Foto dann Zitat; Zitatfläche wächst mit dem Text */
@media (max-width: 575.98px) {
    .stimmen__grid { grid-template-columns: 1fr; }
    .stimmen__foto { aspect-ratio: 1 / 1; }
    .stimmen__zitat { min-height: 0; }
}

/* Leistungen: nummerierte Liste, Ziffer + Titel kleben links, bis der Text der Leistung durch ist
   (incl/leistungen-tabs.php). Sticky-Abstand: unter der auf 80 px geschrumpften Navigation. */
.leistungenListe {
    margin-bottom: var(--elementBottomMarginMin);
    border-top: 1px solid var(--primary-color);
}

.leistung {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 1rem 3rem;
    align-items: start;
    padding: 2.5rem 0;
    border-bottom: 1px solid rgba(126, 147, 152, 0.4);
}

.leistung__lead {
    position: sticky;
    top: 6.5rem;
    align-self: start;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.5rem 1.5rem;
    align-items: start;
}

.leistung__num {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 0.9;
    letter-spacing: -0.02em;
    color: var(--petrol);
}

.leistung__title {
    min-width: 0;
}

.leistung__title .eyebrow {
    margin: 0.3rem 0 0.4rem;
}

.leistung__title h2 {
    margin-top: 0;
}

.leistung__lead h2 {
    font-size: clamp(1.3rem, 2.3vw, 2rem);
    line-height: 1.2;
    margin: 0.3rem 0 0;
    min-width: 0;
    /* lange Wörter (Gesellschaftsstrukturen) dürfen nie in die Textspalte laufen */
    hyphens: auto;
    overflow-wrap: anywhere;
}

/* mittlere Breiten: schmale Spalte → Ziffer über dem Titel statt daneben */
@media (min-width: 992px) and (max-width: 1279.98px) {
    .leistung__lead {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
}

.leistung__body p {
    max-width: 62ch;
}

.checklist.checklist--single {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
    margin-top: 1.25rem;
}

/* mobil schlicht: keine Sticky-Wirkung, kleine Ziffer über dem Titel */
@media (max-width: 991.98px) {
    .leistung {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1.5rem 0;
    }

    .leistung__lead {
        position: static;
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }

    .leistung__num {
        font-family: var(--font-mono);
        font-weight: 500;
        font-size: 0.8rem;
        line-height: 1.5;
        letter-spacing: 0.14em;
    }

    .leistung__lead h2 {
        font-size: 1.35rem;
        margin: 0;
    }
}

/* Checkliste (Über-uns-Teaser): zwei Spalten, dünne Häkchen in Petrol (Grafik 4,8:1), feine Trennlinien.
   Liest sich spaltenweise von oben nach unten (5 + 5). */
.checklist {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(5, auto);
    grid-auto-flow: column;
    column-gap: clamp(2rem, 5vw, 4rem);
    max-width: 62rem;
}

.checklist li {
    display: flex;
    gap: 0.9rem;
    align-items: baseline;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(126, 147, 152, 0.35);
    font-size: 1.05rem;
    line-height: 1.5;
}

.checklist i {
    flex: 0 0 auto;
    color: var(--petrol);
    font-size: 1.1rem;
}

@media (max-width: 767px) {
    .checklist {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-flow: row;
    }
}

@media (max-width: 991.98px) {
    .band__grid,
    .sec__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .stage__photo {
        height: 88svh;
        min-height: 480px;
    }

    .stage__inner {
        padding-top: clamp(100px, 17vh, 140px);
    }

    /* Hochformat: Schrift liegt tiefer im Bild – Verlauf länger halten */
    .stage__scrim {
        background: linear-gradient(180deg, rgba(238, 242, 246, .94) 0%, rgba(238, 242, 246, .9) 55%, rgba(238, 242, 246, .6) 80%, rgba(238, 242, 246, 0) 100%);
    }

    .band__grid,
    .sec__grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Menü über der Bühne: transparent, Farbe folgt dem Untergrund ----
   js/main.js setzt .has-navflip + data-nav="dark|light" auf <html>, sobald die
   Seite Abschnitte mit data-nav hat. Seiten ohne data-nav bleiben unverändert. */
.has-navflip .navbar {
    background-color: transparent;
    box-shadow: none;
    border-bottom: 1px solid transparent;
    color: var(--primary-color);
}

.has-navflip .navbar img.lrg-logo {
    transition: filter .35s ease, height .6s ease-in-out, max-height .6s ease-in-out;
}

/* Hamburger folgt der Menüfarbe (Primärblau auf heller Leiste, Weiß über dunklem Band). Bootstrap färbt den Toggler
   sonst grau-schwarz (rgba(0,0,0,.55)) – auf dem #193153-Band kaum sichtbar. */
.navbar .navbar-toggler {
    color: inherit;
    border-radius: 0;   /* Bootstrap setzt --bs-navbar-toggler-border-radius direkt auf .navbar */
}

.has-navflip .navbar .menu-toggle {
    color: currentColor;
}

.has-navflip[data-nav="light"] .navbar {
    color: #fff;
}

.navbar .navbar-brand img.lrg-logo--weiss {
    display: none;
}

.has-navflip[data-nav="light"] .navbar .navbar-brand img.lrg-logo--blau {
    display: none;
}

.has-navflip[data-nav="light"] .navbar .navbar-brand img.lrg-logo--weiss {
    display: inline-block;         /* weißes Logo über dunklem Band */
}

/* Geschrumpfte Leiste: nur das H-Zeichen (blau auf heller, weiß auf dunkler Leiste), nicht das ganze Logo */
.navbar .navbar-brand img.lrg-logo--h {
    display: none;
}

.navbar.shrink .navbar-brand img.lrg-logo:not(.lrg-logo--h) {
    display: none !important;
}

.navbar.shrink .navbar-brand img.lrg-logo--h-blau {
    display: inline-block;
}

.navbar.shrink img.lrg-logo.lrg-logo--h {
    height: 3.5rem;
    max-height: 3.5rem;
    width: auto;
    /* auf derselben Mittellinie wie das volle Logo (12,36 rem breit): (12,36 − 5,03) / 2 ≈ 3,67 rem nach rechts,
       damit das H beim Schrumpfen nicht nach links springt */
    margin-left: 3.67rem;
}

.has-navflip[data-nav="light"] .navbar.shrink .navbar-brand img.lrg-logo--h-blau {
    display: none;
}

.has-navflip[data-nav="light"] .navbar.shrink .navbar-brand img.lrg-logo--h-weiss {
    display: inline-block;
}

@media screen and (max-width: 767px) {
    .navbar.shrink img.lrg-logo.lrg-logo--h {
        height: 2.75rem;
        max-height: 2.75rem;
        margin-left: 0.62rem;   /* Mittellinie zum vollen Logo mobil (5,19 rem breit, H 3,95 rem) */
    }
}

.has-navflip .navbar.shrink {
    background-color: rgba(238, 242, 246, .94);
    border-bottom-color: rgba(126, 147, 152, .35);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.has-navflip[data-nav="light"] .navbar.shrink {
    background-color: rgba(25, 49, 83, .88);
    border-bottom-color: rgba(255, 255, 255, .14);
}

/* ---- $navMode = 'inline' (incl/nav-config.php): ab xl Menüpunkte ausgeschrieben ---- */
@media (min-width: 1200px) {
    .nav--inline .offcanvas {
        width: auto !important;    /* überschreibt die Offcanvas-Breite (580px !important) */
        margin-left: auto;
        overflow: visible;         /* sonst schneidet das Offcanvas-overflow die Dropdowns ab */
    }

    .nav--inline .offcanvas-body {
        width: auto;
        text-align: left;
    }

    .nav--inline .navbar-nav {
        gap: 1.5rem;
    }

    .nav--inline .navbar-nav .nav-link,
    .nav--inline .navbar-nav .nav-link.active,
    .nav--inline .navbar-nav .nav-link.show,
    .nav--inline .navbar-nav .nav-link:hover {
        background: transparent !important;   /* Offcanvas-Hover-Flächen (!important) aus */
        color: inherit !important;
        font-family: var(--font-mono);
        font-size: .8rem;
        font-weight: 500;
        letter-spacing: .12em;
        text-transform: uppercase !important;
        padding: .25rem 0;
        border-bottom: 1px solid transparent;
    }

    .nav--inline .navbar-nav .nav-link.active {
        border-bottom-color: currentColor;
    }

    .nav--inline .navbar-nav .dropdown-menu {
        border-radius: 0;
        border: 1px solid rgba(126, 147, 152, .35);
    }
}

/* ---- CTA-Reiter rechts ---- */
.cta-tab {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1020;
    writing-mode: vertical-rl;
    padding: 20px 11px;
    background: var(--primary-color);
    color: #fff;
    font-family: var(--font-mono);
    font-size: .78rem;
    font-weight: 500;
    letter-spacing: .22em;
    text-transform: uppercase;
    text-decoration: none;
    transition: opacity .4s ease, transform .4s ease, background-color .2s ease;
}

.cta-tab:hover,
.cta-tab:focus-visible {
    background: var(--petrol);
    color: #fff;
}

.cta-tab.is-hidden {
    opacity: 0;
    transform: translateY(-50%) translateX(100%);
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .cta-tab,
    a.link-arrow i {
        transition: none;
    }
}

/* Hochgestellte Marker (Sternchen, Fußnoten): auf hellem Grund Primärblau #193153 (10:1 auf Weiß),
   damit der Hinweis auffällt; auf dunklen Flächen bleibt es bei der Textfarbe (erbt). */
.textblock sup,
.infocenter sup,
#infocenter sup,
.sec--white sup,
.sec--paper sup,
.wgbr-scope sup {
    color: var(--primary-color);
    font-weight: 600;
}

.tooltip .tooltip-inner {
    border-radius: 0;
}

/* ---- Bühne (incl/blocks/buehne.php): Foto, Farbfläche dahinter, überlappende blaue Box – Gestaltung aus dem CL-Beispiel (Anouk) ----
   Als Inhaltsblock (z. B. Über uns). Farbfläche in Containerbreite (testweise #7E9398), Foto 5 rem schmaler, blaue Box (Ausgangsblau)
   überlappt das Foto unten und hängt unter die Farbfläche; ohne Schatten; Text zentriert. Als Seitenkopf verworfen (Nutzer, 2026-09-25) –
   Variante liegt in der Bibliothek (bibliothek/seitenkopf.html). */
.buehne {
    --kopf-foto-h: clamp(15rem, 34vw, 23rem);
    margin: 3rem auto;                /* auto: zentriert wie .container (vorher 0 = klebte links) */
}

.buehne__stage {
    position: relative;
}

.buehne__block {
    position: absolute;
    left: 0;
    right: 0;
    top: 2.4rem;                      /* beginnt ~38 px unter der Fotokante */
    bottom: 3rem;                     /* die Karte hängt 3 rem darunter */
    background: #7e9398;
}

.buehne__foto {
    position: relative;
    display: block;
    width: calc(100% - 5rem);         /* Farbfläche steht ~2,5 rem (40 px) beidseitig über das Foto */
    height: var(--kopf-foto-h);
    margin: 0 auto;
    object-fit: cover;
    object-position: 50% 30%;
}

.buehne__karte {
    position: relative;
    width: min(44rem, 86%);
    margin: -4rem auto 0;             /* überlappt das Foto unten */
    padding: clamp(1.5rem, 3.5vw, 2.5rem) clamp(1.25rem, 4vw, 3rem);
    background: var(--primary-color);
    text-align: center;
}

.buehne__karte .eyebrow {
    color: var(--on-ink-dim);
}

.buehne__karte h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.4rem);
    line-height: 1.12;
    margin: 0.6rem 0 0;
    color: #fff;
    text-wrap: balance;
}

@media (max-width: 767.98px) {
    .buehne { margin: 2rem auto; }
    .buehne__foto { width: calc(100% - 2rem); }
    .buehne__block { top: 1.5rem; bottom: 2rem; }
    .buehne__karte { margin-top: -2.5rem; width: 94%; }
}


/* ------------------------------------------------------------------------
   Consent-Hinweis für externe Links (incl/consent-modal.php, js/consent-popup.js)
   Standard-Baustein (Team-Master bibliothek/consent-hinweis). Nur die :root-Variablen werden pro Projekt
   an das Kunden-CI angepasst; der Rest bleibt unverändert.
   Hillringhaus (2026-10-13, mit Olaf abgestimmt): Blau #193153 (10:1 auf Weiß), Radius 0, Standardtexte.
   ------------------------------------------------------------------------ */
:root {
    --consent-radius: 0;              /* Dialog */
    --consent-btn-radius: 0;          /* Buttons */
    --consent-overlay-bg: rgba(15, 30, 51, .7);   /* #193153, abgedunkelt */
    --consent-heading: #193153;       /* Ausgangsblau */
    --consent-text: #42585E;          /* Dunkles Petrolgrau, 7,5:1 auf Weiß */
    --consent-text-muted: #5A7178;    /* Petrolgrau, 5,2:1 auf Weiß */
    --consent-link: #193153;
    --consent-accent: #193153;        /* Bestätigen-Button */
    --consent-accent-text: #ffffff;
}

.consent-overlay {
    position: fixed;
    inset: 0;
    background: var(--consent-overlay-bg);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1080;
    padding: 1rem;
}

.consent-overlay.is-open {
    display: flex;
}

.consent-dialog {
    background: #fff;
    border-radius: var(--consent-radius);
    padding: 2rem;
    max-width: 30rem;
    width: 100%;
    box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, .25);
}

.consent-dialog h2 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: var(--consent-heading);
    margin-bottom: 1rem;
}

.consent-dialog p {
    color: var(--consent-text);
}

.consent-privacy {
    font-size: 1rem;
    color: var(--consent-text-muted);
    margin-top: 1rem;
    margin-bottom: 0;
}

.consent-dialog .consent-privacy {
    color: var(--consent-text-muted);
}

.consent-privacy a {
    color: var(--consent-link);
}

.consent-actions {
    display: flex;
    gap: .75rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.consent-cancel,
.consent-confirm {
    border: 1px solid transparent;
    border-radius: var(--consent-btn-radius);
    padding: .625rem 1.25rem;
    font-size: 1rem;
    line-height: 1.5;
    cursor: pointer;
}

.consent-confirm {
    background-color: var(--consent-accent);
    border-color: var(--consent-accent);
    color: var(--consent-accent-text);
}

.consent-confirm:hover,
.consent-confirm:focus-visible {
    background-color: var(--consent-accent-text);
    color: var(--consent-accent);
}

.consent-cancel {
    background-color: #fff;
    border-color: var(--consent-text);
    color: var(--consent-text);
}

.consent-cancel:hover,
.consent-cancel:focus-visible {
    background-color: var(--consent-text);
    color: #fff;
}

@media (max-width: 399.98px) {
    .consent-actions {
        flex-direction: column-reverse;
    }

    .consent-cancel,
    .consent-confirm {
        width: 100%;
    }
}

/* ELEMENT: Seitenkopf Folgeseiten (incl/blocks/seitenkopf.php) – ENTWURF 2026-10-13 (Wunsch Anouk):
   Optik wie .imageBox („Gemeinsam arbeiten“): Foto in Containerbreite, rechts Petrol-Panel mit h1.
   Panel-Farbe = .imageBox__text; Weiß darauf auch über hellem Himmel ≥ 6:1. */
.seitenkopf {
    padding-top: 2rem;               /* Navbar-Schatten (0 8px 24px) läuft frei aus, nicht ins Foto */
    margin-bottom: var(--elementBottomMargin);   /* wie der Abstand zwischen Abschnitten (Nutzer 2026-10-13), vorher Half */
}

/* Foto + Panel als zwei überlagernde Container (Grid, gleiche Zelle) statt background-image (Nutzer 2026-10-13):
   der Ausschnitt steckt in der Bilddatei (1280 × 440). Wird das Panel höher als das Foto (lange Titel),
   wächst die Zelle und das Foto füllt per object-fit mit. */
.seitenkopf__stage {
    display: grid;
}

.seitenkopf__img,
.seitenkopf__overlay {
    grid-area: 1 / 1;
}

.seitenkopf__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seitenkopf__overlay {
    position: relative;               /* über dem Foto */
}

.seitenkopf__panel {
    background: linear-gradient(rgba(19, 51, 66, 0.75), rgba(19, 51, 66, 0.75));
    padding: 2.5rem 2rem;
}

.seitenkopf__panel h1 {
    margin-bottom: 0;
    /* lange Wörter („Wirtschaftsprüfung“) müssen ins Panel passen: Größe an die Breite koppeln
       (Grenzen in rem), Silbentrennung als Absicherung */
    font-size: var(--h3);              /* Skala statt clamp (Nutzer 2026-10-13); lange Wörter passen ins Panel */
    hyphens: auto;
    overflow-wrap: break-word;
}

/* Eyebrow als span in der h1 des Seitenkopfs (z. B. „Stellenangebote“ über dem Stellentitel) – bewusst dezent (v. a. für SEO, Nutzer 2026-10-14) */
.seitenkopf h1 .eyebrow {
    display: block;
    color: var(--on-ink-icon);
    margin-bottom: .5rem;
}

.seitenkopf__lede {
    font-size: var(--h5);
    margin: 1rem 0 0;
}

/* schmal: Foto oben sichtbar, Panel darunter (deckend), statt das Foto ganz zu überdecken */
@media screen and (max-width: 767.98px) {
    /* mobil: Foto oben mit fester Höhe, Panel darunter (deckend) – nicht mehr überlagert */
    .seitenkopf__img {
        height: 14rem;
    }

    .seitenkopf__overlay {
        grid-area: 2 / 1;
    }

    .seitenkopf__panel {
        background: rgb(19, 51, 66);
        padding: 1.75rem 1.25rem;
    }
}


/* ELEMENT: Gemeinsam arbeiten (incl/blocks/gemeinsam-arbeiten.php) – Carousel, Optik wie Seitenkopf (2026-11-18):
   Fotos 1280 × 440 als <img> (Motiv links), Petrol-Panel fest rechts darüber. Panel-Farbe wie .seitenkopf__panel.
   Steuerung (Pfeile) links unten, Weiß auf Foto mit dunklem Verlauf ≥ 4,5:1. Mobil: Foto oben, Panel darunter. */
.gemeinsam {
    margin-bottom: var(--elementBottomMargin);
}

.gemeinsam__stage {
    display: grid;
}

.gemeinsam__carousel,
.gemeinsam__overlay {
    grid-area: 1 / 1;
}

.gemeinsam__carousel {
    position: relative;
}

.gemeinsam__img {
    display: block;
    width: 100%;
    height: auto;
}

.gemeinsam__overlay {
    position: relative;
    pointer-events: none;            /* Klicks gehen an Pfeile/Wischen im Foto durch */
}

.gemeinsam__panel {
    background: linear-gradient(rgba(19, 51, 66, 0.75), rgba(19, 51, 66, 0.75));
    padding: 2.5rem 2rem;
}

.gemeinsam__steuerung {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    display: flex;
    gap: .5rem;
}

.gemeinsam__btn {
    width: 3rem;
    height: 3rem;
    border: 0;
    background: rgba(19, 51, 66, .85);
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.gemeinsam__btn:hover {
    background: rgb(19, 51, 66);
}

.gemeinsam__btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

@media screen and (max-width: 767.98px) {
    .gemeinsam__carousel {
        grid-area: 1 / 1;
    }

    .gemeinsam__img {
        height: 14rem;
        object-position: 20% 50%;   /* Motiv steht links, Panel entfällt mobil */
        object-fit: cover;
    }

    .gemeinsam__overlay {
        grid-area: 2 / 1;
    }

    .gemeinsam__panel {
        background: rgb(19, 51, 66);
        padding: 1.75rem 1.25rem;
    }
}
/* Mandantenmerkblätter (aktuelles-merkblaetter.php): Datenschutzhinweis des Deubner-Fragments hat 10px – auf Textgröße, rem (2026-11-18) */
.merkblaetter .datenschutz {
    font-size: 1rem;
    margin-top: 2rem;
}

/* „Das macht uns aus“ hell (Folgeseiten, $dmuaVariante = 'hell') – gleiche Icon-Kachelung wie das
   Startseiten-Band, aber auf Paper statt Blau. Kontrast: Text #42585E auf #eef2f6 5,8:1,
   h3 #193153 7,5:1, Icons Petrol 3,6:1 (Grafik ≥ 3:1). */
.band--hell {
    background: var(--paper);
    color: var(--petrol-grey-dark);
    padding: 4rem 0 4.5rem;
    margin-bottom: var(--elementBottomMargin);
}

.band--hell .eyebrow {
    color: var(--petrol-grey-dark);
}

.band--hell .band__item i {
    color: var(--petrol);
}

.band--hell .band__item h3 {
    color: var(--primary-color);
}

.band--hell .band__item p {
    color: var(--petrol-grey-dark);
}

/* Text zweispaltig in voller Containerbreite (z. B. unter der Bühne „In Köln zu Hause“ auf Über uns) –
   ab md zwei Spalten, darunter eine. */
@media (min-width: 768px) {
    .text-spalten {
        column-count: 2;
        column-gap: 3rem;
    }

    .text-spalten > p:first-child {
        margin-top: 0;
    }
}

/* „Das macht uns aus“ grau (Über uns, $dmuaVariante = 'grau', Nutzer 2026-10-13). Gewünscht war #7E9398 –
   darauf erreicht keine Palettenfarbe 4,5:1 für Fließtext (Weiß 3,22, Blau 3,10). Daher die dunklere Schwester
   Petrolgrau #5A7178: Weiß darauf 5,16:1 (Text, Überschriften, Icons). */
.band--grau {
    background: #5A7178;
    color: #fff;
    padding: 4rem 0 4.5rem;
    margin-bottom: var(--elementBottomMargin);
}

.band--grau .eyebrow,
.band--grau .band__item i,
.band--grau .band__item h3,
.band--grau .band__item p {
    color: #fff;
}

/* ELEMENT: Ihre Berater (team.php) – nach CL-Abbildung 05: helle Fläche, links nur die Überschrift, rechts
   quadratische Porträt-Kacheln (img, kein background-image) mit Name im Bild. Klick/Enter klappt Schwerpunkte +
   Zitat darunter auf (Bootstrap-Collapse, aria-expanded). Name auf Petrol-Verlauf (≥ 75 % Deckung) → Weiß ≥ 6:1. */
.berater {
    margin-top: var(--elementBottomMargin);      /* voller Abschnittsabstand nach oben (Nutzer 2026-10-13) */
    margin-bottom: var(--elementBottomMargin);
}

/* Fläche oben (Überschrift + Kacheln) in #7E9398 (Nutzer 2026-10-13): Weiß darauf 3,22:1 → nur große Schrift (h2 40 px).
   Die aufklappenden Details (Fließtext) stehen deshalb darunter auf Paper – dort Text ≥ 5,8:1. */
.berater__flaeche {
    background: var(--paper);
}

.berater__flaeche > .row {
    background: #7e9398;
    padding: 2rem;
}

.berater__kopf {
    display: flex;
    align-items: center;
    padding: 0 2rem 1.5rem 0;
}

.berater__kopf h2 {
    color: #fff;
    margin: 0;
}

/* gleich große Kacheln: unter lg zwei Spalten mit gleichmäßiger Lücke, ab lg Lücke links neben jeder Kachel */
.berater__karte:nth-child(2) {
    padding-right: .375rem;
}

.berater__karte:nth-child(3) {
    padding-left: .375rem;
}

@media (min-width: 992px) {
    .berater__karte:nth-child(2),
    .berater__karte:nth-child(3) {
        padding: 0 0 0 .75rem;
    }

    .berater__kopf {
        padding-bottom: 0;
    }
}

.berater__btn {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    text-align: left;
    cursor: pointer;
}

.berater__btn img {
    display: block;
    width: 100%;
    height: auto;
}

.berater__name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 3rem 3.5rem 1rem 1.25rem;   /* rechts Platz fürs Plus-Icon */
    background: linear-gradient(to top, rgba(19, 51, 66, .9) 0%, rgba(19, 51, 66, .75) 55%, rgba(19, 51, 66, 0) 100%);
    color: #fff;
    font-family: var(--font-display);
    font-size: var(--h5);
    font-weight: 600;
    line-height: 1.25;
}

.berater__titel {
    display: block;
    font-family: var(--font-body);
    font-size: 85%;                    /* Zusatzinfo = small */
    font-weight: 400;
    margin-top: .25rem;
}

.berater__mehr {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    transition: transform .2s ease;
}

.berater__btn[aria-expanded="true"] .berater__mehr {
    transform: rotate(45deg);              /* Plus → Kreuz */
}

.berater__btn:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.berater__details {
    padding: 2rem;
}

.berater__details blockquote {
    margin: 1.5rem 0 0;
    font-style: italic;
}

@media (max-width: 575.98px) {
    .berater__flaeche > .row,
    .berater__details {
        padding: 1.25rem;
    }

    /* schmal: Name nicht über, sondern unter dem Foto (sonst verdeckt er fast das ganze Porträt);
       beide Kacheln gleich hoch, auch wenn der Titel unterschiedlich umbricht */
    .berater__btn {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .berater__name {
        flex: 1;
        position: static;
        padding: .75rem 2.25rem .75rem .75rem;
        background: rgb(19, 51, 66);
        font-size: 1rem;
    }

    .berater__mehr {
        right: .6rem;
        bottom: .75rem;
        font-size: 1.1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .berater__mehr {
        transition: none;
    }
}

/* ===== Kanzleialltag (karriere-kanzleialltag.php) – nach CL-Abbildung 07, in Hillringhaus-CI (2026-10-13) =====
   Paper-Karten mit Nummer (Blau, Weiß 10:1), Fotos als <img> oben, Icons Petrol (Grafik 3,6:1 auf Paper),
   Flexibilität zweifarbig (#7E9398 nur für die große Überschrift, Punkte auf Paper), Abschlussband Blau. */
/* drei Kurzpunkte als Kacheln über die volle Containerbreite (Nutzer: „verliert sich so unspektakulär“) */
.alltag-punkte {
    list-style: none;
    padding: 0;
    margin: 3rem 0 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .alltag-punkte {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.alltag-punkte li {
    background: var(--paper);
    border-top: 3px solid var(--petrol);
    padding: 2rem 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.alltag-punkte i {
    font-size: 3rem;
    line-height: 1;
    color: var(--petrol);
    flex: none;
}

.alltag-punkte span {
    font-family: var(--font-display);
    font-size: var(--h5);
    font-weight: 500;
    line-height: 1.25;
    color: var(--primary-color);
}

.alltag {
    margin-bottom: var(--elementBottomMarginHalf);   /* wie Abstand Kurzpunkte → Karten (Nutzer 2026-10-13) */
}

.alltag__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .alltag__grid {
        grid-template-columns: 1fr 1fr;
    }

    .alltag__karte.alltag__karte--breit {   /* doppelte Klasse: schlägt das spätere .alltag__karte { display:flex } */
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1fr 1fr;      /* 03: Text links, Kacheln rechts, 50:50 = col-6 : col-6 (Nutzer 2026-10-13) */
        column-gap: 1.5rem;                  /* = Lücke des Kartenrasters → Kacheln beginnen bündig mit Karte 02/05 */
        align-items: stretch;                /* Kacheln füllen die Kartenhöhe (Nutzer: „etwas höher“) */
    }

    .alltag__karte--breit .alltag__icons {
        grid-template-rows: 1fr 1fr;
    }
}

.alltag__karte {
    background: var(--paper);
    display: flex;
    flex-direction: column;
}

.alltag__karte > img {
    display: block;
    width: 100%;
    height: auto;
}

.alltag__text {
    padding: 2rem;
}

/* Ziffer wie bei den Leistungsseiten (.leistung__num): groß, dünn, Petrol, ohne Kasten.
   Auf Paper erreicht Petrol 3,6:1 → nur als große Schrift; deshalb mobil NICHT klein in Mono wie dort, sondern weiter groß. */
.alltag__nr {
    display: block;
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.75rem, 5vw, 4rem);
    line-height: .9;
    letter-spacing: -0.02em;
    color: var(--petrol);
    margin-bottom: 1rem;
}

.alltag__text h2 {
    font-size: var(--h4);
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.alltag__icons {
    list-style: none;
    margin: 0;
    padding: 0 2rem 2rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);   /* gleich breit, auch bei langen Wörtern */
    gap: 1rem;
}

@media (min-width: 992px) {
    .alltag__icons {
        padding: 2rem 2rem 2rem 0;
    }
}

.alltag__icons li {
    overflow-wrap: anywhere;
    hyphens: auto;
    background: #fff;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: .75rem;
}

.alltag__icons i {
    font-size: 2rem;
    color: var(--petrol);
}

/* Flexibilität: zweifarbig */
.flex-alltag {
    margin-bottom: var(--elementBottomMargin);
}

.flex-alltag__kopf {
    background: #7e9398;
    padding: 2rem;
}

.flex-alltag__kopf h2 {
    font-size: var(--h3);              /* H3-Größe (Anouk 2026-10-15: H2 war zu groß); 32 px / mobil 24 px = große Schrift (Kontrast 3,22:1 reicht) */
    color: #fff;
    margin: 0;
}

.flex-alltag__punkte {
    background: var(--paper);
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .flex-alltag__punkte {
        grid-template-columns: repeat(3, 1fr);
    }
}

.flex-alltag__punkt i {
    font-size: 2rem;
    color: var(--petrol);
}

.flex-alltag__punkt h3 {
    font-size: var(--h5);
    color: var(--primary-color);
    margin: 1rem 0 .5rem;
}

.flex-alltag__punkt p {
    margin: 0;
}

/* Abschlussband „Passt du zu uns?“ */
.alltag-cta {
    margin-top: var(--elementBottomMargin);
    margin-bottom: var(--elementBottomMargin);
}

.alltag-cta__band {
    background: var(--primary-color);
    color: #fff;
    padding: 3rem 2rem;
    text-align: center;
}

.alltag-cta__band h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.alltag-cta__band p {
    color: #fff;
    max-width: 44rem;
    margin: 0 auto;
}

.alltag-cta__buttons {
    margin-top: 3rem;                  /* Abstand Text → Button einheitlich 3rem */
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem 2.5rem;
}

.alltag-cta__link {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: .08em;
}

.alltag-cta__link:hover,
.alltag-cta__link:focus-visible {
    color: #fff;
    text-decoration-thickness: 2px;
}

@media (max-width: 575.98px) {
    .alltag__text,
    .flex-alltag__kopf,
    .flex-alltag__punkte {
        padding: 1.25rem;
    }

    .alltag__icons {
        padding: 0 1.25rem 1.25rem;
    }
}

/* Stimmen aus dem Team: oben kein eigener Innenabstand der .sec – sonst addiert er sich zum Abschnittsabstand
   des vorigen Blocks (vorher 263 px vor der Überschrift, Nutzer 2026-10-13: „könnte geringer sein“). */
.sec.stimmen {
    padding-top: 0;
}

/* Karriere-Kacheln (incl/blocks/karriere-kacheln.php): zwei ganz verlinkte Kacheln, zweifarbig, eckig */
.karriere-kacheln {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: var(--elementBottomMargin);
}

@media (min-width: 768px) {
    .karriere-kacheln {
        grid-template-columns: repeat(2, minmax(0, 1fr));   /* Offene Stellen | Online bewerben (Ausbildung vorläufig aus – dann wieder repeat(3, …)) */
    }
}

.karriere-kachel {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;       /* Titel aller Kacheln auf gleicher Oberkante (Nutzer 2026-10-13) */
    min-height: 13rem;
    padding: 2rem 4.5rem 2rem 2rem;
    color: #fff;
    hyphens: auto;
    text-decoration: none;
    transition: background-color .2s ease;
}

.karriere-kachel--blau {
    background: var(--primary-color);
}

.karriere-kachel--grau {
    background: #5a7178;               /* Petrolgrau statt #7E9398: Weiß 5,16:1 → auch kleine, normale Schrift (m/w/d) zulässig */
}

.karriere-kachel:hover,
.karriere-kachel:focus-visible {
    color: #fff;
}

.karriere-kachel--blau:hover,
.karriere-kachel--blau:focus-visible {
    background: rgb(19, 51, 66);       /* dunkles Petrol (wie Seitenkopf-Panel), keine neue Farbe */
}

.karriere-kachel--grau:hover,
.karriere-kachel--grau:focus-visible {
    background: #42585e;               /* Dunkles Petrolgrau (Palette) */
}

.karriere-kachel:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 3px;
}

.karriere-kachel__titel {
    font-family: var(--font-display);
    font-size: var(--h4);
    font-weight: 600;
    line-height: 1.15;
}

.karriere-kachel__text {
    margin-top: .5rem;
}

.karriere-kachel__pfeil {
    position: absolute;
    right: 2rem;
    bottom: 2rem;
    font-size: 2rem;
    transition: transform .2s ease;
}

.karriere-kachel:hover .karriere-kachel__pfeil,
.karriere-kachel:focus-visible .karriere-kachel__pfeil {
    transform: translateX(.35rem);
}

@media (prefers-reduced-motion: reduce) {
    .karriere-kachel,
    .karriere-kachel__pfeil {
        transition: none;
    }
}

/* Karriere-Kacheln schmal (3 Spalten bei 768–1199 px): Pfeil unter den Text, Titel bekommt die volle Breite */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .karriere-kachel {
        padding: 1.5rem 1.5rem 4.25rem;
    }

    .karriere-kachel__pfeil {
        right: auto;
        left: 1.5rem;
        bottom: 1.5rem;
    }

}

/* (m/w/d) auf den Kacheln: klein und nicht fett – möglich, weil die mittlere Kachel Petrolgrau (5,16:1) ist. */
.karriere-kachel__text--gross {
    font-family: var(--font-body);     /* Pflichtangabe (m/w/d) = Zusatzinfo → small 85 % (Nutzer 2026-10-13) */
    font-size: 85%;
    font-weight: 300;
    line-height: 1.5;
}


/* Typo-Skala (Nutzer 2026-10-13): nur h1–h6, p und small (85 %); keine Sonder-Größen. */
small,
.small {
    font-size: 85%;
}

@media (min-width: 1200px) {
    .seitenkopf__panel h1 {
        font-size: var(--h2);
    }
}

/* Stellenangebote (karriere-stellenangebote.php): Titel + Eckdaten + Bewerben-Button direkt unter dem Seitenkopf */
.stelle {
    margin-bottom: var(--elementBottomMarginHalf);
}

.stelle__eckdaten {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 2rem;
}

.stelle__eckdaten i {
    color: var(--petrol);
    margin-right: .25rem;
}

.stelle__button {
    margin-top: 3rem;                  /* Abstand Text → Button einheitlich 3rem */
}

.stelle__mehrwert {
    margin-top: var(--elementBottomMarginHalf);
}

/* Informationsbrief: Archiv rechts – Link-Liste mit dünnen Trennlinien (wie "Ähnliche Artikel") */
.ib-archiv h3 {
    margin-top: 0;
}

.ib-archiv ul li + li {
    border-top: 1px solid #eaf4f9;
}

.ib-archiv ul li a {
    display: block;
    padding: 0.7rem 0;
    line-height: 1.4;
}

.ib-archiv ul li a i {
    margin-right: 0.5rem;
}

.ib-archiv ul li a:hover,
.ib-archiv ul li a:focus-visible {
    text-decoration: underline !important;
}

@media (min-width: 992px) {
    .ib-archiv {
        padding-left: 2rem;
    }
}

.textblock .ib-archiv ul li a:not(.btn) {
    text-decoration: none !important;
}

.textblock .ib-archiv ul li a:not(.btn):hover,
.textblock .ib-archiv ul li a:not(.btn):focus-visible {
    text-decoration: underline !important;
}

/* Downloads (Kanzlei-Dateien in downloads/): Zeilen mit feiner Trennlinie, Dateityp-Icon in Petrol, Button rechts.
   Farben/Linien wie .portal-accordion; Schrift nur h3/p/small. */
.dl-gruppe {
    margin-top: 3rem;
    margin-bottom: 0.5rem;
}

.dl-liste {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
}

.dl-liste li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(126, 147, 152, 0.35);
}

.dl-liste li:first-child {
    border-top: 1px solid rgba(126, 147, 152, 0.35);
}

.dl-liste__icon {
    flex: 0 0 auto;
    font-size: 1.75rem;
    line-height: 1;
    color: var(--petrol);
}

.dl-liste__text {
    flex: 1 1 14rem;
    min-width: 0;
}

.dl-liste__titel {
    display: block;
    font-weight: 400;
}

.dl-liste__meta {
    display: block;
    color: var(--petrol-grey-dark);
}

.dl-liste__btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

@media screen and (max-width: 575px) {
    .dl-liste__btn {
        flex: 1 1 100%;
        text-align: center;
    }
}

/* GmbH-Portal: Akkordeon im Stil der Checkliste (Über uns) – feine Trennlinien, leichte Schrift,
   dünnes Chevron in Petrol (Sharp Thin) statt Häkchen. Gescoped auf .portal-accordion. */
.portal-accordion h3.trigger {
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.5 !important;
    margin: 0 !important;
    padding: 0.85rem 0 0.85rem 2.4rem;
    border-bottom: 1px solid rgba(126, 147, 152, 0.35);
}

.portal-accordion h3.trigger.trigger_active {
    margin-bottom: 0 !important;
}

.portal-accordion h3.trigger::before {
    font-family: "Font Awesome 7 Sharp";
    font-weight: 100;
    font-size: 1.1rem;
    color: var(--petrol);
    top: 0.95rem;
}

.portal-accordion .toggle_container {
    margin-bottom: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(126, 147, 152, 0.35);
}

/* Abstand nach dem Akkordeon-Block (z. B. vor "Die Besteuerung einer GmbH …") */
.infocenter {
    & [data-role="collapsible"] {
        margin-top: 2rem !important;
        margin-bottom: 2rem;
    }
}

/* GmbH-Portal: nur die Trigger-Zeilen tragen den Chevron-Streifen – Überschriften, Absätze, Listen und
   ausgeklappte Inhalte stehen bündig links (kein 2.4rem-/1.4rem-Einzug). */
.portal-accordion.infocenter :is(h2, h3:not(.trigger), h4, p, ul, ol),
.portal-accordion.infocenter .toggle_container {
    padding-left: 0;
}

/* (Spezifität: das Fragment bringt ein eigenes #infocenter mit, dessen :has(.trigger)-Regeln sonst gewinnen) */
.portal-accordion #infocenter :is(h2, h3:not(.trigger), h4, p, ul, ol),
.portal-accordion #infocenter .toggle_container {
    padding-left: 0 !important;
}

/* 2-Klick-Karte (incl/blocks/karte.php, js/karte.js): Vorschaubild lokal, Hinweis-Glas wie bei den Portal-Videos */
.karte__vorschau {
    position: relative;
    display: grid;
}

.karte__vorschau > img,
.karte__vorschau > .karte__glass {
    grid-area: 1 / 1;
}

.karte__vorschau > img {
    width: 100%;
    height: 100%;
    min-height: 16rem;
    object-fit: cover;
}

.karte__glass {
    align-self: end;
    padding: 1.5rem;
    background: rgba(15, 30, 51, .88);
    color: #fff;
}

.karte__glass p {
    max-width: 48rem;
}

.karte__glass a {
    color: var(--on-ink);
    text-decoration: underline;
}

.karte__glass .btn {
    margin-top: 0;
}

.karte__layer {
    height: 28rem;
    max-height: 70vh;
}

.karte__layer:focus {
    outline-offset: .25rem;
}

.karte__quelle {
    margin: .5rem 0 0;
}

@media (max-width: 767.98px) {
    .karte__vorschau > .karte__glass {
        grid-area: 2 / 1;
    }
}

/* Karte: kleiner Pin (Button-Petrol) + Logo-Tooltip */
.karte__vorschau > .karte__pin {
    grid-area: 1 / 1;
    place-self: center;
    transform: translateY(-50%);
    pointer-events: none;
}

.karte__pin svg,
.karte__marker svg {
    display: block;
    width: 1.5rem;
    height: 2rem;
}

.karte__marker {
    background: none;
    border: 0;
}

.leaflet-tooltip.karte__tip {
    padding: .5rem .75rem;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: var(--petrol-grey-dark);
    font-family: var(--font-body);
    font-size: .85rem;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: 0 .125rem .5rem rgba(15, 30, 51, .3);
}

.leaflet-tooltip-top.karte__tip::before {
    border-top-color: #fff;
}

.karte__tip-inhalt {
    display: flex;
    align-items: center;
    gap: .75rem;
}

.karte__tip-inhalt img {
    flex: none;
    width: 2.5rem;
    height: 1.74rem;
}

.karte__tip-inhalt strong {
    color: var(--primary-color);
}

/* Karte: Quellenzeile (small) – Extern-Link-Icon so groß wie der Text statt 1.17rem */
.karte__quelle small a[href^=http]:not([href*="hillringhaus-stb.de"]):not(.noicon):not(.mmb_download):not(.download-link)::before {
    font-size: 1em;
    margin-right: 0.25rem;
}

/* Kununu-Link in den Eckdaten (Stellenangebot/Ausbildung): als Link erkennbar unterstrichen, Icon bleibt frei */
.stelle__eckdaten a:link,
.stelle__eckdaten a:visited {
    color: inherit;
    text-decoration: underline !important;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.08em;
}

.stelle__eckdaten a:hover,
.stelle__eckdaten a:focus-visible {
    text-decoration-thickness: 0.14em;
}

/* =========================================================================
   Mobil-Korrekturen – techn. Lektorat Mobilansicht (27.11.2026)
   Ans ENDE von css/style.css anhängen. Behebt die 8 roten Punkte der PDF
   „techn. Lektorat Mobilansicht“. Kein HTML/PHP nötig.
   ========================================================================= */

/* 1 + 2  Kurzpunkte-Kacheln (karriere-stellenangebote.php, karriere-kanzleialltag.php)
   768–991 px: drei Kacheln pro Reihe sind zu schmal für Icon + langes Wort
   → Icon über den Text, Innenabstand etwas kleiner. */
@media (min-width: 768px) and (max-width: 991.98px) {
    .alltag-punkte li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1.5rem 1.25rem;
    }
}

.alltag-punkte span {
    hyphens: auto;
    overflow-wrap: break-word;
}

/* 3 + 4 + 5  Schmale Smartphones (unter 400 px): lange Einzelwörter in Überschriften
   („Barrierefreiheitserklärung“, „Sicherungsmaßnahmen“, „Familienunternehmen“)
   → Überschrift eine Stufe kleiner (Typo-Skala h3), Bühnen-Karte mit weniger Innenabstand. */
@media (max-width: 399.98px) {
    .infocenter h2,
    .buehne__karte h2 {
        font-size: var(--h3);
    }

    .buehne__karte {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
}

/* 3 + 4  Impressum / Datenschutz (Inhalt aus der Anbieter-Quelle, Optik bei uns):
   Sicherheitsnetz für sehr lange Wörter; lange URLs dürfen umbrechen. */
.infocenter :is(h2, h3, h4, p, li) {
    hyphens: auto;
    overflow-wrap: break-word;
}

.infocenter a {
    overflow-wrap: anywhere;
}

/* 5  Bühne „In Köln zu Hause“ (ueber-uns.php): Sicherheitsnetz */
.buehne__karte h2 {
    hyphens: auto;
    overflow-wrap: break-word;
}

/* 7  Info-/Nach-oben-Button nicht über dem geöffneten Mobilmenü */
body:has(#offcanvasNavbar.show, #offcanvasNavbar.showing) :is(.fab-container, .totop) {
    opacity: 0;
    visibility: hidden;
}

/* 8  Footer: „Wirtschaftsprüfungsgesellschaft“ bei 320 px – Seitenrand des Footers
   unter 360 px von 1.5rem auf 1rem (!important nötig gegen Bootstrap-Klasse px-4) */
@media (max-width: 359.98px) {
    footer.footer {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

.footer__kontakt p {
    hyphens: auto;
    overflow-wrap: break-word;
}

/* Kanzleiblog (Infotainment-Web-Components): Überschriften in der Display-Schrift der Site.
   Farben, Ecken und Kontraste kommen aus dem Infotainment-Admin (Palette, geprüft 02.12.2026). */
wgbr-news-slider,
wgbr-news-list,
wgbr-news-article,
wgbr-news-related {
    --wgbr-heading-font-family: var(--font-display);
}

/* Schnitte wie die Site-Überschriften: Übersicht/Artikel = h2 (600), Slider/Ähnliche = h3 (500) */
wgbr-news-list,
wgbr-news-article { --wgbr-heading-weight: 600; }
wgbr-news-slider,
wgbr-news-related { --wgbr-heading-weight: 500; }

/* Jahreswechselbrief (Web Component, Infotainment): eigener Titel ausgeblendet, die Seite hat eine h2. */
wgbr-jahreswechselbrief::part(title) { display: none !important; }

/* =========================================================================
   Responsive-Schlusspass 02.12.2026 (gemessen 280–1920 px, alle Seiten)
   ========================================================================= */

/* 280/300 px: Rasterspalten dürfen schmaler werden als das längste Wort (sonst scrollt die Seite seitlich) */
@media (max-width: 991.98px) {
    .sec__split { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767.98px) {
    .checklist,
    .alltag-punkte,
    .sec__split .checklist,
    .seitenkopf__stage { grid-template-columns: minmax(0, 1fr); }

    .checklist li { min-width: 0; }

    .seitenkopf__overlay,
    .seitenkopf__panel { min-width: 0; }
}

.checklist li > span,
#koelnTitel,
.stelle h2 {
    min-width: 0;
    hyphens: auto;
    overflow-wrap: break-word;
}

/* Team-Kacheln mobil: Titel über die volle Kachelbreite, Plus-Icon darunter statt daneben */
@media (max-width: 575.98px) {
    .berater__name {
        padding: .75rem .75rem 2.25rem;
        hyphens: auto;
        overflow-wrap: break-word;
    }
}

/* Jahreswechselbrief: lange Wörter in den Beitragstiteln */
wgbr-jahreswechselbrief::part(item-title) { hyphens: auto; overflow-wrap: anywhere; min-width: 0; }

@media (max-width: 359.98px) {
    .berater__flaeche > .row { padding: .75rem; }
    .berater__name { padding-left: .5rem; padding-right: .5rem; }
}

.berater__details li { min-width: 0; hyphens: auto; overflow-wrap: break-word; }
