/* ==========================================================================
   BM Bauträgergesellschaft mbH — bm-bau.de
   1:1-Nachbau | Basis: Roboto, Primärblau #6699FF
   ========================================================================== */

:root {
  --color-primary: #6699ff;
  --color-primary-dark: #4d86f5;
  --color-text: #474747;
  --color-nav: #484848;
  --color-heading-gray: #666666;
  --color-section-gray: #ededed;
  --color-table-stripe: #f0f0f0;
  --color-table-head: #f4f4f4;
  --color-white: #ffffff;
  --font-body: "Roboto", Arial, sans-serif;
  --font-heading: "Helvetica Neue", Helvetica, "Roboto", Arial, sans-serif;
  --container-width: 1170px;
}

/* --------------------------------------------------------------------------
   Reset / Basis
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--color-text);
  background: var(--color-white);
}

body.no-scroll {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-primary-dark);
}

p {
  margin: 0 0 16px;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 18px;
  z-index: 3000;
}

.skip-link:focus {
  left: 0;
  color: #fff;
}

/* --------------------------------------------------------------------------
   Überschriften
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  margin: 0 0 20px;
}

.page-title {
  font-size: 32px;
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.2;
  margin: 0 0 20px;
}

.section-heading {
  font-size: 26px;
  font-weight: 300;
  color: var(--color-heading-gray);
  line-height: 1.35;
}

@media (min-width: 768px) {
  .page-title {
    font-size: 42px;
  }

  .section-heading {
    font-size: 30px;
  }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  background: var(--color-white);
  border-bottom: 27px solid var(--color-primary);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 90px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.site-logo {
  display: inline-block;
  line-height: 0;
}

.site-logo img {
  width: 200px;
  height: auto;
}

@media (min-width: 768px) {
  .header-inner {
    min-height: 155px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .site-logo img {
    width: 279px;
  }
}

/* Hauptnavigation (Desktop) */
.main-nav {
  display: none;
}

@media (min-width: 1024px) {
  .main-nav {
    display: block;
  }

  .main-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .main-nav a {
    display: block;
    padding: 10px 18px 12px;
    font-size: 15px;
    line-height: 24px;
    color: var(--color-nav);
    border-bottom: 3px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
  }

  .main-nav a:hover,
  .main-nav li.active a {
    color: var(--color-nav);
    border-bottom-color: var(--color-primary);
  }
}

/* Burger-Button (Mobile) */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

/* Offcanvas-Menü (Mobile) */
.offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 85vw;
  height: 100%;
  background: #2b2b2b;
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 70px 0 30px;
}

.offcanvas.open {
  transform: translateX(0);
}

