@charset "utf-8";

@import url(https://includes.seguras.de/css/open-sans.css);

.hero {
  background-image: url("https://includes.seguras.de/img/cms/bilderpool/eo7R2N.jpg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
  min-height: 255px;
}
.hero2 {
  background-image:
    linear-gradient(
      to right,
      var(--bs-hellblau) 0%,
      var(--bs-hellblau) 60%,
      transparent 90%
    ),
    null;
  background-size:
    100% 100%,
    auto 100%;
  background-position:
    0 0,
    right center;
  background-repeat: no-repeat;
}

#totopbutton {
  display: none;
  position: fixed;
  bottom: 15px;
  right: 15px;
  z-index: 4;
  font-size: 30px;
  border: none;
  outline: none;
  background-color: #fff;
  color: #0d5aa2;
  cursor: pointer;
  padding: 0px 10px;
  border-radius: 2px;
}

#totopbutton:hover {
  color: #4a83b9;
}

.rotation-img {
  display: block;
  margin: 1rem auto;
  transition: all 1s ease 0s;
}
@media (max-width: 991px) {
  .hero,
  .hero2 {
    background-image: none;
  }
  .hero .container {
    background-color: #fff;
  }
}

.siegel-fixed-width {
  width: 250px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: "Open Sans", sans-serif;
  line-height: 1.3em;
}

p,
li,
ul,
table,
td {
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  color: #555;
}

.serviceBox {
  margin-top: 60px;
  margin-bottom: 21px;
}
.serviceBox .service-icon {
  width: 78px;
  height: 78px;
  background: #fff;
  margin: 0 auto;
  position: absolute;
  top: -34px;
  left: 0;
  right: 0;
  z-index: 1;
  transition: all 0.3s ease-out 0s;
}

.serviceBox .service-icon span {
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  background: #0d5aa2;
  font-size: 30px;
  color: #fff;
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  transition: all 0.3s ease-out 0s;
}
.serviceBox .service-icon span i {
  transition: all 0.3s ease-out 0s;
}
.serviceBox .service-content {
  background: #fff;
  border: 1px solid #e7e7e7;
  padding: 55px 15px;
  position: relative;
  height: 100%;
}
.serviceBox .service-content:before {
  content: "";
  display: block;
  width: 80px;
  height: 80px;
  border: 1px solid #e7e7e7;
  margin: 0 auto;
  position: absolute;
  top: -37px;
  left: 0;
  right: 0;
  z-index: -1;
  transition: all 0.3s ease-out 0s;
}
.serviceBox .title {
  font-size: 24px;
  font-weight: 500;
  color: #324545;
  margin: 0 0 25px 0;
  position: relative;
  transition: all 0.3s ease-out 0s;
}
.serviceBox:hover .title {
  color: #0d5aa2;
}
.serviceBox .description {
  font-size: 14px;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 0;
}

/*Timeline Beginn*/

/* The actual timeline (the vertical ruler) */
.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

/* The actual timeline (the vertical ruler) */
.timeline::after {
  content: "";
  position: absolute;
  width: 6px;
  background-color: grey;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
}

/* timeline-container around content */
.timeline-container {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
}

/* The circles on the timeline */
.timeline-container::after {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  right: -12px;
  background-color: #fff;
  border: 4px solid #0d5aa2;
  top: 20px;
  border-radius: 50%;
  z-index: 1;
}

/* Place the timeline-container to the timeline-left */
.timeline-left {
  left: 0;
}

/* Place the timeline-container to the timeline-right */
.timeline-right {
  left: 50%;
}

/* Add arrows to the timeline-left timeline-container (pointing timeline-right) */
.timeline-left::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  right: 30px;
  border: medium solid white;
  border-width: 10px 0 10px 10px;
  border-color: transparent transparent transparent #e7e7e7;
}

/* Add arrows to the timeline-right timeline-container (pointing timeline-left) */
.timeline-right::before {
  content: " ";
  height: 0;
  position: absolute;
  top: 22px;
  width: 0;
  z-index: 1;
  left: 30px;
  border: medium solid white;
  border-width: 10px 10px 10px 0;
  border-color: transparent #e7e7e7 transparent transparent;
}

/* Fix the circle for timeline-containers on the timeline-right side */
.timeline-right::after {
  left: -13px;
}

/* The actual content */
.timeline-content {
  padding: 10px 20px;
  background-color: white;
  position: relative;
  border: 1px solid #e7e7e7;
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 1450px) {
  .hero {
    background-position: 80% 100% !important;
  }
}

/* Media queries - Responsive timeline on screens less than 600px wide */
@media screen and (max-width: 767px) {
  /* Place the timelime to the timeline-left */
  .timeline::after {
    left: 31px;
  }

  /* Full-width timeline-containers */
  .timeline-container {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  /* Make sure that all arrows are pointing leftwards */
  .timeline-container::before {
    left: 60px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
  }

  /* Make sure all circles are at the same spot */
  .timeline-left::after,
  .timeline-right::after {
    left: 18px;
  }

  /* Make all timeline-right timeline-containers behave like the timeline-left ones */
  .timeline-right {
    left: 0%;
  }
}

/*Timeline Ende*/

/* Sticky-CTA: zeigt eine fixierte Kopie von #index-btn / #call-to-action am
   unteren Bildschirmrand, solange das Original nicht vollstaendig im
   Viewport sichtbar ist (auch direkt beim Laden der Seite). Sobald das
   Original beim Scrollen vollstaendig in Sicht kommt, wird die Kopie
   wieder ausgeblendet (siehe Scroll-Logik in _footer.php).
   Grundzustand (immer fixiert, per Transform ausserhalb des Bildschirms
   und unsichtbar/nicht klickbar) steht bewusst ausserhalb der Media-Query,
   damit die Kopie auf Desktop-Breiten nie sichtbar im Textfluss auftaucht;
   .is-visible wird ohnehin nur auf Mobil-Breiten per JS gesetzt. */
.sticky-cta-clone {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s ease, opacity .3s ease;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, .15);
}

