/* -----------------------------
   RESET & BASICS
----------------------------- */

*{
  min-height: 0;
  min-width: 0;
  }

body, html {
 font-family: 'Raleway';
	font-weight: 400;
 }

html {
  overflow-x: hidden;
}

.nav-item:nth-child(4)  a {
  font-size: 0px;
}

#page-wrapper {
  position: relative;
}


.ck-content .image img {
  min-width:auto !important;
}

.gin-secondary-toolbar--frontend {
    z-index: 999999999 !important;
  }

.user-logged-in.scrolled #navbar-main {
  margin-top: 60px !important;
}
  
.toolbar-icon.toolbar-icon-edit.toolbar-item {
  display: none;
}

.extra-field--anchor {
  height: 0px;
}

#vormerkung:target {
  scroll-margin: 40px;
}

.cn-body, .cn-body p {
  font-size: 14px;
}

.cm-btn.cm-btn-danger.cn-decline,
.cm-btn.cm-btn-success {
  background: #b3b3b3 !important;
  border: 2px solid #b3b3b3 !important;
  font-weight: bold !important;
  color: #111 !important;
}

.cm-link.cn-learn-more {
  color: #111 !important;
  font-size: 12px;
  line-height: 14px;
  text-align: center;
  max-width: 100px;
  background: #fff !important;
  border: 2px solid #b3b3b3 !important;
  font-weight: bold;
}

.klaro {
  & .cm-modal.cm-klaro:focus, & .cm-modal.cm-klaro:focus-visible, & .context-notice:focus, & .context-notice:focus-visible, & .cookie-notice:focus, & .cookie-notice:focus-visible {
    outline: #111 !important;
  }
   }
.cm-header h1 {
  font-size: 24px !important;
}
  
 .cm-header p,  .cm-header a {
 color: #4d4d4d !important;
 font-size: 14px !important;
}
 
  .cm-header a  {
    text-decoration: underline;
  }
  
  .klaro .slider.round.active::before {
  background: #e30b18 !important;
}
  
    .klaro .slider.round.active {
  background: #ddd !important;
}


/* -----------------------------
   TYPOGRAPHY
----------------------------- */

  p, li,  td, h1, h2, h3 {
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum", "tnum";
}

p {
  line-height: 140%;
  font-size: 24px;
  color: #4d4d4d;
  font-family: "Raleway";
  font-weight: normal;
}

strong {
	font-weight: 600;
}

 h1 {
  font-family: 'Raleway';
  font-weight: 400;
  color: #e30613;
  font-size: 36px;
   padding-bottom: 25px;
 }



h2 {
 color: rgba(0,0,0,0.7);
 font-family: 'Raleway';
 font-weight: 400;
 font-size: 36px;
 margin-bottom: 15px;
 color: #e30613;
}

h3 {
  color: #4d4d4d;
  font-family: 'Raleway';
  font-weight: 400;
  font-size: 28px;
  padding-bottom: 25px;
}

h4 {
  color: #4d4d4d;
  font-family: 'Raleway';
  font-weight: 400;
  font-size: 24px;
}

.intro h1 {
  color: #4d4d4d;
  font-size: 40px;
  font-weight: 600;
  margin-bottom: -25px;
}

.intro h2 {
  color: #e30613;
  font-size: 40px;
}

.intro p { font-size: 30px;}

.freifinanziert h2 {
  font-size: 30px;
  color: rgba(20,75,75,0.70);
  font-weight: 600;
}

.beigegrau h3 {
  color: #e30613;
  font-size: 27px;
}

.grau p, .grau li, .grau h2{
  color: #fff;
}

.grau h2 {
  margin-bottom: 60px;
  margin-top: 25px;
}

.text-formatted li {
  position: relative;
  list-style: none;
  font-size: 21px;
  line-height: 130%;
  margin-bottom: 12px;
  color: #4d4d4d;
}

.text-formatted li:before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  top: 7px;
  left: -24px;
  border: 2px solid #e30613;
  background-color: #e30613;
  transform: rotate(-10deg); 
}

.text-formatted ul ul li:before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  top: 9px;
  left: -24px;
  border: 2px solid #e30613;
  background-color: transparent;
  transform: rotate(-10deg); 
}

.text-formatted ul ul {
  margin-top: 12px;
}


.text-formatted td, .text-formatted tr {
  border: none;
  background: none;
  font-size: 24px;
}



/* -----------------------------
   BACKGROUNDS
----------------------------- */

.beige { background-color: #fcf5e5; }
.grau { background-color: #4d4d4d; }
.beigegrau { background-color: #d5cdc7; }

.color_field__swatch {
  position: absolute;
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  width: 100% !important;
  height: 100% !important;
  background-size: 100% !important;
  z-index:-1;
  overflow: hidden !important;
}

/* -----------------------------
   CONTAINER
----------------------------- */
 
 .container {
   max-width: 100%;
   width: 100%;
 }
 
 .container .col {
   padding: 0px;
 }


.node__content {
  margin-top: 0px !important;
}

.hero {
  position: relative;
}
 
/* -----------------------------
   IMAGES
----------------------------- */
 
 .layout img {
   max-width: 100%;
   width: 100%;
   height: auto !important;
 }
 
 .field--type-image img {
   margin: 0px;
 }
 
 .node .field--type-image {
   float: none;
   margin: 0;
 }

 .field--name-field-slider img {
  position: relative;
  z-index: 10;
}
 
 .field--type-entity-reference {
   margin: 0;
 }

/* -----------------------------
   NAVBAR / BRAND
----------------------------- */



#navbar-main {
  background: none;
  padding-top: 0px;
  margin-bottom: -120px !important;
}
.navbar-brand img {
  z-index: 10;
  position: relative;
}

.navbar-brand {
  width: 20%;
  height: 0px;
  padding: 0px;
  margin-bottom: 3%;
}

.hero .text-formatted {
  position: absolute;
  bottom: -24%;
  z-index: 998;
  background: #fff;
  transform: rotate(-10deg);
  width:60%;
  height: 200px;
  right: 10%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  padding-right: 15px;
  padding-top: 15px;
}

.hero .text-formatted p  {
  font-size: 24px;
  line-height: 120%;
  font-weight: bold;
  position: relative;
  z-index: 9999999;
}



#navbar-main {
  display: flex;
  justify-content: center;
  background: none !important;
}

#navbar-main.affix {
  top: 0px !important;
}

.nav-item {
  visibility: hidden;
}

