/* 
Theme Name:    Derjosef-Child
Theme URI:     http://childtheme-generator.com/
Description:   Derjosef-Child is a child theme of DerJosef
Author:       Josef Gerhardter
Author URI:    https://derjosef.com
Template:      derjosef
Version:      1.0.0
Text Domain:   derjosef-child
*/

/*
    Add your custom styles here
*/

:root {
  --color-red: #d90404;
  --color-black: #000000;
  --color-white: #fafafa;

  --font-size-base: 14px;
  --font-size-h1: 3.96vw;
  --font-size-h2: 3.3vw;
  --font-size-h3: 3.3vw;
  --font-size-h4: 2.5vw;
  --font-size-h5: 1.71vw;
  --font-size-h6: 3.3vw;
  --line-height: 1.6;

  --spacing-small: 8px;
  --spacing-medium: 16px;
  --spacing-large: 32px;
  --spacing-xlarge: 150px;

  --corner-size-small: 25px;
  --corner-size-big: 50px;
}

/* Fonts */

/* Lexend Fonts */

/* ExtraLight */
@font-face {
  font-family: "Lexend-ExtraLight";
  src: url("/wp-content/themes/derjosef-child/fonts/Lexend/Lexend-ExtraLight.woff2")
      format("woff2"),
    url("/wp-content/themes/derjosef-child/fonts/Lexend/Lexend-ExtraLight.woff")
      format("woff");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

/* Light */
@font-face {
  font-family: "Lexend-Light";
  src: url("/wp-content/themes/derjosef-child/fonts/Lexend/Lexend-Light.woff2")
      format("woff2"),
    url("/wp-content/themes/derjosef-child/fonts/Lexend/Lexend-Light.woff")
      format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Regular */
@font-face {
  font-family: "Lexend-Regular";
  src: url("/wp-content/themes/derjosef-child/fonts/Lexend/Lexend-Regular.woff2")
      format("woff2"),
    url("/wp-content/themes/derjosef-child/fonts/Lexend/Lexend-Regular.woff")
      format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Medium */
@font-face {
  font-family: "Lexend-Medium";
  src: url("/wp-content/themes/derjosef-child/fonts/Lexend/Lexend-Medium.woff2")
      format("woff2"),
    url("/wp-content/themes/derjosef-child/fonts/Lexend/Lexend-Medium.woff")
      format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* SemiBold */
@font-face {
  font-family: "Lexend-SemiBold";
  src: url("/wp-content/themes/derjosef-child/fonts/Lexend/Lexend-SemiBold.woff2")
      format("woff2"),
    url("/wp-content/themes/derjosef-child/fonts/Lexend/Lexend-SemiBold.woff")
      format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Bold */
@font-face {
  font-family: "Lexend-Bold";
  src: url("/wp-content/themes/derjosef-child/fonts/Lexend/Lexend-Bold.woff2")
      format("woff2"),
    url("/wp-content/themes/derjosef-child/fonts/Lexend/Lexend-Bold.woff")
      format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ExtraBold */
@font-face {
  font-family: "Lexend-ExtraBold";
  src: url("/wp-content/themes/derjosef-child/fonts/Lexend/Lexend-ExtraBold.woff2")
      format("woff2"),
    url("/wp-content/themes/derjosef-child/fonts/Lexend/Lexend-ExtraBold.woff")
      format("woff");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* Black */
@font-face {
  font-family: "Lexend-Black";
  src: url("/wp-content/themes/derjosef-child/fonts/Lexend/Lexend-Black.woff2")
      format("woff2"),
    url("/wp-content/themes/derjosef-child/fonts/Lexend/Lexend-Black.woff")
      format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Fonts */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
::-webkit-scrollbar-track {
  background: red;
}
body {
  margin: 0;
  font-family: "Lexend-Regular" !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--color-black) !important;
}
html,
body {
  overflow-x: hidden;
}
#main {
  margin-top: 0rem !important;
}
h1,
.h1,
h1 p {
  font-size: calc(1.5rem + 1vw) !important;
  line-height: 1.2;
  font-family: "Lexend-Regular";
  margin-bottom: 0.5em;
  text-transform: uppercase !important;
}

h2,
.h2 {
  font-size: calc(1.4rem + 0.8vw) !important;
  line-height: 1.3;
  font-family: "Lexend-Regular";
  margin-bottom: 0.5em;
  text-transform: uppercase !important;
}

h3,
.h3 {
  font-size: calc(1.3rem + 0.4vw) !important;
  line-height: 1.4;
  font-family: "Lexend-Regular";
  margin-bottom: 0.5em;
  text-transform: uppercase !important;
}

h4,
.h4 {
  font-size: calc(1.2rem + 0.3vw) !important;
  line-height: 1.5;
  font-family: "Lexend-Regular";
  margin-bottom: 0.5em;
  text-transform: uppercase !important;
}

h5,
.h5 {
  font-size: calc(1.1rem + 0.2vw) !important;
  line-height: 1.6;
  font-family: "Lexend-Regular";
  margin-bottom: 0.5em;
  text-transform: uppercase !important;
}

h6,
.h6 {
  font-size: calc(1rem + 1vw) !important;
  line-height: 1.7;
  font-family: "Lexend-Regular";
  margin-bottom: 0.5em;
  text-transform: uppercase !important;
}
h1 strong,
h2 strong,
h3 strong,
h4 strong,
h5 strong,
h6 strong {
  color: var(--color-green);
  font-family: "Lexend-Bold";
  font-weight: normal !important;
}
.subheadline {
  font-family: "Lexend-Light" !important;
  text-transform: uppercase;
  letter-spacing: 0.1;
  font-size: calc(0.9rem + 0.2vw) !important;
}

.h1-xl {
  font-size: calc(2rem + 1vw) !important;
  font-family: "Lexend-Regular";
  margin-bottom: 0.2em;
}
p,
li {
  margin-bottom: 1em;
  font-family: "Lexend-Light" !important;
  font-size: 1rem !important;
}

main a {
  font-family: "Lexend-Light" !important;
  color: var(--color-white);
}
a:hover {
}
small {
  font-size: 0.8em !important;
}
strong {
  font-family: "Lexend-Bold" !important;
}
button {
  font-family: "Lexend-Regular" !important;
  font-size: 0.8em !important;
}
.caption {
  font-family: "Lexend-Regular" !important;
}

/* color */
.bc-black {
  background-color: var(--color-black) !important;
}
.text-white {
  color: var(--color-white) !important;
}
/* color end   */
/* Spacer */

.spacing-big {
  background-color: var(--color-black) !important;
}
/* Navigation */
/* ===== Navbar Styles ===== */

.navbar-floating {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 100%
  ) !important;
  padding: 0.5rem 1rem;
  z-index: 1030;
}

/* Logo */
.navbar-brand img {
  max-height: 40px;
}

/* Desktop Nav Links */
.desktop-menu .navbar-nav .nav-link {
  color: var(--color-white) !important;
  text-transform: uppercase;
  margin: 0 12px;
  transition: color 0.3s ease;
}
.desktop-menu .navbar-nav .nav-link:hover {
  color: var(--color-red) !important;
}
/* ===== Desktop Menü Box ===== */
.desktop-menu {
  border: 1px solid var(--color-white);
  background: var(--color-black);
  border-radius: 50px;
  padding: 8px 1rem;
  display: flex;
  align-items: center;
}

.desktop-menu .navbar-nav {
  flex-direction: row; /* horizontale Links */
  margin-bottom: 0;
}

.desktop-menu .navbar-nav .nav-item {
  margin: 0 12px; /* Abstand */
}

.desktop-menu .navbar-nav .nav-link {
  color: var(--color-white) !important;
  text-transform: uppercase;
  padding: 0 !important;
  transition: color 0.3s ease;
}

.desktop-menu .navbar-nav .nav-link:hover {
  color: var(--color-red) !important;
}
/* ===== Burger Icon Modern ===== */
.navbar-toggler {
  border: none;
  padding: 0;
  background: none;
  cursor: pointer;
}
.burger-lines {
  position: relative;
  width: 32px;
  height: 2px;
  background-color: var(--color-white);
  display: block;
  transition: background-color 0.3s ease;
}
.burger-lines::before,
.burger-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--color-white);
  transition: transform 0.3s ease, top 0.3s ease, opacity 0.3s ease;
}
.burger-lines::before {
  top: -8px;
}
.burger-lines::after {
  top: 8px;
}

/* animiertes X */
.navbar-toggler.open .burger-lines {
  background-color: transparent;
}
.navbar-toggler.open .burger-lines::before {
  top: 0;
  transform: rotate(45deg);
}
.navbar-toggler.open .burger-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ===== Mobile Overlay ===== */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.95);
  color: var(--color-white);
  z-index: 12;
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Close Button */
.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: var(--color-white);
  background: none;
  border: none;
  cursor: pointer;
}

/* Mobile Nav Links */
.mobile-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.mobile-nav li {
  margin: 1rem 0;
}
.mobile-nav .nav-link {
  color: var(--color-white) !important;
  font-size: 2rem;
  text-transform: uppercase;
  transition: color 0.3s ease;
}
.mobile-nav .nav-link:hover {
  color: var(--color-red) !important;
}
.mobile-menu-close {
  font-size: 4rem; /* gleiche Größe wie Burger */
  line-height: 1;
  color: var(--color-white);
}
/* Burger-Button fixieren und über Overlay legen */
.navbar-toggler {
  position: fixed;
  top: 27px;
  right: 10px;
  z-index: 5000;
  background: unset !important;
  border: unset !important;
}

/* End */

/* Buttons */
.button-main,
.button-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  padding: 3px 16px;
  transition: all 0.3s ease;
  color: var(--color-white);
  text-decoration: none;
}

