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%}
/* =========================================================
   1. Mate-Container global öffnen (Seite wird fluid)
   ========================================================= */

body .container {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}


/* =========================================================
   2. HAUPTSPALTE – Schutzraum für Text & Inhalte
   (das ist der entscheidende Teil)
   ========================================================= */

.mod_article > .inside,
.sectionTop--inside {
  max-width: 1200px;                       /* Hauptspaltenbreite */
  margin-left: auto;
  margin-right: auto;

  padding-left: clamp(1rem, 4vw, 3rem);    /* Abstand zum Rand */
  padding-right: clamp(1rem, 4vw, 3rem);
}


/* =========================================================
   3. Artikel, die bewusst FULL-WIDTH sein sollen
   (Backend → Artikelklasse: fullwidth)
   ========================================================= */

.fullwidth > .inside {
  max-width: none;
  margin-left: 0;
  margin-right: 0;

  padding-left: 0;
  padding-right: 0;
}


/* =========================================================
   4. Layout-Zonen (für gezielte Gestaltung)
   ========================================================= */

/* sehr schmal – Editorial / Text */
.layout-narrow {
  max-width: 70ch;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* normal – Standard */
.layout-default {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

/* großzügig – visuell */
.layout-wide {
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}


/* =========================================================
   5. Utilities – bewusst & lokal einsetzen
   ========================================================= */

/* horizontale Zentrierung */
.centered {
  margin-left: auto;
  margin-right: auto;
}

/* linker Abstand / Einrückung */
.has-left-gap {
  margin-left: clamp(1.5rem, 5vw, 6rem);
}


/* =========================================================
   6. Full-Bleed innerhalb der Hauptspalte
   (z. B. weiße Balken, Bilder, Hero-Sektionen)
   ========================================================= */

.full-bleed {
  margin-left: calc(-1 * clamp(1rem, 4vw, 3rem));
  margin-right: calc(-1 * clamp(1rem, 4vw, 3rem));
}
/* Hauptspalte: Schutzraum für Text */
/* Hauptspalte NUR im Inhaltsbereich */
#main .mod_article {
  padding-left: clamp(1rem, 4vw, 3rem);
  padding-right: clamp(1rem, 4vw, 3rem);
}


body .sidenav {
  width: 30%;
  padding: 30px 0;
  padding-left: 0;
}


/* =========================================================
   7. Abstandsklassen für Abstand nach oben oder unten
   ========================================================= */

/* Abstand nach oben */
.mt-small { margin-top: 2rem; }
.mt-medium { margin-top: 4rem; }
.mt-large { margin-top: 6rem; }

/* Abstand nach unten */
.mb-small { margin-bottom: 2rem; }
.mb-medium { margin-bottom: 4rem; }
.mb-large { margin-bottom: 6rem; }

/* Optional: individuelle Werte per Inline-Style oder CSS-Variable */
.mt-custom { margin-top: var(--mt, 1rem); }
.mb-custom { margin-bottom: var(--mb, 1rem); }

/*====HTML Background====*/
html, body {
  background-color: #000;
  margin: 0;
}

/* Jede Box ist ein Flex-Container mit fixer Gesamthöhe (anpassbar!) */
.image-box-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--boxes-background);
  overflow: hidden; /* verhindert verzerrte Layouts */
}

/* Bildbereich mit festen Anteil, hier 250px Höhe (anpassbar) */
.image-box-image {
  height: 250px;        /* Höhe aller Bilder in der Zeile */
  overflow: hidden;
}

.image-box-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* sorgt für gleiche Bildhöhe UND sauberen Beschnitt */
  display: block;
}

/* Textbereich nimmt den Rest ein */
.image-box-text {
  padding: 1.5rem;
  color: var(--boxes-text-color);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-grow: 1;          /* sorgt für gleiche Texthöhen */
}

/* Überschrift */
.image-box-text h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-family: var(--font2);
}


/*======Border entfernen (Striche nach Überschrift)========*/
h1::after,
h2::after,
h3::after,
h4::after,
h5::after,
h6::after {
    content: none !important;
    display: none !important;
}


