@font-face {
    font-family: 'BaWueSans';
    src: url('BaWueSansWeb-Regular.woff2') format('woff2'),
        url('BaWueSansWeb-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BaWueSans';
    src: url('BaWueSansWeb-Bold.woff2') format('woff2'),
        url('BaWueSansWeb-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BaWueSans';
    src: url('BaWueSansWeb-BoldItalic.woff2') format('woff2'),
        url('BaWueSansWeb-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'BaWueSans';
    src: url('BaWueSansWeb-RegularItalic.woff2') format('woff2'),
        url('BaWueSansWeb-RegularItalic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

/*@font-face {
    font-family: 'BaWueSans';
    src: url('BaWueSansWeb-SemiBold.woff2') format('woff2'),
        url('BaWueSansWeb-SemiBold.woff') format('woff');
    font-weight: medium;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BaWueSans';
    src: url('BaWueSansWeb-SemiBoldItalic.woff2') format('woff2'),
        url('BaWueSansWeb-SemiBoldItalic.woff') format('woff');
    font-weight: medium;
    font-style: italic;
    font-display: swap;
}*/

@font-face {
    font-family: 'BaWueSerif';
    src: url('BaWueSerifWeb-Regular.woff2') format('woff2'),
        url('BaWueSerifWeb-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'BaWueSerif';
    src: url('BaWueSerifWeb-Bold.woff2') format('woff2'),
        url('BaWueSerifWeb-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

body.ffb {
    font-family: 'BaWueSans' !important;
    overflow-x: hidden;
}

body.ffb .h1,
body.ffb .h2,
body.ffb .h3,
body.ffb .h4,
body.ffb .h5,
body.ffb .h6,
body.ffb h1,
body.ffb h2,
body.ffb h3,
body.ffb h4,
body.ffb h5,
body.ffb h6 {
    font-family: 'BaWueSerif' !important;
}

body.ffb .jumbotron {
    /* width: auto; */
    background-color: rgba(var(--bs-secondary-rgb), 1) !important;
}

body.ffb.start .jumbotron {
    /* max-width: 1140px; */
    /*--bs-gutter-x: 0; */
    background-color: #A2A19F !important;
}


#full-height-section #full-height-icon {
    /*color: #000;*/
}

body.ffb .jumbotron .h1,
body.ffb .jumbotron h1 {
    font-weight: bold !important;
    margin-bottom: 0;
    /* margin-top: 1.5rem !important; */
}

body.ffb .jumbotron h2 {
    font-weight: bold !important;
    color: #fff !important;
}

body.ffb .jumbotron .wlp-header-1>div:first-of-type {
    display: none;
}

body.ffb #main-navbar {
    /*background-color: #FFFC00 !important;*/
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
}

body.ffb #main-navbar .dropdown-item.active,
body.ffb #main-navbar .dropdown-item:active,
body.ffb #main-navbar .dropdown-item:focus {
    background-color: var(--wlp-dunkelblau) !important;
}

body.ffb #main-navbar .dropdown-item:focus {
    color: #fff !important;
}

body.ffb .wlp-easy-language-link {
    align-items: center;
    color: var(--wlp-bwschwarz);
    display: inline-flex;
    flex: 0 0 48px;
    height: 48px;
    justify-content: center;
    margin-left: 0.75rem;
    text-decoration: none;
    width: 48px;
}

body.ffb .wlp-easy-language-link:hover {
    color: var(--wlp-bwschwarz);
}

body.ffb .wlp-easy-language-link:focus-visible {
    border-radius: 0.25rem;
    outline: 3px solid var(--wlp-bwschwarz);
    outline-offset: 2px;
}

body.ffb .wlp-easy-language-link__icon {
    fill: currentColor;
    height: 32px;
    width: 32px;
}

.breadcrumb a {
    color: rgba(var(--bs-secondary-rgb), 1) !important;
}

body.ffb #page-footer {
    background-color: rgba(var(--bs-secondary-rgb), 1) !important;
}

body.ffb .navbar-brand .img-fluid {
    width: 200px;
}

body.ffb .navbar-brand {
    padding-bottom: 0;
    padding-top: 0;
    padding-right: 1rem;
}

body.ffb .navbar .img-fluid {
    max-width: none;
}

body.ffb .navbar-light .nav-link,
body.ffb .navbar-light .nav-link:focus,
body.ffb .navbar-light .nav-link:hover {
    /* color: var(--wlp-bwweiss); */
}

body.ffb .offcanvas-title {
    font-family: 'BaWueSans' !important;
    font-weight: 600;
    font-size: var(--bs-nav-link-font-size);
}

body.ffb .navbar-toggler {
    border: 0;
}

body.ffb .navbar-toggler:focus {
    box-shadow: unset;
}

body.ffb .dropdown-menu {
    --bs-dropdown-bg: var(--wlp-grau5);
    border: 0;
}

@media (min-width: 768px) {
    body.ffb #main-navbar .dropdown-menu[data-bs-popper] {
        margin-top: 0;
    }
}

body.ffb .card figure, .ge_autoLayout_row figure {
    max-width: none !important;
}
body.ffb .navbar-brand .img-fluid {
    width: 420px;
}
body.ffb .accordion-button{
        font-family: BaWueSans;
        font-weight: 600;
}
@media (max-width: 575px) {
    body.ffb .jumbotron .container {
        padding-left: 0;
        padding-right: 0;
    }

    body.ffb .jumbotron .first-figure.last-figure img {
        width: 100vw;
        height: auto;
        max-width: 100%;
    }

    body.ffb .jumbotron .container .order-2 .ce-textmedia,
    body.ffb .jumbotron .container .order-2 .ce-textmedia.wlp-header {
        padding: 1rem !important;
        line-height: unset;
    }
    body.ffb .navbar-brand .img-fluid {
        width: 280px !important;
    }
    body.ffb .navbar-brand {
      padding-bottom: 0.2rem;
    }

}

@media (min-width: 576px) {
    body.ffb .jumbotron .container {
        max-width: 540px !important;
    }

    body.ffb .jumbotron .first-figure.last-figure img {
        width: 50vw;
        height: auto;
    }

    body.ffb .jumbotron .container .ce-textmedia header {
        line-height: unset;
    }
    body.ffb .navbar-brand .img-fluid {
        width: 280px !important;
    }
    body.ffb .nav-link {
      font-size: var(--bs-body-font-size);
    }
    body.ffb .navbar-brand {
      padding-bottom: 0.2rem;
    }
}

@media (min-width: 768px) {
    body.ffb .jumbotron .container {
        max-width: 720px !important;
    }

    body.ffb .jumbotron .first-figure.last-figure img {
        width: 50vw;
        height: auto;
    }
    body.ffb .navbar-brand .img-fluid {
        width: 280px !important;
    }body.ffb .navbar-brand {
      padding-bottom: 0;
    }
}

@media (min-width: 992px) {
    body.ffb .jumbotron .container {
        max-width: 960px !important;
    }

    body.ffb .jumbotron .first-figure.last-figure img {
        width: 50vw;
        height: auto;
    }
    body.ffb .nav-link {
        font-size: var(--bs-nav-link-font-size);
    }
    body.ffb .navbar-brand .img-fluid {
        width: 380px !important;
    }
}
@media (min-width: 1200px) {
    body.ffb .jumbotron .container {
        max-width: 1140px !important;
    }

    body.ffb .jumbotron .first-figure.last-figure img {
        width: 50vw;
        height: auto;
        object-fit: fill;
    }
    body.ffb .navbar-brand .img-fluid {
        width: 420px !important;
    }
}

@media (min-width: 1400px) {
    body.ffb .jumbotron .container {
        max-width: 1320px !important;
    }

    body.ffb .jumbotron .first-figure.last-figure img {
        width: 50vw;
        height: auto;
        object-fit: fill;
    }
}

:root {
    --wlp-bwgelb: #FFFC00;
    --wlp-bwschwarz: #2A2623;
    --wlp-bwweiss: #ffffff;
    --wlp-hellgruen: #85D60A;
    --wlp-hellblau: #08AAD5;
    --wlp-dunkelblau: #116A8D;
    --wlp-hellgruen: #85D60A;
    --wlp-dunkelgruen: #4D7F0A;
    --wlp-hellrot: #F9542A;
    --wlp-dunkelrot: #BF1C0D;
    --wlp-grau1: #544F4F;
    --wlp-grau2: #7A7575;
    --wlp-grau3: #B0ACAB;
    --wlp-grau4: #D7D2D1;
    --wlp-grau5: #F1EEED;
    --wlp-blau: #163847;
    --bs-nav-link-font-size: 1.1rem;
    --bs-blue: #0d6efd;
    --bs-indigo: #6610f2;
    --bs-purple: #6f42c1;
    --bs-pink: #d63384;
    --bs-red: #dc3545;
    --bs-orange: #fd7e14;
    --bs-yellow: #ffc107;
    --bs-green: #198754;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-black: #000;
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-gray-100: #f8f9fa;
    --bs-gray-200: #e9ecef;
    --bs-gray-300: #dee2e6;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #6c757d;
    --bs-gray-700: #495057;
    --bs-gray-800: #343a40;
    --bs-gray-900: #212529;
    --bs-primary: #FFFC00;
    --bs-secondary: #274757;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --bs-primary-rgb: 255, 255, 0;
    --bs-secondary-rgb: 22, 70, 92;
    --bs-success-rgb: 25, 135, 84;
    --bs-info-rgb: 13, 202, 240;
    --bs-warning-rgb: 255, 193, 7;
    --bs-danger-rgb: 220, 53, 69;
    --bs-light-rgb: 248, 249, 250;
    --bs-dark-rgb: 33, 37, 41;
    --bs-primary-text-emphasis: #052c65;
    --bs-secondary-text-emphasis: #2b2f32;
    --bs-success-text-emphasis: #0a3622;
    --bs-info-text-emphasis: #055160;
    --bs-warning-text-emphasis: #664d03;
    --bs-danger-text-emphasis: #58151c;
    --bs-light-text-emphasis: #495057;
    --bs-dark-text-emphasis: #495057;
    --bs-primary-bg-subtle: #cfe2ff;
    --bs-secondary-bg-subtle: #e2e3e5;
    --bs-success-bg-subtle: #d1e7dd;
    --bs-info-bg-subtle: #cff4fc;
    --bs-warning-bg-subtle: #fff3cd;
    --bs-danger-bg-subtle: #f8d7da;
    --bs-light-bg-subtle: #fcfcfd;
    --bs-dark-bg-subtle: #ced4da;
    --bs-primary-border-subtle: #9ec5fe;
    --bs-secondary-border-subtle: #c4c8cb;
    --bs-success-border-subtle: #a3cfbb;
    --bs-info-border-subtle: #9eeaf9;
    --bs-warning-border-subtle: #ffe69c;
    --bs-danger-border-subtle: #f1aeb5;
    --bs-light-border-subtle: #e9ecef;
    --bs-dark-border-subtle: #adb5bd;
    --bs-white-rgb: 255, 255, 255;
    --bs-black-rgb: 0, 0, 0;
    --bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-font-size: 1rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
    --bs-body-color: #212529;
    --bs-body-color-rgb: 33, 37, 41;
    --bs-body-bg: #fff;
    --bs-body-bg-rgb: 255, 255, 255;
    --bs-emphasis-color: #000;
    --bs-emphasis-color-rgb: 0, 0, 0;
    --bs-secondary-color: rgba(33, 37, 41, 0.75);
    --bs-secondary-color-rgb: 33, 37, 41;
    --bs-secondary-bg: #e9ecef;
    --bs-secondary-bg-rgb: 233, 236, 239;
    --bs-tertiary-color: rgba(33, 37, 41, 0.5);
    --bs-tertiary-color-rgb: 33, 37, 41;
    --bs-tertiary-bg: #f8f9fa;
    --bs-tertiary-bg-rgb: 248, 249, 250;
    --bs-heading-color: inherit;
    --bs-link-color: #0d6efd;
    --bs-link-color-rgb: 13, 110, 253;
    --bs-link-decoration: underline;
    --bs-link-hover-color: #0a58ca;
    --bs-link-hover-color-rgb: 10, 88, 202;
    --bs-code-color: #d63384;
    --bs-highlight-color: #212529;
    --bs-highlight-bg: #fff3cd;
    --bs-border-width: 5px;
    --bs-border-style: solid;
    --bs-border-color: #dee2e6;
    --bs-border-color-translucent: rgba(0, 0, 0, 0.175);
    --bs-border-radius: 0.375rem;
    --bs-border-radius-sm: 0.25rem;
    --bs-border-radius-lg: 0.5rem;
    --bs-border-radius-xl: 1rem;
    --bs-border-radius-xxl: 2rem;
    --bs-border-radius-2xl: var(--bs-border-radius-xxl);
    --bs-border-radius-pill: 50rem;
    --bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);
    --bs-focus-ring-width: 0.25rem;
    --bs-focus-ring-opacity: 0.25;
    --bs-focus-ring-color: rgba(13, 110, 253, 0.25);
    --bs-form-valid-color: #198754;
    --bs-form-valid-border-color: #198754;
    --bs-form-invalid-color: #dc3545;
    --bs-form-invalid-border-color: #dc3545;
    --bs-breadcrumb-font-size: 0.8rem;
}

.navbar-nav {
    --bs-nav-link-padding-x: 0;
    --bs-nav-link-padding-y: 0.5rem;
    --bs-nav-link-font-weight: 600;
    --bs-nav-link-color: var(--bs-navbar-color);
    --bs-nav-link-hover-color: var(--bs-navbar-hover-color);
    --bs-nav-link-disabled-color: var(--bs-navbar-disabled-color);
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

navbar-light.navbar {
    --bs-navbar-padding-x: 0;
    --bs-navbar-padding-y: 0.5rem;
    --bs-navbar-color: rgba(var(--bs-emphasis-color-rgb), 0.65);
    --bs-navbar-hover-color: rgba(var(--bs-emphasis-color-rgb), 0.8);
    --bs-navbar-disabled-color: rgba(var(--bs-emphasis-color-rgb), 0.3);
    --bs-navbar-active-color: rgba(var(--bs-emphasis-color-rgb), 1);
    --bs-navbar-brand-padding-y: 0.3125rem;
    --bs-navbar-brand-margin-end: 1rem;
    --bs-navbar-brand-font-size: 1.25rem;
    --bs-navbar-brand-color: rgba(var(--bs-emphasis-color-rgb), 1);
    --bs-navbar-brand-hover-color: rgba(var(--bs-emphasis-color-rgb), 1);
    --bs-navbar-nav-link-padding-x: 0.5rem;
    --bs-navbar-toggler-padding-y: 0.25rem;
    --bs-navbar-toggler-padding-x: 0.75rem;
    --bs-navbar-toggler-font-size: 1.25rem;
    --bs-navbar-toggler-icon-bg: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e);
    --bs-navbar-toggler-border-color: rgba(var(--bs-emphasis-color-rgb), 0.15);
    --bs-navbar-toggler-border-radius: var(--bs-border-radius);
    --bs-navbar-toggler-focus-width: 0.25rem;
    --bs-navbar-toggler-transition: box-shadow 0.15s ease-in-out;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: var(--bs-navbar-padding-y) var(--bs-navbar-padding-x);
}



.first-figure.last-figure img {
    object-fit: cover;
    height: auto;
    max-width: none;
}

.first-figure.last-figure {
    /* margin: 0 calc(50vw + 100%) 0 0; */
    flex: 0 0 auto;
    text-align: unset !important;
}

.first-figure.last-figure figure {
    max-width: none !important;
}

.news .card::before {
    background: #16465c !important;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #16465c !important;
    --bs-btn-border-color: #16465c !important;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0f303f !important;
    --bs-btn-hover-border-color: #0f303f !important;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0f303f !important;
    --bs-btn-active-border-color: #0f303f !important;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #16465c !important;
    --bs-btn-disabled-border-color: #16465c !important;
}

.news .card {
    border-radius: var(--bs-border-radius) !important;
}
.news.news-single .header h1 {
    font-family: 'BaWueSans' !important;
    font-size: 1.5rem !important;
    font-weight: 600;
}
.ce-news_pi1 .news h4.card-title,
.ce-news_pi1 .news h3.card-title,
.seven-cards .card-text h4,
.seven-cards .card-text h3 {
    font-family: 'BaWueSans' !important;
    font-size: 1.25rem !important;
    font-weight: 600;
    margin-top: 0.5rem;
}

.ce-news_pi1 .swiper-pagination.swiper-pagination-clickable {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.ce-news_pi1 .swiper-pagination-bullet {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px;
  min-height: 48px;
  margin: 0 !important;
  padding: 0;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  opacity: 1 !important;
  cursor: pointer;
  border-radius: 999px;
}

/* Der sichtbare Punkt bleibt klein, nur die Klickfläche wird groß. */

.ce-news_pi1 .swiper-pagination-bullet::before {
  content: "";
  width: 10px;
  height: 10px;
  display: block;
  border-radius: 50%;
  background: var(--swiper-pagination-bullet-inactive-color, currentColor);
  opacity: var(--swiper-pagination-bullet-inactive-opacity, 0.35);
}

/* Aktiver Bullet */

.ce-news_pi1 .swiper-pagination-bullet-active::before {
  background: var(--swiper-pagination-color, var(--swiper-theme-color, currentColor));
  opacity: 1;
}

/* Tastatur-Fokus sichtbar machen */

.ce-news_pi1 .swiper-pagination-bullet:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

body.ffb :focus-visible {
    outline: 3px solid var(--wlp-blau) !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 3px var(--wlp-bwgelb) !important;
}
body.ffb a.ce-link {
    display: block;
    height: 100%;
}

body.ffb a.ce-link:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}
#swiper-{data.uid} .swiper-button-next,
#swiper-{data.uid} .swiper-button-prev {
    padding: 0;
    border: 0;
    background: transparent;
}
body.ffb a.ce-link:focus-visible > .ce-link-content {
    box-shadow:
        0 0 0 4px var(--wlp-bwgelb),
        0 0 0 8px var(--wlp-blau) !important;
}