.offcanvas ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.offcanvas a {
  display: block;
  padding: 14px 25px;
  color: #ffffff;
  font-size: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.offcanvas li.active a,
.offcanvas a:hover {
  color: #ffffff;
  background: var(--color-primary);
}

.offcanvas-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.offcanvas-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1900;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.offcanvas-backdrop.visible {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   Startseite: drei blaue Boxen
   -------------------------------------------------------------------------- */
.start-boxes {
  padding: 30px 0 60px;
}

@media (min-width: 768px) {
  .start-boxes {
    padding: 30px 0 112px;
  }
}

.start-boxes .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .start-boxes .row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.startbox {
  display: flex;
  flex-direction: column;
  background: var(--color-primary);
  padding-top: 25px;
}

.startbox h2 {
  font-size: 30px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--color-white);
  margin: 0 15px;
}

.startbox hr {
  width: 78px;
  border: 0;
  border-top: 3px solid var(--color-white);
  margin: 20px 0;
  margin-left: 0;
  align-self: flex-start;
}

.startbox p {
  color: var(--color-white);
  margin: 0 15px 20px;
}

.startbox img {
  display: block;
  width: 100%;
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   Startseite: Aktuelle Projekte
   -------------------------------------------------------------------------- */
.home-projekte {
  background: var(--color-section-gray);
  padding: 35px 0;
}

.home-projekte .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}

@media (min-width: 768px) {
  .home-projekte .row {
    grid-template-columns: 2fr 1fr;
  }
}

.home-projekte .btn {
  margin-top: 25px;
}

.home-projekte img {
  display: block;
  width: 100%;
  max-width: 360px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.4;
  padding: 10px 16px;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn:hover {
  background: var(--color-primary-dark);
  color: var(--color-white);
}

.btn .fa {
  margin-right: 6px;
}

/* --------------------------------------------------------------------------
   Allgemeine Inhaltsbereiche (Unterseiten)
   -------------------------------------------------------------------------- */
.page-content {
  padding: 40px 0 60px;
}

@media (min-width: 768px) {
  .page-content {
    padding: 50px 0 80px;
  }
}

.page-content .intro-gap {
  height: 20px;
}

/* Kontakt: Ansprechpartner */
.partner-list {
  margin: 40px 0 30px;
}

.partner-list p {
  margin-bottom: 27px;
}

/* --------------------------------------------------------------------------
   Projektiertes Bauen
   -------------------------------------------------------------------------- */
.projekt-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin: 40px 0 60px;
}

@media (min-width: 768px) {
  .projekt-intro {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }
}

.projekt-intro img {
  display: block;
  width: 100%;
}

/* Galerie — Nachbau des Original-Smart-Sliders: horizontal gleitende Slides
   (mit Drag/Swipe) + vertikale Thumbnail-Leiste wie im Original
   (Scroller #242424, Thumbs 100x60 mit 3px Rand, inaktiv 40 % Deckkraft,
   26px-Pfeiltasten oben/unten) */
.plan-gallery {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .plan-gallery {
    flex-direction: row;
    height: 838px;
  }
}

.plan-gallery__main {
  position: relative;
  flex: 1 1 auto;
  background: var(--color-white);
  min-height: 320px;
  height: 62vw;
  max-height: 838px;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
}

.plan-gallery__main.dragging {
  cursor: grabbing;
}

@media (min-width: 768px) {
  .plan-gallery__main {
    height: auto;
  }
}

.plan-gallery__track {
  display: flex;
  height: 100%;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.plan-gallery__track.no-anim {
  transition: none;
}

.plan-gallery__slide {
  flex: 0 0 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
}

.plan-gallery__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}

/* Thumbnail-Leiste */
.plan-gallery__rail {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: #242424;
}

@media (min-width: 768px) {
  .plan-gallery__rail {
    flex-direction: column;
    width: 112px;
  }
}

.plan-gallery__thumbs {
  flex: 1 1 auto;
  display: flex;
  flex-direction: row;
  overflow: hidden;
}

@media (min-width: 768px) {
  .plan-gallery__thumbs {
    flex-direction: column;
    align-items: center;
    padding-top: 3px;
  }
}

.plan-gallery__thumbs button {
  flex: 0 0 auto;
  width: 100px;
  height: 60px;
  margin: 3px;
  padding: 0;
  border: 0;
  background: #000;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.plan-gallery__thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.plan-gallery__thumbs button:hover {
  opacity: 0.75;
}

.plan-gallery__thumbs button.active {
  opacity: 1;
}

/* Mobil: Leiste horizontal unter dem Slider (Touch-Scroll, ohne Scrollbar) */
@media (max-width: 767px) {
  .plan-gallery__rail {
    width: 100%;
  }

  .plan-gallery__thumbs {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .plan-gallery__thumbs::-webkit-scrollbar {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Referenzen: Tabelle
   -------------------------------------------------------------------------- */
.legende p {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
}

.table-wrap {
  margin-top: 25px;
  overflow-x: auto;
}

.ref-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.ref-table th,
.ref-table td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid #e6e6e6;
}

.ref-table thead th {
  background: var(--color-table-head);
  font-weight: 400;
}

.ref-table tbody tr:nth-child(even) {
  background: var(--color-table-stripe);
}

.ref-table th:nth-child(1),
.ref-table td:nth-child(1) {
  width: 65%;
}

.ref-table th:nth-child(2),
.ref-table td:nth-child(2) {
  width: 12%;
}

/* --------------------------------------------------------------------------
   Aktuelle Projekte: ImmobilienScout24-Einbindung
   -------------------------------------------------------------------------- */
.is24-frame {
  width: 100%;
  height: 1050px;
  border: 0;
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   Kontaktseite (grafisch aufgewertet)
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 35px;
  align-items: start;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 7fr 5fr;
  }
}

/* Ansprechpartner-Karten */
.partner-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 30px 0 10px;
}

@media (min-width: 640px) {
  .partner-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.partner-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 16px 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.partner-card .avatar {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
}

.partner-card .name {
  font-size: 16px;
  color: var(--color-text);
  margin: 0;
  line-height: 1.35;
}

.partner-card .role {
  display: block;
  font-size: 13px;
  color: #8a8a8a;
}

/* Formular-Karte */
.contact-form-card {
  background: #ffffff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
  padding: 28px 26px;
}

.contact-form-card h2 {
  font-size: 22px;
  font-weight: 400;
  color: var(--color-text);
  margin: 0 0 20px;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 16px;
}

@media (min-width: 640px) {
  .contact-form .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form .form-field {
  margin-bottom: 16px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.contact-form label .req {
  color: #d40000;
  margin-left: 2px;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: 11px 13px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  background: #fafafa;
  border: 1px solid #d5d5d5;
  border-radius: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(102, 153, 255, 0.25);
}

.contact-form .btn {
  width: 100%;
  font-size: 16px;
  padding: 12px 16px;
}

.form-note {
  font-size: 12px;
  color: #9a9a9a;
  margin: 10px 0 0;
}

/* Honeypot: für Menschen unsichtbar, für Bots ein normales Feld */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* Info-Spalte */
.contact-info-card {
  background: linear-gradient(160deg, var(--color-primary), #5580e0);
  border-radius: 8px;
  color: #ffffff;
  padding: 28px 26px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.contact-info-card h2 {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 22px;
  font-weight: 400;
  color: #ffffff;
  margin: 0 0 18px;
}

.contact-info-card h2 .fa {
  flex: 0 0 22px;
  text-align: center;
  font-size: 20px;
  margin-top: 4px;
}

.contact-info-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-info-card li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 15px;
  line-height: 1.5;
}

.contact-info-card li:last-child {
  border-bottom: 0;
}

.contact-info-card .fa {
  flex: 0 0 22px;
  text-align: center;
  font-size: 17px;
  margin-top: 3px;
}

.contact-info-card a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.5);
}

.contact-info-card a:hover {
  text-decoration-color: #ffffff;
  color: #ffffff;
}

.contact-hours {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin: 16px 0 0;
}

/* Fehler / Erfolg */
.form-error {
  display: none;
  color: #d40000;
  font-size: 13px;
  margin-top: 4px;
}

.form-field.invalid .form-error {
  display: block;
}

.form-field.invalid input,
.form-field.invalid textarea {
  border-color: #d40000;
}

.form-success {
  display: none;
  background: #e2f2e2;
  border: 1px solid #79b879;
  border-radius: 8px;
  color: #2c6b2c;
  padding: 16px 18px;
  margin-top: 20px;
}

.form-success.visible {
  display: block;
}

.form-failure {
  display: none;
  background: #fdeaea;
  border: 1px solid #d98c8c;
  border-radius: 8px;
  color: #8f2727;
  padding: 16px 18px;
  margin-top: 20px;
}

.form-failure.visible {
  display: block;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  color: var(--color-white);
  position: relative;
  box-shadow: 5px 3px 9px 8px rgba(0, 0, 0, 0.27);
}

.footer-main {
  background:
    linear-gradient(rgba(102, 153, 255, 0.84), rgba(102, 153, 255, 0.84)),
    url("../images/bauplan-1.jpg") center / cover no-repeat;
  padding: 30px 0;
}

.footer-main .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 768px) {
  .footer-main .row {
    grid-template-columns: 1fr 2fr;
  }
}

.footer-main h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--color-white);
  border-bottom: 1px solid var(--color-white);
  padding-bottom: 3px;
  margin: 0 0 15px;
}

