@font-face {
    font-display: swap;
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    src: url('fonts/inter_5.2.6_latin-wght-normal.woff2') format('woff2'),
         url('fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
}

@font-face {
    font-display: swap;
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 200;
    src: url('fonts/material-symbols-outlined-v222-latin-300.woff2') format('woff2');
}

.material-symbols {
    font-family: 'Material Icons';
    font-weight: 200;
    font-size: 1.7rem;
    display: inline-block;
    width: 2rem;
    line-height: .8;
    vertical-align: text-bottom;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'liga';
}
html {
    scroll-behavior: smooth;
}

:root {
    color-scheme: light dark;
    --body-color: rgb(33,33,33,1);
    --link-color: rgb(33,33,33,1);
    --link-hover-color: rgb(0,0,0,1);
    --breadcrumb-item-active-color: rgb(33,33,33,1);
    --color-primary: rgb(186,207,14,1);
    --color-primary25: rgb(186,207,14,0.2);
    --color-secondary: rgb(253,104,1,1);
    --color-secondary25: rgb(253,104,1,0.25);
    --text-margin: 3rem;
    --body-font-family: 'Inter',sans-serif;
    --body-font-size: calc(0.9rem + .21vw);
    --body-line-height: 1.5;
    --breadcrumb-font-size: .95rem;
    --modal-color: rgb(33,33,33,1);
    letter-spacing: 0.015em;
    min-width: 300px;
}

.site-grid {
            grid-template-areas:
            ".banner banner banner banner."
            ".top-a top-a top-a top-a."
            ".top-b top-b top-b top-b."
            ".side-l comp comp side-r."
            ".bot-b bot-b bot-b bot-b."
            ".bot-a bot-a bot-a bot-a."
        }

.container-component > :first-child, .container-sidebar-left > :first-child, .container-sidebar-right > :first-child, .container-component > * + *, .container-sidebar-left > * + *, .container-sidebar-right > * + * {
    margin-top: .4rem;
}

.body-color {
    background: var(--body-color);
    color: #ffffff!important;
}

.color-primary {
    background: var(--color-primary);
    color: #ffffff!important;
}

.color-secondary {
    background: var(--color-secondary);
}

.color-primary25 {
    background: var(--color-primary25);
}

.color-secondary25 {
    background: var(--color-secondary25);
}

.container-header {
    background: var(--color-primary25) !important;
}

.container-header .hex-icons {
    position: relative;
    width: 100%;
    overflow: visible;
}

.hex-wrapper {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    margin-bottom: 2rem;
    aspect-ratio: 1280 / 480;
}

.hex {
    position: absolute;
    /* 290px / 1280px = 22.656% */
    width: 22.656%;
    /* 290px / 480px = 60.417% */
    height: 60.417%;

    clip-path: polygon(
        0% 50%,
        25% 7%,
        75% 7%,
        100% 50%,
        75% 93%,
        25% 93%
    );

    display: flex;
    align-items: center;
    justify-content: center;

    filter: drop-shadow(0 0 1px rgba(0,0,0,.2));
}

/* Polygon Icons (Prozentual zur Wabe) */
.hex img {
    /* 165px / 290px = 56.897% */
    width: 56.897%;
    /* 118px / 290px = 40.690% */
    height: 40.690%;
    object-fit: contain;
}

/* Waben-Positionen in Prozent */
.hex-1 {
    background: var(--color-secondary);
    top: 26.042%;  /* 125px / 480px */
    left: 1.563%;   /* 20px / 1280px */
}

.hex-2 {
    background: var(--color-primary);
    top: 54.167%;  /* 260px / 480px */
    left: 19.922%; /* 255px / 1280px */
}

.hex-3 {
    background: var(--color-secondary);
    top: 26.042%;  /* 125px / 480px */
    left: 38.281%; /* 490px / 1280px */
}

.hex-4 {
    background: var(--color-primary);
    top: -2.083%;  /* -10px / 480px */
    left: 56.641%; /* 725px / 1280px */
}

.hex-5 {
    background: var(--color-primary);
    top: 54.167%;  /* 260px / 480px */
    left: 56.641%; /* 725px / 1280px */
}

.hex-6 {
    background: var(--color-secondary);
    top: 26.042%;  /* 125px / 480px */
    left: 75.000%; /* 960px / 1280px */
}

@media (min-width: 768px) {

.hex-wrapper {
    top: -60px;
    margin-bottom: 1rem;
}
}

@media (min-width: 992px) {

    /* Einblende-Animation */
    .hex {
        opacity: 0;
        transform: translateX(80px);
        animation: hex-in .8s ease-out forwards;
    }

    .hex-1 { animation-delay: .1s; }
    .hex-2 { animation-delay: .25s; }
    .hex-3 { animation-delay: .4s; }
    .hex-4 { animation-delay: .55s; }
    .hex-5 { animation-delay: .7s; }
    .hex-6 { animation-delay: .85s; }

    @keyframes hex-in {
        from {
            opacity: 0;
            transform: translateX(80px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}


@media (max-width: 991.98px) {

.container-header .navbar-toggler {
    color: var(--body-color);
    border: none!important;
}
.offcanvas.offcanvas-start {
    left: auto;
    right: 0px;
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
    background: var(--color-primary);
    z-index: 9999999;
}

.icon-menu {
    font-weight: 700;
    font-size: 2.5rem;
}

.icon-menu::before, .offcanvas-header .btn-close {
    font-size: 2.5rem!important;
    color: var(--body-color)!important;
}

.offcanvas-header .btn-close {
    font-size: 1.5rem!important;
    --btn-close-opacity: 1;
}

.offcanvas ul li {
    position: relative;
    width: 100%;
    margin: .5rem 0;
    text-align: right;
}

.offcanvas ul li li {
    margin: .25rem 0;
}

.offcanvas li a {
    line-height: 1.6rem;
    font-size: 1.2rem;
    text-decoration: none;
}

.offcanvas li li a {
    line-height: 1.4rem;
    font-size: .9rem;
}


.collapse:not(.show), .metismenu.mod-menu .mm-collapse:not(.mm-show) {
    display: block;
    max-width: 99%;
}

.metismenu.mod-menu .metismenu-item, .metismenu.mod-menu .metismenu-item > ul {
    text-align: right;
    width: 100%;
    position: relative;
    top: 100%;
    box-shadow: none!important;
    background: none!important;
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: .35rem 0rem;
}

.metismenu.mod-menu .metismenu-item li {
    padding: .25rem 1rem;
}

.metismenu.mod-menu .mm-toggler::after {
    display: none;
}

.navbar {
    padding: var(--border-width) 0;
    margin-top: 0.5rem!important;
    z-index: 999;
}

.navbar-toggler {
    padding: .3rem;
    line-height: 1;
    border-radius: 0.5rem;
}
}

.logo {
    z-index: 999;
    overflow: visible;
    max-width: 70%;
}

.logo img {
    flex: 1;
    margin-top: 1rem;
    margin-left: 0rem;
    margin-right: auto;
    width: 380px;
    max-width: 100%;
}

.container-header nav {
    margin-top: 0rem;
}

.container-topbar .contact {
    position: fixed;
    float: right;
    right: -1rem;
    top: 7rem;
    z-index: 999!important;
}

.back-to-top-link {
    color: var(--body-color);
    background: var(--color-primary)!important;
    border: 1px solid var(--color-primary);
}

.back-to-top-link:hover {
    color: white;
    background: var(--body-color)!important;
    border: 1px solid var(--body-color);
}

/* Position buttons */
.contact-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.contact-buttons p {
    margin-bottom: .5rem;
}

.contact-link {
    display: inline-flex;
    flex-direction: column; /* Icon und Text untereinander anordnen */
    align-items: center;
    justify-content: center;
    text-decoration: none;
    overflow: hidden;
    width: 5.7rem;
    height: 5.7rem;
    padding: 0;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: var(--color-primary);
    white-space: normal;
    text-align: center;
    line-height: 1.1;
    padding: 1rem;
    font-size: 0.75em;
    font-weight: bold;
    transition:
        width 0.4s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.contact-link img {
    width: 2rem;
    padding-bottom: .2rem;
}

@media (min-width: 1100px) {

.container-topbar .contact {
    top: 18rem;
}

.contact-buttons p {
    margin-bottom: .8rem;
}

.contact-link {
    width: 7.7rem;
    height: 7.7rem;
    font-size: 0.85em;
}


.contact-link img {
    width: 2.6rem;
    padding-bottom: .2rem;
}
}

.contact-link:hover {
    background: var(--body-color);
    color: #ffffff;
}

.navbar {
    align-items: flex-start!important;
}

.container-header .mod-menu {
    color: var(--body-color);
    list-style: none;
}

main .item-page .com-content-article__body {
    text-align: center;
    margin: 0 auto;
    max-width: 750px;
}


main .item-page .com-content-article__body .convertforms  label {
    text-align: left;
}

.site-grid .container-component {
    position: relative;
}

.site-grid .container-component::before {
    content: "";
    position: absolute;
    top: -8rem;
    right: calc(50% + 22rem);
    width: 800px;
    height: 365px;
    background-image: url("../images/car_reinservice.png");
    background-size: 800px 365px;
    background-position: right center;
    background-repeat: no-repeat;
    z-index: 999;
}

.itemid-101 .site-grid .container-component::before {
    top: -21rem;
}

.full-width-section {
    width: calc(100vw - 20px);
    margin-left: calc(-50vw + 50% + 10px);
    margin-right: calc(-50vw + 50% + 10px);
    padding: 1rem 0 2.5rem 0;
}

.toptext .grid-child {
    text-align: center;
    max-width: 700px;
    margin: 0rem auto;
    padding-bottom: 1.7rem;
}


.einzelne-service {
    padding: 2rem 0 2rem 0;
}

.einzelne-service li, .ueber-rein-service {
    text-align: center;
}

.grid-cols-2 {
    --grid-layout-gap: 2rem;
    --grid-column-count: 1;
    --gap-count: calc(var(--grid-column-count) - 1);
    --total-gap-width: calc(var(--gap-count) * var(--grid-layout-gap));
    --grid-item--max-width: calc((100% - var(--total-gap-width)) / var(--grid-column-count));

    display: grid;
    grid-gap: var(--grid-layout-gap);
    grid-template-columns: repeat(var(--grid-column-count), 1fr);
}

.ueber-rein-service .grid-cols-2 div {
    max-width: 380px;
    margin: 0 auto;
}

.einzelne-service li .mod-articles-item {
    max-width: 300px;
    margin: 0 auto;
}

.einzelne-service .item-image {
    max-width: 5.3rem;
    margin: 0 auto;
    position: relative;
}

.einzelne-service .item-image img {
    position: relative;
    z-index: 1;
}

.einzelne-service .item-image::before {
    content: "";
    position: absolute;
    width: 6rem;
    height: 6rem;
    background: var(--color-primary25);
    border-radius: 50%;
    top: 50%;
    left: 30%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.einzelne-service li:hover .item-image::before {
    background: rgb(186,207,14,0.6);
}

.einzelne-service li:nth-child(even) .item-image::before {
    left: 70%;
    background: var(--color-secondary25);
}

.einzelne-service li:nth-child(even):hover .item-image::before {
    background: rgb(253,104,1,0.6);
}

/* Ganze Service-Kachel als Klickfläche */
.einzelne-service .mod-articles-item {
    position: relative;
}

/* Originalen Weiterlesen-Text ausblenden, Link bleibt aktiv */
.einzelne-service .mod-articles-item .readmore {
    margin: 0;
}

.einzelne-service .mod-articles-item .readmore a {
    position: absolute;
    inset: 0;
    z-index: 10;
    opacity: 0;
    font-size: 0;
}

/* verhindert, dass Bilder/Elemente den Klick blockieren */
.einzelne-service .mod-articles-item img {
    pointer-events: none;
}

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, .cookiehead {
    font-family: var(--body-font-family);
    font-weight: 900;
    font-size: calc(1rem  + .1vw);
    line-height: 1.2;
    padding: 1.5rem 0;
    margin: 0rem 0;
}

h1, .h1 {
    font-size: calc(2rem + .7vw);
    padding: calc(1rem + 1vw) 0;
}

h1 span {
    display: inline-block;
    font-size: calc(1.1rem + 0.6vw);
    margin-top: .7rem;
    margin-bottom: .7rem;
}

h2, .h2 {
    font-size: calc(1.8rem + .7vw);
    padding: calc(1rem + 1vw) 0;
}

h2 span {
    font-size: calc(1.1rem + 0.6vw);
}

h3, .h3  {
    font-size: calc(1.5rem + .5vw);
    padding: 1rem 0;
}

h4, .h4 {
    font-size: var(--body-font-size);
    padding: .8rem 0;
}

h5, .h5 {
    font-size: var(--body-font-size);
    font-weight: 700;
    padding: 0rem 0;
}

h6, .h6 {
    font-size: var(--body-font-size);
    padding: .3rem 0;
}

.footer a:not(.btn),
.footer .btn-link {
  color: var(--body-color);
  text-decoration: underline;
}
.footer a:not(.btn):hover,
.footer a:not(.btn):focus,
.footer .btn-link:hover,
.footer .btn-link:focus {
    color: var(--body-color);
    text-decoration: none;
}

.step-content a {
    background: var(--color-primary25);
    color: inherit;
    padding: 0.3rem .8rem;
    border-radius: 0.5rem;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease, color 0.3s ease;
}

.step-content a:hover {
    background: var(--color-primary);
    color: #ffffff;
}

.btn {
    background: var(--body-color)!important;
    color: #ffffff;
    font-weight: 900;
    padding: .5rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none!important;
}

.btn:hover {
    background: #000000!important;
    color: #ffffff;
}

.item-page .center.item-image {
    margin: 0 auto;
    max-width: 120px;
}

.list-ok {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem 2rem;
    list-style: none;
    padding: 2rem 0;
    margin: 0;
}

.list-ok li {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-align: left;
}

.list-ok li::before {
    content: "check";
    font-family: "Material Icons";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    background: var(--color-primary25);
    color: var(--body-color);
    font-weight: bold;
    border-radius: 50%;
    font-size: 1.5rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 2rem;
    text-align: left;
    margin-bottom: 32px;
}

.step-number {
    flex: 0 0 5rem;
    height: 5rem;
    width: 5rem;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 900;
}

.step-content {
    flex: 1;
    text-align: left;
}

.step-content h3 {
    margin: 0 0 8px;
}

.step-content p {
    margin: 0;
}

footer.footer {
    background: var(--color-primary25)!important;
    padding: 2.5rem .5em 1rem .5rem;
    margin-top: 1em;
    color: var(--body-color);
    font-size: 0.9em;
}

footer.footer2 {
    background: var(--body-color)!important;
    padding: 2.5rem .5em 1rem .5rem;
    color: #fff;
}

.footer .grid-child {
    padding: 0rem;
    display: block;
}

@media (min-width: 768px) {
.grid-cols-2 {
    --grid-column-count: 2;
}
}

@media (min-width: 992px) {

.metismenu.mod-menu .metismenu-item {
    padding: .2em .4em;
    font-size: 1rem;
}

.metismenu.mod-menu .metismenu-item.level-1.active{
    border-bottom: 2px solid var(--color-primary) ;
    padding: .2em .6em 0em .6em;
}

.metismenu.mod-menu .mm-toggler::after {
    content: "";
    border-top: .5em solid;
    border-left: .35em solid #0000;
    border-right: .35em solid #0000;
    margin-inline-start: .25em;
}
}

@media (min-width: 1200px) {
.logo img {
    max-width: 380px;
}
.list-ok {
    grid-template-columns: repeat(3, 1fr);
}

.metismenu.mod-menu .metismenu-item {
    padding: .2em .6em;
    font-size: 1.1rem;
}
}

.metismenu.mod-menu .metismenu-item > span, .metismenu.mod-menu .metismenu-item > a, .metismenu.mod-menu .metismenu-item > button {
    font-weight: 700;
}

