/* ==========================================================================
   Me-Ma-Tec Site-Template fuer Joomla 6
   Nachbildung des Designs von https://www.mematec-industrie.de
   (WordPress-Theme "Total" + Customizer-Einstellungen der Originalseite)

   Inhalt
   01. Variablen (CSS Custom Properties)
   02. Basis / Reset
   03. Typografie
   04. Links & Buttons
   05. Layout: Container, Raster, Bereiche
   06. Topbar
   07. Header & Logo
   08. Hauptnavigation (Desktop, Dropdown)
   09. Mobilmenue (Off-Canvas)
   10. Gestaltungs-Klassen fuer Inhalte (Hero, Streifen, Zitatband ...)
   11. Module & Seitenleisten
   12. Joomla-Inhalte: Beitraege, Kategorie-Blog, Listen, Tags
   13. Pagination & Beitragsnavigation
   14. Formulare (inkl. Kontaktformular, Login, Suche)
   15. Systemmeldungen / Alerts
   16. Tabellen
   17. Breadcrumbs
   18. Footer
   19. Nach-oben-Button
   20. Fehlerseite
   21. Hilfsklassen (Bootstrap-kompatible Teilmenge fuer Joomla-Ausgaben)
   22. Responsive Anpassungen
   23. Barrierefreiheit: reduzierte Bewegung, Druck
   ========================================================================== */


/* 01. Variablen
   Die sechs Hauptfarben werden zusaetzlich aus den Template-Parametern
   (Backend > Template-Stil) als Inline-CSS gesetzt und ueberschreiben diese Werte.
   -------------------------------------------------------------------------- */
:root {
    /* Markenfarben (Originalwerte der Live-Seite) */
    --mt-color-accent: #eab912;          /* Akzent: Links, Hover, Linien, Topbar */
    --mt-color-topbar: #eab912;          /* Hintergrund der Topbar */
    --mt-color-button: #333333;          /* Buttons "flat black" */
    --mt-color-text: #666666;            /* Fliesstext */
    --mt-color-heading: #000000;         /* Ueberschriften */
    --mt-color-footer: #484f53;          /* Footer-Leiste */

    /* Logo-Farben (aus Logo_2021.svg) */
    --mt-color-logo-dark: #3f424a;
    --mt-color-logo-yellow: #e5b014;

    /* Abgeleitete / weitere Farben der Originalseite */
    --mt-color-white: #ffffff;
    --mt-color-nav: #555555;              /* Hauptmenue-Links, Topbar-Text */
    --mt-color-topbar-icon: #000000;      /* Icons in der Topbar */
    --mt-color-button-hover: var(--mt-color-accent);
    --mt-color-light-bg: #f5f5f5;         /* helle Inhaltsbereiche */
    --mt-color-lighter-bg: #f7f7f7;       /* Dropdown-Hover, Formularfelder */
    --mt-color-border: #eeeeee;           /* Rahmen (Dropdown, Felder) */
    --mt-color-border-dark: #dddddd;      /* Pagination, Tabellen */
    --mt-color-hr: #e8e8e8;
    --mt-color-muted: #999999;            /* Footer-Text, Meta-Infos */
    --mt-color-input-text: #777777;
    --mt-color-stripe: rgba(115, 115, 115, .75); /* Banner-Streifen #737373BF */
    --mt-color-overlay: rgba(0, 0, 0, .65);     /* dunkles Overlay Zitatband */
    --mt-color-offcanvas: #262626;        /* Mobilmenue */
    --mt-color-success: #3c763d;
    --mt-color-info: #31708f;
    --mt-color-warning: #8a6d3b;
    --mt-color-danger: #a94442;

    /* Schriften */
    --mt-font-family: "Fira Sans", "Helvetica Neue", Arial, sans-serif;
    --mt-font-family-quote: Georgia, Palatino, "Times New Roman", serif;
    --mt-font-size-base: 16px;
    --mt-font-size-small: .923em;         /* ~14,8px - Topbar, Footer */
    --mt-font-size-nav: 14px;
    --mt-font-weight-body: 300;
    --mt-font-weight-normal: 400;
    --mt-font-weight-heading: 600;
    --mt-font-weight-strong: 600;
    --mt-line-height: 1.65;
    --mt-line-height-heading: 1.5;

    /* Layout */
    --mt-container: 980px;
    --mt-container-max: 90%;
    --mt-gutter: 40px;
    --mt-header-padding: 30px;
    --mt-logo-height: 45px;
    --mt-radius: 3px;
    --mt-transition: .15s ease;
    --mt-shadow-dropdown: 0 2px 6px rgba(0, 0, 0, .08);
}


/* 02. Basis / Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--mt-color-white);
    color: var(--mt-color-text);
    font-family: var(--mt-font-family);
    font-size: var(--mt-font-size-base);
    font-weight: var(--mt-font-weight-body);
    font-style: normal;
    line-height: var(--mt-line-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-wrap: break-word;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

figure {
    margin: 0 0 20px;
}

figcaption {
    font-size: var(--mt-font-size-small);
    color: var(--mt-color-muted);
    padding-top: 6px;
}

hr {
    border: solid var(--mt-color-hr);
    border-width: 1px 0 0;
    clear: both;
    margin: 40px 0;
    height: 0;
}

iframe {
    max-width: 100%;
    border: 0;
}

[hidden] {
    display: none !important;
}


/* 03. Typografie
   -------------------------------------------------------------------------- */
p {
    margin: 0 0 20px;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--mt-font-family);
    font-weight: var(--mt-font-weight-heading);
    color: var(--mt-color-heading);
    line-height: var(--mt-line-height-heading);
    margin: 30px 0 20px;
}

h1, .h1 { font-size: 1.5em;   margin-top: 0; }   /* 24px */
h2, .h2 { font-size: 1.313em; }                  /* 21px */
h3, .h3 { font-size: 1.125em; }                  /* 18px */
h4, .h4 { font-size: 1em; }
h5, .h5 { font-size: .923em; }
h6, .h6 { font-size: .846em; text-transform: uppercase; letter-spacing: 1px; }

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: inherit;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
    color: var(--mt-color-accent);
    text-decoration: none;
}

strong, b {
    font-weight: var(--mt-font-weight-strong);
}

em, i {
    font-style: italic;
}

small, .small {
    font-size: .846em;
}

ul, ol {
    margin: 0 0 20px 30px;
    padding: 0;
}

li > ul, li > ol {
    margin-bottom: 0;
}

dl {
    margin: 0 0 20px;
}

dt {
    font-weight: var(--mt-font-weight-strong);
    color: var(--mt-color-heading);
}

dd {
    margin: 0 0 10px;
}

blockquote {
    margin: 30px 0;
    padding: 0 0 0 25px;
    border-left: 3px solid var(--mt-color-accent);
    font-size: 1.231em;
    color: #ababab;
}

blockquote p:last-child {
    margin-bottom: 0;
}

code, kbd, samp {
    font-family: Consolas, Monaco, "Courier New", monospace;
    font-size: .9em;
    background: var(--mt-color-lighter-bg);
    padding: 1px 4px;
}

pre {
    position: relative;
    background: var(--mt-color-lighter-bg);
    padding: 20px;
    margin: 0 0 20px;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: Verdana, sans-serif;
    letter-spacing: 1px;
    font-size: .875em;
}

pre code {
    background: none;
    padding: 0;
}

mark {
    background: var(--mt-color-accent);
    color: var(--mt-color-white);
    padding: 0 3px;
}

abbr[title] {
    text-decoration: underline dotted;
    cursor: help;
}


/* 04. Links & Buttons
   -------------------------------------------------------------------------- */
a {
    color: var(--mt-color-accent);
    text-decoration: none;
    transition: color var(--mt-transition), background-color var(--mt-transition);
}

a:hover {
    text-decoration: underline;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--mt-color-accent);
    outline-offset: 2px;
}

/* Buttons im Stil "theme-button flat black hvr-float-shadow" der Originalseite:
   dunkler Grund, Versalien, 2px Laufweite, beim Hover Akzentfarbe + Schwebeeffekt */