.footer-main p {
  font-size: 14px;
  line-height: 22px;
  margin: 0 0 16px;
}

.footer-main a {
  color: var(--color-white);
}

.footer-main a:hover {
  text-decoration: underline;
  color: var(--color-white);
}

.footer-map iframe {
  display: block;
  width: 100%;
  height: 400px;
  border: 0;
}

.footer-links {
  background: var(--color-primary);
  text-align: center;
  padding: 10px 15px 14px;
  font-size: 12px;
}

.footer-links p {
  margin: 0 0 6px;
}

.footer-links a {
  color: var(--color-white);
}

.footer-links a:hover {
  text-decoration: underline;
  color: var(--color-white);
}

.agency-branding a {
  color: var(--color-white);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Video-Popup (Startseite)
   -------------------------------------------------------------------------- */
.vmodal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: none;
}

.vmodal.open {
  display: block;
}

.vmodal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.vmodal__dialog {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1100px, 94vw);
  background: rgba(20, 20, 20, 0.92);
  border-radius: 18px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}

.vmodal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.2s ease;
}

.vmodal__close:hover {
  background: var(--color-primary-dark);
}

.vmodal__frame {
  background: #000;
}

.vmodal__frame video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 80vh;
  object-fit: contain;
}

.vmodal__hint {
  background: transparent;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  padding: 10px 14px;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Lightbox (Bilder)
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2600;
  display: none;
  background: rgba(0, 0, 0, 0.85);
  cursor: zoom-out;
}