.dpnglossary.pagination ul li.character {
    color: #fff !important;
    background: #595959 !important;
}

.dpnglossary.pagination ul li.character.empty {
    color: #212529 !important;
    background: #ddd !important;
}
.dpnglossary.pagination ul li.character.current {
    color: #fff !important;
    background: #16465c !important;
}

.navbar-brand-hotspots {
    position: relative;
    display: inline-block;
}

.navbar-brand-hotspots img {
    display: block;
    width: 100%;
    height: auto;
}

.brand-hotspot {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
}

/* Ministerium */
.brand-hotspot--km {
    left: 0;
    width: 32%;
}

/* Forum Frühkindliche Bildung */
.brand-hotspot--ffb {
    left: 32%;
    width: 29%;
}

/* Orientierungsplan Plus */
.brand-hotspot--op {
    left: 61%;
    width: 39%;
}

/*
 * „Transfer im Blick“ – Nachbau aus T3SB-Bordmitteln
 *
 * Container (Zusatzklasse: wlp-im-blick)
 * ├─ Textelement (Zusatzklasse: wlp-im-blick__kopf)   → gelber Kopf + Untertitel
 * └─ Card-Wrapper „Gruppe“ (wlp-im-blick__kacheln)    → drei Cards, jede einzeln verlinkbar
 */

