html {
    scroll-behavior: smooth;
}

/* FONTS */

/* bebas-neue-regular */
/*
@font-face {
  font-family: 'bebas-neue-pro';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/bebas-neue-v16-latin-regular.woff2') format('woff2');
}
*/
/* oswald-200 - 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: 'Oswald';
  font-style: normal;
  font-weight: 200;
  src: url('fonts/oswald-v57-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* oswald-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: 'Oswald';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/oswald-v57-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-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: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/montserrat-v31-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-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: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url('fonts/montserrat-v31-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-600 - 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: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  src: url('fonts/montserrat-v31-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* montserrat-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: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/montserrat-v31-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

.grecaptcha-badge {
	display: none !important;
}

/* Header */
#page-header {
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.3) !important;
}
/* Navigation */
.w-nav-list.level_2 .w-nav-anchor {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}
.w-nav-list.level_2 {
    margin-top: -30px; /* Passt den vertikalen Abstand an */
}
.w-nav-list.level_2 {
    padding: 20px 20px; 
}


/* Startseite */
.dynamisch .w-itext-part.dynamic {
    font-weight: 400 !important;
}

/* Footer */
.w-socials-item-link {
    width: auto !important; /* Entfernt die feste Breite */
    padding-right: 25px; /* Fügt Abstand zwischen den Icons hinzu */
    display: inline-block; /* Stellt sicher, dass die Icons sich nicht verziehen */
}
.w-socials-item-link i {
    color: #0C2B6E !important; /* Einheitliche Farbe für alle Icons */
    transition: color 0.3s ease; /* Weicher Übergang */
    background: none !important; /* Falls Icons einen unerwünschten Hintergrund haben */
    text-shadow: none !important; /* Entfernt mögliche Schatten */
}
.w-socials-item-link:hover i {
    color: inherit !important; /* Kehrt zur Standardfarbe zurück */
}
.w-socials-item.tiktok {
    padding-left: 0px; /* Fügt etwas Abstand nach links hinzu */
}
.w-socials-item.tiktok:hover i {
    -webkit-text-fill-color: inherit !important;
}

#icon-leiste .w-iconbox.iconpos_left .w-iconbox-icon {
    margin-right: 5px !important;
	}

/* Handwerk & Bau */
.handwerk-h1 {
        font-family: 'Bebas Neue Pro', sans-serif !important;
        font-size: 1rem !important; /* Falls nötig anpassen */
        font-weight: 300 !important;
        text-transform: none !important;
        -webkit-font-smoothing: antialiased; /* Verbessert das Rendering */
        -moz-osx-font-smoothing: grayscale;
   }

/* Tabs */
.w-tabs-item {
    background-color: #76AEFF; /* Hintergrundfarbe für inaktive Tabs */
    color: #ffffff !important;
    border: 1px solid #0C2B6E !important;
    padding: 20px 40px;
}
.w-tabs.style_default>.w-tabs-list {
    background: #0C2B6E !important;
}
.w-tabs-item.active {
    background-color: #0C2B6E;    
    position: relative; /* Ermöglicht den oberen Strich */
}
.w-tabs-item.active::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px; /* Stärke des Strichs */
    background-color: #FF2549; /* Farbe des Strichs */
}
/* Optional: Hover-Effekt für inaktive Tabs */
.w-tabs-item:not(.active):hover {
    background-color: #0C2B6E; 
}

/* Über uns Timeline Tabs */
.w-tabs.style_timeline>.w-tabs-list .w-tabs-item, .w-tabs.style_timeline2>.w-tabs-list .w-tabs-item, .w-tabs.style_timeline .w-tabs-section-header, .w-tabs.style_timeline2 .w-tabs-section-header {
    height: 5rem;
    min-width: 5rem;
    width: 5rem;
	line-height: 3rem;
}
.w-tabs.style_timeline2 .w-tabs-item, .w-tabs.style_timeline2 .w-tabs-section-header {
	background-color: #76AEFF;
}

/* Akkordeon Private Steuerberatung */
.w-tabs.accordion>div>div>.w-tabs-section-header {
    display: flex;
	margin-top: 0px !important; 
}
/* Unterstrich & rote Schrift für "Mehr erfahren" */
.w-tabs.accordion .w-tabs-section-title {
    text-decoration: underline !important;
    color: #FF2549 !important;
    display: flex;
    align-items: center;
	}
/* Entfernt die weiße Border */
.w-tabs.accordion .w-tabs-section {
    border: none !important;
	margin-bottom: 60px;
	}
/* Kein Padding links & rechts im Header & ausgeklappten Inhalt */
.w-tabs.accordion .w-tabs-section-header,
.w-tabs.accordion .w-tabs-section-content {
    padding: 10px 0 !important;
    background-color: transparent !important;
	}
/* Standard Pfeil ausblenden */
.w-tabs.accordion .w-tabs-section-control {
    display: none !important;
}
/* Icon neben "Mehr erfahren" */
.w-tabs.accordion .w-tabs-section-title::after {
    content: "";
    display: inline-block;
    width: 30px; 
    height: 18px; 
    background-image: url("https://www.mentzel-tax.de/wp-content/uploads/2025/02/icon-mehr-erfahren.png");
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 12px;
    margin-top: 12px;  
}

/* Icon ändern, wenn Akkordeon geöffnet ist */
.w-tabs.accordion .w-tabs-section.active .w-tabs-section-title::after {
    background-image: url("https://www.mentzel-tax.de/wp-content/uploads/2025/02/icon-mehr-erfahren-up.png");
}


/* Aufzählung allgemein */
.icon li::marker {
    content: url("https://www.mentzel-tax.de/wp-content/uploads/2025/02/icon-mehr-erfahren.png");
    font-size: 0; /* Verhindert zusätzliche Platznahme durch Text */		
}
.icon li {
    padding-left: 15px;
}

