@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/open-sans/open-sans-latin-300-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/open-sans/open-sans-latin-400-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Open Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/open-sans/open-sans-latin-700-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* === BASE ============================================================== */

:root {
    --kra-rem-base: 13px;
    --kra-gutter-x: 1.143rem;
    --kra-gutter-fluid: 1.8rem;
    /* Inhalt (Grid, Text, Tabellen) */
    --kra-page-gutter: 2rem;
    /* Header, Navbar, Subnav, Footer — breiter als Seiteninhalt */
    --kra-page-gutter-header: 2rem;
}
#main-content {
    padding-top: 2rem;
}
section + section {
    margin-top: 4rem;
}
@media (min-width: 768px) {
    :root {
        --kra-rem-base: 14px;
    }
}

@media (min-width: 576px) {
    :root {
        --kra-page-gutter: 3rem;
        --kra-page-gutter-header: 3rem;
    }
}

@media (min-width: 992px) {
    :root {
        --kra-page-gutter: 4.5rem;
        --kra-page-gutter-header: 6rem;
    }
}
@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1200px;
    }
}
html {
    font-size: var(--kra-rem-base);
}

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

body {
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    font-size: 1rem;
    color: #000;
    margin: 0;
    padding: 0;
    background: #fff;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}
.container-fluid {
    padding-left: var(--kra-gutter-fluid);
    padding-right: var(--kra-gutter-fluid);
}
.pl07 {
    padding-left: 0.45rem;
}
.adresse {
    padding-top: 2rem;
}
/* === LINKS ============================================================= */
h1, h2, h3, h4 { 
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.s26 h2, 
.s25 h2,
.s25 strong
{ font-weight: 400; margin-top: 2rem; }
a {
    color: #969696;
    text-decoration: none;
}

a:hover {
    color: #c7c7c7;
    text-decoration: none;
}
td a {
    color: #000;
}
td a:hover {
    color: #969696;
    text-decoration: none;
}

a.pfeil {
    display: inline-flex;
    align-items: baseline;
    gap: 0.286rem;
    color: #000;
    text-decoration: none;
}

a.pfeil::before {
    content: "→";
    flex-shrink: 0;
    min-width: 1em;
    text-align: left;
}

a.pfeil:hover,
a.pfeil:focus {
    color: #a05050;
    text-decoration: none;
}

a.pfeil:hover::before,
a.pfeil:focus::before {
    content: "↑";
}

.link-pfeil {
    margin: 0.714rem 0;
}

a.pfeil--back {
    color: #000;
    transition: color 0.25s ease;
}

a.pfeil--back::before {
    content: "←";
    display: inline-block;
    transition: transform 0.25s ease;
}

a.pfeil--back:hover,
a.pfeil--back:focus {
    color: #969696;
    text-decoration: none;
}

a.pfeil--back:hover::before,
a.pfeil--back:focus::before {
    content: "←";
    transform: translateX(-3px);
}

.kra-project-back {
    margin: 0.714rem 0 0;
    text-align: left;
}

/* === NAVBAR ============================================================ */

.kra-nav {
    position: sticky;
    top: 0;
    z-index: 1052;
    background: #fff;
    border-bottom: none;
    padding-top: 0;
    padding-bottom: 0;
}

.kra-nav__inner,
.kra-footer-inner {
    width: 100%;
    padding-left: var(--kra-page-gutter-header);
    padding-right: var(--kra-page-gutter-header);
}

.kra-nav__inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    position: relative;
    z-index: 1052;
}

.kra-nav .navbar-brand,
.kra-nav .kra-logo {
    font-size: 1.35rem;
    font-weight: 400;
    color: #000;
    padding: 1.429rem 1.071rem 1.071rem 0;
    white-space: nowrap;
    margin: 0;
    order: 1;
    position: relative;
    z-index: 1;
}

.kra-nav .navbar-brand:hover {
    color: #000;
}

.kra-nav .navbar-nav {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    width: auto;
    align-items: flex-end;
}

.kra-nav .nav-item {
    padding: 0;
    width: auto;
    max-width: 100%;
}

.kra-nav .nav-link,
.kra-nav .kra-nav-sub-link {
    color: #969696;
    background: transparent;
}

.kra-nav .nav-link {
    font-size: 1.25rem;
    padding: 0.857rem 0 0.857rem 1.143rem;
    line-height: 1.35;
    text-align: right;
}

.kra-nav .nav-link:hover,
.kra-nav .nav-link:focus,
.kra-nav .kra-nav-sub-link:hover,
.kra-nav .kra-nav-sub-link:focus {
    color: #000;
    background: transparent;
}

.kra-nav .nav-link.kra-active,
.kra-nav .kra-nav-sub-link.kra-active {
    color: #000;
    background: transparent;
}

/* Projekts-/Büro-highlighting via body class */
body.kr_secondMenuProjects .kr_projectsItm .nav-link,
body.kr_secondMenuOffice .kr_officeItm .nav-link {
    color: #000;
}

/* Hamburger */
.kra-nav__context {
    order: 2;
    margin-left: auto;
    margin-top: 0;
    margin-bottom: 0;
    padding: 1.429rem 1rem 1.071rem 0;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.35;
    color: #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: min(50vw, 20rem);
    position: relative;
    z-index: 1;
}

.kra-nav__context + .kra-nav-toggler {
    margin-left: 0;
}

.kra-nav-toggler {
    border: none;
    padding: 0;
    order: 3;
    margin-left: auto;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.kra-nav-toggler:focus {
    box-shadow: none;
    outline: none;
}

.kra-nav-toggler__lines {
    display: block;
    position: relative;
    width: 3rem;
    height: 18px;
}

.kra-nav-toggler__bar {
    display: block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: #000;
    transform-origin: center;
    transition: top 0.25s ease, bottom 0.25s ease, transform 0.25s ease, opacity 0.25s ease;
}

.kra-nav-toggler__bar:nth-child(1) {
    top: 0;
}

.kra-nav-toggler__bar:nth-child(2) {
    top: 8px;
}

.kra-nav-toggler__bar:nth-child(3) {
    top: 16px;
}

.kra-nav-toggler[aria-expanded="true"] .kra-nav-toggler__bar:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
}

.kra-nav-toggler[aria-expanded="true"] .kra-nav-toggler__bar:nth-child(2) {
    opacity: 0;
}

.kra-nav-toggler[aria-expanded="true"] .kra-nav-toggler__bar:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
}