.mt-btn,
.btn,
button.button,
input[type="submit"],
input[type="button"],
input[type="reset"],
.readmore a,
a.readmore {
    position: relative;
    display: inline-block;
    padding: 15px 25px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: var(--mt-color-button);
    color: var(--mt-color-white);
    font-family: inherit;
    font-size: 14px;
    font-weight: var(--mt-font-weight-normal);
    line-height: 1.4;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none !important;
    vertical-align: middle;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transform: translateZ(0);
    transition: background-color .25s, color .25s, transform .3s;
}

/* weicher Schatten unter dem Button (hover.css "float-shadow") */
.mt-btn::before,
.btn::before,
.readmore a::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 100%;
    left: 5%;
    width: 90%;
    height: 10px;
    opacity: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 80%);
    transition: transform .3s, opacity .3s;
}

.mt-btn:hover, .mt-btn:focus-visible,
.btn:hover, .btn:focus-visible,
button.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.readmore a:hover, .readmore a:focus-visible,
a.readmore:hover {
    background: var(--mt-color-button-hover);
    color: var(--mt-color-white);
    transform: translateY(-5px);
}

.mt-btn:hover::before, .mt-btn:focus-visible::before,
.btn:hover::before, .btn:focus-visible::before,
.readmore a:hover::before {
    opacity: 1;
    transform: translateY(5px);
}

.btn:active,
.mt-btn:active {
    box-shadow: 0 2px 2px rgba(0, 0, 0, .1) inset;
}

/* Varianten */
.btn-primary,
.mt-btn--accent {
    background: var(--mt-color-accent);
}

.btn-primary:hover,
.mt-btn--accent:hover {
    background: var(--mt-color-button);
}

.btn-secondary,
.btn-dark {
    background: var(--mt-color-button);
}

.btn-outline-primary,
.btn-outline-secondary,
.mt-btn--outline {
    background: transparent;
    color: var(--mt-color-accent);
    box-shadow: inset 0 0 0 2px var(--mt-color-accent);
}

.btn-outline-secondary {
    color: var(--mt-color-button);
    box-shadow: inset 0 0 0 2px var(--mt-color-button);
}

.btn-outline-primary:hover,
.btn-outline-secondary:hover,
.mt-btn--outline:hover {
    background: var(--mt-color-accent);
    color: var(--mt-color-white);
    box-shadow: none;
}

.btn-light,
.mt-btn--light {
    background: var(--mt-color-white);
    color: var(--mt-color-button);
}

.btn-danger { background: var(--mt-color-danger); }
.btn-success { background: var(--mt-color-success); }
.btn-info { background: var(--mt-color-info); }
.btn-warning { background: var(--mt-color-warning); }

.btn-sm,
.btn-small {
    padding: 8px 14px;
    font-size: 12px;
    letter-spacing: 1px;
}

.btn-lg {
    padding: 18px 32px;
    font-size: 15px;
}

.btn-link {
    background: none;
    color: var(--mt-color-accent);
    padding: 0;
    letter-spacing: 0;
    text-transform: none;
}

.btn-link:hover {
    background: none;
    color: var(--mt-color-button);
    transform: none;
}

.btn-link::before {
    display: none;
}

.btn:disabled,
.btn.disabled {
    opacity: .5;
    pointer-events: none;
}

.btn-group {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
}

.btn .icon-fw,
.btn [class^="icon-"],
.btn [class*=" icon-"] {
    margin-right: 6px;
}


/* 05. Layout: Container, Raster, Bereiche
   -------------------------------------------------------------------------- */
.mt-container,
.container {
    width: var(--mt-container);
    max-width: var(--mt-container-max);
    margin-left: auto;
    margin-right: auto;
}

.mt-container--wide {
    width: 1280px;
}

/* Modulpositionen top-a/top-b/bottom-a/bottom-b/footer: Module nebeneinander
   (wie die 3-Spalten-Reihe "Fuer Bewerber / Fuer Unternehmen" der Startseite) */
.mt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--mt-gutter);
}

.mt-section {
    padding: 40px 0;
}

.mt-section--light {
    background: var(--mt-color-light-bg);
}

.mt-main {
    padding: 40px 0;
}

.mt-main:focus {
    outline: none;
}

.mt-main__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: var(--mt-gutter);
}

.has-sidebar-left .mt-main__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
}

.has-sidebar-right .mt-main__grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
}

.has-sidebar-left.has-sidebar-right .mt-main__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr);
}

.mt-component {
    min-width: 0;
}

/* Skip-Link */
.mt-skip-link {
    position: absolute;
    left: 10px;
    top: -100px;
    z-index: 100000;
    padding: 12px 20px;
    background: var(--mt-color-button);
    color: var(--mt-color-white);
    font-weight: var(--mt-font-weight-normal);
}

.mt-skip-link:focus {
    top: 10px;
    color: var(--mt-color-white);
}


/* 06. Topbar  (gelber Balken mit Telefon & E-Mail)
   -------------------------------------------------------------------------- */
.mt-topbar {
    background: var(--mt-color-topbar);
    border-bottom: 1px solid var(--mt-color-border);
    font-size: var(--mt-font-size-small);
    color: var(--mt-color-nav);
}

.mt-topbar--slim {
    height: 8px;
    border: 0;
}

.mt-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 20px;
    padding: 8px 0;
    min-height: 38px;
}

.mt-topbar__modules {
    flex: 1 1 auto;
}

.mt-topbar__modules p:last-child {
    margin: 0;
}

.mt-topbar__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 20px;
    margin: 0 0 0 auto;
    padding: 0;
    list-style: none;
}

.mt-topbar__icon {
    color: var(--mt-color-topbar-icon);
    margin-right: 5px;
}

.mt-topbar a {
    color: var(--mt-color-nav);
    transition: color var(--mt-transition);
}

.mt-topbar a:hover,
.mt-topbar a:focus-visible {
    color: var(--mt-color-topbar-icon);
    text-decoration: none;
}


/* 07. Header & Logo
   -------------------------------------------------------------------------- */
.mt-header {
    position: relative;
    z-index: 1000;
    background: var(--mt-color-white);
    transition: box-shadow .2s ease;
}

.has-sticky-header .mt-header {
    position: sticky;
    top: 0;
}

.mt-header.is-scrolled {
    box-shadow: 0 1px 6px rgba(0, 0, 0, .12);
}

.mt-header__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0; /* Abstand entsteht durch das Link-Padding - so passt das Originalmenue einzeilig in 980px */
    padding-top: var(--mt-header-padding);
    padding-bottom: var(--mt-header-padding);
    transition: padding .2s ease;
}

/* Verkleinerter Header beim Scrollen ("shrink sticky header" der Originalseite) */
.mt-header.is-scrolled .mt-header__inner {
    padding-top: 10px;
    padding-bottom: 10px;
}

.mt-logo {
    flex: 0 0 auto;
    line-height: 1;
}

.mt-logo__link {
    display: inline-block;
    text-decoration: none !important;
}

.mt-logo__img {
    display: block;
    width: auto;
    height: auto;
    max-height: var(--mt-logo-height);
    max-width: 100%;
}

.mt-logo__text {
    color: #222222;
    font-size: 24px;
    font-weight: 700;
}


/* 08. Hauptnavigation (Desktop)
   -------------------------------------------------------------------------- */
.mt-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: -15px;
}

.mt-nav .mt-menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mt-nav .mt-menu > li {
    position: relative;
    display: flex;
    align-items: center;
}

.mt-nav .mt-menu > li > a,
.mt-nav .mt-menu > li > .mod-menu__heading,
.mt-nav .mt-menu > li > .mod-menu__separator {
    display: block;
    height: 50px;
    line-height: 50px;
    padding: 0 15px;
    color: var(--mt-color-nav);
    font-size: var(--mt-font-size-nav);
    font-weight: var(--mt-font-weight-normal);
    text-decoration: none;
    white-space: nowrap;
}

.mt-nav .mt-menu > li > a:hover,
.mt-nav .mt-menu > li > a:focus-visible,
.mt-nav .mt-menu > li:hover > a,
.mt-nav .mt-menu > li:focus-within > a,
.mt-nav .mt-menu > li.current > a,
.mt-nav .mt-menu > li.active > a {
    color: var(--mt-color-accent);
    text-decoration: none;
}