/*===========Videoplayer 1920x400 Mit Abstand=========*/
.video-hero-wrapper {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto 80px;   /* ↑ ↓ Abstand, links/rechts zentriert */
}

.video-hero-wrapper video {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/*==========Videoplayer header===========*/
.video-hero-header {
  width: 100%;
  max-width: 1920px;
  margin: 0;   /* ↑ ↓ Abstand, links/rechts zentriert */
}

.video-hero-header video {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}


h1, h2, h3, h4, h5, h6 {
  font-family: "Sora", sans-serif !important;
}

h4 {
  color: var(--mateColor4) !important;
}

.ce_ct_priceBox .inside > h2 {
  font-size: 1.8rem;
  line-height: 110%;
  color: var(--mateColor3-text-color);
}

/*============Trennstrich========*/
.divider {
  border: none;
  height: 1px;
  background-color: var(--mateColor4);
  margin: 3rem 0;
}

.divider-fade {
  border: none;
  height: 1px;
  width: 100%;
  margin: 3rem 0;

  background: linear-gradient(
    to right,
    transparent,
    var(--mateColor4),
    transparent
  );
}

/*======Bänder======*/

/* Weißer Full-Width-Artikel */
.white-band {
  background: #ffffff;
  padding: clamp(4rem, 8vw, 8rem) 0;
}
/* Weißer Full-Width-Artikel */
.sec-band {
  background: #EDEDED;
  padding: clamp(4rem, 8vw, 8rem) 0;
}

/* grauer Full-Width-Artikel */
.grey-band {
  background: #575757;
  padding: clamp(4rem, 8vw, 8rem) 0;
}

/* Schwarzer Full-Width-Artikel */
.black-band {
  background: #000;
  padding: clamp(4rem, 8vw, 8rem) 0;
}

/*============Spacer==========*/
.ce-spacer {
  display: none;
}

@media (min-width: 769px) {
  .ce-spacer {
    display: block;
  }

  .spacer-s { width: 10%; }
  .spacer-m { width: 20%; }
  .spacer-l { width: 30%; }
}


.parallax-section2 {
  --parallax-headline-background-color: transparent;
}

/*======OWN MODAL========*/
/* =========================================================
   AUTO MODAL – BASIS
   ========================================================= */

.auto-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: none;

  align-items: center;
  justify-content: center;
}

.auto-modal.active {
  display: flex;
}

/* =========================================================
   OVERLAY
   ========================================================= */

.auto-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

/* =========================================================
   MODAL BOX
   ========================================================= */

.auto-modal-content {
  position: relative;
  z-index: 1;

  max-width: 600px;
  width: calc(100% - 2rem);

  background: #212121;
  color: #fff;

  padding: 2.5rem;
  border-radius: 12px;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

/* =========================================================
   CLOSE BUTTON (Material Icons)
   ========================================================= */

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;

  background: none;
  border: none;
  padding: 0;

  color: #aaa;
  cursor: pointer;
}

.close-modal:hover {
  color: var(--mateColor4, #ff2aa1);
}

.close-modal .material-icons {
  font-size: 30px;
  line-height: 30px;
}

/* =========================================================
   TYPO
   ========================================================= */

.auto-modal-content h2 {
  margin-top: 0;
}

.auto-modal-content p {
  margin-bottom: 0;
}

/* Text im Modal auswählbar erzwingen */
.modal-content,
.modal-content *,
.auto-modal-content,
.auto-modal-content * {
  -webkit-user-select: text !important;
  user-select: text !important;
}

/* Markierung: Hintergrund = mateColor4, Text = schwarz */
.modal-content ::selection,
.auto-modal-content ::selection {
  background: var(--mateColor4) !important;
  color: #000 !important;
}

/* Firefox */
.modal-content ::-moz-selection,
.auto-modal-content ::-moz-selection {
  background: var(--mateColor4) !important;
  color: #000 !important;
}


/*=======Float Mailto link======*/

.mailto-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.mailto-float img {
  width: 130px;          /* Größe nach Geschmack */
  height: auto;
  display: block;
  cursor: pointer;
}

/* optional: Hover-Effekt */
.mailto-float:hover img {
  transform: scale(1.05);
}