/* Vollflächiges Overlay */
.kra-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: block !important;
    height: auto !important;
    margin: 0;
    padding: 0;
    border: none;
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    overflow-x: hidden;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.kra-nav-overlay.collapsing {
    height: 100% !important;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.kra-nav-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.kra-nav-overlay__panel {
    min-height: 100%;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    width: min(100%, 23rem);
    margin-left: auto;
    padding: 5.75rem 2rem 3rem;
    box-sizing: border-box;
}

.kra-nav-overlay__list {
    margin: 0;
    width: 100%;
}

.kra-nav-overlay .navbar-nav > .nav-item {
    opacity: 0;
    transform: translateY(20px);
}

.kra-nav-overlay:not(.show) .navbar-nav > .nav-item {
    animation: none;
}

.kra-nav-overlay.show .navbar-nav > .nav-item {
    animation: kra-nav-item-in 0.42s ease forwards;
}

.kra-nav-overlay.show .navbar-nav > .nav-item:nth-child(1) { animation-delay: 0.05s; }
.kra-nav-overlay.show .navbar-nav > .nav-item:nth-child(2) { animation-delay: 0.11s; }
.kra-nav-overlay.show .navbar-nav > .nav-item:nth-child(3) { animation-delay: 0.17s; }
.kra-nav-overlay.show .navbar-nav > .nav-item:nth-child(4) { animation-delay: 0.23s; }
.kra-nav-overlay.show .navbar-nav > .nav-item:nth-child(5) { animation-delay: 0.29s; }
.kra-nav-overlay.show .navbar-nav > .nav-item:nth-child(6) { animation-delay: 0.35s; }
.kra-nav-overlay.show .navbar-nav > .nav-item:nth-child(7) { animation-delay: 0.41s; }

@keyframes kra-nav-item-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.kra-nav-open {
    overflow: hidden;
}

body.kra-nav-open #tarteaucitronAlertBig,
body.kra-nav-open #tarteaucitronRoot {
    visibility: hidden !important;
    pointer-events: none !important;
}

#tarteaucitronIcon #tarteaucitronManager img {
    filter: grayscale(100%);
}

.kra-nav .navbar-collapse .navbar-nav {
    flex-direction: column;
    padding: 0;
    width: 100%;
    margin-bottom: 0;
    align-items: stretch;
}

.kra-nav .nav-item:not(.kra-nav-group),
.kra-nav .kra-nav-sub-item:not(.kra-nav-sub-item--group) {
    border-bottom: 0;
}

.kra-nav .kra-nav-group > .kra-nav-row,
.kra-nav .kra-nav-sub-item--group > .kra-nav-row {
    border-bottom: 0;
}

.kra-nav-overlay .navbar-nav > .nav-item {
    border-bottom: 1px solid #d8d8d8;
}

.kra-nav-overlay .navbar-nav > .nav-item:last-child {
    border-bottom: 0;
}

.kra-nav .kra-nav-row {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
}

.kra-nav .kra-nav-row .nav-link,
.kra-nav .kra-nav-sub-link {
    flex: 0 1 auto;
    display: block;
    margin: 0;
    padding: 0;
    line-height: 1.35;
    color: #969696;
    background: transparent;
    text-align: left;
}

button.nav-link.kra-nav-group-toggle {
    appearance: none;
    border: none;
    font: inherit;
    cursor: pointer;
    width: 100%;
}

.kra-nav-overlay .navbar-nav > .nav-item > .nav-link,
.kra-nav-overlay .navbar-nav > .nav-item > .kra-nav-row > .nav-link {
    width: 100%;
    padding: 1.6rem 0;
    font-size: 1.55rem;
    color: #000;
    text-align: left;
}

.kra-nav .kra-nav-row .nav-link:hover,
.kra-nav .kra-nav-row .nav-link:focus,
.kra-nav .kra-nav-sub-link:hover,
.kra-nav .kra-nav-sub-link:focus,
.kra-nav .kra-nav-sub-link.kra-active {
    color: #000;
    background: transparent;
}

.kra-nav .kra-nav-row:has(.kra-active) {
    background: transparent;
}

.kra-nav .kra-nav-row:has(.kra-active) .nav-link,
.kra-nav .kra-nav-row:has(.kra-active) .kra-nav-sub-link,
.kra-nav .kra-nav-row:has(.kra-active) .kra-nav-toggle {
    background: transparent;
}

.kra-nav-level2 {
    display: none !important;
}

.kra-nav-toggle {
    display: flex;
    flex: 0 0 2.4rem;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
    border: none;
    appearance: none;
    background: transparent;
    color: #000;
    cursor: pointer;
}

.kra-nav-toggle:hover,
.kra-nav-toggle:focus,
.kra-nav-toggle:active {
    outline: none;
    background: transparent !important;
    box-shadow: none;
}

.kra-nav-chevron {
    display: block;
    width: 0.62rem;
    height: 0.62rem;
    border-right: 1.7px solid #000;
    border-bottom: 1.7px solid #000;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-top: -0.15rem;
}

.kra-nav-toggle[aria-expanded="true"] .kra-nav-chevron {
    transform: rotate(-135deg);
    margin-top: 0.2rem;
}

.kra-nav-sub {
    display: block;
    list-style: none;
    margin: 0;
    padding: 1.35rem 0 1.35rem 1rem;
    width: 100%;
    text-align: left;
    border-top: 1px solid #d8d8d8;
}

.kra-nav-sub .kra-nav-sub-link {
    position: relative;
    padding: 0.55rem 0 0.55rem 1rem;
    font-size: 1rem;
    text-align: left;
    color: #777;
}

.kra-nav-sub .kra-nav-sub--nested .kra-nav-sub-link,
.kra-nav-sub .kra-nav-sub-item--group .kra-nav-sub .kra-nav-sub-link {
    padding-left: 1rem;
}

.kra-nav-sub-item--group > .kra-nav-row--sub .kra-nav-sub-link {
    padding-left: 1rem;
}

.kra-nav-sub .kra-nav-sub-link.kra-active {
    color: #000;
}

