/* -----------------------------
   GLORIETTE CSS
----------------------------- */


/* -----------------------------
   FONTS
----------------------------- */

@font-face{font-family:'EB Garamond';font-style:normal;font-display:swap;font-weight:400;src:url('../fonts/eb-garamond-regular.woff') format('woff')}
@font-face{font-family:'Gill Sans';font-style:normal;font-display:swap;font-weight:400;src:url('../fonts/gillsans-regular.woff2') format('woff2')}
@font-face{font-family:'Gill Sans';font-style:normal;font-display:swap;font-weight:300;src:url('../fonts/gillsans-light.woff2') format('woff2')}


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

body, html {
  font-family: 'Gill Sans';
  font-weight: 300;
}

 .row > * {
    padding-left: 0px;
    padding-right: 0px;
  }

body {
  overflow-x: hidden;
}

.toolbar-horizontal.scrolled #navbar-main {
  top: 60px !important;
  background: #fff;
}

.scrolled .main-content{
  padding-top: 100px !important;
}

#main {
  position: relative;
}

#main:before {
  content: "";
  position: absolute;
  top: 0px;
  left: 10px;
  bottom: 0px;
  width: 3px;
  z-index: 9;
  background-image: url(/sites/default/files/seitenlinie.png);
  background-repeat: repeat-y;
  background-size: 100%; 
}

#main:after {
  content: "";
  position: absolute;
  top: 0px;
  right: 10px;
  bottom: 0px;
  width: 3px;
  z-index: 9;
  background-image: url(/sites/default/files/seitenlinie.png);
  background-repeat: repeat-y;
  background-size: 100%;
}

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

.node h1 {
font-family:'EB Garamond';
font-weight:400;
  color: #A47B15;
  padding: 15px 0px;
  position: relative;
  z-index: 10;
}

.node h2 {
font-family:'EB Garamond';
font-weight:400;
  color: #A47B15;
  padding: 15px 0px;
  position: relative;
  z-index: 10;
}

.node h2 a {
  color: #A47B15;
}

.node p {
 color: #474748;
  position: relative;
  z-index: 1;
  font-size: 19px;
}

.node strong {
  font-family: 'Gill Sans';
  font-weight: 400;
}

.node a:hover {
}

/* -----------------------------
   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;
 }

/* -----------------------------
   MAINTENANCE
----------------------------- */

.maintenance-page {
  overflow-x: hidden;
}

.maintenance-page #page-wrapper {
  background: none;
  border: none;
  height: 100vh;
  max-width: 100%;
  padding: 0px 50px;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 100% !important;
  flex-wrap: wrap;
  margin: 0px !important;
  border: none !important;
  background: #fbf5e3 !important;
}

.maintenance-page #page-wrapper img {
  max-width: 480px;
  width: 100%;
  margin: 50px auto;
  float: none;
}

.maintenance-page #page, .maintenance-page #main{
  background: #fbf5e3  !important;
}

.maintenance-page #main:before,
.maintenance-page #main:after {
  display: none;
}

.maintenance-page h1 {
  font-size: 13px;
  letter-spacing: 0.5em;
   text-transform: uppercase
}

.maintenance-page strong {
  clear: both;
  display: block;
  flex-direction: column;
  font-size: 18px;
  margin-bottom: 50px;
}

.maintenance-page a {
 color: #000 !important;
text-decoration: none;
  display: inline;
  justify-content: center;
}

.maintenance-page #name-and-slogan a {
  display: none;
}

.maintenance-page #header div.section, .maintenance-page #main {
  width: 100% !important;
}


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


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

.hero {
  position: relative;
}
 

/* -----------------------------
   LAYOUT
----------------------------- */

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

/* -----------------------------
   MENU
----------------------------- */


#navbar-main {
  max-width: 100%;
  width: 100%;
  margin: 0px auto;
}

#navbar-main .navbar-brand img {
  height: auto;
}