/* Untermenue-Schalter (Desktop: kleiner Pfeil, ueberwiegend dekorativ; Tastatur: oeffnet) */
.mt-menu__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 30px;
    margin: 0 0 0 -12px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--mt-color-nav);
    cursor: pointer;
}

.mt-menu__caret {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform var(--mt-transition);
}

/* Desktop: Schalter liegt im rechten Innenabstand des Links und ist nur bei
   Tastaturfokus sichtbar (Original zeigt keinen Pfeil, Menue bleibt einzeilig) */
@media (min-width: 960px) {
    .mt-nav .mt-menu > li > .mt-menu__toggle {
        position: absolute;
        top: 50%;
        right: 0;
        width: 14px;
        height: 20px;
        margin: 0;
        opacity: 0;
        transform: translateY(-50%);
    }

    .mt-nav .mt-menu > li > .mt-menu__toggle:focus-visible {
        opacity: 1;
    }
}

.mt-nav .mt-menu > li:hover > .mt-menu__toggle,
.mt-nav .mt-menu > li.active > .mt-menu__toggle {
    color: var(--mt-color-accent);
}

/* Dropdown */
.mt-nav .mt-menu__sub {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 10001;
    min-width: 200px;
    margin: 0;
    padding: 0;
    list-style: none;
    background: var(--mt-color-white);
    border: 1px solid var(--mt-color-border);
    box-shadow: var(--mt-shadow-dropdown);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}

/* Pfeil oben am Dropdown ("wpex-dropdowns-caret") */
.mt-nav .mt-menu > li > .mt-menu__sub::before,
.mt-nav .mt-menu > li > .mt-menu__sub::after {
    content: "";
    position: absolute;
    left: 12px;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
}

.mt-nav .mt-menu > li > .mt-menu__sub::before {
    top: -7px;
    border-bottom: 7px solid rgba(0, 0, 0, .15);
}

.mt-nav .mt-menu > li > .mt-menu__sub::after {
    top: -6px;
    left: 13px;
    border-left-width: 6px;
    border-right-width: 6px;
    border-bottom: 6px solid var(--mt-color-white);
}

.mt-nav .mt-menu li:hover > .mt-menu__sub,
.mt-nav .mt-menu li:focus-within > .mt-menu__sub,
.mt-nav .mt-menu li.is-open > .mt-menu__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
}

.mt-nav .mt-menu__sub li {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.mt-nav .mt-menu__sub a,
.mt-nav .mt-menu__sub .mod-menu__heading,
.mt-nav .mt-menu__sub .mod-menu__separator {
    display: block;
    flex: 1 1 auto;
    padding: 8px 12px;
    color: var(--mt-color-text);
    font-size: var(--mt-font-size-small);
    font-weight: var(--mt-font-weight-normal);
    line-height: 1.4;
    border-bottom: 1px solid var(--mt-color-border);
    text-decoration: none;
    white-space: nowrap;
}

.mt-nav .mt-menu__sub li:last-child > a {
    border-bottom: 0;
}

.mt-nav .mt-menu__sub a:hover,
.mt-nav .mt-menu__sub a:focus-visible,
.mt-nav .mt-menu__sub li.current > a,
.mt-nav .mt-menu__sub li.active > a {
    background: var(--mt-color-lighter-bg);
    color: var(--mt-color-accent);
}

/* 3. Ebene seitlich */
.mt-nav .mt-menu__sub .mt-menu__sub {
    top: -1px;
    left: 100%;
}

.mt-nav .mt-menu__sub .mt-menu__toggle {
    position: absolute;
    right: 6px;
    margin: 0;
}

.mt-nav .mt-menu__sub .mt-menu__caret {
    transform: rotate(-45deg);
}

.mt-search .form-control,
.mt-search input[type="search"],
.mt-search input[type="text"] {
    width: 180px;
    padding: 6px 10px;
}

/* Schalter Mobilmenue (Hamburger) - nur mobil sichtbar */
.mt-nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--mt-color-border);
    border-radius: var(--mt-radius);
    background: var(--mt-color-lighter-bg);
    color: var(--mt-color-text);
    cursor: pointer;
    transition: background-color var(--mt-transition), color var(--mt-transition);
}

.mt-nav-toggle:hover {
    background: #f1f1f1;
    color: #333333;
}

.mt-nav-toggle__bars {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 18px;
    margin: 0 auto;
}

.mt-nav-toggle__bars span {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform .2s ease, opacity .2s ease;
}

.mt-nav-open .mt-nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mt-nav-open .mt-nav-toggle__bars span:nth-child(2) { opacity: 0; }
.mt-nav-open .mt-nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }


/* 09. Mobilmenue (Off-Canvas wie "Sidr" der Originalseite) - aktiv unter 960px
   -------------------------------------------------------------------------- */
.mt-offcanvas-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(0, 0, 0, .5);
}

@media (max-width: 959px) {
    .mt-nav-toggle {
        display: inline-flex;
        align-items: center;
        position: relative;
        z-index: 100000;
    }

    .mt-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 99999;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        width: 300px;
        max-width: 85vw;
        margin: 0;
        padding: 70px 0 30px;
        overflow-y: auto;
        background: var(--mt-color-offcanvas);
        color: var(--mt-color-white);
        transform: translateX(100%);
        visibility: hidden;
        transition: transform .3s ease, visibility 0s linear .3s;
    }

    .mt-nav-open .mt-nav {
        transform: translateX(0);
        visibility: visible;
        transition-delay: 0s;
    }

    .mt-nav-open .mt-nav-toggle {
        position: fixed;
        top: 15px;
        right: 15px;
        background: rgba(255, 255, 255, .1);
        border-color: transparent;
        color: var(--mt-color-white);
    }

    .mt-nav-open {
        overflow: hidden;
    }

    .mt-nav .mt-menu {
        display: block;
        border-top: 1px solid rgba(255, 255, 255, .06);
    }

    .mt-nav .mt-menu li {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        border-bottom: 1px solid rgba(255, 255, 255, .06);
    }

    .mt-nav .mt-menu li:last-child {
        border-bottom: 0;
    }

    .mt-nav .mt-menu > li > a,
    .mt-nav .mt-menu > li > .mod-menu__heading,
    .mt-nav .mt-menu > li > .mod-menu__separator,
    .mt-nav .mt-menu__sub a,
    .mt-nav .mt-menu__sub .mod-menu__heading {
        flex: 1 1 0;
        height: auto;
        line-height: 1.4;
        padding: 14px 20px;
        color: rgba(255, 255, 255, .85);
        font-size: 15px;
        border: 0;
        white-space: normal;
        background: none;
    }

    .mt-nav .mt-menu a:hover,
    .mt-nav .mt-menu a:focus-visible,
    .mt-nav .mt-menu li.current > a,
    .mt-nav .mt-menu li.active > a {
        color: var(--mt-color-accent);
        background: rgba(255, 255, 255, .03);
    }

    .mt-menu__toggle,
    .mt-nav .mt-menu__sub .mt-menu__toggle {
        position: static;
        width: 50px;
        height: auto;
        margin: 0;
        color: rgba(255, 255, 255, .7);
        border-left: 1px solid rgba(255, 255, 255, .06);
    }

    .mt-menu__toggle[aria-expanded="true"] .mt-menu__caret,
    .mt-nav .mt-menu__sub .mt-menu__toggle[aria-expanded="true"] .mt-menu__caret {
        transform: translateY(2px) rotate(-135deg);
    }

    .mt-nav .mt-menu__sub .mt-menu__caret {
        transform: translateY(-2px) rotate(45deg);
    }

    .mt-nav .mt-menu__sub,
    .mt-nav .mt-menu__sub .mt-menu__sub {
        position: static;
        display: none;
        flex: 0 0 100%;
        min-width: 0;
        border: 0;
        border-top: 1px solid rgba(255, 255, 255, .035);
        background: rgba(255, 255, 255, .02);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    .mt-nav .mt-menu > li > .mt-menu__sub::before,
    .mt-nav .mt-menu > li > .mt-menu__sub::after {
        display: none;
    }

    .mt-nav .mt-menu li:hover > .mt-menu__sub,
    .mt-nav .mt-menu li:focus-within > .mt-menu__sub {
        display: none;
    }

    .mt-nav .mt-menu li.is-open > .mt-menu__sub {
        display: block;
    }

    .mt-nav .mt-menu__sub a {
        padding-left: 35px;
        font-size: 14px;
    }

    .mt-nav .mt-menu__sub .mt-menu__sub a {
        padding-left: 50px;
    }

    .mt-search {
        padding: 20px;
    }

    .mt-search .form-control,
    .mt-search input[type="search"],
    .mt-search input[type="text"] {
        width: 100%;
        background: rgba(255, 255, 255, .06);
        border: 0;
        color: var(--mt-color-white);
    }
}


