body,form,figure{margin:0;padding:0}img{border:0}header,footer,nav,section,aside,article,figure,figcaption{display:block}body{font-size:100.01%}select,input,textarea{font-size:99%}#container,.inside{position:relative}#main,#left,#right{float:left;position:relative}#main{width:100%}#left{margin-left:-100%}#right{margin-right:-100%}#footer{clear:both}#main .inside{min-height:1px}.ce_gallery>ul,.content-gallery>ul{margin:0;padding:0;overflow:hidden;list-style:none}.ce_gallery>ul li,.content-gallery>ul li{float:left}.ce_gallery>ul li.col_first,.content-gallery>ul li.col_first{clear:left}.float_left,.media--left>figure{float:left}.float_right,.media--right>figure{float:right}.block{overflow:hidden}.media{display:flow-root}.clear,#clear{height:.1px;font-size:.1px;line-height:.1px;clear:both}.invisible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.custom{display:block}#container:after,.custom:after{content:"";display:table;clear:both}
@media (max-width:767px){#wrapper{margin:0;width:auto}#container{padding-left:0;padding-right:0}#main,#left,#right{float:none;width:auto}#left{right:0;margin-left:0}#right{margin-right:0}}img{max-width:100%;height:auto}.audio_container audio{max-width:100%}.video_container video{max-width:100%;height:auto}.aspect,.responsive{position:relative;height:0}.aspect iframe,.responsive iframe{position:absolute;top:0;left:0;width:100%;height:100%}.aspect--16\:9,.responsive.ratio-169{padding-bottom:56.25%}.aspect--16\:10,.responsive.ratio-1610{padding-bottom:62.5%}.aspect--21\:9,.responsive.ratio-219{padding-bottom:42.8571%}.aspect--4\:3,.responsive.ratio-43{padding-bottom:75%}.aspect--3\:2,.responsive.ratio-32{padding-bottom:66.6666%}.aspect--9\:16,.responsive.ratio-916{padding-bottom:177.7777%}.aspect--1\:1,.responsive.ratio-11{padding-bottom:100%}
.rs-columns {
  clear: both;
  display: inline-block;
  width: 100%;
}

.rs-column {
  float: left;
  width: 100%;
  margin-top: 7.69231%;
  margin-right: 7.69231%;
}
.rs-column.-large-first {
  clear: left;
}
.rs-column.-large-last {
  margin-right: -5px;
}
.rs-column.-large-first-row {
  margin-top: 0;
}
.rs-column.-large-col-1-1 {
  width: 100%;
}
.rs-column.-large-col-2-1 {
  width: 46.15385%;
}
.rs-column.-large-col-2-2 {
  width: 100%;
}
.rs-column.-large-col-3-1 {
  width: 28.20513%;
}
.rs-column.-large-col-3-2 {
  width: 64.10256%;
}
.rs-column.-large-col-3-3 {
  width: 100%;
}
.rs-column.-large-col-4-1 {
  width: 19.23077%;
}
.rs-column.-large-col-4-2 {
  width: 46.15385%;
}
.rs-column.-large-col-4-3 {
  width: 73.07692%;
}
.rs-column.-large-col-4-4 {
  width: 100%;
}
.rs-column.-large-col-5-1 {
  width: 13.84615%;
}
.rs-column.-large-col-5-2 {
  width: 35.38462%;
}
.rs-column.-large-col-5-3 {
  width: 56.92308%;
}
.rs-column.-large-col-5-4 {
  width: 78.46154%;
}
.rs-column.-large-col-5-5 {
  width: 100%;
}
.rs-column.-large-col-6-1 {
  width: 10.25641%;
}
.rs-column.-large-col-6-2 {
  width: 28.20513%;
}
.rs-column.-large-col-6-3 {
  width: 46.15385%;
}
.rs-column.-large-col-6-4 {
  width: 64.10256%;
}
.rs-column.-large-col-6-5 {
  width: 82.05128%;
}
.rs-column.-large-col-6-6 {
  width: 100%;
}
@media screen and (max-width: 900px) {
  .rs-column {
    margin-top: 7.69231%;
    margin-right: 7.69231%;
  }
  .rs-column.-large-first {
    clear: none;
  }
  .rs-column.-large-last {
    margin-right: 7.69231%;
  }
  .rs-column.-large-first-row {
    margin-top: 7.69231%;
  }
  .rs-column.-medium-first {
    clear: left;
  }
  .rs-column.-medium-last {
    margin-right: -5px;
  }
  .rs-column.-medium-first-row {
    margin-top: 0;
  }
  .rs-column.-medium-col-1-1 {
    width: 100%;
  }
  .rs-column.-medium-col-2-1 {
    width: 46.15385%;
  }
  .rs-column.-medium-col-2-2 {
    width: 100%;
  }
  .rs-column.-medium-col-3-1 {
    width: 28.20513%;
  }
  .rs-column.-medium-col-3-2 {
    width: 64.10256%;
  }
  .rs-column.-medium-col-3-3 {
    width: 100%;
  }
  .rs-column.-medium-col-4-1 {
    width: 19.23077%;
  }
  .rs-column.-medium-col-4-2 {
    width: 46.15385%;
  }
  .rs-column.-medium-col-4-3 {
    width: 73.07692%;
  }
  .rs-column.-medium-col-4-4 {
    width: 100%;
  }
  .rs-column.-medium-col-5-1 {
    width: 13.84615%;
  }
  .rs-column.-medium-col-5-2 {
    width: 35.38462%;
  }
  .rs-column.-medium-col-5-3 {
    width: 56.92308%;
  }
  .rs-column.-medium-col-5-4 {
    width: 78.46154%;
  }
  .rs-column.-medium-col-5-5 {
    width: 100%;
  }
  .rs-column.-medium-col-6-1 {
    width: 10.25641%;
  }
  .rs-column.-medium-col-6-2 {
    width: 28.20513%;
  }
  .rs-column.-medium-col-6-3 {
    width: 46.15385%;
  }
  .rs-column.-medium-col-6-4 {
    width: 64.10256%;
  }
  .rs-column.-medium-col-6-5 {
    width: 82.05128%;
  }
  .rs-column.-medium-col-6-6 {
    width: 100%;
  }
}
@media screen and (max-width: 599px) {
  .rs-column {
    margin-top: 7.69231%;
    margin-right: 7.69231%;
  }
  .rs-column.-large-last {
    margin-right: 7.69231%;
  }
  .rs-column.-large-first-row {
    margin-top: 7.69231%;
  }
  .rs-column.-medium-first {
    clear: none;
  }
  .rs-column.-medium-last {
    margin-right: 7.69231%;
  }
  .rs-column.-medium-first-row {
    margin-top: 7.69231%;
  }
  .rs-column.-small-first {
    clear: left;
  }
  .rs-column.-small-last {
    margin-right: -5px;
  }
  .rs-column.-small-first-row {
    margin-top: 0;
  }
  .rs-column.-small-col-1-1 {
    width: 100%;
  }
  .rs-column.-small-col-2-1 {
    width: 46.15385%;
  }
  .rs-column.-small-col-2-2 {
    width: 100%;
  }
  .rs-column.-small-col-3-1 {
    width: 28.20513%;
  }
  .rs-column.-small-col-3-2 {
    width: 64.10256%;
  }
  .rs-column.-small-col-3-3 {
    width: 100%;
  }
  .rs-column.-small-col-4-1 {
    width: 19.23077%;
  }
  .rs-column.-small-col-4-2 {
    width: 46.15385%;
  }
  .rs-column.-small-col-4-3 {
    width: 73.07692%;
  }
  .rs-column.-small-col-4-4 {
    width: 100%;
  }
  .rs-column.-small-col-5-1 {
    width: 13.84615%;
  }
  .rs-column.-small-col-5-2 {
    width: 35.38462%;
  }
  .rs-column.-small-col-5-3 {
    width: 56.92308%;
  }
  .rs-column.-small-col-5-4 {
    width: 78.46154%;
  }
  .rs-column.-small-col-5-5 {
    width: 100%;
  }
  .rs-column.-small-col-6-1 {
    width: 10.25641%;
  }
  .rs-column.-small-col-6-2 {
    width: 28.20513%;
  }
  .rs-column.-small-col-6-3 {
    width: 46.15385%;
  }
  .rs-column.-small-col-6-4 {
    width: 64.10256%;
  }
  .rs-column.-small-col-6-5 {
    width: 82.05128%;
  }
  .rs-column.-small-col-6-6 {
    width: 100%;
  }
}

/* SCSS KWER */

:root {
  --font1: neue-haas-grotesk-display, sans-serif;
  --font2: neue-haas-grotesk-display, sans-serif;

}

/* Marquee styles */
.marquee {
  --gap: 2vw;
  position: relative;
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--gap);
  text-transform: uppercase;
}

