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 {
    color:#96c11f;
}

h3.card-title.blue {
    color: #3672b9;
}

h2.black, h3.card-title.black {
    color: black;
}

.tab-content table.contenttable tbody td {
    text-wrap: nowrap;
}






/* =========================================================
   DESKTOP / STANDARD-TABELLENANSICHT
   ========================================================= */

/* Grundlayout der Tabelle */
.tab-content table.contenttable {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}

/* HEADER – Blau, weiße Schrift, zentriert */
.tab-content table.contenttable thead th {
    border: 1px solid #e5e5e5;
    background-color: #fff;   /* Nordluft-Blau */
    color: #0069b4;
    text-align: center;
    vertical-align: top;
    padding: 8px 6px;
    font-weight: 600;
    white-space: normal;
    border-color: 1px solid #e5e5e5 !important;
    border-style: solid !important;
    border-width: 1px !important;
}

/* Unterste Headerzeile: Einheiten etwas kleiner */
.tab-content table.contenttable thead tr:last-child th {
    font-size: 0.9rem;
    font-weight: 500;
}

/* BODY – linksbündige Daten */
.tab-content table.contenttable tbody td {
    border: 1px solid #e5e5e5;
    vertical-align: top;
    padding: 3px;
    text-align: left;
    white-space: nowrap;
}

.tab-content table.contenttable tbody td p {
    margin: 0;
    padding: 0;
}

/* Wrapper */
.tab-content figure.table {
    width: 100%;
    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;
}

/* etwas mehr Luft zwischen Zeilen auf sehr kleinen Screens */
@media (max-width: 576px) {
    .download-card {
        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;
    border-color: #0069b4;
}

.btn-primary:hover {
    color: #fff;
    background-color: #1F7FC9;
    border-color: #1F7FC9;
}

.obl_products_list .card {
    width: 100%;
}

.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;
}

/* 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: absolute;          /* über dem Video */
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  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;
}

/* 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;
}

/* Service-Abschnittsköpfe: <p> der NUR ein <strong> enthält, ab 4. Kind */
.nl-section .ce-bodytext p:has(> strong:only-child):not(:nth-child(-n+3)) {
  margin-top: 2rem;
  margin-bottom: 0;
}
.nl-section .ce-bodytext p:has(> strong:only-child):not(:nth-child(-n+3)) strong {
  display: block;
  background: #00ae57;
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px 4px 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Aufzählung direkt nach Service-Kopf: passende Box */
.nl-section .ce-bodytext p:has(> strong:only-child):not(:nth-child(-n+3)) + ul {
  margin-top: 0;
  padding: 12px 16px 12px 32px;
  border: 1px solid #00ae57;
  border-top: none;
  border-radius: 0 0 4px 4px;
  background: #f8fdf9;
  line-height: 1.7;
}

/* 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;
}

/* 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;
  }
}
