:root {
    --tx-navy: #030f27;
    --tx-navy-soft: #0b1d3a;
    --tx-yellow: #fdbe33;
    --tx-yellow-dark: #e6a91f;
    --tx-ink: #111827;
    --tx-muted: #5e6878;
    --tx-line: #dce1e8;
    --tx-surface: #f7f8fa;
    --tx-white: #ffffff;
    --tx-success: #177a3c;
    --tx-danger: #b50606;
    --tx-container: 1320px;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: auto;
    scrollbar-color: var(--tx-yellow) var(--tx-navy);
}

html::-webkit-scrollbar {
    width: 14px;
    height: 14px;
}

html::-webkit-scrollbar-track {
    background: var(--tx-navy);
}

html::-webkit-scrollbar-thumb {
    min-height: 48px;
    background: var(--tx-yellow);
    border: 3px solid var(--tx-navy);
    border-radius: 999px;
}

html::-webkit-scrollbar-thumb:hover {
    background: var(--tx-yellow-dark);
}

html::-webkit-scrollbar-corner {
    background: var(--tx-navy);
}

body.taxxmi-v2 {
    margin: 0;
    color: var(--tx-ink);
    background: var(--tx-white);
    font-family: "Poppins", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

.taxxmi-v2 *,
.taxxmi-v2 *::before,
.taxxmi-v2 *::after {
    box-sizing: border-box;
}

.taxxmi-v2 a {
    color: inherit;
}

.taxxmi-v2 a:focus-visible,
.taxxmi-v2 button:focus-visible,
.taxxmi-v2 input:focus-visible,
.taxxmi-v2 select:focus-visible,
.taxxmi-v2 textarea:focus-visible,
.taxxmi-v2 summary:focus-visible {
    outline: 3px solid var(--tx-yellow);
    outline-offset: 3px;
}

.tx-skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 9999;
    padding: 10px 16px;
    color: var(--tx-white) !important;
    background: var(--tx-navy);
    transform: translateY(-160%);
}

.tx-skip-link:focus {
    transform: translateY(0);
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.tx-container {
    width: min(100% - 48px, var(--tx-container));
    margin-inline: auto;
}

.tx-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    color: var(--tx-white);
    background: var(--tx-navy);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.tx-nav {
    min-height: 96px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.tx-logo {
    flex: 0 0 270px;
}

.tx-logo img {
    display: block;
    width: 255px;
    height: auto;
}

.tx-menu {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-left: auto;
}

.tx-menu a {
    padding: 12px 0;
    color: var(--tx-white);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
}

.tx-menu a:hover,
.tx-menu a[aria-current="page"] {
    color: var(--tx-yellow);
    border-bottom-color: var(--tx-yellow);
}

.tx-nav-tools {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tx-language {
    min-width: 76px;
    min-height: 44px;
    padding: 0 10px;
    color: var(--tx-white);
    background: var(--tx-navy);
    border: 1px solid rgba(255, 255, 255, .35);
}

.tx-language-menu {
    position: relative;
    flex: 0 0 auto;
}

.tx-language-trigger {
    min-width: 128px;
    min-height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 8px 11px;
    color: var(--tx-white);
    background: var(--tx-navy);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 0;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}

.tx-language-trigger img,
.tx-language-options img {
    width: 25px;
    height: 17px;
    object-fit: cover;
}

.tx-language-trigger i {
    margin-left: auto;
    font-size: 11px;
}

.tx-language-options {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1100;
    min-width: 178px;
    padding: 6px;
    color: var(--tx-ink);
    background: var(--tx-white);
    border: 1px solid var(--tx-line);
    box-shadow: 0 18px 40px rgba(3, 15, 39, .2);
}

.tx-language-options[hidden] {
    display: none;
}

.tx-language-options a {
    min-height: 42px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    color: var(--tx-ink) !important;
    text-decoration: none;
}

.tx-language-options a:hover,
.tx-language-options a[aria-selected="true"] {
    color: var(--tx-navy) !important;
    background: #f3f5f8;
}

.tx-phone {
    color: var(--tx-white);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.tx-phone i {
    margin-right: 7px;
    color: var(--tx-yellow);
}

.tx-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 22px;
    color: var(--tx-navy) !important;
    background: var(--tx-yellow);
    border: 2px solid var(--tx-yellow);
    border-radius: 4px;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.tx-button:hover {
    color: var(--tx-white) !important;
    background: var(--tx-navy);
    border-color: var(--tx-navy);
}

.tx-button--outline {
    color: var(--tx-white) !important;
    background: transparent;
    border-color: rgba(255, 255, 255, .7);
}

.tx-button--outline:hover {
    color: var(--tx-navy) !important;
    background: var(--tx-white);
    border-color: var(--tx-white);
}

.tx-button--block {
    width: 100%;
}

.tx-menu-toggle {
    width: 48px;
    height: 48px;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--tx-white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 4px;
}

.tx-hero {
    color: var(--tx-white);
    background: var(--tx-navy-soft);
}

.tx-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(430px, .92fr);
    min-height: 620px;
}

.tx-hero-visual {
    position: relative;
    min-width: 0;
    display: flex;
    align-items: flex-end;
    padding: 64px max(52px, calc((100vw - var(--tx-container)) / 2));
    background-color: var(--tx-navy-soft);
    background-image: url("/img/taxxmi-van-weiss.webp");
    background-position: center;
    background-size: cover;
}

.tx-hero-visual::before {
    position: absolute;
    inset: 0;
    content: "";
    background: rgba(3, 15, 39, .56);
}

.tx-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.tx-kicker {
    margin: 0 0 12px;
    color: var(--tx-yellow);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.tx-hero h1 {
    max-width: 680px;
    margin: 0 0 24px;
    color: var(--tx-white);
    font-size: clamp(42px, 4.5vw, 68px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.025em;
}

.tx-hero-lead {
    max-width: 610px;
    margin: 0 0 30px;
    color: rgba(255, 255, 255, .9);
    font-size: 19px;
}

.tx-hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tx-hero-proof li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 600;
}

.tx-hero-proof i {
    color: var(--tx-yellow);
    font-size: 24px;
}

.tx-booking-panel {
    align-self: center;
    margin: 40px 56px 40px 0;
    padding: 34px;
    color: var(--tx-white);
    background: var(--tx-navy);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 6px;
}

.tx-booking-panel h2 {
    margin: 0 0 6px;
    color: var(--tx-yellow);
    font-size: 32px;
    line-height: 1.2;
    text-align: center;
}

.tx-booking-panel > p {
    margin: 0 0 24px;
    color: rgba(255, 255, 255, .76);
    font-size: 14px;
    text-align: center;
}

.tx-field {
    margin-bottom: 17px;
}

.tx-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
}

.tx-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--tx-white);
    font-size: 14px;
    font-weight: 600;
}

.tx-field input,
.tx-field select,
.tx-field textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    color: var(--tx-ink);
    background: var(--tx-white);
    border: 2px solid transparent;
    border-radius: 3px;
    font: inherit;
}