.nav-item.active {
  position: relative;
}

.nav-item.active:after {
  content: "";
  display: block;
  border-bottom: 3px solid #e30613;
  margin-left: 10px;
  margin-right: 10px;
}

.nav-item:nth-child(4) {
  position: relative;
  visibility: visible;
}



/* -----------------------------
   NAVBAR / STARTSEITE
----------------------------- */




/* -----------------------------
   NAVBAR / RESPONSIVE / ICONS
----------------------------- */

#block-herzundheim-icons {
  display: none;
}

#block-denzel-immobilien {
  position: absolute;
  top: 10px;
  right: 75px;
  z-index: 99999;
  width: 150px;
  display: flex;
  transform: scale(0.75);
  transform-origin: right;
}

#block-denzel-immobilien .text-formatted {
  padding-top: 0px;
}

#block-denzel-immobilien p {
  font-size: 14px;
}

#block-denzel-immobilien a {
  text-indent: -99999px;
  display: inline-block;
}

#block-denzel-immobilien a:after{
  content: "";
  position: absolute;
  background: url(/sites/default/files/denzel-logo.svg);
  background-repeat: no-repeat;
  background-size: 140px auto;
  background-position: left top;
  width: 150px;
  height: 60px;
  left: 0px;
  top: 20px;
}



/* -----------------------------
   CONTAINER / LAYOUTS
----------------------------- */

.layout__region .fullwidth {
  padding: 0px 0px;
}

.paragraph--type--layout {
  position: relative;
}

.fixed {
    max-width: 1200px;
    margin: auto;
}

.fluid {
  max-width: 100%;
}

.main-content .layout--onecol .text-formatted {
  padding-top: 36px;
  padding-bottom: 25px;
}

.wohnen {
  margin-top: -20px;
}



.paragraph--type--layout{
  position: relative;
  z-index: 1;
}

/*Startseite*/

.hero {
  padding-bottom: 0px !important;
}


.wohnen img {
  height: 100px !important;
  width: 65% !important;
  object-fit: contain;
  margin-bottom: 15px;
  margin-top: -30px;
}

.wohnen .field__item:nth-child(4) img {
 width: 30% !important;
}

.wohnen .col-sm-12{
  margin-bottom: 0px !important;
  display: flex;
  justify-content: center;
  text-align: center;
  position: relative;
  margin: 50px 0px;
  height: 100% !important;
  aspect-ratio: 1 / 1;
  align-items: center;
}

.wohnen .col-sm-12:after {
  content: "";
  position: absolute;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  aspect-ratio: 1 / 1;
  top: 0;
  bottom: 0;
  background-color: #d5cdc7;
  z-index: -1;
  transform: rotate(-10deg); 
}

