/* Kontaktformular: Abstand und Button-Stil */
.content-wrapper form input[type="submit"],
.content-wrapper form button[type="submit"] {
    margin-top: 1.2rem;
    background-color: #0056b3;
    border: 2px solid #0056b3;
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all .3s ease;
    box-shadow: 0 4px 15px rgba(0, 86, 179, 0.2);
}
.content-wrapper form input[type="submit"]:hover,
.content-wrapper form button[type="submit"]:hover {
    background-color: #004a99;
    border-color: #004a99;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 86, 179, 0.4);
}

/* Deutlicherer Rahmen für das Burger-Menü */
.navbar-toggler {
    border: 2.5px solid #1a2530 !important;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.04);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.navbar-toggler:focus, .navbar-toggler:hover {
    border-color: #0056b3 !important;
    box-shadow: 0 0 0 2px #0056b333;
}
/* Mehr Abstand zwischen letztem Menüpunkt und Such-Button in der Navbar */
.flex-menu + .btn.btn-custom {
    margin-left: 2.5rem;
}
section {
    box-shadow: 0 8px 24px -8px rgba(0,0,0,0.10);
    position: relative;
}


/* ============================= */
/* Content Block: Sponsorenleiste */
/* ============================= */
.sponsor-logo {
    object-fit: contain;
    width: auto;
    height: auto;
    max-width: 180px;
    max-height: 60px;
}
.sponsor-logo-portrait {
    max-height: 120px !important;
    max-width: 90px !important;
}
.sponsor-logo-landscape {
    max-height: 60px !important;
    max-width: 180px !important;
}
.sponsor-logo-square {
    max-height: 90px !important;
    max-width: 90px !important;
}

/* inter-100 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100;
    src: url('../vendor/google/fonts/inter-v20-latin/inter-v20-latin-100.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-100italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: italic;
    font-weight: 100;
    src: url('../vendor/google/fonts/inter-v20-latin/inter-v20-latin-100italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-200 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 200;
    src: url('../vendor/google/fonts/inter-v20-latin/inter-v20-latin-200.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-200italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: italic;
    font-weight: 200;
    src: url('../vendor/google/fonts/inter-v20-latin/inter-v20-latin-200italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    src: url('../vendor/google/fonts/inter-v20-latin/inter-v20-latin-300.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-300italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: italic;
    font-weight: 300;
    src: url('../vendor/google/fonts/inter-v20-latin/inter-v20-latin-300italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('../vendor/google/fonts/inter-v20-latin/inter-v20-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: italic;
    font-weight: 400;
    src: url('../vendor/google/fonts/inter-v20-latin/inter-v20-latin-italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-500 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    src: url('../vendor/google/fonts/inter-v20-latin/inter-v20-latin-500.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-500italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: italic;
    font-weight: 500;
    src: url('../vendor/google/fonts/inter-v20-latin/inter-v20-latin-500italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-600 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    src: url('../vendor/google/fonts/inter-v20-latin/inter-v20-latin-600.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-600italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: italic;
    font-weight: 600;
    src: url('../vendor/google/fonts/inter-v20-latin/inter-v20-latin-600italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-700 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    src: url('../vendor/google/fonts/inter-v20-latin/inter-v20-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-700italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: italic;
    font-weight: 700;
    src: url('../vendor/google/fonts/inter-v20-latin/inter-v20-latin-700italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-800 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    src: url('../vendor/google/fonts/inter-v20-latin/inter-v20-latin-800.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-800italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: italic;
    font-weight: 800;
    src: url('../vendor/google/fonts/inter-v20-latin/inter-v20-latin-800italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-900 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 900;
    src: url('../vendor/google/fonts/inter-v20-latin/inter-v20-latin-900.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-900italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: italic;
    font-weight: 900;
    src: url('../vendor/google/fonts/inter-v20-latin/inter-v20-latin-900italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-100 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 100;
    src: url('../vendor/google/fonts/poppins-v24-latin/poppins-v24-latin-100.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-100italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 100;
    src: url('../vendor/google/fonts/poppins-v24-latin/poppins-v24-latin-100italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-200 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 200;
    src: url('../vendor/google/fonts/poppins-v24-latin/poppins-v24-latin-200.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-200italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 200;
    src: url('../vendor/google/fonts/poppins-v24-latin/poppins-v24-latin-200italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-300 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    src: url('../vendor/google/fonts/poppins-v24-latin/poppins-v24-latin-300.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-300italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 300;
    src: url('../vendor/google/fonts/poppins-v24-latin/poppins-v24-latin-300italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-regular - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('../vendor/google/fonts/poppins-v24-latin/poppins-v24-latin-regular.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 400;
    src: url('../vendor/google/fonts/poppins-v24-latin/poppins-v24-latin-italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-500 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    src: url('../vendor/google/fonts/poppins-v24-latin/poppins-v24-latin-500.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-500italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 500;
    src: url('../vendor/google/fonts/poppins-v24-latin/poppins-v24-latin-500italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-600 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    src: url('../vendor/google/fonts/poppins-v24-latin/poppins-v24-latin-600.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-600italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 600;
    src: url('../vendor/google/fonts/poppins-v24-latin/poppins-v24-latin-600italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-700 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    src: url('../vendor/google/fonts/poppins-v24-latin/poppins-v24-latin-700.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-700italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 700;
    src: url('../vendor/google/fonts/poppins-v24-latin/poppins-v24-latin-700italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-800 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 800;
    src: url('../vendor/google/fonts/poppins-v24-latin/poppins-v24-latin-800.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-800italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 800;
    src: url('../vendor/google/fonts/poppins-v24-latin/poppins-v24-latin-800italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-900 - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 900;
    src: url('../vendor/google/fonts/poppins-v24-latin/poppins-v24-latin-900.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* poppins-900italic - latin */
