/* outfit-100 - latin */
@font-face {
	font-display: swap;
	font-family: 'Outfit';
	font-style: normal;
	font-weight: 100;
	src: url('../fonts/outfit-v15-latin-100.woff2') format('woff2');
}
/* outfit-300 - latin */
@font-face {
	font-display: swap;
	font-family: 'Outfit';
	font-style: normal;
	font-weight: 300;
	src: url('../fonts/outfit-v15-latin-300.woff2') format('woff2');
}
/* outfit-500 - latin */
@font-face {
	font-display: swap;
	font-family: 'Outfit';
	font-style: normal;
	font-weight: 500;
	src: url('../fonts/outfit-v15-latin-500.woff2') format('woff2');
}
/* outfit-600 - latin */
@font-face {
	font-display: swap;
	font-family: 'Outfit';
	font-style: normal;
	font-weight: 600;
	src: url('../fonts/outfit-v15-latin-600.woff2') format('woff2');
}
/* outfit-700 - latin */
@font-face {
	font-display: swap;
	font-family: 'Outfit';
	font-style: normal;
	font-weight: 700;
	src: url('../fonts/outfit-v15-latin-700.woff2') format('woff2');
}

:root {
	--primary: rgb(30, 30, 170);
	--primary-dark: #191990;
	--primary-light: #eeeefb;
	--white: #ffffff;
	--slate-50: #f8fafc;
	--slate-100: #f1f5f9;
	--slate-500: #64748b;
	--slate-600: #475569;
	--slate-800: #1e293b;
	--shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
}

body {
	font-family: 'Outfit', sans-serif;
	background-color: rgb(253, 253, 253);
	margin: 0;
	overflow-x: hidden;
}

/* Wasser-Video-Hintergrund (unterste Ebene).
   Start: 50vh nach unten versetzt, scrollt mit der Seite mit.
   Sobald der obere Rand oben ankommt (Scroll >= 50vh), wird per
   .is-fixed auf position:fixed umgeschaltet und bleibt oben kleben. */
.hero-video {
	position: absolute;
	top: 50vh;
	left: 0;
	width: 100%;
	height: 100vh;
	object-fit: cover;
	z-index: 0;
	pointer-events: none;
}

.hero-video.is-fixed {
	position: fixed;
	top: 0;
}

.content-layer {
	position: relative;
	z-index: 10;
}

/* Top-Scrim: weisser Verlauf oben (deckend → transparent), liegt hinter
   Logo/Menü (z-index 100) und blendet den durchscrollenden Inhalt aus. */
.header-scrim {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 160px;
	background: linear-gradient(to bottom, #ffffff 0%, #ffffff 40%, rgba(255, 255, 255, 0) 100%);
	z-index: 100;
	pointer-events: none;
}

.section {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 10%;
}

.text-reveal {
	opacity: 0;
	transform: translateY(30px);
	transition: all 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.text-reveal.visible {
	opacity: 1;
	transform: translateY(0);
}
.wizard-step-active { border-color: rgb(30, 30, 170) !important; background-color: #eeeefb; }
.product-img { max-height: 120px; object-fit: contain; margin-bottom: 1rem; }
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
.product-card { min-width: 280px; scroll-snap-align: start; }
.info-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: help;
}

.detail-text {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s ease;
    opacity: 0;
}

.detail-text.show {
    max-height: 100px;
    opacity: 1;
    margin-top: 0.5rem;
}

/* Animation für das X beim Hamburger */
#nav-icon.open span:nth-child(1) { transform: rotate(45deg); background-color: rgb(30, 30, 170); }
#nav-icon.open span:nth-child(2) { opacity: 0; transform: translateX(20px); }
#nav-icon.open span:nth-child(3) { transform: rotate(-45deg); background-color: rgb(30, 30, 170); }

/* Menüpunkt-Animation beim Öffnen */
#menu-overlay.active { transform: translateX(0); }
#menu-overlay.active .menu-item { opacity: 1; transform: translateY(0); }

.field {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  margin-top: 40px;
}

.mouse {
  width: 40px;
  height: 70px;
  border: 3px solid #333;
  border-radius: 60px;
  position: relative;
}
.mouse::before {
  content: "";
  width: 12px;
  height: 12px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  border-radius: 50%;
  opacity: 1;
  animation: wheel 2s infinite;
  -webkit-animation: wheel 2s infinite;
}

@keyframes wheel {
  to {
    opacity: 0;
    top: 60px;
  }
}
@-webkit-keyframes wheel {
  to {
    opacity: 0;
    top: 60px;
  }
}
.scroll {
  width: 60px;
  height: 60px;
  border: 2px solid #333;
  border-radius: 50%;
  position: relative;
  animation: down 1.5s infinite;
  -webkit-animation: down 1.5s infinite;
}
.scroll::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 18px;
  width: 18px;
  height: 18px;
  border-left: 2px solid #333;
  border-bottom: 2px solid #333;
  transform: rotate(-45deg);
}

@keyframes down {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translateY(15px);
  }
  40% {
    transform: translate(0);
  }
}
@-webkit-keyframes down {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translateY(15px);
  }
  40% {
    transform: translate(0);
  }
}
.arrow {
  width: 0;
  height: 40px;
  border: 1px solid #333;
  position: relative;
  animation: scroll 1.5s infinite;
  -webkit-animation: scroll 1.5s infinite;
}
.arrow::after {
  content: "";
  display: block;
  position: absolute;
  top: 100%;
  left: -5px;
  width: 1px;
  height: 10px;
  border-top: 10px solid #333;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}

@keyframes scroll {
  0% {
    height: 40px;
  }
  30% {
    height: 70px;
  }
  60% {
    height: 40px;
  }
}
@-webkit-keyframes scroll {
  0% {
    height: 40px;
  }
  30% {
    height: 70px;
  }
  60% {
    height: 40px;
  }
}

/* Vergleichstabelle Styling */
/* Sektions-Styling */
.section-padding {
    padding: 100px 0;
    background-color: var(--white);
}

.container-max {
    max-width: 1100px;
    margin: 0 auto;
    /* Seitliches Padding = Nav-Padding (px-12 = 48px), damit der Content
       bei schmalem Viewport links mit dem Logo fluchtet. */
    padding: 0 48px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.sub-title {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 300;
}

.italic-bold {
    font-weight: 600;
    font-style: italic;
}

/* Tabellen-Styling */
.table-wrapper {
    overflow-x: auto; /* Wichtig für Mobile */
    border-radius: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--slate-100);
}

.comparison-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    background: white;
}