.wohnen .paragraph--type--grid p {
  padding-top: 20px; 
  line-height: 130%;
  font-size: 18px;
  padding-left: 25px;
  padding-right: 25px;
  padding: 0px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.wohnen a {
  color: #4d4d4d;
  text-decoration: none;
}

.wohnen a:hover {
  color: #e30613;
}

.wohnen .text-formatted {
  padding: 0px !important;
  margin-left: 12px;
}

.wohnen .row {
  display: flex;
  justify-content: center;
}

.wohnen {
   padding-bottom: 100px !important;
}

/* -----------------------------
   WOHNEN / GRUNDRISSE
----------------------------- */

  .grundrisse .col-sm-6 .paragraph--type--image img {
    position: relative;
    max-width: 640px;
    height: auto;
    left: auto;
    right: auto;
  }
  
  .grundrisse .paragraph--type--layout:nth-child(odd) .col-sm-6:nth-child(even) {
    background: #fff;
  }
  
    .grundrisse .paragraph--type--layout:nth-child(even) .col-sm-6:nth-child(odd) {
    background: #fff;
  }
  
  .grundrisse .paragraph--type--layout:nth-child(even) .col-sm-6:nth-child(odd) img {
    float: right;
    margin: 50px 36px;
    max-width: 600px;
  }
  
    .grundrisse .paragraph--type--layout:nth-child(odd) .col-sm-6:nth-child(even) img {
    float: left;
    margin: 50px 36px;
    max-width: 600px;
  }


/* -----------------------------
   WOHNEN / FOOTABLE TABELLE
----------------------------- */

.footable .views-field-field-grundriss a {
  text-indent: -9999px;
  display: inline-block;
}

.footable .views-field-field-grundriss a:before {
  content: "";
  background-image: url(/sites/default/files/icon/download.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 25px;
  width: 25px;
  float: left;
  display: block;
  text-indent: 0px;
  text-align: center;
  margin-left: -12px;
  color: #4d4d4d
}

.footable .views-field-field-grundriss .file  {
  background: none;
  padding: 0px;
}

.footable .views-field-nothing a {
  text-indent: -9999px;
  display: inline-block;
}

.footable .views-field-nothing a:before {
  content: "";
  background-image: url(/sites/default/files/icon/kontakt.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  height: 25px;
  width: 25px;
  float: left;
  display: block;
  text-indent: 0px;
  text-align: center;
  margin-left: -12px;
  color: #4d4d4d
}

.footable td {
  background: none;
  border: none;
}

.footable td {
  background: #fff;
  border-bottom: 1px solid #e20512;
  border-right: 1px solid #f7edda;
  font-size: 18px !important;
  font-weight: 600;
  text-align: center;
  padding: 7px 3px;
}

.footable th {
  background: #eace9b;
  color: #4d4d4d;
  font-size: 18px !important;
  line-height: 120%;
  font-weight: 600;
  text-align: center;
  border-top: 1px solid #e20512;
  border-bottom: 1px solid #e20512;
  border-right: 1px solid #f7edda;
  height: 56px;
}

.footable th:last-child, .footable td:last-child {
  border-right: 0;
}

.footable .fooicon {
  opacity: 1 !important;
  right: 12px !important;
  transform: scale(0.80);
  transform-origin: top right;
}

.footable .og2 td, .footable .dg2 td {
  background: #edf1f2;
  border-right: 1px solid #fefdf9;
}

.alles-da .field--name-field-image {
  padding-top: 50px;
}


.highlights {
  margin-top: -1px;
}

.highlights .layout__region--first {
  display: flex;
  align-items: center;
}

.highlights .layout__region--first li {
  color: #fff;
}

.highlights .paragraph--type--image {
  height: 100%;
  justify-content: center;
  display: flex;
  flex-direction: column;
}

.highlights-objekt img {
  max-height: 500px;
}

.highlights-ausstattung img {
  max-height: 300px;
}

.bezugsfertig img,
.grundrisse li img {
  width: auto;
  height: 25px !important;
  width: 36px !important;
  object-fit: contain;
  object-position: center;
  margin: -2px 8px 2px 0px;
}

.bezugsfertig ul, .grundrisse ul {
  padding: 0px;
}

.bezugsfertig li:before, .grundrisse li:before {
  display: none;
}

/* -----------------------------
   SLICK / SLIDER
----------------------------- */

.slick-dotted.slick-slider {
  margin: 0px;
  margin-top: -10px;
  margin-bottom: -10px
}

.slick-prev {
  left: 15px;
}

.slick-next {
  right: 15px;
}

.slick-next:before {
  font-size: 0px;
  height: 36px;
  width:36px;
  display: block;
  background-image: url(/sites/default/files/arrow.png);
  background-size: auto 70%;
  background-repeat: no-repeat;
  background-color: #b3b3b3;
  background-position: center;
  opacity: 0.9 !important;
}

.slick-prev:before {
  font-size: 0px;
  height: 36px;
  width:36px;
  display: block;
  background-image: url(/sites/default/files/arrow.png);
  background-size: auto 70%;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(180deg);
  opacity: 0.9 !important;
}

.slick img {
  max-width: auto;
  width: auto;
}

.slick-dots {
  bottom: 0px;
}

.slick-dots li  {
  height: 12px;
  width: 12px;
  padding: 0px;
}

.slick-dots li button::before {
  color: #4d4d4d !important;
  font-family: none;
  border: 1px solid;
  width: 12px;
  height: 12px;
  background: #4d4d4d
}


.slick .slide__title {
  font-size: 20px;
  color: #4d4d4d;
  padding-top: 10px;
  padding-bottom: 36px;
}



/* -----------------------------
   LAGE
----------------------------- */

.umgebung table {
  margin: 0px
}

.umgebung table tr:first-child img {
  margin-top: -6px
}

.umgebung table td:last-child {
  padding-right: 36px;
  padding-top: 0px;
}

.umgebung table td {
  line-height: 140%;
  vertical-align: top;
  padding-top: 6px;
  padding-bottom: 15px;
}

.umgebung table td:first-child {
  width: 40px;
}


/* NEUIGKEITEN */

.neuigkeiten {
  background: #fff;
}




.neuigkeiten .view-aktuelles {
  max-width: 1200px;
  margin: auto;
}

.view-id-aktuelles .views-field-body {
  font-size: 14px;
  text-align: left;
  padding-right: 15px;
}

.node--type-neuigkeiten .node__content {
  max-width: 1200px;
  margin: auto;
  padding-top: 220px !important;
}


.node--type-neuigkeiten .site-footer {
  border-color: #fcf5e5;
}

.node--type-neuigkeiten .text-formatted {
  padding-right: 36px;
}

.node--type-neuigkeiten p {
  font-size: 18px
}

.node--type-neuigkeiten h2 {
  padding-bottom: 0px;
  margin-bottom: 0px;
  margin-top: 28px;
}

.neuigkeiten h2 {
  margin-bottom: -50px !important;
  margin-top: 0px;
  margin-left: -12px;
}

.node--type-neuigkeiten h3 {
  padding-bottom: 0px;
  margin-top: 28px;
}

.node--type-neuigkeiten h4 {
  padding-bottom: 0px;
  margin-top: 28px;
}

.node--type-neuigkeiten li {
  font-size: 18px;
}

.node--type-neuigkeiten {
  background: #fcf5e5;
}

.node--type-neuigkeiten .extra-field--button {
  display: flex;
  justify-content: center;
}

.node--type-neuigkeiten .extra-field--button a {
  text-decoration: none;
  color: rgba(0,0,0,0.7);
  border: 2px solid rgba(0,0,0,0.7);
  background-color: #fff;
  padding: 10px 50px;
  font-weight: 600;
  font-size: 18px;
  margin-top: 90px !important;
  margin-bottom: 50px;
  display: flex;
}

.view-display-id-grid  {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.view-aktuelles .views-field-title {
  text-align: left;
  margin-top: 12px;
}

.view-aktuelles .views-field-view-node {
  text-align: left;
  font-weight: bold;
}

.slide__caption {
  padding-left: 2px;
  padding-right: 2px;
}

.path-front .media--slick {
  display: none !important;
}

.views-field-title p {
    font-size: 16px !important;
    line-height: 140%;
    margin: 0px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.views-field-title strong {
  display: none;
}

.slick-current .views-field-title,
.slick-current .views-field-view-node {
  font-size: 16px !important;
}

.slick-active .views-field-title,
.views-field-title{
  font-size: 16px !important;
  color: rgba(0,0,0, 0.7);
  line-height: 140%;
  padding-right: 5px;
  display: flex;
  height:48px;

}

.slick-active .views-field-view-node a,
.views-field-view-node a {
  font-size: 16px !important;
  font-weight: bold;
  color: rgba(0,0,0, 0.7) !important;
  text-decoration: none;
  height: 30px;
  display: inline-flex;
  align-items: center;
}

.slick-list .views-field-title,
.slick-list .views-field-view-node{
  font-size: 0px;
}

.slick-arrow {
  top: calc(50% - 50px);
}

.node--type-neuigkeiten .slick-arrow {
  top: 50%;
}

.node--type-neuigkeiten .slick-prev {
  left: 0px;
}

.node--type-neuigkeiten .slick-next {
  right: 0px;
}

.view-aktuelles .slick-prev {
  left: -40px;
  filter: invert(1);
}

.view-aktuelles .slick-next {
  right: -60px;
  filter: invert(1);
}


.view-aktuelles .slick-arrow {
  top: calc(50% - 70px);
}

.slick-prev {
  left: 16%;
}

.slick-next {
  right: 16%;
}

.slick-next:before {
  font-size: 0px;
  height: 36px;
  width: 24px;
  display: block;
  background: url(/sites/default/files/arrow.png);
  background-size: auto 36px;
  background-repeat: no-repeat;
}

.slick-prev:before {
  font-size: 0px;
  height: 36px;
  width: 24px;
  display: block;
  background: url(/sites/default/files/arrow.png);
  background-size: auto 36px;
  background-repeat: no-repeat;
  transform: rotate(180deg);
}

.slick img {
  max-width: auto;
  width: auto;
}

.slick-dots {
  bottom: -36px;
}

.slick-dots li  {
  height: 12px;
  width: 12px;
  padding: 0px;
}

.slick-dots li button::before {
  color: #4d4d4d !important;
  font-family: none;
  border: 1px solid;
  width: 12px;
  height: 12px;
  background: #4d4d4d
}

.slick-prev::before, 
.slick-next::before { 
   background-color: none !important;
}


/* -----------------------------
   WEBFORM / FORMULAR
----------------------------- */

.kontaktformular {
  padding-top: 50px !important;
}

.kontaktformular h3 {
  padding-bottom: 25px;
  padding-top: 0px;
  margin-top: -30px;
  color: #4d4d4d;
  font-size: 27px;
}

.kontaktformular .field--name-field-webform #edit-container {
  display: flex;
  gap: 25px;
}

.kontaktformular #edit-name--wrapper, .kontaktformular #edit-kontakt, .kontaktformular legend {
  margin: 0px !important;
}

.kontaktformular input, .kontaktformular textarea {
  background-color: transparent;
  border: 2px solid #fff;
}

.kontaktformular textarea {
  min-height: 330px;
}

.kontaktformular #edit-dsgvo {
  border: 1px solid #333;
  background-color: #fff;
  
}

.kontaktformular #edit-dsgvo:checked {
  background-color: #333;
}

.kontaktformular input:focus, .kontaktformular textarea:focus {
  background-color: transparent;
  border-color: #fff;
  box-shadow: none;
}

.kontaktformular button {
  background-color: #fff;
  border: 2px solid #4d4d4d;
  padding: 15px 60px;
  font-size: 18px;
  font-family: 'Raleway';
  font-weight: 600 !important;
  text-transform: uppercase;
  border-radius: 15px;
  color: #4d4d4d;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.kontaktformular button:hover {
  color: #fff;
  background-color: #4d4d4d;
  border: 2px solid #fff;
}

.kontaktformular #edit-actions {
  display: flex;
  justify-content: flex-end;
}