@media screen and (max-width: 767px) {
  .sticky-cta-clone.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
}

/* ===== Portale-Seite (portale.php) Beginn =====
   Nur Regeln, die sich nicht ueber Bootstrap-Utility-Klassen abbilden lassen
   (Hover-Transform/-Scale-Effekte, cursor:pointer, dashed border). Alles
   andere (Farben, Abstaende, Rundungen, Flex-Layout, Aspect-Ratio, Badges,
   Positionierung) kommt direkt als Utility-Klasse im Markup. */

.portal-filter-pill {
  cursor: pointer;
  transition: all 0.15s ease;
}
.portal-filter-pill:hover {
  border-color: var(--bs-segurasblau) !important;
  color: #fff !important;
}

.portal-card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.portal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -12px rgba(17, 54, 85, 0.28) !important;
}
.portal-card .ratio img {
  transition: transform 0.4s ease;
}
.portal-card:hover .ratio img {
  transform: scale(1.05);
}
.portal-card-link i {
  transition: transform 0.15s ease;
  margin-left: 4px;
}
.portal-card:hover .portal-card-link i {
  transform: translateX(3px);
}

.border-dashed {
  border-style: dashed !important;
}

.portal-logo {
  height: 22px;
  width: auto;
}

/* ===== Portale-Seite (portale.php) Ende ===== */

/* ===== Leadgenerierung-Tour Beginn (affiliates.php) ===== */

.leadgen-tour-item {
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.leadgen-tour-item.text-white p,
.leadgen-tour-item.text-white h4 {
  color: #fff !important;
}
.leadgen-tour-icon {
  width: 40px;
  height: 40px;
  background: var(--bs-hellblau);
  color: var(--bs-dunkelblau);
}
.leadgen-tour-item.text-white .leadgen-tour-icon {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.leadgen-code {
  line-height: 1.7;
}

/* ===== Leadgenerierung-Tour Ende ===== */

/* ===== Formular-Modals Beginn (affiliates.php, kunden.php) =====
   Nur Regeln, die Bootstrap in diesem Build nicht abdeckt: Radius/Schatten/
   Eingangsanimation des Modals, getoenter Blur-Overlay, runder Close-Button,
   Fokus-Ring, eigenes Select-Chevron sowie der Checked-Zustand der
   Checkbox-Pills (in dieser Bootstrap-Utility-Ausgabe fehlt die
   Farbe-Kombination .btn-check:checked + .btn-outline-*). */

.brand-modal .modal-content {
  --bs-modal-border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 24px 48px -16px rgba(17, 54, 85, 0.35);
}

.brand-modal .modal-dialog {
  transform: scale(0.95);
  opacity: 0;
  transition:
    transform 0.2s ease-out,
    opacity 0.2s ease-out;
}
.brand-modal.show .modal-dialog {
  transform: scale(1);
  opacity: 1;
}

.brand-modal-backdrop.show {
  background-color: var(--bs-dunkelblau) !important;
  opacity: 0.7 !important;
  backdrop-filter: blur(4px);
}

.brand-modal .btn-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-size: 12px;
  opacity: 1;
  transition: background-color 0.15s ease;
}
.brand-modal .btn-close:hover {
  background-color: var(--bs-hellblau);
}

.brand-modal .form-control,
.brand-modal .form-select {
  border-radius: 10px;
  border-color: #dfe3e8;
}
.brand-modal .form-control:focus,
.brand-modal .form-select:focus {
  border-color: var(--bs-segurasblau);
  box-shadow: 0 0 0 0.2rem rgba(13, 90, 162, 0.25);
}
.brand-modal .form-select {
  --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23113655' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.brand-modal .btn-check:checked + .btn-outline-dunkelblau {
  background-color: var(--bs-dunkelblau);
  border-color: var(--bs-dunkelblau);
  color: #fff;
}

/* ===== Formular-Modals Ende ===== */

/* ===== Ansprechpartner-/Team-Karten Beginn (wir.php, renderAnsprechpartner()) ===== */

.team-card {
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -12px rgba(17, 54, 85, 0.28) !important;
}

/* ===== Ansprechpartner-/Team-Karten Ende ===== */

/* ===== Bildnachweise Beginn (bildnachweise-content.php) =====
   Nur Regeln, die sich nicht ueber Bootstrap-Utility-Klassen abbilden lassen. */

.bildnachweise-bilder {
  max-height: 120px;
}
.bildnachweise-boxen {
  padding: 5px;
  box-shadow: 0px 0px 5px #bdbdbd;
  border-radius: 5px;
}

/* ===== Bildnachweise Ende ===== */