/* 10. Gestaltungs-Klassen fuer Inhalte
   Diese Klassen koennen in Beitraegen / "Eigene Module" (Custom HTML) bzw. als
   Modulklasse verwendet werden, um die Startseite der Originalseite nachzubauen.
   -------------------------------------------------------------------------- */

/* Banner-Position: volle Breite, Inhalte zentriert */
.mt-banner {
    position: relative;
}

.mt-banner .moduletable,
.mt-banner .mod-custom {
    margin: 0;
}

/* Hero: Bildbereich mit zentriertem Logo/Grafik (Hintergrundbild per Inline-Style setzen) */
.mt-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    min-height: 260px;
    padding-top: 30px;
    text-align: center;
    background-color: var(--mt-color-white);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.mt-hero img {
    display: block;
    margin: 0 auto;
}

.mt-hero > :last-child {
    margin-bottom: 0;
}

/* Grauer, halbtransparenter Streifen "Mensch-Maschine-Technik" */
.mt-stripe {
    width: 100%;
    margin: 60px 0 0;
    padding: 0 20px;
    background: var(--mt-color-stripe);
    color: var(--mt-color-white);
    font-size: 36px;
    font-weight: var(--mt-font-weight-body);
    line-height: 1.65;
    text-align: center;
}

.mt-stripe p {
    margin: 0;
}

/* Gelbe Leitzeile "Me-Ma-Tec bringt Mitarbeiter und Unternehmen zusammen." */
.mt-lead {
    color: var(--mt-color-accent);
    font-size: 32px;
    font-weight: var(--mt-font-weight-body);
    line-height: 1.5;
    text-align: center;
    margin: 0 0 20px;
}

/* Grosse Abschnitts-Ueberschrift ("Aktuelle Stellenangebote") */
.mt-title-xl {
    font-size: 32px;
    font-weight: var(--mt-font-weight-strong);
    color: var(--mt-color-text);
    line-height: 1.4;
    margin: 0 0 20px;
}

/* Akzentfarbene Linie (vc_separator, 2px) */
.mt-separator {
    height: 0;
    margin: 30px 0 40px;
    border: 0;
    border-top: 2px solid var(--mt-color-accent);
}

.mt-separator--center {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.mt-separator--short {
    width: 80px;
}

/* Text-Breite begrenzen ("limit-text-width") */
.mt-limit-width {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.mt-text-center { text-align: center; }
.mt-accent { color: var(--mt-color-accent); }

/* Heller Inhaltsbereich (#f5f5f5) - auch als Modulklasse nutzbar */
.mt-box-light,
.moduletable.mt-box-light {
    background: var(--mt-color-light-bg);
    padding: 40px;
}

/* Volle Breite innerhalb des Containers ausbrechen (fuer Beitrags-Inhalte)
   Ziel: exakt vom linken bis zum rechten Fensterrand, ohne Scrollleisten-Breite
   und ohne horizontales Scrollen - auch mit Seitenleisten und in Blog-Spalten.
   1. template.js misst den tatsaechlichen Versatz jedes Elements und setzt
      --mt-fw-ml (margin-left) und --mt-fw-w (= documentElement.clientWidth).
   2. Ohne JS greift ein reiner CSS-Fallback: .mt-main ist ein Size-Container,
      100cqw entspricht damit der Fensterbreite OHNE Scrollleiste; der Versatz
      wird aus Containerbreite und Seitenleisten-Raster berechnet (exakt fuer
      Elemente direkt im Beitrag bei Standard-Containerbreite 980px/90%;
      ausserhalb von .mt-main: klassische 50%-Formel). */
.mt-main {
    container-type: inline-size;
}

.mt-fullwidth {
    --mt-fw-col: 0px;
    position: relative;
    left: auto;
    right: auto;
    box-sizing: border-box;
    max-width: none;
    width: var(--mt-fw-w, 100vw);
    margin-left: var(--mt-fw-ml, calc(50% - 50vw));
    margin-right: 0;
}

.mt-main .mt-fullwidth {
    width: var(--mt-fw-w, 100cqw);
    margin-left: var(--mt-fw-ml, calc((min(var(--mt-container), 90cqw) - 100cqw) / 2 - var(--mt-fw-col)));
}

@media (min-width: 960px) {
    .has-sidebar-left .mt-main .mt-fullwidth {
        --mt-fw-col: calc((min(var(--mt-container), 90cqw) - var(--mt-gutter)) / 4 + var(--mt-gutter));
    }

    .has-sidebar-left.has-sidebar-right .mt-main .mt-fullwidth {
        --mt-fw-col: calc((min(var(--mt-container), 90cqw) - 2 * var(--mt-gutter)) / 4 + var(--mt-gutter));
    }
}

/* Sicherheitsnetz gegen horizontales Scrollen (clip statt hidden: Sticky-Header bleibt intakt) */
html,
body {
    overflow-x: clip;
}

/* Dunkler Inhaltsbereich (Footer-Farbe #484f53) */
.mt-box-dark,
.moduletable.mt-box-dark {
    background: var(--mt-color-footer);
    color: var(--mt-color-white);
    padding: 40px;
}

.mt-box-dark h1,
.mt-box-dark h2,
.mt-box-dark h3,
.mt-box-dark h4,
.mt-box-dark p,
.mt-box-dark li {
    color: var(--mt-color-white);
}

.mt-box-dark a:not(.mt-btn):not(.btn) {
    color: var(--mt-color-accent);
}

.mt-box-dark a:not(.mt-btn):not(.btn):hover,
.mt-box-dark a:not(.mt-btn):not(.btn):focus-visible {
    color: var(--mt-color-white);
}

.mt-box-dark.mt-fullwidth {
    padding: 50px 20px;
    margin-top: 40px;
    margin-bottom: 40px;
}

/* Schwarzer Inhaltsbereich (wie .mt-box-light, nur schwarz) - v1.0.3
   Verwendung im Beitrag: <div class="mt-box-black mt-fullwidth"> ... </div> */
.mt-box-black,
.moduletable.mt-box-black {
    background: #000000;
    color: var(--mt-color-white);
    padding: 40px;
}

.mt-box-black h1,
.mt-box-black h2,
.mt-box-black h3,
.mt-box-black h4,
.mt-box-black h5,
.mt-box-black h6,
.mt-box-black p,
.mt-box-black li {
    color: var(--mt-color-white);
}

.mt-box-black a:not(.mt-btn):not(.btn) {
    color: var(--mt-color-accent);
}

.mt-box-black a:not(.mt-btn):not(.btn):hover,
.mt-box-black a:not(.mt-btn):not(.btn):focus-visible {
    color: var(--mt-color-white);
}

/* Zitatband mit Hintergrundbild und dunklem Overlay */
.mt-quote-band {
    position: relative;
    padding: 80px 20px;
    color: var(--mt-color-white);
    text-align: center;
    /* Fallback ohne Bild: ergibt mit dem Overlay (.65 schwarz) ca. #575757 wie im Original */
    background-color: #f8f8f8;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
    isolation: isolate;
}

.mt-quote-band::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--mt-color-overlay);
}

.mt-quote-band blockquote,
.mt-quote-band .mt-quote {
    max-width: 980px;
    margin: 0 auto 10px;
    padding: 0;
    border: 0;
    color: var(--mt-color-white);
    font-family: var(--mt-font-family-quote);
    font-size: 24px;
    line-height: 1.65;
}

.mt-quote-band cite,
.mt-quote-band .mt-quote-author {
    display: block;
    color: var(--mt-color-white);
    font-size: 18px;
    font-style: italic;
}

/* Spalten in Inhalten (z. B. 3 Spalten Startseite) */
.mt-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--mt-gutter);
    margin-bottom: 40px;
}