.kontaktformular .js-form-item {
  position: relative;
}

.kontaktformular .js-form-item label {
  position: absolute;
  left: 10px;
  top: -10px;
  background: #d5cdc7;
  font-weight: 500;
  padding: 0px 5px;
  color: rgba(0,0,0,0.7);
}

.kontaktformular .form-control {
  padding-top: 13px;
  padding-bottom: 12px;
}

.kontaktformular .form-check-label a {
  color: #3b3b3b;
}

.kontaktformular .js-form-required {
  position: relative;
}

.kontaktformular .js-form-required:after {
  content: '*';
  position: absolute;
  display: inline-block;
  background-image: none;
  top: -3px;
}


.kontaktformular .checkbox label {
  border: none;
  position: relative;
  left: 0px;
  top: 0px;
  border: 0px
}

.kontaktformular table td:first-child {
  width: 180px;
}

.kontaktformular table tr {
  background: none;
}

.kontaktformular table td {
  border: none;
}

.kontaktformular table img {
  height: auto !important;
  width: 165px !important;
  margin-left: -12px;
}

.kontaktformular table a {
  text-decoration: none;
  color: #3b3b3b;
}

.kontaktformular table td {
  padding: 0px 15px !important;
  font-size: 24px !important;
  line-height: 130%
}



.kontaktformular #edit-pflichtfeld p {
  font-size: 17px;
  font-weight: 400;
}

#edit-name--wrapper .fieldset-wrapper{
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 15px;
  row-gap: 0px;
}



#edit-name--wrapper .js-form-item:nth-child(n+3) {
  grid-column: 1 / span 2; 
}

/* -----------------------------
   WEBFORM / BESTÄTIGUNG
----------------------------- */

.webform-confirmation__message {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.webform-confirmation table {
  max-width:565px !important;
}

.webform-confirmation td{
  border: none;
  font-size: 18px !important;
  color: rgba(0,0,0,0.7) !important;
}

.webform-confirmation tr {
  background: none;
}

.webform-confirmation a, .webform-confirmation span{
  color: rgba(0,0,0,0.7) !important;
  text-decoration: none;
}

.webform-confirmation__message p a {
  text-align: center !important;
  display: inline-block;
  text-decoration: none;
  color: rgba(0,0,0,0.7);
  border: 2px solid rgba(0,0,0,0.7);
  padding: 5px 50px;
  font-weight: 600;
  font-size: 18px;
  background: #b2b2b2;
  margin-top: 50px;
  margin-bottom: 50px;
}

.confirmation-text {
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-node-2 #block-herzundheim-header,
.page-node-3 #block-herzundheim-header{
  margin-bottom: -150px;
}

.path-webform #main .content {
  background: url(/sites/default/files/bg_vormerkung.png);
  padding-top: 250px;
  background-size: cover;
  margin-bottom: -15px;
}

.path-webform #block-herzundheim-header {
  margin-bottom: -150px !important;
}

/* -----------------------------
   DSGVO 
----------------------------- */

#main-wrapper .dsgvo {
  background-color: #d5cdc7;
}

.dsgvo p {
  margin: 0px;
  padding-bottom: 16px;
  font-size: 18px;
}
.dsgvo {
  text-align: center;
  position: relative;
  padding-top: 18%
}

.dsgvo  a {
   color: rgba(0,0,0,0.7);
    text-decoration: none;
}

.dsgvo .paragraph--type--button {
  padding: 50px 0px;
  display: flex;
  justify-content: center;
}


.dsgvo .paragraph--type--button a {
  text-decoration: none;
  font-weight: 600;
  border: 2px solid #3b3b3b;
  padding: 8px 75px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  color: rgba(0,0,0,0.7);
  
}

/* -----------------------------
   FOOTER 
----------------------------- */

.site-footer table td {
  font-size: 20px !important;
}

.site-footer {
  border-top: 20px solid #d5cdc7;
}

.site-footer .block {
  padding: 0px;
  margin: 0px;
}

.site-footer p {
  font-size: 18px;
  line-height: 140%;
  margin: 0px;
}

.site-footer__top {
  max-width: 1200px !important;
  margin: auto !important;
}

.site-footer__top .region {
  width: 33.33%;
  height: 100px;
}

.region-footer-second {
  text-align: center;
  align-items: flex-end;
}

.region-footer-third {
  text-align: right;
  align-items: flex-end;
}