#navbar-main li { }
#navbar-main a {}
#navbar-main a.active {}
#navbar-main a:hover {}

#navbar-main #CollapsingNavbar {
  justify-content:  center !important;
}

.navbar {
  --bs-navbar-padding-y: 0px;
}

.navbar-expand-lg {
  flex-wrap: wrap;
}

.scrolled #navbar-main {
  position: fixed;
  z-index: 999;
  left: 0px;
  right: 0px;
  top: 0px !important;
  max-width: 100%;
  background: #fff;
  box-shadow: 1px 1px 10px -9px #333;
  margin-top: 0px !important;
}


.navbar-brand {
  width: 100%;
  justify-content: center;
  display: flex;
  height: 195px;
  margin-bottom: -100px;
  position: relative;
  z-index: 99;
  background: #FAF1D9;
  background: linear-gradient(180deg,rgba(250, 241, 217, 1) 65%, rgba(255, 255, 255, 0) 100%);
  flex-wrap: nowrap;
  margin: 0px 0px -100px 0px !important;
}

.navbar-brand img {
  height: auto !important;
  margin-top: 25px;
  margin-bottom: 25px;
}

.scrolled .navbar-brand {
  height: 120px;
  background: #FAF1D9;
  position: relative;
}

.scrolled .navbar-brand:after {
  content: "";
  position: absolute;
  bottom: -15px;
  height: 50px;
  background: linear-gradient(180deg,rgba(250, 241, 217, 1) 90%, rgba(255, 255, 255, 0) 100%);
  left: 0px;
  right: 0px;
  z-index: -1;
}

.scrolled .navbar-brand img {
  margin-top: 12px;
  padding-bottom: 0px;
  margin-bottom: 3px;
}

.hero {
  position: relative;
}

.hero:after {
  content: "";
  background: #FAF1D9;
  background: linear-gradient(2deg,rgba(250, 241, 217, 1) 5%, rgba(255, 255, 255, 0) 10%);
  position: absolute;
  z-index: 1;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
}

  #block-gloriette-icon {
  display: none;
}



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

.site-footer {
  position: relative;
  margin-top: 50px;

}

.site-footer:before {
  content: "";
  position: absolute;
  top: -100px;
  width: 25px;
  height: 100px;
  left: 0;
  background: #FAF1D9;
  background: linear-gradient(180deg,rgba(250, 241, 217, 0) 10%, rgba(250, 241, 217, 1) 50%);
  z-index: 9;
}

.site-footer:after {
  content: "";
  position: absolute;
  top: -100px;
  width: 25px;
  height: 100px;
  right: 0;
  background: #FAF1D9;
  background: linear-gradient(180deg,rgba(250, 241, 217, 0) 10%, rgba(250, 241, 217, 1) 50%);
  z-index: 9;
}

.site-footer table {
  margin: 0px auto;
  max-width: 1300px;
}

.site-footer table tr td {
  padding: 8px 0px;
  font-family: "Gill Sans";
}

.site-footer table td:last-child {
  text-align: right;
}

.site-footer table td, .site-footer table tr{
  border: none;
  background: none;
}

.site-footer__bottom {
  margin: 0px;
  border: 0px;
}

.site-footer__bottom .content {
  text-align: center;
  padding: 0px;
}

.site-footer__bottom .region {
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 0px;
}

.site-footer {
  background: #a47b15 !important;
  padding: 0px;
}

.site-footer__bottom .block {
  margin: 0;
}
.site-footer__bottom .content p{
  margin-bottom: 0px;
}

.site-footer a, .site-footer p, .site-footer td {
  color: #fefefe !important;
  text-decoration: none;
}

.page-node-4 .site-footer:before {
  content: "";
  position: absolute;
  top: -100px;
  width: 25px;
  height: 100px;
  left: 0;
  background: #FAF1D9;
  background: linear-gradient(180deg,rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 1) 50%);
  z-index: 9;
}