.kra-nav-sub .kra-nav-sub-link.kra-active::before {
    content: "";
    position: absolute;
    left: -0.35rem;
    top: 50%;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #000;
    transform: translateY(-50%);
}

@media (max-width: 767.98px) {
    .kra-nav__inner {
        min-height: 48px;
    }

    /* Inhalt linksbündig wie Header (Logo) */
    #main-content > .container-fluid[class*="px-"],
    #main-content .container-fluid.px-3,
    #main-content section .container-fluid:not(.px-0):not(.p-0),
    #main-content .container {
        --bs-gutter-x: 0;
        padding-left: var(--kra-page-gutter) !important;
        padding-right: var(--kra-page-gutter) !important;
    }

    #main-content section .container-fluid:not(.px-0):not(.p-0) > .row,
    #main-content .container > .kra-project-content > .row,
    #main-content .container > .row {
        margin-left: 0;
        margin-right: 0;
        --bs-gutter-x: 0;
    }

    #main-content section .container-fluid:not(.px-0):not(.p-0) > .row > [class*="col-"],
    #main-content .container > .kra-project-content > .row > [class*="col-"],
    #main-content .container > .row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }

    /* Kein doppeltes Padding bei verschachtelten Containern (Legacy) */
    #main-content .container-fluid .container-fluid[class*="px-"] {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Projekt-Detail: Text + Zurück-Pfeil bündig mit Hero */
    #main-content .container.projekt:has(.kra-project-content),
    #main-content .container.projekt:has(.kra-project-back) {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100%;
    }
}

@media (max-width: 991.98px) {
    #main-content > .container-fluid > .kra-subnav,
    #main-content .kra-subnav {
        display: none !important;
    }
}


/* === SLIDER (BOOTSTRAP CAROUSEL) ====================================== */

.kra-slider {
    width: 100%;
    overflow: hidden;
    margin-top: 0;
}

.kra-slider .carousel {
    position: relative;
    height: 100%;
}

.kra-slider .carousel-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Sticky Footer: kurze Seiten füllen Viewport, lange Seiten scrollen bis zum Footer */
body:not(.home) {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

body:not(.home) .kra-nav {
    flex: 0 0 auto;
}

body:not(.home) main#main-content {
    flex: 1 1 auto;
}

body:not(.home) .kra-footer {
    flex: 0 0 auto;
    margin-top: auto;
}

/* Startseite: Nav + Slider + Grid + Footer in einem Viewport, Footer immer sichtbar */
body.home {
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

body.home .kra-nav {
    flex: 0 0 auto;
}

body.home main#main-content {
    flex: 1 1 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

body.home .kra-slider {
    flex: 1 1 auto;
    min-height: 10rem;
    height: auto;
}

body.home .kra-slider .carousel,
body.home .kra-slider .carousel-inner,
body.home .kra-slider .carousel-item {
    height: 100%;
}

body.home .kra-slider .carousel-item picture {
    display: block;
    width: 100%;
    height: 100%;
}

body.home .kra-slider .carousel-item img {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

body.home .kra-project-grid {
    flex: 0 0 auto;
}

body.home .kra-footer {
    flex: 0 0 auto;
    margin-top: 0;
}

/* Carousel-Dots unten */
.kra-slider .carousel-indicators,
.kra-project-hero-slider .carousel-indicators {
    position: absolute;
    bottom: 0.75rem;
    left: 0;
    right: 0;
    z-index: 2;
    margin: 0;
    justify-content: center;
    gap: 0.35rem;
}

.kra-slider .carousel-indicators [data-bs-target],
.kra-project-hero-slider .carousel-indicators [data-bs-target] {
    box-sizing: border-box;
    width: 1rem;
    height: 1rem;
    margin: 4px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: rgba(29, 36, 45, 0.7);
    opacity: 1;
    transition: background-color 0.2s;
}

.kra-slider .carousel-indicators .active,
.kra-project-hero-slider .carousel-indicators .active {
    background-color: rgba(29, 36, 45, 1);
}

.kra-slider .carousel-control-prev,
.kra-slider .carousel-control-next {
    width: 50%;
    top: 0;
    bottom: 0;
    background: transparent;
    opacity: 1;
}

.kra-slider .carousel-control-prev {
    cursor: w-resize;
    left: 0;
}

.kra-slider .carousel-control-next {
    cursor: e-resize;
    right: 0;
}

.kra-slider .carousel-control-prev-icon,
.kra-slider .carousel-control-next-icon {
    display: none;
}

/* === IMAGE FLOW (Template 7) ========================================== */
/* Abstände: siehe docs/kra-image-flow-aenderungen.md | Rollback: css/backups/kra-image-flow.rollback-2026-07-09.css */

.kra-image-flow {
    --kra-flow-gap: 4rem;
    --kra-flow-padding-y: 3rem;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: var(--kra-flow-gap);
    padding: var(--kra-flow-padding-y) var(--kra-page-gutter-header);
}

.kra-image-flow__row {
    min-width: 0;
}

.kra-image-flow__item {
    margin: 0;
}

.kra-image-flow__media {
    display: block;
}

.kra-image-flow__item img,
.kra-image-flow__item picture {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.kra-image-flow__caption {
    margin: 0.5rem 0 0;
    padding: 0;
    font-size: 0.929rem;
    font-weight: 400;
    line-height: 1.4;
    color: #000;
    text-align: left;
}

.kra-image-flow__caption-link,
.kra-image-flow__media-link {
    color: inherit;
    text-decoration: none;
}

.kra-image-flow__caption-link:hover,
.kra-image-flow__media-link:hover {
    text-decoration: underline;
}

.kra-image-flow__item--single {
    width: 75%;
}

.kra-image-flow__item--pair {
    width: 46%;
}

.kra-image-flow__item--w-75 { width: 75%; }
.kra-image-flow__item--w-60 { width: 60%; }
.kra-image-flow__item--w-50 { width: 50%; }
.kra-image-flow__item--w-40 { width: 46%; }

.kra-image-flow__item--align-left {
    margin-left: 0;
    margin-right: auto;
}

.kra-image-flow__item--align-center {
    margin-left: auto;
    margin-right: auto;
}

.kra-image-flow__item--align-right {
    margin-left: auto;
    margin-right: 0;
}

.kra-image-flow__pair .kra-image-flow__item--align-left,
.kra-image-flow__pair .kra-image-flow__item--align-center,
.kra-image-flow__pair .kra-image-flow__item--align-right {
    margin-left: 0;
    margin-right: 0;
}

.kra-image-flow__media--offset-up {
    margin-top: -2.5rem;
}

.kra-image-flow__media--offset-down {
    margin-top: 2.5rem;
}

.kra-image-flow__media--offset-down-lg {
    margin-top: 5rem;
}

.kra-image-flow__item--portrait {
    width: auto;
    max-width: 75%;
}

.kra-image-flow__item--portrait img,
.kra-image-flow__item--portrait picture {
    width: auto;
    max-width: 100%;
    max-height: 70vh;
}

.kra-image-flow__pair {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8%;
}

.kra-image-flow__pair .kra-image-flow__item {
    flex: 0 0 auto;
}

.kra-image-flow__pair .kra-image-flow__item--portrait {
    max-width: 40%;
}


/* === PROJECT GRID ====================================================== */

.kra-project-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.714rem;
    padding: 0.714rem;
}

.kra-project-item {
    position: relative;
    overflow: hidden;
    display: block;
    line-height: 0;
    aspect-ratio: 4 / 3;
}

.kra-project-item--static {
    cursor: default;
}

/* Projekte-Übersicht (/projekte/): feste Höhe, zentriert, Fade-Hover */
body.kr_secondMenuProjects .kra-project-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: calc(var(--kra-page-gutter) * 0.44);
    padding: 2rem var(--kra-page-gutter);
}

body.kr_secondMenuProjects .kra-project-item {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    aspect-ratio: 1499 / 1104;
    overflow: hidden;
    line-height: 1.3;
    background: #fff;
}

body.kr_secondMenuProjects .kra-project-item picture {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    flex-shrink: 0;
    transition: opacity 0.35s ease;
}

body.kr_secondMenuProjects .kra-project-item img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: bottom center;
    display: block;
    transition: opacity 0.35s ease;
}