.site-footer .container {
  --bs-gutter-x: 0px !important;
}

.site-footer .row {
  margin-left: 0px !important;
  margin-right: 0px !important;
  --bs-gutter-x: 0px !important;
}

.site-footer__top {
  max-width: 1280px;
  margin: 0px auto;
}

.site-footer {
	background: #4d4d4d !important;
}

.site-footer .content a,
.site-footer .content a.is-active {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
}

/* -----------------------------
   FOOTER / BLÖCKE
----------------------------- */

#block-herzundheim-denzelimmobiliengmbh, #block-herzundheim-dsgvo, #block-herzundheim-copyright {
  border: none;  
}

#block-herzundheim-denzelimmobiliengmbh p, #block-herzundheim-dsgvo p, #block-herzundheim-copyright p {
  color: #fff;  
}

#block-herzundheim-denzelimmobiliengmbh a, #block-herzundheim-dsgvo a {
  text-decoration: none;
  color: #fff;
}

/* -----------------------------
   MEDIA QUERIES / MIN-WIDTH
----------------------------- */

@media (min-width: 1281px) {
  #block-herzundheim-header {
    margin-bottom: -5% !important;
  }
  
  .page-node-2 #block-herzundheim-header,
  .page-node-3 #block-herzundheim-header {
    margin-bottom: -15% !important;
  }
}



@media (min-width: 991px) {
  
  #header div {
  height: auto !important;
}
  
  .path-frontpage .main-content {
    margin-top: -130px
  }
  
  .navbar-expand-lg .navbar-collapse {
    justify-content: center !important;
    margin-top: 75px;
  }
  
  #block-herzundheim-header {
    position: absolute;
    left: 0px;
    right: 0px;
    z-index: 10;
    top: 0px;
    pointer-events: none;
  }
  
  #block-herzundheim-header .hs {
    opacity: 0;
    position: absolute;
  }
  
  
  .gin--vertical-toolbar #navbar-main{
    top: 60px !important;
    padding-left: var(--gin-toolbar-width-collapsed);
    

  }
  
   .scrolled.gin--vertical-toolbar #navbar-main{
    top: 0px !important;


  }
  
  .scrolled #block-herzundheim-header .hs,
   :not(.path-frontpage) #block-herzundheim-header .hs{
    opacity: 1;
     
    display: block;
    position: absolute;
    top: 0;
  }
  
    .scrolled #block-herzundheim-header .ht,
    :not(.path-frontpage) .ht{
    opacity: 0;
  }
  
.scrolled .nav-item,  :not(.path-frontpage) .nav-item {
  visibility: visible;
}

.scrolled #navbar-main,
:not(.path-frontpage) #navbar-main{
  position: fixed;
  z-index: 99;
  top: 0px;
  width: 100%;
  left: 0px !important;
  right: 0px !important;
  padding-top: 0px;

}
  
  .path-frontpage .hero {
    padding-top: 250px;
  }
  
    
  .path-frontpage.scrolled .hero {
    padding-top: 175px;
  }
  
.path-frontpage #navbar-main .ht,
.path-frontpage #navbar-main .hs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 0.5s ease, transform 0.4s ease;
  will-change: opacity, transform;
  z-index: 1;
  pointer-events: none; /* verhindert Klicks, wenn unsichtbar */
}

/* Anfangszustand der schmalen Leiste */
.path-frontpage #navbar-main .hs {
  opacity: 0;
  transform: translateY(50px); /* Startet 50px unterhalb ihrer normalen Position */
  height: 0;
  transition: opacity 0.5s ease, transform 0.5s ease, height 0.5s ease;
}

/* Anfangszustand der großen Leiste */
.path-frontpage #navbar-main .ht {
  opacity: 1;
  transform: translateY(0); /* Keine Verschiebung, normale Position */
  height: 190px; /* Anfangshöhe der großen Leiste */
  transition: opacity 0.5s ease, transform 0.5s ease, height 0.5s ease;
}

/* Zustand nach dem Scrollen: große Leiste ausblenden und schrumpfen, schmale Leiste einblenden */
.scrolled.path-frontpage #navbar-main .ht {
  opacity: 0;
  transform: translateY(-50px); /* Schrumpft nach oben */
  height: 150px; /* Reduziert die Höhe der großen Leiste */
  pointer-events: none; /* Verhindert Interaktionen mit der großen Leiste */
  z-index: 1;
}

.scrolled.path-frontpage #navbar-main .hs {
  opacity: 1;
  transform: translateY(0); /* Bewegt die schmale Leiste in ihre normale Position */
  height: 60px; /* Höhe der schmalen Leiste */
  z-index: 2;
}


.scrolled #block-herzundheim-menu {
  margin-top: 0px !important;
}
  
  
  
/* Anfangszustand: Wenn nicht gescrollt */
.path-frontpage .navbar-nav {
  opacity: 0;
  transform: translateY(-150px); /* Bewegt das Element nach oben */
  transition: opacity 0.5s ease, transform 0.5s ease; /* Sanfte Übergänge */
}

/* Zustand nach dem Scrollen: wenn gescrollt */
.path-frontpage.scrolled .navbar-nav {
  opacity: 1;
  transform: translateY(0); /* Bewegt das Element zurück auf die normale Position */
  transition: opacity 0.75s ease, transform 0.5s ease; /* Sanfte Übergänge */
  position: absolute;
  z-index: 10;
  left: 0px;
  right: 0px;
  margin: auto;
  text-align: center;
  display: flex;
  justify-content: center;
}


  .nav-item:nth-child(4) {
    font-size: 0px;
  }
  
  .nav-item {
    width: 145px;
    text-align: center;
    font-size: 20px;
    position: relative;
    z-index: 10;
  }

  .nav-item:nth-child(4) {
    width: 380px;
  }
  
  .nav-item:nth-child(4) a {
    margin-top: 0px;
    width: 250px;
    height: 200px;
    margin: -50px auto 0px auto;
  }
  
.navbar-brand {
  background: #fff;
  width: 100% !important;
  display: flex;
  height: 40% !important;
  clip-path: polygon(0 0, 100% 0, 100% 50%, 43% 100%, 40% 43%, 0 43%);
  z-index: 9999;
  max-width: 100% !important;
  margin: 0px;
  padding-top: 0%;
  display: none;
}