.page-node-4 .site-footer:after {
  content: "";
  position: absolute;
  top: -100px;
  width: 25px;
  height: 100px;
  right: 0;
  background: #FAF1D9;
  background: linear-gradient(180deg,rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 1) 50%);
  z-index: 9;
}



/* -----------------------------
  VERLAUF
----------------------------- */

.gesellschaftsstruktur {
  background: #FAF1D9;
  background: linear-gradient(180deg,rgba(250, 241, 217, 0.9) 0%, rgba(255, 255, 255, 0.9) 10%, rgba(255, 255, 255, 0.58) 82%, rgba(255, 255, 255, 0.42) 100%);
  padding: 80px 0px;
}

#gesellschaftsstruktur .ept-paragraph-tiles .ept-tiles-wrapper .inner {
	border: none;
}

.auszug {
  background: #FAF1D9;
  background: linear-gradient(0deg,rgba(250, 241, 217, 1) 10%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.8) 70%, rgba(250, 241, 217, 1) 90%);
  padding: 80px 0px;
}

.management {
  position: relative;
  padding: 50px 0px;
}

.management:before {
  content: "";
  position: absolute;
  top: -30px;
  left: 0;
  right: 0;
  height: 100px;
  background: #FFFFFF;
  background: linear-gradient(180deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);

}

.management:after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  height: 100px;
  background: #FAF1D9;
  background: linear-gradient(0deg,rgba(250, 241, 217, 1) 50%, rgba(250, 241, 217, 0.90) 55%, rgba(250, 241, 217, 0.0) 100%);
}



/* -----------------------------
   LANGFRISTIGKEIT
----------------------------- */
.langfristigkeit {
  max-width: 1280px;
  margin: 0px auto;
}

/* -----------------------------
   GESELLSCHAFTSSTRUKTUR
----------------------------- */

#gesellschaftsstruktur .inner {
  padding: 0px;
}

#gesellschaftsstruktur .paragraph--type--ept-tiles-item {
  position: relative;
  aspect-ratio: 16 / 7;
}

#gesellschaftsstruktur .inner:hover {
  box-shadow: none !important;
}

#gesellschaftsstruktur .ept-paragraph-tiles.ept-tiles-three_columns .ept-tiles-wrapper {
  gap: 48px;
  row-gap: 24px;
}


#gesellschaftsstruktur  .paragraph--type--ept-tiles-item .text-formatted {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 15px;
}

#gesellschaftsstruktur  .paragraph--type--ept-tiles-item .text-formatted p {
  font-size: 22px;
  line-height: 120%;
}

#gesellschaftsstruktur  .paragraph--type--ept-tiles-item .text-formatted p:last-of-type {
  margin-bottom: 0px;
}

#gesellschaftsstruktur .paragraph--type--ept-tiles-item:before {
  content: ""; 
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-image: url(/sites/default/files/rahmen.webp);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  pointer-events: none;
}


/* -----------------------------
   MANAGEMENT
----------------------------- */

#management .ept-container img {
  display: flex;
}

#management .paragraph--type--ept-image img {
 width: 70%;
  margin: auto;
  margin-bottom: 9%;
}

#management {
  aspect-ratio: 900 / 420;
}

/* -----------------------------
   IMMOBILIEN / REFERENZEN
----------------------------- */


.node--type-immobilien #main .content {
  max-width: 1280px;
  margin: auto;
}

.node--type-immobilien {
  background: #faf1d9;
}

.node--type-immobilien .group-header {
  text-align: center;
  font-size: 36px;
  color: #a47b15;
  margin-bottom: 50px;
}

.node--type-immobilien .group-left {
  padding-right: 18px;
}

.node--type-immobilien .group-right {
  padding-left: 18px;
}


.node--type-immobilien h1 {
  font-size: 18px;
  font-family: "Gill Sans";
  color: #000;
  font-weight: 500;
  margin-top: -15px;
  margin-bottom: 0px;
  padding-bottom: 0px;
}