body.kr_secondMenuProjects .kra-project-item img.img-fluid {
    height: 100%;
}

body.kr_secondMenuProjects .kra-project-item--contain picture {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
}

body.kr_secondMenuProjects .kra-project-item--contain img,
body.kr_secondMenuProjects .kra-project-item--contain img.img-fluid {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: bottom center;
}

body.kr_secondMenuProjects .kra-project-item .kra-project-title {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    font-size: 0.929rem;
    color: #000;
    text-align: center;
    background: #fff;
    opacity: 0;
    transform: none;
    transition: opacity 0.35s ease;
}

body.kr_secondMenuProjects .kra-project-item:hover img,
body.kr_secondMenuProjects .kra-project-item:focus-within img,
body.kr_secondMenuProjects .kra-project-item:hover picture,
body.kr_secondMenuProjects .kra-project-item:focus-within picture {
    opacity: 0;
}

body.kr_secondMenuProjects .kra-project-item:hover .kra-project-title,
body.kr_secondMenuProjects .kra-project-item:focus-within .kra-project-title,
body.kr_secondMenuProjects .kra-project-item--static:hover .kra-project-title {
    opacity: 1;
    transform: none;
}

.kra-project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s;
}

.kra-project-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.571rem 0.714rem;
    font-size: 0.857rem;
    color: #000;
    background: rgba(255, 255, 255, 0.88);
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.4s ease, opacity 0.4s ease;
    line-height: 1.3;
}


/* === PROJECT DETAIL ==================================================== */

.kra-project-hero {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 1499 / 1104;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: #fff;
}

.kra-project-hero img,
.kra-project-hero picture {
    display: block;
    width: 100%;
    height: 100%;
}

.kra-project-hero--contain picture,
.kra-project-hero-slider.kra-project-hero--contain .carousel-item picture {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

.kra-project-hero picture {
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.kra-project-hero img {
    object-fit: cover;
    object-position: bottom center;
}

.kra-project-hero--contain img,
.kra-project-hero-slider.kra-project-hero--contain .carousel-item img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: bottom center;
}

.kra-project-hero--contain img.img-fluid,
.kra-project-hero-slider.kra-project-hero--contain .carousel-item img.img-fluid {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

.kra-project-hero-slider {
    position: relative;
    aspect-ratio: 1499 / 1104;
    display: block;
    background: #fff;
}

.kra-project-hero-slider .carousel,
.kra-project-hero-slider .carousel-inner,
.kra-project-hero-slider .carousel-item {
    height: 100%;
}

.kra-project-hero-slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom center;
    display: block;
}

.kra-project-hero-slider.kra-project-hero--contain .carousel-item {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: #fff;
}

.kra-project-hero-slider.kra-project-hero--contain .carousel-item picture {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
}

.kra-project-hero-slider.kra-project-hero--contain .carousel-item img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: bottom center;
}

.kra-project-hero-slider .carousel-control-prev,
.kra-project-hero-slider .carousel-control-next {
    width: 8%;
}

.kra-project-content {
    padding: 2.143rem 0 1.429rem;
}

.kra-project-heading {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 1.786rem;
    color: #000;
}

#main-content p,
.kra-project-text p {
    font-size: 1rem;
    line-height: 1.75;
    color: #000;
    margin-bottom: .5rem;
}
#main-content p + p,
.kra-project-text p + p {
    text-indent: 3em;
    /* margin-bottom: 1rem; */
}
.s26 #main-content p+p,
.s26 .kra-project-text p+p,
.s25 .kra-project-text p+p,
.s25 #main-content p+p,
.s5 #main-content p+p,
.s5 .kra-project-text p+p,
.s6 #main-content p+p,
.s6 .kra-project-text p+p {
    text-indent: 0;
    margin-bottom: 1rem;
}
.kra-data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.kra-data-table td {
    padding: .15rem 0 .118rem;
    vertical-align: top;
    color: #000;
}

.kra-data-table td:first-child {
    border-left: 1px solid #000;
    font-weight: 400;
    padding-right: 1.071rem;
    white-space: nowrap;
    width: 45%;
    padding-left: 0.571rem;
}

.kra-data-table tr:first-child td {
    /* border-top: 2px solid #000; */
}