.navbar-brand img {
  max-width: 20%;
  margin-left: 45%;
  margin-bottom: 25px;
  padding-bottom: 10px;
}
  
    .col-sm-6 .paragraph.paragraph--type--image{
  height: 100%;
  width: 100% !important;
  position: relative;
}

.col-sm-6 .paragraph--type--image img {
  position: relative;
  width: 100% !important;
  height: auto !important;
}
  
    .col-sm-6:first-child {
  display: flex;
  justify-content: flex-end;
}
  
  .col-sm-6:first-child .paragraph--type--body {
  height: 100% !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  max-width: 600px;
  padding: 25px 50px 25px 0px;
}


.col-sm-6:last-child .paragraph--type--body {
  height: 100% !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  max-width: 600px;
  padding: 25px 0px 25px 50px;
}

  
  
  .row > * {
    padding: 0px;
  }
  
}


/* -----------------------------
   MEDIA QUERIES / MAX-WIDTH
----------------------------- */


@media (max-width: 1440px) {
  
  p { font-size: 21px;}
  h2 { font-size: 30px; }
  
  
   .navbar-expand-lg .navbar-collapse {
    justify-content: center !important;
    margin-top: 2.5%;
  }
  
}

@media (max-width: 1280px) {
  
  .nav-item:nth-child(4) {
    width: 200px;
  }
  

  .nav-link {
    font-size: 17px;
  }
  
  
  .fullwidth {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
 
  .hero.fullwidth {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  
  .wohnen .row.field__items{
    max-width: 100%;
    margin: auto;
    margin-top: 50px;
    padding-left: 16px;
    padding-right: 16px;
    margin-bottom: -50px;
  }
  
    .wohnen .field__item:nth-child(3) {
    margin-top: 0px;
  }
  
  .wohnen .field__item:nth-child(4) {
    margin-top: 0px;
  }
  
dsgvo  { padding-left: 36px; padding-right: 36px; } 
  
}


@media (max-width: 1180px) {
  
   .nav-item:nth-child(4) {
    width: 110px;
  }
  
  .wohnen .row.field__items{
    max-width: 100%;
    margin: auto;
    margin-top: 50px;
    padding-left: 16px;
    padding-right: 16px;
    margin-bottom: -50px;
  }
  
  .wohnen img {
    margin-bottom: 0px;
    height: 100px !important;
    margin-top: -25px;
  }

  
}


@media (max-width: 990px) {

  
  html, body {
    overflow-x: hidden;
  }

  body {
  padding-top: env(safe-area-inset-top);
  background-color: #fff;
}

header,
.navbar {
  padding-top: env(safe-area-inset-top);
  background-color: #fff;
}

  header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}
  .neuigkeiten .view-aktuelles {
  max-width: 100%;
  margin: auto;
}

.fixed {
  max-width: 100%;
  width: 100%;;
}
  
  #navbar-main {
    position: fixed;
    top: 0px;
    z-index: 9999;
    left: 0px;
    right: 0px;
    width: 100%;
    max-width: 100%;
  }
  
  .navbar-toggler {
    display: none;
  }
  
  .nav-item {
    visibility: visible
  }
  
  .nav-item.active::after { 
    margin: 0px;
  }
  
  .navbar-collapse {
    position: fixed;
    z-index: 9;
    top: 50px;
    left: 0px;
    right: 0px;
    padding: 50px 36px 50px 36px;
    background: rgba(213,205,199,0.95);
  }
  
  .navbar-toggler {
    position: fixed;
    top: 14px;
    z-index: 999999;
    left: 36px;
    padding: 1px 6px;
    border: 2px solid #4d4d4d;
    transform: scale(0.85);
    transform-origin: top left;
  }
  
  .navbar-toggler {
    display: block;
  }
  
    .path-frontpage .navbar-toggler {
     display: none;
  }
  
  .scrolled .navbar-toggler {
    display: block;
  }
    
    #block-herzundheim-header {
        position: fixed !important;
        z-index: 99;
        width: 100%;
        margin-top: 0;
        top: 0px;
    }
  
  
  #block-herzundheim-icons {
    position: fixed;
    top: 0px;
    z-index: 99999999;
    right: 36px;
    display: flex;
  }
  
  #block-herzundheim-icons a {
    text-indent: -9999px;
    display: inline-block;
    font-size: 12px;
    white-space: nowrap;
  }
  
    #block-herzundheim-icons a.tel:before {
    float: left;
    text-indent: 0px;
    content: "";
    background-image: url(/sites/default/files/phone.svg);
    background-repeat: no-repeat;
    position: absolute;
    top:10px;
    height:28px;
    width: 28px;
    right: 0px;
    position: absolute;
  }
  
  #block-herzundheim-icons a.mail:before {
    float: left;
    text-indent: 0px;
    content: "";
    background: url(/sites/default/files/envelope.svg);
    background-repeat: no-repeat;
    height:28px;
    width: 28px;
    right: 50px;
    top: 15px;
    position: absolute;
  }
  

  
  .hs {
    opacity: 0;
  }
  
  .scrolled .ht {
   opacity: 1;
  }

   .scrolled .hs {
    opacity: 0;
    display: none;
  }
  
   .scrolled #block-denzel-immobilien{
    display: none;
  }
  
  .fullwidth {
    max-width: 100% !important;
  }
  
  footer {
    padding-left: 36px !important;
    padding-right: 36px !important;
  }
  
  .wohnen .row.field__items{
    max-width: 640px;
    margin: auto;
    margin-top: 0px;
  }
 
  .wohnen .col-xl-4 {
    margin-bottom: -36px;
  }

  .text-formatted ul {
    margin-left: -5px;
  }
  
  .beigegrau .text-formatted,
  .grau .text-formatted,
  .beige .text-formatted {
    padding-left: 36px;
    padding-right: 36px;
    /*! margin-top: -36px; */
  }
  
   .col-sm-6 {
    flex: 0 0 auto;
    width: 100%;
  }
  
  .neumieter {
    margin-top: -36px;
  }
  

  .freifinanziert h2 {
    margin-left: 36px;
  }
  
  .wohngegend img, .zentrumsnah img {
    margin-bottom: -36px;
  }
  
  .wohngegend .col-sm-6:nth-child(1){
  order: 1;
  margin-top: -36px;
}
  
  .wohngegend .col-sm-6:nth-child(2){
  order: 2;
}
    
.wohnanlage .col-sm-6:nth-child(1){
  order: 2;
  margin-bottom: -36px
}