.marquee__content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  gap: var(--gap);
  min-width: 100%;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}

/* Pause animation when reduced-motion is set */
@media (prefers-reduced-motion: reduce) {
  .marquee__content {
    animation-play-state: paused !important;
  }
}

/* Enable animation */

.enable-animation .marquee__content {
  animation: scroll 25s linear infinite;
}

/* Reverse animation */
.marquee--reverse .marquee__content {
  animation-direction: reverse;
}

/* Pause on hover */
.marquee--hover-pause:hover .marquee__content {
  animation-play-state: paused;
}

/* Attempt to size parent based on content. Keep in mind that the parent width is equal to both content containers that stretch to fill the parent. */
.marquee--fit-content {
  max-width: fit-content;
}

/* A fit-content sizing fix: Absolute position the duplicate container. This will set the size of the parent wrapper to a single child container. Shout out to Olavi's article that had this solution ðŸ‘ @link: https://olavihaapala.fi/2021/02/23/modern-marquee.html  */
.marquee--pos-absolute .marquee__content:last-child {
  position: absolute;
  top: 0;
  left: 0;
}

/* Enable position absolute animation on the duplicate content (last-child) */
.enable-animation .marquee--pos-absolute .marquee__content:last-child {
  animation-name: scroll-abs;
}

@keyframes scroll-abs {
  from {
    transform: translateX(calc(100% + var(--gap)));
  }

  to {
    transform: translateX(0);
  }
}

.marquee__content {
  margin: 0;
  padding: 0;
}

/* Other page demo styles */
.marquee__content>* {
  flex: 0 0 auto;
  color: black;
  list-style: none;
  margin: 0px;
  padding: 1rem 0.1rem;
  border-radius: 0.25rem;
  text-align: center;
  font-size: 2.5em;
  line-height: 1.2em;
  font-weight: 600;
  font-family: var(--font2);
}

/* .marquee--reverse .marquee__content>* {
  color: white !important;
  -webkit-text-stroke-width: 1px !important;
  -webkit-text-stroke-color: black !important;
} */

.marquee li:nth-child(odd) {
  color: white;
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: black;
}

/* .marquee__content li a {
  color: #000000;
  text-decoration: none;
}

.marquee__content li a:hover {
  color: #000000;
} */

/* .marquee--reverse .marquee__content li a {
  color: #FFFFFF;
  text-decoration: none;
}

.marquee--reverse .marquee__content li a:hover {
  color: #FFFFFF;
} */

section {
  padding: 1rem 0;

}

section>*+* {
  margin-block-start: 0.5rem;

}
:root {
  --col1: #E8E2DA;
  --col2: #755A49;
  --hg: #ffffff;
  --white: #ffffff;
  --black: #000000;
  --grey: #755A49;
  --width: 100%;
  --maxwidth: 1350px;
  --font1: gotham, sans-serif;
  --font2: elza, sans-serif;
}

html {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background: var(--hg);
  font-family: var(--font2);
  font-style: normal;
  font-size: 1.7em;
  line-height: 1.2;
  font-weight: 300;
  letter-spacing: 0px;
}

canvas {
    display: block;
    position: absolute;
    top:0px;
    z-index:-1;
}

.lil-gui.root {
    position: absolute;
    top: auto !important;
    bottom: -120px;
    right: 20px;
    display: none;
}

/* body{
  background: linear-gradient(
    90deg,
    var(--col1) 0%,
    var(--col2) 70%,
    var(--grey) 100%
  );
}
*/

/* .content-text {
  max-width: 95%;
} */

*:focus,
*:active {
  outline: none;
}

.capitalize {
  text-transform: capitalize;
}

.mt-auto {
  margin-top: auto;
}

.mb-zero {
  margin-bottom: 0;
}

.text-no-margin-bot :last-child p:last-child {
  margin-bottom: 0;
}

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

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

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

.justify-end {
  justify-content: end;
}

.wrap {
  flex-wrap: wrap;
}

.wrap-reverse {
  flex-wrap: wrap-reverse;
}

.absolute {
  position: absolute;
}

.full-width {
  width: 100%;
}

.gap-sm {
  gap: 15px;
}

a {
  text-decoration: none;
}

.impr #main a {
  text-decoration: underline;
}

.impr .mod_breadcrumb li a {
  color: var(--black);
}

.impr .mod_breadcrumb li.active {
  color: var(--black);
}

.background-gray {
  background-color: var(--col1);
}

