html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video, dialog {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

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

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

strong, b {
  font-weight: 700;
}

i, em {
  font-style: italic;
}

input, select, textarea {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -webkit-border-radius: 0;
  border-radius: 0;
}

.invisible {
  display: none;
}

button, input.submit {
  cursor: pointer;
  -webkit-border-radius: 0;
  border-radius: 0;
}

sub, sup {
  font-size: 70%;
  line-height: 0;
  position: relative;
}

sup {
  top: -0.4em;
}

sub {
  bottom: -0.25em;
}

* {
  box-sizing: border-box;
}

/* MIXINS */
/* VARIABLEN */
:root {
  --nav-width: clamp(220px, 70vw, 280px);
}

/* CSS Document */
html {
  background-color: #dadada;
}
html #wrapper > *,
html #wrapper aside .mod_navigation ul,
html body #wrapper > *,
html body #wrapper aside .mod_navigation ul {
  transition: transform 0.5s;
}
html:has(aside button.nav-toggle[aria-pressed=true]),
html body:has(aside button.nav-toggle[aria-pressed=true]) {
  overflow-y: hidden;
}
html:has(aside button.nav-toggle[aria-pressed=true]) #wrapper > *,
html body:has(aside button.nav-toggle[aria-pressed=true]) #wrapper > * {
  transform: translateX(calc(var(--nav-width) * -1));
}

body {
  font-family: Roboto Condensed;
  min-height: 100dvh;
}

a {
  color: #393939;
}
a:hover {
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
  height: auto;
  width: 100%;
}

figure {
  width: 100%;
}

.block {
  padding: 28px;
}

.mod_article {
  padding: unset;
}

#logo {
  margin-inline: 20px;
  margin-top: 10px;
}

h1 {
  font-weight: normal;
  color: #e2001a;
  font-size: 2rem;
  margin-block: 1rem;
  line-height: 1.2;
}

#container {
  display: flex;
  max-width: 1200px;
  margin-inline: auto;
  gap: 40px;
}

/* NAVIGATION */
#navi-main {
  text-align: center;
}
#navi-main ul {
  margin: 0;
  padding: 0;
}
#navi-main ul li {
  list-style-type: none;
  font-size: 22px;
  text-transform: uppercase;
  color: #393939;
  border-top: 1px solid #707173;
}
#navi-main ul li a {
  text-decoration: none;
  color: #393939;
  display: block;
  padding: 20px 0;
}
#navi-main ul li a:hover {
  background: url("images/bg-navi.png");
}
#navi-main ul li.active {
  padding: 20px 0;
  background: url("images/bg-navi.png");
}
#navi-main ul li.trail {
  background: url("images/bg-navi.png");
}
#navi-main ul li .subline {
  font-size: 14px;
  color: #6b6b6b;
  display: block;
  text-transform: none;
}

/* LEFT */
#left {
  background-color: #ffffff;
  width: 240px;
  flex-shrink: 0;
}
#left > .inside {
  padding-block: 22px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
#left > .inside > * {
  padding-inline: 22px;
}
#left .nav-toggle {
  display: none;
}
#left a.logo {
  display: block;
  flex-shrink: 0;
}
#left a.logo span {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 202/210;
  background: url(./images/logo-schmitt.png) no-repeat scroll 0% 50%;
  background-size: contain;
}
#left .phone {
  display: block;
  background-color: #e2001a;
  color: #ffffff;
  text-decoration: unset;
  padding-block: 20px;
  font-size: 22px;
  text-align: center;
}
#left .phone:hover, #left .phone:focus {
  text-decoration: underline;
}

#telefon-links {
  background: #e2001a;
  text-align: center;
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 20px;
}
#telefon-links p {
  padding: 20px 0;
}

#main {
  width: 100%;
}
#main .inside {
  background: url("images/bg-trans.png");
  font-size: 15px;
  line-height: 22px;
  color: #434344;
  padding-block: 12px;
}

#fusszeile {
  font-size: 13px;
  color: #707173;
  border-top: 1px solid #bdbdbd;
  margin-top: 1rem;
}
#fusszeile a {
  color: #707173;
}
#fusszeile a:hover {
  text-decoration: none;
}