/* Footer */
#social-icon .w-iconbox-icon {
    margin-right: 10px;
	vertical-align: middle;
}

/* Kontaktformular */
.wps-form-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
}
.wps-form-column {
    width: 100%;
}

.wps-form-row.kontaktieren {
	margin: 40px 0px 0px 0px !important;
	}

.wps-form-row.kontaktmethoden {
	margin-bottom: 40px !important;
	}

.wps-form-column.telefon  {
   	width: auto !important;
	margin-right: 25px;
}


@media (max-width: 1024px) {   
/* Navigation */	
.w-nav-arrow {
        display: none !important;
}
.w-nav-list.level_2 {
    margin-top: 0px; 
}
.w-nav-list.level_2 {
    padding: 0px; 
}	

/* Handwerk & Bau */
.w-tabs.accordion .w-tabs-section {
    border: none !important;
    margin-bottom: 10px;
}
	}

/* Notebook / Desktop */
@media only screen and (min-width: 48em) { 
   
/* Formular */
.wps-form .wps-form-row {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
/* Handwerk & Bau */
#sprachen.w-tabs.style_default > .w-tabs-list {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        scrollbar-width: thin !important;
        -ms-overflow-style: none !important;
        max-width: 100% !important;
    }
#sprachen.w-tabs.style_default > .w-tabs-list::-webkit-scrollbar {
        height: 4px !important;
    }

#sprachen.w-tabs.style_default > .w-tabs-list .w-tabs-item {
        font-size: 0.9em !important;
        padding: 10px 15px !important;
        min-width: 90px !important;
        flex-shrink: 0 !important;
    }

#sprachen.w-tabs.style_default > .w-tabs-list .w-tabs-list-h {
        display: flex !important;
        gap: 1px !important;
    }
.us_custom_b91424ac .owl-dots .owl-carousel {
  text-align: center;
  line-height: 0;
  padding-top: 0rem !important;
}
}

/* Umbrüche auf iPhones/iPads Safari mit &hsy; werden auf Android verhindert */
@supports not (-webkit-touch-callout: none) {
    .text-wrapper {
        word-break: keep-all !important; /* Android ignoriert das &shy; */
        overflow-wrap: normal !important;
        hyphens: none !important;
    }
}

/* Nur Safari (iPhone/iPad/Mac) */
@supports (-webkit-touch-callout: none) {
    h1 {
        font-size: 1.4rem !important; /* oder ein anderer Wert */
        line-height: 1.2 !important;  /* evtl. anpassen, um Umbrüche zu reduzieren */		
    }
	
/* Icons für Safari */
    .icon {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }
    .icon li {
        list-style: none;
        padding-left: 30px; /* Platz für das Icon */
        line-height: 1.4;
        background: url("https://www.mentzel-tax.de/wp-content/uploads/2025/02/icon-mehr-erfahren.png")
                    no-repeat
                    0 8px / 22px auto;
        box-sizing: border-box;
    }
    .icon ul {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }    
    .icon-container {
        padding-left: 0 !important;
        margin-left: 0 !important;
    }
}

@media (max-width: 1440px) {    
  
.w-tabs-section-content {
    padding: 1rem !important;
	background-color: #0C2B6E !important;	
}

	/* Hintergrundlinie exakt zwischen den Kreisen
    .timeline-mobil::before {
        content: "" !important;
        position: absolute !important;
        left: 50% !important;
        top: calc(50% + 50px) !important; 
        bottom: calc(50px) !important; 
        width: 2px !important;
        background-color: rgba(255, 255, 255, 0.3) !important;
        transform: translateX(-50%) !important;       
    } */

    /* Alle Kreise anzeigen */
    .timeline-mobil .w-tabs-section-header {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100px !important;
        height: 100px !important;
        min-width: 100px !important;
        min-height: 100px !important;
               background-color: #76aeff !important;
        color: white !important;
        font-size: 1rem !important;
        border-radius: 50% !important;
        text-align: center !important;
        cursor: pointer !important;        
        position: relative !important;
        z-index: 2 !important;
        margin-bottom: 30px !important;
        inset-inline-start: 50% !important;
        transform: translateX(-50%) !important;
        visibility: visible !important; /* Sicherstellen, dass alle Kreise sichtbar sind */
        opacity: 1 !important;
    }

    /* Aktiver Jahrgang bleibt rot */
    .timeline-mobil .w-tabs-section.active .w-tabs-section-header {
        background-color: #ff2549 !important;
    }
	
    /* Hover auf Rot wechseln */
    .timeline-mobil .w-tabs-section-header:hover {
        background-color: #76AEFF !important;
    }

    /* Tabs (horizontale Navigation) ausblenden */
    .timeline-mobil .w-tabs-list {
        display: none !important;
    } 
	/* ALLE Kreise anzeigen */
    .timeline-mobil .w-tabs-section-header {
        display: flex !important; /* Sicherstellen, dass sie sichtbar sind */
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Falls noch irgendwo ein display: none existiert, explizit überschreiben */
    .timeline-mobil .w-tabs-section {
        display: block !important;
    }

    /* Sicherstellen, dass die Kreise untereinander erscheinen */
    .timeline-mobil .w-tabs-section-header {
        margin-bottom: 30px !important;
    }
	   /* Standardmäßig alle Inhalte verstecken */
    .timeline-mobil .w-tabs-section-content {
        display: none !important;
    }

    /* Nur der aktive Eintrag zeigt den Inhalt */
    .timeline-mobil .w-tabs-section.active .w-tabs-section-content {
        display: block !important;
    }
	
}