#main-content > .container-fluid.kra-page-gutter,
#main-content section > .container-fluid.kra-page-gutter,
#main-content > .container-fluid:has(.kra-subnav) {
    padding-left: var(--kra-page-gutter-header) !important;
    padding-right: var(--kra-page-gutter-header) !important;
}

/* === SUB-NAVIGATION (Büro, Bibliographie pages) ======================= */

.kra-subnav {
    padding: 0.357rem 0 0.357rem .2rem;
    font-size: 1rem;
    color: #000;
    border-bottom: 1px solid #000;
    border-top: 1px solid #000;
    margin: 0.143rem 0 2rem;
}

.kra-subnav-item {
    color: #969696;
    text-decoration: none;
}

.kra-subnav-item:hover {
    color: #c7c7c7;
}

.kra-subnav-item.kra-current {
    color: #000;
}

.kra-subnav-sep {
    display: inline-block;
    margin: 0 0.571rem;
    color: #969696;
}


/* === MAP (Leaflet / t1__map) ========================================== */

.map-container {
    width: 100%;
    min-height: 22rem;
    position: relative;
    z-index: 1;
    background: #f5f5f5;
}

.map-container.leaflet-container {
    font-family: inherit;
}

.map-container .leaflet-marker-icon {
    cursor: pointer;
}

/* Kontakt (navid 5): Karte füllt Viewport minus Header, Adresse, Footer */
.s5 .map-container {
    min-height: 300px;
    height: var(--kra-map-height, 300px);
}

.s5 section.adresse {
    flex-shrink: 0;
}


/* === OFFICE / TEXT PAGES ============================================== */

.kra-text-content {
    padding: 1.786rem 0 2.857rem;
}

.kra-text-content p {
    font-size: 1rem;
    line-height: 1.65;
    color: #000;
    margin-bottom: 1.4em;
}


/* === TABLES (Bibliographie / Alle) ==================================== */

/* Gleiche horizontale Einrückung wie Navbar, Subnav, Footer */
#main-content section > .container-fluid:has(.kra-table-section),
#main-content section > .container:has(.kra-table-section) {
    --bs-gutter-x: 0;
    padding-left: var(--kra-page-gutter-header) !important;
    padding-right: var(--kra-page-gutter-header) !important;
}

#main-content section > .container-fluid:has(.kra-table-section) > .row,
#main-content section > .container:has(.kra-table-section) > .row {
    margin-left: 0;
    margin-right: 0;
    --bs-gutter-x: 0;
}

#main-content section > .container:has(.kra-table-section) {
    max-width: none;
    width: 100%;
}


.kra-table-wrapper {
    width: 100%;
    overflow-x: visible;
    margin: 0 0 2em;
}

.kra-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 1rem;
    color: #000;
}

.kra-table thead th {
    border-bottom: 2px solid #000;
    padding: 0.429rem 0.571rem 0.429rem 0;
    font-weight: 400;
    text-align: left;
    white-space: nowrap;
}

.kra-table thead th:last-child,
.kra-table tbody td:last-child {
    padding-right: 0;
}

.kra-table tbody td {
    border-top: 1px solid #000;
    padding: 0.357rem 0.571rem 0.357rem 0;
    vertical-align: top;
}

.kra-table tbody tr.kra-row-separator td {
    border-top: 2px solid #000;
    padding: 0;
    height: 0;
    line-height: 0;
    font-size: 0;
}

.kra-table tbody tr.kra-row-kategorie td {
    border-top: 2px solid #000;
    padding: 1.714rem 0 0.571rem;
    font-size: 1rem;
    font-weight: 600;
    color: #000;
}

.kra-table-wrapper .kra-table-hover tbody tr.kra-row-kategorie:hover td {
    color: #000;
}

.kra-table-wrapper.is-measuring {
    visibility: hidden;
}

.kra-table.kra-table--columns-js tbody td.kra-col-fit {
    white-space: nowrap;
}

/* Column widths – bibliography */
.kra-table.kra-bib .col-date {
    /* white-space: nowrap; */
}

/* 5 Spalten: Artikel (Titel/Quelle dürfen umbrechen) */
.kra-table.kra-bib.kra-bib--cols-5 .col-title  { width: 32%; }
.kra-table.kra-bib.kra-bib--cols-5 .col-source { width: 20%; }
.kra-table.kra-bib.kra-bib--cols-5 .col-author  { width: 13%; }
.kra-table.kra-bib.kra-bib--cols-5 .col-date    { width: 10%; }
.kra-table.kra-bib.kra-bib--cols-5 .col-topic   { width: 25%; }

.kra-table.kra-bib.kra-bib--cols-5 tbody td.col-author,
.kra-table.kra-bib.kra-bib--cols-5 tbody td.col-date {
    /* white-space: nowrap; */
}

/* 4 Spalten: Basis (Auszeichnungen, Vorträge, Ausstellungen) */
.kra-table.kra-bib.kra-bib--cols-4 .col-title  { width: 38%; }
.kra-table.kra-bib.kra-bib--cols-4 .col-source { width: 28%; }
.kra-table.kra-bib.kra-bib--cols-4 .col-date   { width: 105px; }
/* .kra-table.kra-bib.kra-bib--cols-4 .col-topic  { width: 22%; } */

.kra-table.kra-bib.kra-bib--cols-4 tbody td.col-date {
    /* white-space: nowrap; */
}

/* Auszeichnungen: kurze Kategorien */
.kra-table.kra-bib--auszeichnungen-und-preise .col-title  { width: 42%; }
.kra-table.kra-bib--auszeichnungen-und-preise .col-source { width: 22%; }
.kra-table.kra-bib--auszeichnungen-und-preise .col-date   { width: 11%; }
.kra-table.kra-bib--auszeichnungen-und-preise .col-topic  { width: 25%; }

.kra-table.kra-bib--auszeichnungen-und-preise tbody td.col-source,
.kra-table.kra-bib--auszeichnungen-und-preise tbody td.col-date {
    /* white-space: nowrap; */
}