/* Main Button */
.button-main {
  border: 1px solid var(--color-white);
  background: transparent;
  border-radius: 50px;
  color: var(--color-white) !important;
  text-transform: uppercase;
}

.button-main:hover {
  background: var(--color-red);
  border-color: var(--color-white);
}

.button-main .btn-icon {
  transition: transform 0.3s ease;
}

.button-main:hover .btn-icon {
  transform: rotate(90deg);
}

/* Secondary Button */
.button-secondary {
  border: none;
  background: transparent;
  color: var(--color-white) !important;
  text-transform: uppercase;
}

.button-secondary .btn-icon {
  transition: transform 0.3s ease;
}

.button-secondary:hover .btn-icon {
  transform: rotate(90deg);
}

/* contact form */
/* Basis für alle Inputs */
.wpcf7 .form-control,
.wpcf7 textarea.form-control {
  background: transparent;
  border: 1px solid var(--color-white);
  color: var(--color-white);
  border-radius: 0;
  width: 100%;
  padding: 1rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  position: relative;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 40px),
    calc(100% - 40px) 100%,
    0 100%
  );
}

.wpcf7 .form-control::placeholder {
  color: var(--color-white);
  opacity: 0.7;
}

/* Textarea größer */
.wpcf7 textarea.form-control {
  min-height: 200px;
}

/* Checkbox */
.wpcf7 .form-check-input {
  margin-right: 0.5rem;
}
.wpcf7-response-output {
  color: var(--color-white) !important;
}
/* Button Style */
.wpcf7 .main-button {
  border: 1px solid var(--color-white);
  background: transparent;
  color: var(--color-white);
  padding: 10px 30px;
  text-transform: uppercase;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 50px;
}

.wpcf7 .main-button:hover {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  border-color: #ffb900;
  color: var(--color-white) !important;
}

