/* Variables */
/* barlow-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: 'Barlow Condensed';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/barlow-condensed-v13-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* barlow-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: 'Barlow Condensed';
    font-style: normal;
    font-weight: 500;
    src: url('fonts/barlow-condensed-v13-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/open-sans-v44-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}
a{ color: #EC6608; text-decoration: none;}
.navbar-nav .nav-link.active{ color: #EC6608 !important;}
/* Navigation */
#mainNav {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
#mainNav .navbar-brand {
    font-size: 1.25rem;
    font-weight: 600;
    color: #212529;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}
#mainNav .navbar-brand .brand-icon {
    font-size: 2rem;
    color: #EC6608;
}
#mainNav .navbar-brand:hover {
    opacity: 0.8;
}
#mainNav .nav-link {
    color: #495057;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}
#mainNav .nav-link:hover {
    color: #EC6608;
}
#mainNav .navbar-toggler {
    border: none;
}
#mainNav .navbar-toggler:focus {
    box-shadow: none;
}
@media (max-width: 991.98px) {
    #mainNav .navbar-collapse {
        padding: 1rem 0;
    }
}
.mb-0 p{
    margin-bottom: 0;
}
.text-center li{
    list-style-position: inside;
}
#c45.py-5{
    padding-bottom: 0 !important;
}
/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url("images/hero-freieschornsteinfeger.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.hero-section .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
}
.hero-section .container {
    position: relative;
    z-index: 1;
}
.hero-section .hero-content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
}
.hero-section .hero-content .lead {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.6;
    opacity: 0.95;
}
.hero-section .btn-primary {
    background-color: #EC6608;
    border-color: #EC6608;
    padding: 0.75rem 2rem;
    font-weight: 600;
}
.hero-section .btn-primary:hover {
    background-color: #d45a07;
    border-color: #d45a07;
}
.hero-section .btn-outline-light {
    border-width: 2px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}
.hero-section .btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Scroll Down Button */
.scroll-down-btn {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255, 255, 255, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}
.scroll-down-btn i {
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}
.scroll-down-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-50%) translateY(-5px);
}

.brand {
    font-family: "Barlow Condensed", Helvetica, Verdana, sans-serif;
    text-transform: uppercase;
    font-weight: bolder;
    line-height: 1em;
    white-space: nowrap;
}
.navbar-brand svg, footer svg{
    width: 234px;
}

#c15{
    background-color: #fff !important;
}
#c20{
    background-color: #f8f9fa;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}
/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #212529;
}

