/* Page-specific Styles für behördlicher_datenschutzbeauftragter.html */

/* =========================
   HERO
   ========================= */

.page-hero--behoerdlicher-dsb {
  padding: 6rem 0 4rem;
  background-color: rgba(10, 10, 10, 0.8);
  color: #ffffff;
  background-image: url("../img/closeup-image-of-a-woman-writing-on-blank-notebook-2024-12-02-13-10-13-utc.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}

.page-hero--behoerdlicher-dsb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(10, 10, 10, 0.75), transparent 55%);
  opacity: 0.85;
  pointer-events: none;
}

.page-hero--behoerdlicher-dsb .page-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.page-hero--behoerdlicher-dsb .page-hero__content {
  max-width: 720px;
}

.page-hero--behoerdlicher-dsb .page-hero__kicker {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(248, 250, 252, 0.8);
  margin-bottom: 0.85rem;
}

.page-hero--behoerdlicher-dsb .page-hero__title {
  font-size: clamp(2rem, 1.4rem + 2vw, 2.6rem);
  margin-bottom: 0.6rem;
}

.page-hero--behoerdlicher-dsb .page-hero__subtitle {
  font-size: 1.05rem;
  margin-bottom: 1.3rem;
  color: rgba(241, 245, 249, 0.9);
}

.page-hero--behoerdlicher-dsb .page-hero__text {
  font-size: 1.02rem;
  line-height: 1.6;
  color: rgba(226, 232, 240, 0.95);
  margin-bottom: 0.9rem;
}

.page-hero__quote {
  margin-top: 1.6rem;
  padding-left: 1.2rem;
  border-left: 3px solid rgba(248, 250, 252, 0.7);
  max-width: 46ch;
}

.page-hero__quote-text {
  font-size: 0.98rem;
  font-style: italic;
  color: rgba(226, 232, 240, 0.95);
}

.page-hero__quote-author {
  margin-top: 0.4rem;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.95);
}

.page-hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-hero__btn-main {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

/* =========================
   Abschnitt 1 – Intro
   ========================= */

.bdsb-intro {
  padding: 3.5rem 0 2.5rem;
  background: #ffffff;
}

.bdsb-intro__inner {
  max-width: 1200px;
}

.bdsb-intro__title {
  font-size: 1.9rem;
  margin-bottom: 1.4rem;
}

.bdsb-intro__text {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #111827;
  margin-bottom: 0.9rem;
}

/* =========================
   Abschnitt 2 – Rechtslage
   ========================= */

.bdsb-legal {
  padding: 3.5rem 0;
  background: #f9f9f9;
}

.bdsb-legal__inner {
  max-width: 1200px;
}

.bdsb-legal__title {
  font-size: 1.8rem;
  margin-bottom: 1.2rem;
}

.bdsb-legal__text {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #111827;
  margin-bottom: 0.9rem;
}

/* =========================
   2-Spalten-Sektionen
   ========================= */

.bdsb-split {
  padding: 3.5rem 0;
  background: #ffffff;
}

.bdsb-split--alt {
  background: #f9f9f9;
}

.bdsb-split__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.bdsb-split__content {
  max-width: 640px;
}

.bdsb-split__title {
  font-size: 1.7rem;
  margin-bottom: 1.1rem;
}

.bdsb-split__text {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #111827;
  margin-bottom: 0.9rem;
}

.bdsb-split__btn {
  margin-top: 1.4rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.bdsb-split__media {
  justify-self: stretch;
}

.bdsb-split__image {
  width: 100%;
  max-width: 480px;
  display: block;
  border-radius: 1.25rem;
  box-shadow: 0 24px 55px rgba(10, 10, 10, 0.28);
  object-fit: cover;
}

/* =========================
   Animation (Anbindung an e_dsb.js)
   ========================= */

[data-animate] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.4s ease-out,
    transform 0.4s ease-out;
}

.is-visible[data-animate] {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   Responsives Layout
   ========================= */

@media (max-width: 960px) {
  .page-hero--behoerdlicher-dsb {
    padding: 5rem 0 3rem;
  }

  .bdsb-split__inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .bdsb-split__media {
    order: -1;
  }

  .bdsb-split__image {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .page-hero--behoerdlicher-dsb .page-hero__title {
    font-size: 1.9rem;
  }

  .bdsb-intro,
  .bdsb-legal,
  .bdsb-split {
    padding: 2.75rem 0;
  }
}

/* ===================================================
   Behördlicher Datenschutzbeauftragter – Kartenlayout
   =================================================== */

/* Desktop – exakt 2 Karten pro Reihe */
.services-portfolio .services-portfolio__table {
  grid-template-columns: repeat(2, 1fr) !important;
  width: 100%;
}

/* Karten füllen die Spalte komplett */
.services-portfolio .services-card {
  width: 100%;
}

/* Tablet */
@media (max-width: 900px) {

.services-portfolio .services-portfolio__table {
  grid-template-columns: repeat(2, 1fr) !important;
}

}

/* Mobile */
@media (max-width: 640px) {

.services-portfolio .services-portfolio__table {
  grid-template-columns: 1fr !important;
}

}