body {
    font-family: 'Lato', sans-serif; 
    font-size: 16px;
    line-height: 1.42857;
    color: #5e5e5e;
    font-weight: 300;
}

a {
    color: #3672b9;
    text-decoration: none;
}
a {
    background-color: transparent;
}
a:active,
a:hover {
outline: 0;
}
a:hover, a:focus {
    color: #254e7e;
}
a:active, a:hover {
    outline: 0;
}

html {
    font-size: inherit;
}

h1, h2, h3, h4, h5, h6, .h1, .jobs .content h2, .contacts .content h2, .layout-homepage .homepage-main section h2:first-child, .h2, .layout-homepage .homepage-teasers article section h2, .layout-homepage .homepage-teasers:not(.homepage-top-teaser) article section h2, .h3, .h4, .navbar-default .navbar-main > li > a, article .contact.contact-no-map:not(.contact-region) div[itemprop=name], aside .contact .contact-address address div[itemprop=name], .layout-homepage .homepage-main section .ce-bodytext h3, .h5, .navbar-footer .brand, .content-accordion .panel-item-title, .content:not(.homepage-news) .content-accordion .apply-now a, .content:not(.homepage-news) .content-accordion.news-accordion .panel-body .teaser-text h2, .content.homepage-news .content-accordion .panel-default .panel-collapse .panel-body .teaser-text h2, .content.homepage-news .content-accordion .panel-default .panel-collapse .apply-now a, .content + aside h2, .h6 {
    font-family: 'Lato', sans-serif; 
    font-weight: 500;
    line-height: 1.2;
    color: inherit;
    text-transform: unset;
}
/*p {
  color: #354b54;
}*/
.p-10 {
    padding: 10px;
}
.nav-item a {
    text-transform: uppercase;
}
.path {
    color: #83929b;
    font-size: 0.9rem;
    font-weight:400;
}
.nav-item ul.dropdown-menu a {
    text-transform: none;
}
.nav-item a:hover {
    color: #354b54 !important;
}
.nav-item a.active  {
    color: #0069b4 !important;
}
.nav-item a.dropdown-item.active  {
    font-size:16px;
    color: #fefefe !important;
 }

.subnavi {
    font-size: 0.9rem;
    color: #0069b4;
    font-weight: 400;
}
.subnavi-mobile {
    font-size: 0.9rem;
    color: #0069b4;
    font-weight: 400;
    padding:10px 0;
}
.navbar {
    border-bottom: 2px solid #0069b4;
}
.path_border {
    /*border-bottom: 1px solid grey;*/
    padding-bottom: 4px;
}
.navi {
    padding-top:32px;
}
.dropdown-item.current {
    font-weight: 600;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23292b2c' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e"); 
    background-repeat: no-repeat;
    background-position: right 1rem top 0.6rem;
    background-size: 0.75rem 0.75rem;
}
a:hover, a:focus {
    text-decoration: inherit;
}
.path a {
    color: #83929b;
}

.footer a:hover {
    text-decoration: underline;
}

.product .product-link a, .news-single .news-backlink-wrap a {
    font-family: 'Lato', sans-serif; 
    padding: 0;
    text-transform: none;
    font-weight: 400;
}

@media (max-width: 767px) {
    .navi {
        padding-top:5px;
    }
}

.blue {
    color: #0069b4;
    font-weight: 500;
}

.content h1, .content .h1, .jobs .content h2, .contacts .content h2, .content .layout-homepage .homepage-main section h2:first-child, .layout-homepage .homepage-main section .content h2:first-child {
    text-transform: initial;
}
h1.underline:after {
    content: '';
    display: block;
    position: absolute;
    left: calc(50% - 35px);
    height: 15px;
    width: 50px;
    border-bottom: 3px solid #00ae57;
}

h1.underline {
    clear:both;
}

.tx-powermail .powermail_form_5 .powermail_fieldwrap_telefonnummer {
    padding: 0;
}

.tx-powermail .powermail_form_5 .powermail_fieldwrap_type_input label, .tx-powermail .powermail_form_5 .powermail_fieldwrap_type_date label, .tx-powermail .powermail_form_6 .powermail_fieldwrap_type_input label, .tx-powermail .powermail_form_6 .powermail_fieldwrap_type_date label {
    display: block;
}

.tx-dce-container {
    padding: 0;
    margin-bottom: 1.5rem!important;
}

.tx-powermail .powermail_form_5 #powermail_field_datenschutz_1, .tx-powermail .powermail_form_6 #powermail_field_datenschutz_1 {
	position: relative;
	margin-left: 0;
	margin-top: 0;
	width: auto;
	float: left;
	margin-right: 10px;
	margin-top: 0;
	margin-top: 0;
	height: 90px;
}

.layout-homepage .homepage-main section .ce-bodytext p.more-link-wrapper a, .layout-homepage .homepage-teasers article section .ce-bodytext p.more-link-wrapper a {
    font-family: 'Lato', sans-serif; 
    font-weight: 500;
    text-transform: unset;
}

.product .product-description h3 {
    text-transform: none;
}

.content + aside h2, .product-list aside h2 {
    text-transform: none;
}

.footer a {
    color: white;
}

.footer .footer_img {
    margin-top: -5px;
    margin-left:35px;
}

h1.text-center:after, h1.green:after {
    border-bottom: 0;
    height: 0px;
    width: 0px;
    content: '';
}

h2.green, h1.green {
    color:#96c11f;
}