.wohnanlage .col-sm-6:nth-child(2){
  order: 1;
  margin-top: -36px;
}
  
    .park .col-sm-6:nth-child(1){
  order: 2;
  margin-top: -36px;
}
  
  .park .col-sm-6:nth-child(2){
  order: 2;
}
  
  .grundrisse h2 {
    margin-top: -72px;
  }
  
  .grundrisse img {
    margin: auto !important;
  }
  
  .goldene .col-sm-6:nth-child(1){
    order: 2;
  }

  .zweigeschoss .col-sm-6:nth-child(1){
    order:2;
  }
  
  .geborgenheit .col-sm-6:nth-child(1){
    order:2;
  }
  
    .geborgenheit .col-sm-6:nth-child(2){
    order:1;
      margin-top: -36px
  }
  
  .geborgenheit {
    margin-top: -36px;
    margin-bottom: -36px;
  }
  
  .zweigeschoss  {
    margin-bottom: -72px;
  }
  
  .bezugsfertig .col-sm-6:nth-child(1) img  {
    width: 100% !important;
    height: auto !important;
  }
  
  .bezugsfertig .col-sm-6:nth-child(1) {
    order: 2;
  }
  
   .bezugsfertig .col-sm-6:nth-child(2) {
    order: 1;
    margin-top: -72px;
  }
  
  .frischluft .col-sm-6:nth-child(1) {
    margin-top: -36px
  }
  
  .badezimmer .col-sm-6:nth-child(1) {
    margin-top: -72px
  }
  
  .badezimmer {
    margin-bottom: -36px !important;
  }
  
  .park, .highlights {
    margin-bottom: -36px;
  }
  

  .kompakt  {
    margin-top: -36px;
  }
  
  .zentrumsnah .col-sm-6:nth-child(1){
    order:1;
    margin-top: -36px;
  }
  
    .zentrumsnah .col-sm-6:nth-child(2){
    order:2;
  }
  
  .umgebung .text-formatted {
    padding-left: 36px;
    padding-right: 36px;
  }
  
  .umgebung td {
    font-size: 20px;
  }
  
  .umgebung table {
    margin-bottom: -36px;
  }
  
  .umgebung {
    margin-bottom: -50px;
  }
    
  .individualverkehr .col-sm-6:nth-child(1){
    order:2;
    margin-bottom: -36px;
  }
  
    .individualverkehr .col-sm-6:nth-child(2){
    order:1;
    margin-top: -36px;
  }
  
  
   .naherholung .col-sm-6:nth-child(2){
    order:1;
    margin-top: -72px
  }
 
  
   .naherholung .col-sm-6:nth-child(1){
    order:2;
     margin-bottom: -36px;
  }
  
  .shopping .col-sm-6:nth-child(1){
    order:1;
     margin-top: -36px;
  }
    .shopping .col-sm-6:nth-child(2){
    order:2;
  }
  
  
   .einrichtungen .col-sm-6:nth-child(1){
    order:1;
     margin-top: -36px;
  }
    .einrichtungen .col-sm-6:nth-child(2){
    order:2;
  }
 
 
  .einrichtungen {
    margin-bottom: -36px;
  }
  
  .intro h1 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: -25px;
}
  
  .intro p {
  font-size: 25px;
}
  
  .intro h2 {
  color: #e30613;
  font-size: 36px;
  margin-top: -36px;
}
  
  .intro {
    padding-left: 24px;
  }
  
  h1 {
    font-size: 30px;
  }
  
  .fooicon-plus::before {
  content: "+";
}
  
  .footable-detail-row table {
    margin-top: -7px;
    margin-bottom: -8px
  }
  
  .footable-detail-row table td {
    background: #fff !important;
  }
  
   .footable-detail-row table th {
   vertical-align: middle;
  }
  
  .view-wohnungen .view-footer {
    padding-left: 36px;
    margin-bottom: -90px;
  }
  
  .webform-submission-form {
    padding-left: 36px;
    padding-right: 36px;
    padding-bottom: 60px;
  }
  
  .kontaktformular {
    margin-bottom: -90px
  }
 
  .node--type-neuigkeiten .node__content {
    padding-top: 0px !important;
  }
  
   .node--type-neuigkeiten .text-formatted {
   padding: 0px 36px;
  }
  
  .node--type-neuigkeiten h1 {
    font-size: 30px;
    margin: 0px 36px;
  }

  .navbar-collapse li:nth-child(4) {
    display: none;
  }
 
}

@media (max-width: 900px) {
  
  .dsgvo {
    padding-top: 25%
  }
  
  .region-footer-first {
    width: 50% !important;
  } 
  
  .region-footer-second {
    width: 50% !important;
    text-align: right;
    margin-top: -25px
  } 
  
  .region-footer-third {
    width: 100% !important;
    height: 25px !important;
    margin-top: -25px;
  }
  
  .layout--twocol > .layout__region--first, .layout--twocol > .layout__region--second {
    flex: 0 1 100%;
  }
  .node--type-neuigkeiten .layout__region--second {
  padding-left: 0;
  padding-top: 36px;
}
  
  .slick img {
    max-width: 100% !important;
    width: 100% !important;
  }
  
  }


@media (max-width: 767px) {
.views-field-title p {
		overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical; 
 } 
  
    #vormerkung:target {
  scroll-margin: 145px;
}
  
  .node--type-neuigkeiten .layout--twocol {
    margin-top: 0;
  }
  
  .node--type-neuigkeiten #block-denzel-immobilien {
  top: 0 !important;
  margin-top: 0%
}
  
  .vormerken {
    right: 36px;
  }
  
  .wohnen .text-formatted {
    padding-left: 36px;
    padding-right: 36px;
  }
  
    .wohnen .field__item:nth-child(3) {
    margin-top: 50px;
    margin-left: 0px;
  }
    
  #block-denzel-immobilien  {
    position: fixed !important;
  }
  
  #block-denzel-immobilien {
  position: absolute;
  right: auto;
  left: 36px;
  bottom: 0px;
  z-index: 99999;
  width: 150px;
  display: flex;
  transform: scale(0.70);
  transform-origin: top left;
  top: 1% !important;
}
  
  #block-denzel-immobilien a {
  text-indent: -99999px;
  display: inline-block;
}