.mt-cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mt-cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mt-cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Grauer Kasten im Inhalts-Container (wie "Unser Angebot fuer Sie" auf
   mematec-industrie.de/bewerber/) - v1.0.4
   Verwendung: <div class="mt-box-grey"><h2 class="mt-box-grey__title">..</h2> ... </div>
   Bleibt innerhalb der Inhaltsspalte (NICHT mit .mt-fullwidth kombinieren). */
.mt-box-grey {
    background: var(--mt-color-lighter-bg);
    padding: 30px;
    margin-bottom: 30px;
    transition: background-color .3s ease;
}

.mt-box-grey--hover:hover {
    background: #f4eee7;
}

.mt-box-grey__title,
.mt-box-grey > h2:first-child,
.mt-box-grey > h3:first-child {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 600;
    color: var(--mt-color-heading);
    text-align: center;
    margin: 0 0 10px;
}

.mt-box-grey > :last-child,
.mt-box-grey ul:last-child,
.mt-box-grey p:last-child {
    margin-bottom: 0;
}

.mt-cols > .mt-box-grey {
    margin-bottom: 0;
}

/* Feature-Boxen (wie "Erfahren / Regional verwurzelt / Sozial ..." auf
   mematec-industrie.de/ueber-uns/) - v1.0.6
   Raster mit 3 Spalten, beliebig viele Zeilen (6 Boxen = 2 Zeilen).
   Ohne Rahmen/Hintergrund: gelbe Ueberschrift, zentrierter Fliesstext.
   Verwendung:
     <div class="mt-features">
       <div class="mt-feature"><h3 class="mt-feature__title">Titel</h3><p>Text</p></div>
       ... (weitere .mt-feature)
     </div>
   Modifier: .mt-features--left (linksbuendig, z. B. Niederlassungen)
             .mt-features--2 / .mt-features--4 (2 bzw. 4 Spalten)
             .mt-features--boxed (heller Kasten je Box)
   Responsive: Tablet (<960px) 2 Spalten, Handy (<768px) 1 Spalte. */
.mt-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 30px;
    row-gap: 60px;
    margin: 40px 0 60px;
    text-align: center;
}

.mt-features--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mt-features--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mt-features--left { text-align: left; }

.mt-feature {
    min-width: 0;
}

.mt-feature__title,
.mt-feature > h2:first-child,
.mt-feature > h3:first-child,
.mt-feature > h4:first-child {
    color: var(--mt-color-accent);
    font-family: var(--mt-font-family);
    font-size: 18px;
    line-height: 1.5;
    font-weight: var(--mt-font-weight-heading);
    margin: 0 0 12px;
}

.mt-feature p {
    color: var(--mt-color-text);
    font-weight: var(--mt-font-weight-body);
    line-height: var(--mt-line-height);
    margin: 0 0 1em;
}

.mt-feature > :last-child {
    margin-bottom: 0;
}

.mt-features--boxed .mt-feature {
    background: var(--mt-color-lighter-bg);
    padding: 30px;
}

/* Duenne gelbe Trennlinie ueber die Inhaltsbreite (v1.0.6) */
.mt-divider {
    border: 0;
    border-top: 1px solid var(--mt-color-accent);
    margin: 40px 0;
    height: 0;
}

@media (max-width: 959px) {
    .mt-features,
    .mt-features--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 50px; }
}

@media (max-width: 767px) {
    .mt-features,
    .mt-features--2,
    .mt-features--4 { grid-template-columns: minmax(0, 1fr); row-gap: 40px; }
}

/* Call-to-Action-Bereich ("Sie haben Fragen? ...") */
.mt-cta {
    padding: 60px 20px;
    background: var(--mt-color-light-bg);
    text-align: center;
}

.mt-cta p {
    font-size: 24px;
    margin-bottom: 40px;
}


/* 11. Module & Seitenleisten
   -------------------------------------------------------------------------- */
.mt-module {
    min-width: 0;
}

.mt-module__title,
.mt-sidebar .mt-module__title {
    margin: 0 0 20px;
    font-size: 1.077em;
    font-weight: var(--mt-font-weight-heading);
    color: var(--mt-color-heading);
    line-height: 1.5;
}

.mt-module__content > :last-child {
    margin-bottom: 0;
}

.mt-sidebar .mt-module {
    margin-bottom: 30px;
}

.mt-sidebar ul {
    margin-left: 0;
    list-style: none;
}

.mt-sidebar ul li {
    padding: 6px 0;
    border-bottom: 1px solid var(--mt-color-border);
}

.mt-sidebar ul li:last-child {
    border-bottom: 0;
}

.mt-sidebar a {
    color: var(--mt-color-text);
}

.mt-sidebar a:hover,
.mt-sidebar .current > a,
.mt-sidebar .active > a {
    color: var(--mt-color-accent);
    text-decoration: none;
}

/* Menue-Module ausserhalb der Hauptnavigation (z. B. Seitenleiste) */
.mt-sidebar .mt-menu__toggle {
    display: none;
}

.mt-sidebar .mt-menu__sub {
    margin: 6px 0 0 15px;
}

.main-top + *,
.mt-component > .mt-module {
    margin-bottom: 30px;
}

/* Eigene Module: Bilder mittig */
.mod-custom img {
    height: auto;
}


/* 12. Joomla-Inhalte
   -------------------------------------------------------------------------- */
.page-header {
    margin: 0 0 20px;
}

.page-header h1,
.page-header h2 {
    margin: 0;
}

.item-page > .page-header h1,
.com-content-article .page-header h1 {
    font-size: 1.5em;
}

.com-content-article__body,
.item-page .article-body {
    margin-bottom: 30px;
}

.com-content-article__body ul,
.com-content-article__body ol {
    margin-left: 30px;
}

/* Meta-Infos (Autor, Datum, Kategorie, Zugriffe) */
.article-info {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    margin: 0 0 20px;
    padding: 0;
    color: var(--mt-color-muted);
    font-size: var(--mt-font-size-small);
}

.article-info dt.article-info-term {
    flex: 0 0 100%;
    font-weight: var(--mt-font-weight-normal);
    color: var(--mt-color-muted);
}

.article-info dd {
    margin: 0;
}

.article-info a {
    color: var(--mt-color-muted);
}

.article-info a:hover {
    color: var(--mt-color-accent);
}

.article-info [class^="icon-"],
.article-info [class*=" icon-"] {
    margin-right: 4px;
    color: var(--mt-color-accent);
}

/* Beitragsbilder */
.item-image,
figure.item-image {
    margin: 0 0 20px;
}

.item-image.float-start,
.item-image.pull-left,
.float-start.item-image {
    float: left;
    margin: 0 30px 20px 0;
    max-width: 50%;
}

.item-image.float-end,
.item-image.pull-right,
.float-end.item-image {
    float: right;
    margin: 0 0 20px 30px;
    max-width: 50%;
}

.item-image img {
    display: block;
}

/* Kategorie-Blog */
/* Explizite Spur minmax(0, 1fr): Ohne Angabe entsteht eine implizite
   "auto"-Spur, die auf die Mindestbreite des Inhalts waechst - ein
   .mt-fullwidth-Balken (Fensterbreite + negativer margin-left) machte den
   Beitrag dadurch breiter als den Container, normaler Text war verschoben. */
.blog-items,
.com-content-category-blog__items {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.blog-items.columns-2,
.com-content-category-blog__items.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.blog-items.columns-3,
.com-content-category-blog__items.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blog-items.columns-4,
.com-content-category-blog__items.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.items-leading > div,
.blog-item,
.com-content-category-blog__item {
    position: relative;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--mt-color-border);
}

.items-leading {
    margin-bottom: 40px;
}

.blog-item .item-content::after,
.com-content-category-blog__item::after {
    content: "";
    display: table;
    clear: both;
}

.blog-item h2,
.com-content-category-blog__item h2,
.items-leading h2 {
    margin-top: 0;
    font-size: 1.313em;
}

.blog-item h2 a,
.items-leading h2 a {
    color: var(--mt-color-heading);
}

.blog-item h2 a:hover,
.items-leading h2 a:hover {
    color: var(--mt-color-accent);
}