.tx-field input:focus,
.tx-field select:focus,
.tx-field textarea:focus {
    border-color: var(--tx-yellow);
}

.tx-booking-actions {
    display: grid;
    gap: 12px;
    margin-top: 8px;
}

.tx-form-note {
    margin: 14px 0 0 !important;
    color: rgba(255, 255, 255, .68) !important;
    font-size: 12px !important;
    text-align: left !important;
}

.tx-form-note i {
    margin-right: 6px;
}

.tx-trust-strip {
    background: var(--tx-white);
    border-bottom: 1px solid var(--tx-line);
}

.tx-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.tx-trust-item {
    min-height: 112px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 30px;
    border-right: 1px solid var(--tx-line);
}

.tx-trust-item:last-child {
    border-right: 0;
}

.tx-trust-item i {
    width: 44px;
    color: var(--tx-yellow-dark);
    font-size: 34px;
    text-align: center;
}

.tx-trust-item strong,
.tx-trust-item span {
    display: block;
}

.tx-trust-item strong {
    margin-bottom: 2px;
    color: var(--tx-navy);
    font-size: 15px;
}

.tx-trust-item span,
.tx-trust-item a {
    color: var(--tx-muted);
    font-size: 13px;
}

.tx-section {
    padding: 88px 0;
}

.tx-section--soft {
    background: var(--tx-surface);
}

.tx-section-head {
    max-width: 760px;
    margin-bottom: 44px;
}

.tx-section-head--center {
    margin-inline: auto;
    text-align: center;
}

.tx-section h2 {
    margin: 0 0 14px;
    color: var(--tx-navy);
    font-size: clamp(34px, 3.2vw, 48px);
    line-height: 1.14;
    letter-spacing: -.02em;
}

.tx-section-head > p:last-child {
    margin: 0;
    color: var(--tx-muted);
    font-size: 18px;
}

.tx-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.tx-service-card {
    min-width: 0;
    overflow: hidden;
    background: var(--tx-white);
    border: 1px solid var(--tx-line);
    border-radius: 6px;
}

.tx-service-card img {
    width: 100%;
    height: 230px;
    display: block;
    object-fit: cover;
}

.tx-service-body {
    padding: 25px;
}

.tx-service-body h3 {
    margin: 0 0 10px;
    color: var(--tx-navy);
    font-size: 22px;
}

.tx-service-body p {
    min-height: 78px;
    margin: 0 0 18px;
    color: var(--tx-muted);
}

.tx-text-link {
    color: var(--tx-navy) !important;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--tx-yellow);
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
}

.tx-text-link:hover {
    color: var(--tx-yellow-dark) !important;
}

.tx-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 44px;
    counter-reset: tx-step;
}

.tx-step {
    position: relative;
    padding-top: 74px;
    counter-increment: tx-step;
}

.tx-step::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    content: counter(tx-step);
    color: var(--tx-navy);
    background: var(--tx-yellow);
    border-radius: 50%;
    font-size: 21px;
    font-weight: 700;
}

.tx-step h3 {
    margin: 0 0 10px;
    color: var(--tx-navy);
    font-size: 22px;
}

.tx-step p {
    margin: 0;
    color: var(--tx-muted);
}

.tx-pricing-section {
    color: var(--tx-white);
    background: var(--tx-navy-soft);
}

.tx-pricing-layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
    align-items: center;
    gap: 72px;
}

.tx-pricing-section .tx-section-head {
    margin: 0;
}

.tx-pricing-section .tx-section-head h2,
.tx-pricing-section .tx-section-head p {
    color: var(--tx-white);
}

.tx-pricing-section .tx-section-head > p:last-of-type {
    color: rgba(255, 255, 255, .78);
}

.tx-price-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 0;
    padding: 1px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .16);
}