h1,
h2 {
  font-size: 4.7em;
  line-height: 1;
  color: var(--black);
  font-family: var(--font1);
  text-transform: uppercase;
  margin-top: 0px;
  margin-bottom: 50px;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.impr h2 {
  font-size: 1.6em;
  margin-top: 70px;
  margin-bottom: 0px;
}

h3 {
  font-size: 1.2em;
  font-weight: 300;
  line-height: 1.2;
}

p {
  font-size: 1.6em;
  font-weight: 600;
  line-height: 1.2;
  margin-top: 30px;
  margin-bottom: 30px;
}

.button a,
.kostencheck .widget-submit button.submit {
  font-size: 1.6em;
  font-weight: 600;
  line-height: 1;
  color: var(--black);
  position: relative;
  transition: all 0.3s ease-out;
  -webkit-transition: all 0.3s ease-out;
  display: flex;
  align-items: center;
  gap: 10px;
  height: fit-content;
}

.button.justify-end a {
  justify-content: end;
}

.button a::before,
.kostencheck .widget-submit button.submit::before {
  content: "";
  width: 32px;
  height: 33px;
  /* position: absolute; */
  display: inline-block;
  background-image: url('/files/grafiken/arr-right.svg');
  left: 0px;
  top: 14px;
  background-size: 100%;
  background-repeat: no-repeat;
  transition: all 0.3s ease-out;
  -webkit-transition: all 0.3s ease-out;
}

@media (hover: hover) and (pointer: fine) {
  .button a:hover,
  .kostencheck .widget-submit button.submit:hover {
    /* padding-left: 75px; */
    transform: translateX(10px);
    transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
  }
}

@media (hover: hover) and (pointer: fine) {
  .button a:hover::before,
  .kostencheck .widget-submit button.submit:hover::before {
    left: 10px;
    transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
  }
}

.button.white a {
  color: var(--white);
}

.button.white a::before {
  background-image: url('/files/grafiken/arr-right-white.svg');
}

@media (hover: hover) and (pointer: fine) {
  .button.white a:hover {
    opacity: 0.8;
    transition: all 0.3s ease-out;
    -webkit-transition: all 0.3s ease-out;
  }
}

p strong,
strong {
  font-weight: 550;
  letter-spacing: 0.5px;
}

p a {
  color: var(--black);
  text-decoration: none;
}

.pad-top {
  padding-top: 100px;
}

.pad-right {
  padding-right: 100px;
}

.pad-left {
  padding-left: 100px;
}

.small-pad-top {
  padding-top: 50px;
}

.small-pad-left {
  padding-left: 50px;
}

.small-pad-right {
  padding-right: 50px;
}

.container {
  padding-right: 50px;
  padding-left: 50px;
}

.rs-column {
  margin-top: 0;
  margin-right: 0;
}

.pad-bot {
  padding-bottom: 100px;
}

.small-pad-bot {
  padding-bottom: 50px;
}

.big-pad-top {
  padding-top: 200px;
}

.big-pad-bot {
  padding-bottom: 200px;
}

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

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

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

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

.relative {
  position: relative;
}

.z-index {
  z-index: 10;
}

.margin-left {
  margin-left: -300px !important;
}

.backg-white {
  background-color: var(--white);
}

.black p {
  color: var(--black);
}

.white h2,
.white p {
  color: var(--white) !important;
}

.text-70 {
  width: 70%;
}

.text-80 {
  width: 80%;
}

.text-long p {
  width: 100%;
  color: var(--black);
  font-size: 2.5em;
  font-weight: 600;
  line-height: 1.2;
  max-width: 1700px;
}

.name {
  font-size: 2em;
  color: var(--col6);
}

/* GRID */

.two-grid {
  display: grid;
  grid-gap: 0%;
  grid-template-columns: 1fr 1fr;
}

.two-grid-short {
  display: grid;
  grid-gap: 3%;
  grid-template-columns: 0.7fr 1fr;
}

.two-grid-2 {
  display: grid;
  grid-gap: 15%;
  grid-template-columns: 1.8fr 1fr;
  width: 100%;
  padding-left: 50px;
  padding-right: 50px;
}

.two-grid-3 {
  display: grid;
  grid-gap: 8%;
  grid-template-columns: 0.8fr 1fr;
  width: 100%;
  padding-left: 50px;
  padding-right: 50px;
}

.two-grid-4 {
  display: grid;
  grid-gap: 8%;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  padding-left: 50px;
  padding-right: 50px;
}

.three-grid {
  display: grid;
  grid-gap: 30px;
  grid-template-columns: 1fr 1fr 1fr;
}

.two-grid img,
.two-grid-2 img,
.two-grid-3 img,
.two-grid-short img {
  width: 100%;
  height: auto;
}

/* Buttons */

.big-button {
  border: 1.5px solid var(--black);
  border-radius: 30px;
  padding: 40px;
  transition: all 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .big-button:hover {
    border: 1.5px solid var(--black);
    background-color: var(--black);
    color: var(--white);
  }
}

.big-button h3 {
  margin-top: 0px;
  font-weight: 600;
  font-size: 1.3em;
  margin-bottom: 15px !important;
}

.big-button p {
  margin-bottom: 0px;
  margin-top: 0px;
  font-weight: 300;
  font-size: 1.1em;
}

.header-button span,
.about-button p,
.contact-button-black a,
.button-white-arrow a {
  display: inline-block;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-button-white a {
  display: inline-block;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.button-white-normal p {
  display: inline-block;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.header-slider img {
  opacity: 0.6;
}

.header-button {
  /* position: absolute; */
  right: 50px;
  top: 50px;
  text-align: right;
  /* width: 450px; */
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: end;
  margin-left: auto;
}

.header-button span {
  border: 1.5px solid var(--white);
  color: var(--white);
  padding: 10px 40px;
  margin-bottom: 15px;
  width: fit-content;
}

.about-button p {
  font-size: 1em;
  font-weight: 300;
  border: 1.5px solid black;
  color: var(--black);
  padding: 10px 40px;
  margin: 0px;
  text-transform: capitalize;
}

.white .about-button p {
  border-color: var(--white);
}

.contact-button-black a {
  border: 1.5px solid var(--black);
  color: var(--black);
  padding: 10px 40px 10px 80px;
  text-decoration: none !important;
}

.contact-button-white a {
  border: 1.5px solid var(--white);
  color: var(--white);
  padding: 10px 40px 10px 80px;
  text-decoration: none !important;
}

.button-white-normal p {
  border: 1.5px solid var(--white);
  color: var(--white);
  padding: 10px 30px 10px 30px;
  font-size: 1em;
  font-weight: 100;
}

.button-white-arrow {
  padding: 10px 30px;
  border: 1.5px solid white;
  font-size: 1.4rem;
  font-weight: 500;
  color: white;
  border-radius: 50px;
}

@media (hover: hover) and (pointer: fine) {
  .button-white-arrow:hover,
  .contact-button-black a:hover {
    background-color: black;
    color: white;
  }
}

@media (hover: hover) and (pointer: fine) {
  .contact-button-white a:hover {
    background-color: white;
    color: black;
  }
}

.contact-button-black a:after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url("../../files/grafiken/arrow-right.svg");
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: 35px;
  top: 19px;
}

@media (hover: hover) and (pointer: fine) {
  .contact-button-black a:hover:after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url("../../files/grafiken/arrow-right-white.svg");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 35px;
    top: 19px;
  }
}

.contact-button-white a:after {
  content: "";
  display: inline-block;
  position: absolute;
  width: 24px;
  height: 24px;
  background-image: url("../../files/grafiken/arrow-right-white.svg");
  background-size: contain;
  background-repeat: no-repeat;
  left: 35px;
  top: 19px;
}

@media (hover: hover) and (pointer: fine) {
  .contact-button-white a:hover:after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url("../../files/grafiken/arrow-right.svg");
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    left: 35px;
    top: 19px;
  }
}

.right-list h3 {
  margin-top: 20px;
  margin-bottom: 0;
}

.right-list p {
  margin: 0;
}

.before-header {
  /* position: absolute; */
  top: 50px;
  left: 50px;
  z-index: 10;
}

.before-header img {
  width: min(300px, 60vw);
  height: auto;
}

.after-header {
  position: absolute;
  bottom: 0;
  width: 100%;
}

.header {
  position: relative;
}

.header-text h1 {
  color: var(--white);
  font-size: 10vw;
  font-weight: 700;
  line-height: 0.9;
  position: absolute;
  left: 50px;
  bottom: 150px;
  text-transform: uppercase;
  margin: 0px;
}

.header-cta {
  position: absolute;
  right: 50px;
  bottom: 150px;
}

.concept-text h2 {
  color: #ffffff77;
  font-size: 6vw;
  text-align: right;
  padding-right: 50px;
  font-weight: 580;
  margin: 20px 0;
  text-transform: uppercase;

  @media (hover: hover) and (pointer: fine) {
    &:hover {
      color: var(--white);
    }
  }
}

.concept-text h2 strong {
  background: var(--white);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-picture img {
  height: 100vh !important;
  width: 50vw !important;
  object-fit: cover;
}

#header .inside {
  height: 270px;


  .mod_article {
    height: 100%;
  }
}

.start #header .inside {
  height: 100vh;

}



/* Verlauf */

