:root {
    --primary-color: #0278C0; /* Hauptfarbe, z.B. für Buttons und Links */
    --bs-nav-link-color: #0278C0; 
    --secondary-color: #454545; /* Dunkle Farbe für Text und Hintergrund */
    --accent-color: #1e73be; /* Farbe für Akzente und Hervorhebungen */
    --background-color: #f5f5f5; /* Hintergrundfarbe für Sektionen */
    --text-color: #333; /* Textfarbe auf dunklem Hintergrund */
    --text-light: #eee; /* Textfarbe auf dunklem Hintergrund */
    --bs-font-sans-serif: 'Roboto Condensed', sans-serif!important;
    --bs-body-font-size: 1.1rem;
}

/* roboto-condensed-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/roboto-condensed-v27-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/roboto-condensed-v27-latin-300.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* roboto-condensed-300italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto Condensed';
  font-style: italic;
  font-weight: 300;
  src: url('../fonts/roboto-condensed-v27-latin-300italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/roboto-condensed-v27-latin-300italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* roboto-condensed-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/roboto-condensed-v27-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/roboto-condensed-v27-latin-regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* roboto-condensed-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto Condensed';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/roboto-condensed-v27-latin-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/roboto-condensed-v27-latin-italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* roboto-condensed-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/roboto-condensed-v27-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/roboto-condensed-v27-latin-500.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* roboto-condensed-500italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto Condensed';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/roboto-condensed-v27-latin-500italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/roboto-condensed-v27-latin-500italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* roboto-condensed-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/roboto-condensed-v27-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/roboto-condensed-v27-latin-700.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* roboto-condensed-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto Condensed';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/roboto-condensed-v27-latin-700italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/roboto-condensed-v27-latin-700italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* roboto-condensed-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto Condensed';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/roboto-condensed-v27-latin-800.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/roboto-condensed-v27-latin-800.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}
/* roboto-condensed-800italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Roboto Condensed';
  font-style: italic;
  font-weight: 800;
  src: url('../fonts/roboto-condensed-v27-latin-800italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('../fonts/roboto-condensed-v27-latin-800italic.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
}

/* Global Styles */
body {
    background-color:#eee;
    color: var(--secondary-color);
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
}

a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/*h1, h2, h3 {
    color: var(--secondary-color);
}

p {
    margin-bottom: 1.5rem;
}

/* Hero Section */
.hero {
    background-size: cover;
    background-position: center;
    background-color: var(--secondary-color);
    padding: 100px 0;
    color: var(--text-color);
    min-height: 40vh;
    display: flex;
    align-content: center;
    align-items: center;
}

.home .hero {
    min-height: auto;
    aspect-ratio: 1.5;
}

.hero h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background: var(--primary-color);
    color: white;
    display: inline-block;
    padding: 5px 10px;
    font-weight: 100;
}

.hero h2 {
    font-size: 3.0rem;
    color: white;
    text-shadow: 3px 3px black;
}

/* Intro Section */
.intro {
    padding: 50px 0;
    color: var(--text-color);
    text-align: center;
    background: white;
}

.intro p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.intro .btn-primary {
    padding: 10px 20px;
    font-size: 1rem;
}

/* Services Section */
.services {
    padding: 50px 0;
}