/* Vorträge: breitere Veranstalter-Spalte, Datum ohne Umbruch */
.kra-table.kra-bib--vortraege-kolloquien .col-title  { width: 34%; }
.kra-table.kra-bib--vortraege-kolloquien .col-source { width: 36%; }
.kra-table.kra-bib--vortraege-kolloquien .col-date   { width: 12%; }
.kra-table.kra-bib--vortraege-kolloquien .col-topic  { width: 18%; }

.kra-table.kra-bib--vortraege-kolloquien tbody td.col-date {
    /* white-space: nowrap; */
}

/* Ausstellungen: Ort und Datumsbereich ohne Umbruch */
.kra-table.kra-bib--ausstellungen .col-title  { width: 36%; }
.kra-table.kra-bib--ausstellungen .col-source { width: 30%; }
.kra-table.kra-bib--ausstellungen .col-date   { width: 16%; }
.kra-table.kra-bib--ausstellungen .col-topic  { width: 18%; }

.kra-table.kra-bib--ausstellungen tbody td.col-source,
.kra-table.kra-bib--ausstellungen tbody td.col-date {
    /* white-space: nowrap; */
}

/* Column widths – all projects (4 cols) */
.kra-table.kra-all .col-project  { width: 40%; }
.kra-table.kra-all .col-city     { width: 25%; }
.kra-table.kra-all .col-year     { width: 10%; white-space: nowrap; }
.kra-table.kra-all .col-type     { width: auto; }

.kra-table.kra-all tbody td.col-year {
    /* white-space: nowrap; */
}

/* Table hover effect */
.kra-table-hover tbody tr td,
.kra-table-hover tbody tr td a {
    transition: color 0.2s;
}

/* .kra-table-wrapper:hover .kra-table-hover tbody tr td,
.kra-table-wrapper:hover .kra-table-hover tbody tr td a {
    color: #c7c7c7;
} */

.kra-table-wrapper .kra-table-hover tbody tr:hover td,
.kra-table-wrapper .kra-table-hover tbody tr:hover td a {
    color: #000;
}

.kra-table-wrapper .kra-table-hover tbody tr.kra-row-separator:hover td {
    color: transparent;
}

.kra-table tbody td a {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.857rem;
    width: 100%;
    color: #000;
    text-decoration: none;
}

.kra-table tbody td a::after {
    content: '';
    flex-shrink: 0;
    width: 0.5rem;
    height: 0.5rem;
    margin-top: 0.5em;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(-45deg);
    margin-right: 8px;
}

.kra-table tbody td a:hover {
    color: #c7c7c7;
}

.kra-table tbody tr.kra-row-link {
    transition: background-color 0.2s;
}

.kra-table tbody tr.kra-row-link td {
    transition: background-color 0.2s;
}

@media (min-width: 768px) {
    .kra-table tbody tr.kra-row-link:hover td {
        background-color: #f9f9fb;
    }
}

@media (max-width: 767.98px) {
    .kra-table tbody tr.kra-row-link:hover {
        background-color: #f9f9fb;
    }

    .kra-table-wrapper {
        overflow-x: visible;
    }

    .kra-table.kra-bib,
    .kra-table.kra-all {
        display: block;
        width: 100%;
        table-layout: auto;
    }

    .kra-table.kra-bib thead,
    .kra-table.kra-all thead {
        display: none;
    }

    .kra-table.kra-bib tbody,
    .kra-table.kra-all tbody {
        display: block;
        border-top: 2px solid #000;
    }

    .kra-table.kra-bib tbody tr.kra-sort-row,
    .kra-table.kra-all tbody tr.kra-projekt-row {
        display: block;
        border-top: 1px solid #000;
        padding: 0.571rem 0;
    }

    .kra-table.kra-bib tbody tr.kra-row-separator,
    .kra-table.kra-all tbody tr.kra-row-separator {
        display: none;
    }

    .kra-table.kra-all tbody tr.kra-row-kategorie {
        display: block;
        border-top: 2px solid #000;
        padding: 0.857rem 0 0.286rem;
    }

    .kra-table.kra-all tbody tr.kra-row-kategorie td {
        display: block;
        border: none;
        padding: 0;
    }

    .kra-table.kra-bib tbody td,
    .kra-table.kra-all tbody td {
        display: block;
        width: auto !important;
        border: none;
        padding: 0.214rem 0;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .kra-table.kra-bib tbody td:not(:first-child),
    .kra-table.kra-all tbody td:not(:first-child) {
        padding-top: 0.571rem;
    }

    .kra-table.kra-bib tbody td:not(:first-child)::before,
    .kra-table.kra-all tbody td:not(:first-child)::before {
        content: attr(data-label);
        display: block;
        font-size: 0.857rem;
        color: #969696;
        margin-bottom: 0.143rem;
    }

    .kra-table.kra-bib .col-title,
    .kra-table.kra-bib .col-source,
    .kra-table.kra-bib .col-author,
    .kra-table.kra-bib .col-date,
    .kra-table.kra-bib .col-topic,
    .kra-table.kra-all .col-project,
    .kra-table.kra-all .col-city,
    .kra-table.kra-all .col-year,
    .kra-table.kra-all .col-type {
        width: auto !important;
        white-space: normal;
    }

    /* Projekt-Liste: Ort + Jahr nebeneinander */
    .kra-table.kra-projekt-alle-table tbody tr.kra-projekt-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 1.143rem;
    }

    .kra-table.kra-projekt-alle-table tbody tr.kra-projekt-row > td:first-child,
    .kra-table.kra-projekt-alle-table tbody tr.kra-projekt-row > td:last-child {
        grid-column: 1 / -1;
    }
}

.link-pfeil:has(.kra-projekt-typ-filter) {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0;
}

.link-pfeil:has(.kra-projekt-typ-filter) > .pfeil {
    margin-right: 0;
}

.kra-projekt-typ-filter {
    display: inline;
    margin-left: 1.143rem;
}

.kra-projekt-typ-filter__link {
    color: #969696;
    text-decoration: none;
    white-space: nowrap;
}

.kra-projekt-typ-filter__link:hover,
.kra-projekt-typ-filter__link:focus {
    color: #000;
    text-decoration: none;
}

.kra-projekt-typ-filter__link.is-active {
    color: #000;
}

.kra-projekt-typ-filter__sep {
    display: inline-block;
    margin: 0 0.571rem;
    color: #969696;
    user-select: none;
}