@font-face {
    font-display: swap;
    /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: italic;
    font-weight: 900;
    src: url('../vendor/google/fonts/poppins-v24-latin/poppins-v24-latin-900italic.woff2') format('woff2');
    /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
    
/* Individuelle Hintergrundfarben */
.bg-custom-primary {
    background-color: #edede9 !important;
}

.bg-custom-secondary {
    background-color: #d6ccc2 !important;
}

.bg-custom-light {
    background-color: #f1faee !important;
}

.bg-custom-accent {
    background-color: #f5ebe0 !important;
}

.bg-custom-dark {
    background-color: #1a2530 !important;
}

/* =============================================== */
/* Grundlegende Stile & Typografie                 */
/* =============================================== */
body {
    font-family: 'Inter', sans-serif;
    background-color: #fdfdfd;
    /* Etwas helleres Weiß */
    color: #333;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 00;
    color: #1a2530;
}

.gap-6 {
    gap: 4rem !important;
    /* etwas größer als gap-5 */
}

.gap-7 {
    gap: 5rem !important;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-weight: 900;
    font-size: 2.5rem;
    color: #2c3e50;
    position: relative;
}

/* Dekorative Linie unter dem Titel */
.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #0056b3;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* =============================================== */
/* Navbar                                          */
/* =============================================== */
.navbar-custom {
    box-shadow: 0 4px 16px 0 rgba(0,0,0,0.10), 0 2px 0 0 rgba(0,0,0,0.03);
    padding: 1rem 0;
    transition: background-color .3s;
}

.navbar-custom .navbar-brand img {
    height: 50px;
    transition: transform .3s;
}

.navbar-custom .navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-custom .nav-link {
    color: #555;
    font-weight: 700;
    margin: 0 0.5rem;
    padding: 0.5rem 0;
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0056b3;
    transition: width .3s ease-in-out;
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
    width: 100%;
}

.navbar-custom .nav-link.active {
    color: #0056b3;
}

/* Mehr Abstand zwischen letztem Menüpunkt und Such-Button */
.navbar-custom .navbar-search {
    margin-left: 2rem;
}

/* Lightbox Grundstil */
.searchlightbox {
    visibility: hidden;
    /* Unsichtbar machen */
    opacity: 0;
    /* Vollständig transparent */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    /* Dunkler Hintergrund */
    transition: opacity 0.4s, visibility 0.4s;
    /* Animation hinzufügen */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Sichtbarer Zustand der Lightbox */
.searchlightbox.visible {
    visibility: visible;
    /* Sichtbar machen */
    opacity: 1;
    /* Vollständige Opazität */
}

/* Inhalt der Lightbox */
.searchlightbox .lightbox-content {
    background-color: #fefefe;
    margin: 15% auto;
    /* Zentrierung */
    padding: 20px;
    border: 1px solid #888;
    min-width: 315px;
    width: 800px;
    max-width: 75vw;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Schließbutton */
.searchlightbox .close {
    color: #aaa;
    position: absolute;
    top: -10px;
    right: 5px;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

.searchlightbox .close:hover,
.searchlightbox .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.tx-indexedsearch-searchbox-sword.form-control {
    width: 70%;
    display: inline;
}

.lightbox-content .tx-indexedsearch-info-sword,
.lightbox-content .tx-indexedsearch-info-sword-word,
.lightbox-content .tx-indexedsearch-browsebox,
.lightbox-content .tx-indexedsearch-res {
    display: none;
}

.lightbox-content section {
    padding: 10px 0;
}

.tx-indexedsearch-info-sword {
    margin: 1rem 0 1rem 0;
}

span.tx-indexedsearch-info-sword-word {
    font-weight: bold;
}

.tx-indexedsearch-title {
    font-size: 120%;
}

.tx-indexedsearch-res {
    border-bottom: 1px solid #ddd;
    margin-bottom: 1rem;
}

/* Breadcrumb/Rootline minimalistisch, dezent */
.breadcrumb {
    background: none;
    padding: 0;
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1.15rem;
    font-weight: 400;
    color: #1A2530;
    letter-spacing: 0.01em;
}

.breadcrumb-item {
    color: #1A2530;
    opacity: 0.7;
}

.breadcrumb-item.active {
    color: #1A2530;
    opacity: 1;
    font-weight: 700;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "/";
    color: #b0b0b0;
    padding: 0 0.4rem;
    font-weight: 400;
}

.breadcrumb a {
    color: #1A2530;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #2c3e50;
    text-decoration: underline;
}

/* Abstand nach Breadcrumb zum Content */
.breadcrumb {
    margin-bottom: 1.2rem;
}

/* =============================================== */
/* Hero Section (ANGEPASST)                        */
/* =============================================== */
.hero-section {
    position: relative;
    color: #1a2530;
    /* Textfarbe auf dunkleres Grau geändert */
    text-align: left;
    padding: 120px 0;
    background-color: #ffffff;
    /* Weißer Hintergrund */
    overflow: hidden;
    /* Wichtig für die Positionierung des Bildes */
    min-height: 600px;
    /* Mindesthöhe für die Sektion */
    display: flex;
    align-items: center;
    z-index: 1;
    /* Z-Index-Kontext für absolute Positionierung */
}

/* HINZUGEFÜGT: Stellt sicher, dass der Text über dem Bild liegt */
.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-weight: 900;
    color: #1a2530 !important;
    text-shadow: none;
    /* Textschatten entfernt */
}

/* ANGEPASST: Logik für Bildpositionierung */
.hero-image {
    position: absolute;
    top: 0;
    bottom: 0;
    height: 100%;
    object-fit: cover;
    /* Skaliert das Bild unter Beibehaltung des Seitenverhältnisses */

    /* HINZUGEFÜGT: Steuert den "Fokus" des Bildes. 
            'center center' (oder 50% 50%) ist der Standard. 
            Du kannst dies anpassen (z.B. 'left center' oder '30% 50%'), 
            falls das Hauptmotiv in deinem Bild nicht zentriert ist.
        */
    object-position: right center;

    z-index: 0;
    /* Hinter dem Text-Container */

    /* Standardmäßig ausblenden (für Mobile) */
    display: none;
}
    
        /* Medium (md) - ab 768px (Container-Breite 720px) */
        @media (min-width: 768px) {
            .hero-image {
                display: block;
                /* Breite = 50% der Container-Breite (720px / 2 = 360px) */
                width: 360px;
                /* Rechter Rand = (Bildschirmbreite - Containerbreite) / 2 */
                right: calc((100vw - 720px) / 2);
            }
        }
    
        /* Large (lg) - ab 992px (Container-Breite 960px) */
        @media (min-width: 992px) {
            .hero-image {
                /* Breite = 50% der Container-Breite (960px / 2 = 480px) */
                width: 480px;
                /* Rechter Rand = (Bildschirmbreite - Containerbreite) / 2 */
                right: calc((100vw - 960px) / 2);
            }
            .navbar .btn-custom.d-lg-none {
                padding: 0.5rem 1.1rem;
                font-size: 1.2rem;
                box-shadow: none;
            }
        }
    
        /* Extra Large (xl) - ab 1200px (Container-Breite 1140px) */
        @media (min-width: 1200px) {
            .hero-image {
                /* Breite = 50% der Container-Breite (1140px / 2 = 570px) */
                width: 570px;
                /* Rechter Rand = (Bildschirmbreite - Containerbreite) / 2 */
                right: calc((100vw - 1140px) / 2);
            }
        }
    
        /* Extra Extra Large (xxl) - ab 1400px (Container-Breite 1320px) */
        @media (min-width: 1400px) {
            .hero-image {
                /* Breite = 50% der Container-Breite (1320px / 2 = 660px) */
                width: 660px;
                /* Rechter Rand = (Bildschirmbreite - Containerbreite) / 2 */
                right: calc((100vw - 1320px) / 2);
            }
        }
    
        /* =============================================== */
        /* Buttons                                         */
        /* =============================================== */
        .btn-custom {
            background-color: #0056b3;
            border: 2px solid #0056b3;
            color: white;
            border-radius: 8px;
            /* Weniger rund */
            padding: 12px 30px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: all .3s ease;
            box-shadow: 0 4px 15px rgba(0, 86, 179, 0.2);
        }
    
        .btn-custom:hover {
            background-color: #004a99;
            border-color: #004a99;
            transform: translateY(-3px);
            box-shadow: 0 7px 20px rgba(0, 86, 179, 0.4);
            color: white;
        }
    
        /* =============================================== */
        /* Bild-Karten                                     */
        /* =============================================== */

        .card.bild-card .card-title,
        .card.bild-card .card-text {
            text-align: center;
            color: #2c3e50;
        }

        .card.bild-card {
            display: flex;
            flex-direction: column;
        }

        .card.bild-card {
            border: 1px solid #e9ecef;
            border-radius: 8px;
            box-shadow: 0 2px 15px rgba(0, 0, 0, .05);
            transition: transform .3s, box-shadow .3s, border-color .3s;
            background-color: white;
            overflow: hidden;
            position: relative;
            display: flex;
            flex-direction: column;
        }

        .card.bild-card:hover {
            transform: scale(1.05);
            border-color: #0056b3;
            box-shadow: 0 10px 30px rgba(0, 0, 0, .1), 0 0 0 4px rgba(0, 86, 179, 0.5);
            z-index: 10;
        }

        .card.bild-card .card-img-top {
            border-radius: 0;
            height: 220px;
            object-fit: cover;
            width: 100%;
        }

        .card.bild-card .card-body {
            padding: 1.75rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        .card.bild-card .card-title {
            margin-bottom: 1.25rem;
            font-weight: 800;
            font-size: 1.3rem;
        }
    
        /* =============================================== */
        /* Icon Boxes                                      */
        /* =============================================== */
        .icon-box {
            text-align: center;
            padding: 30px;
        }
    
        .icon-box .icon {
            font-size: 52px;
            color: #0056b3;
            margin-bottom: 20px;
            transition: transform .3s;
        }
    
        .icon-box:hover .icon {
            transform: scale(1.2);
        }
    
        /* =============================================== */
        /* Footer                                          */
        /* =============================================== */
        .footer {
            background-color: #1a2530;
            color: #adb5bd;
            padding-top: 60px;
        }
    
        .footer h5 {
            color: #fff;
            font-weight: 700;
            margin-bottom: 20px;
        }
    
        .footer a {
            color: #adb5bd;
            text-decoration: none;
            transition: color .2s;
        }
    
        .footer a:hover {
            color: #fff;
            text-decoration: none;
        }
    
        .footer-bottom {
            background-color: #111a21;
            color: #6c757d;
            padding: 20px 0;
            font-size: 0.9rem;
        }
    
        /* =============================================== */
        /* Sponsoren                                       */
        /* =============================================== */
        .sponsor-logo {
            max-height: 60px;
            filter: grayscale(100%);
            opacity: 0.6;
            transition: all .3s;
        }
    
        .sponsor-logo:hover {
            filter: grayscale(0%);
            opacity: 1;
            transform: scale(1.12);
        }
    
        /* =============================================== */
        /* NEU: Sponsoren Logo Spezifische Styles          */
        /* =============================================== */
        /* Anpassungen für die echten Sponsorenlogos */
        .sponsor-logo-adac {
            max-height: 90px;
        }
    
        .sponsor-logo-jitsie {
            max-height: 65px;
        }
    
        .sponsor-logo-beta {
            max-height: 95px;
        }
    
        .sponsor-logo-dunlop {
            max-height: 60px;
        }
.content-wrapper>.frame.frame-type-form_formframework:last-of-type {
    margin-bottom: 5rem !important;
}