.lightbox.open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
}

.lightbox__close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  border: 0;
  color: #ffffff;
  font-size: 30px;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   Cookie-Banner
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2400;
  background: #2b2b2b;
  color: #eeeeee;
  font-size: 14px;
  padding: 14px 20px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  text-align: center;
}

.cookie-banner.visible {
  display: flex;
}

.cookie-banner p {
  margin: 0;
}

.cookie-banner a {
  color: #aac4ff;
  text-decoration: underline;
}

.cookie-banner .btn {
  font-size: 14px;
  padding: 8px 18px;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */
.error-page {
  text-align: center;
  padding: 80px 15px 100px;
}

.error-page .error-code {
  font-family: var(--font-heading);
  font-size: 120px;
  font-weight: 300;
  color: var(--color-primary);
  line-height: 1;
  margin: 0 0 10px;
}

.error-page h1 {
  font-size: 30px;
  font-weight: 300;
  color: var(--color-heading-gray);
}

/* --------------------------------------------------------------------------
   Impressum / Datenschutz
   -------------------------------------------------------------------------- */
.legal-content h2 {
  font-size: 30px;
  font-weight: 300;
  color: var(--color-heading-gray);
  margin: 10px 0 30px;
}

.legal-content h3 {
  font-size: 24px;
  font-weight: 300;
  color: var(--color-heading-gray);
  margin: 35px 0 15px;
}

.legal-content h4 {
  font-size: 19px;
  font-weight: 400;
  color: var(--color-heading-gray);
  margin: 28px 0 12px;
}

.legal-content ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal-content li {
  margin-bottom: 8px;
}

/* --------------------------------------------------------------------------
   Hilfsklassen
   -------------------------------------------------------------------------- */
.text-center {
  text-align: center;
}

.mt-40 {
  margin-top: 40px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