.node--type-immobilien .field__label,
.view-immobilien .field__label{
  width: 170px !important;
}

.node--type-immobilien .field__label:after {
  content: ":";
  margin-left: 1px;
}

.node--type-immobilien #main .field,
.view-immobilien .field{
  display: flex;
  font-size: 18px;
}


.view-empty {
  display: flex;
  justify-content: center;
  padding-top: 50px;
  padding-bottom: 25px;
}

.view-immobilien {
  max-width: 1280px;
  padding-left: 50px;
  padding-right: 50px;
  margin: auto;
}

.view-immobilien .field--name-field-website {
  margin-top: 15px;
}

.view-immobilien .field--name-field-website a {
  text-decoration: none;
}

.view-immobilien .group-header {
  display: none;
}

.view-immobilien .views-row {
  margin-bottom: 25px;
}

.view-immobilien .field--name-node-title {
  white-space: nowrap;
}

.field--name-field-immobilientyp {
  margin-bottom: 25px;
}

#gewerbeimmobilien {
  position: relative;
}

#gewerbeimmobilien:before {
  content: "";
  position: absolute;
  background: #FFFFFF;
  background: linear-gradient(0deg,rgba(255, 255, 255, 1) 40%, rgba(255, 255, 255, 1) 50%, rgba(250, 241, 217, 1) 100%);
  height: 80px;
  top: -25px;
  left: 0;
  right: 0;
}

#gewerbeimmobilien .node--type-immobilien {
  background-color: #fff;
}

.page-node-4 #block-gloriette-content {
  position: relative;
}

.page-node-4 #block-gloriette-content:before {
  content: "";
  position: absolute;
  top: 0;
  width: 25px;
  height: 100px;
  left: 0;
  background: #FAF1D9;
  background: linear-gradient(0deg,rgba(250, 241, 217, 0) 10%, rgba(250, 241, 217, 1) 50%);
  z-index: 9;
}

.page-node-4 #block-gloriette-content:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 10px;
  width: 25px;
  height: 100px;
  right: 0px;
  background: #FAF1D9;
  background: linear-gradient(0deg,rgba(250, 241, 217, 0) 10%, rgba(250, 241, 217, 1) 50%) !important;
  z-index: 99;
}


/* -----------------------------
   KONTAKT
----------------------------- */

#kontakt .text-formatted {
  padding-right: 25px;
}

#kontakt .text-formatted img {
  max-width: 250px !important;
  margin: 25px 0px 50px 0px;
}

#kontakt .text-formatted a {
  text-decoration: none;
   
}

#kontakt .text-formatted a:hover {
  color: #A47B15;
}

#kontakt .text-formatted a:nth-child(1):before {
  content: "\f0e0";
  font-family: 'Font Awesome 5 Free';
  color: #A47B15;
  padding-right: 10px;
  font-size: 16px;
  font-weight: 600;
}

#kontakt .text-formatted a:nth-child(3):before {
  content: "\f095";
  font-family: 'Font Awesome 5 Free';
  color: #A47B15;
  padding-left: 10px; 
  font-size: 16px;
  font-weight: 600;
  display: inline-block; /* Wichtig für transform */
  transform: scaleX(-1);
  
}


.webform-submission-form  {
  position: relative;
}

.webform-submission-form  input,
.webform-submission-form  textarea {
  border: none;
  border-radius: 0px;
  padding: 30px 0px 5px 10px;
}


.webform-submission-form  input#edit-dsgvo {
  padding: 0px;
  border: 2px solid #A47B15;
}

.webform-submission-form  label {
  position: absolute;
  padding: 5px 0px 5px 10px;
  color: #A47B15;
  font-weight: 500;
}

.webform-submission-form  input:focus,
.webform-submission-form textarea:focus {
  box-shadow: none;
}