.services .service-box {
background: linear-gradient(45deg, #0478c1, #024671);
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: white;
}

.services h3 {
    color: white;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #0478c1, #024671);
    display: inline-block;
    padding: 5px 14px;
    text-transform: uppercase;
    font-size: 1em;
    position: relative;
    top: -35px;
}

.services p {
    font-size: 1rem;
    color: white;
    font-weight: 500;
    font-size: 2em;
    text-align: left;
    line-height: 1.2em;
    text-shadow: 3px 3px black, 10px 10px 14px #000000, -10px -10px 14px #000000;
    margin-bottom: 0px;
}

.more4 {
    padding: 20px;
    text-align: left;
    position: relative;
}

/* Clients Section */
.clients {
    background-color: #222222;
    padding: 50px 0;
    color: var(--text-color);
}

.clients h2 {
    color: var(--text-light);
    margin-bottom: 30px;
}

.clients img {
    max-width: 150px;
    margin: 10px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.clients img:hover {
    opacity: 1;
}

.service-img {
    aspect-ratio: 1.4;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.intro h2 {color: var(--accent-color);
    font-size: 2.1em;}

/* Footer Styles */
.site-footer {
    background-color: var(--secondary-color);
    padding: 20px 0;
    color: var(--text-light);
    padding-bottom: 120px;
    padding-top: 50px;
    text-align: center;
}

.site-footer a {
    color: var(--text-color);
}

.site-footer a:hover {
    color: var(--primary-color);
}

.footer-menu {
    list-style: none;
    padding-left: 0;
}

.footer-menu li {
    display: inline;
    margin-right: 15px;
}

.footer-menu li a {
    color: var(--text-light);
}

.footer-menu li a:hover {
    color: var(--accent-light);
}

header.page-header {
    min-height: 40vh;
    background-size: cover;
    background-position: center;    
    background-blend-mode: soft-light;
    background-color: #3e3e3e85  
}

.page-title{
    font-size: 10vw;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary-color);
}


.wp-block-aab-group-accordion {
    margin-left: -12px;
    margin-right: -12px;
}

.wp-block-aab-accordion-item {
    margin-bottom: 0px !important;
    border: none !important;    
}


.wp-block-aab-accordion-item:nth-of-type(3n+1) {
    /* Stil für 1., 4., 7., ... */
    background-color: #fff; /* Beispiel-Stil */
}


.wp-block-aab-accordion-item:nth-of-type(3n+2) {
    /* Stil für 2., 5., 8., ... */
    background-color: var(--primary-color); /* Beispiel-Stil */
}

.wp-block-aab-accordion-item:nth-of-type(3n) {
    /* Stil für 3., 6., 9., ... */
    background-color: var(--secondary-color); /* Beispiel-Stil */
}

/*
.wp-block-aab-accordion-item:nth-of-type(3n+1) h2, .wp-block-aab-accordion-item:nth-of-type(3n+2) h2, 
.wp-block-aab-accordion-item:nth-of-type(3n+1) .aagb__icon, .wp-block-aab-accordion-item:nth-of-type(3n+2) .aagb__icon,
.wp-block-aab-accordion-item:nth-of-type(3n+1) .aagb__accordion_component , .wp-block-aab-accordion-item:nth-of-type(3n+2) .aagb__accordion_component , 
.wp-block-aab-accordion-item:nth-of-type(3n+1) h3 , .wp-block-aab-accordion-item:nth-of-type(3n+2) h3 
{
    /* Stil für 1., 4., 7., ... 
    color: white!important;    
}
*/


.wp-block-aab-accordion-item:nth-of-type(3n) h2, 
.wp-block-aab-accordion-item:nth-of-type(3n+2) h2, 
.wp-block-aab-accordion-item:nth-of-type(3n) .aagb__icon, 
.wp-block-aab-accordion-item:nth-of-type(3n+2) .aagb__icon,
.wp-block-aab-accordion-item:nth-of-type(3n) .aagb__accordion_component , 
.wp-block-aab-accordion-item:nth-of-type(3n+2) .aagb__accordion_component , 
.wp-block-aab-accordion-item:nth-of-type(3n) h3 , 
.wp-block-aab-accordion-item:nth-of-type(3n+2) h3 
{
    color: white!important;    
}

.site-main .wp-block-aab-group-accordion .aagb__accordion_active, .site-main .wp-block-aab-group-accordion .aagb__accordion_head, .site-main .wp-block-aab-group-accordion .aagb__accordion_body {
    border: none !important;
}

.wp-block-media-text__content {
    padding: 0 !important;
}

.aagb__accordion_head {
    text-transform: uppercase;
    padding: 25px 15px !important;
}

/* Entfernt die Standard-Bullets und fügt Font Awesome-Icon hinzu */
ul.plus {
    list-style: none; /* Entfernt die Standard-Punkte */
}

ul.plus li::before {
    content: "\f0fe";
    font-family: "FontAwesome";
    font-weight: 100;
    margin-right: 13px;
    margin-left: -33px;
    font-size: 1.1em;
}

ul.plus li {
    margin-bottom: 10px;
}

/*.wp-block-aab-accordion-item:nth-of-type(3n) ul.plus li::before {
    color: var(--secondary-color);
}*/



.kontaktbox {
    position: fixed;
    bottom: 10px;
    background: linear-gradient(109deg, #0278C0, #004976);
    width: 90%;
    left: 5%;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 10px; /* Abstand zwischen den Elementen */
    padding: 8px;
    box-shadow: 0px 0px 10px 3px #0000005e;    
}

/* Bild in Kreisform */
.kontaktbox .kontaktbild {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

/* Name zentriert zwischen Bild und Icons */
.kontaktbox .kontaktname {
    flex-grow: 1;
    font-size: 1.2em;
    margin: 0;
    color: white;
}

/* Icons für Telefon und E-Mail */
.kontaktbox .kontakticons {
    display: flex;
    gap: 10px; /* Abstand zwischen den Icons */
}

.kontaktbox .kontakticons .icon {
    width: 50px;
    height: 50px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.5em;
}

.kontaktbox .kontakticons .icon:hover {
    background-color: #0056b3; /* Hover-Farbe */
}


header#wrapper-navbar {
    background: #fff;
    border-top: 10px solid var(--primary-color);
    position: sticky;
    top: 0;
z-index: 20;    
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba%2834, 107, 190, 1%29' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


a.navbar-brand {
    max-width: 50%;
}

button.navbar-toggler {
    padding: 0;
    border: 0;
    font-size: 30px;
}

.reference-slider {
    background: #efefef;
    color: var(--secondary-color);
    padding: 30px;
    margin: 17px;
}

.reference-slider .reference-slide {
    display: none;
}

.reference-slider.slick-initialized .reference-slide {
    display: block;
}


.first-row {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    text-align: center;    
}

img.reference-logo {
    max-height: 80px;
    filter: grayscale(1) brightness(1.5);
}

.page-intro {
    margin-bottom: 30px;
}

span.val {
    display: none;
}


.row.firstfooter {
    background: var(--primary-color);
    color: white;
    text-transform: uppercase;
    font-size: 1.5em;
    padding: 20px;
    line-height: 1.1em;
    padding-bottom: 0;
    margin: 0;
    
    margin-bottom: -15px;
}

.secondfooter {
    color: var(--primary-color);
    background: white;
    margin-top: 20px;
    font-size: 0.8em;
    display: inline-block;
    padding: 6px 10px;
    font-weight: bold;
}

img.logo-sm {
    width: 66%;
}

div#front-page-wrapper {
    padding: 0;
}

figure.wp-block-gallery.has-nested-images {
    max-width: 90%;
    margin: auto;
}

.wp-block-gallery img, .clients .wp-block-gallery.has-nested-images figure.wp-block-image img {
    aspect-ratio: auto!important;
    max-width: auto!important;
}

a.button1 {
    background: white;
    color: var(--primary-color);
    display: table;
    padding: 3px 11px;
    margin-top: 20px;
    border-radius: 7px;
    text-transform: uppercase;
    font-size: 0.9em;
    bottom: 20px;
}

.service3 a.button1 {
    color: var(--primary-color);
    background: white;
}

a.wp-block-button__link.wp-element-button {
    background: var(--primary-color);
    border-radius: 8px;
    padding: 6px 15px;
    font-size: 0.8em;
}

a.wp-block-button__link.wp-element-button:hover {
color: white;
text-decoration: none; 
transform: scale(1.1);
}
a.button1:hover, .btn.btn-primary:hover {
    text-decoration: none; 
    transform: scale(1.1);
}

a.button1, .btn.btn-primary, a.wp-block-button__link.wp-element-button {
    transition: all .2s ease-in-out; 
}


/* Standard-Layout: Smartphone (zwei Spalten) */
.mitarbeiter-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Spalten auf Smartphones */
    gap: 120px;
    margin-top: 20px;
}

/* Tablet und größere Geräte (ab 768px) */
@media (min-width: 768px) {
    .mitarbeiter-grid {
        grid-template-columns: repeat(3, 1fr); /* 4 Spalten ab Tablet */
    }
}


/* Mitarbeiter-Bild */
.mitarbeiter-bild img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

/* Mitarbeiter-Info */
.mitarbeiter-info h3 {
    font-size: 1.5em;
    margin-top: 10px;
    margin-bottom: 5px;
    color: var(--accent-color);    
}

.mitarbeiter-info p {
    margin: 5px 0;
    font-size: 1em;
}

.mitarbeiter-info a {
    color: #007bff;
    text-decoration: none;
}

.mitarbeiter-info a:hover {
    text-decoration: underline;
}

.contact2 {
    margin-top: 40px;
}

.services .row {
    --bs-gutter-y: 60px;
}


figure.wp-block-media-text__media {
    border-radius: 4px;
    padding: 20px 51px;
    transform: rotate(-3deg);
}

.wp-block-media-text__media img, .wp-block-media-text__media video {
    border-radius: 7px;
    box-shadow: 7px 7px #00000047;
    background: #111111aa;
}

.wrapper.dark {
    color: 333;
    margin: 80px;
    }

    .frost {backdrop-filter: blur(4px);}

    .nav-link {
        color: #555;
    }

 .nav-link:focus, .nav-link:hover, .current-menu-item .nav-link {
        color: var(--primary-color)!important;
        text-decoration: none;
     }

     img.reference-image, .reference-video {
        max-width: 100%!important;
}

.slick-track, .slick-track  div{
    width: 100% !important;
}

address a {
    color: var(--text-light);
}