.wlp-im-blick {
    --im-blick-rahmen: rgb(var(--bs-secondary-rgb, 22, 70, 92));
    --im-blick-gelb: var(--wlp-bwgelb, #fffc00);
    --im-blick-schwarz: var(--wlp-bwschwarz, #2a2623);
    --im-blick-linie: var(--wlp-grau3, #b0acab);

    margin-bottom: 3rem;
    border: 5px solid var(--im-blick-rahmen);
    border-radius: .375rem;
    background-color: #fff;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
    overflow: hidden;
}

/* ---------- Kopf ---------- */

.wlp-im-blick .wlp-im-blick__kopf > header {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 7.5rem;
    margin: 0;
    padding: 1rem 1rem 1rem clamp(10rem, 32%, 28rem);
    background: var(--im-blick-gelb) url(/fileadmin/user_upload/OPT.png) no-repeat 1.5rem center;
    background-size: clamp(9rem, 26%, 25rem) auto;
    border-bottom: 5px solid var(--im-blick-rahmen);
}

.wlp-im-blick .wlp-im-blick__kopf > header h3 {
    margin: 0;
    font-family: 'BaWueSans', Arial, sans-serif !important;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-transform: uppercase;
    color: var(--im-blick-schwarz);
}

/* Im Original steht „IM BLICK“ mittig im ganzen Balken, nicht nur rechts vom Logo. */
@media (min-width: 992px) {
    .wlp-im-blick .wlp-im-blick__kopf > header {
        padding-left: 1rem;
    }
}

.wlp-im-blick .wlp-im-blick__kopf > .bodytext {
    margin: 2.5rem 1rem 1rem;
    text-align: center;
    hyphens: manual;
}

.wlp-im-blick .wlp-im-blick__kopf > .bodytext p {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 2;
}

/* ---------- Kacheln ---------- */

.wlp-im-blick .wlp-im-blick__kacheln {
    max-width: 56rem;
    margin: 0 auto;
    padding: 1.5rem 1rem 2.5rem;
}

.wlp-im-blick .wlp-im-blick__kacheln > * {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
}

/* senkrechte Trennlinien zwischen den Kacheln */
.wlp-im-blick .wlp-im-blick__kacheln > * + *::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 17rem;
    border-left: 2px solid var(--im-blick-linie);
}

.wlp-im-blick .wlp-im-blick__kacheln .card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
    hyphens: manual;
}

/* Wolke immer oben – auch wenn seitenweite Regeln (.card.above > figure { order: … }) greifen */
.wlp-im-blick .wlp-im-blick__kacheln .card > figure {
    order: 1;
}

.wlp-im-blick .wlp-im-blick__kacheln .card > .card-body {
    order: 2;
}

.wlp-im-blick .wlp-im-blick__kacheln .card figure {
    width: 15rem;
    max-width: 100% !important;
    margin: 0 auto !important;
}

.wlp-im-blick .wlp-im-blick__kacheln .card figure img {
    width: 100%;
    height: auto;
    transition: transform .2s ease-in-out;
}

/* Zahl liegt unten auf der Wolke */
.wlp-im-blick .wlp-im-blick__kacheln .card-body {
    position: relative;
    margin-top: -3.4rem;
    padding: 0 .75rem;
}

.wlp-im-blick .wlp-im-blick__kacheln .card-body > header {
    width: 85%;
    margin: 0 auto 1.25rem;
    padding-bottom: .15rem;
    border-bottom: 2px solid var(--im-blick-linie);
}

.wlp-im-blick .wlp-im-blick__kacheln .card-body h4 {
    margin: 0;
    font-family: 'BaWueSans', Arial, sans-serif !important;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--im-blick-schwarz);
}