/* Projekt-Liste: Filter + sortierbare Spalten */
.kra-projekt-filter {
    display: flex;
    display: none;
    flex-wrap: wrap;
    gap: 0.857rem 1.714rem;
    margin: 0 0 1.286rem;
    font-size: 1rem;
}

.kra-projekt-filter__item {
    display: flex;
    align-items: center;
    gap: 0.571rem;
    margin: 0;
}

.kra-projekt-filter__label {
    color: #969696;
    white-space: nowrap;
}

.kra-projekt-filter__select {
    min-width: 11.429rem;
    max-width: 100%;
    border: 1px solid #d4d4d4;
    border-radius: 0;
    background: #fff;
    color: #969696;
    font-size: 1rem;
    padding: 0.286rem 0.571rem;
}

.kra-th-sort {
    display: inline-flex;
    align-items: center;
    gap: 0.429rem;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: 400;
    cursor: pointer;
    text-align: left;
}

.kra-th-sort:focus-visible {
    outline: 2px solid #000;
    outline-offset: 2px;
}

.kra-sort-icons {
    display: inline-flex;
    flex-direction: column;
    gap: 1px;
    line-height: 0;
}

.kra-sort-icon {
    display: block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    opacity: 0.25;
}

.kra-sort-icon--up {
    border-bottom: 5px solid #000;
}

.kra-sort-icon--down {
    border-top: 5px solid #000;
}

.kra-th-sort.is-asc .kra-sort-icon--up,
.kra-th-sort.is-desc .kra-sort-icon--down {
    opacity: 1;
}

.kra-projekt-empty td {
    padding: 1.143rem 0;
    color: #666;
    font-style: italic;
}

@media (max-width: 767.98px) {
    .kra-projekt-filter {
        flex-direction: column;
        gap: 0.714rem;
    }

    .kra-projekt-filter__select {
        width: 100%;
    }
}


/* === FOOTER ============================================================ */

.kra-footer {
    border-top: 1px solid #e5e5e5;
    padding: 1.071rem 0;
    margin-top: 2.857rem !important;
    font-size: 0.857rem;
    color: #969696;
}

.kra-footer a {
    color: #969696;
}

.kra-footer a:hover {
    color: #c7c7c7;
}

.kra-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.714rem;
}

.kra-footer-copy {
    flex: 1 1 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0.714rem;
    row-gap: 0.35rem;
}

.kra-footer-item:not(:first-child)::before {
    content: "|";
    margin-right: 0.714rem;
    color: #c7c7c7;
}

.kra-social {
    display: flex;
    gap: 0.857rem;
    flex-shrink: 0;
}

.kra-social a {
    color: #969696;
    font-size: 1rem;
}

.kra-social a:hover {
    color: #c7c7c7;
}

/* Social icon SVGs */
.kra-icon {
    width: 1.143rem;
    height: 1.143rem;
    fill: currentColor;
    display: inline-block;
    vertical-align: middle;
}


/* === UTILITIES ========================================================= */

.kra-sep {
    border: none;
    border-top: 1px solid #000;
    margin: 1.429rem 0;
}

.kra-sep-thick {
    border-top-width: 2px;
}


/* === @MEDIA QUERIES (always at end) ==================================== */

@media (min-width: 768px) {
    .kra-project-title {
        opacity: 1;
        transform: translateY(100%);
    }

    .kra-project-item:hover .kra-project-title,
    .kra-project-item--static:hover .kra-project-title {
        transform: translateY(0);
    }

    body.kr_secondMenuProjects .kra-project-item .kra-project-title {
        opacity: 0;
        transform: none;
    }

    body.kr_secondMenuProjects .kra-project-item:hover .kra-project-title,
    body.kr_secondMenuProjects .kra-project-item:focus-within .kra-project-title,
    body.kr_secondMenuProjects .kra-project-item--static:hover .kra-project-title {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 991px) {
    .kra-project-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    body.kr_secondMenuProjects .kra-project-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: calc(var(--kra-page-gutter) * 0.51);
        padding: 1.5rem var(--kra-page-gutter);
    }
}

@media (max-width: 767.98px) {
    body.kr_secondMenuProjects .kra-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 1.1rem;
        row-gap: 1.45rem;
        padding: 0;
        margin-top: 3rem;
    }

    body.kr_secondMenuProjects .kra-project-item {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        height: auto;
        aspect-ratio: auto;
        overflow: visible;
        line-height: 1.25;
        min-width: 0;
    }

    body.kr_secondMenuProjects .kra-project-item picture,
    body.kr_secondMenuProjects .kra-project-item > img:first-child {
        display: block;
        width: 100%;
        max-width: 100%;
        aspect-ratio: 1499 / 1104;
        overflow: hidden;
        flex: 0 0 auto;
        height: auto;
        min-height: 0;
        background: #fff;
    }

    body.kr_secondMenuProjects .kra-project-item picture img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: 100%;
        object-fit: cover;
        object-position: bottom center;
    }

    body.kr_secondMenuProjects .kra-project-item > img:first-child {
        display: block;
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: cover;
        object-position: bottom center;
        flex: 0 0 auto;
    }

    body.kr_secondMenuProjects .kra-project-item img.img-fluid {
        max-height: none;
    }

    body.kr_secondMenuProjects .kra-project-item--contain picture,
    body.kr_secondMenuProjects .kra-project-item--contain > img:first-child {
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }

    body.kr_secondMenuProjects .kra-project-item--contain picture img {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 100%;
        object-fit: contain;
        object-position: bottom center;
    }

    body.kr_secondMenuProjects .kra-project-item--contain > img:first-child {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 100%;
        object-fit: contain;
        object-position: bottom center;
    }

    body.kr_secondMenuProjects .kra-project-item .kra-project-title {
        position: static;
        inset: auto;
        display: block;
        padding: 0.65rem 0 0;
        font-size: 0.95rem;
        line-height: 1.25;
        background: transparent;
        opacity: 1;
        transform: none;
        text-align: left;
        flex: 0 0 auto;
        overflow: visible;
        transition: none;
    }

    body.kr_secondMenuProjects .kra-project-item:hover img,
    body.kr_secondMenuProjects .kra-project-item:focus-within img,
    body.kr_secondMenuProjects .kra-project-item:hover picture,
    body.kr_secondMenuProjects .kra-project-item:focus-within picture {
        opacity: 1;
    }

    .kra-project-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.429rem;
        padding: 0;
    }

    .kra-project-item {
        display: flex;
        flex-direction: column;
        aspect-ratio: auto;
        line-height: 1.3;
        overflow: visible;
        min-width: 0;
    }

    .kra-project-item img {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
        flex-shrink: 0;
        object-fit: cover;
    }

    .kra-project-title {
        position: static;
        opacity: 1;
        transform: none;
        font-size: 0.786rem;
        background: transparent;
        padding: 0.35rem 0 0;
        transition: none;
    }
    .kra-projekt-typ-filter__link {
        line-height: 2rem;
        margin-top: 1rem;
    }
    .kra-projekt-typ-filter {
        display: inline;
        margin: 1rem 0;
    }
    .kra-project-text {
        margin-bottom: 2rem;
    }
    body.kr_secondMenuProjects .kra-project-item {
        justify-content: flex-start;
    }
}

