#wohnung-detail h1, #wohnung-detail h2 {
  display: none;
}

.ui-dialog .button--primary, .ui-dialog .button--primary:not(:focus) {
  border: 2px solid #000 !important;
  color: #000;
}

.paragraph--type--ept-download .file a {
  color: #fff !important;
  text-decoration: none;
  font-size: 24px;
  width: auto;
  max-width: 330px;
  hyphens: auto;
  display: block;
  margin: auto;
  background: #146e73;
  position: relative;
  padding: 9px 30px 12px 30px;
  display: flex;
  justify-content: center;
  text-align: center;
  align-items: center;
  line-height: 110%;
  margin-top: 25px;
  margin-bottom: -15px;
}

.paragraph--type--ept-download .file a:after {
  content: "";
  position: absolute;
  right: -5px;
  top: 0;
  bottom: 0;
  width: 10px;
  border-radius: 90%;
  background-color: #fff;  
}

.paragraph--type--ept-download .file a:before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0;
  bottom: 0;
  width: 10px;
  border-radius: 90%;
  background-color: #fff;  
}

.paragraph--type--ept-download .file {
  background: none;
  padding: 0px;
}

/* ---------- Druck-Styles ---------- */
@media print {


  /* Tabelle sichtbar, Layout behalten */
  #merkliste-content,
  #merkliste-content table,
  #merkliste-content thead,
  #merkliste-content tbody,
  #merkliste-content tr,
  #merkliste-content td,
  #merkliste-content th {
    display: table-row-group !important; /* tbody/thead */
    display: table-row !important;       /* tr */
    display: table-cell !important;      /* td/th */
    visibility: visible !important;
  }

  /* Tabellenlayout erhalten */
  #merkliste-content table {
    border-collapse: collapse;
    width: 100%;
  }

  #merkliste-content th,
  #merkliste-content td {
    border: 1px solid #ccc;
    padding: 0.3rem 0.5rem;
    font-size: 12pt;
  }

  /* Pseudoelemente ::before/::after sichtbar machen */
  #merkliste-content td::before,
  #merkliste-content td::after {
    display: inline;
    content: attr(data-display) !important; /* falls du data-* nutzt */
  }

  /* Optional: Hintergrund und Schriftfarbe */
  #merkliste-content {
    background: #fff;
    color: #000;
  }
  
   .merkliste-clear, .merkliste-print, #merkliste-anfrage {
    display: none !important;
  }

  /* Bestimmte Spalten ausblenden */
 #merkliste-content .views-field-view-node,
 #merkliste-content .views-field-nothing,
  #merkliste-content .views-field-nothing-1,
  #merkliste-content .views-field-field-status{
    display: none !important;
  }
  
}


#protected-pages-enter-password {
  padding: 25px 50px;
  text-align: center;
  height: calc(100vh - 214px);
  display: flex;
  justify-content: center;
  align-items: center;
}

#protected-pages-enter-password .protected_pages_description {
  max-width: 400px;
  margin: 0px auto 25px auto;
}

#protected-pages-enter-password .form-control {
  max-width: 200px;
  margin: auto;
  border-radius: 0;
  margin-bottom: 36px;
}

#protected-pages-enter-password button {
  background: #9b837b;
  border: none;
  font-weight: bold;
}

#protected-pages-enter-password input {
  border: 3px solid #9b837b;
  margin-top: 10px !important;
  font-size: 20px;
  text-align: center;
}

#protected-pages-enter-password input:-webkit-autofill {
  background-color: white !important;
  color: #000 !important;
}

#protected-pages-enter-password input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
  box-shadow: 0 0 0 0 white inset !important;
}

.form-required::after {
  opacity: 0.8;
  filter: grayscale(1)
}
  
  .ept-edge-to-edge, 
img, 
video {
  max-width: 100vw;
  box-sizing: border-box;
}
  
/* Verhindert horizontalen Überlauf */
  html, body {
    overflow-x: hidden;
  }

  /* Wrapper für eingebettete Inhalte */
  .page-wrapper {
    width: 100%;
    position: relative;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch; /* Für flüssiges Scrollen auf iOS */
  }

  /* Sicherstellen, dass eingebettete Nodes keine negativen Margins haben */
  .embedded-entity {
    margin: 0;
    padding: 0;
    width: 100%;
  }

  /* Hintergrundvideo anpassen */
  #intro video {
    position: absolute;
    top: 0;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    z-index: -1;
    transform: translateX(-50%) translateY(0px) !important;
  }

  /* Sicherstellen, dass .ept-edge-to-edge den Bildschirm nicht überläuft */
  .ept-edge-to-edge {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    object-fit: cover;
  }
  
}