/* Feature Cards (About Section) */
.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}
.feature-card:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}
.feature-card .feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(236, 102, 8, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.feature-card .feature-icon i {
    font-size: 2rem;
    color: #EC6608;
}

/* Law Cards */
.law-card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.law-card .d-flex a{
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.law-card .law-text{
    max-width: 100%;
    position: relative;
    padding-right: 1em;
}

.law-card:hover {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}
.law-card .law-icon i {
    font-size: 1.5rem;
    color: #EC6608;
}

.alert-info-custom {
    background-color: rgba(236, 102, 8, 0.1);
    border: 1px solid rgba(236, 102, 8, 0.3);
    border-radius: 10px;
    padding: 1.5rem;
}
.alert-info-custom i {
    font-size: 1.5rem;
    color: #EC6608;
    margin-top: 0.25rem;
}

/* Service Cards */
.service-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
.service-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}
.service-card .service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(236, 102, 8, 0.1);
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.service-card .service-icon i {
    font-size: 1.5rem;
    color: #EC6608;
}

/* References Section & Slick Slider */
.references-slider .slick-slide {
    padding: 0 15px;
}
.references-slider .slick-list {
    padding-bottom: 10px;
}
.references-slider .slick-dots {
    bottom: -50px;
}
.references-slider .slick-dots li button:before {
    font-size: 12px;
    color: #EC6608;
}
.references-slider .slick-dots li.slick-active button:before {
    color: #EC6608;
}
.references-slider .slick-prev,
.references-slider .slick-next {
    width: 50px;
    height: 50px;
    z-index: 1;
}
.references-slider .slick-prev:before,
.references-slider .slick-next:before {
    font-size: 50px;
    color: #EC6608;
    opacity: 0.75;
}
.references-slider .slick-prev:hover:before,
.references-slider .slick-next:hover:before {
    opacity: 1;
}
.references-slider .slick-prev {
    left: -60px;
}
.references-slider .slick-next {
    right: -60px;
}
@media (max-width: 991.98px) {
    .references-slider .slick-prev {
        left: -30px;
    }
    .references-slider .slick-next {
        right: -30px;
    }
}
@media (max-width: 767.98px) {
    .references-slider .slick-prev {
        left: -15px;
    }
    .references-slider .slick-next {
        right: -15px;
    }
}

.reference-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}
.reference-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}
.reference-card .card-img-top {
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.reference-card:hover .card-img-top {
    transform: scale(1.05);
}

.row.image-center{
    justify-content: center;
}
.row.image-left .image{
    display: flex;
    justify-content: center;
}
.row.image-center .image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-bottom: 2em;
}
.row.image-right .text{
    order: -1;
    position: relative;
}
.row.image-right .image{
    display: flex;
    justify-content: center;
}
.row.image-center .text {
    text-align: center;
}
.row.image-center .image{
    display: flex;
    justify-content: center;
}
.smaller{font-size: 0.7em;}
/* Team Cards */
.team-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.team-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}
.team-card .team-image {
    aspect-ratio: 1/1;
    overflow: hidden;
    flex-shrink: 0;
}
.team-card .fa-user{
    font-size: 8em;
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.team-card .team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.team-card:hover .team-image img {
    transform: scale(1.05);
}
.team-card .team-info {
    padding: 1rem;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
[data-bs-toggle]{
    cursor: pointer;
}
.modal-body{
    padding-right: 4em;
}
.modal-team .modal-header {
    align-items: flex-start;
    position: relative;
}
.modal-team .modal-header .logo{
  margin-left: auto;
  display: flex;
  align-items: center;
}
.modal-team .modal-header .brand{
    margin-left: 0.4em;
}
.modal-team .modal-header .btn-close{
   position: absolute;
    bottom: -30px;
    right: 15px;
    z-index: 9;
}
/* Contact Section */
.contact-icon {
    font-size: 1.5rem;
    color: #EC6608;
}

.contact-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}
.contact-link:hover {
    color: #EC6608;
}

.alert-warning-custom {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 1rem;
}
.alert-warning-custom .fw-bold {
    color: #EC6608;
}

.contact-form-wrapper {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
}
.contact-form-wrapper .form-control,
.contact-form-wrapper .form-select {
    border-radius: 8px;
    padding: 0.75rem;
}
.contact-form-wrapper .form-control:focus,
.contact-form-wrapper .form-select:focus {
    border-color: #EC6608;
    box-shadow: 0 0 0 0.2rem rgba(236, 102, 8, 0.25);
}
.contact-form-wrapper .btn-primary {
    background-color: #EC6608;
    border-color: #EC6608;
    padding: 0.75rem;
    font-weight: 600;
}
.contact-form-wrapper .btn-primary:hover {
    background-color: #d45a07;
    border-color: #d45a07;
}
.contact-form-wrapper .container{padding: 0;}
.contact-form-wrapper h2{display: none;}
.contact-form-wrapper .form-group{margin-bottom: 0.5em;}
.contact-form-wrapper .actions{margin-top: 1em;}
/* Footer */
.footer .footer-icon {
    font-size: 2rem;
    color: #EC6608;
}
.footer .btn-link {
    text-decoration: none;
}
.footer .btn-link:hover {
    color: white !important;
}

.footer .btn{
    padding-top: 0;
}

/* Modals */
.modal-content {
    border-radius: 15px;
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
}
.modal-header .modal-title {
    font-weight: 600;
}

/* Utility Classes */
.gap-3 {
    gap: 1rem !important;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .section-title {
        font-size: 2rem;
    }
    .hero-section {
        background-attachment: scroll;
    }
}

@media (max-width: 400px) {
    .modal-team .modal-header{
       flex-flow: column;
   }
    .modal-team .modal-header .logo{
       order: -1;
       margin-bottom: 15px;
       margin-left: 0;
   }
    .modal-team .modal-header .btn-close{
       bottom: unset;
       top: 15px;
   }
}