/**
 * SVS B2B Frontend â€“ Brand & Layout Styles
 * Bootstrap 5 wird ergÃ¤nzt, nicht ersetzt.
 */

:root {
  --svs-red: #d72227;
  --svs-red-dark: #b01b1f;
  --svs-red-bright: #e3000f;
  --svs-black: #1a0003;
  --svs-gray-100: #f6f6f6;
  --svs-gray-200: #eeeeee;
  --svs-gray-500: #666666;
  --svs-gray-700: #333333;
  --svs-white: #ffffff;
  --svs-header-height: 100px;
  --svs-accent-height: 2px;
  --svs-font: "Roboto", Helvetica, Arial, sans-serif;
  --svs-transition: 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  --svs-focus: 0 0 0 3px rgba(215, 34, 39, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--svs-font);
  font-weight: 300;
  color: #000;
  background: var(--svs-white);
  line-height: 1.6;
  padding-top: calc(var(--svs-header-height) + var(--svs-accent-height));
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

#main-content {
  flex: 1 0 auto;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--svs-red);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--svs-red-dark);
  text-decoration: underline;
}

:focus-visible {
  outline: none;
  box-shadow: var(--svs-focus);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 2000;
  background: var(--svs-red);
  color: var(--svs-white);
  padding: 0.6rem 1rem;
  border-radius: 0.25rem;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  color: var(--svs-white);
  text-decoration: none;
}

/* Buttons */
.btn-svs,
.btn-outline-svs {
  --bs-btn-font-weight: 500;
  border-radius: 0.25rem;
}

.btn-svs {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--svs-red);
  --bs-btn-border-color: var(--svs-red);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--svs-red-dark);
  --bs-btn-hover-border-color: var(--svs-red-dark);
  --bs-btn-focus-shadow-rgb: 215, 34, 39;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--svs-red-dark);
  --bs-btn-active-border-color: var(--svs-red-dark);
}

.btn-outline-svs {
  --bs-btn-color: var(--svs-red);
  --bs-btn-border-color: var(--svs-red);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--svs-red);
  --bs-btn-hover-border-color: var(--svs-red);
  --bs-btn-focus-shadow-rgb: 215, 34, 39;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--svs-red-dark);
  --bs-btn-active-border-color: var(--svs-red-dark);
}

.btn-reset {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
}

