:root {
    --mainred: #c90119; /* c90119 */
    --lightgrey: #f1f1f1; /* f1f1f1 */
}


* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
    /*font-size: 100%; !* 16px *!*/
    font-size: 112.5%; /* 16px × 1.125 = 18px */
    /*font-size: 125%; !* 16px × 1.25 = 20px *!*/
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Roboto", Arial, sans-serif;
    line-height: 1.5;
    color: #333;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

.stoerer {
    display: inline-block;
    position: fixed;
    top: 78px;
    right: 3%;
    background-color: var(--mainred);
    width: 320px;
    padding: 5px;
    border-radius: 5px;
    transform: rotate(-1.5deg);
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.5);
}

article,
aside,
details,
figcaption,
figure,
hgroup,
main,
menu,
nav,
section,
summary {
    display: block;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    border: none;
}

a {
    background-color: transparent;
    color: var(--mainred);
    -webkit-font-smoothing: antialiased;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
    color: var(--mainred);
}

a:focus {
    text-decoration: none !important;
    color: var(--mainred);
}

h1 {
    font-size: 2.2em;
    margin: 0 0 20px 0;
}

h1::after {
    content: "";
    display: block;
    height: 4px;
    width: 60px;
    margin-top: 20px;
    border-radius: 20px;
    background: var(--mainred);
    margin-bottom: 30px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;
    color: var(--mainred);
    margin-bottom: 10px;
}


h2 {
    font-size: 1.8em;
}

h3 {
    font-size: 1.6em;
}

h4 {
    font-size: 24px;
}

h5 {
    font-size: 16px;
}

h6 {
    font-size: 14px;
}

p {
    margin: 0 0 25px !important;
}

ul,
ol {
    margin-top: 0;
    margin-bottom: 11px;
}

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

.text-center {
    text-align: center;
}

.container {
    margin: 0 auto;
    width: 90%;
    max-width: 1280px;
}

main.top {
    padding: 120px 0 40px 0;
}

.onecol-wrapper {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 40px;
}

.is-70 {
    width: 65%;
}

.is-30 {
    width: calc(35% - 40px);
}

.twocol-wrapper,
.threecol-wrapper,
.fourcol-wrapper {
    display: grid;
    gap: 40px;
}

.twocol-wrapper {
    grid-template-columns: repeat(2, 1fr);
}

.threecol-wrapper,
.fourcol-wrapper {
    margin: 40px 0;
}

.threecol-wrapper {
    grid-template-columns: repeat(3, 1fr);
}

.fourcol-wrapper {
    grid-template-columns: repeat(4, 1fr);
}

.flex-row {
    display: flex;
    flex-wrap: wrap;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid var(--mainred);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-bottom: 2px solid var(--mainred);
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.header-binder {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

.navbar-brand .logo {
    margin-top: 25px;
    margin-right: 40px;
    width: 160px;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

nav {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: .95em;
}

nav a {
    position: relative;
    padding: 5px 0;
    color: #222222;
    transition: color 0.18s ease;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--mainred);
    transition: width 0.18s ease;
}

nav a:hover {
    color: var(--mainred);
}

nav a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.burger-line {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 999px;
    background: #111827;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger-line + .burger-line {
    margin-top: 8px;
}

.burger[aria-expanded="true"] .line-1 {
    transform: translateY(9px) rotate(45deg);
}

.burger[aria-expanded="true"] .line-2 {
    opacity: 0;
}

.burger[aria-expanded="true"] .line-3 {
    transform: translateY(-13px) rotate(-45deg);
}

#slider1_container {
    margin-top: 90px;
    /*border: 2px solid red;*/
    position: relative;
}

#slider1_container:after {
    content: "";
    display: block;
    height: 560px;
}

#slider1_container img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.breadcrumb-wrapper {
    background-color: #f1f1f1;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #eee;
    display: none !important;
}

.breadcrumb {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    font-size: 0.85em;
    width: 100%;
    padding: 20px 0;
    margin-bottom: 0;
}

