/* ========================================
   Custom CSS fÃƒÂ¼r Diamond Global Strategy
   ======================================== */

/* Telefonnummer Icon-Problem beheben */
a[href^="tel:"] {
    font-family: Arial, sans-serif !important;
    font-variant: normal !important;
    text-decoration: none !important;
}

a[href^="tel:"]:before,
a[href^="tel:"]:after {
    display: none !important;
}

h3 {
    font-size: 34px !important;
}

/* Smooth Scroll fÃƒÂ¼r alle Anchor-Links */
html {
    scroll-behavior: smooth;
}

/* Smooth Scroll fÃƒÂ¼r Go-Top Button */
.progress-wrap {
    scroll-behavior: smooth;
}

/* ZusÃƒÂ¤tzliche Button-Hover-Effekte */
.tf-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tf-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 100%;
    background-color: var(--primary);
    z-index: 1;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.tf-btn:hover::before {
    left: 0;
    width: 100%;
    transform: translateX(0);
}

.tf-btn:hover span {
    color: var(--white) !important;
    position: relative;
    z-index: 3;
}

/* HÃƒÂ¶here SpezifitÃƒÂ¤t fÃƒÂ¼r Button Hover */
.header .tf-btn:hover span,
.tf-btn.bg-white:hover span,
.tf-btn.bg-on-suface-container:hover span,
.tf-btn.bg-color-primary:hover span,
.tf-btn.style-border:hover span {
    color: var(--white) !important;
    position: relative;
    z-index: 3;
}

/* Alternative LÃƒÂ¶sung - direkter Ansatz */
.tf-btn:hover {
    color: var(--white) !important;
}

.tf-btn:hover * {
    color: var(--white) !important;
}

/* Header-spezifische Button-Korrektur */
.header .tf-btn {
    position: relative;
    overflow: hidden;
    padding: 15px 40px;
}

.header .tf-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 100%;
    background-color: var(--on-suface-container);
    z-index: 1;
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 999px;
}

.header .tf-btn:hover::before {
    left: 0;
    width: 100%;
    transform: translateX(0);
}

.header .tf-btn:hover {
    color: var(--white) !important;
}

.header .tf-btn:hover * {
    color: var(--white) !important;
    position: relative;
    z-index: 2;
}

.header .header-content .header-right {
    gap: 0;
}

/* Spezifische Button-Typen */
.tf-btn.bg-on-suface-container::before {
    background-color: var(--primary);
}

.tf-btn.bg-on-suface-container:hover::before {
    background-color: #263c75;
}

.tf-btn.bg-white::before {
    background-color: var(--on-suface-container);
}

.tf-btn.bg-color-primary::before {
    background-color: var(--on-suface-container);
}

.tf-btn.style-border::before {
    background-color: var(--primary);
}

.page-title-home .tf-btn {
    border-radius: 999px;
}

/* Hero-Bereich Anpassungen */
.page-title-home .page-title-inner {
    min-height: 750px;
    display: flex;
    align-items: center;
}

.page-title-home .page-title-inner .page-title-content {
    text-align: left;
    width: 100%;
}

.page-title-home .page-title-inner .page-title-content h1 {
    color: var(--white) !important;
    font-size: 42px !important;
}

.page-title-home .page-title-inner .page-title-content .sub-title {
    color: var(--white) !important;
}

/* Hero-Slider Bilder */
.page-title-home.img-1 .page-title-inner::before {
    background-image: url("../images/section/hero-image.jpg");
    opacity: 0.8;
}

.page-title-home .page-title-inner.img-2::before {
    background-image: url("../images/section/hero-image2.jpg");
    opacity: 0.8;
}

.page-title-home .page-title-inner.img-3::before {
    background-image: url("../images/section/hero-image3.jpg");
    opacity: 0.8;
}

/* Slider-Animation VerzÃƒÂ¶gerungen */
.swiper-slide-active .fade-item-1 {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition-delay: 0.6s;
}

.swiper-slide-active .fade-item-2 {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition-delay: 0.8s;
}

.swiper-slide-active .fade-item-3 {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition-delay: 1s;
}

/* About-Section Text-GrÃƒÂ¶ÃƒÅ¸e */
.about .text-about {
    font-size: 18px;
    line-height: 1.8;
}