.font-verlauf {
  background: linear-gradient(to right, #E8E2DA 0%, #866E5E 50%, #755A49 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.background-verlauf {
  background: linear-gradient(to right, #E8E2DA 0%, #866E5E 50%, #755A49 100%);
}

.two-grid.font-verlauf {
  display: unset;
}

.two-grid.font-verlauf h2 {
  font-size: 10vw;
  font-weight: 600;
  margin: 0px;
  text-transform: uppercase;
  padding: 0px;
}

.font-verlauf h2 {
  font-size: 5vw;
  font-weight: 600;
  margin: 0px;
  padding: 0px;
}

.font-verlauf .hl-marg-right h2 {
  margin-right: 5vw !important;
}

.font-verlauf .hl-marg-left h2 {
  margin-left: 10vw !important;
}

.concept-text.font-verlauf h2 {
  font-size: 7vw;
  font-weight: 600;
  margin: 0px;
  padding: 0px;
  line-height: 1.1;
  transition: all 0.3s ease;
}

.concept-text.font-verlauf h2.active,
.concept-text.font-verlauf h2:hover {
  color: var(--white) !important;
  webkit-text-fill-color: white !important;
  -webkit-text-fill-color: white !important;
}

.font-verlauf.bigfont h2 {
  font-size: 8vw !important;
}

.bigfont2 h2 {
  font-size: 9vw !important;
}

/* Footer */

.footer {
  padding: 50px;
  color: white;
  background-color: var(--black);
  display: flex;
  flex-direction: column;
}

.footer-row {
  display: flex;
  column-gap: 30px;
  flex-wrap: wrap;

  &>:last-child {
    margin-left: auto;
    text-align: right;
  }
}

footer ul {
  text-decoration: none;
  list-style: none;
  color: white;
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  column-gap: 30px;

}

footer a {
  color: white;
  text-decoration: none;

  @media (hover: hover) and (pointer: fine) {
    &:hover {
      color: #ffffff99;
    }
  }
}

.footer-row-1,
.footer-row-2 {
  font-weight: 600;
  font-size: clamp(25px, 3vw, 50px);

}

.footer-row-1 ul {
  flex-direction: column;

  a {
    color: #ffffff99;

    @media (hover: hover) and (pointer: fine) {
      &:hover {
        color: white;
      }
    }
  }
}

.footer-row-2>* {
  display: flex;
  flex-direction: column;
}

.kwer-copyright {
  display: flex;
  gap: 10px;
  font-size:1rem!important;
  align-content: center;
}

.kwer-copyright svg {
  width: 80px;
  filter: invert();
  height:20px;
}



.logo {
  width: min(300px, 60vw);
  height: auto;
  object-fit: contain;
}

.background-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/files/bilder/Shooting%20Er%C3%B6ffnung/KWER-PrimePackaging-3942.jpg");
  background-size: cover;
  background-position: center 30%;
  z-index: 1;
  max-height: 1559px;
}

/* Rocksolid Slider */

.rsts-skin-default .rsts-next,
.rsts-skin-default .rsts-prev {
  width: 25px;
  height: 20px;
  background-size: 100%;
  background-color: transparent;
  border: 0;
  box-shadow: none;
  background-repeat: no-repeat;
  transition: all 0.3s ease-out;
  position: absolute;
  bottom: 30px;
}

.rsts-skin-default.rsts-type-fade .rsts-slide {
  background-color: var(--black);
}

.rsts-skin-default .rsts-next {
  background-image: url("../../files/grafiken/arrow-right-white.svg");
  right: 30px;
}

.rsts-skin-default .rsts-prev {
  background-image: url("../../files/grafiken/arrow-left-white.svg");
  left: 30px;
}

@media (hover: hover) and (pointer: fine) {
  .rsts-skin-default .rsts-next:hover {
    right: 23px;
  }
}

@media (hover: hover) and (pointer: fine) {
  .rsts-skin-default .rsts-prev:hover {
    left: 23px;
  }
}

/* Cookiebar */

.cc-inner {
  border-radius: 20px;
  padding: 30px;
  max-width: 600px;
}

.contao-cookiebar .cc-btn {
  border-radius: 14px;
}

.contao-cookiebar .cc-head h3 {
  font-size: 2em;
  font-weight: 600;
  margin-bottom: 10px;
}

.contao-cookiebar .cc-head p {
  color: var(--black);
  font-size: 1.2em;
}

.contao-cookiebar .highlight .success {
  background-color: var(--col2);
  border-color: var(--col2);
}

@media (hover: hover) and (pointer: fine) {
  .contao-cookiebar .highlight .success:hover {
    background-color: var(--col1);
    border-color: var(--col1);
  }
}

.cc-info>a {
  font-size: 1em;
}

/* Breadcrumb */

.mod_breadcrumb ul {
  position: relative;
  margin-bottom: 50px;
  margin-top: 50px;
  padding-left: 3%;
}

.mod_breadcrumb li {
  display: inline-block;
  list-style-type: none;
  color: var(--white);
  font-size: 1em;
  font-weight: 500;
}

.mod_breadcrumb li.active {

  font-weight: 500;
  position: relative;
  margin-left: 15px;
}

.mod_breadcrumb li a {
  color: var(--white);
}

.mod_breadcrumb li.active::before {
  position: absolute;
  content: "|";
  top: 0px;
  left: -15px;
}

.mod_cookiebar_opener {
  margin-top: 30px;
}

.mod_cookiebar_opener a {
  color: var(--black);
}

/* Footer NAV */

/* .footer-bottom {
  margin: 0px;
  padding: 0px;
}

.footer-bottom ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: 40px;
  font-size: 0.9em;
  flex-wrap: wrap;
}

.footer-bottom li {
  display: inline-block;
  list-style: none;
}

.footer-bottom li:nth-child(2) {
  text-align: right;
}

.footer-bottom ul {

  margin: 0px !important;
  padding: 0px;
}

.footer-bottom a {
  color: var(--white);
  text-decoration: none;
  padding-right: 0px;
}

@media (hover: hover) and (pointer: fine) {
  .footer-bottom a:hover {
    text-decoration: underline;
  }
}

.footer-bottom strong.active {
  text-decoration: underline;
  padding-right: 0px;
  font-size: 1.3em;
} */


/* formular */

.ce_form {
  max-width: 1200px;
  margin-inline: auto;
}

.formbody {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.widget {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.widget-explanation.form-heading {
  padding-top: 60px;
  grid-column-start: 1;
  grid-column-end: -1;
  word-break: break-word;
}

/* .widget-upload {
  grid-column-start: 1;
  grid-column-end: -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
} */

.widget:has(>input:is([name="vorname"], [name="email"], [name="adresse"], [name="jahresbedarf"])) {
  grid-column-start: 1;
}

.widget-explanation.form-heading-produktdaten~* {
  grid-column-start: 1;
}


textarea {
  width: 100% !important;
}

.widget-submit {
  width: fit-content;
}

input:not([type=file]),
textarea {
  /* background: #0000000a; */
  background: transparent;
  border: none;
  border-bottom: 1px solid grey;
}

input[type=file] {
  width: 100%;
}

.widget:has(fieldset) {
  grid-column-start: 1;

  &+* {
    grid-column-start: 1;
  }
}



@media (min-width: 1090px) and (max-width: 1449px) {
  body {
    font-size: 1.5em;
  }

  .header-text h1 {
    /* left: 50%; */
    font-size: 3.5em;
  }

  h2 {
    font-size: 3em;
  }

  h3 {
    font-size: 1.1em;
    line-height: 1.2em;
  }

  p {
    font-size: 1.2em;
  }

  .right-list p {
    font-size: 1.1em;
  }

  .big-pad-bot {
    padding-bottom: 150px;
  }

  .big-pad-top {
    padding-top: 150px;
  }

  .pad-top {
    padding-top: 50px;
  }

  .pad-bot {
    padding-bottom: 50px;
  }

  .pad-right {
    padding-right: 50px;
  }

  .pad-left {
    padding-left: 50px;
  }

  .text-long p {
    font-size: 1.4em;
    line-height: 1.3;
  }

  .two-grid-2 {
    grid-gap: 10%;
  }

  .three-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .big-button p {
    font-size: 1em;
  }

  .big-button h3 {
    font-size: 1.2em;
  }

  .contact a,
  .address {
    font-size: 1.2em;
  }
}

@media (min-width: 768px) and (max-width: 1089px) {
  body {
    font-size: 1.3em;
  }

  .header-text h1 {
    /* left: 50%; */
    font-size: 3em;
    color: var(--white);
  }

  .dot-header h1::before {
    background-color: var(--white);
    width: 20px;
    height: 20px;
  }

  h2 {
    font-size: 2em;
  }

  h3 {
    font-size: 1.1em;
    line-height: 1.2em;
  }

  p {
    font-size: 1.1em;
  }

  .margin-left {
    margin-left: -100px !important;
  }

  .right-list p {
    font-size: 1.1em;
  }

  .before-header {
    right: 50px;
  }

  .big-pad-bot {
    padding-bottom: 120px;
  }

  .big-pad-top {
    padding-top: 120px;
  }

  .pad-top {
    padding-top: 40px;
  }

  .pad-bot {
    padding-bottom: 40px;
  }

  .pad-right {
    padding-right: 40px;
  }

  .pad-left {
    padding-left: 40px;
  }

  .text-long p {
    font-size: 1.4em;
    line-height: 1.3;
  }

  .two-grid-2 {
    grid-gap: 10%;
  }

  .three-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .big-button p {
    font-size: 1em;
  }

  .big-button h3 {
    font-size: 1.2em;
  }

  .contact a,
  .address {
    font-size: 1.2em;
  }

  .header-button {
    right: 50px;
  }

  .text-70 {
    width: 100%;
  }

  .contact-button-white a::after,
  .contact-button-black a::after {
    top: 15px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 1.2em;
  }

  h1 {
    font-size: 1.55em;
    margin-top: 15px;
    margin-left: 0;
    margin-bottom: 10px;
  }

  h2 {
    font-size: 2em;
  }

  .font-verlauf h2 {
    font-size: 2em;
    margin: 0;
  }

  p {
    font-size: 1em;
    margin: 10px 0;
    line-height: 1.4;
  }

  .text-70 {
    width: 100%;
  }

  .header img {
    width: 170px;
  }

  .two-grid,
  .two-grid-2,
  .two-grid-3,
  .two-grid-4,
  .two-grid-short {
    grid-gap: 30px;
    grid-template-columns: 1fr;
  }

  .two-grid-2,
  .two-grid-3,
  .two-grid-4 {
    width: 100%;
    padding-left: 30px;
    padding-right: 30px;
  }

  .header {
    padding: 25px 5% 15px 5%;
  }

  .kontakt {
    justify-content: left;
  }

  .three-grid {
    grid-gap: 30px;
    grid-template-columns: 1fr;
  }

  .after-header {
    bottom: 100px !important;
    width: 100%;
    font-size: 1em;
  }

  .rsts-skin-default .rsts-prev,
  .rsts-skin-default .rsts-next {
    width: 20px;
    height: 15px;
  }

  .rsts-skin-default .rsts-prev {
    bottom: 20px;
    left: 20px;
  }

  .rsts-skin-default .rsts-next {
    bottom: 20px;
    right: 20px;
  }

  .text-long p {
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.4;
  }

  .pad-top {
    padding-top: 60px;
  }

  .pad-bot {
    padding-bottom: 60px;
  }


  .pad-right {
    padding-right: 40px;
  }

  .pad-left {
    padding-left: 40px;
  }

  .big-pad-bot {
    padding-bottom: 60px;
  }

  .big-pad-top {
    padding-top: 60px;
  }

  .header-picture img {
    height: 70vh !important;
    width: 100vw !important;
  }

  #header {
    height: auto;
  }

  .header-text h1 {
    color: var(--white);
    font-size: 12vw;
    font-weight: 530;
    bottom: 80px;
    position: absolute;
    margin-left: 0px;
    left: 30px;
  }

  .dot-header h1::before {
    background-color: var(--white);
    width: 15px;
    height: 15px;
  }

  .margin-left {
    margin-left: 0 !important;
  }

  .contact,
  .address {
    padding-top: 50px;
  }

  .start #header .inside {
    height: 75vh;
  }

  .header-button span,
  .about-button p,
  .contact-button-black a,
  .button-white-arrow {
    display: inline-block;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .header-button span {
    /* color: var(--black); */
    margin-top: 0px;
    display: inline-block;
    margin-right: 0px;
    margin-bottom: 8px;
  }

  .header-button {
    /* position: relative; */
    left: initial;
    width: 100%;
    padding: 30px;
    top: initial;
    right: initial;
  }

  .before-header {
    /* position: relative; */
    top: initial !important;
    right: initial !important;
  }

  .header-cta,
  .header-button {
    display: none;
  }

  .contact a {
    font-size: 1em;
  }

  .address {
    font-size: 1em;
  }

  .concept-text h2 {
    padding-right: 30px;
    color: white;
  }

  .two-grid.font-verlauf h2 {
    font-size: 3em;
  }

  .container {
    padding-left: 30px;
    padding-right: 30px;
  }

  .footer .contact-line,
  .footer .logo-button-line {
    display: block;
  }

  .footer .contact-line {
    margin-top: 50px;
  }

  /* .content-text {
    max-width: 95% !important;
  } */

  .name {
    font-size: 1.2em;
  }

  .right-list h3 {
    font-size: 1em;
  }

  .big-button p {
    font-size: 1em;
  }

  .big-button h3 {
    font-size: 1.2em;
  }

  .big-button {
    padding: 30px;
  }

  .contact-button-white a::after,
  .contact-button-white a:hover::after {
    top: 13px;
  }

  .contact-button-black a::after,
  .contact-button-black a:hover::after {
    top: 13px;
  }

  #header .two-grid {
    gap: 0px;
  }

  .dot::before {
    width: 15px;
    height: 15px;
  }

  .about-button.pad-top {
    padding-top: 0px;
  }

  .three-grid.small-pad-top {
    padding-top: 0px;
  }

  .bigfont2 h2 {
    font-size: 15vw !important;
  }

  .small-pad-top {
    padding-top: 30px;
  }

  .small-pad-left {
    padding-left: 30px;
  }

  .small-pad-right {
    padding-right: 30px;
  }

  .footer {
    padding: 30px;
  }

  .contact,
  .address {
    padding-top: 20px;
  }

  .footer-left {
    flex-direction: initial;
  }

  .align-right {
    text-align: left;
  }

  .mod_breadcrumb ul {
    padding-left: 30px;
  }

  .footer-bottom strong.active {
    font-size: 1em;
  }

  .contao-cookiebar .cc-head h3 {
    font-size: 1.5em;
    font-weight: 600;
  }


  .footer-row,
  footer ul {
    flex-direction: column;
    gap: 10px;

    &>:last-child {
      margin-left: 0;
      text-align: left;
    }
  }


  .formbody {
    grid-template-columns: 1fr;
  }
}

/* Team-Grid: Mitarbeiterinnen (Artikel 7, rechte Spalte) */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6%;
  width: 100%;
}
.team-photo figure {
  margin: 0;
}
.team-photo img {
  width: 100%;
  aspect-ratio: 2 / 3; /* = the narrower source photo (1667x2500); image size 4 crops 2:3 server-side, so the box crops nothing more; the wider photo loses only its sides */
  object-fit: cover;
  object-position: top; /* heads never leave the box */
  display: block;
}
.team-name .rte p {
  font-family: var(--font2);
  font-size: 0.95em;
  line-height: 1.15;
  text-transform: none;
  text-align: left;
  color: var(--white) !important;
  margin: 18px 0 0;
}
.team-role .rte p {
  font-family: var(--font2);
  font-weight: 300;
  font-size: 0.62em;
  line-height: 1.2;
  text-align: left;
  color: var(--col1) !important;
  margin: 6px 0 0;
}