/* Header â€“ Layout wie Alt: Logo | Nav | Suche | Icons, darunter rote Linie */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  background: var(--svs-white);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.site-header__inner {
  min-height: var(--svs-header-height);
  padding: 0.75rem 1.5rem;
  transition: min-height 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled .site-header__inner {
  min-height: 72px;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}

.site-header.is-scrolled .logo-link img {
  height: 42px;
}

.site-header__accent {
  height: var(--svs-accent-height);
  background: var(--svs-red);
  width: 100%;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-link img {
  display: block;
  height: 55px;
  width: auto;
  transition: height 0.25s ease;
}

/* Damit das MegamenÃ¼ relativ zum gesamten Header positioniert wird */
.site-header__nav,
.main-nav--desktop,
.main-nav--desktop .main-nav__list,
.main-nav--desktop .main-nav__item {
  position: static;
}

.site-header__nav {
  align-self: stretch;
  display: flex;
  align-items: stretch;
}

.main-nav--desktop {
  width: 100%;
  display: flex;
  align-items: stretch;
}

.main-nav--desktop .main-nav__list {
  gap: 0.25rem 1.25rem;
  justify-content: center;
  width: 100%;
  align-items: stretch;
}

.main-nav--desktop .main-nav__item {
  display: flex;
  align-items: center;
}

.main-nav--desktop .nav-link,
.main-nav--desktop .mega-toggle {
  color: #000;
  font-weight: 400;
  padding: 0.5rem 0.25rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.main-nav--desktop .nav-link:hover,
.main-nav--desktop .nav-link:focus-visible,
.main-nav--desktop .nav-link.active,
.main-nav--desktop .mega-toggle:hover,
.main-nav--desktop .mega-toggle:focus-visible,
.main-nav--desktop .mega-toggle.active,
.main-nav--desktop .main-nav__item.is-open > .mega-toggle,
.main-nav--desktop .main-nav__item:hover > .mega-toggle {
  color: var(--svs-red);
  text-decoration: none;
}

.main-nav--desktop .main-nav__item.has-mega:hover > .mega-toggle,
.main-nav--desktop .main-nav__item.is-open > .mega-toggle {
  border-top: 3px solid var(--svs-red);
  padding-top: calc(0.5rem - 3px);
}

.mega-toggle__icon {
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.main-nav__item.is-open .mega-toggle__icon,
.main-nav__item:hover .mega-toggle__icon {
  transform: rotate(180deg);
}

/* Vollbreiten-Unternavigation: Panel Ã¼ber gesamte Viewport-Breite */
.mega-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  width: 100%;
  z-index: 1025;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

.main-nav__item.has-mega:hover > .mega-menu,
.main-nav__item.has-mega:focus-within > .mega-menu,
.main-nav__item.has-mega.is-open > .mega-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.mega-menu__panel {
  width: 100%;
  background: var(--svs-white);
  border-bottom: 2px solid var(--svs-red);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  padding: 2rem 0 2.25rem;
}

/* Inhalte nur im Inhaltsbereich, nach Themengebiet strukturiert */
.mega-menu__content {
  max-width: 1180px;
}

.mega-menu__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--svs-red);
  margin: 0 0 0.75rem;
  text-transform: none;
}

.mega-menu__links a {
  display: block;
  color: #000;
  text-decoration: none;
  padding: 0.35rem 0;
  font-weight: 400;
  line-height: 1.4;
}

.mega-menu__links a:hover,
.mega-menu__links a:focus-visible {
  color: var(--svs-red);
  text-decoration: none;
}

.mega-menu--mobile {
  position: static;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  width: auto;
}

.mega-menu--mobile .mega-menu__title {
  margin-top: 0.75rem;
}

.header-search .form-control {
  min-width: 10rem;
  border-color: #ccc;
}

.header-search .form-control:focus {
  border-color: var(--svs-red);
  box-shadow: var(--svs-focus);
}

.header-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 1.15rem;
  line-height: 1;
  text-decoration: none;
  min-width: 2rem;
  min-height: 2rem;
}

.header-action:hover,
.header-action:focus-visible {
  color: var(--svs-red);
  text-decoration: none;
}

.header-action__badge {
  position: absolute;
  top: -0.35rem;
  right: -0.45rem;
  background: var(--svs-red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 1.1rem;
  height: 1.1rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
}

/* Slideshow */
.hero-slideshow {
  width: 100%;
  background: #111;
}

/* Weicher Crossfade statt hartem Slide */
.hero-slideshow .carousel-fade .carousel-item {
  opacity: 0;
  transition-property: opacity;
  transition-duration: 1.4s;
  transition-timing-function: ease-in-out;
}

.hero-slideshow .carousel-fade .carousel-item.active,
.hero-slideshow .carousel-fade .carousel-item-next.carousel-item-start,
.hero-slideshow .carousel-fade .carousel-item-prev.carousel-item-end {
  opacity: 1;
}

.hero-slideshow .carousel-fade .active.carousel-item-start,
.hero-slideshow .carousel-fade .active.carousel-item-end {
  opacity: 0;
}

.hero-slideshow .carousel-item {
  transition-duration: 1.4s;
}

.hero-slideshow__slide {
  position: relative;
  min-height: clamp(280px, 42vw, 520px);
  overflow: hidden;
  background: #222;
}

.hero-slideshow__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
  transform: translate3d(0, 0, 0) scale(1.06);
  will-change: transform;
  transition: opacity 0.6s ease;
}

.hero-slideshow__overlay {
  position: relative;
  z-index: 1;
  min-height: inherit;
  display: flex;
  align-items: flex-end;
  padding: 3rem 0 4.5rem;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.25) 55%, transparent 100%);
}

