/*=================================================================*/
/*                       TEMPLATE GENERELL                         */
/*=================================================================*/

/* Body */
/*------*/
#sp-main-body {
    padding: 20px 0;
}

/* Header ab 1400px und kleiner sichtbar + sticky halten */
@media (max-width: 1399.98px) {
	#sp-header.header-with-social {
      height: 120px !important;
	}
}
@media (max-width: 991.98px) {
	#sp-header.header-with-social {
      height: 60px !important;
	}
}
@media (max-width: 449.98px) {
	#sp-header.header-with-social {
      height: 120px !important;
	}
}

  
/*=================================================================*/
/*                           STARTSEITE                            */
/*=================================================================*/

/* Hero-Section */
/*--------------*/
.hero-startseite {
  position: relative;
  min-height: 750px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-startseite::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.50) 35%,
    rgba(0, 0, 0, 0.10) 70%,
    rgba(0, 0, 0, 0.00) 100%
  );
  z-index: 1;
}

.hero-startseite > .container,
.hero-startseite > .row,
.hero-startseite .rspbld-container,
.hero-startseite .rspbld-row,
.hero-startseite .rspbld-column,
.hero-startseite .rspbld-text-block {
  position: relative;
  z-index: 2;
}

.hero-startseite .hero-content {
  max-width: 560px;
  color: #fff;
}

.hero-startseite h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0 0 20px 0;
  color: #fff;
}

.hero-startseite .hero-subtitle {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #fff;
}

.hero-startseite .hero-quote {
  position: relative;
  padding-left: 46px;
  margin-bottom: 34px;
  color: #fff;
}

.hero-startseite .hero-quote::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -12px;
  font-size: 76px;
  line-height: 1;
  font-weight: 700;
  color: #b60012;
  font-family: Georgia, serif;
}

.hero-startseite .hero-quote p {
  margin: 0;
  font-size: 18px;
  line-height: 1.75;
  font-style: italic;
  color: #fff;
}

.hero-startseite .hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-startseite .btn-red,
.hero-startseite .btn-outline {
  display: inline-block;
  padding: 16px 28px;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
}

.hero-startseite .btn-red {
  background: #b60012;
  color: #fff;
  border: 1px solid #b60012;
}

.hero-startseite .btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.85);
}

.hero-startseite .btn-red:hover {
  background: #8f000e;
  border-color: #8f000e;
  color: #fff;
}

.hero-startseite .btn-outline:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* Karten-Section */
/*----------------*/

/* Abstand zwischen Hero-Bereich und Kacheln */
.home-teaser-section {
  margin-top: 36px;
  padding-top: 0;
  background: transparent !important;
}

/* Mobil etwas weniger Abstand */
@media (max-width: 767px) {
  .home-teaser-section {
    margin-top: 24px;
  }
}

/* Störende Hintergründe/Schatten von RSPageBuilder entfernen */
.home-teaser-section .row,
.home-teaser-section [class*="col-"],
.home-teaser-section .rspbld-column,
.home-teaser-section .rspbld-addon,
.home-teaser-section .rspbld-image,
.home-teaser-section .rspbld-text-block {
  background: transparent !important;
  box-shadow: none !important;
}

/* Einzelkarte */
.home-teaser-card {
  width: 100%;
  max-width: none;
  background: #ffffff !important;
  text-align: center;
  margin: 0 0 40px;
  overflow: hidden;

  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.13) !important;
}

/* Keine blauen Fokus-/Hover-Schatten auf der Karte */
.home-teaser-card:hover,
.home-teaser-card:focus,
.home-teaser-card:focus-within {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.13) !important;
  outline: none !important;
}

/* Bildbereich: Farbe kommt aus dem HTML per style="--teaser-image-bg: ..." */
.home-teaser-image {
  width: 100%;
  min-height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  background: var(--teaser-image-bg, #f4f4f4) !important;
}

/* Falls RSPageBuilder innerhalb des Bildbereichs noch eigene Hintergründe setzt */
.home-teaser-image > div,
.home-teaser-image .rspbld-image,
.home-teaser-image .rspbld-addon,
.home-teaser-image figure {
  background: transparent !important;
  box-shadow: none !important;
}

/* Bild nicht vergrößern */
.home-teaser-image img {
  max-width: 100%;
  max-height: 210px;
  width: auto;
  height: auto;
  display: block;
  box-shadow: none !important;
}

/* Textbereich bleibt immer weiß */
.home-teaser-content {
  padding: 32px 24px 36px;
  background: #ffffff !important;
}

.home-teaser-content h3 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #111111;
  text-align: center;
}