.breadcrumb-item {
    list-style: none;
}

.breadcrumb-item a {
    color: #555;
}

.breadcrumb-item:not(:last-child) {
    margin-right: 0.8em;
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: "\276F";
    /*width: 10px;*/
    /*height: 10px;*/
    /*background-color: red;*/
    display: inline-block;
    color: var(--mainred);
    font-size: 0.6em;
    margin-left: 1em;
    appearance: none;
}

.breadcrumb-item.abc:not(:last-child) {
    margin-right: 6px;
}

.breadcrumb-item.abc:not(:last-child):after {
    display: none;
}

.breadcrumb-item li {
    display: inline;
    list-style: none;
}

.binding {
    width: 90%;
    max-width: 1280px;
    position: relative;
    margin: 0 auto;
}


sl-details {
    margin-bottom: 10px;
    /*border-radius: 0 !important;*/
}

sl-details::part(base) {
    border-radius: 0;
    border: 1px solid #eee;
}


sl-details::part(header) {
    /*background-color: var(--mainred);*/
    background-color: var(--lightgrey);
    /*border-radius: 0 !important;*/
    font-size: 1em;
    /*color: #fff;*/
    font-weight: bold;
    padding: 8px 12px;
}

sl-details:hover::part(header) {
    background-color: #ddd;
}


sl-details::part(prefix) {
    color: var(--mainred);
    font-size: 28px;
}

/*sl-details::part(summary-icon) {*/
/*    color: var(--mainred);*/
/*    font-size: 20px;*/
/*}*/

sl-details::part(content) {
    background-color: var(--lightgrey);
    border-top: 1px dotted #ccc;
}

sl-details[open]::part(base) {
    margin-bottom: 30px;
    background-color: var(--lightgrey);
}

.btn {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    white-space: nowrap;
    font-size: 16px;
    line-height: 1.42857;
    user-select: none;
    color: #fff;
    padding: 6px 12px;
    background-color: var(--mainred);
    border: 1px solid transparent;
    position: relative;
    border-radius: 4px;
    align-self: flex-start;
    font-weight: bold;
    text-align: center;
}

.btn:hover,
.btn:focus,
.btn.focus {
    background-color: #004064;
    color: #fff;
    text-decoration: none;
}

.btn:focus,
.btn.focus,
.btn:active:focus,
.btn:active.focus,
.btn.active:focus,
.btn.active.focus {
    outline: 2px solid -webkit-focus-ring-color;
    outline-offset: 2px;
}

.notice {
    font-weight: bold;
    font-size: 1.25em;
    color: #ffffff;
    background-color: #004064;
    border: 1px solid #004064;
    margin-bottom: 25px;
    padding: 14px 24px;
    display: inline-block;
    /*border-radius: 4px;*/
    text-align: center;
    float: right;
    margin-top: 4px;
}

#welcome p {
    font-size: 1em;
}

.item {
    margin-bottom: 20px;
}

.section-heading {
    margin: 50px 0 40px;
    text-align: center;
}

.section-heading p {
    color: #333;
    font-weight: 300;
}

.features {
    margin-top: 80px;
    margin-bottom: 0;
}

div#about {
    position: relative;
}

div#about .about-item {
    text-align: center;
    font-size: 1.1em;
    line-height: 25px;
    color: #333;
}

div#about .about-item h2 {
    font-size: 1.25em;
}

div#about .about-item p {
    font-size: 1em;
}

div#about .about-item i.fa {
    border: 2px solid var(--mainred);
    color: var(--mainred);
    border-radius: 50%;
    padding: 0;
    transition: all 0.25s ease-in-out;
    width: 140px;
    height: 140px;
    line-height: 140px;
}

div#about .about-item:hover i.fa {
    color: #ffffff;
    background: var(--mainred);
}

.social-icons ul li {
    margin-bottom: 15px;
}

.social-icons ul li a {
    padding: 12px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    transition: all 0.5s ease-in-out;
    color: #ffffff !important;
}