.hero-slideshow__title {
  color: var(--svs-red-bright);
  font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.hero-slideshow__text {
  color: #fff;
  max-width: 36rem;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.hero-slideshow .carousel-indicators [data-bs-target] {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  opacity: 1;
}

.hero-slideshow .carousel-indicators .active {
  background: #fff;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-eyebrow {
  color: var(--svs-red);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.section-title {
  font-weight: 700;
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--svs-gray-700);
  max-width: 46rem;
  margin-bottom: 1.5rem;
}

.section-copy {
  color: var(--svs-gray-700);
  margin-bottom: 1rem;
}

.section-claim {
  color: var(--svs-red);
  font-weight: 500;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.content-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.content-visual img {
  max-width: 100%;
  height: auto;
  max-height: 420px;
}

.content-visual--icon img {
  max-height: 220px;
}

.content-checklist {
  margin: 1.25rem 0 0;
}

.content-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  color: #000;
}

.content-checklist i {
  color: var(--svs-red);
  margin-top: 0.35rem;
  flex-shrink: 0;
}

.benefit-card,
.portfolio-card,
.process-card {
  background: var(--svs-white);
  padding: 1.75rem;
  border-top: 3px solid var(--svs-red);
  height: 100%;
}

.benefit-card__icon,
.portfolio-card__icon,
.process-card__icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-card__icon img,
.portfolio-card__icon img,
.process-card__icon img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.benefit-card__title,
.portfolio-card__title,
.process-card__title {
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.portfolio-card__subtitle {
  color: var(--svs-red);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
}

.portfolio-card__points li {
  margin-bottom: 1rem;
}

.portfolio-card__points li:last-child {
  margin-bottom: 0;
}

.portfolio-card__points strong {
  display: block;
  margin-bottom: 0.2rem;
}

.portfolio-card__points span {
  color: var(--svs-gray-700);
  font-size: 0.95rem;
}

.brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  min-height: 11.5rem;
  height: 100%;
  padding: 1.25rem 1rem 1rem;
  background: var(--svs-white);
  border: 1px solid var(--svs-gray-200);
  color: #000;
  text-align: center;
  text-decoration: none;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.brand-card:hover,
.brand-card:focus-visible {
  border-color: var(--svs-red);
  color: var(--svs-red);
  text-decoration: none;
}

.brand-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 4rem;
  height: 4rem;
  width: 100%;
}

.brand-card__logo img {
  max-height: 3.25rem;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.brand-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #000;
}

.brand-card__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: auto;
  width: 100%;
  min-height: 3.25rem;
}

.brand-card__tagline {
  font-size: 0.9rem;
  color: var(--svs-gray-700);
  line-height: 1.3;
  min-height: 1.3em;
}

.brand-card__tagline--empty {
  visibility: hidden;
}

.brand-card__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--svs-red);
}

.brand-card--static {
  cursor: default;
}

.brand-card--static:hover,
.brand-card--static:focus-visible {
  border-color: var(--svs-gray-200);
  color: #000;
}

.brand-card__link--empty {
  visibility: hidden;
}

.bg-soft {
  background: var(--svs-gray-100);
}

.usp-card {
  background: var(--svs-white);
  padding: 1.75rem;
  border-top: 3px solid var(--svs-red);
  height: 100%;
}