.readmore {
    margin: 20px 0 0;
}

.items-more {
    margin-bottom: 40px;
}

.items-more ol,
.items-more ul {
    margin-left: 20px;
}

.cat-children,
.com-content-category-blog__children {
    margin-bottom: 40px;
}

.category-desc,
.com-content-category-blog__description {
    margin-bottom: 30px;
}

/* Kategorie-Liste (Tabelle) */
.com-content-category__table {
    width: 100%;
}

.com-content-category .filters,
.com-content-category__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    margin-bottom: 20px;
}

/* Schlagwoerter */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.tags li {
    margin: 0;
}

.tags .btn,
.tags a,
.btn-info.tag-link,
a.btn-info {
    display: inline-block;
    padding: 4px 10px;
    background: var(--mt-color-lighter-bg);
    border: 1px solid var(--mt-color-border);
    color: var(--mt-color-text);
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
    transform: none;
}

.tags .btn::before,
.tags a::before {
    display: none;
}

.tags .btn:hover,
.tags a:hover {
    background: var(--mt-color-accent);
    border-color: var(--mt-color-accent);
    color: var(--mt-color-white);
    transform: none;
}

/* Feldausgabe (Custom Fields) */
.fields-container {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.field-entry .field-label {
    font-weight: var(--mt-font-weight-strong);
    color: var(--mt-color-heading);
}

/* Ikonen der Druck-/E-Mail-/Bearbeiten-Aktionen */
.icons .dropdown-toggle,
.com-content-article .icons {
    float: right;
}

/* Inhaltsverzeichnis/Seitenumbruch */
.pagenavcounter {
    color: var(--mt-color-muted);
    font-size: var(--mt-font-size-small);
}

.article-index {
    float: right;
    margin: 0 0 20px 20px;
    padding: 20px;
    background: var(--mt-color-light-bg);
}

/* Kontakte */
.com-contact__container,
.contact {
    margin-bottom: 40px;
}

.com-contact .contact-address,
.com-contact__address {
    margin-bottom: 20px;
}

.com-contact .contact-address dt,
.com-contact__address dt {
    float: left;
    margin-right: 8px;
    color: var(--mt-color-accent);
}

.com-contact__thumbnail img,
.contact-image img {
    margin-bottom: 20px;
}

.com-contact__form,
.contact-form {
    padding: 30px;
    background: var(--mt-color-light-bg);
    margin-bottom: 40px;
}

.com-contact__form legend,
.contact-form legend {
    font-size: 1.125em;
    font-weight: var(--mt-font-weight-heading);
    color: var(--mt-color-heading);
    margin-bottom: 20px;
}

/* Suchergebnisse */
.com-finder__results-list,
.search-results {
    margin: 0;
    padding: 0;
    list-style: none;
}

.com-finder__results-list li,
.result-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--mt-color-border);
}

.result__title-text,
.result-title {
    font-size: 1.125em;
    font-weight: var(--mt-font-weight-heading);
}

.result__taxonomy,
.result__date,
.result-category {
    color: var(--mt-color-muted);
    font-size: var(--mt-font-size-small);
}

/* Karten (z. B. com_users, Module mit Chrome "card") */
.card {
    position: relative;
    margin-bottom: 30px;
    background: var(--mt-color-white);
    border: 1px solid var(--mt-color-border);
}

.card-header {
    padding: 15px 20px;
    background: var(--mt-color-light-bg);
    border-bottom: 1px solid var(--mt-color-border);
    font-weight: var(--mt-font-weight-heading);
    color: var(--mt-color-heading);
}

.card-body {
    padding: 20px;
}

.card-body > :last-child {
    margin-bottom: 0;
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    background: var(--mt-color-accent);
    color: var(--mt-color-white);
    font-size: 12px;
    font-weight: var(--mt-font-weight-normal);
    line-height: 1.3;
    border-radius: 2px;
}

.bg-secondary { background: var(--mt-color-button) !important; color: var(--mt-color-white); }
.bg-info { background: var(--mt-color-info) !important; color: var(--mt-color-white); }
.bg-warning { background: var(--mt-color-accent) !important; color: var(--mt-color-white); }
.bg-success { background: var(--mt-color-success) !important; color: var(--mt-color-white); }
.bg-danger { background: var(--mt-color-danger) !important; color: var(--mt-color-white); }
.bg-light { background: var(--mt-color-light-bg) !important; }


/* 13. Pagination & Beitragsnavigation
   -------------------------------------------------------------------------- */
.pagination-wrapper,
.com-content-category-blog__navigation,
.com-content-category__navigation {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 30px 0;
}

.counter {
    color: var(--mt-color-muted);
    font-size: var(--mt-font-size-small);
    margin: 0;
}

.pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: var(--mt-font-size-small);
}

.pagination .page-item {
    margin: 0;
}

.pagination .page-link,
.pagination a,
.pagination span {
    display: block;
    min-width: 34px;
    padding: .5em .8em;
    border: 1px solid var(--mt-color-border-dark);
    color: #888888;
    font-weight: var(--mt-font-weight-normal);
    line-height: 1;
    text-align: center;
    text-decoration: none;
    background: none;
    transition: all var(--mt-transition);
}

.pagination .page-link:hover,
.pagination a:hover {
    color: var(--mt-color-white);
    background: var(--mt-color-accent);
    border-color: var(--mt-color-accent);
}

.pagination .active .page-link,
.pagination .page-item.active span,
.pagination .active > span {
    color: var(--mt-color-white);
    background: var(--mt-color-accent);
    border-color: var(--mt-color-accent);
}

.pagination .disabled .page-link,
.pagination .disabled span {
    opacity: .5;
    pointer-events: none;
}

/* Vorheriger/Naechster Beitrag */
.pagenavigation {
    margin: 40px 0;
    padding-top: 20px;
    border-top: 1px solid var(--mt-color-border);
}

.pagenavigation .pagination {
    justify-content: space-between;
    font-size: 1em;
}

.pagenavigation .btn,
.pagenavigation a {
    border: 0;
    padding: 12px 20px;
    min-width: 0;
    background: var(--mt-color-button);
    color: var(--mt-color-white);
    letter-spacing: 1px;
}

.pagenavigation .btn:hover,
.pagenavigation a:hover {
    background: var(--mt-color-accent);
}


/* 14. Formulare
   -------------------------------------------------------------------------- */
form {
    margin: 0 0 20px;
}

fieldset {
    margin: 0 0 20px;
    padding: 0;
    border: 0;
    min-width: 0;
}

legend {
    padding: 0;
    margin-bottom: 15px;
    font-weight: var(--mt-font-weight-heading);
    color: var(--mt-color-heading);
}

label,
.control-label,
.form-label {
    display: inline-block;
    margin-bottom: 6px;
    color: #444444;
    font-weight: var(--mt-font-weight-normal);
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="datetime-local"],
input[type="time"],
input[type="file"],
textarea,
select,
.form-control,
.form-select,
.inputbox {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 6px 12px;
    color: var(--mt-color-input-text);
    font-family: inherit;
    font-size: 1em;
    font-weight: inherit;
    line-height: 1.65;
    background: var(--mt-color-lighter-bg);
    border: 1px solid var(--mt-color-border);
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color var(--mt-transition), background-color var(--mt-transition);
}

input:focus,
textarea:focus,
select:focus,
.form-control:focus,
.form-select:focus {
    background: var(--mt-color-white);
    border-color: var(--mt-color-accent);
    outline: 0;
    box-shadow: 0 0 0 2px rgba(234, 185, 18, .25);
}

textarea {
    min-height: 140px;
    resize: vertical;
}

select,
.form-select {
    padding-right: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23666' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 10px;
}

select[multiple],
select[size]:not([size="1"]) {
    padding-right: 12px;
    background-image: none;
}

input[type="checkbox"],
input[type="radio"],
.form-check-input {
    width: 1.1em;
    height: 1.1em;
    margin: 0 8px 0 0;
    vertical-align: -2px;
    accent-color: var(--mt-color-accent);
}

input::placeholder,
textarea::placeholder {
    color: #aaaaaa;
    opacity: 1;
}

.control-group,
.form-group,
.mb-3 {
    margin-bottom: 20px;
}