.tx-price-facts > div {
    padding: 24px;
    background: var(--tx-navy);
}

.tx-price-facts dt {
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    font-weight: 600;
}

.tx-price-facts dd {
    margin: 5px 0 0;
    color: var(--tx-yellow);
    font-size: clamp(22px, 2.2vw, 30px);
    font-weight: 700;
}

.tx-price-facts > p {
    grid-column: 1 / -1;
    margin: 0;
    padding: 18px 24px;
    color: rgba(255, 255, 255, .72);
    background: var(--tx-navy);
    font-size: 13px;
}

.tx-contact-band {
    color: var(--tx-white);
    background: var(--tx-navy);
}

.tx-contact-band-inner {
    min-height: 210px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.tx-contact-band h2 {
    margin: 0 0 8px;
    color: var(--tx-white);
    font-size: clamp(30px, 3vw, 44px);
}

.tx-contact-band p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
}

.tx-contact-actions {
    display: flex;
    gap: 12px;
}

.tx-footer {
    padding: 60px 0 24px;
    color: rgba(255, 255, 255, .75);
    background: #020a19;
}

.tx-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
}

.tx-footer img {
    width: 230px;
    margin-bottom: 18px;
}

.tx-footer h2 {
    margin: 0 0 16px;
    color: var(--tx-white);
    font-size: 17px;
}

.tx-footer p {
    margin: 0 0 8px;
}

.tx-footer a {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, .76);
    text-decoration: none;
}

.tx-footer a:hover {
    color: var(--tx-yellow);
}

.tx-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 42px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: 13px;
}

.tx-mobile-actions {
    display: none;
}

.taxxmi-v2 .tx-quick-buttons {
    position: fixed;
    top: 50%;
    right: 4px;
    z-index: 950;
    display: grid;
    gap: 10px;
    padding: 0;
    overflow: visible;
    transform: translateY(-50%);
}

.taxxmi-v2 .tx-quick-buttons a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-radius: 50%;
    transition: transform .2s ease, filter .2s ease;
}

.taxxmi-v2 .tx-quick-buttons a:hover {
    transform: scale(1.08);
    filter: brightness(1.08);
}

.taxxmi-v2 .tx-quick-buttons .mail {
    background: #c19838;
}

.taxxmi-v2 .tx-quick-buttons .whatsapp {
    background: #3f8f5a;
}

.taxxmi-v2 .tx-quick-buttons .phone {
    background: #bd3127;
}

.taxxmi-v2 .tx-quick-buttons img {
    width: 23px;
    height: 23px;
    object-fit: contain;
}

/* Keep quick-contact controls identical on the start page and all subpages. */
.taxxmi-legacy-v2 .main_icons {
    position: fixed;
    top: 50%;
    right: 4px;
    z-index: 950;
    display: grid;
    gap: 10px;
    padding: 0;
    overflow: visible;
    transform: translateY(-50%);
}

.taxxmi-legacy-v2 .main_icons .mail,
.taxxmi-legacy-v2 .main_icons .whatsapp,
.taxxmi-legacy-v2 .main_icons .phone {
    width: 48px;
    height: 48px;
    margin: 0;
    border-radius: 50%;
}

.taxxmi-legacy-v2 .main_icons img {
    width: 23px;
    height: 23px;
    object-fit: contain;
}

.taxxmi-legacy-v2 .main_icons .mail {
    background: #c19838;
}

.taxxmi-legacy-v2 .main_icons .whatsapp {
    background: #3f8f5a;
}

.taxxmi-legacy-v2 .main_icons .phone {
    background: #bd3127;
}

.taxxmi-legacy-v2 .main_icons a:hover {
    transform: scale(1.08);
    filter: brightness(1.08);
}

/* Shared upgrades for existing German subpages */
body:not(.taxxmi-v2) a:focus-visible,
body:not(.taxxmi-v2) button:focus-visible,
body:not(.taxxmi-v2) input:focus-visible,
body:not(.taxxmi-v2) select:focus-visible,
body:not(.taxxmi-v2) textarea:focus-visible {
    outline: 3px solid #0b63ce !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .9) !important;
}

.tx-subpage-cta {
    margin-left: auto;
    padding: 9px 17px !important;
    color: var(--tx-navy) !important;
    background: var(--tx-yellow);
    border: 2px solid var(--tx-yellow) !important;
    font-weight: 700;
}

body:not(.taxxmi-v2) .contact .control-group label {
    display: block;
    margin-bottom: 6px;
    color: #030f27;
    font-size: 15px;
    font-weight: 600;
}

body:not(.taxxmi-v2) .contact .contact-form input,
body:not(.taxxmi-v2) .contact .contact-form textarea {
    color: #111827;
    background: #ffffff;
    border: 2px solid #9a760f;
}

body:not(.taxxmi-v2) .contact .contact-form .form-control::placeholder {
    color: #4e5867;
    opacity: 1;
}

body:not(.taxxmi-v2) .contact .contact-form input:focus,
body:not(.taxxmi-v2) .contact .contact-form textarea:focus {
    border-color: #0b63ce;
}