button.cky-btn,
.cky-btn-preferences {
  border-radius: 50px !important;
  border: 1px solid var(--color-red) !important;
}

button.cky-btn.cky-btn-accept {
  border-radius: 50px;
}
/* contact form end */

/* Image with border */

/* ===== Rahmen AN: image-with-border (dein funktionierendes Muster) ===== */
.image-with-border {
  --background-color: var(--color-black);
  --border-color: var(--color-white);
  --border-width: 1px;
  --edge-size: 100px;
  --image-padding: 40px;
  position: relative;
  display: inline-grid;
  place-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  isolation: isolate;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    var(--edge-size) 100%,
    0 calc(100% - var(--edge-size))
  );
}

.image-with-border > img,
.image-with-border > video {
  position: absolute;
  inset: calc(var(--border-width) + var(--image-padding)) !important;
  width: calc(
    100% - 2 * (var(--border-width) + var(--image-padding))
  ) !important;
  height: calc(
    100% - 2 * (var(--border-width) + var(--image-padding))
  ) !important;
  object-fit: cover;
  z-index: 0;
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    var(--edge-size) 100%,
    0 calc(100% - var(--edge-size))
  );
}

.image-with-border::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--border-color);
  z-index: -2;
}

.image-with-border::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--background-color);
  z-index: -1;
  clip-path: polygon(
    var(--border-width) calc(0% + var(--border-width)),
    calc(100% - var(--border-width)) var(--border-width),
    calc(100% - var(--border-width)) calc(100% - var(--border-width)),
    calc(var(--edge-size) + var(--border-width))
      calc(100% - var(--border-width)),
    var(--border-width) calc(100% - var(--edge-size) - var(--border-width))
  );
}

/* Rahmenfarbe invertieren bei weißem Section-Hintergrund */

/* cards-section */
.cards-section {
  padding: 6rem 0;
}

/* Hintergrundfarben */
.cards-section.bg-black {
  background: var(--color-black);
  color: var(--color-white);
}

.cards-section.bg-white {
  background: var(--color-white);
  color: var(--color-black);
}

/* Headline */
.cards-section .headline {
  position: relative;
  min-height: 80px;
}

.cards-section .headline-icon {
  position: absolute;
  top: -60px;
  left: -60px;
  width: 80px;
  height: 80px;
}

.cards-section .headline-icon svg {
  width: 100%;
  height: auto;
  fill: currentColor;
}

/* Slick Basis */
.cards-section .slick-slide {
  padding: 0 10px;
  height: auto;
}

.cards-slider .slick-list {
  margin: 0 -10px;
}

/* Card Layout */
.card-item {
  overflow: hidden;
}

.card-inner {
  position: relative;
  border: 1px solid currentColor;
  overflow: hidden;
  height: 100%;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Bild */
.card-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.5s ease;
}

/* Overlay */
.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 0.75rem;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
  color: var(--color-white);
  z-index: 2;
  transition: opacity 0.3s ease;
  height: 100px;
}

.card-headline {
  margin: 0;
  font-size: 1rem;
  text-align: left;
}

/* Icon unten links */
.card-icon {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  width: 48px;
  height: 48px;
  z-index: 2;
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Hover Content */
.card-hover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.85);
  color: var(--color-white);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 3;
  pointer-events: none;
  /* blockiert Klick nicht */
}

/* Hover Effekte */
.card-inner:hover .card-image img {
  opacity: 0;
}

.card-inner:hover .card-hover {
  opacity: 1;
}

.card-inner:hover .card-overlay {
  opacity: 0;
}