.control-group .controls {
    min-width: 0;
}

@media (min-width: 768px) {
    .form-horizontal .control-group {
        display: grid;
        grid-template-columns: 200px minmax(0, 1fr);
        gap: 0 20px;
        align-items: start;
    }

    .form-horizontal .control-label {
        padding-top: 7px;
    }
}

.form-check {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.form-check label,
.form-check-label {
    margin: 0;
}

.form-text,
.form-control-feedback,
.small.text-muted {
    display: block;
    margin-top: 4px;
    color: var(--mt-color-muted);
    font-size: .846em;
}

.star,
.required-star,
span.star {
    color: var(--mt-color-danger);
}

.invalid,
.form-control.invalid,
input.invalid,
textarea.invalid,
select.invalid,
.form-control-danger {
    border-color: var(--mt-color-danger) !important;
    background-color: #fff7f7;
}

label.invalid,
.invalid-feedback {
    color: var(--mt-color-danger);
}

.input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.input-group > .form-control,
.input-group > input {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.input-group > .btn,
.input-group-text {
    flex: 0 0 auto;
    padding-top: 0;
    padding-bottom: 0;
    display: inline-flex;
    align-items: center;
    transform: none;
}

.input-group > .btn::before {
    display: none;
}

.input-group-text {
    padding: 0 12px;
    background: var(--mt-color-border);
    border: 1px solid var(--mt-color-border);
}

/* Captcha/Datenschutz-Hinweise */
.control-group.field-spacer,
.spacer {
    margin-bottom: 15px;
}

/* Login-Modul */
.mod-login .mod-login__username,
.mod-login .mod-login__password {
    margin-bottom: 15px;
}

.mod-login__options {
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
    font-size: var(--mt-font-size-small);
}

/* Suchmodul (Smart Search) */
.mod-finder .input-group .btn,
.mod-finder__search .btn {
    padding-left: 15px;
    padding-right: 15px;
}

/* Joomla-Feldschalter (Switcher) */
.switcher {
    display: inline-flex;
}


/* 15. Systemmeldungen / Alerts
   (Joomla 6 gibt Meldungen ueber das Web-Component <joomla-alert> aus)
   -------------------------------------------------------------------------- */
#system-message-container {
    margin-bottom: 20px;
}

#system-message-container:empty {
    margin: 0;
}

joomla-alert,
.alert {
    position: relative;
    display: block;
    margin: 0 0 20px;
    padding: 15px 50px 15px 20px;
    border: 0;
    border-left: 4px solid var(--mt-color-info);
    border-radius: 0;
    background: #eef6fa;
    color: var(--mt-color-info);
    font-weight: var(--mt-font-weight-normal);
    opacity: 1;
}

joomla-alert[type="success"],
.alert-success {
    border-left-color: var(--mt-color-success);
    background: #eff7ee;
    color: var(--mt-color-success);
}

joomla-alert[type="warning"],
.alert-warning {
    border-left-color: var(--mt-color-accent);
    background: #fdf7e3;
    color: var(--mt-color-warning);
}

joomla-alert[type="danger"],
joomla-alert[type="error"],
.alert-danger,
.alert-error {
    border-left-color: var(--mt-color-danger);
    background: #fbefef;
    color: var(--mt-color-danger);
}

joomla-alert .alert-heading,
.alert .alert-heading {
    display: block;
    margin: 0 0 4px;
    font-weight: var(--mt-font-weight-heading);
    color: inherit;
}

joomla-alert .alert-heading .visually-hidden + span,
.alert-heading {
    text-transform: none;
}

joomla-alert .alert-message,
.alert-message {
    margin: 0;
}

joomla-alert .joomla-alert--close,
joomla-alert button.joomla-alert--close,
.alert .btn-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font-size: 22px;
    line-height: 1;
    opacity: .6;
    cursor: pointer;
    transform: none;
}

joomla-alert .joomla-alert--close:hover,
.alert .btn-close:hover {
    opacity: 1;
    background: none;
    transform: none;
}

.alert a,
joomla-alert a {
    color: inherit;
    text-decoration: underline;
}


/* 16. Tabellen
   -------------------------------------------------------------------------- */
table {
    width: 100%;
    margin: 0 0 20px;
    border-collapse: collapse;
    border-spacing: 0;
}

caption {
    padding: 8px 0;
    color: var(--mt-color-muted);
    text-align: left;
    caption-side: top;
}

th,
td {
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--mt-color-border-dark);
}

thead th,
.table thead th {
    color: var(--mt-color-heading);
    font-weight: var(--mt-font-weight-heading);
    border-bottom: 2px solid var(--mt-color-accent);
    background: var(--mt-color-white);
}

.table-striped tbody tr:nth-of-type(odd),
table.category tbody tr:nth-of-type(odd) {
    background: var(--mt-color-light-bg);
}

.table-hover tbody tr:hover,
table.category tbody tr:hover {
    background: var(--mt-color-lighter-bg);
}

.table-bordered th,
.table-bordered td {
    border: 1px solid var(--mt-color-border-dark);
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}


/* 17. Breadcrumbs
   -------------------------------------------------------------------------- */
.mod-breadcrumbs,
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 0 30px;
    padding: 12px 0;
    list-style: none;
    font-size: var(--mt-font-size-small);
    color: var(--mt-color-muted);
    border-bottom: 1px solid var(--mt-color-border);
}