#block-denzel-immobilien a:after{
  content: "";
  position: absolute;
  background: url(/sites/default/files/denzel-logo.svg);
  background-repeat: no-repeat;
  background-size: 140px auto;
  background-position: left top;
  width: 150px;
  height: 60px;
  left: 0px;
  top: 30px;
}

  .hero img{
    height: 550px !important;
    object-fit: cover;
    width: 100% !important;
  }
  
  .wohnen .paragraph--type--grid {
    max-width: 65%;
    margin: auto !important;
  }
  
  .wohnen.fullwidth {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }
  
  .wohnen .col-sm-12:nth-child(even) {
    margin-top: -0px !important;
    margin-bottom: -50px !important;
  }
  
    .wohnen .field__item:nth-child(3) {
    margin-top: 50px;
    margin-bottom: -50px;
  }
  
  .wohnen img {
  height: 120px !important;
  width: 100% !important;
  object-fit: contain;
  margin-bottom: 25px;
  margin-top: -25px;
}
  
  .wohnen .paragraph--type--grid p {
  padding-top: 0px;
  line-height: 130%;
  font-size: 18px;
   
  padding-left: 15px;
  padding-right: 15px;
}
  
  .highlights-objekt img, .highlights-ausstattung img {
    padding-top: 36px
  }
  
  .view-display-id-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
  

  
  .kontaktformular table td img {
    max-width: 150px;
    margin-bottom: 25px;
  }
  
  .path-webform #main .content {
    padding-top: 25%;
  }
  
}


@media (max-width: 640px) {
  
    .node--type-neuigkeiten .layout--twocol {
    margin-top: 25%;
  }

    .dsgvo{
    padding-top: 25%;
  }

#block-denzel-immobilien a:after{
  content: "";
  position: absolute;
  background: url(/sites/default/files/denzel-logo.svg);
  background-repeat: no-repeat;
  background-size: 120px auto;
  background-position: left top;
  width: 120px;
  height: 60px;
  left: 0px;
}


.node--type-neuigkeiten #main-wrapper {
  background-color: #fcf5e5;
  padding-top: 36px;
}
  
  .kontaktformular .field--name-field-webform #edit-container {
    flex-direction: column;
  }
  
  #edit-actions {
    justify-content: center !important;
    margin-bottom: 50px !important;
  }
  
  .view-wohnungen td, .view-wohnungen th {
    font-size: 14px !important;
  }
  
  .wohnen .paragraph--type--grid {
    max-width: 100% !important;
    padding-left: 42px;
    padding-right: 42px
  }
  
   .wohnen img {
    height: 90px !important;
    width: 100% !important;
    object-fit: contain;
    margin-bottom: 25px;
    margin-top: -25px;
  }
  
  .dsgvo .paragraph--type--button a {
 
  padding: 8px 36px;
  }
  
  .vormerken {
    transform: scale(0.7);
    transform-origin: bottom right;
  }
  
  .kontaktformular textarea {
    min-height: auto;
  }
  
  .webform-confirmation h2 {
    text-align: left;
    line-height: 100%;
    font-size: 30px;
  }
  
  .path-webform #main .content {
    padding-top: 200px;
  }
  
  .confirmation-text {
    margin-left: 36px;
    margin-right: 36px;
  }
  
  .confirmation-text table {
    width: 100% !important;
    max-width: 100%;
  }
  
  .confirmation-text td {
    width: 100% !important;
    float: left;
    padding: 0px 0px 0px 0px;
    text-align: left
  }
  
  .confirmation-text td:nth-child(2) {
    display: none;
  }
  
  .confirmation-text td:nth-child(3) {
    margin-bottom: 10px;
    margin-top: -5px;
  }
  
  footer p, footer a {
    font-size: 16px !important;
    line-height: 130% !important;
  }
  
    .region-footer-first {
    width: 100% !important;
      text-align: center;
  } 
  
  .region-footer-second {
    width: 100% !important;
    text-align: center;
    margin-top: 0px;
    height: auto !important;
  } 
  
  .region-footer-third {
    width: 100% !important;
    height: auto !important;
    margin-top: 15px;
    text-align: center;
  }
  
     .path-webform #main .content {
    padding-top: 30%
  }
  
    .webform-confirmation a, .webform-confirmation span{
  font-weight: 600;
}
  
  
}


@media (max-width: 580px) {
      .kontaktformular table td {
    width: 100%;
    float: left;
    font-size: 18px !important;
    padding: 0px !important;
  }
  
    #block-herzundheim-header:before {
        content: "";
        position: relative;
        display: block;
        background: #fff;
    }
  
    #block-herzundheim-header{
        width: 125%
    }

  
  #block-denzel-immobilien a {
  text-indent: -99999px;
  display: inline-block;
}
  
  .kontaktformular table img {
    margin-left: 0px;
  }
  
}

@media (max-width: 480px) {  
  
    .view-display-id-grid {
  display: grid;
  grid-template-columns: 1fr;
}
  
   #block-denzel-immobilien {
    position: fixed !important;
    top: 1.5%;
    height: 75px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-top: -2%;
  }
  
  
  .layout__region .fullwidth {
    padding: 36px 0px;
  }
  
  .dsgvo {
    padding-top: 30%;
  }
  
  h2 {
    font-size: 24px;
  }
  
  .node--type-neuigkeiten h1 {
    font-size: 30px;
  }
  
     .wohnen .paragraph--type--grid {
    max-width: 100%;
     padding-left: 42px;
     padding-right: 42px;
    margin: auto !important;
  }
  
  .wohnen h1 {
    margin-top: 25px;
  }
  
  .vormerken p {
    font-size: 24px;
  }
  
  .wohnen .row.field__items {
    max-width: 100%;
    margin: auto;
    margin-top: 36px;
    padding-left: 0px;
    padding-right: 0px;
    margin-bottom: 0px;
  }
  
   .wohnen .paragraph--type--grid p {
  
    padding-left: 0px;
    padding-right: 0px;
  }
  
  .kontaktformular h3 {
  padding-bottom: 25px;
}
  

  
  p, .text-formatted li {
    font-size: 18px;
    line-height: 140%;
  }
  
   .path-webform #main .content {
    padding-top: 30%;
  }
  
.wohnen .col-xl-4 {
	aspect-ratio: 1.1 / 1;
  padding-top: 50px !important;
}
  
}



@media (max-width: 390px) {
  
  
   #block-denzel-immobilien {
    position: absolute;
    right: auto;
    left: 36px;
    bottom: 0px;
    z-index: 99999;
    width: 150px;
    display: flex;
    transform: scale(0.70);
    transform-origin: top left;
    top: 3px !important;
  }}
  
  
    