.wlp-im-blick .wlp-im-blick__kacheln .card-text p {
    margin: 0 auto;
    max-width: 15rem;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--im-blick-schwarz);
}

/* Zusatzhinweis „– am häufigsten …“ */
.wlp-im-blick .wlp-im-blick__kacheln .card-text p + p {
    margin-top: 1.5rem;
    max-width: 13rem;
    font-size: 1.05rem;
    font-weight: 400;
    font-style: italic;
}

/* ---------- Verlinkte Kacheln ---------- */

.wlp-im-blick .wlp-im-blick__kacheln a.ce-link {
    display: block;
    border-radius: .375rem;
}

.wlp-im-blick .wlp-im-blick__kacheln a.ce-link:hover .card-text p:first-child,
.wlp-im-blick .wlp-im-blick__kacheln a.ce-link:focus-visible .card-text p:first-child {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: .2em;
}

.wlp-im-blick .wlp-im-blick__kacheln a.ce-link:hover figure img,
.wlp-im-blick .wlp-im-blick__kacheln a.ce-link:focus-visible figure img {
    transform: scale(1.05);
}

/* T3SB setzt global a{outline:0} – Tastaturfokus hier wieder sichtbar machen (BITV 9.2.4.7) */
.wlp-im-blick .wlp-im-blick__kacheln a.ce-link:focus-visible {
    outline: 3px solid var(--im-blick-schwarz);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .wlp-im-blick .wlp-im-blick__kacheln .card figure img {
        transition: none;
    }
}

/* ---------- schmale Bildschirme ---------- */

@media (max-width: 767.98px) {
    .wlp-im-blick .wlp-im-blick__kopf > header {
        justify-content: flex-end;
        min-height: 5.5rem;
        padding-right: 1.25rem;
        background-position: 1rem center;
        background-size: 9rem auto;
    }

    .wlp-im-blick .wlp-im-blick__kopf > header h3 {
        font-size: 1.5rem;
    }

    .wlp-im-blick .wlp-im-blick__kopf > .bodytext p {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .wlp-im-blick .wlp-im-blick__kacheln {
        display: block;
        max-width: 22rem;
        padding-top: 0;
    }

    .wlp-im-blick .wlp-im-blick__kacheln > * + * {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    /* Trennlinien waagerecht, wenn die Kacheln untereinander stehen */
    .wlp-im-blick .wlp-im-blick__kacheln > * + *::before {
        right: 15%;
        left: 15%;
        height: 0;
        border-left: 0;
        border-top: 2px solid var(--im-blick-linie);
    }
}