.mod-breadcrumbs__wrapper {
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before,
.mod-breadcrumbs__item + .mod-breadcrumbs__item::before {
    content: "\203A";
    padding: 0 8px;
    color: var(--mt-color-accent);
}

.breadcrumb a,
.mod-breadcrumbs a {
    color: var(--mt-color-text);
}

.breadcrumb a:hover,
.mod-breadcrumbs a:hover {
    color: var(--mt-color-accent);
    text-decoration: none;
}

.breadcrumb-item.active,
.mod-breadcrumbs__item.active {
    color: var(--mt-color-heading);
}

.mod-breadcrumbs__here,
.mod-breadcrumbs__divider {
    margin-right: 6px;
}


/* 18. Footer  (dunkle Leiste: Copyright links, Footer-Menue rechts)
   -------------------------------------------------------------------------- */
.mt-footer {
    color: var(--mt-color-muted);
    font-size: var(--mt-font-size-small);
}

.mt-footer__widgets {
    padding: 50px 0 10px;
    background: color-mix(in srgb, var(--mt-color-footer) 88%, #000);
    color: #bbbbbb;
}

.mt-footer__widgets .mt-module__title {
    color: var(--mt-color-white);
}

.mt-footer__widgets a {
    color: #dddddd;
}

.mt-footer__widgets a:hover {
    color: var(--mt-color-accent);
}

.mt-footer__widgets .mt-module {
    margin-bottom: 40px;
}

.mt-footer__bottom {
    background: var(--mt-color-footer);
}

.mt-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 30px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.mt-footer p {
    color: var(--mt-color-muted);
}

.mt-footer p:last-child {
    margin: 0;
}

.mt-footer__bottom a {
    color: var(--mt-color-accent);
    transition: color var(--mt-transition);
}

.mt-footer__bottom a:hover,
.mt-footer__bottom a:focus-visible {
    color: var(--mt-color-white);
    text-decoration: none;
}

.mt-footer__menu .mt-menu,
.mt-footer__menu ul {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mt-footer__menu .mt-menu__toggle,
.mt-footer__menu .mt-menu__sub {
    display: none;
}

.mt-footer__menu .moduletable,
.mt-footer__menu .mod-custom {
    margin: 0;
}


/* 19. Nach-oben-Button
   -------------------------------------------------------------------------- */
.mt-back-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 41px;
    height: 41px;
    border: 3px solid var(--mt-color-white);
    border-radius: 50%;
    background: var(--mt-color-lighter-bg);
    color: var(--mt-color-muted);
    font-size: 14px;
    text-decoration: none !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease, background-color var(--mt-transition), color var(--mt-transition);
}

.mt-back-top.is-visible {
    opacity: 1;
    visibility: visible;
}

.mt-back-top:hover,
.mt-back-top:focus-visible {
    background: var(--mt-color-accent);
    color: var(--mt-color-white);
}

/* ohne JavaScript immer sichtbar */
.no-js .mt-back-top {
    opacity: 1;
    visibility: visible;
}


/* 20. Fehlerseite
   -------------------------------------------------------------------------- */
.mt-error {
    max-width: 700px;
    margin: 20px auto 40px;
    text-align: center;
}

.mt-error__code {
    margin: 0;
    color: var(--mt-color-accent);
    font-size: 96px;
    font-weight: var(--mt-font-weight-body);
    line-height: 1;
}

.mt-error__title {
    margin: 10px 0 0;
}

.mt-error__list {
    display: inline-block;
    text-align: left;
}

.mt-error__message {
    margin-top: 30px;
    color: var(--mt-color-muted);
    font-size: var(--mt-font-size-small);
}

.mt-error__debug {
    margin-top: 40px;
    overflow-x: auto;
    font-size: 13px;
}


/* 21. Hilfsklassen (Teilmenge der Bootstrap-Klassen, die Joomla-Ausgaben verwenden)
   -------------------------------------------------------------------------- */
.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within),
.sr-only,
.element-invisible {
    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;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.float-start, .pull-left { float: left; }
.float-end, .pull-right { float: right; }
.float-none { float: none; }

.text-start, .text-left { text-align: left; }
.text-center { text-align: center; }
.text-end, .text-right { text-align: right; }
.text-muted { color: var(--mt-color-muted) !important; }
.text-primary { color: var(--mt-color-accent) !important; }
.text-white { color: var(--mt-color-white) !important; }
.text-danger { color: var(--mt-color-danger) !important; }
.text-success { color: var(--mt-color-success) !important; }

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }
.flex-wrap { flex-wrap: wrap; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-center { justify-content: center; }
.gap-2 { gap: .5rem; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.mw-100 { max-width: 100% !important; }
.img-fluid { max-width: 100%; height: auto; }
.list-unstyled { margin-left: 0; padding-left: 0; list-style: none; }
.list-inline { margin-left: 0; padding-left: 0; list-style: none; }
.list-inline-item { display: inline-block; margin-right: 10px; }

.m-0 { margin: 0 !important; }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: .5rem !important; }
.mb-2 { margin-bottom: .5rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.p-0 { padding: 0 !important; }

/* minimales 12er-Raster fuer Joomla-Ausgaben mit .row/.col-* */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}

.col { flex: 1 0 0%; }

@media (min-width: 768px) {
    .col-md-3 { flex: 0 0 auto; width: 25%; }
    .col-md-4 { flex: 0 0 auto; width: 33.3333%; }
    .col-md-6 { flex: 0 0 auto; width: 50%; }
    .col-md-8 { flex: 0 0 auto; width: 66.6667%; }
    .col-md-9 { flex: 0 0 auto; width: 75%; }
    .col-md-12 { flex: 0 0 auto; width: 100%; }
}

@media (min-width: 992px) {
    .col-lg-3 { flex: 0 0 auto; width: 25%; }
    .col-lg-4 { flex: 0 0 auto; width: 33.3333%; }
    .col-lg-6 { flex: 0 0 auto; width: 50%; }
    .col-lg-8 { flex: 0 0 auto; width: 66.6667%; }
    .col-lg-9 { flex: 0 0 auto; width: 75%; }
}

/* Joomla-Tooltips / Popover minimal */
[role="tooltip"]:not(.show) {
    display: none;
}

/* Komponenten-Ansicht (tmpl=component, z. B. Druck, Modals) */
.mt-component-only {
    padding: 20px;
}


/* 22. Responsive Anpassungen  (Breakpoints der Originalseite: 1280 / 959 / 767 / 479 px)
   -------------------------------------------------------------------------- */
@media (max-width: 959px) {
    .has-sidebar-left .mt-main__grid,
    .has-sidebar-right .mt-main__grid,
    .has-sidebar-left.has-sidebar-right .mt-main__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .mt-sidebar--left {
        order: 2;
    }

    .mt-sidebar--right {
        order: 3;
    }

    .blog-items.columns-3,
    .blog-items.columns-4,
    .com-content-category-blog__items.columns-3,
    .com-content-category-blog__items.columns-4,
    .mt-cols--3,
    .mt-cols--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .mt-header__inner {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .mt-topbar__inner {
        justify-content: center;
        text-align: center;
    }

    .mt-topbar__contact {
        justify-content: center;
        margin: 0 auto;
    }

    .blog-items[class*="columns-"],
    .com-content-category-blog__items[class*="columns-"],
    .mt-cols--2,
    .mt-cols--3,
    .mt-cols--4 {
        grid-template-columns: minmax(0, 1fr);
    }

    .item-image.float-start,
    .item-image.float-end,
    .float-start.item-image,
    .float-end.item-image {
        float: none;
        max-width: 100%;
        margin: 0 0 20px;
    }

    .mt-footer__inner {
        flex-direction: column;
        text-align: center;
    }

    .mt-footer__menu .mt-menu,
    .mt-footer__menu ul {
        justify-content: center;
    }

    .mt-stripe { font-size: 28px; }
    .mt-lead { font-size: 26px; }
    .mt-title-xl { font-size: 26px; }
    .mt-quote-band { padding: 50px 20px; background-attachment: scroll; }
    .mt-quote-band blockquote, .mt-quote-band .mt-quote { font-size: 20px; }
    .mt-separator--center { width: 50%; }
    .mt-box-light, .moduletable.mt-box-light, .mt-box-black, .moduletable.mt-box-black, .com-contact__form, .contact-form { padding: 20px; }
    .mt-back-top { right: 15px; bottom: 15px; }
}

@media (max-width: 479px) {
    .mt-logo__img {
        max-height: calc(var(--mt-logo-height) * .85);
        max-width: 220px;
    }

    .pagenavigation .pagination {
        flex-direction: column;
    }

    .mt-error__code {
        font-size: 64px;
    }
}


/* 22b. Seitenuebergang: alte Seite ausblenden, neue Seite einblenden
   - Chrome/Edge/Safari: native View Transitions (@view-transition, inline aus index.php)
   - andere Browser: Fallback per Klasse .mt-pt-fb + template.js
   - einzelne Links ausnehmen: Klasse "mt-no-transition" oder data-no-transition
   -------------------------------------------------------------------------- */
/* Alte Seite verblasst nur (bis --mt-pt-fade Deckkraft), die neue blendet
   darueber ein - es wird nie komplett weiss. */
@keyframes mt-pt-out {
    from { opacity: 1; }
    50%, to { opacity: var(--mt-pt-fade, .5); }
}

@keyframes mt-pt-in {
    from, 45% { opacity: 0; }
    to { opacity: 1; }
}

@keyframes mt-pt-fadein {
    from { opacity: var(--mt-pt-fade, .5); }
    to { opacity: 1; }
}

@keyframes mt-pt-fadeout {
    from { opacity: 1; }
    to { opacity: var(--mt-pt-fade, .5); }
}

::view-transition-old(root),
::view-transition-new(root) {
    mix-blend-mode: normal;
}

::view-transition-old(root) {
    animation: mt-pt-out var(--mt-pt-duration, 400ms) ease both;
}

::view-transition-new(root) {
    animation: mt-pt-in var(--mt-pt-duration, 400ms) ease both;
}

html.mt-pt-fb body {
    animation: mt-pt-fadein calc(var(--mt-pt-duration, 400ms) * .5) ease both;
}

html.mt-pt-fb.mt-pt-leaving body {
    animation: mt-pt-fadeout calc(var(--mt-pt-duration, 400ms) * .5) ease both;
}


/* 23. Barrierefreiheit: reduzierte Bewegung, Druck
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }

    .btn:hover, .mt-btn:hover, .readmore a:hover {
        transform: none;
    }

    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation: none;
    }

    html.mt-pt-fb body {
        animation: none;
        opacity: 1 !important;
    }
}

@media print {
    .mt-topbar,
    .mt-nav,
    .mt-nav-toggle,
    .mt-back-top,
    .mt-sidebar,
    .mt-footer__menu,
    .mt-offcanvas-backdrop {
        display: none !important;
    }

    .mt-header {
        position: static !important;
    }

    body {
        color: #000000;
        font-size: 12pt;
    }

    a {
        color: #000000;
        text-decoration: underline;
    }
}