/* Full redesign for the existing multilingual page templates */
body.taxxmi-legacy-v2 {
    margin: 0;
    color: var(--tx-ink);
    background: var(--tx-surface);
    font-family: "Poppins", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

.taxxmi-legacy-v2 *,
.taxxmi-legacy-v2 *::before,
.taxxmi-legacy-v2 *::after {
    box-sizing: border-box;
}

.taxxmi-legacy-v2 .wrapper {
    width: 100%;
    max-width: none;
    overflow: visible;
}

.taxxmi-legacy-v2 .top-bar {
    display: none;
}

.taxxmi-legacy-v2 .nav-bar {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
    color: var(--tx-white);
    background: var(--tx-navy);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.taxxmi-legacy-v2 .nav-bar .container-fluid {
    width: min(100% - 48px, var(--tx-container));
    max-width: none;
    margin-inline: auto;
    padding: 0;
}

.taxxmi-legacy-v2 .nav-bar .navbar {
    min-height: 96px;
    padding: 0;
    background: transparent !important;
}

.taxxmi-legacy-v2 .navbar-brand {
    width: 255px;
    height: 74px;
    flex: 0 0 255px;
    display: block;
    margin: 0 34px 0 0;
    padding: 0;
    overflow: hidden;
    color: transparent !important;
    background: url("/img/txxmilogodarkbg.png") left center / contain no-repeat;
    font-size: 0;
}

.taxxmi-legacy-v2 .navbar-collapse,
.taxxmi-legacy-v2 .navbar-nav {
    min-width: 0;
}

.taxxmi-legacy-v2 .navbar-nav {
    width: 100%;
    align-items: center;
    margin-right: 0 !important;
    gap: 20px;
}

.taxxmi-legacy-v2 .navbar-nav > .nav-link {
    margin: 0;
    padding: 15px 0 !important;
    color: var(--tx-white) !important;
    border-bottom: 3px solid transparent;
    font-family: "Poppins", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
}

.taxxmi-legacy-v2 .navbar-nav > .nav-link:hover,
.taxxmi-legacy-v2 .navbar-nav > .nav-link.active,
.taxxmi-legacy-v2 .navbar-nav > .nav-link[aria-current="page"] {
    color: var(--tx-yellow) !important;
    border-bottom-color: var(--tx-yellow);
}

.taxxmi-legacy-v2 .lang-dropdown {
    order: 7;
    margin-left: auto;
}

.taxxmi-legacy-v2 .lang-selected {
    min-width: 82px;
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 9px 10px !important;
    color: var(--tx-white) !important;
    background: var(--tx-navy);
    border: 1px solid rgba(255, 255, 255, .35);
}

.taxxmi-legacy-v2 .lang-selected img {
    width: 24px;
}

.taxxmi-legacy-v2 .lang-list {
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    min-width: 180px;
    color: var(--tx-ink);
    background: var(--tx-white);
    border: 1px solid var(--tx-line);
    box-shadow: 0 18px 40px rgba(3, 15, 39, .18);
}

.taxxmi-legacy-v2 .tx-subpage-cta {
    order: 9;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    padding: 11px 18px !important;
    color: var(--tx-navy) !important;
    background: var(--tx-yellow);
    border: 2px solid var(--tx-yellow) !important;
    border-radius: 4px;
    font-weight: 700;
}

.taxxmi-legacy-v2 .tx-legacy-phone {
    order: 8;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--tx-white);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.taxxmi-legacy-v2 .tx-legacy-phone i {
    color: var(--tx-yellow);
}

.taxxmi-legacy-v2 .lang-dropdown ~ .tx-subpage-cta {
    margin-left: 0;
}

.taxxmi-legacy-v2 .lang-dropdown ~ .tx-legacy-phone {
    margin-left: 0;
}

.taxxmi-legacy-v2 .navbar-nav > .tx-legacy-phone:first-of-type {
    margin-left: auto;
}

.taxxmi-legacy-v2 .navbar-nav > .nav-link.tx-subpage-cta,
.taxxmi-legacy-v2 .navbar-nav > .nav-link.tx-subpage-cta.active,
.taxxmi-legacy-v2 .navbar-nav > .nav-link.tx-subpage-cta[aria-current="page"] {
    color: var(--tx-navy) !important;
}

.taxxmi-legacy-v2 .navbar-nav > .nav-link.tx-subpage-cta:hover {
    color: var(--tx-white) !important;
    background: transparent;
    border-color: var(--tx-yellow) !important;
}

.taxxmi-legacy-v2 .page-header {
    position: relative;
    min-height: 360px;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 80px 0;
    overflow: hidden;
    background-color: var(--tx-navy-soft);
    background-image: url("/img/taxxmi-van-weiss.webp");
    background-position: center 56%;
    background-size: cover;
}

.taxxmi-legacy-v2 .page-header::before {
    position: absolute;
    inset: 0;
    content: "";
    background: rgba(3, 15, 39, .68);
}

.taxxmi-legacy-v2 .page-header .container {
    position: relative;
    z-index: 1;
    width: min(100% - 48px, var(--tx-container));
    max-width: none;
}

.taxxmi-legacy-v2 .page-header h1,
.taxxmi-legacy-v2 .page-header h2 {
    max-width: 980px;
    margin: 0 auto 20px;
    color: var(--tx-white);
    font-size: clamp(38px, 4.5vw, 62px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.025em;
}

.taxxmi-legacy-v2 .page-header h2::after {
    display: none;
}

.taxxmi-legacy-v2 .page-header a {
    color: rgba(255, 255, 255, .84);
    font-weight: 600;
}

.taxxmi-legacy-v2 .page-header a:hover,
.taxxmi-legacy-v2 .page-header a:last-child {
    color: var(--tx-yellow);
}

/* Long service-page titles must not increase the shared hero height. */
.taxxmi-legacy-v2 .page-header.tx-page-header-compact {
    height: 360px;
    min-height: 360px;
    padding-block: 48px;
}

.taxxmi-legacy-v2 .page-header.tx-page-header-compact h1,
.taxxmi-legacy-v2 .page-header.tx-page-header-compact h2 {
    font-size: clamp(36px, 3.7vw, 52px);
}

.taxxmi-legacy-v2 .about,
.taxxmi-legacy-v2 .service,
.taxxmi-legacy-v2 .team,
.taxxmi-legacy-v2 .contact,
.taxxmi-legacy-v2 .faqs,
.taxxmi-legacy-v2 .testimonial,
.taxxmi-legacy-v2 .blog {
    padding: 88px 0;
}

.taxxmi-legacy-v2 .about,
.taxxmi-legacy-v2 .contact,
.taxxmi-legacy-v2 .team {
    background: var(--tx-white);
}

.taxxmi-legacy-v2 .service,
.taxxmi-legacy-v2 .faqs {
    background: var(--tx-surface);
}

.taxxmi-legacy-v2 .about > .container,
.taxxmi-legacy-v2 .service > .container,
.taxxmi-legacy-v2 .team > .container,
.taxxmi-legacy-v2 .contact > .container,
.taxxmi-legacy-v2 .faqs > .container,
.taxxmi-legacy-v2 .fact > .container,
.taxxmi-legacy-v2 .footer > .container {
    width: min(100% - 48px, var(--tx-container));
    max-width: none;
}

.taxxmi-legacy-v2 .section-header {
    margin-bottom: 42px;
}

.taxxmi-legacy-v2 .section-header p {
    margin-bottom: 10px;
    color: var(--tx-yellow-dark);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.taxxmi-legacy-v2 .section-header h2 {
    margin: 0;
    color: var(--tx-navy);
    font-size: clamp(34px, 3.2vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
}

.taxxmi-legacy-v2 .about .about-img {
    height: 100%;
    min-height: 440px;
    overflow: hidden;
    border-radius: 6px;
}

.taxxmi-legacy-v2 .about .about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.taxxmi-legacy-v2 .about .about-text {
    padding: 34px 0 34px 40px;
}

.taxxmi-legacy-v2 .about .about-text p,
.taxxmi-legacy-v2 .service-overlay p,
.taxxmi-legacy-v2 .team-text p {
    color: var(--tx-muted);
}

.taxxmi-legacy-v2 a.btn,
.taxxmi-legacy-v2 button.btn,
.taxxmi-legacy-v2 input.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    color: var(--tx-navy);
    background: var(--tx-yellow);
    border: 2px solid var(--tx-yellow);
    border-radius: 4px;
    font-weight: 700;
}

.taxxmi-legacy-v2 a.btn:hover,
.taxxmi-legacy-v2 button.btn:hover,
.taxxmi-legacy-v2 input.btn:hover {
    color: var(--tx-white);
    background: var(--tx-navy);
    border-color: var(--tx-navy);
}

.taxxmi-legacy-v2 .service .row.center,
.taxxmi-legacy-v2 .team .row.center {
    align-items: stretch;
}

.taxxmi-legacy-v2 .service .service-item,
.taxxmi-legacy-v2 .team .team-item {
    height: calc(100% - 30px);
    overflow: hidden;
    background: var(--tx-white);
    border: 1px solid var(--tx-line);
    border-radius: 6px;
    box-shadow: none;
}

.taxxmi-legacy-v2 .service .service-img {
    height: 235px;
}

.taxxmi-legacy-v2 .service .service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.taxxmi-legacy-v2 .service .service-overlay {
    position: static;
    min-height: 138px;
    display: block;
    padding: 22px 24px 14px;
    opacity: 1;
    background: var(--tx-white);
}

.taxxmi-legacy-v2 .service .service-text {
    position: static;
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 24px 24px;
    background: var(--tx-white);
    border: 0;
}

.taxxmi-legacy-v2 .service .service-text h3 {
    margin: 0;
    color: var(--tx-navy);
    font-size: 21px;
    line-height: 1.25;
}

.taxxmi-legacy-v2 .service .service-item a.btn {
    position: static;
    width: 46px;
    min-width: 46px;
    height: 46px;
    min-height: 46px;
    flex: 0 0 46px;
    margin: 0;
    padding: 0;
    color: var(--tx-navy);
    background: var(--tx-yellow);
    border: 0;
    border-radius: 50%;
}

.taxxmi-legacy-v2 .team .team-img {
    height: 300px;
}

.taxxmi-legacy-v2 .team .team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.taxxmi-legacy-v2 .team .team-text {
    padding: 22px;
    background: var(--tx-white);
}

.taxxmi-legacy-v2 .team .team-text h2 {
    color: var(--tx-navy);
    font-size: 21px;
}

.taxxmi-legacy-v2 .team .team-item:hover .team-text {
    background: var(--tx-navy);
}

.taxxmi-legacy-v2 .fact {
    margin: 0;
    padding: 58px 0;
    color: var(--tx-white);
    background: var(--tx-navy);
}

.taxxmi-legacy-v2 .fact .fact-icon {
    color: var(--tx-yellow);
}

.taxxmi-legacy-v2 .faqs .card {
    margin-bottom: 14px;
    overflow: hidden;
    background: var(--tx-white);
    border: 1px solid var(--tx-line);
    border-radius: 4px;
}

.taxxmi-legacy-v2 .faqs .card-header {
    padding: 0;
    background: var(--tx-white);
}

.taxxmi-legacy-v2 .faqs .card-header a {
    padding: 20px 22px;
    color: var(--tx-navy);
    font-weight: 700;
}

.taxxmi-legacy-v2 .faqs .card-body {
    padding: 0 22px 22px;
    color: var(--tx-muted);
}

.taxxmi-legacy-v2 .contact .contact-info {
    min-height: 100%;
    padding: 42px;
    color: var(--tx-white);
    background: var(--tx-navy);
}

.taxxmi-legacy-v2 .contact .contact-item {
    padding: 22px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.taxxmi-legacy-v2 .contact .contact-item:last-child {
    border-bottom: 0;
}

.taxxmi-legacy-v2 .contact .contact-text h2,
.taxxmi-legacy-v2 .contact .contact-text p,
.taxxmi-legacy-v2 .contact .contact-text a {
    color: var(--tx-white);
}

.taxxmi-legacy-v2 .contact .contact-item [class^="flaticon-"]::before {
    color: var(--tx-yellow);
}

.taxxmi-legacy-v2 .contact .contact-form {
    min-height: 100%;
    padding: 42px;
    background: var(--tx-white);
    border: 1px solid var(--tx-line);
}

.taxxmi-legacy-v2 .contact .control-group label,
.taxxmi-legacy-v2 .contact .form-group label,
.taxxmi-legacy-v2 .booking-section label {
    display: block;
    margin-bottom: 7px;
    color: var(--tx-navy);
    font-weight: 600;
}

.taxxmi-legacy-v2 .contact .form-control,
.taxxmi-legacy-v2 .booking-section .form-control {
    min-height: 52px;
    padding: 12px 14px;
    color: var(--tx-ink);
    background: var(--tx-white);
    border: 2px solid #a8b0bc;
    border-radius: 3px;
}

.taxxmi-legacy-v2 .contact textarea.form-control,
.taxxmi-legacy-v2 .booking-section textarea.form-control {
    min-height: 128px;
}

.taxxmi-legacy-v2 .contact .form-control:focus,
.taxxmi-legacy-v2 .booking-section .form-control:focus {
    border-color: var(--tx-yellow-dark);
    box-shadow: 0 0 0 3px rgba(253, 190, 51, .22);
}

.taxxmi-legacy-v2 .container.mt-5.mb-5 {
    width: min(100% - 48px, 980px);
    max-width: none;
    margin-block: 72px !important;
    padding: 42px;
    background: var(--tx-white);
    border: 1px solid var(--tx-line);
    border-top: 6px solid var(--tx-yellow);
    border-radius: 6px;
}

.taxxmi-legacy-v2 .container.mt-5.mb-5 h1,
.taxxmi-legacy-v2 .container.mt-5.mb-5 h2,
.taxxmi-legacy-v2 .container.mt-5.mb-5 h3 {
    color: var(--tx-navy);
}

.taxxmi-legacy-v2 .footer {
    margin: 0;
    padding: 66px 0 24px;
    color: rgba(255, 255, 255, .72);
    background: #020a19;
}

.taxxmi-legacy-v2 .footer h2 {
    margin-bottom: 20px;
    color: var(--tx-white);
    font-size: 18px;
}

.taxxmi-legacy-v2 .footer h2::after {
    background: var(--tx-yellow);
}

.taxxmi-legacy-v2 .footer a,
.taxxmi-legacy-v2 .footer p {
    color: rgba(255, 255, 255, .72);
}

.taxxmi-legacy-v2 .footer a:hover {
    color: var(--tx-yellow);
}

.taxxmi-legacy-v2 .footer .footer-menu {
    margin-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, .14);
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.taxxmi-legacy-v2 .footer .copyright {
    padding-top: 22px;
}

.taxxmi-legacy-v2.tx-booking-legacy .booking-section {
    padding: 78px 0;
    background: var(--tx-surface);
}

.taxxmi-legacy-v2.tx-booking-legacy .booking-section > .container {
    width: min(100% - 48px, 1120px);
    max-width: none;
}

.taxxmi-legacy-v2.tx-booking-legacy .step-card,
.taxxmi-legacy-v2.tx-booking-legacy [data-step-pane],
.taxxmi-legacy-v2.tx-booking-legacy .booking-card {
    padding: 36px;
    background: var(--tx-white);
    border: 1px solid var(--tx-line);
    border-top: 6px solid var(--tx-yellow);
    border-radius: 6px;
}

.taxxmi-legacy-v2.tx-booking-legacy .booking-steps {
    margin-bottom: 28px;
}

.taxxmi-legacy-v2.tx-booking-legacy .vehicle-card {
    height: 100%;
    padding: 24px;
    background: var(--tx-white);
    border: 2px solid var(--tx-line);
    border-radius: 5px;
}

.taxxmi-legacy-v2.tx-booking-legacy .vehicle-card.selected {
    border-color: var(--tx-yellow-dark);
    box-shadow: 0 0 0 3px rgba(253, 190, 51, .2);
}

@media (max-width: 1180px) {
    .tx-nav {
        gap: 18px;
    }

    .tx-logo {
        flex-basis: 220px;
    }

    .tx-logo img {
        width: 210px;
    }

    .tx-menu {
        gap: 14px;
    }

    .tx-menu a,
    .tx-phone {
        font-size: 13px;
    }

    .tx-hero-grid {
        grid-template-columns: 1.08fr .92fr;
    }

    .tx-booking-panel {
        margin-right: 30px;
    }

    .taxxmi-legacy-v2 .navbar-brand {
        width: 205px;
        flex-basis: 205px;
        margin-right: 20px;
    }

    .taxxmi-legacy-v2 .navbar-nav {
        gap: 13px;
    }

    .taxxmi-legacy-v2 .navbar-nav > .nav-link {
        font-size: 12px;
    }
}

@media (min-width: 992px) and (max-width: 1340px) {
    .tx-nav {
        gap: 14px;
    }

    .tx-logo {
        flex-basis: 205px;
    }

    .tx-logo img {
        width: 195px;
    }

    .tx-menu {
        gap: 11px;
    }

    .tx-menu a,
    .tx-phone {
        font-size: 12px;
    }

    .tx-nav-tools {
        gap: 9px;
    }

    .tx-language-trigger {
        min-width: 108px;
        padding-inline: 8px;
        font-size: 12px;
    }

    .tx-button {
        padding-inline: 14px;
        font-size: 13px;
    }
}

@media (max-width: 991.98px) {
    body.taxxmi-v2 {
        padding-bottom: 68px;
    }

    .tx-container {
        width: min(100% - 32px, var(--tx-container));
    }

    .tx-nav {
        min-height: 78px;
        flex-wrap: wrap;
    }

    .tx-logo {
        flex-basis: auto;
        margin-right: auto;
    }

    .tx-logo img {
        width: 214px;
    }

    .tx-menu-toggle {
        display: inline-flex;
    }

    .tx-menu {
        order: 5;
        width: 100%;
        display: none;
        align-items: stretch;
        margin: 0;
        padding: 10px 0 18px;
        border-top: 1px solid rgba(255, 255, 255, .14);
    }

    .tx-menu[data-open="true"] {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .tx-menu a {
        min-height: 44px;
        padding: 10px 8px;
        border-bottom: 0;
    }

    .tx-nav-tools .tx-phone,
    .tx-nav-tools .tx-button {
        display: none;
    }

    .taxxmi-v2 .tx-quick-buttons {
        display: none;
    }

    .taxxmi-legacy-v2 {
        padding-bottom: 64px;
    }

    .taxxmi-legacy-v2 .nav-bar .container-fluid {
        width: min(100% - 32px, var(--tx-container));
    }

    .taxxmi-legacy-v2 .nav-bar .navbar {
        min-height: 78px;
        flex-wrap: wrap;
    }

    .taxxmi-legacy-v2 .navbar-brand {
        width: 214px;
        height: 64px;
        flex-basis: 214px;
        margin-right: auto;
    }

    .taxxmi-legacy-v2 .navbar-toggler {
        width: 48px;
        height: 48px;
        color: var(--tx-white);
        border: 1px solid rgba(255, 255, 255, .55);
        border-radius: 4px;
    }

    .taxxmi-legacy-v2 .navbar-collapse {
        width: 100%;
        padding: 10px 0 20px;
        border-top: 1px solid rgba(255, 255, 255, .14);
    }

    .taxxmi-legacy-v2 .navbar-nav {
        align-items: stretch;
        gap: 0;
    }

    .taxxmi-legacy-v2 .navbar-nav > .nav-link {
        min-height: 46px;
        padding: 13px 10px !important;
        border: 0;
        font-size: 14px;
    }

    .taxxmi-legacy-v2 .lang-dropdown {
        order: -1;
        margin: 0 0 8px;
    }

    .taxxmi-legacy-v2 .lang-selected {
        width: 100%;
    }

    .taxxmi-legacy-v2 .lang-list {
        right: auto;
        left: 0;
    }

    .taxxmi-legacy-v2 .tx-subpage-cta {
        display: flex;
        margin-left: 0;
        margin-top: 8px;
    }

    .taxxmi-legacy-v2 .tx-legacy-phone {
        min-height: 46px;
        margin: 0;
        padding: 13px 10px;
    }

    .taxxmi-legacy-v2 .page-header {
        min-height: 320px;
        padding: 62px 0;
    }

    .taxxmi-legacy-v2 .page-header.tx-page-header-compact {
        height: 320px;
        min-height: 320px;
        padding-block: 42px;
    }

    .taxxmi-legacy-v2 .about .about-text {
        padding: 36px 0 0;
    }

    .taxxmi-legacy-v2 .contact .contact-info,
    .taxxmi-legacy-v2 .contact .contact-form {
        padding: 34px 26px;
    }

    .taxxmi-legacy-v2 .main_icons {
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1100;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        padding: 0;
        background: var(--tx-white);
        border-top: 1px solid var(--tx-line);
    }

    .taxxmi-legacy-v2 .main_icons .mail,
    .taxxmi-legacy-v2 .main_icons .whatsapp,
    .taxxmi-legacy-v2 .main_icons .phone {
        width: 100%;
        height: 64px;
        margin: 0;
        border-radius: 0;
    }

    .tx-hero-grid {
        grid-template-columns: 1fr;
    }

    .tx-pricing-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .tx-hero-visual {
        min-height: 540px;
        padding: 54px 32px;
    }

    .tx-booking-panel {
        margin: 0;
        padding: 36px 32px;
        border: 0;
        border-radius: 0;
    }

    .tx-trust-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tx-trust-item:nth-child(2) {
        border-right: 0;
    }

    .tx-trust-item:nth-child(-n+2) {
        border-bottom: 1px solid var(--tx-line);
    }

    .tx-services {
        grid-template-columns: 1fr 1fr;
    }

    .tx-services .tx-service-card:last-child {
        grid-column: 1 / -1;
    }

    .tx-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tx-mobile-actions {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 1200;
        min-height: 68px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        background: var(--tx-white);
        border-top: 1px solid var(--tx-line);
    }

    .tx-mobile-actions a {
        min-height: 68px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        color: var(--tx-navy);
        font-size: 12px;
        font-weight: 600;
        text-decoration: none;
        border-right: 1px solid var(--tx-line);
    }

    .tx-mobile-actions a:last-child {
        color: var(--tx-navy);
        background: var(--tx-yellow);
        border-right: 0;
    }

    .tx-mobile-actions i {
        font-size: 20px;
    }
}

@media (max-width: 640px) {
    .tx-price-facts {
        grid-template-columns: 1fr;
    }

    .tx-price-facts > p {
        grid-column: auto;
    }

    .tx-container {
        width: min(100% - 24px, var(--tx-container));
    }

    .tx-nav {
        min-height: 72px;
    }

    .tx-logo img {
        width: 190px;
    }

    .tx-language,
    .tx-language-trigger {
        min-width: 68px;
        padding: 0 6px;
    }

    .tx-language-trigger span {
        display: none;
    }

    .tx-menu[data-open="true"] {
        grid-template-columns: 1fr;
    }

    .tx-hero-visual {
        min-height: 520px;
        align-items: flex-end;
        padding: 40px 24px;
        background-position: 44% center;
    }

    .taxxmi-legacy-v2 .nav-bar .container-fluid,
    .taxxmi-legacy-v2 .page-header .container,
    .taxxmi-legacy-v2 .about > .container,
    .taxxmi-legacy-v2 .service > .container,
    .taxxmi-legacy-v2 .team > .container,
    .taxxmi-legacy-v2 .contact > .container,
    .taxxmi-legacy-v2 .faqs > .container,
    .taxxmi-legacy-v2 .fact > .container,
    .taxxmi-legacy-v2 .footer > .container {
        width: min(100% - 24px, var(--tx-container));
    }

    .taxxmi-legacy-v2 .navbar-brand {
        width: 190px;
        flex-basis: 190px;
    }

    .taxxmi-legacy-v2 .page-header {
        min-height: 280px;
        padding: 52px 0;
        background-position: 44% center;
    }

    .taxxmi-legacy-v2 .page-header.tx-page-header-compact {
        height: 280px;
        min-height: 280px;
        padding-block: 34px;
    }

    .taxxmi-legacy-v2 .page-header h1,
    .taxxmi-legacy-v2 .page-header h2 {
        font-size: clamp(32px, 10vw, 44px);
    }

    .taxxmi-legacy-v2 .about,
    .taxxmi-legacy-v2 .service,
    .taxxmi-legacy-v2 .team,
    .taxxmi-legacy-v2 .contact,
    .taxxmi-legacy-v2 .faqs,
    .taxxmi-legacy-v2 .testimonial,
    .taxxmi-legacy-v2 .blog {
        padding: 62px 0;
    }

    .taxxmi-legacy-v2 .about .about-img {
        min-height: 300px;
    }

    .taxxmi-legacy-v2 .container.mt-5.mb-5 {
        width: min(100% - 24px, 980px);
        margin-block: 44px !important;
        padding: 28px 20px;
    }

    .taxxmi-legacy-v2.tx-booking-legacy .booking-section > .container {
        width: min(100% - 24px, 1120px);
    }

    .taxxmi-legacy-v2.tx-booking-legacy .step-card,
    .taxxmi-legacy-v2.tx-booking-legacy [data-step-pane],
    .taxxmi-legacy-v2.tx-booking-legacy .booking-card {
        padding: 24px 18px;
    }

    .tx-hero-visual::before {
        background: rgba(3, 15, 39, .64);
    }

    .tx-hero h1 {
        font-size: 39px;
    }

    .tx-hero-lead {
        font-size: 17px;
    }

    .tx-hero-proof {
        display: grid;
        gap: 10px;
    }

    .tx-booking-panel {
        padding: 32px 20px;
    }

    .tx-booking-panel h2 {
        font-size: 28px;
    }

    .tx-field-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .tx-trust-grid,
    .tx-services,
    .tx-steps,
    .tx-footer-grid {
        grid-template-columns: 1fr;
    }

    .tx-trust-item,
    .tx-trust-item:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid var(--tx-line);
    }

    .tx-trust-item:last-child {
        border-bottom: 0;
    }

    .tx-services .tx-service-card:last-child {
        grid-column: auto;
    }

    .tx-section {
        padding: 64px 0;
    }

    .tx-section-head {
        margin-bottom: 32px;
    }

    .tx-service-body p {
        min-height: 0;
    }

    .tx-steps {
        gap: 34px;
    }

    .tx-contact-band-inner {
        min-height: 280px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .tx-contact-actions {
        width: 100%;
        display: grid;
    }

    .tx-footer-bottom {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .wow {
        visibility: visible !important;
        animation: none !important;
    }
}