.comparison-table th {
    background-color: var(--slate-50);
    padding: 25px;
    text-align: left;
    font-size: 1.2rem;
    border-bottom: 1px solid var(--slate-100);
    width: 35%;
}

.comparison-table th:first-child {
    width: 30%;
}

.comparison-table td {
    padding: 20px 25px;
    border-bottom: 1px solid var(--slate-50);
    vertical-align: top;
    line-height: 1.5;
}

/* Mehrwertige Zellen als saubere Listen statt <br>-Stapel */
.cell-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.cell-list li {
    padding: 5px 0;
}

.cell-list li + li {
    border-top: 1px solid var(--slate-50);
}

/* Zentrierte Listen in verschmolzenen Zellen */
.merged-cell .cell-list li {
    text-align: center;
}

.merged-cell .cell-list li + li {
    border-top-color: rgba(30, 30, 170, 0.12);
}

/* Nur die abweichenden Angaben fett (z. B. GPD-Wert, Vorfilter) statt der ganzen highlight-col */
.cell-list-diff {
    font-weight: 400;
}

/* Dezente Zusatzinfo (z. B. Ausrichtung bei Abmessungen) */
.cell-note {
    color: var(--slate-500);
    font-size: 0.85em;
    white-space: nowrap;
}

.feature-title {
    font-weight: 600;
    background-color: var(--slate-50);
    width: 30%;
}

/* Zentrierung für zusammengefügte Zellen:
   Halb/halb-Verlauf, damit die WB-40-Hervorhebung links durchläuft
   und WB 41 rechts weiss bleibt (durchgehende Spalten). */
.merged-cell {
    text-align: center;
    vertical-align: middle;
    background: linear-gradient(to right, var(--primary-light) 0 50%, var(--white) 50% 100%);
    color: var(--slate-600);
    font-weight: 500;
    font-style: italic;
    line-height: 1.7;
}

/* Hervorgehobene Empfehlungs-Spalte (WB 40) */
.comparison-table th.highlight-col {
    position: relative;
    background-color: var(--primary-light);
    color: var(--primary);
    border-top: 3px solid var(--primary);
}

.comparison-table td.highlight-col {
    background-color: var(--primary-light);
    color: var(--slate-800);
    font-weight: 600;
}

.col-badge {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 3px 10px;
    border-radius: 999px;
    margin-right: 10px;
    vertical-align: middle;
}

/* CTA-Buttons in der Tabelle */
.comparison-table tfoot td {
    padding: 28px 25px;
    text-align: center;
    background-color: var(--slate-50);
    border-bottom: none;
}

.comparison-table tfoot td.highlight-col {
    background-color: var(--primary-light);
    border-bottom: 3px solid var(--primary);
}

.table-cta {
    display: inline-block;
    width: 100%;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    background-color: var(--primary);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.table-cta:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* --- Produkt Banner --- */
.product-banner {
    background-color: var(--slate-50); /* Ein leichter Hintergrund */
    padding: 80px 0;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px; /* Abstand zwischen Bild und Text */
}

.banner-image-wrapper {
    flex: 1; /* Nimmt den restlichen Platz ein */
    display: flex;
    justify-content: center;
    align-items: center;
}

.banner-product-img {
    max-width: 100%;
    height: auto;
    max-height: 400px; /* Max. Höhe, um das Bild nicht zu überdehnen */
    object-fit: contain;
}

.banner-text-content {
    flex: 1; /* Nimmt den restlichen Platz ein */
    padding-left: 40px; /* Etwas Abstand vom Bild */
}

.banner-sub-title {
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.banner-main-title {
    font-size: 2.8rem; /* Großer, auffälliger Titel */
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--slate-800);
}

.banner-main-title .text-primary-color {
    color: var(--primary);
    font-style: italic;
    font-weight: 600;
}

.banner-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--slate-600);
    margin-bottom: 30px;
    max-width: 500px;
}

.btn-banner-action {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-banner-action:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Responsive Anpassungen für Mobile */
@media (max-width: 768px) {
    .product-banner {
        padding: 50px 0;
        margin-top: 80px;
    }
    .banner-content {
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
    }
    .banner-text-content {
        padding-left: 0;
        padding-top: 30px;
    }
    .banner-main-title {
        font-size: 2rem;
    }
    .banner-description {
        font-size: 1rem;
    }
    .banner-product-img {
        max-height: 300px;
    }
}