.usp-card__icon {
  color: var(--svs-red);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.usp-card__title {
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.feature-card__media {
  margin-bottom: 1.25rem;
  background: var(--svs-gray-100);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.feature-card__media img {
  max-height: 120px;
  width: auto;
  object-fit: contain;
}

.feature-card__title {
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.feature-card__link {
  font-weight: 500;
  text-decoration: none;
}

.feature-card__link:hover {
  text-decoration: underline;
}

.brand-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.5rem;
  padding: 1rem;
  background: var(--svs-white);
  border: 1px solid var(--svs-gray-200);
  color: #000;
  text-align: center;
  text-decoration: none;
  font-weight: 500;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.brand-tile:hover,
.brand-tile:focus-visible {
  border-color: var(--svs-red);
  color: var(--svs-red);
  text-decoration: none;
}

.cta-band {
  background: var(--svs-red);
  color: #fff;
  padding: 3rem 1.5rem;
}

.cta-band__title {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.cta-band__text {
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  opacity: 0.95;
}

.cta-band .btn-light {
  color: var(--svs-red);
  font-weight: 500;
}

.cta-band .btn-outline-light:hover {
  color: var(--svs-red);
}

/* Footer */
.site-footer {
  background: #2a2a2a;
  color: #fff;
  margin-top: auto;
  font-size: 0.85rem;
}

.site-footer__inner {
  width: 100%;
  max-width: none;
  padding: 1.25rem clamp(1rem, 3vw, 2.5rem);
}

.site-footer__bar {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) auto minmax(8rem, 1fr);
  align-items: center;
  column-gap: 1.5rem;
  row-gap: 0.85rem;
}

.site-footer__copy {
  justify-self: start;
  white-space: nowrap;
}

.site-footer__nav {
  justify-self: center;
  min-width: 0;
}

.site-footer__nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.85rem;
}

.site-footer__share {
  justify-self: end;
  text-align: right;
}

.site-footer__note {
  margin-top: 0.75rem;
  text-align: center;
  color: #bbbbbb;
  font-size: 0.8rem;
}

.site-footer__link,
.site-footer__social-link,
.site-footer__copy,
.site-footer__share-label {
  color: #fff;
}

.site-footer__nav-item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.site-footer__sep {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

.site-footer__link {
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
}

.site-footer__link:hover,
.site-footer__social-link:hover {
  color: #ffd0d2;
  text-decoration: none;
}

.site-footer__cookie-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.site-footer__cookie-btn:hover,
.site-footer__cookie-btn:focus-visible {
  color: #ffd0d2;
}

.site-footer .text-secondary {
  color: #bbbbbb !important;
  font-size: 0.8rem;
}

@media (max-width: 991.98px) {
  .site-footer__bar {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .site-footer__copy,
  .site-footer__nav,
  .site-footer__share {
    justify-self: center;
    text-align: center;
  }

  .site-footer__nav-list {
    justify-content: center;
  }
}

.mega-brand-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.6rem;
  min-height: 8.5rem;
  height: 100%;
  padding: 1rem;
  border: 1px solid var(--svs-gray-200);
  background: #fff;
  text-decoration: none;
  color: #000;
  text-align: center;
  transition: border-color 0.2s ease;
}

.mega-brand-card:hover,
.mega-brand-card:focus-visible {
  border-color: var(--svs-red);
  color: var(--svs-red);
  text-decoration: none;
}

.mega-brand-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.25rem;
  width: 100%;
}

.mega-brand-card__logo img {
  max-height: 2.75rem;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.mega-brand-card__name {
  font-weight: 700;
}

.mega-brand-card__tagline {
  font-size: 0.85rem;
  color: var(--svs-gray-700);
  min-height: 1.2em;
}

.mega-brand-card__link {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--svs-red);
}

/* Scroll reveal â€“ erst aktiv mit html.js-anim (gesetzt durch app.js) */
html.js-anim .reveal {
  opacity: 0;
  transform: translate3d(0, 56px, 0);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

html.js-anim .reveal--fade-right {
  transform: translate3d(-48px, 0, 0);
}

html.js-anim .reveal--fade-left {
  transform: translate3d(48px, 0, 0);
}

html.js-anim .reveal--zoom-in {
  transform: translate3d(0, 24px, 0) scale(0.92);
}

html.js-anim .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1.5rem;
  z-index: 1040;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 0.25rem;
  background: var(--svs-gray-500);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, background 0.2s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--svs-red);
}

body.cookie-banner-visible .back-to-top {
  bottom: 7.5rem;
}

/* CMS Content Pages */
.cms-page {
  padding-top: 0;
}

.cms-page__hero {
  width: 100%;
  max-height: 280px;
  overflow: hidden;
  background: #111;
  margin-bottom: 2rem;
}

.cms-page__hero-image {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
}

.cms-page__container {
  max-width: 920px;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.cms-page__title {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 500;
  color: var(--svs-red);
  margin: 0 0 1.25rem;
  line-height: 1.25;
}

.cms-page__teaser {
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--svs-gray-700);
  margin: 0 0 1.5rem;
}

.cms-page__body,
.cms-content {
  font-size: 1rem;
  line-height: 1.7;
  color: #222;
}

.cms-content h2,
.cms-content h3,
.cms-content h4 {
  color: var(--svs-gray-700);
  font-weight: 500;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.cms-content p,
.cms-content ul,
.cms-content ol,
.cms-content table {
  margin-bottom: 1rem;
}

.cms-content ul,
.cms-content ol {
  padding-left: 1.25rem;
}

.cms-content a {
  color: var(--svs-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cms-content img {
  max-width: 100%;
  height: auto;
  margin: 0.5rem 0;
}

.cms-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.cms-content th,
.cms-content td {
  border: 1px solid var(--svs-gray-200);
  padding: 0.5rem 0.75rem;
  vertical-align: top;
}

.cms-content th {
  background: var(--svs-gray-100);
  font-weight: 500;
}

.cms-page__empty {
  color: var(--svs-gray-500);
}

.cms-page__container--wide {
  max-width: 1100px;
}

.cms-page__teaser--soft {
  font-size: 1.25rem;
  color: var(--svs-gray-700);
}

.cms-children {
  margin-top: 2rem;
}

.cms-children__item + .cms-children__item {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--svs-gray-200);
}

.cms-children__title {
  font-size: 1.25rem;
  color: var(--svs-gray-700);
  margin: 0 0 0.75rem;
  font-weight: 500;
}

.cms-accordion {
  margin-top: 1.75rem;
  border-top: 1px solid var(--svs-gray-200);
}

.cms-accordion__item {
  border-bottom: 1px solid var(--svs-gray-200);
}

.cms-accordion__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--svs-gray-700);
}

.cms-accordion__summary::-webkit-details-marker {
  display: none;
}

.cms-accordion__summary::after {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--svs-red);
  border-bottom: 2px solid var(--svs-red);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.cms-accordion__item[open] > .cms-accordion__summary::after {
  transform: rotate(-135deg);
}

.cms-accordion__panel {
  padding: 0 0 1.25rem;
}

.cms-tabs {
  margin-top: 1.75rem;
}

.cms-tabs__nav {
  border-bottom-color: var(--svs-gray-200);
  flex-wrap: wrap;
  gap: 0.25rem;
}

.cms-tabs__nav .nav-link {
  color: var(--svs-gray-700);
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  font-weight: 500;
}

.cms-tabs__nav .nav-link.active,
.cms-tabs__nav .nav-link:hover {
  color: var(--svs-red);
  border-bottom-color: var(--svs-red);
  background: transparent;
}

.cms-tabs__content {
  padding-top: 1.25rem;
}

.cms-contacts {
  margin-top: 1.75rem;
  display: grid;
  gap: 1.25rem;
}

.cms-contacts__row {
  display: grid;
  grid-template-columns: minmax(8rem, 30%) 1fr;
  gap: 1rem 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--svs-gray-200);
}

.cms-contacts__label {
  font-weight: 500;
  color: var(--svs-gray-700);
}

@media (max-width: 575.98px) {
  .cms-contacts__row {
    grid-template-columns: 1fr;
  }
}

.cms-software__group {
  margin-top: 2rem;
}

.cms-software__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.cms-software__brand {
  font-size: 1.25rem;
  margin: 0;
  color: var(--svs-gray-700);
  font-weight: 500;
}

.cms-software__logo {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.cms-software__table {
  font-size: 0.95rem;
}

.cms-software-det {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(10rem, 16rem);
  gap: 1.5rem 2rem;
  align-items: start;
}

.cms-software-det__media {
  order: 2;
}

.cms-software-det__media img {
  width: 100%;
  height: auto;
}

.cms-software-det__note {
  margin-top: 1rem;
  font-weight: 500;
}

@media (max-width: 767.98px) {
  .cms-software-det {
    grid-template-columns: 1fr;
  }

  .cms-software-det__media {
    order: 0;
    max-width: 16rem;
  }
}

.cms-portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.cms-portfolio__item {
  display: block;
  overflow: hidden;
}

.cms-portfolio__item img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  transition: transform 0.25s ease;
}

.cms-portfolio__item:hover img {
  transform: scale(1.03);
}

.cms-hersteller__image {
  float: right;
  margin: 0 0 1rem 1.5rem;
  max-width: 200px;
  height: auto;
}

.cms-hersteller__videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin: 1rem 0 1.5rem;
}