/* Contact Section */
.contact-info-grid {
    margin-top: 30px;
}
.contact-info-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.contact-info-item {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.contact-info-item:hover {
    transform: translateY(-2px);
}
.contact-info-item.full-width {
    flex: 1;
    justify-content: center;
}
.contact-icon {
    width: 50px;
    height: 50px;
    background: #0b1435;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}
.contact-icon i {
    color: #fff;
    font-size: 20px;
}
.contact-details h6 {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 600;
    color: #0b1435;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.contact-details p {
    margin: 0;
    color: #666;
    line-height: 1.4;
}
.contact-details a {
    color: #0b1435;
    text-decoration: none;
}
.contact-details a:hover {
    text-decoration: underline;
}
@media (max-width: 768px) {
    .contact-info-row {
        flex-direction: column;
        gap: 15px;
    }
    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }
    .contact-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    /* Header-spezifische Button-Korrektur */
    .header .tf-btn {
        padding: 8px 20px;
    }

    .page-title-home .page-title-inner .page-title-content h1 {
        font-size: 34px !important;
    }  
    
}

/* Kontakt-Information Layout */
.contact-info-item.full-width {
    text-align: center;
}

.contact-info-item .icon {
    margin-bottom: 15px;
}

.contact-info-item h6 {
    margin-bottom: 10px;
    color: var(--white);
}

.contact-info-item p {
    color: var(--on-suface-variant-2);
    margin-bottom: 5px;
}

.contact-info-item a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info-item a:hover {
    color: var(--primary);
}

/* Kontakt-Formular Placeholder-Farben */
.form-control::placeholder {
    color: var(--on-suface-variant-2) !important;
    opacity: 1;
}

.form-control.border::placeholder {
    color: var(--on-suface-variant-2) !important;
    opacity: 1;
}

/* Select-Element Placeholder-Styling */
.form-control.py-3 {
    color: var(--on-suface-variant-2) !important;
    padding: 9px 16px;
    padding-right: 40px; /* Platz fÃƒÂ¼r Icon */
    font-size: 100%;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 12px center;
    background-repeat: no-repeat;
    background-size: 16px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.form-control.py-3 option:first-child {
    color: var(--on-suface-variant-2) !important;
}

.form-control.py-3 option:not(:first-child) {
    color: var(--on-suface-variant-1);
}

/* Kontakt-Formular Checkbox Styling */
.checkbox-field {
    margin: 20px 0;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0;
}

.form-check-input {
    margin: 0;
    margin-top: 2px;
    width: 18px;
    height: 18px;
    border: 2px solid var(--on-suface-variant-2);
    border-radius: 3px;
    background-color: transparent;
    cursor: pointer;
    flex-shrink: 0;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(11, 20, 53, 0.2);
}

.form-check-label {
    color: var(--on-suface-variant-1);
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
    margin: 0;
}

.privacy-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: var(--on-suface-container);
    text-decoration: underline;
}

/* Error styling fÃƒÂ¼r Checkbox */
.form-check-input.is-invalid {
    border-color: #dc3545;
}

.privacy-error {
    margin-top: 8px;
}

.privacy-error .error {
    color: #dc3545;
    font-size: 12px;
    display: block;
    margin: 0;
}

/* Leaflet Marker Styling */
.custom-marker {
    background: transparent !important;
    border: none !important;
}

/* Map Container Styling */
#map {
    border-radius: 8px;
    /* box-shadow: 0 4px 20px rgba(0,0,0,0.1); */
}

/* Schwarz-WeiÃƒÅ¸ Karte */
.grayscale-map {
    filter: grayscale(100%) contrast(1.2) brightness(1.1);
}

/* Leaflet Popup Styling */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.leaflet-popup-tip {
    background: white;
}

/* Map Styling */
#map {
    height: 400px;
    min-height: 44vH;
    width: 100%;
    border-radius: 10px;
    filter: grayscale(100%) sepia(20%) hue-rotate(200deg) saturate(0.8) brightness(0.9) contrast(1.2);
}

/* Footer Service Links */
.footer .tf-social .item a {
    transition: all 0.3s ease;
}

.footer .tf-social .item a:hover {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .page-title-home .page-title-inner {
        min-height: 600px;
    }
    
    .about .text-about {
        font-size: 16px;
    }
    
    .contact-info-item.full-width {
        margin-bottom: 30px;
    }
}

/* ZusÃƒÂ¤tzliche Utility-Klassen */
.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-0 {
    margin-top: 0;
}

/* Hauptinhalt Styling */
.main-content {
    padding: 80px 0;
    background-color: var(--white);
}

.main-content .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.main-content h1,
.main-content h2,
.main-content h3,
.main-content h4,
.main-content h5,
.main-content h6 {
    color: var(--on-suface-container);
    margin-bottom: 10px;
    font-weight: 600;
}