.webform-submission-form  .webform-button--submit {
  border: 2px solid #cca120;
  border-radius: 0px;
  background-color: #cca120;
  padding: 15px 50px;
  font-weight: 500;
}

.webform-submission-form  .webform-button--submit:hover {
  background-color: transparent;
  color: #cca120;
}

.webform-submission-form  #edit-pflichtfeld p {
  color: #A47B15;
  font-size: 14px;
}

.webform-submission-form .form-check-input:checked {
	background-color: #A47B15;

}

.webform-submission-form #edit-actions {
  position: absolute;
  bottom: 60px;
  right: 0;
}

.webform-submission-form #edit-dsgvo--description {
  max-width: 70%;
  line-height: 120%;
  font-size: 13px;
  text-align: justify;
  color: #474748;
  hyphens: auto;
}

.webform-submission-form .form-required:after {
  content: "*";
  background: none;
  padding: 0px;
  line-height: 100%;
}

/* -----------------------------
   CONFIRMATION PAGE
----------------------------- */

.webform-confirmation {
  min-height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.webform-confirmation .webform-confirmation__message {
  text-align: center;
  padding: 50px 0px;
}

.webform-confirmation .webform-confirmation__back {
  text-align: center;
}

.webform-confirmation__message h2 {
  font-family: "EB Garamond";
  margin-top: -50px;
}


/* -----------------------------
   MEDIA QUERIES
----------------------------- */


@media (min-width: 1800px) {
  
#management .paragraph--type--ept-image img {
 width: 22%;
  margin: auto;
  margin-bottom: 0;
  position: absolute;
  bottom: 9.5%;
  left: 0px;
  right: 0px;
}
  #management {
  aspect-ratio: 900 / 540;
}
}

@media (min-width: 2100px) {
  #management {
  aspect-ratio: 900 / 480;
  background-position: bottom;
}
  
    #management .paragraph--type--ept-image img {
 width: 20%;
      bottom: 9.5%;
} 
}


@media (min-width: 2400px) {
  #management {
  aspect-ratio: 900 / 420;
  background-position: bottom;
}
  
  #management .paragraph--type--ept-image img {
 width: 18%;
      bottom: 10.5%;
}
}

@media (max-width: 1400px) {
  
  #kontakt #webform-submission-contact-paragraph-30-add-form #edit-actions {
	position: absolute;
	bottom: 75px;
	right: 0;
}
  
  .site-footer {
    padding-left: 50px;
    padding-right: 50px;
  }
  
}


@media (max-width: 1280px) {

  #kontakt #webform-submission-contact-paragraph-30-add-form #edit-actions {
	position: absolute;
	bottom: -50px;
	right: 0;
}
  
  #kontakt #webform-submission-contact-paragraph-30-add-form #edit-dsgvo--description {
	max-width: 100%;
	line-height: 120%;
	font-size: 14px;
	text-align: justify;
	color: #474748;
}
  
}

@media (max-width: 1180px) {
  
 .ept-paragraph-tiles.ept-tiles-three_columns .ept-tiles-wrapper {
    grid-template-columns: 1fr 1fr;
  }
  
  
}