@media (max-width: 767px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.team-grid .team-name,
.team-grid .team-role {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* ===== Kostencheck page (page class .kostencheck), 2026-09-15 ===== */
.impr h1,
.kostencheck h1 {
  font-family: var(--font1);
  font-size: 4.7em;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  color: var(--black);
  margin: 0 0 40px;
}
.kostencheck .kostencheck-intro p {
  max-width: none;
  margin-top: 0;
}
.kostencheck .kostencheck-intro p:first-of-type {
  display: inline-block;
  font-size: 1em;
  font-weight: 300;
  border: 1.5px solid var(--black);
  border-radius: 50px;
  color: var(--black);
  padding: 10px 40px;
  margin: 0 0 30px;
  max-width: none;
  text-transform: capitalize;
}
.kostencheck .ce_form {
  margin-top: 80px;
}
.kostencheck .formbody {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 40px 60px;
  max-width: none;
}
.kostencheck .widget-explanation,
.kostencheck .widget-textarea,
.kostencheck .widget-upload,
.kostencheck .widget-altcha,
.kostencheck .widget-submit {
  grid-column: 1 / -1;
}
.kostencheck .widget-explanation {
  margin-top: 40px;
}
.kostencheck .widget-explanation:first-child {
  margin-top: 0;
}
.kostencheck .widget-explanation h2 {
  font-size: 2.4em;
  margin: 0;
}
.kostencheck .widget label,
.kostencheck .widget legend {
  display: block;
  font-family: var(--font2);
  font-size: 1.1em;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--black);
  margin-bottom: 8px;
  padding: 0;
}
.kostencheck .widget input[type="text"],
.kostencheck .widget input[type="email"],
.kostencheck .widget input[type="tel"],
.kostencheck .widget input[type="number"],
.kostencheck .widget textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--black);
  border-radius: 0;
  padding: 6px 0;
  font-family: var(--font2);
  font-size: 1.1em;
  font-weight: 400;
  color: var(--black);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.kostencheck .widget textarea {
  min-height: 160px;
  resize: vertical;
}
.kostencheck .widget input:focus,
.kostencheck .widget textarea:focus {
  border-bottom-color: var(--col2);
}
.kostencheck .widget fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}
.kostencheck .radio_container span,
.kostencheck .checkbox_container span {
  display: inline-block;
  margin: 0 12px 12px 0;
}
.kostencheck .radio_container input,
.kostencheck .checkbox_container input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.kostencheck .radio_container span label,
.kostencheck .checkbox_container span label {
  display: inline-block;
  border: 1.5px solid var(--black);
  border-radius: 50px;
  padding: 8px 24px;
  font-family: var(--font2);
  font-size: 1.2em;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}