.cms-hersteller__video {
  width: 100%;
  max-height: 220px;
  background: #111;
}

.cms-hersteller__links {
  padding-left: 1.25rem;
  margin: 0.5rem 0 0;
}

.cms-hersteller__links a {
  color: var(--svs-red);
}

/* Über uns (vorübergehend statisch) */
.ueber-uns__subtitle {
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 500;
  color: var(--svs-gray-700);
  margin: 0 0 1.25rem;
}

.ueber-uns__text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #222;
  margin: 0 0 1.1rem;
}

.ueber-uns__partner {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--svs-gray-200);
}

.ueber-uns__section-title {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 500;
  color: var(--svs-red);
  margin: 0 0 0.75rem;
  line-height: 1.25;
}

.ueber-uns__blocks {
  display: flex;
  flex-direction: column;
  margin-top: 2rem;
}

.ueber-uns__block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.25rem;
  align-items: start;
  padding: 1.5rem 0;
  border-top: 1px solid var(--svs-gray-200);
}

.ueber-uns__block:last-child {
  border-bottom: 1px solid var(--svs-gray-200);
}

.ueber-uns__block-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: 0.15rem;
  color: var(--svs-red);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.ueber-uns__block-title {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--svs-gray-700);
  margin: 0 0 0.65rem;
}