/* Button unten links – nur bei Hover sichtbar */
.card-button {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 5;
  /* über Overlay */
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card-inner:hover .card-button {
  opacity: 1;
  pointer-events: auto;
}

.card-button .tertiary-button {
  border: 1px solid var(--color-white);
}

/* Tertiary Button Style */
.tertiary-button {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.85rem;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  color: currentColor;
  border-radius: 50px;
  transition: all 0.3s ease;
}

/* Größen */
.cards-section.small-cards .card-inner {
  height: 300px;
}

.cards-section.big-cards .card-inner {
  height: 550px;
}

/* Slider-Arrows */
.slider-arrows {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.slider-arrows button {
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: currentColor;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-arrows button:hover {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}

/* + Icon unten rechts */
.card-inner::after {
  content: "+";
  position: absolute;
  bottom: 10px;
  right: 20px;
  font-size: 2rem;
  color: var(--color-white);
  z-index: 4;
  pointer-events: none;
}

/* Responsive */
@media (max-width: 991px) {
  .cards-slider .slick-slide {
    padding: 0 8px;
  }
}

@media (max-width: 767px) {
  .cards-slider .slick-slide {
    padding: 0 5px;
  }

  .cards-section .headline-icon {
    top: -55px;
    left: -20px;
    width: 50px;
    height: 50px;
  }

  .cards-slider .slick-list {
    margin: unset;
  }
}
/* cards-section end */
/* fancy-text-section */
.fancy-text-section {
  padding: 6rem 0;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Background */
.fancy-text-section.bg-black {
  background: var(--color-black);
  color: var(--color-white);
}

.fancy-text-section.bg-white {
  background: var(--color-white);
  color: var(--color-black);
  position: relative;
  overflow: hidden;
  padding: 10rem 0;
}

/* Icon */
.fancy-text-section .fancy-icon {
  max-width: 120px;
  margin: 0 auto;
}

.fancy-text-section .fancy-icon svg {
  width: 100%;
  height: auto;
  fill: currentColor;
}

/* Text */
.fancy-text-section .headline {
  font-size: 2rem;
}

.fancy-text-section .text {
  font-size: 1rem;
  line-height: 1.6;
}

/* Button */
.fancy-text-section .button-main {
  border: 1px solid currentColor;
  color: currentColor !important;
  background: transparent;
  border-radius: 50px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  padding: 3px 16px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.fancy-text-section .button-main:hover {
  background: var(--color-red);
  color: var(--color-white) !important;
  border-color: var(--color-red);
}

/* Responsive */
@media (max-width: 991px) {
  .fancy-text-section .icon-col {
    margin: 2rem 0;
  }

  .fancy-text-section .fancy-icon {
    max-width: 70px;
    margin: 0 auto;
  }

  .fancy-text-section .col-12.col-md-6.content-col {
    text-align: center;
  }
}
/* fancy-text-section end */
/* headerslider */
.header-video-block {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.header-video-block .bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.header-video-block .video-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 73%;
  background: linear-gradient(to top, rgb(0 0 0) 0%, rgb(0 0 0 / 0%) 100%);
  z-index: 2;
}

.header-video-block .video-content {
  position: relative;
  z-index: 3;
  color: var(--color-white);
}

.fade-in-onload {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.first-line {
  display: inline-block;
  position: relative;
}

/* Animation: Pulsieren */
@keyframes pulseIcon {
  0% {
    transform: translateY(-60%) scale(1);
  }

  50% {
    transform: translateY(-60%) scale(1.15);
  }

  100% {
    transform: translateY(-60%) scale(1);
  }
}

.first-line .headline-icon {
  display: inline-block;
  width: 60px;
  height: 60px;
  margin-left: -15px;
  vertical-align: top;
  transform: translateY(-60%);
  animation: pulseIcon 2.5s ease-in-out infinite;
  /* Dauer und Wiederholung */
}

.first-line .headline-icon svg {
  width: 60px;
  height: 60px;
  fill: currentColor;
}

.header-video-block .headline-with-icon .headline-icon {
  position: absolute;
  top: -60px;

  left: -60px;
  width: 80px;
  height: 80px;
}

.header-video-block .headline-with-icon .headline-icon svg {
  width: 100%;
  height: auto;
  fill: currentColor;
}

/* Responsive */
@media (max-width: 767.98px) {
  .header-video-block .col-md-4 {
    max-width: 100%;
  }

  .headline-icon {
    right: 0;
  }

  .header-video-block .headline-icon {
    top: -55px !important;
    left: -20px !important;
    width: 50px !important;
    height: 50px !important;
  }
}
/* headerslider end */
/* image-slider-section */
.image-slider-section {
  padding: 4rem 0;
}

.image-slider-section.bg-black {
  background: var(--color-black);
  color: var(--color-white);
}

.image-slider-section.bg-white {
  background: var(--color-white);
  color: var(--color-black);
  position: relative;
  overflow: hidden;
  padding: 10rem 0;
}

/* Schwarze Dreiecke nur bei weißem Hintergrund */
.image-slider-section.bg-white::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-left: 120px solid var(--color-black);
  border-bottom: 120px solid transparent;
  z-index: 1;
}

.image-slider-section.bg-white::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-right: 120px solid var(--color-black);
  border-top: 120px solid transparent;
  z-index: 1;
}

/* Headline */
.image-slider-section .headline {
  position: relative;
  min-height: 80px;
  max-width: 400px;
}

.image-slider-section .headline-icon {
  position: absolute;
  top: -60px;
  left: -60px;
  width: 80px;
  height: 80px;
}

.image-slider-section .headline-icon svg {
  width: 100%;
  height: auto;
  fill: currentColor;
}

/* Slider über volle Breite */
.image-slider-section .slider-wrapper {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
}

/* Slide-Inhalt DESKTOP */
.image-slider .slide {
  padding: 0 8px;
}

.image-slider .slick-list {
  margin: 0 -8px;
}

.image-slider .slide-inner {
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-slider .slide-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Formate DESKTOP --- */
.image-slider .slide.format-breit .slide-inner {
  width: 600px;
  height: 400px;
}

.image-slider .slide.format-schmal .slide-inner {
  width: 300px;
  height: 400px;
}

.image-slider .slide.format-quadrat .slide-inner {
  width: 400px;
  height: 400px;
}

/* Arrows */
.slider-arrows {
  display: flex;
  gap: 1rem;
}

.slider-arrows button {
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: currentColor;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-arrows button:hover {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}

/* Buttons */
.image-slider-section .button-main {
  border: 1px solid var(--color-white);
  color: var(--color-white) !important;
  background: transparent;
  border-radius: 50px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  padding: 3px 16px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.image-slider-section .button-main:hover {
  background: var(--color-red);
  border-color: var(--color-white);
}

.image-slider-section.bg-white .button-main {
  border: 1px solid var(--color-black);
  color: var(--color-black) !important;
}

.image-slider-section.bg-white .button-main:hover {
  background: var(--color-red);
  border-color: var(--color-black);
  color: var(--color-white) !important;
}

/* --- MOBILE Anpassungen --- */
@media (max-width: 767px) {
  .image-slider-section.bg-white::before,
  .image-slider-section.bg-black::before {
    border-left: 70px solid var(--color-black);
    border-bottom: 70px solid transparent;
  }

  .image-slider-section.bg-white::after,
  .image-slider-section.bg-black::after {
    border-right: 70px solid var(--color-black);
    border-top: 70px solid transparent;
  }

  .image-slider-section.bg-white {
    padding: 8rem 0 3rem 0;
  }

  .image-slider-section .headline-icon {
    top: -55px;
    left: -20px;
    width: 50px;
    height: 50px;
  }

  /* Weniger Abstand zwischen Slides */
  .image-slider .slide {
    padding: 0 2px;
  }

  .image-slider .slick-list {
    margin: 0 -2px;
  }

  /* Auf Mobile alle Slides gleich breit */
  .image-slider .slide-inner,
  .image-slider .slide.format-breit .slide-inner,
  .image-slider .slide.format-schmal .slide-inner,
  .image-slider .slide.format-quadrat .slide-inner {
    width: 100% !important;
    height: 250px;
    /* mobile Höhe */
  }
}
/* image-slider-section end */
/* image-text-section */
/* ===== bestehende Styles ===== */
.image-text-section {
  padding: 4rem 0;
  transition: background 0.3s ease, color 0.3s ease;
}

.image-text-section.bg-black {
  background: var(--color-black);
  color: var(--color-white);
}

.image-text-section.bg-white {
  background: var(--color-white);
  color: var(--color-black);
  padding: 10rem 0;
}

.image-text-section .headline {
  position: relative;
  min-height: 80px;
}

.image-text-section .headline-icon {
  position: absolute;
  top: -60px;
  left: -60px;
  width: 80px;
  height: 80px;
}

.image-text-section .headline-icon svg {
  width: 100%;
  height: auto;
  fill: currentColor;
}

.image-text-section .subheadline {
  margin-bottom: 1.5rem;
}

.image-text-section .text {
  font-size: 1rem;
  line-height: 1.6;
}

.image-text-section .order-md-2.content-col {
  padding-left: 5rem;
}

.image-text-section .order-md-1.content-col {
  padding-right: 2rem;
}

.image-text-section .image-col {
  height: 100%;
  display: flex;
  align-items: stretch;
}

.image-text-section .image-col img,
.image-text-section .image-col video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Rahmen AUS: image-no-border ===== */
.image-text-section .image-no-border {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.image-text-section .image-no-border > img,
.image-text-section .image-no-border > video {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.image-text-section .tertiary-button {
  position: absolute;
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.9rem;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  color: currentColor;
  transition: color 0.3s ease;
  bottom: 10%;
  left: 10%;
}

.image-text-section .tertiary-button:hover {
  color: var(--color-red);
}

.image-text-section .tertiary-button .btn-icon {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 30px;
  height: 30px;
}

.image-text-section .tertiary-button .btn-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.image-text-section .tertiary-button:hover .btn-icon svg {
  fill: var(--color-red);
}

@media (max-width: 767.98px) {
  .image-text-section {
    margin-top: 80px;
  }

  .image-text-section .content-col {
    order: 1 !important;
  }

  .image-text-section .image-col {
    order: 2 !important;
    margin-top: 2rem;
  }

  .image-text-section .headline-icon {
    top: -55px;
    left: -20px;
    width: 50px;
    height: 50px;
  }

  .image-text-section .tertiary-button {
    bottom: 5%;
    left: 5%;
  }

  .image-text-section .image-col img,
  .image-text-section .image-col video {
    width: 90%;
    height: 90%;
    object-fit: cover;
    display: block;
  }
}
/* image-text-section end */
/* logo-slider-section */
.logo-slider-section {
  padding: 6rem 0;
}

.logo-slider-section.bg-black {
  background: var(--color-black);
  color: var(--color-white);
}

.logo-slider-section.bg-white {
  background: var(--color-white);
  color: var(--color-black);
  padding: 10rem 0;
  position: relative;
  overflow: hidden;
}

/* Schwarze Dreiecke nur bei weißem Background */
.logo-slider-section.bg-white::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-left: 120px solid var(--color-black);
  border-bottom: 120px solid transparent;
  z-index: 1;
}

.logo-slider-section.bg-white::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-right: 120px solid var(--color-black);
  border-top: 120px solid transparent;
  z-index: 1;
}

/* Headline */
.logo-slider-section .headline {
  position: relative;
}

.logo-slider-section .headline-icon {
  position: absolute;
  top: -60px;
  left: -60px;
  width: 80px;
  height: 80px;
}

.logo-slider-section .headline-icon svg {
  width: 100%;
  height: auto;
  fill: currentColor;
}

/* Text */
.logo-slider-section .text {
  max-width: 600px;
}

/* Button */
.logo-slider-section .button-main {
  border: 1px solid currentColor;
  color: currentColor !important;
  background: transparent;
  border-radius: 50px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  padding: 3px 16px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.logo-slider-section .button-main:hover {
  background: var(--color-red);
  color: var(--color-white) !important;
  border-color: var(--color-red);
}

/* Slider */
.logo-slider {
  display: flex;
  align-items: center;
}

.logo-slide {
  padding: 0 10px;
}

.logo-box {
  border: 1px solid currentColor;
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  text-decoration: none;
  /* remove underline on links */
  color: inherit;
  /* keep text color */
}

.logo-box img {
  max-width: 80%;
  max-height: 200px;
  width: auto;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
  margin: auto;
}

.logo-box:hover img {
  transform: scale(1.05);
}

/* Arrows */
.slider-arrows {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
}

.slider-arrows button {
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: currentColor;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-arrows button:hover {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}

/* Responsive */
@media (max-width: 767px) {
  .logo-box {
    width: 100%;
    height: 150px;
    min-height: unset;
    max-width: 150px;
    /* optional Begrenzung */
    margin: 0 auto;
  }

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

  .logo-slider-section .headline-icon {
    top: -55px;
    left: -20px;
    width: 50px;
    height: 50px;
  }
}
/* logo-slider-seciton end */
/* scroll-snap-section */
.scroll-snap-section {
  padding: 6rem 0;
  color: var(--color-white);
  position: relative;
}

.scroll-snap-section.bg-white {
  background: var(--color-white);
  color: var(--color-black);
}

.scroll-snap-section.bg-black {
  background: var(--color-black);
  color: var(--color-white);
}

.scroll-snap-section .headline-icon {
  position: absolute;
  top: -60px;
  left: -60px;
  width: 80px;
  height: 80px;
}

.scroll-snap-section .headline-icon svg {
  width: 100%;
  height: auto;
  fill: currentColor;
}

/* Divider */
.scroll-snap-section .divider-col {
  position: relative;
  justify-content: center;
}

.scroll-snap-section .divider-line {
  width: 1px;
  background: currentColor;
  height: 100%;
  margin: 0 auto;
}

.scroll-snap-section .divider-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  z-index: 3;
  pointer-events: none;
}

.scroll-snap-section .divider-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

/* Scroll Snap Desktop */
.snap-list {
  height: 80vh;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  position: relative;
  overscroll-behavior: auto;
}

.snap-list::-webkit-scrollbar {
  display: none;
}

.snap-item {
  min-height: 33%;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 2rem 0;
  scroll-snap-align: start;
}

.snap-item .number {
  font-size: 2rem;
  flex-shrink: 0;
  width: 40px;
}

.snap-item .content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Slick/Slider Mobile */
@media (max-width: 767px) {
  .scroll-snap-section {
    padding: 3rem 0;
  }

  .scroll-snap-section .col-12.col-md-4.left-col {
    margin-bottom: 40px;
  }

  .scroll-snap-section .headline-icon {
    top: -55px !important;
    left: -20px !important;
    width: 50px !important;
    height: 50px !important;
  }

  /* Snap list wird horizontaler Slider */
  .snap-list {
    height: auto;
    overflow: visible;
    scroll-snap-type: none;
    display: block;
  }

  /* Snap Item neu: Nummer links vom Text (kein Rahmen) */
  /* Snap Item neu: Nummer links vom Text (kein Rahmen, gleiche Höhe) */
  .snap-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    text-align: left;
    margin-bottom: 1rem;
    border: none;
    border-radius: 0;
    min-height: 120px;
    box-sizing: border-box;
  }

  .snap-item .number {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 0;
    /* gleiche Höhe */
    width: auto;
    text-align: left;
    /* Nummer links */
  }

  .snap-item .content {
    width: 100%;
    text-align: left;
    /* Text linksbündig */
  }

  /* Slick spacing */
  .snap-list .slick-slide {
    padding: 0 6px;
  }

  .snap-list .slick-list {
    margin: 0 -6px;
  }

  /* Arrows */
  .scroll-snap-section .slider-arrows {
    display: flex;
    justify-content: center;
    gap: 1rem;
  }

  .scroll-snap-section .slider-arrows button {
    background: transparent;
    border: 1px solid currentColor;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: currentColor;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .scroll-snap-section .slider-arrows button:hover {
    background: var(--color-red);
    color: var(--color-white);
    border-color: var(--color-red);
  }
}
/* scroll-snap-section end */
/* table-section */
.table-section {
  background: transparent;
  color: var(--color-white);
}

.table-section .table-head-row th {
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.75rem;
}

.table-section .table-section-headline {
  text-align: left;

  font-size: 1.4rem;
  white-space: nowrap;
  /* verhindert Umbruch */
}

.table-section table th,
.table-section table td {
  padding: 0.5rem 0.75rem;
  vertical-align: middle;
  font-size: 0.95rem;
}

th.table-section-headline.align-middle,
.table-section .table-head-row th,
tbody th,
tbody td {
  background: var(--color-black) !important;
  color: var(--color-white) !important;
}

/* Hover-Klasse für Spalten */
.table-section .highlight-column {
  background-color: var(--color-red) !important;
  color: var(--color-white) !important;
}

/* Tertiary Button */
.table-section .tertiary-button {
  position: relative;
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.9rem;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  color: currentColor;
  transition: color 0.3s ease;
}

.table-section .tertiary-button .btn-icon {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 30px;
  height: 30px;
}

.table-section .tertiary-button .btn-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.table-section .tertiary-button:hover .btn-icon svg {
  fill: var(--color-red);
}

/* Mobile Schrift kleiner */
@media (max-width: 767px) {
  .table-section .table-section-headline {
    font-size: 1rem;
  }

  .table-section table th,
  .table-section table td {
    padding: 0.4rem 1rem;
    min-width: 150px;
  }
}

/* Table-Responsive Anpassung */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Mobile – mehr horizontaler Abstand zwischen den Spalten */
@media (max-width: 767.98px) {
}
/* table-section end */
/* team-section */
.team-section {
  padding: 6rem 0;
  background: var(--color-black);
  color: var(--color-white);
}

/* Headline */
.team-section .headline {
  position: relative;

  min-height: 80px;
}

.team-section .headline-icon {
  position: absolute;
  top: -60px;
  left: -60px;
  width: 80px;
  height: 80px;
}

.team-section .headline-icon svg {
  width: 100%;
  height: auto;
  fill: currentColor;
}

/* Grid Layout */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* Card Layout */
.team-card {
  border: 1px solid currentColor;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.team-header {
  margin-bottom: 0.5rem;
}

.team-name {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.team-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.team-learn-more {
  color: currentColor;

  cursor: pointer;
}

/* Image Wrapper */
.team-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  /* Bildhöhe */
  overflow: hidden;
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease;
}

.team-text-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  color: var(--color-white);
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  font-size: 0.9rem;
  line-height: 1.4;
  overflow-y: auto;
}

/* Show overlay on hover */
.team-image-wrapper.show-text .team-image {
  opacity: 0;
}

.team-image-wrapper.show-text .team-text-overlay {
  opacity: 1;
}

/* Responsive */
@media (max-width: 767px) {
  .team-section {
    padding: 3rem 0;
  }

  .team-section .headline-icon {
    top: -55px;
    left: -20px;
    width: 50px;
    height: 50px;
  }
}
/* team-section end */
/* text-slider-section */
.text-slider-section {
  padding: 6rem 0;
  background: var(--color-black);
  color: var(--color-white);
}

/* Headline */
.text-slider-section .headline {
  position: relative;
}

.text-slider-section .headline-icon {
  position: absolute;
  top: -60px;
  left: -60px;
  width: 80px;
  height: 80px;
}

.text-slider-section .headline-icon svg {
  width: 100%;
  height: auto;
  fill: currentColor;
}

/* Slider Basis */
.text-slider-section .slick-list {
  width: 100%;
}

.text-slider-section .slick-slide {
  padding: 0 10px;
  height: auto;
}

.text-cards-slider .slick-list {
  margin: 0 -10px;
}

/* Card Layout gleich groß */
.text-card-item {
  overflow: hidden;
  height: 100%;
}

.text-card-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 350px;
  /* feste Höhe für gleiche Kacheln */
  padding: 2rem 1.5rem;
  border: 1px solid currentColor;
  background: var(--color-black);
  color: var(--color-white);
  transition: all 0.3s ease;
}

.text-card-headline {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.text-card-text {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Tertiary Button */
.text-slider-section .tertiary-button {
  position: relative;
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.9rem;
  text-transform: uppercase;
  text-decoration: none;
  background: transparent;
  color: currentColor;
  transition: color 0.3s ease;
}

.text-slider-section .tertiary-button:hover {
  color: var(--color-red);
}

.text-slider-section .tertiary-button .btn-icon {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 30px;
  height: 30px;
}

.text-slider-section .tertiary-button .btn-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.text-slider-section .tertiary-button:hover .btn-icon svg {
  fill: var(--color-red);
}

/* Slider-Arrows unten */
.text-slider-section .slider-arrows-bottom {
  display: flex;
  justify-content: end;
  gap: 1rem;
  margin-top: 2rem;
}

.text-slider-section .slider-arrows-bottom button {
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: currentColor;
  cursor: pointer;
  transition: all 0.3s ease;
}

.text-slider-section .slider-arrows-bottom button:hover {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}

/* Responsive */
@media (max-width: 991px) {
  .text-cards-slider .slick-slide {
    padding: 0 8px;
  }

  .text-card-inner {
    height: 300px;
  }
}

@media (max-width: 767px) {
  .text-cards-slider .slick-slide {
    padding: 0 5px;
  }

  .text-card-inner {
    height: auto;
  }

  .text-slider-section .headline-icon {
    top: -55px;
    left: -20px;
    width: 50px;
    height: 50px;
  }
}
/* text-slider-section end */
/* two-col-section */
.two-col-section {
  padding: 4rem 0;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Hintergrundfarben */
.two-col-section.bg-black {
  background: var(--color-black);
  color: var(--color-white);
}

.two-col-section.bg-white {
  background: var(--color-white);
  color: var(--color-black);
  position: relative;
  overflow: hidden;
  padding: 10rem 0;
  /* wie bei image-slider-section */
}

/* Schwarze Dreiecke nur bei weißem Hintergrund */
.two-col-section.bg-white::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-left: 120px solid var(--color-black);
  border-bottom: 120px solid transparent;
  z-index: 1;
}

.two-col-section.bg-white::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-right: 120px solid var(--color-black);
  border-top: 120px solid transparent;
  z-index: 1;
}

.two-col-section .headline-icon {
  position: absolute;
  top: -60px;
  left: -60px;
  width: 80px;
  height: 80px;
}

.two-col-section .headline-icon svg {
  width: 100%;
  height: auto;
  fill: currentColor;
}

/* Text */
.two-col-section .text {
  font-size: 1rem;
  line-height: 1.6;
}

/* Content-Abstand */
.two-col-section .content-col {
  padding-left: 2rem;
  padding-right: 2rem;
}

@media (max-width: 767px) {
  .two-col-section {
    padding: 3rem 0;
  }

  .two-col-section .headline-icon {
    top: -55px;
    left: -20px;
    width: 50px;
    height: 50px;
  }

  .two-col-section .content-col {
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    padding-right: calc(var(--bs-gutter-x) * 0.5);
  }
}
/* two-col-section end */
/* video-text-section */
.video-text-section {
  padding: 6rem 0;
  transition: background 0.3s ease, color 0.3s ease;
}

/* Background Colors */
.video-text-section.bg-black {
  background: var(--color-black);
  color: var(--color-white);
}

.video-text-section.bg-white {
  background: var(--color-white);
  color: var(--color-black);
  padding: 10rem 0;
}

/* Headline */
.video-text-section .headline {
  max-width: 800px;
}

.video-text-section .headline-icon {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 80px;
}

.video-text-section .headline-icon svg {
  width: 100%;
  height: auto;
  fill: currentColor;
}

/* Video */
.video-text-section .video-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.video-text-section .video-element {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.video-text-section .video-overlay {
  position: absolute;
  left: 0;
  right: 0;
  height: 80px;
  pointer-events: none;
  z-index: 2;
}

.video-text-section .video-overlay.top {
  top: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
}

.video-text-section .video-overlay.bottom {
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
}

.video-text-section.bg-white .video-overlay.top {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
}

.video-text-section.bg-white .video-overlay.bottom {
  background: linear-gradient(to top, rgba(255, 255, 255, 0.6), transparent);
}

/* Text + Button */
.video-text-section .content-col .text {
  font-size: 1rem;
  line-height: 1.6;
}

.video-text-section .tertiary-button {
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.9rem;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-white);
  background: transparent;
  position: relative;
  transition: color 0.3s ease;
}

.video-text-section .tertiary-button .btn-icon {
  position: absolute;
  top: -8px;
  left: -8px;
  width: 30px;
  height: 30px;
}

.video-text-section .tertiary-button .btn-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.video-text-section .tertiary-button:hover {
  color: var(--color-red);
}

.video-text-section .tertiary-button:hover .btn-icon svg {
  fill: var(--color-red);
}

@media (max-width: 767.98px) {
  .video-text-section .video-col {
    margin-bottom: 4rem !important;
    /* mehr Abstand auf Mobile */
  }

  .video-text-section {
    padding: 3rem 0 3rem 0;
  }
}
/* video-text-section end */

/* qoute-section */
.quote-section {
  padding: 6rem 0;
  position: relative;
}

.quote-section.bg-black {
  background: var(--color-black);
  color: var(--color-white);
}

.quote-section.bg-white {
  background: var(--color-white);
  color: var(--color-black);
  position: relative;
  overflow: hidden;
  padding: 10rem 0;
}

/* Schwarze Dreiecke bei weißem Background */
.quote-section.bg-white::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-left: 120px solid var(--color-black);
  border-bottom: 120px solid transparent;
  z-index: 1;
}

.quote-section.bg-white::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-right: 120px solid var(--color-black);
  border-top: 120px solid transparent;
  z-index: 1;
}

/* Slider Layout */
.quote-slider {
  position: relative;
}

.quote-slide {
  display: flex;
  align-items: flex-start;
  /* Text oben am Icon ausrichten */
  justify-content: flex-start;
  gap: 2rem;
}

.quote-content {
  flex: 1;
}

/* Quote Text */
.quote-text {
  font-size: 2rem;

  line-height: 1.4;
  margin-bottom: 1rem;
}

.quote-author {
  font-size: 1rem;
  font-style: italic;
  opacity: 0.8;
}

/* Icon */
.quote-icon {
  max-width: 100px;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.quote-icon svg {
  width: 100%;
  height: auto;
  fill: currentColor;
}

/* Arrows links unten */
.quote-slider-wrapper .slider-arrows {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: flex-start;
}

.quote-slider-wrapper .slider-arrows button {
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: currentColor;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quote-slider-wrapper .slider-arrows button:hover {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}

/* Slider */
.quote-slider .slick-slide {
  padding: 0 10px;
}

.quote-slider .slick-list {
  margin: 0 -10px;
}

/* Responsive */
@media (max-width: 767px) {
  .quote-slide {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
  }

  .quote-icon {
    max-width: 60px;
    margin-bottom: 1.5rem;
  }

  .quote-text {
    font-size: 1.4rem;
  }

  .quote-author {
    font-size: 0.9rem;
  }

  .quote-icon {
    display: none;
  }

  /* Schwarze Dreiecke bei weißem Background */
  .quote-section.bg-white::before {
    border-left: 70px solid var(--color-black);
    border-bottom: 70px solid transparent;
  }

  .quote-section.bg-white::after {
    border-right: 70px solid var(--color-black);
    border-top: 70px solid transparent;
  }

  .quote-section.bg-white {
    padding: 6rem 0 3rem 0;
  }
}
/* qoute-section end */
/* footer */
#footer {
  position: relative;
  overflow: hidden;
}
#footer a {
  color: var(--color-white);
}

/* Footer Bild unten links sichtbar */
#footer .footer-image {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 90%;
  max-width: 40%;
  z-index: 0;
  pointer-events: none;
}

#footer .footer-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* Mobile  */
@media (max-width: 767px) {
  #footer .footer-image {
    width: 150px;
    opacity: 0.6;
  }
}

/* footer end */

/* Mobile */

/* Desktop */
@media (min-width: 992px) {
}
/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {
}

/* Mobile */
@media (max-width: 767px) {
  /* main */
  .spacing-big {
    height: 50px !important;
  }
  /* image with border */

  /* ===== Rahmen AN: image-with-border (dein funktionierendes Muster) ===== */
  .image-with-border {
    --background-color: var(--color-black);
    --border-color: var(--color-white);
    --border-width: 1px;
    --edge-size: 100px;
    --image-padding: 20px;

    position: relative;
    display: inline-grid;
    place-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    isolation: isolate;
    clip-path: polygon(
      0 0,
      100% 0,
      100% 100%,
      var(--edge-size) 100%,
      0 calc(100% - var(--edge-size))
    );
  }

  .image-with-border > img,
  .image-with-border > video {
    position: absolute;
    inset: calc(var(--border-width) + var(--image-padding));
    width: calc(100% - 2 * (var(--border-width) + var(--image-padding)));
    height: calc(100% - 2 * (var(--border-width) + var(--image-padding)));
    object-fit: cover;
    z-index: 0;

    clip-path: polygon(
      0 0,
      100% 0,
      100% 100%,
      var(--edge-size) 100%,
      0 calc(100% - var(--edge-size))
    );
  }

  .image-with-border::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--border-color);
    z-index: -2;
  }

  .image-with-border::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--background-color);
    z-index: -1;
    clip-path: polygon(
      var(--border-width) calc(0% + var(--border-width)),
      calc(100% - var(--border-width)) var(--border-width),
      calc(100% - var(--border-width)) calc(100% - var(--border-width)),
      calc(var(--edge-size) + var(--border-width))
        calc(100% - var(--border-width)),
      var(--border-width) calc(100% - var(--edge-size) - var(--border-width))
    );
  }

  /* Rahmenfarbe invertieren bei weißem Section-Hintergrund */
}
/* ========== FOOTER MOBILE ZENTRIEREN ========== */
@media (max-width: 767px) {
  #footer .row,
  #footer .col-12,
  #footer .col-md-4,
  #footer .col-md-8,
  #footer .col-md-6 {
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
  }

  #footer .col-md-4 a,
  #footer .col-md-4 img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  #footer .col-md-6 {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #footer .col-md-6 .mb-5 {
    text-align: center !important;
  }

  #footer h2.h5 {
    text-align: center !important;
  }

  #footer .small.text-white {
    text-align: center !important;
  }

  #footer .row.mt-5 .col-12 {
    text-align: center !important;
  }
  #footer .text-white {
    z-index: 99;
  }
  #footer .footer-image {
    width: 390px;
    opacity: 0.6;
  }

  #footer .footer-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 90%;
    max-width: 120%;
    z-index: 0;
    pointer-events: none;
  }
}