.social-icons ul li a:hover {
    text-decoration: none;
    opacity: 0.7;
}

.social-icons ul li .fa-facebook {
    background: #3b5998;
}

.social-icons ul li .fa-whatsapp {
    background: #2fb444;
}

.offer {
    display: flex;
    justify-content: center;
    padding: 20px;
    background-color: var(--lightgrey);
}

.offer .item {
    display: flex;
    margin-bottom: 0 !important;
    align-items: center;
    flex-direction: column;
}

.offer .caption {
    flex-grow: 1;
    width: 100%;
}

.offer .footer {
    align-self: flex-end;
    margin: 0 auto 12px auto;
}

.produktboxgrid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    padding: 20px 0;
    margin-top: 40px;
}

a.quicklinkbox {
    width: calc(100% / 4 - 30px);
    display: inline-block;
    margin-bottom: 18px;
}

a.quicklinkbox:hover {
    box-shadow: 0 0 7px rgba(0, 0, 0, 0.3);
}

.mastersquare {
    position: relative;
    width: 100%;
    background-color: #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mastersquare:after {
    content: "";
    display: block;
    padding-bottom: 100%;
}

.mastersquare img {
    -o-object-fit: contain;
    object-fit: contain;
    width: 50%;
    margin-bottom: 35px;
}

.mastersquare_info {
    width: 100%;
    padding: 10px 0;
    font-size: 1.05em;
    font-weight: 500;
    text-align: center;
    position: absolute;
    bottom: 25px;
}

.topbtn {
    display: inline-block;
    width: 32px;
    height: 32px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(../../static/images/top.svg);
}

footer {
    background-color: var(--lightgrey);
    padding: 40px 0;
    color: #555;
    font-size: .9em;
}

.footerwrapper {
    display: flex;
    gap: 30px;
}

.footercol {
    flex: 1;
    color: #555;
}

.footercol a {
    color: #555;
}

.footercol a:hover {
    color: var(--mainred);
}

.footercol h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.2em;
    font-weight: bold;
}

.footercol.is-last {
    text-align: right;
}

ul.footerlist {
    margin-left: 0;
    padding-left: 0;
    list-style-type: none;
}

ul.footerlist img {
    width: 250px !important;
}

ul.footerlist li a {
    display: block;
    width: auto;
    padding: 6px 0;
    transition: all 0.5s ease;
    color: #555;
}

ul.footerlist li a:link,
ul.footerlist li a:visited {
    text-decoration: none;
}

ul.footerlist li a:hover,
ul.footerlist li a:focus {
    color: var(--mainred);
    padding: 6px 10px;
}

.footerzeile {
    color: #333;
    display: flex;
    justify-content: space-between;
    border-top: 1px dotted #555;
    border-bottom: 1px dotted #555;
    margin-top: 42px;
    align-items: center;
    margin-bottom: 24px;
    width: 100%;
    padding: 12px 0 10px 0;
    font-size: .9em;
}

.footerzeile a {
    color: #555;
}

.footerzeile a:hover {
    color: var(--mainred);
}

.socialwrap {
    position: relative;
    text-align: center;
    margin: 15px 0;
    width: 100%;
}

ul.socialmedia {
    padding: 0;
    margin: 0;
}

.socialmedia li {
    display: inline-block;
}