.kostencheck .radio_container span:has(input:checked) label,
.kostencheck .checkbox_container span:has(input:checked) label {
  background: var(--black);
  color: var(--white);
}
.kostencheck .radio_container span:has(input:focus-visible) label,
.kostencheck .checkbox_container span:has(input:focus-visible) label {
  outline: 2px solid var(--col2);
  outline-offset: 2px;
}
.kostencheck .widget-upload input[type="file"] {
  font-family: var(--font2);
  font-size: 1.1em;
  color: var(--black);
}
.kostencheck .widget-upload input[type="file"]::file-selector-button {
  border: 1.5px solid var(--black);
  border-radius: 50px;
  background: transparent;
  color: var(--black);
  padding: 8px 24px;
  margin-right: 16px;
  font-family: var(--font2);
  font-size: 1em;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}
.kostencheck .widget-submit {
  margin-top: 20px;
}
.kostencheck .widget-submit button.submit {
  /* Optik von .button a (Startseiten-Buttons); hier nur Button-UA-Resets */
  border: 0;
  background: transparent;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}
.kostencheck .widget p.error {
  font-size: 1em;
  font-weight: 500;
  color: #b00020;
  margin: 6px 0 0;
}
.kostencheck .widget.error input,
.kostencheck .widget.error textarea {
  border-bottom-color: #b00020;
}
.kostencheck .widget-altcha altcha-widget {
  --altcha-border-width: 1.5px;
  --altcha-border-radius: 50px;
  --altcha-color-border: var(--black);
  --altcha-color-base: transparent;
}
.kostencheck .ce_form {
  margin-left: 0;
  margin-right: 0;
}
.kostencheck .widget-altcha altcha-widget label {
  display: inline;
  font-family: var(--font2);
  text-transform: none;
  letter-spacing: 0;
  margin: 0;
}
.kostencheck .widget-altcha .altcha-main {
  padding: 0;
  gap: 0;
}
.kostencheck .widget-altcha .altcha-checkbox {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
@media (hover: hover) and (pointer: fine) {
  .kostencheck .widget-upload input[type="file"]::file-selector-button:hover {
    background: var(--black);
    color: var(--white);
  }
}
@media (min-width: 768px) and (max-width: 1089px) {
  .impr h1,
  .kostencheck h1 {
    font-size: 3em;
  }
  .kostencheck .widget-explanation h2 {
    font-size: 1.8em;
  }
}
@media (max-width: 767px) {
  .impr h1,
  .kostencheck h1 {
    font-size: 2.4em;
    margin: 0 0 20px;
  }
  .kostencheck .ce_form {
    margin-top: 40px;
  }
  .kostencheck .formbody {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .kostencheck .widget-explanation h2 {
    font-size: 1.6em;
  }
}

/* Header-CTA "Jetzt Vergleich anfordern": dezenter Puls */
@keyframes header-cta-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
.header-cta {
  animation: header-cta-pulse 1.6s ease-in-out infinite;
  transform-origin: center;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .header-cta { animation: none; }
}

/* ===== Subpage header bar + breadcrumb on beige (layout 2), 2026-09-15 ===== */
body:not(.start) #header .inside {
  height: auto;
}
.subheader {
  padding-top: 30px;
  padding-bottom: 30px;
}
.subheader img {
  display: block;
  width: 200px;
  height: auto;
}
.mod_breadcrumb {
  background: var(--col1);
  padding: 40px 50px 0;
}
.mod_breadcrumb ul {
  margin: 0;
  padding: 0;
}
@media (max-width: 767px) {
  .subheader {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .subheader img {
    width: 150px;
  }
  .mod_breadcrumb {
    padding: 30px 30px 0;
  }
}

/* ===== Large-screen height caps: expertise image + quote banner, 2026-09-15 ===== */
@media (min-width: 1090px) {
  .two-grid-3 img {
    max-height: min(85vh, 920px);
    object-fit: cover;
    object-position: center;
  }
  .background-image .content-text.big-pad-top {
    padding-top: 140px;
  }
  .background-image .content-text.big-pad-bot {
    padding-bottom: 140px;
  }
}

/* ===== CTA links: clickable area = visible text only, more air above, 2026-09-15 ===== */
.button a,
.kostencheck .widget-submit button.submit {
  width: fit-content;
  max-width: 100%;
}
.button.justify-end a,
.button.align-right a {
  margin-left: auto;
}
.button.content-hyperlink:not(.header-cta):not(.pad-top) {
  margin-top: 40px;
}
.footer .contact a {
  width: fit-content;
}
.subheader a {
  display: inline-block;
}
.kostencheck .widget-altcha altcha-widget {
  --altcha-max-width: none;
}
.kostencheck .widget-altcha .altcha {
  max-width: none;
  width: fit-content;
}
.kostencheck .widget-altcha altcha-widget label {
  font-size: 1em;
  white-space: nowrap;
}
.kostencheck .widget-altcha .altcha {
  border: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.kostencheck .widget-altcha .altcha input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.kostencheck .widget-altcha altcha-widget label {
  display: inline-block;
  border: 1.5px solid var(--black);
  border-radius: 50px;
  padding: 8px 24px;
  font-size: 1.2em;
  font-weight: 500;
  color: var(--black);
  margin: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}
.kostencheck .widget-altcha .altcha[data-state="verifying"] label {
  opacity: 0.6;
}
.kostencheck .widget-altcha .altcha[data-state="verified"] label {
  background: var(--black);
  color: var(--white);
}
.kostencheck .widget-altcha .altcha:has(input:focus-visible) label {
  outline: 2px solid var(--col2);
  outline-offset: 2px;
}
@media (hover: hover) and (pointer: fine) {
  .kostencheck .radio_container span label:hover,
  .kostencheck .checkbox_container span label:hover,
  .kostencheck .widget-altcha altcha-widget label:hover {
    background: var(--black);
    color: var(--white);
  }
}

/* "We Identify Potential."-Pille: obere rechte Ecke des beigen Bereichs (Artikel = .background-gray) */
.kostencheck main .inside {
  position: relative;
}
.kostencheck .kostencheck-intro p:first-of-type {
  position: absolute;
  top: 40px;
  right: 50px;
  margin: 0;
  z-index: 2;
}
@media (max-width: 767px) {
  .kostencheck .kostencheck-intro p:first-of-type {
    position: static;
    margin: 0 0 30px;
  }
}

/* Intro-Spalte + Formular so breit wie .text-70 (Bereich "We engineer"): 70% ab 1090px, sonst 100% */
.kostencheck .kostencheck-intro,
.kostencheck .ce_form {
  width: 70%;
  max-width: none;
}
@media (max-width: 1089px) {
  .kostencheck .kostencheck-intro,
  .kostencheck .ce_form {
    width: 100%;
  }
}

/* ===== Kostencheck address row: Straße (4/6) + Nr. (2/6), Firmenname full width, 2026-09-15 ===== */
.formbody > .widget {
  grid-column: span 3;
}
.kostencheck .field-firmenname {
  grid-column: 1 / -1;
}
.kostencheck .field-strasse {
  grid-column: span 4;
}
.kostencheck .field-nr {
  grid-column: span 2;
}
@media (max-width: 767px) {
  .formbody > .widget,
  .kostencheck .field-strasse,
  .kostencheck .field-nr {
    grid-column: 1 / -1;
  }
}

/* Legacy row-start rules (2-col era) restated for the 6-col grid: "start a new row" = 1 / span 3 */
.kostencheck .widget:has(> input:is([name="vorname"], [name="email"])) {
  grid-column: 1 / span 3;
}
.kostencheck .widget-explanation.form-heading-produktdaten ~ .widget {
  grid-column: 1 / span 3;
}
.kostencheck .formbody > .widget.widget-explanation,
.kostencheck .formbody > .widget.widget-textarea,
.kostencheck .formbody > .widget.widget-upload,
.kostencheck .formbody > .widget.widget-altcha,
.kostencheck .formbody > .widget.widget-submit {
  grid-column: 1 / -1;
}
@media (max-width: 767px) {
  .kostencheck .formbody > .widget,
  .kostencheck .widget-explanation.form-heading-produktdaten ~ .widget,
  .kostencheck .widget:has(> input:is([name="vorname"], [name="email"])),
  .kostencheck .field-firmenname,
  .kostencheck .field-strasse,
  .kostencheck .field-nr {
    grid-column: 1 / -1;
  }
}

/* Produktdaten-Freitextfelder volle Breite wie "Nachricht" (2026-09-15) */
.kostencheck .formbody > .widget:has(> input[name="jahresbedarf"]),
.kostencheck .formbody > .widget:has(> input[name="menge_pro_produktion"]),
.kostencheck .formbody > .widget:has(> input[name="glasfarbe"]),
.kostencheck .formbody > .widget:has(> input[name="wunschtermin_umstellung"]),
.kostencheck .formbody > .widget:has(> input[name="ersparnis"]) {
  grid-column: 1 / -1;
}

/* Hero fade-in without wow.js (LCP): same look as animate.css fadeIn (1s), starts at first paint, 2026-09-15 */
.hero-fade {
  animation: heroFadeIn 1s ease both;
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-fade {
    animation: none;
  }
}

/* ===== Mobile spacing system (≤ 767px), 2026-09-16 =====
   One vocabulary for phones: gutter 24 · section insets std 64 / sm 32 ·
   rhythm label→text 8 · eyebrow→headline 24 · headline→text 24 · text→CTA 24 · item→item 24 · block 32 · grid 32 */
@media (max-width: 767px) {
  :root {
    --m-gutter: 24px;
    --m-pad-std: 64px;
    --m-pad-sm: 32px;
    --m-gap-xs: 8px;
    --m-gap-sm: 24px;
    --m-gap-md: 32px;
  }
  /* gutter */
  .container,
  .two-grid-2,
  .two-grid-3,
  .two-grid-4 {
    padding-left: var(--m-gutter);
    padding-right: var(--m-gutter);
  }
  .mod_breadcrumb {
    padding-left: var(--m-gutter);
    padding-right: var(--m-gutter);
  }
  .header-button,
  .small-pad-left {
    padding-left: var(--m-gutter);
    padding-right: var(--m-gutter);
  }
  .footer {
    padding: var(--m-pad-sm) var(--m-gutter);
  }
  /* sections */
  .pad-top,
  .big-pad-top {
    padding-top: var(--m-pad-std);
  }
  .pad-bot,
  .big-pad-bot {
    padding-bottom: var(--m-pad-std);
  }
  .small-pad-top {
    padding-top: var(--m-pad-sm);
  }
  .small-pad-bot {
    padding-bottom: var(--m-gap-sm);
  }
  /* rhythm */
  h2 {
    margin-bottom: var(--m-gap-sm);
  }
  .content-text.about-button,
  .about-button.pad-bot,
  .about-button.big-pad-bot {
    padding-bottom: var(--m-gap-sm);
  }
  .button.content-hyperlink:not(.header-cta):not(.pad-top) {
    margin-top: var(--m-gap-sm);
  }
  .button a {
    font-size: 1em;
    gap: var(--m-gap-xs);
  }
  .button a::before {
    width: 20px;
    height: 21px;
  }
  .right-list h3 {
    margin-top: var(--m-gap-xs);
  }
  .two-grid,
  .two-grid-2,
  .two-grid-3,
  .two-grid-4,
  .two-grid-short,
  .three-grid {
    grid-gap: var(--m-gap-md);
  }
  .big-button {
    padding: var(--m-gap-sm);
  }
  .big-button h3 {
    margin-bottom: var(--m-gap-xs);
  }
  .team-grid {
    gap: var(--m-pad-sm);
  }
  /* hero */
  .header-text h1 {
    font-size: 15vw;
    left: var(--m-gutter);
  }
  /* "Excellent Glass Solutions": no indents on phones, size that fits without hyphenation */
  .font-verlauf .hl-marg-left h2 {
    margin-left: 0 !important;
  }
  .font-verlauf .hl-marg-right h2 {
    margin-right: 0 !important;
  }
  .two-grid.font-verlauf h2 {
    font-size: 2.6em;
    hyphens: manual;
    -webkit-hyphens: manual;
  }
  /* team: whole photo, readable role */
  .team-photo img {
    aspect-ratio: auto;
    height: auto;
  }
  .team-name .rte p {
    font-size: 1.05em;
  }
  .team-role .rte p {
    font-size: 0.85em;
  }
}
@media (max-width: 767px) {
  /* system follow-ups: column top inset collapses under the eyebrow pill; card h3 gap; text→CTA exact */
  .rs-column.big-pad-top {
    padding-top: 0;
  }
  .big-button h3 {
    margin-bottom: var(--m-gap-xs) !important;
  }
  .content-text p:last-child {
    margin-bottom: 0;
  }
}
@media (max-width: 767px) {
  /* Forced line breaks are desktop typography — on phones headlines and prose wrap naturally */
  h1 br,
  h2 br,
  h3 br,
  .start .content-text p br {
    display: none; /* stored texts carry a space before each <br> (2026-09-16), so words stay separated; prose only on the home page (legal pages need their address lines) */
  }
  /* quote banner: inner insets like the section, not doubled */
  .background-image .content-text.big-pad-top {
    padding-top: var(--m-pad-sm);
  }
  .background-image .content-text.big-pad-bot {
    padding-bottom: var(--m-pad-sm);
  }
  /* eyebrow pill as first element of a section/column: the section inset is enough */
  .mod_article > .about-button:first-child,
  .rs-column > .about-button:first-child,
  .content-element-group > .about-button:first-child {
    padding-top: 0;
  }
  /* element-to-element rhythm exact: no extra paragraph top margin at the start of a text element */
  .content-text .rte > p:first-child,
  .content-text > p:first-child {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  /* eyebrow pill followed by a padded element or sitting inside a grid/flex group: one gap only */
  .about-button + .big-pad-top,
  .about-button + .pad-top,
  .about-button + .small-pad-top {
    padding-top: 0;
  }
  .two-grid > .about-button,
  .two-grid-2 > .about-button,
  .two-grid-3 > .about-button,
  .two-grid-4 > .about-button,
  .content-element-group.gap-sm > .about-button {
    padding-bottom: 0;
  }
  .two-grid {
    grid-gap: var(--m-gap-sm);
  }
  .content-element-group.gap-sm {
    gap: var(--m-gap-sm);
  }
}
@media (max-width: 767px) {
  /* display headlines: wrap at spaces, never hyphenate ("QUALITY, EFFI-CIENCY"); overflow-wrap stays as safety net */
  h1,
  h2 {
    hyphens: manual;
    -webkit-hyphens: manual;
  }
}
@media (max-width: 767px) {
  /* legal pages (.impr = Impressum, Datenschutz): smaller type, block rhythm from the system */
  .impr h1 {
    font-size: 2em;
  }
  .impr h2 {
    font-size: 1.3em;
    margin-top: var(--m-pad-sm);
  }
  .impr h3 {
    font-size: 1.05em;
  }
  .impr .mod_article p,
  .impr .mod_article li {
    font-size: 0.85em;
    line-height: 1.5;
  }
}
@media (max-width: 767px) {
  /* footer: contact at text size, bottom row (copyright, legal links, credit) small */
  .footer .footer-row-2 {
    font-size: 1em; /* desktop: clamp(25px, 3vw, 50px) */
  }
  .footer .footer-row-3 {
    font-size: 0.8em;
  }
  .footer .footer-row-3 span,
  .footer .footer-row-3 li,
  .footer .footer-row-3 a {
    font-size: 1em; /* inherit the row size once, no nested shrinking */
  }
  .footer .footer-row-3 a.kwer-copyright {
    font-size: 0.85em;
  }
}
@media (max-width: 767px) {
  /* team: photo → name 24, name → role 8 (the generic first-paragraph reset must not eat these) */
  .team-grid .team-name .rte p {
    margin-top: var(--m-gap-sm);
  }
  .team-grid .team-role .rte p {
    margin-top: var(--m-gap-xs);
  }
}
@media (max-width: 767px) {
  /* every section starts with the standard inset: articles with the small inset get the full one on phones,
     and a section whose top inset comes only from its first eyebrow pill keeps it */
  .mod_article.small-pad-top {
    padding-top: var(--m-pad-std);
  }
  .mod_article:not(.pad-top):not(.big-pad-top):not(.small-pad-top) > .about-button:first-child {
    padding-top: var(--m-pad-std);
  }
}

@media (max-width: 767px) {
  /* census follow-ups 2026-09-16: section ends and item rhythm */
  .content-element-group.gap-sm h2 {
    margin-bottom: 0;
  }
  .content-element-group.gap-sm.pad-bot {
    padding-bottom: var(--m-gap-md);
  }
  .rs-column:last-child {
    margin-bottom: 0;
  }
  .background-image h2 {
    margin-bottom: 0;
  }
  .concept-text h2 {
    margin: 0;
  }
  .concept-text h2 + h2 {
    margin-top: var(--m-gap-sm);
  }
}
@media (max-width: 767px) {
  /* footer rows on the system: logo → contact 32, contact → address 24, address → bottom row 32 */
  .footer .footer-row-1 {
    padding-bottom: var(--m-gap-md);
  }
  .footer .footer-row-2 {
    gap: var(--m-gap-sm);
    padding-bottom: var(--m-gap-md);
  }
  .footer .contact,
  .footer .address {
    padding-top: 0;
  }
}
@media (max-width: 767px) {
  .footer .footer-row-1 {
    gap: 0;
  }
  .footer .footer-right:empty,
  .footer .footer-row-1 > .footer-right {
    display: none; /* holds only the commented-out nav module */
  }
  .footer .footer-row-1 a {
    display: block;
    line-height: 0;
  }
}

/* ===== Tablet / laptop carry-overs from the phone pass, 2026-09-16 ===== */
@media (min-width: 768px) and (max-width: 1089px) {
  /* CTA links at text size (p is 1.1em here, .button a was 1.6em) */
  .button a {
    font-size: 1.1em;
    gap: 8px;
  }
  .button a::before {
    width: 24px;
    height: 25px;
  }
  /* hero: CTA below the headline instead of beside it (they overlapped at 768–900) */
  .header-text h1 {
    bottom: 180px;
  }
  .header-cta {
    left: 50px;
    right: auto;
    bottom: 120px;
  }
  /* cards: less padding in three narrow columns */
  .big-button {
    padding: 24px;
  }
  /* team role readable */
  .team-role .rte p {
    font-size: 0.8em;
  }
}
@media (min-width: 768px) and (max-width: 900px) {
  /* "Who we work with": pill above text instead of a half-width text column */
  .two-grid {
    grid-template-columns: 1fr;
    grid-gap: 24px;
  }
}
@media (min-width: 1090px) and (max-width: 1449px) {
  /* CTA links at text size (p is 1.2em here) */
  .button a {
    font-size: 1.2em;
  }
  .button a::before {
    width: 28px;
    height: 29px;
  }
}

/* ===== List items (Strategic Analysis …): label → text tight on every breakpoint, 2026-09-16 ===== */
.right-list h3 {
  margin-top: 12px; /* desktop ≥ 1450 (was 20) */
}
@media (min-width: 768px) and (max-width: 1449px) {
  .right-list h3 {
    margin-top: 8px;
  }
}
@media (max-width: 767px) {
  .right-list h3 {
    margin-top: 4px;
  }
}
@media (max-width: 767px) {
  /* smaller logos, hero CTA back (below the headline, pulsating like on desktop) */
  .before-header img,
  .footer .logo {
    width: 150px;
  }
  .header-text h1 {
    bottom: 96px;
  }
  .header-cta {
    display: block;
    left: var(--m-gutter);
    right: auto;
    bottom: 32px;
    transform-origin: left center;
  }
}

/* Hero CTA: the wrapper pulses, so the link itself must not slide on hover like the other arrow links */
.button.header-cta a:hover,
.button.header-cta a:hover::before {
  transform: none;
}

/* Forced <br> in headlines/prose double-wrap at every width (even 1920: "WE DESIGN / WITH / PURPOSE.", "SPECIA-LISTS"),
   so text wraps naturally everywhere (stored texts carry a space before each <br>; legal pages keep their address lines) */
h1 br,
h2 br,
h3 br,
.start .content-text p br {
  display: none;
}
h1,
h2 {
  hyphens: manual;
  -webkit-hyphens: manual;
}

/* Footer bottom row (copyright, legal links, credit): small on every width; phones have their own value in the mobile block */
@media (min-width: 768px) {
  .footer .footer-row-3 {
    font-size: clamp(14px, 0.6em, 16px);
  }
  .footer .footer-row-3 span,
  .footer .footer-row-3 li,
  .footer .footer-row-3 a {
    font-size: 1em;
  }
  .footer .footer-row-3 a.kwer-copyright {
    font-size: 0.9em;
  }
}

/* Exception to the <br> hiding above: the hero headline is a designed two-liner ("SIMPLE / SUBLIME.") that would otherwise sit on one line on wide screens */
.header-text h1 br {
  display: inline;
}
/* footer credit: one step below the legal links (the legacy 1rem!important above would keep it at 16px on every width) */
.footer .footer-row-3 a.kwer-copyright {
  font-size: 0.9em !important;
}

/* ============================================================
   Vorschaltseite (www.primepackaging.at, eigener Seitenbaum):
   Shader-Hintergrund mit dem Logo in der Mitte.
   ============================================================ */
.splash {
  /* Fallback hinter dem WebGL-Canvas, falls der Shader nicht rendert */
  background: linear-gradient(90deg, var(--col1) 0%, var(--col2) 70%, var(--grey) 100%);
  min-height: 100svh;
}

.splash .splash-logo {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 24px;
}

.splash .splash-logo img {
  width: min(60vw, 420px);
  height: auto;
}

@media (max-width: 767px) {
  .splash .splash-logo img {
    width: min(80vw, 320px);
  }
}