.greydiv {
    background-color: #c2cace;
    color: black;
    padding: 30px;
    margin-left: -40px;
    margin-right: -40px;
}
.greydivaccordion {
    background-color: #E6E9EB;
    color: black;
    padding: 0 30px 30px;
    margin-left: -40px;
    margin-right: -40px;
}
.bluediv {
    background-color: #c8dff2;
    color: black;
    padding: 30px;
    margin-left: -40px;
    margin-right: -40px;
}
.produkte {
    background-color: white;
}
p.larger {
    font-size: larger;
}
p.large {
    font-size: large;
}
.larger ul li {
    font-size: large;
}
.nav-link {
    color: black;
    font-weight: 700;
}
.nav-tabs .nav-link {
    border: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.greydivaccordion .nav-item:not(:first-child) .nav-link {
    border-left: 1px solid #0069b4;
}

div.larger p {
    font-size: larger;
}

.fade {
    opacity: 1;
}

/*.content {
    border-top: 1px solid #e6e6e6;
    border-left: 1px solid #e6e6e6;
    border-right: 1px solid #e6e6e6;
}*/

/* nunito-300 - latin */
@font-face {
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 300;
    src: url('/fileadmin/Public/fonts/nunito-v25-latin-300.eot'); /* IE9 Compat Modes */
    src: local(''),
            url('/fileadmin/Public/fonts/nunito-v25-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
            url('/fileadmin/Public/fonts/nunito-v25-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
            url('/fileadmin/Public/fonts/nunito-v25-latin-300.woff') format('woff'), /* Modern Browsers */
            url('/fileadmin/Public/fonts/nunito-v25-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
            url('/fileadmin/Public/fonts/nunito-v25-latin-300.svg#Nunito') format('svg'); /* Legacy iOS */
}

/* nunito-regular - latin */
@font-face {
font-family: 'Nunito';
font-style: normal;
font-weight: 400;
src: url('/fileadmin/Public/fonts/nunito-v25-latin-regular.eot'); /* IE9 Compat Modes */
src: local(''),
        url('/fileadmin/Public/fonts/nunito-v25-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('/fileadmin/Public/fonts/nunito-v25-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
        url('/fileadmin/Public/fonts/nunito-v25-latin-regular.woff') format('woff'), /* Modern Browsers */
        url('/fileadmin/Public/fonts/nunito-v25-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
        url('/fileadmin/Public/fonts/nunito-v25-latin-regular.svg#Nunito') format('svg'); /* Legacy iOS */
}

  /* lato-100 - latin */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 100;
    src: url('/fileadmin/Public/fonts/lato-v23-latin-100.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('/fileadmin/Public/fonts/lato-v23-latin-100.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/fileadmin/Public/fonts/lato-v23-latin-100.woff2') format('woff2'), /* Super Modern Browsers */
         url('/fileadmin/Public/fonts/lato-v23-latin-100.woff') format('woff'), /* Modern Browsers */
         url('/fileadmin/Public/fonts/lato-v23-latin-100.ttf') format('truetype'), /* Safari, Android, iOS */
         url('/fileadmin/Public/fonts/lato-v23-latin-100.svg#Lato') format('svg'); /* Legacy iOS */
  }

/* lato-300 - latin */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 300;
src: url('/fileadmin/Public/fonts/lato-v23-latin-300.eot'); /* IE9 Compat Modes */
src: local(''),
        url('/fileadmin/Public/fonts/lato-v23-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('/fileadmin/Public/fonts/lato-v23-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
        url('/fileadmin/Public/fonts/lato-v23-latin-300.woff') format('woff'), /* Modern Browsers */
        url('/fileadmin/Public/fonts/lato-v23-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
        url('/fileadmin/Public/fonts/lato-v23-latin-300.svg#Lato') format('svg'); /* Legacy iOS */
}

/* lato-regular - latin */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 400;
src: url('/fileadmin/Public/fonts/lato-v23-latin-regular.eot'); /* IE9 Compat Modes */
src: local(''),
        url('/fileadmin/Public/fonts/lato-v23-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('/fileadmin/Public/fonts/lato-v23-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
        url('/fileadmin/Public/fonts/lato-v23-latin-regular.woff') format('woff'), /* Modern Browsers */
        url('/fileadmin/Public/fonts/lato-v23-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
        url('/fileadmin/Public/fonts/lato-v23-latin-regular.svg#Lato') format('svg'); /* Legacy iOS */
}

/* lato-700 - latin */
@font-face {
font-family: 'Lato';
font-style: normal;
font-weight: 700;
src: url('/fileadmin/Public/fonts/lato-v23-latin-700.eot'); /* IE9 Compat Modes */
src: local(''),
        url('/fileadmin/Public/fonts/lato-v23-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('/fileadmin/Public/fonts/lato-v23-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
        url('/fileadmin/Public/fonts/lato-v23-latin-700.woff') format('woff'), /* Modern Browsers */
        url('/fileadmin/Public/fonts/lato-v23-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
        url('/fileadmin/Public/fonts/lato-v23-latin-700.svg#Lato') format('svg'); /* Legacy iOS */
}

/* poppins-regular - latin */
@font-face {
font-family: 'Poppins';
font-style: normal;
font-weight: 400;
src: url('/fileadmin/Public/fonts/poppins-v20-latin-regular.eot'); /* IE9 Compat Modes */
src: local(''),
        url('/fileadmin/Public/fonts/poppins-v20-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('/fileadmin/Public/fonts/poppins-v20-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
        url('/fileadmin/Public/fonts/poppins-v20-latin-regular.woff') format('woff'), /* Modern Browsers */
        url('/fileadmin/Public/fonts/poppins-v20-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
        url('/fileadmin/Public/fonts/poppins-v20-latin-regular.svg#Poppins') format('svg'); /* Legacy iOS */
}

/* poppins-600 - latin */
@font-face {
font-family: 'Poppins';
font-style: normal;
font-weight: 600;
src: url('/fileadmin/Public/fonts/poppins-v20-latin-600.eot'); /* IE9 Compat Modes */
src: local(''),
        url('/fileadmin/Public/fonts/poppins-v20-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
        url('/fileadmin/Public/fonts/poppins-v20-latin-600.woff2') format('woff2'), /* Super Modern Browsers */
        url('/fileadmin/Public/fonts/poppins-v20-latin-600.woff') format('woff'), /* Modern Browsers */
        url('/fileadmin/Public/fonts/poppins-v20-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */
        url('/fileadmin/Public/fonts/poppins-v20-latin-600.svg#Poppins') format('svg'); /* Legacy iOS */
}

/* default styles for extension "tx_mmcdirectmailsubscription" */
.tx-mmc-directmail-subscription .form-row label{ display:block }
.tx-mmc-directmail-subscription .form-row.error label{ color:#D00 }
.tx-mmc-directmail-subscription .form-row.error input,
.tx-mmc-directmail-subscription .form-row.error textarea{
    color:#D00;
    border-bottom: 1px dotted #D00;
}
  .tx-mmc-directmail-subscription input.h { display:none }

.tx-mmc-directmail-subscription input, .tx-mmc-directmail-subscription select {
  display: block;
  width: 100%;
  height: 40px;
  padding: 6px 12px;
  line-height: 1.42857;
  color: #555555;
  background-color: #fff;
  background-image: none;
  border: 1px solid #e6e6e6;
  border-radius: 0;
  -webkit-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.tx-mmc-directmail-subscription input::placeholder {
color: #555555;
}

.tx-mmc-directmail-subscription label, .tx-mmc-directmail-subscription legend {
  display: none !important;
}

.tx-mmc-directmail-subscription .form-row {
  margin-bottom: 30px;
}

.tx-mmc-directmail-subscription input, .tx-mmc-directmail-subscription select {
  font-size: 18px;
}

.contenttable {
    border-collapse: collapse;
    margin: 0;
    font-size: 0.9em;
    font-family: sans-serif;
    min-width: 400px;
    /*box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);*/
}

.contenttable thead tr {
    background-color: #3672b9;
    color: #ffffff;
    text-align: left;
}

.tx-oblprodukte .nav-link.active {
    border-bottom: 1px solid #3672b9 !important;
}

.tx-oblprodukte .nav-link:hover {
    border-bottom: 1px solid #3672b9 !important;
}

.contenttable th,
.contenttable td {
    padding: 12px 15px;
}

.contenttable tbody tr {
    border-bottom: 1px solid #dddddd;
}

.contenttable tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.contenttable tbody tr:last-of-type {
    border-bottom: 2px solid #3672b9;
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #3672b9;
}

h3.card-title.green, h2.green {
    color:#96c11f !important;
}

h3.card-title.blue {
    color: #3672b9 !important;
}

h2.black, h3.card-title.black {
    color: black !important;
}

.tab-content table.contenttable tbody td {
    text-wrap: nowrap;
}






/* =========================================================
   DESKTOP / STANDARD-TABELLENANSICHT
   ========================================================= */

/* Grundlayout der Tabelle
   Hinweis: Die RTE-Tabellen kommen als schlichtes <table> ohne Klasse
   "contenttable" und teils mit Inline-Border-Styles (border-style:ridge,
   weiße border-color). Daher greifen wir auf alle Tabellen im Tab-Inhalt zu
   und erzwingen einheitliche Rahmen per !important. */
.tab-content table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

/* HEADER – Blau, weiße Schrift, zentriert */
.tab-content table thead th {
    background-color: #fff;   /* Nordluft-Blau */
    color: #0069b4;
    text-align: center;
    vertical-align: top;
    padding: 8px 6px;
    font-weight: 600;
    white-space: normal;
    border: 1px solid #e5e5e5 !important;
}

/* Unterste Headerzeile: Einheiten etwas kleiner */
.tab-content table thead tr:last-child th {
    font-size: 0.9rem;
    font-weight: 500;
}

/* BODY – linksbündige Daten */
.tab-content table tbody td {
    vertical-align: top;
    padding: 3px;
    text-align: left;
    white-space: nowrap;
    border: 1px solid #e5e5e5 !important;
}

.tab-content table tbody td p {
    margin: 0;
    padding: 0;
}

/* Wrapper – Inline float:left der RTE-Figure aufheben, sonst rutscht der
   nachfolgende Inhalt (z. B. "Lieferumfang") neben/unter die Tabelle. */
.tab-content figure.table {
    width: 100%;
    float: none !important;
    clear: both;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}



/* =========================================================
   MOBILE / CARD-VIEW FÜR SCHMALE BILDSCHIRME
   ========================================================= */
@media (max-width: 768px) {

    /* Tabellenstruktur zu Blöcken umwandeln */
    .tab-content table.contenttable,
    .tab-content table.contenttable thead,
    .tab-content table.contenttable tbody,
    .tab-content table.contenttable th,
    .tab-content table.contenttable td,
    .tab-content table.contenttable tr {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    /* Header ausblenden (wir nutzen data-label) */
    .tab-content table.contenttable thead {
        display: none !important;
    }

    /* Jede Tabellenzeile wird zur "Karte" */
    .tab-content table.contenttable tbody tr {
        margin-bottom: 1rem;
        background: #fff;
        border-radius: 6px;
        padding: 12px;
        border: 1px solid #ddd;
    }

    /* TD → Label + Wert */
    .tab-content table.contenttable tbody td {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 6px 0;
        border: 0;
        text-align: left !important;
    }

    /* Label aus data-label */
    .tab-content table.contenttable tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        margin-bottom: 4px;
        white-space: nowrap;
        width: 100%;
        color: #333;
    }

    /* Kein horizontales Scrollen im Card-Layout */
    .tab-content figure.table {
        overflow-x: visible !important;
    }
}





.download-list-modern {
    width: 100%;
    padding: 10px 0;
}

.dl-row {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    align-items: center;

    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 16px 18px;
    margin-bottom: 14px;
    gap: 20px;
}

.dl-icon {
    font-size: 2.3rem;
    text-align: center;
}

.dl-title {
    font-weight: 600;
    font-size: 1rem;
}

.dl-meta {
    font-size: .85rem;
    color: #666;
    margin-top: 3px;
}

.dl-actions {
    white-space: nowrap;
}

/* Mobile */
@media (max-width: 768px) {
    .dl-row {
        grid-template-columns: 50px 1fr;
        grid-template-areas:
            "icon text"
            "actions actions";
    }

    .dl-icon {
        grid-area: icon;
    }

    .dl-text {
        grid-area: text;
    }

    .dl-actions {
        grid-area: actions;
        margin-top: 8px;
    }
}

.typo3-messages,
.typo3-messages ul,
.typo3-messages li {
    list-style: none;
    margin: 10px 0;
    padding: 10px;
}



/* Erste Spalte (TH + TD) immer linksbündig */
.tab-content table.contenttable th:first-child,
.tab-content table.contenttable td:first-child {
    text-align: left !important;
}

/* Alle anderen Spalten zentriert */
.tab-content table.contenttable th:not(:first-child),
.tab-content table.contenttable td:not(:first-child) {
    text-align: center;
}

.downloads-grid {
    width: 100%;
    padding: 10px 0;
}

.download-card {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #fff;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.download-title {
    font-weight: 600;
    font-size: 1rem;
}

.download-thumb img {
    max-height: 160px;
    object-fit: contain;
}

.download-icon {
    font-size: 2.4rem;
    line-height: 1;
}

.download-meta {
    color: #666;
}

.download-card .btn {
    font-size: 0.9rem;
    margin-top: auto;
}

.download-tile {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background-color: #fff;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
}

.download-tile__title {
    color: #0069b4;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.download-tile__image {
    height: 150px;
    overflow: hidden;
}

.download-tile__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.download-tile__links {
    margin-top: auto;
}

.download-tile__links .btn {
    font-size: 0.9rem;
}

/* etwas mehr Luft zwischen Zeilen auf sehr kleinen Screens */
@media (max-width: 576px) {
    .download-card {
        padding: 12px 8px;
    }

    .download-tile {
        padding: 12px 8px;
    }
}



.btn-primary {
    color: #fff;
    background-color: #0069b4;
    border-color: #0069b4;
}

.btn-outline-primary:hover {
    color: #fff;
    background-color: #0069b4;
    border-color: #0069b4;
}

.btn-outline-primary {
    color: #0069b4;
    background-color: #fff;
    border-color: #0069b4;
}

.btn-primary:hover {
    color: #fff;
    background-color: #1F7FC9;
    border-color: #1F7FC9;
}

.nl-card,
.obl_products_list .card {
    width: 100%;
}

.nl-card-image {
    display: block;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    background: #fff;
    flex: 0 0 auto;
}

.nl-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
}

.nl-card-image--contain {
    height: 200px;
}

.nl-card-image--contain img {
    object-fit: contain;
}

.nl-card-image--cover {
    height: 260px;
}

.nl-card-image--cover img {
    object-fit: cover;
}

.obl_products_list .nl-card-image--contain {
    padding: 12px 12px 0;
}

.h2-downloads {
    margin: 0 auto 30px auto;
    text-align: center;
}

/* Fullwidth helper */
.fullwidth-section {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  overflow-x: clip; /* oder hidden */
}

html { overflow-x: clip; } /* modern */

/* ===== Seiten-Headerbild (vollbreite) ===== */
.nl-seiten-headerbild {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  max-height: 500px;
  line-height: 0; /* verhindert Lücke unter dem Bild */
}

.nl-seiten-headerbild__img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* nordluft Demo Sections */
.nl-section--gray{
  background: #e9ecef;      /* Bootstrap "bg-light"-ähnlich, ggf. anpassen */
}

.layout-homepage .homepage-main section h2:first-child:after
{
    border-bottom: 0;
    width: auto;
}

/* Accordion-Header (z. B. Produkt-Zubehör) sollen die dekorative
   :after-Linie und damit den zusätzlichen Abstand nicht bekommen */
.layout-homepage .homepage-main section h2.accordion-header:first-child:after
{
    display: none;
}

/* White section */
.nl-section--white { background:#fff; }

/* Servicebox */
.nl-servicebox{
  border: 1px solid #e6e6e6;
  background: #fff;
}

.nl-servicebox__head{
  background: #0b67a3;          /* nordluft-blau, ggf. anpassen */
  color: #fff;
  padding: 18px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 90px;
}

.nl-servicebox__icon{
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex: 0 0 auto;
}

.nl-servicebox__title{
  font-size: 22px;
  line-height: 1.1;
  font-weight: 600;
}

.nl-servicebox__body{
  padding: 18px 18px 22px;
}

.nl-servicebox__text{
  margin-bottom: 18px;
}

/* Titel-Farben (an euer Theme-Blau anpassen, falls nötig) */
.nl-title-blue{
  color:#0b67a3;
  font-weight:700;
  font-size: 34px;
  line-height:1.15;
}

.nl-subtitle-blue{
  color:#0b67a3;
  font-weight:700;
  font-size: 18px;
  line-height:1.2;
}

/* Fact Boxes */
.nl-factbox{
  background:#0b67a3;
  color:#fff;
  padding: 18px 18px 20px;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  min-height: 220px;
}

.nl-factbox__big{
  font-weight:800;
  font-size: 64px;
  line-height: 1;
  margin-bottom: 10px;
}

.nl-factbox__unit{
  font-size: 28px;
  font-weight:700;
  margin-left: 4px;
}

.nl-factbox__big--stacked{
  font-size: 46px;
  line-height: 1.05;
}

.nl-factbox__mid{
  font-weight:700;
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.nl-factbox__small{
  font-size: 14px;
  line-height: 1.35;
  opacity: .95;
}

/* Contact bar spacing */
.nl-contactbar{
  padding: 28px 0;
}

/* Icon list (address/phone/mail) */
.nl-iconlist{
  list-style:none;
  padding:0;
  margin:0;
}

.nl-iconlist__item{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-bottom:10px;
  font-size:14px;
  line-height:1.35;
}

.nl-iconlist__icon{
  width:18px;
  height:18px;
  margin-top:2px;
  object-fit:contain;
}

/* Quicklinks */
.nl-quicklink{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:inherit;
  font-size:14px;
  line-height:1.2;
  padding:6px 0;
}

.nl-quicklink__icon{
  width:18px;
  height:18px;
  object-fit:contain;
}


.video-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);   /* bricht aus TYPO3-Containern aus */
    margin-right: calc(50% - 50vw);
    height: 600px;
    overflow: hidden;
    position: relative;
    background: #f1f1f1; /* Fallback-Farbe */
}

.video-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* entscheidend für Crop statt Verzerren */
    object-position: center center;
    display: block;
}


.video-hero {
  position: relative;
  overflow: hidden;
}

.video-hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Floating menu wrapper */
.nl-floatmenu {
  position: fixed;
  right: 24px;
  top: calc(50% - 100px);
  transform: translateY(-50%);
  z-index: 1040;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Each button */
.nl-floatmenu__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  /* "Collapsed" look (just icon visible) */
  width: 48px;                 /* icon width */
  height: 44px;
  overflow: hidden;
  white-space: nowrap;

  background: #0b5ea8;         /* nordluft-blau (ggf. anpassen) */
  color: #fff;
  text-decoration: none;

  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);

  transition: width .2s ease, background-color .2s ease;
}

/* Icon box */
.nl-floatmenu__icon {
  width: 48px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  font-size: 20px;             /* für BI */
}

/* Label hidden by width/overflow */
.nl-floatmenu__label {
  padding-right: 14px;
  font-size: 16px;
  line-height: 1;
  color: white;
}

/* Hover expands */
.nl-floatmenu:hover .nl-floatmenu__item,
.nl-floatmenu.is-open .nl-floatmenu__item {
  width: 220px;                /* ausgefahrene Breite */
}

.nl-floatmenu__item:hover {
  background: #084f8f;         /* hover dunkler */
}

/* Optional: on very small screens reduce width */
@media (max-width: 575.98px) {
  .nl-floatmenu {
    right: 12px;
  }
  .nl-floatmenu:hover .nl-floatmenu__item,
  .nl-floatmenu.is-open .nl-floatmenu__item {
    width: 200px;
  }
}

/* ===== nordluft Historie ===== */
.nl-history {
  background: #ffffff;
}

.nl-history__title {
  font-weight: 700;
  letter-spacing: .03em;
}

.nl-history__lead {
  color: rgba(0,0,0,.65);
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Timeline Layout ===== */
.nl-timeline {
  position: relative;
  padding: 2rem 0 1rem;
}

/* Center line */
.nl-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 10px;                 /* dicke blaue Achse wie Entwurf */
  transform: translateX(-50%);
  background: #0b67a3;          /* nordluft-blau */
  border-radius: 999px;
}

/* Item wrapper */
.nl-timeline__item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 140px 1fr;
  gap: 1.5rem;
  align-items: start;
  margin: 2.25rem 0;
}

/* Year bubble / label */
.nl-timeline__year {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  align-self: start;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: #0b67a3;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}

/* Content left by default */
.nl-timeline__content {
  grid-column: 1;
  grid-row: 1;
}

.nl-timeline__item--right .nl-timeline__content {
  grid-column: 3;
}

/* Card image */
.nl-timeline__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* End badge */
.nl-badge {
  background: #0b67a3;
  color: #fff;
  padding: .6rem 1.2rem;
  font-size: 1rem;
}

/* ===== Teasers ===== */

.nl-teaser {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  .nl-timeline::before {
    left: 22px;
    transform: none;
    width: 8px;
  }

  .nl-timeline__item {
    grid-template-columns: 70px 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
  }

  .nl-timeline__year {
    grid-column: 1;
    width: 58px;
    height: 58px;
    font-size: 1rem;
  }

  .nl-timeline__content,
  .nl-timeline__item--right .nl-timeline__content {
    grid-column: 2;
  }
}


/* ===== Jobs – Benefits-Sektion ===== */
.nl-jobs-benefits__heading {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .03em;
  color: #1a1a1a;
  margin-bottom: 1.5rem;
}

.nl-benefit__icon {
  height: 56px;
  width: auto;
  margin-bottom: .75rem;
  display: block;
}

.nl-benefit__title {
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .03em;
  color: #3672b9;
  margin-bottom: .35rem;
}

.nl-benefit__text {
  font-size: .875rem;
  color: #444;
  margin-bottom: 0;
  line-height: 1.5;
}

/* ===== WEISSER FOOTER-BEREICH (oben) ===== */
.footer{
  background: #fff;
}

/* Links im weißen Footer deutlich in Nordluft-Blau */
.footer .footer-contact__link{
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;          /* -> “bisschen Abstand” zwischen den Items */
  color: #2f6fb2;          /* <- Blau */
  text-decoration: none;
}

.footer .footer-contact__link:hover{
  text-decoration: underline;
}

/* Adressblock: optisch trennen */
.footer .footer-contact__address{
  line-height: 1.5;
}

.footer-contact__company {
  color: #0069b4;
  font-weight: 700;
}

/* Icons sauber ausrichten */
.footer .nl-iconlist__icon,
.footer .nl-quicklink__icon{
  width: 22px;
  height: auto;
  margin-top: 2px;         /* vertikale Feinausrichtung zum Text */
  flex: 0 0 auto;
}

/* Optional: “Card-Links” etwas kompakter/gleichmäßiger */
.footer .footer-contact__link--card{
  padding: 10px 0;
}

/* Grid noch etwas Luft geben (falls Bootstrap g-3 dir zu tight ist) */
.footer .footer-contact__grid{
  margin-top: 6px;
}

/* Inhaltsüberschriften: Abstand zur Navigation */
.nl-section .container > header:first-child {
  padding-top: 40px;
}

/* ====================================================
   Service-Übersichtsseiten (z.B. "Was macht nordluft?")
   2-Spalten-Layout + Service-Abschnitte als Karten
   ==================================================== */

/* Intro-Text: erste 3 Absätze etwas prominenter */
.nl-section .ce-bodytext > p:nth-child(-n+3) {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
}

/* CTA-Überschrift am Ende */
.nl-section .ce-bodytext > h3 {
  color: #00ae57;
  margin-top: 2.5rem;
}

/* Desktop: 2 Spalten für Service-Abschnitte */
@media (min-width: 992px) {
  /* Nur zweispaltig wenn KEIN Bild inline (ce-intext) vorhanden */
  .nl-section .ce-textpic:not(.ce-intext) .ce-bodytext,
  .nl-section .ce-text .ce-bodytext {
    column-count: 2;
    column-gap: 3rem;
  }

  /* Intro-Text (erste 3 Elemente) über beide Spalten */
  .nl-section .ce-textpic:not(.ce-intext) .ce-bodytext > *:nth-child(-n+3),
  .nl-section .ce-text .ce-bodytext > *:nth-child(-n+3) {
    column-span: all;
  }

  /* CTA am Ende über beide Spalten */
  .nl-section .ce-textpic:not(.ce-intext) .ce-bodytext > h3,
  .nl-section .ce-textpic:not(.ce-intext) .ce-bodytext > p:last-child,
  .nl-section .ce-text .ce-bodytext > h3,
  .nl-section .ce-text .ce-bodytext > p:last-child {
    column-span: all;
  }

  /* Service-Kopf + Liste immer zusammenhalten */
  .nl-section .ce-bodytext p:has(> strong:only-child):not(:nth-child(-n+3)) {
    break-after: avoid;
  }
  .nl-section .ce-bodytext ul {
    break-before: avoid;
    break-inside: avoid;
  }
}

/* ===== Team-Spalte: immer 1/5-Breite, unabhängig von Anzahl der Kinder ===== */
.nl-team-col {
    flex: 0 0 50%;
    max-width: 50%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left:  calc(var(--bs-gutter-x) * .5);
    margin-top: var(--bs-gutter-y);
}
@media (min-width: 768px) {
    .nl-team-col {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* ===== Team-Cards – einheitlich mit Produktkarten ===== */
.team-card {
    background: transparent;       /* Hintergrund vom Container (weiß/grau) */
    border: 1px solid rgba(0,0,0,.12);
    border-radius: .375rem;        /* Bootstrap-Standard wie Produktkarten */
    box-shadow: none;
    padding: 0 0 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    height: 100%;
}

.team-card__photo-wrap {
    width: 100%;                   /* füllt die Kartenbreite – wie card-img-top */
    aspect-ratio: 4 / 5;           /* Hochformat für Portraits */
    overflow: hidden;
    border-radius: 0;
    box-shadow: none;
    margin: 0 0 12px;
}

.team-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.team-card__name {
    font-weight: 600;
    font-size: 1.3rem;
    letter-spacing: .03em;
    color: #1a1a1a;
    margin-bottom: 4px;
    padding: 0 10px;
    width: 100%;                   /* linksbündig wie Kontaktzeilen */
    text-align: left;
}

.team-card__position {
    font-size: .87rem;
    color: #3672b9;
    font-weight: 500;
    letter-spacing: .02em;
    margin-bottom: 8px;
    font-style: italic;
    padding: 0 10px;
    width: 100%;
    text-align: left;
}

.team-card__contacts {
    font-size: .9rem;              /* etwas größer als vorher (.82rem) */
    letter-spacing: .02em;
    color: #444;
    margin-top: auto;
    text-align: left;
    width: 100%;
    padding: 0 10px;
}

.team-card__contacts li {
    margin-bottom: 4px;
}

.team-card__contacts i {
    color: #3672b9;
    width: 16px;
    text-align: center;
    margin-right: 4px;
}

.team-card__contacts a {
    color: #444;
    text-decoration: none;
}

.team-card__contacts a:hover {
    color: #3672b9;
    text-decoration: underline;
}

/* ===== Team Accordion – kein Dreifach-Rahmen ===== */
.nl-team-accordion {
    --bs-accordion-border-color: transparent;
    --bs-accordion-border-radius: 0;
    --bs-accordion-inner-border-radius: 0;
    --bs-accordion-bg: transparent; /* Bootstrap-Weiß überschreiben */
}

.nl-team-accordion .accordion-item {
    border: none;                  /* Bootstrap-Rahmen entfernt */
    border-radius: 0 !important;
    background: transparent;
    margin-bottom: 8px;
}

/* Pfeil immer weiß, da Hintergrund immer blau */
.nl-team-accordion .accordion-header::after,
.nl-team-accordion .accordion-header h2::after {
    height: 0 !important;
}

.nl-team-accordion .accordion-button.collapsed {
    font-family: 'Lato', sans-serif;
    font-size: 23px;
    font-weight: 500;
    color: #fff;
    background-color: #afbdc6 !important;
    border-radius: 0 !important;
    padding: 12px 16px;
    box-shadow: none;
}

.nl-team-accordion .accordion-button.collapsed::after {
    filter: brightness(0) invert(1); /* Pfeil weiß */
}

.nl-team-accordion .accordion-button:not(.collapsed) {
    font-family: 'Lato', sans-serif;
    font-size: 23px;
    font-weight: 500;
    color: #fff;
    background-color: #0069b4 !important;
    border-radius: 0 !important;
    padding: 12px 16px;
    box-shadow: none;
}

.nl-team-accordion .accordion-button::after {
    filter: brightness(0) invert(1); /* Pfeil weiß */
}

.nl-team-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.nl-team-accordion .accordion-body {
    padding: 20px 0 4px;
    background: transparent;       /* kein eigener Hintergrund */
}

/* Abteilungs-Überschrift (wenn Abteilung immer geöffnet ist) */
.nl-team__heading {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: .03em;
    color: #fff;
    background: #3672b9;
    padding: 12px 16px;
    margin-bottom: 20px;
    border-bottom: none;
    border-radius: 0;
}

/* Bild im textmedia Bootstrap-Grid (col-4 rechts) */
.ce-textmedia-image img {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  width: 100%;
  height: auto;
}
.ce-textmedia-image a + a {
  display: block;
  margin-top: 1rem;
}

/* Pagination: Nordluft-Blau statt Bootstrap-Standard */
.pagination .page-item.active .page-link {
    background-color: #2f6fb2;
    border-color: #2f6fb2;
}
.pagination .page-link {
    color: #2f6fb2;
}
.pagination .page-link:hover {
    color: #fff;
    background-color: #2f6fb2;
    border-color: #2f6fb2;
}
.pagination .page-item.active .page-link:focus,
.pagination .page-item.active .page-link:hover {
    background-color: #255a94;
    border-color: #255a94;
}

/* News Detail – Bilder rechts mit Lightbox */
.news-detail-img-link {
    cursor: zoom-in;
}
.news-detail-img {
    transition: opacity .2s ease;
    width: 100%;
    height: auto;
}
.news-detail-img-link:hover .news-detail-img {
    opacity: .88;
}

/* Bild im Content-Element (ce-right) responsiv & abgerundet */
.nl-section .ce-textpic.ce-right .ce-gallery {
  float: right;
  margin: 0 0 1.5rem 2rem;
  max-width: 40%;
}
.nl-section .ce-textpic.ce-right .ce-gallery img {
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  max-width: 100%;
  height: auto;
}
@media (max-width: 767px) {
  .nl-section .ce-textpic.ce-right .ce-gallery {
    float: none;
    max-width: 100%;
    margin: 0 0 1.5rem 0;
  }
}

/* ===== Was macht nordluft? ===== */
.nl-section .ce-text .ce-bodytext:has(.nl-what),
.nl-section .ce-textpic:not(.ce-intext) .ce-bodytext:has(.nl-what) {
  column-count: auto;
  column-gap: normal;
}

.nl-what {
  color: #5e5e5e;
}

.nl-what h1,
.nl-what h2 {
  color: #0069b4;
}

.nl-what h1,
.nl-what h2,
.nl-what h3,
.nl-what h4,
.nl-what h5,
.nl-what h6 {
  font-family: 'Lato', sans-serif;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: unset;
}

.nl-what__intro {
  padding-top: 1rem;
  margin-bottom: 3rem;
}

.nl-what__product-card .card-img-top {
  height: 210px;
  object-fit: cover;
}

.nl-what__product-card .card-body {
  min-height: auto;
}

.nl-what__product-icon {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  margin: -68px 22px 8px auto;
  border-radius: 50%;
  background: #fff;
  color: #0069b4;
  font-size: 3rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .12);
}

.nl-what__product-icon img {
  max-width: 64px;
  max-height: 64px;
}

.nl-what__product-card h3 {
  color: #3672b9;
  font-size: 1.3rem;
}

.nl-what__subline,
.nl-what__green {
  color: #96c11f;
  font-weight: 500;
}

.nl-what__stats,
.nl-what__service-strip {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #0069b4;
  color: #fff;
}

.nl-what__stats {
  margin-top: 3.5rem;
  margin-bottom: 3.5rem;
}

.nl-what__stat {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  min-height: 135px;
  border-left: 1px solid rgba(255, 255, 255, .45);
}

.nl-what__stat:first-child {
  border-left: 0;
}

.nl-what__stat i,
.nl-what__service-strip i,
.nl-what__value i {
  font-size: 3rem;
}

.nl-what__stat img {
  width: 84px;
  max-height: 72px;
  object-fit: contain;
  flex: 0 0 auto;
}

.nl-what__stat strong {
  display: block;
  font-size: 2.35rem;
  line-height: 1;
  font-weight: 700;
}

.nl-what__values {
  margin-bottom: 3.5rem;
}

.nl-what__value {
  text-align: center;
  height: 100%;
}

.nl-what__value i {
  color: #0069b4;
  margin-bottom: 1rem;
}

.nl-what__value-icon {
  height: 96px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.nl-what__value h3 {
  color: #0069b4;
  font-size: 1.45rem;
}

.nl-what__gray-band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #e9ecef;
  padding: 3.5rem 0;
}

.nl-what__media {
  width: 100%;
  height: 335px;
  object-fit: cover;
}

.nl-what__service-strip {
  background: #e9ecef;
  color: #0069b4;
}

.nl-what__service-strip .nl-what__service-item {
  min-height: 150px;
  padding: 2rem 1.5rem;
  text-align: center;
  border-left: 1px solid rgba(255, 255, 255, .65);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: unset;
}

.nl-what__service-icon {
  height: 70px;
  width: auto;
  max-width: 95px;
  object-fit: contain;
  margin-bottom: .9rem;
}

.nl-what__service-strip .nl-what__service-item:first-child {
  border-left: 0;
}

.nl-what__cta {
  padding: 4rem 0 6rem;
}

@media (max-width: 991.98px) {
  .nl-what__intro {
    padding-top: 1rem;
  }

  .nl-what__stat,
  .nl-what__service-strip .nl-what__service-item {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, .45);
  }

  .nl-what__stat:first-child,
  .nl-what__service-strip .nl-what__service-item:first-child {
    border-top: 0;
  }

  .nl-what__product-card .card-body {
    min-height: auto;
  }
}

.nl-section .nl-what h2.blue {
  color: #0069b4 !important;
}

.tx-obl-referenzen .referenz-card-container {
  clear: both;
  display: block;
  width: 100%;
  padding-top: 1rem;
}

.tx-obl-referenzen .referenz-card-container > .row {
  float: none;
}

.newsletter-registration {
  max-width: 760px;
}

.newsletter-registration__form {
  margin-top: 1.5rem;
}

.newsletter-registration__status {
  display: none;
  margin-top: 1.25rem;
}

.newsletter-registration__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.nl-section .container:has(> .contact.contact-region) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  padding-bottom: 3rem;
}

.nl-section .container:has(> .contact.contact-region) > *:not(.contact) {
  grid-column: 1 / -1;
}

.nl-section .container > .contact.contact-region {
  margin-bottom: 0;
  min-height: 0;
}

.nl-section .container > .contact.contact-region .inside {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
  height: 100%;
  min-height: 0;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
}

.nl-section .container > .contact.contact-region .contact-profile-image {
  width: 150px;
  padding: 0;
}

.nl-section .container > .contact.contact-region .contact-profile-image img {
  display: block;
  width: 100%;
  height: 115px;
  object-fit: contain;
  object-position: center;
}

.nl-section .container > .contact.contact-no-map.contact-region .contact-address {
  position: static;
  width: auto;
  padding: 0;
  background: transparent;
}

.nl-section .container > .contact.contact-region .contact-address h3.h4 {
  margin: 0 0 1rem;
  color: #0069b4;
  font-family: 'Lato', sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  text-transform: unset;
}

.nl-section .container > .contact.contact-region .contact-address h3.h4::after {
  height: .55rem;
  width: 50px;
  border-bottom: 3px solid #96c11f;
}

.nl-section .container > .contact.contact-region .contact-address address {
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #5e5e5e;
}

.nl-section .container > .contact.contact-region .contact-address address [class^="col-"],
.nl-section .container > .contact.contact-region .contact-address address [class*=" col-"] {
  float: none;
  width: auto;
  max-width: none;
  min-height: 0;
  padding: 0;
  margin: 0 0 .35rem;
}

.nl-section .container > .contact.contact-region .contact-address address div[itemprop="name"] {
  font-weight: 700;
}

.nl-section .container > .contact.contact-region .contact-address address .freetext {
  margin: .65rem 0 .75rem;
}

.nl-section .container > .contact.contact-region .contact-address address .freetext p {
  margin: 0;
}

.nl-section .container > .contact.contact-region .contact-address address a {
  color: #3672b9;
}

.nl-section .container > .contact.contact-region .contact-address address a:hover,
.nl-section .container > .contact.contact-region .contact-address address a:focus {
  color: #254e7e;
}

@media (max-width: 991.98px) {
  .nl-section .container:has(> .contact.contact-region) {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .nl-section .container > .contact.contact-region .inside {
    grid-template-columns: 1fr;
  }

  .nl-section .container > .contact.contact-region .contact-profile-image {
    width: 100%;
    max-width: 180px;
  }
}

.tx-obljobs-show h2.blue {
    color: #0069b4 !important;
}

.tx-obljobs-show .form-group .input.checkbox,
.tx-obljobs-show .form-group .form-check {
    padding-left: 0;
    margin-left: 0;
}

.tx-obljobs-show .form-group .form-check-label {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    margin-bottom: 0;
}

.tx-obljobs-show .form-group .form-check-label input[type="checkbox"] {
    flex: 0 0 auto;
    margin-top: .25rem;
}

.tx-obljobs-show .form-group .input.checkbox {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.tx-obljobs-show .form-navigation {
    margin-bottom: 2rem;
}

h2,
.h2,
h2.h3 {
    color: #0069B4 !important;
}

h3:not(.blue) {
    color: #5e5e5e !important;
}

h3.blue,
.h3.blue {
    color: #0069B4 !important;
}

/* Styleguide: headings and section rhythm */
.nl-section:not(.nl-section--no-padding) {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.nl-section .container > header:first-child {
    padding-top: 0;
    margin-bottom: 1.75rem;
}

.nl-section .container > header:first-child h1,
.nl-section .container > header:first-child h2,
.nl-section .container > header:first-child h3 {
    margin-bottom: .75rem;
}

.nl-section .container > *:last-child {
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .nl-section:not(.nl-section--no-padding) {
        padding-top: 1.4rem;
        padding-bottom: 1.4rem;
    }
}

.nl-section-intro {
  margin: 0 0 1.5rem;
}

.nl-section-intro__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  line-height: 1;
}

.nl-section-intro__icon {
  flex-shrink: 0;
}

.nl-section-intro__title {
  margin: 0 0 6px;
  /* H2-Styling kommt vom CI – hier bewusst nicht überschrieben */
}

.nl-section-intro__subtitle {
  margin: 0;
  font-size: 15px;
  color: #6b6b6b; /* an euer „secondary text" anpassen */
}

/* --- Farbvarianten ----------------------------------- */
.nl-section-intro--jobs .nl-section-intro__eyebrow {
  color: #185FA5; /* nordluft-Blau – bitte exakten CI-Hex einsetzen */
}

.nl-section-intro--ausbildung .nl-section-intro__eyebrow {
  color: #198754; /* Akzentfarbe Ausbildung – ggf. anpassen */
}
.tx-obljobs .card,
.tx-dce-container .card:has(.nl-card-badge) {
    position: relative;
}

.nl-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.2;
    white-space: nowrap;
}

.nl-card-badge--job {
    background: #185FA5;
    color: #ffffff;
}

.nl-card-badge--ausbildung {
    background: #198754;
    color: #ffffff;
}

/* Kontaktformular */
#kontaktformular-810 .row {
    --bs-gutter-y: 1rem;
}

#kontaktformular-810 .form-group {
    margin-bottom: 1rem;
}

#kontaktformular-810 .form-group .input.checkbox,
#kontaktformular-810 .form-group .form-check {
    padding-left: 0;
    margin-left: 0;
}

#kontaktformular-810 .form-group .form-check-label {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    margin-top: .75rem;
    margin-bottom: 1rem;
}

#kontaktformular-810 .form-group .form-check-label input[type="checkbox"] {
    flex: 0 0 auto;
    margin-top: .25rem;
}

#kontaktformular-810 .form-navigation {
    margin-top: .5rem;
    margin-bottom: 2rem;
}

/* Serviceanfrage */
form[id^="serviceanfrage-"] .row {
    --bs-gutter-y: 1rem;
}

form[id^="serviceanfrage-"] .form-group {
    margin-bottom: 1rem;
}

form[id^="serviceanfrage-"] .form-group .input.checkbox,
form[id^="serviceanfrage-"] .form-group .form-check {
    padding-left: 0;
    margin-left: 0;
}

form[id^="serviceanfrage-"] .form-group .form-check-label {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    margin-top: .75rem;
    margin-bottom: 1rem;
}

form[id^="serviceanfrage-"] .form-group .form-check-label input[type="checkbox"] {
    flex: 0 0 auto;
    margin-top: .25rem;
}

form[id^="serviceanfrage-"] .form-navigation {
    margin-top: .5rem;
    margin-bottom: 2rem;
}

/* Abstände über das Backend-Feld "Abstand vor/nach dem Element" (Reiter Erscheinungsbild) */
.frame-space-before-small { margin-top: 1rem; }
.frame-space-before-medium { margin-top: 2rem; }
.frame-space-before-large { margin-top: 3rem; }
.frame-space-before-extra-large { margin-top: 4.5rem; }
.frame-space-after-small { margin-bottom: 1rem; }
.frame-space-after-medium { margin-bottom: 2rem; }
.frame-space-after-large { margin-bottom: 3rem; }
.frame-space-after-extra-large { margin-bottom: 4.5rem; }

/* Preisliste (gleiches Muster wie Kontaktformular/Serviceanfrage) */
form[id^="preisliste-"] .row {
    --bs-gutter-y: 1rem;
}

form[id^="preisliste-"] .form-group {
    margin-bottom: 1rem;
}

form[id^="preisliste-"] .form-group .input.checkbox,
form[id^="preisliste-"] .form-group .form-check {
    padding-left: 0;
    margin-left: 0;
}

form[id^="preisliste-"] .form-group .form-check-label {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    margin-top: .75rem;
    margin-bottom: 1rem;
}

form[id^="preisliste-"] .form-group .form-check-label input[type="checkbox"] {
    flex: 0 0 auto;
    margin-top: .25rem;
}

form[id^="preisliste-"] .form-navigation {
    margin-top: .5rem;
    margin-bottom: 2rem;
}


/* ═══════════════════════════════════════════════════════════════════════════
   NORDLUFT BUTTON-SYSTEM
   Blau / Grau / Grün  +  Negativ-Varianten (weiß mit farbiger Schrift)
   ═══════════════════════════════════════════════════════════════════════════ */

/* Grau – btn-secondary UND btn-dark (Startseite) zeigen beide nordluft-grau */
.btn-secondary,
.btn-dark {
    color: #fff;
    background-color: #575757;
    border-color: #575757;
}
.btn-secondary:hover,
.btn-secondary:focus,
.btn-dark:hover,
.btn-dark:focus {
    color: #fff;
    background-color: #3d3d3d;
    border-color: #3d3d3d;
}

/* Grün – btn-success → Nordluft-Grün */
.btn-success {
    color: #fff;
    background-color: #96c11f;
    border-color: #96c11f;
}
.btn-success:hover,
.btn-success:focus {
    color: #fff;
    background-color: #7ea319;
    border-color: #7ea319;
}

/* Negativ Grau – weiß mit grauer Schrift/Rahmen */
.btn-outline-secondary {
    color: #575757;
    background-color: #fff;
    border-color: #575757;
}
.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
    color: #fff;
    background-color: #575757;
    border-color: #575757;
}

/* Negativ Grün – weiß mit grüner Schrift/Rahmen */
.btn-outline-success {
    color: #96c11f;
    background-color: #fff;
    border-color: #96c11f;
}
.btn-outline-success:hover,
.btn-outline-success:focus {
    color: #fff;
    background-color: #96c11f;
    border-color: #96c11f;
}


/* ═══════════════════════════════════════════════════════════════════════════
   TABELLEN-TEXTFARBE
   Schwarze Schrift → Nordluft-Grau (#5e5e5e) in allen Tabellen
   ═══════════════════════════════════════════════════════════════════════════ */

.contenttable td,
.contenttable tbody td,
.tab-content table.contenttable tbody td {
    color: #5e5e5e;
}

/* data-label-Pseudo-Elemente (Mobile-Ansicht) */
.tab-content table.contenttable tbody td::before {
    color: #5e5e5e;
}


/* ═══════════════════════════════════════════════════════════════════════════
   SCROLL-ANIMATIONEN  –  nl-animate / nl-animate-children
   Opt-in: Klasse im TYPO3-Backend am Content-Element oder Container setzen.

   nl-animate          → das Element selbst blendet von unten ein
   nl-animate-children → direkte Kinder erscheinen gestaffelt (für Kacheln)
   ═══════════════════════════════════════════════════════════════════════════ */

.nl-animate,
.nl-animate-children > * {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease-out, transform 0.55s ease-out;
}

.nl-animate.nl-in-view {
    opacity: 1;
    transform: none;
}

.nl-animate-children.nl-in-view > * {
    opacity: 1;
    transform: none;
}

/* Staffelung der Kinder (bis zu 8 Elemente) */
.nl-animate-children.nl-in-view > *:nth-child(1) { transition-delay: 0s; }
.nl-animate-children.nl-in-view > *:nth-child(2) { transition-delay: 0.08s; }
.nl-animate-children.nl-in-view > *:nth-child(3) { transition-delay: 0.16s; }
.nl-animate-children.nl-in-view > *:nth-child(4) { transition-delay: 0.24s; }
.nl-animate-children.nl-in-view > *:nth-child(5) { transition-delay: 0.32s; }
.nl-animate-children.nl-in-view > *:nth-child(6) { transition-delay: 0.40s; }
.nl-animate-children.nl-in-view > *:nth-child(7) { transition-delay: 0.48s; }
.nl-animate-children.nl-in-view > *:nth-child(8) { transition-delay: 0.56s; }

/* Barrierefreiheit: bei prefers-reduced-motion alles sofort sichtbar */
@media (prefers-reduced-motion: reduce) {
    .nl-animate,
    .nl-animate-children > * {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