/* Formular */
.ce_form input {
  width: 300px;
  margin-bottom: 6px;
  border: none;
  padding: 6px;
  font-family: Roboto Condensed;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.ce_form input:hover {
  background-color: #f1f1f1;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.ce_form textarea {
  width: 300px;
  padding: 6px;
  font-family: Roboto Condensed;
  border: none;
  margin-bottom: 6px;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.ce_form textarea:hover {
  background-color: #f1f1f1;
  -webkit-transition: all 0.2 ease-in-out;
  -moz-transition: all 0.2 ease-in-out;
  -ms-transition: all 0.2 ease-in-out;
  -o-transition: all 0.2 ease-in-out;
  transition: all 0.2 ease-in-out;
}
.ce_form .submit {
  width: 150px;
}
.ce_form .captcha_text {
  display: block;
  padding: 6px;
  margin-bottom: 6px;
  font-weight: bold;
}
.ce_form label {
  display: none;
}
.ce_form .submit {
  background-color: #e2001a;
  color: #ffffff;
  font-weight: bold;
  padding: 0;
  padding-top: 3px;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.ce_form .submit:hover {
  cursor: pointer;
  background-color: #e43448;
  -webkit-transition: all 0.3s ease-in-out;
  -moz-transition: all 0.3s ease-in-out;
  -ms-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}
.ce_form p.error {
  background-color: #e2001a;
  width: 300px;
  padding: 6px;
  color: #ffffff;
}

.warning {
  background-color: #e2001a;
  width: 300px;
  padding: 6px;
  color: #ffffff;
}

.ce_text {
  padding-block: unset;
}
.ce_text:has(a img) p {
  display: flex;
  justify-content: center;
}
.ce_text:has(a img) p img {
  height: 65px;
}
.ce_text p + p {
  margin-top: 1rem;
}
.ce_text + .ce_text {
  margin-top: 2rem;
}

.ce_gallery > ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.ce_gallery > ul.cols_4 > li {
  flex-basis: 25%;
}
.ce_gallery > ul.cols_3 > li {
  flex-basis: 33.3333333333%;
}
.ce_gallery > ul.cols_2 > li {
  flex-basis: 50%;
}
.ce_gallery > ul.cols_1 > li {
  flex-basis: 100%;
}
.ce_gallery > ul > li figure {
  padding: 5px;
  margin: 0 !important;
}

.ce_headline:is(h2), .ce_headline h2, .ce_text:is(h2), .ce_text h2 {
  font-size: 18px;
  font-weight: bold;
}

.ce_headline {
  margin-block: 1rem;
  padding-inline: 28px;
}

button.submit {
  border: none;
  padding: 6px 12px !important;
}

@media (max-width: 1260px) {
  #container {
    flex-direction: column;
  }
  #left {
    width: 100%;
  }
  #left > .inside {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding-inline: 28px;
    padding-block: 0.75rem;
  }
  #left a.logo {
    height: 80px;
    margin: unset;
    padding: unset;
  }
  #left .nav-toggle {
    display: block;
  }
  #left .phone {
    display: none;
  }
  #left .socials {
    display: none;
  }
  #left .mod_navigation {
    padding: unset;
  }
  #left .mod_navigation ul {
    visibility: hidden;
    position: fixed;
    z-index: 10;
    right: 0;
    top: 0;
    display: flex;
    flex-direction: column;
    width: var(--nav-width);
    height: 100dvh;
    font-size: 18px;
    box-shadow: inset 7px 0 9px -7px rgba(0, 0, 0, 0.4);
    transform: translateX(var(--nav-width));
    overflow: auto;
    scrollbar-width: none;
    background-color: #ffffff;
  }
  #left .mod_navigation ul li {
    font-size: 16px;
  }
  #left .mod_navigation ul span:last-of-type {
    display: none;
  }
  #left div.nav-toggle button {
    padding: unset;
    margin: unset;
    border: unset;
    background: transparent;
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    color: black;
  }
  #left div.nav-toggle button svg {
    width: 30px;
    transform: scale(2.2);
    transition: transform 400ms;
  }
  #left div.nav-toggle button svg path {
    fill: none;
    transition: stroke-dasharray 400ms, stroke-dashoffset 400ms;
    stroke: currentColor;
    stroke-width: 5.5;
    stroke-linecap: round;
  }
  #left div.nav-toggle button svg path:nth-of-type(1) {
    stroke-dasharray: 40 139;
  }
  #left div.nav-toggle button svg path:nth-of-type(3) {
    stroke-dasharray: 40 180;
  }
  #left div.nav-toggle button[aria-pressed=true] svg {
    transform: scale(2.2) rotate(45deg);
  }
  #left div.nav-toggle button[aria-pressed=true] svg path:nth-of-type(1) {
    stroke-dashoffset: -98px;
  }
  #left div.nav-toggle button[aria-pressed=true] svg path:nth-of-type(3) {
    stroke-dashoffset: -138px;
  }
}