.ueber-uns__block-body .ueber-uns__text:last-child {
  margin-bottom: 0;
}

/* Handel & Plattformen */
.handel-plattformen__claim {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--svs-gray-700);
  margin: 0 0 1rem;
}

.handel-plattformen__benefits {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--svs-gray-200);
}

.handel-plattformen__bullets {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}

.handel-plattformen__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
  color: #222;
  line-height: 1.55;
}

.handel-plattformen__bullets i {
  color: var(--svs-red);
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.handel-plattformen__blocks {
  margin-top: 2rem;
}

.handel-plattformen__points {
  margin: 0;
  padding-left: 1.15rem;
  color: #222;
  line-height: 1.6;
}

.handel-plattformen__points li {
  margin-bottom: 0.45rem;
}

.handel-plattformen__points li:last-child {
  margin-bottom: 0;
}

.contact-form {
  max-width: 40rem;
}

.contact-form__hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .form-label {
  font-weight: 500;
}

.contact-form .form-control {
  border-radius: 0;
}

.contact-form .alert {
  border-radius: 0;
}

/* Cookie-Banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1080;
  background: rgba(26, 0, 3, 0.96);
  color: #fff;
  border-top: 3px solid var(--svs-red);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
  padding: 1rem 0;
}

.cookie-banner__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner__content {
  flex: 1 1 18rem;
  min-width: 0;
}

.cookie-banner__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 500;
}

.cookie-banner__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.cookie-banner__privacy {
  color: #ffd0d2;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 0.25rem;
}

.cookie-banner__privacy:hover,
.cookie-banner__privacy:focus-visible {
  color: #fff;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.cookie-banner__btn {
  white-space: nowrap;
}

.cookie-banner .btn-outline-light {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.55);
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.12);
  --bs-btn-hover-border-color: #fff;
  --bs-btn-hover-color: #fff;
}

/* Auth */
.auth-page__box {
  max-width: 28rem;
  margin: 0 auto;
}

.auth-form .form-control {
  border-radius: 0.25rem;
}

/* Catalog / Articles */
.article-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--svs-gray-200);
  background: #fff;
}

.article-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 10rem;
  padding: 1rem;
  background: #fafafa;
}

.article-card__media img {
  max-height: 8rem;
  width: auto;
  object-fit: contain;
}

.article-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 1rem 1rem;
  flex: 1;
}

.article-card__title {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.3;
}

.article-card__title a {
  color: inherit;
  text-decoration: none;
}

.article-card__title a:hover {
  color: var(--svs-red);
}

.article-card__sub,
.article-card__stock {
  font-size: 0.8rem;
  color: var(--svs-gray-500);
  margin: 0;
}

.article-card__number {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--svs-gray-900, #212529);
  line-height: 1.3;
}