.home-teaser-content h3::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  background: #b60012;
  margin: 18px auto 24px;
}

/* Runder Button */
.home-teaser-button {
  position: relative;
  display: inline-flex;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #b60012;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* Pfeil-Linie */
.home-teaser-button::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 3px;
  background: #ffffff;
  left: 17px;
  top: 25px;
}

/* Pfeil-Spitze */
.home-teaser-button::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border-top: 3px solid #ffffff;
  border-right: 3px solid #ffffff;
  transform: rotate(45deg);
  right: 17px;
  top: 21px;
}

.home-teaser-button span {
  display: none;
}

.home-teaser-button:hover,
.home-teaser-button:focus {
  background: #8f000e;
  box-shadow: none !important;
  outline: none !important;
}

/* Kachelreihe außen bündig mit dem Hero-Bereich ausrichten */
/* Ursache ist meist das linke/rechte Padding der Bootstrap-/RSPageBuilder-Spalten */

.home-teaser-section .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Außen-Padding der ersten und letzten Spalte entfernen */
.home-teaser-section .row > [class*="col-"]:first-child {
  padding-left: 0 !important;
}

.home-teaser-section .row > [class*="col-"]:last-child {
  padding-right: 0 !important;
}

/* Karten füllen auf Desktop ihre jeweilige Spalte vollständig */
.home-teaser-section .home-teaser-card {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 16px;
}

/* Mobil wieder normale Einzelkarten, damit nichts am Rand klebt */
@media (max-width: 767px) {
  .home-teaser-section .row {
    margin-left: -15px !important;
    margin-right: -15px !important;
  }

  .home-teaser-section .row > [class*="col-"]:first-child,
  .home-teaser-section .row > [class*="col-"]:last-child {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .home-teaser-section .home-teaser-card {
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
	margin-bottom: 16px;
  }
}

/* Medien-Section */
/*----------------*/

.home-media-section {
  margin-top: 0;

  /* keine künstliche Verbreiterung mehr */
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;

  /* Innenabstand des schwarzen Bereichs */
  padding: 24px 24px 24px;

  background: #020508 !important;
  color: #ffffff;
  box-sizing: border-box;
}

/* störende Builder-Hintergründe entfernen */
.home-media-section .row,
.home-media-section [class*="col-"],
.home-media-section .rspbld-column,
.home-media-section .rspbld-addon,
.home-media-section .rspbld-text-block,
.home-media-section .rspbld-image {
  background: transparent !important;
  box-shadow: none !important;
}

/* innere Row neutralisieren */
.home-media-section .row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* innere Spalten ohne zusätzlichen Außenversatz */
.home-media-section .row > [class*="col-"]:first-child {
  padding-left: 0 !important;
}

.home-media-section .row > [class*="col-"]:last-child {
  padding-right: 0 !important;
}

/* Überschrift "Medien" */
.home-media-section h2,
.home-media-section h3,
.home-media-section .rspbld-title h2,
.home-media-section .rspbld-title h3 {
  color: #ffffff;
  margin-top: 0;
}

/* Roter Strich unter der Überschrift */
.home-media-section h2::after,
.home-media-section .rspbld-title h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  background: #b60012;
  margin: 18px 0 24px;
}

/* Text */
.home-media-section p {
  color: #ffffff;
}

/* Button */
.home-media-section .home-media-button,
.home-media-section .btn,
.home-media-section a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 54px;
  padding: 0 30px;
  margin-bottom: 12px;

  background: #b60012;
  border: 1px solid #b60012;
  color: #ffffff !important;

  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;

  box-shadow: none !important;
  outline: none !important;
}

.home-media-section .home-media-button:hover,
.home-media-section .home-media-button:focus,
.home-media-section .btn:hover,
.home-media-section .btn:focus,
.home-media-section a.btn:hover,
.home-media-section a.btn:focus {
  background: #8f000e;
  border-color: #8f000e;
  color: #ffffff !important;
  text-decoration: none !important;
}

/* Bild / späteres Hintergrundbild */
.home-media-section img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Mobil */
@media (max-width: 767px) {
  .home-media-section {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;

    padding: 32px 24px 46px;
  }
}