.main-content h1 {
    font-size: 36px;
    line-height: 1.2;
}

.main-content h2 {
    font-size: 30px !important;
    line-height: 1.3;
}

.main-content h3 {
    font-size: 24px;
    line-height: 1.4;
}

.main-content p {
    color: var(--on-suface-variant-1);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.main-content ul,
.main-content ol {
    color: var(--on-suface-variant-1);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
    padding-left: 30px;    
}

.main-content li {
    margin-bottom: 10px;
    list-style: disc;
}

.main-content a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-content a:hover {
    color: var(--on-suface-container);
    text-decoration: underline;
}

.main-content blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: var(--on-suface-variant-1);
}

.main-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.main-content .btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 999px;
    font-weight: 500;
    transition: all 0.3s ease;
    margin: 10px 0;
}

.main-content .btn:hover {
    background-color: var(--on-suface-container);
    color: var(--white);
    text-decoration: none;
}

/* Responsive Anpassungen fÃƒÂ¼r Hauptinhalt */
@media (max-width: 768px) {
    .main-content {
        padding: 40px 0;
    }
    
    .main-content h1 {
        font-size: 28px;
    }
    
    .main-content h2 {
        font-size: 24px !important;
    }
    
    .main-content h3 {
        font-size: 20px;
    }
    
    .main-content p,
    .main-content ul,
    .main-content ol {
        font-size: 14px;
    }
}

/* Go-Top Button */
.progress-wrap {
    position: fixed;
    bottom: 40px;
    right: 20px;
    height: 40px;
    width: 40px;
    cursor: pointer;
    display: block;
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px rgba(130, 130, 130, 0.2);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 300ms linear;
    background: var(--white);
}

.progress-wrap::after {
    position: absolute;
    content: "\e90c";
    font-family: "icomoon";
    text-align: center;
    line-height: 40px;
    font-size: 10px;
    color: var(--on-suface-container);
    left: 0;
    top: 0;
    height: 40px;
    width: 40px;
    cursor: pointer;
    display: block;
    z-index: 1;
    transition: all 400ms linear;
    transform: rotate(-90deg);
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.progress-wrap svg path {
    fill: none;
}

.progress-wrap svg.progress-circle path {
    box-sizing: border-box;
    stroke: var(--primary);
    stroke-width: 5;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.4s;
    transition-timing-function: linear;
}

/* Responsive Go-Top Button */
@media (max-width: 768px) {
    .progress-wrap {
        bottom: 20px;
        right: 15px;
        height: 35px;
        width: 35px;
    }
    
    .progress-wrap::after {
        line-height: 35px;
        height: 35px;
        width: 35px;
        font-size: 9px;
    }
}

/* Coming Soon Template - Adress-Block */
.address-block {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Coming Soon Template - Services Preview */
.services-preview {
    margin: 30px 0;
}

.services-preview h3 {
    color: var(--white);
    font-size: 2.5rem !important;
    font-weight: 600;
    margin-bottom: 40px;
}

.service-item {
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-item h5 {
    color: var(--primary-color) !important;
    font-size: 1.6rem !important;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.service-item ul li {
    color: #333;
    font-size: 1.2rem !important;
    line-height: 1.8;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.service-item ul li i {
    color: #28a745 !important;
    font-size: 1.3rem !important;
    margin-right: 15px;
    flex-shrink: 0;
}

.service-item ul li:last-child {
    margin-bottom: 0 !important;
}

.address-block h3 {
    /* color: var(--white); */
    font-size: 2.5rem !important;
    font-weight: 600;
    margin-bottom: 20px;
}

.address-block p {
    /* color: rgba(255, 255, 255, 0.9); */
    font-size: 1.5rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.address-block a {
    /* color: var(--white); */
    text-decoration: none;
    transition: color 0.3s ease;
}

.address-block a:hover {
    color: #e0e0e0;
    text-decoration: underline;
}

.address-block strong {
    /* color: var(--white); */
    font-weight: 600;
}

/* Debug-Hilfen (nur für Entwicklung) */
.debug-border {
    border: 1px solid red !important;
}

.debug-bg {
    background-color: rgba(255, 0, 0, 0.1) !important;
}

.error { color: red; }
.form-contact-us textarea { margin-bottom: 0; }

body.coming-soon-page {
    background:#f8f9fa;
}

.coming-soon .left {
    background-color: #0b1435;
}

    br {
        display: block;
    }