.article-card__stock {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.stock-ampel {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
  line-height: 1;
  vertical-align: middle;
}

.stock-ampel__dot {
  box-sizing: border-box;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: 1px solid #555;
  background: #fff;
}

.stock-ampel__dot--white {
  background: #fff;
}

.stock-ampel__dot--green {
  background: #2ea44f;
}

.stock-ampel__dot--yellow {
  background: #f0c000;
}

.stock-ampel__dot--red {
  background: #d72227;
}

.stock-ampel__dot--blue {
  background: #1a6fb5;
}

.article-detail__stock {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.5rem 0 0;
}

.article-card__price {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 1.05rem;
}

.article-card__uvp {
  font-size: 0.75rem;
  margin-right: 0.35rem;
  color: #000;
}

.article-card__old {
  text-decoration: line-through;
  color: var(--svs-gray-500);
  font-size: 0.9rem;
  margin-right: 0.4rem;
}

.article-detail__breadcrumb .breadcrumb {
  margin: 0;
  padding: 0;
  background: transparent;
  font-size: 0.9rem;
}

.article-detail__breadcrumb .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  color: #999;
}

.article-detail__breadcrumb a {
  color: var(--svs-gray-700, #444);
  text-decoration: none;
}

.article-detail__breadcrumb a:hover {
  color: var(--svs-red);
}

.article-detail__image {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: #fafafa;
  border: 1px solid var(--svs-gray-200);
  padding: 1rem;
}

.article-detail__gallery {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.article-detail__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.article-detail__thumb {
  width: 4.25rem;
  height: 4.25rem;
  padding: 0.25rem;
  border: 1px solid var(--svs-gray-200);
  background: #fff;
  cursor: pointer;
}

.article-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.article-detail__thumb.is-active,
.article-detail__thumb:hover,
.article-detail__thumb:focus-visible {
  border-color: var(--svs-red);
  outline: none;
}

.article-detail__brand {
  display: block;
  max-height: 2rem;
  width: auto;
  margin-bottom: 0.75rem;
}

.article-detail__subtitle {
  color: var(--svs-gray-500);
  margin-bottom: 0.75rem;
}

.article-detail__piktos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.article-detail__piktos img {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}

.article-detail__meta {
  max-width: 28rem;
  margin-top: 1rem;
}

.article-detail__meta th {
  width: 40%;
  font-weight: 500;
  color: var(--svs-gray-500);
}

.article-detail__stock-cell {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.article-detail__energy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.article-detail__top {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #cccccc;
  margin-bottom: 0;
}

.article-detail__block {
  padding: 1.35rem 0;
  border-bottom: 1px solid #cccccc;
}

.article-detail__block--last {
  border-bottom: 0;
}

.article-detail__heading {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.85rem;
  color: #222;
}

.article-detail__features {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 1;
  max-width: 36rem;
}

.article-detail__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0 0 0.65rem;
  line-height: 1.4;
}

.article-detail__features li:last-child {
  margin-bottom: 0;
}

.article-detail__features i {
  color: var(--svs-red);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.article-detail__collapse-panel {
  margin-bottom: 0.85rem;
}

.article-detail__collapse-btn {
  min-width: 11rem;
}

.article-detail__video {
  border: 1px solid #cccccc;
  background: #111;
  overflow: hidden;
}

.article-detail__video-player {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
  background: #000;
}

.article-detail__video-caption {
  padding: 0.4rem 0.6rem;
  font-size: 0.8rem;
  color: #666;
  text-align: center;
  background: #fff;
  border-top: 1px solid #cccccc;
}

.article-detail__downloads li {
  margin-bottom: 0.35rem;
}

.article-detail__downloads a {
  text-decoration: none;
  color: inherit;
}

.article-detail__downloads a:hover {
  color: var(--svs-red);
}

.article-detail__downloads i {
  color: var(--svs-red);
  margin-right: 0.4rem;
}

.article-detail__techn th {
  width: 40%;
  font-weight: 400;
  color: var(--svs-gray-700);
  background: #f5f5f5;
}

.article-detail__techn tr:nth-child(even) th,
.article-detail__techn tr:nth-child(even) td {
  background: #fafafa;
}

.article-detail__title {
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  font-weight: 500;
  color: var(--svs-red);
  margin: 0 0 0.35rem;
}

.article-detail__price-value {
  font-size: 1.6rem;
}

.basket-table__link {
  color: inherit;
  text-decoration: none;
}

.basket-table__link:hover {
  color: var(--svs-red);
}

/* Search suggest */
.header-search__wrap {
  position: relative;
}

.header-search__suggest {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  right: 0;
  z-index: 1200;
  background: #fff;
  border: 1px solid var(--svs-gray-200);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  max-height: 20rem;
  overflow: auto;
}

.header-search__suggest-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.65rem 0.85rem;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid var(--svs-gray-100);
}

.header-search__suggest-item:hover,
.header-search__suggest-item:focus {
  background: var(--svs-gray-100);
  color: var(--svs-red);
  text-decoration: none;
}

.header-search__suggest-title {
  font-size: 0.9rem;
  font-weight: 500;
}

.header-search__suggest-number {
  font-size: 0.75rem;
  color: var(--svs-gray-500);
}

/* Responsive */
@media (max-width: 991.98px) {
  :root {
    --svs-header-height: 78px;
  }

  .logo-link img {
    height: 44px;
  }

  .site-header__inner {
    padding: 0.5rem 1rem;
  }

  .hero-slideshow__overlay {
    background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.75) 100%);
    align-items: flex-end;
    text-align: center;
  }

  .hero-slideshow__text {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 575.98px) {
  .section {
    padding: 3rem 0;
  }

  .header-search .form-control {
    min-width: 0;
  }
}

/* Catalog layout: Filter links ausserhalb des Standard-Containers */
.catalog-page__layout {
  --catalog-filter-width: 15rem;
  --catalog-filter-gap: 1.5rem;
}

@media (min-width: 1200px) {
  .catalog-page__layout {
    display: grid;
    grid-template-columns: var(--catalog-filter-width) minmax(0, 1140px);
    gap: var(--catalog-filter-gap);
    justify-content: center;
    align-items: start;
    padding-inline: 1rem;
    /* Gesamtbreite = Filter + Gap + Container; Filter sitzt links neben dem Content */
    max-width: calc(1140px + var(--catalog-filter-width) + var(--catalog-filter-gap) + 2rem);
    margin-inline: auto;
  }

  .catalog-page__layout--no-filters {
    grid-template-columns: minmax(0, 1140px);
    max-width: calc(1140px + 2rem);
  }

  .catalog-page__sidebar {
    position: sticky;
    top: calc(var(--svs-header-height) + var(--svs-accent-height) + 1rem);
    align-self: start;
    max-height: calc(100vh - var(--svs-header-height) - var(--svs-accent-height) - 2rem);
    overflow-y: auto;
  }

  .catalog-page__main .catalog-page__main-inner.container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (min-width: 1400px) {
  .catalog-page__layout {
    grid-template-columns: var(--catalog-filter-width) minmax(0, 1320px);
    max-width: calc(1320px + var(--catalog-filter-width) + var(--catalog-filter-gap) + 2rem);
  }

  .catalog-page__layout--no-filters {
    grid-template-columns: minmax(0, 1320px);
    max-width: calc(1320px + 2rem);
  }
}

@media (max-width: 1199.98px) {
  .catalog-page__layout {
    display: block;
  }

  .catalog-page__sidebar {
    margin-bottom: 1.5rem;
  }

  .catalog-page__sidebar .catalog-filters {
    max-width: 1140px;
    margin-inline: auto;
    padding-inline: var(--bs-gutter-x, 0.75rem);
  }
}

/* Catalog filters */
.catalog-filters {
  padding: 0 0 1.5rem;
}

.catalog-filters__group {
  padding: 0.85rem 0;
  border-bottom: 1px solid #cccccc;
}

.catalog-filters__group:first-child {
  padding-top: 0;
}

.catalog-filters__title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
}

.catalog-filters__option {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0 0 0.35rem;
  font-size: 0.9rem;
  cursor: pointer;
}

.catalog-filters__option input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.catalog-filters__count {
  color: #666;
}

.catalog-filters__reset {
  padding-top: 0.85rem;
}

@media (max-width: 991.98px) {
  .catalog-filters {
    position: static;
    border: 1px solid #cccccc;
    padding: 1rem;
    margin-bottom: 0.5rem;
  }
}
