@import "base-scp.css";

/* custom layout elements */

body {
    overflow-x: hidden;       /* Keine Scrollleisten */
}

/* Banner */
.scp-banner-container {
  margin: 0 !important;
}

.scp-banner-image {
  border-radius:0;
}

/* Text mit Bild -> Button */

a.scp-text_with_image-cta {
  margin: 1rem auto;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  background: #004F9F;
  font-size: clamp(1rem, 2vw + 0.5rem, 1rem);
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  line-height: 1.5;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 0.5rem 1.125rem -0.5rem rgba(0, 79, 159, 0.9);
}

a.scp-text_with_image-cta:hover {
  background-color: #003c79;
  box-shadow: none;
  transition: color 0.2s ease-in-out,background-color 0.2s ease-in-out,border-color 0.2s ease-in-out,box-shadow 0.2s ease-in-out;
}

a.scp-text_with_image-cta:active {
  background-color: #d9181b;
  border-color: #d9181b;
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Text mit Bild -> Text */

.scp-text_with_image-text p {
  font-size: clamp(1rem, 2vw + 0.5rem, 1rem);
  color: #333;
}

.scp-text_with_image-text p strong {
  color: #004F9F;
}

.scp-text_with_image-text h2 {
  color: #004F9F;
  font-size: clamp(1.1rem, 2vw + 0.5rem, 1.5rem);
}

.scp-text_with_image-text_container li {
  margin: 20px;
}

/* Text mit Bild -> Bild */
.scp-text_with_image-image {
  object-fit: contain;
}

.scp-image-container{
  border-radius: 0;
}

.scp-image-image {
   border-radius: 0;
}

/* Titel */

.scp-title-container {
    color: #2155a2;
    font-size: clamp(1.2rem, 2vw + 0.5rem, 1.5rem);
    justify-content: center;
    padding: 1rem;
}

/* Nur Text */

.scp-text-container {
    background: none;
}

.scp-text-richtext_container {
    font-family: sans-serif;
    font-size: clamp(1rem, 2vw + 0.5rem, 1rem);
    color: #333;
}

.scp-text-richtext_container h2 {
  color: #004F9F;
  font-size: clamp(1.1rem, 2vw + 0.5rem, 1.5rem);
}

/* Nur Button */

.scp-button-container {
    justify-content: flex-start;
    padding: 1rem;
    margin-top: 0;
    padding-top: 0;
}

a.scp-button-cta {
  margin: 1rem auto;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  background: #004F9F;
  font-size: clamp(1rem, 2vw + 0.5rem, 1rem);
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  line-height: 1.5;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 0.5rem 1.125rem -0.5rem rgba(0, 79, 159, 0.9);
}

a.scp-button-cta:hover {
  background-color: #003c79;
  box-shadow: none;
  transition: color 0.2s ease-in-out,background-color 0.2s ease-in-out,border-color 0.2s ease-in-out,box-shadow 0.2s ease-in-out;
}

a.scp-button-cta:active {
  background-color: #d9181b;
  border-color: #d9181b;
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}


/* ======= VIDEO ======= */

.scp-video_element_video-container {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  border-radius: 8px;
}

.scp-video_element_video-container iframe {
  width: 70vw;
  aspect-ratio: 16 / 9;
  background: transparent;
  display: block;
  /*width: 100%;*/
  height: auto;
  border: none;
  margin: 0;
  padding: 0;
  line-height: 0;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.scp-video_element-container {
    padding: 1rem;
    background: none;
    border-radius: 8px;
    display: flex;
    justify-content: center;
}

/* Abstand zwischen den Zeilen, jede 2. Zeile blau hinterlegt */

 .scp-row {
        margin-top: 2rem;
        margin-bottom: 2rem;
    display: flex;
    justify-content: center; /* horizontal */
    align-items: center;     /* vertikal */
}

/* Jede zweite pimcore_area_row färbt ihre scp-row */
.pimcore_area_row:nth-of-type(even) .scp-row {
    background-color: #f3f6ff;
}