@media (hover: none) and (pointer: coarse) {
    body.kr_secondMenuProjects .kra-project-item {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        height: auto;
        aspect-ratio: auto;
        overflow: visible;
        line-height: 1.25;
        min-width: 0;
    }

    body.kr_secondMenuProjects .kra-project-item picture,
    body.kr_secondMenuProjects .kra-project-item > img:first-child {
        display: block;
        width: 100%;
        max-width: 100%;
        aspect-ratio: 1499 / 1104;
        overflow: hidden;
        flex: 0 0 auto;
        height: auto;
        min-height: 0;
        background: #fff;
    }

    body.kr_secondMenuProjects .kra-project-item picture img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: 100%;
        object-fit: cover;
        object-position: bottom center;
    }

    body.kr_secondMenuProjects .kra-project-item > img:first-child {
        display: block;
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: cover;
        object-position: bottom center;
        flex: 0 0 auto;
    }

    body.kr_secondMenuProjects .kra-project-item img.img-fluid {
        max-height: none;
    }

    body.kr_secondMenuProjects .kra-project-item--contain picture,
    body.kr_secondMenuProjects .kra-project-item--contain > img:first-child {
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }

    body.kr_secondMenuProjects .kra-project-item--contain picture img {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 100%;
        object-fit: contain;
        object-position: bottom center;
    }

    body.kr_secondMenuProjects .kra-project-item--contain > img:first-child {
        width: auto;
        max-width: 100%;
        height: auto;
        max-height: 100%;
        object-fit: contain;
        object-position: bottom center;
    }

    body.kr_secondMenuProjects .kra-project-item .kra-project-title {
        position: static;
        inset: auto;
        display: block;
        padding: 0.65rem 0 0;
        font-size: 0.95rem;
        line-height: 1.25;
        background: transparent;
        opacity: 1;
        transform: none;
        text-align: left;
        flex: 0 0 auto;
        overflow: visible;
        transition: none;
    }

    body.kr_secondMenuProjects .kra-project-item:hover img,
    body.kr_secondMenuProjects .kra-project-item:focus-within img,
    body.kr_secondMenuProjects .kra-project-item:hover picture,
    body.kr_secondMenuProjects .kra-project-item:focus-within picture {
        opacity: 1;
    }
}

@media (max-width: 575px) {
    .kra-image-flow {
        --kra-flow-gap: 2rem;
        --kra-flow-padding-y: 1.5rem;
        padding: var(--kra-flow-padding-y) var(--kra-page-gutter-header);
    }

    .kra-image-flow__pair {
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
    }

    .kra-image-flow__item,
    .kra-image-flow__item--single,
    .kra-image-flow__item--pair,
    .kra-image-flow__item--portrait,
    .kra-image-flow__pair .kra-image-flow__item--portrait,
    .kra-image-flow__item--w-75,
    .kra-image-flow__item--w-60,
    .kra-image-flow__item--w-50,
    .kra-image-flow__item--w-40 {
        width: 100%;
        max-width: 100%;
        align-self: stretch;
        margin-top: 0;
        transform: none;
    }

    .kra-image-flow__media--offset-up,
    .kra-image-flow__media--offset-down,
    .kra-image-flow__media--offset-down-lg {
        margin-top: 0;
    }

    .kra-image-flow__item--portrait img,
    .kra-image-flow__item--portrait picture {
        width: 100%;
        max-height: none;
    }

    .kra-nav .navbar-brand,
    .kra-nav .kra-logo {
        font-size: 1.35rem;
        padding: 0.857rem 1.071rem 0.714rem 0;
    }

    .kra-nav__inner {
        flex-wrap: wrap;
    }

    .kra-nav__context {
        order: 4;
        flex: 0 0 100%;
        margin-left: 0;
        font-size: 1rem;
        padding: 0 0 0.857rem;
        max-width: 100%;
        text-align: left;
        white-space: normal;
    }

    .kra-nav__context + .kra-nav-toggler {
        margin-left: auto;
    }

    .kra-table {
        /* font-size: 0.857rem; */
    }
}

/* === TIMELINE (Biographie) ============================================ */

.kra-timeline__entry,
.kra-timeline__item {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    column-gap: 2.5rem;
    align-items: start;
    margin: 0;
    padding: 0.75rem 0;
    border-bottom: 1px solid #000;
    margin-right: calc(var(--bs-gutter-x) * .5);
    margin-left: calc(var(--bs-gutter-x) * .5);
}

.kra-timeline__entry:first-child,
.kra-timeline__item:first-child,
.kra-timeline__list .kra-timeline__item:first-child {
    border-top: 1px solid #000;
}

.kra-timeline__list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #000;
}

.kra-timeline__date,
.kra-timeline__text {
    font-size: 1rem;
    line-height: 1.45;
    color: #000;
}

.kra-timeline__date {
    white-space: nowrap;
}

.kra-timeline__text p {
    margin: 0;
}

@media (max-width: 575px) {
    .kra-timeline__entry,
    .kra-timeline__item {
        grid-template-columns: 1fr;
        row-gap: 0.35rem;
        column-gap: 0;
    }

    .kra-timeline__date {
        white-space: normal;
    }
}

#matomo-opt-out strong { font-weight: 400 !important; }