@media (max-width: 990px) {
  .navbar-brand {
    height: 150px;
    padding-bottom: 25px;
  }
  
  .navbar-brand img {
    margin-top: 0px;
    max-width: 200px;
  }
  
  .scrolled .navbar-brand {
    height: 80px;
    padding-bottom: 0px;
    position: fixed;
    top: 0px;
  }
  
  .navbar-brand img {
    margin-top: 0px;
    margin-bottom: 0px;
    max-width: 200px;
  }
  
  .scrolled .navbar-brand::after {
  content: "";
  position: absolute;
  bottom: -25px;
  height: 50px;
  background: linear-gradient(180deg,rgba(250, 241, 217, 1) 90%, rgba(255, 255, 255, 0) 100%);
  left: 0px;
  right: 0px;
  z-index: -1;
}
  
  .node--type-immobilien .field__label, .view-immobilien .field__label {
  width: 50% !important;
  min-width: 50%;
}
  
    .node--type-immobilien .field__label, .view-immobilien .field__item {
  width: 50% !important;
  min-width: 50% !important;
}
  
  
  .view-immobilien .field--name-field-fertigstellung .field__items {
    display: flex;
    flex-direction: column;
    white-space: nowrap;
  }
  
  .field--name-field-fertigstellung .field__items .field__item:nth-child(n+2) {
    margin-top: -5px;
  }
  
  .field--name-field-fertigstellung .field__items .field__item:nth-child(n+2)::before {
  content: "und";
  margin-right: 6px;
}
  
  .hero {
    margin-bottom: -12px;
  }

  #block-gloriette-icon {
  display: block;
}

#block-gloriette-icon a {
  position: fixed;
  z-index: 99999;
  top: 53px;
  right: 50px;
  text-indent: -9999px;
}

#block-gloriette-icon a:before {
  content: "\f0e0";
  font-family: 'Font Awesome 5 Free';
  color: #A47B15;
  padding-right: 10px;
  font-size: 20px;
  font-weight: 600;
  text-indent: 0px;
  float: left
}

.scrolled #block-gloriette-icon a {
  top: 35px;
}
 
}

@media (max-width: 900px) {
  .site-footer td {
    width: 100% !important;
    float: left !important;
    text-align: center !important;
  }
  
  .site-footer td:nth-child(2) {
    margin-top: -6px;
  }
  
  .site-footer td:nth-child(3) {
    font-size: 12px;
  }
  
}


@media (max-width: 768px) {
#gesellschaftsstruktur  .paragraph--type--ept-tiles-item .text-formatted p {
  font-size: 20px;
  line-height: 120%;
}
  
  #gesellschaftsstruktur .ept-paragraph-tiles.ept-tiles-three_columns .ept-tiles-wrapper {
  gap: 24px;
  row-gap: 24px;
}
  
}

@media (max-width: 720px) {
#gesellschaftsstruktur  .paragraph--type--ept-tiles-item .text-formatted p {
  font-size: 18px;
  line-height: 120%;
}
  
  #gesellschaftsstruktur .ept-paragraph-tiles.ept-tiles-three_columns .ept-tiles-wrapper {
  gap: 18px;
  row-gap: 18px;
}
  
}



@media (max-width: 640px) {
  .node--type-immobilien .group-left {
   float: none;
  width: 100%;
    padding: 0px !important;
  }
  
    .node--type-immobilien .group-right {
   float: none;
  width: 100%;
  padding: 18px 0px 18px 0px !important;
  } 
  
    .ept-paragraph-tiles.ept-tiles-three_columns .ept-tiles-wrapper {
    grid-template-columns: 1fr !important;
  }
  
  
  
#gesellschaftsstruktur  .paragraph--type--ept-tiles-item .text-formatted {
  display: flex;
  justify-content: center;
  align-items: center;
  
}
  
  
  #gesellschaftsstruktur  {
    /*! margin-bottom: -47px; */
    /*! margin-top: -75px; */
  }

  .auszug {
    padding: 30px;
  }
  
  .site-footer table {
   width: 240px;
    margin: auto !important;
  }
  
    #management .paragraph--type--ept-image img {
	width: 70%;
	margin: auto;
	margin-bottom: 12%;
}
 
  
}


@media (max-width: 480px) {
  
  .ept-paragraph-tiles.ept-tiles-three_columns .ept-tiles-wrapper {
	grid-template-columns: 1fr;
}
  
  #management {
    padding: 50px 50px 0px 50px;
    
  }
  
  #management .paragraph--type--ept-image img {
	width: 70%;
	margin: auto;
	margin-bottom: 30%;
}
  
  #gesellschaftsstruktur {
    padding-bottom: 25px
    
  }
  
}