.socialmedia li a.icon {
    position: relative;
    width: 40px;
    height: 40px;
    margin: 0 10px;
    text-align: center;
    display: inline-block;
    background-image: url(../../static/images/icon/icon_facebook.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    border-radius: 10px;
}

.socialmedia li a.icon:hover,
.socialmedia li a.icon:focus {
    opacity: 0.7;
}

.socialmedia li a.icon.fb {
    background-image: url(../../static/images/icon/icon_facebook.svg);
}

.socialmedia li a.icon.yo {
    background-image: url(../../static/images/icon/icon_youtube.svg);
}

.socialmedia li a.icon.in {
    background-image: url(../../static/images/icon/icon_instagram.svg);
}

@media (max-width: 1023px) {
    nav {
        position: absolute;
        top: 90px;
        right: 0;
        left: 0;
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 40px;
        background: var(--lightgrey);
        border-bottom: 1px solid #e5e5e5;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: max-height 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
    }

    nav.open {
        min-height: 100vh;
        max-height: 1500px;
        opacity: 1;
        transform: translateY(0);
    }

    .burger {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
    }
}

@media (max-width: 960px) {

    .notice {
        font-size: 1.1em;
        width: 100%;
        float: none;
    }

    nav {
        gap: 15px;
    }

    .mastersquare_info {
        font-size: .9em;
        bottom: 10px;
    }

    #slider1_container:after {
        content: "";
        display: block;
        height: auto;
        padding-bottom: 86%;
    }

    h1 {
        font-size: 1.6em;
    }

    .twocol-wrapper {
        margin: 40px 0;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .threecol-wrapper {
        margin: 40px 0;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .fourcol-wrapper {
        margin: 40px 0;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .is-70,
    .is-30 {
        width: 100%;
    }

    a.quicklinkbox {
        width: calc(100% / 2 - 2%);
    }

    .nomobile,
    .no-mobile,
    .nomobi,
    .no-mobi {
        display: none;
    }

    .footerwrapper {
        display: block;
        gap: 30px;
        padding: 0 10px;
    }

    .footercol {
        margin-bottom: 70px;
    }

    .footercol.is-last {
        text-align: left;
        margin-bottom: 10px;
    }


}

@media (max-width: 767px) {

    .stoerer {
    width: 220px;
}
  }

/* --- Cookie Overlay --- */
.cookie-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.8);
	display: none; /* per JS auf flex gesetzt */
	align-items: center;
	justify-content: center;
	z-index: 9999;
	font-family: inherit;
    font-size: .9em;
    backdrop-filter: blur(4px);
}

.cookie-modal {
	background: #fff;
	max-width: 560px;
	width: 90%;
	padding: 1.5rem;
	border-radius: 8px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cookie-modal h2 {
	margin-top: 0;
	margin-bottom: 0.5rem;
}

.cookie-list {
	list-style: none;
	padding: 0;
	margin: 1rem 0;
    margin-bottom: 30px;
}

.cookie-list li {
	margin-bottom: 1.5rem;
}

.cookie-list label {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	cursor: pointer;
}

.cookie-list small {
	display: block;
	margin-left: 1.5rem;
	color: #666;
	font-size: 0.85rem;
}

.cookie-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
}

.cookie-actions button {
	cursor: pointer;
	padding: 0.4rem 0.8rem;
	border-radius: 4px;
	border: 1px solid #ccc;
	background: #f5f5f5;
}

.cookie-actions #cookie-accept-all {
	background: #333;
	color: #fff;
	border-color: #333;
}

/* --- Thirdparty Boxen --- */
.thirdparty-consent-box {
	border: 1px solid #ddd;
	padding: 1rem;
	margin: 1rem 0;
	background: #f8f8f8;
	font-size: 0.95rem;
}

.thirdparty-consent-box button {
	cursor: pointer;
	padding: 0.4rem 0.8rem;
	border: none;
	background: #333;
	color: #fff;
	border-radius: 4px;
}

.thirdparty-consent-box button:hover {
	opacity: 0.9;
}

.thirdparty-consent-box small {
	display: block;
	margin-top: 0.5rem;
	color: #666;
	font-size: 0.85rem;
}

/* --- Cookie-Einstellungen Button --- */
.cookie-open-btn {
    appearance: none;
    border: none;
    cursor: pointer;
    color: #555;
}

/* roboto-100 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/roboto-v49-latin-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-200 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/roboto-v49-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-300 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/roboto-v49-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v49-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-500 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/roboto-v49-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-600 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/roboto-v49-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-700 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/roboto-v49-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-800 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/roboto-v49-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* roboto-900 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/roboto-v49-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}