/* -----------------------------------------
   SR IMMOBILIEN | Individuelles Theme
   (c) Die Wölfe Immobilienmarketing
-------------------------------------------- */

@font-face{font-family:'Raleway Variable';font-style:normal;font-display:swap;font-weight: 100 900;src:url('../fonts/raleway_wght.woff2') format('woff2')}
@font-face{font-family:'Catchy';font-style:normal;font-display:swap;font-weight:100 900;src:url('../fonts/catchy_mager.woff') format('woff')}
@font-face{font-family:'Coco';font-style:normal;font-display:swap;font-weight:100 900;src:url('../fonts/coco_gothic.woff') format('woff')}
@font-face{font-family:'Zarid';font-style:normal;font-display:swap;font-weight:100 900;src:url('../fonts/zarid.woff') format('woff')}


/* -----------------------------
   KLARO CCM 
----------------------------- */

.klaro span, .klaro p {
  font-size: 11pt;
  line-height: 16pt;
  font-family: 'Raleway Variable';
  font-weight: 400;

}

.klaro .cm-btn, .klaro .cm-link {
  background: #7f95b5 !important;
  border-color: #7f95b5 !important;
  border-radius: 0px !important;
  color: #fff !important;
}

.klaro .cm-btn:hover, .klaro .cm-link:hover {
  background: #333 !important;
  border-color: #333 !important;
}

.klaro .purposes {
  font-size: 10pt !important;
}

.klaro label.cm-list-label {
  font-size: 13pt;
}

.klaro .cookie-modal .cm-list-label .slider {
  background: #333;
}

.klaro .cookie-modal .cm-list-label .slider::before {
    background: #7f95b5;
}


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

body, html {
  background: #7f95b5;
}

body {
  overflow-x: hidden;
}

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

.node__content {
  margin-top: 0px;
}

 .node .field--type-image {
    float: none;
    margin: 00;
  }

.field--type-image img{
  margin: 0px !important;
}

.field--type-entity-reference {
  margin: 0px;
}

.paragraph img {
  width: 100%;
  height: auto;
}

.ept-container {
  position: relative;
  z-index: 10;
}


.ept-edge-to-edge{
  margin-top: -12px;
}

.invert.ept-container,
.invert .ept-container {
  color: #fff;
}


.buttons:empty,
.buttons:not(:has(*)):not(:has(:not(:empty))) {
  display: none !important;
}


/* -----------------------------
  TYPOGRAPHIE / HEADERS
----------------------------- */

p, li, span {
  font-size: 17pt;
  font-family:'Raleway Variable';
  font-weight: 300;
}

h1{
  font-family:'Catchy';
 font-size: 50pt;
}

h2 {
  font-size: 21pt;
  font-family:'Coco'
}

h2 .text-big {
  font-size: 48px;
}

h3, h3 span {
  font-size: 20pt;
  font-family:'Coco'
}

h2.zarid span {
  font-size: 48pt;
}

h4 {
  font-size: 14pt;
}

h4 strong {
  font-family: "Raleway Variable";
  font-weight: 480;
  margin-bottom: 10px;
  display: inline-block;
}

.zarid.graublau {
  font-family: "Zarid";
  color: #658dc6;
  font-family: 400;
}

.graublau {
  color: #658dc6;
}

.schwarz {
  color: #333;
}

#objekte h2, #immobilienangebote h2{
  font-family: "Catchy";
  font-size: 50pt;
  text-align: center;
}

[id] {
  scroll-margin-top: 200px;
}

/* -----------------------------
   NAVIGATION
----------------------------- */

#header {
  background: #333;
}

#header {
  background: #7f95b5;
  position: relative;
  z-index: 999;
}

 .scrolled #header {
 position: sticky;
  top: 0;
  z-index: 99;
  transition: padding 0.3s ease, background 0.3s ease;
  width: 100%;
  transform: translateY(-100%);
  animation: slideDown 0.4s ease forwards;
}

.toolbar-horizontal.scrolled #header{
  top: 60px;
  left: 32px;
}

#header .navbar {
  transition: padding 0.3s ease; /* <-- Animation */
}

.scrolled #header .navbar {
  padding-top: 6px;
  padding-bottom: 12px;
}



/* Animation */
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}




.navbar {
  max-width: 1400px;
  margin: auto;
  padding: 30px 60px;
}

.navbar-expand-lg .navbar-nav .nav-link {
  color: #fff;
  font-size: 21px;
  margin: 0px 25px;
  font-family:'Raleway Variable';
}

.navbar-expand-lg .navbar-nav .nav-link.is-active {
  font-weight: 600;
}

.navbar-expand-lg .navbar-nav .nav-link {
  position: relative;
  display: inline-block;
}

.navbar-expand-lg .navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.navbar-expand-lg .navbar-nav .nav-link:hover::after {
  width: 100%;
}


.navbar-expand-lg .navbar-collapse {
  justify-content: flex-start !important;
}

.navbar-brand {
  margin-left: -6px;
}

.navbar-brand img {
  max-height: 80px;
}


/* -----------------------------
   HOME 
----------------------------- */

#rueckmeldungen:before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(50,50,50,0.75); 
  z-index: 1;
}
#rueckmeldungen {
  position: relative;
}

#rueckmeldungen p {
  color: #fff;
}

#rueckmeldungen h2 .text-big {
  font-size: 54px;
  font-family: "Catchy";
  color: #fff;
}

blockquote p, blockquote span, blockquote {
  font-size: 12pt;
}

blockquote:before {
  content: "\f10d";
  color: #fff;
  font-size: 40px;
  font-family:"Font Awesome 7 Free";
  font-weight: 900;
}

.tns-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* -----------------------------
   HOME / Infoblöcke
----------------------------- */


#kontakt .paragraph--type--ept-tiles-item {
  border: 1px solid;
}

#kontakt .ept-paragraph-tiles .ept-tiles-wrapper .inner {
  border: 1px solid #eee;
  display: block;
  transition: none;
  text-decoration: none;
  height: 100%;
}


#kontakt p {
  line-height: 120%;
}

#kontakt a {
color: #fff !important;
text-decoration: none;
}


/* -----------------------------
   SLIDESHOWS
----------------------------- */

#willkommen {
  height: calc(100vh - 135px);
}

#willkommen .overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 135px);
}

#willkommen  img {
  height: 100vh;
  object-fit: cover;
}

.flex-direction-nav {
  position: absolute;
  bottom: 20px;
}

.flexslider {
  border: 0;
}

.slide {
  position: relative;
}

.slide .overlay {
  position: absolute;
  top: 0px;
  bottom: 0px;
  left: 0px;
  right: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  background: rgba(0,0,0,0.45)
}

.slide h1 {
  color: #fff;
  font-size: 5.5vw;
}

.slide p {
  color: #fff;
}

.slide {
  position: relative;
}

.slide img {
  filter: contrast(0.9)
}

.field--name-field-ept-slideshow-title  {
  margin-bottom: 2%;
}

.field--name-field-ept-slideshow-title p {
  text-transform: uppercase;
  font-family: "Coco";
  letter-spacing: 0.5em;
  font-weight: bold;
  font-size: 1vw;;
}

.field--name-field-ept-slideshow-link a{
  background: #7f95b5;
  font-family: Raleway Variable;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.25em;
  font-size: 17px;
  padding: 15px 50px;
  border-radius: 25px;
  color: #fff !important;
}

.field--name-field-ept-slideshow-text {
  margin-bottom: 3%;
}

.field--name-field-ept-slideshow-text span {
   font-family: "Catchy";
   font-size: 26px;
}


/* -----------------------------
   HEROS
----------------------------- */


.paragraph--type--ept-hero .ept-button2-wrapper.ept-align-center a {
  border: 2px solid #fff;
  color: #fff;
  text-decoration: none;
  border-radius: 30px !important;
  padding: 15px 50px !important;
  font-size: 16px;
}

.paragraph--type--ept-hero .ept-basic-button-wrapper a {
  background: #7f95b5 !important;
  text-decoration: none;
  border-radius: 30px !important;
  padding: 15px 50px !important;
  font-size: 16px;
}

.ept-hero-container .buttons {
  display: flex !important;
  padding-top: 25px;
  padding-bottom: 36px;
}

.paragraph--type--ept-hero.two_columns .text-formatted {
  max-width: 660px;
  width: 100%;
}

.paragraph--type--ept-hero.two_columns .hero-col-2 {
  display: flex;
  align-items: flex-end;
}

.paragraph--type--ept-hero.two_columns .hero-col-2 .buttons {
  max-width: 660px;
  width: 100%;
}

.paragraph--type--ept-hero.two_columns .hero-col-2 .buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.hero-col-1, .hero-col-2   {
  width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-col-1 h2, .hero-col-2 h2 {
  font-family: "Zarid";
  font-size: 48pt;
  line-height: 100%;
}


/* -----------------------------
   TILES
----------------------------- */

.ept-paragraph-tiles .ept-tiles-wrapper .inner,
.ept-paragraph-tiles .ept-tiles-wrapper .inner:hover {
  transform: none;
  box-shadow: none;
}

.field--name-field-ept-tiles-link a {
  border: 1px solid #fff;
  text-decoration: none;
  border-radius: 30px;
  padding: 10px 50px;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  font-family: "Coco";
  color: #fff;
}

.field--name-field-ept-tiles-link a:hover{
  background: #fff;
  color: #7f95b5;
}

.field--name-field-ept-tiles-link  {
  text-align: center;
}

#immobilienangebote h3, #immobilienangebote h3 span {
  font-size: 20pt !important;
  font-family: Coco;
  padding: 5px 0px 15px 0px;
}

#immobilienangebote .ept-tiles-wrapper {
  margin-top: 25px;
}

#immobilienangebote.ept-paragraph-tiles.ept-tiles-three_columns .ept-tiles-wrapper .inner {
  border: none;
  padding: 0px;
}

#immobilienangebote .field--name-field-ept-tiles-text {
  border: 1px solid;
  height: 200px;
  display: flex;
  padding: 20px;
  margin-top: 15px;
  line-height: 120%;
  flex-direction: column;
}

#immobilienangebote .field--name-field-ept-tiles-text span{
  font-size: 12pt;
  font-family: Coco;
}

#immobilienangebote .ept-paragraph-tiles.ept-tiles-three_columns .ept-tiles-wrapper {
  grid-gap: 15px;
}

#infos .ept-paragraph-tiles.ept-tiles-three_columns .ept-tiles-wrapper {
  grid-gap: 75px;
}

#infos .paragraph--type--ept-tiles-item {
  border: 1px solid;
}

#infos .ept-paragraph-tiles .ept-tiles-wrapper .inner {
  border: 1px solid #eee;
  display: block;
  transition: none;
  text-decoration: none;
  height: 100%;
}

#infos .ept-paragraph-tiles.ept-tiles-three_columns .ept-tiles-wrapper {
  grid-gap: 70px;
}

#infos .ept-paragraph-tiles .ept-tiles-wrapper .inner {
  padding: 15px 25px;
}

#infos p {
  line-height: 120%;
}

#infos h2 .svg-inline--fa {
  font-size: 36px;
  margin-right: 15px;
}

#infos a {
  color: #fff !important;
  text-decoration: none;
}

#infos .ept-tiles-wrapper {
  grid-gap: 70px;
}



/* -----------------------------
   GALERIE
----------------------------- */

.field--name-field-ept-image-gallery {
  display: grid;
  gap: 12px; /* Abstand zwischen den Elementen */
  max-width: 600px;
  margin: 0 auto;
  grid-template-columns: 1fr;
}

/* Ab Tablet/Desktop das spezielle Layout */
@media (min-width: 768px) {
  .field--name-field-ept-image-gallery {
    grid-template-columns: 1fr 1fr; /* Zwei gleich breite Spalten */
  }

  /* Erstes Bild: Zentriert in der ersten Reihe (spannt über beide Spalten) */
  .field--name-field-ept-image-gallery > .field__item:nth-child(1) {
    grid-column: 1 / span 2;
    justify-self: center; /* Zentriert das Element, falls es nicht 100% breit sein soll */
    width: 66%; /* Optional: Macht das obere Bild etwas schmaler/eleganter wie im Screenshot */
  }

  /* Zweites und drittes Bild: Rutschen automatisch nebeneinander (Spalte 1 und 2) */
  .field--name-field-ept-image-gallery > .field__item:nth-child(2),
  .field--name-field-ept-image-gallery > .field__item:nth-child(3) {
    grid-column: auto;
  }

  /* Viertes Bild: Wieder über beide Spalten in der nächsten Reihe */
  .field--name-field-ept-image-gallery > .field__item:nth-child(4) {
    grid-column: 1 / span 2;
    justify-self: center;
    width: 80%; /* Optional: Grundriss etwas breiter als das obere Bild, aber nicht voll */
  }
}

.field--name-field-ept-image-gallery .thumbnail-wrapper {
  display: block !important;
  width: 100%;
}

.field--name-field-ept-image-gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.thumbnail-title {
  font-style: italic;
  padding: 0 10px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  font-size: 10px !important;
}


/* -----------------------------
   OBJEKTE
----------------------------- */

#auf-einen-blick .ept-paragraph-image-gallery {
  padding-right: 50px;
}

.views-slider-hero-content {
  background: none;
}

.views-hero-slider {
  height: 100%;

}

.swiper-pagination-bullet {
  border-radius: 0;
  width:25px;
  height: 5px;
}

.views-slider-hero-description-container {
  max-width: 100%;
}

.views-slider-hero-content {
  padding-left: 1px;
  padding-right: 1px;
}

.carousel-indicators {
  bottom: -45px;
}


.objektinfo {
  border: 1px solid;
  padding: 20px 20px 28px 20px;
  margin-top: 15px;
  position: relative;
}

.objekttitel a {
  text-decoration: none;
}

.objekttitel a:before {
  content: "";
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  top: 0px;
  height: 100%;
  z-index: 10;
}

.objekttitel {
  line-height: 130%;
  font-size: 20px;
  font-weight: 600;
  height: 100px;
}

.objektbeschreibung {
  font-size: 12pt;
  line-height: 16pt;
  font-weight: 400;
  height: 85px;
}

.objektlage {
  font-size: 12pt;
  font-weight: 450;
  padding-left: 25px;
  position: relative;
}

.objektlage:before {
  content: "\f3c5";
  font-family:"Font Awesome 7 Free";
  font-weight: 900;
  color: #fff;
  font-size: 14pt;
  left: 0px;
  top: -1px;
  position: absolute;
}

/* -----------------------------
   ÜBER MICH
----------------------------- */

.uebermich #page {
  position: relative;
  min-height: 100vh;
}

.uebermich #page:after {
  content: "";
  position: absolute;
  top: 0%; /* Abstand vom oberen Rand */
  left: -5%;
  right: -10%;
  bottom: 0; /* füllt bis unten */
  background: url(/themes/srimmo/img/uebermich.webp) no-repeat center top;
  background-size: cover;
  z-index: 1; /* hinter den Content */
  pointer-events: none;
}

.scrolled.uebermich #page:after {
  top: -152px !important;
}

.ept-hero-container.partnerin .hero-col-1,
.ept-hero-container.uebermich .hero-col-1 {
  width: 40%;
}

.ept-hero-container.partnerin .field--name-field-ept-hero-title-prefix h3{
  font-family: "Catchy" !important;
  text-transform: none;
  font-size: 28pt;
}

.ept-hero-container.partner .hero-col-2,
.ept-hero-container.uebermich .hero-col-2 {
  width: 60%;
  align-items: flex-start;
}

/* -----------------------------
   KOOPERATIONEN
----------------------------- */

#partner h1 {
  margin-bottom: 50px;
}

#partner .ept-paragraph-tiles .ept-tiles-wrapper .inner {
  padding: 0px auto;
  border: 0px;
}

.beratung.btn {
  background: #333;
  border: none;
  border-radius: 40px;
  padding: 15px 80px;
  font-size: 16pt;
  font-weight: 300;
}


/* -----------------------------
   IMMOBILIEN / Views Exposed Filter
----------------------------- */



.views-exposed-form .flex-wrap {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 25px;
  margin-top: 25px;
  margin-bottom: 80px;
}

.views-exposed-form .fieldset-wrapper {
  display: flex;
}


.views-exposed-form .mb-3 {
  margin-bottom: -10px !important;
}

.views-exposed-form .form-select,
.views-exposed-form .form-control {
  border-radius: 0px;
  background: rgba(255,255,255, 0.3);
  border: 1px solid #fff;
}

.views-exposed-form label, .views-exposed-form .fieldset-legend{
  font-size: 10pt;
  font-family: "Raleway Variable";
  font-weight: 500;
  display: flex;
  height: 25px;
  justify-content: left;
}

.views-exposed-form legend {
  margin: 0px !important;
  height: 25px;
  display: block;
  justify-content: center;
}

.form-item-aggregated-field-flaeche-min label,
.form-item-aggregated-field-flaeche-max label {
  display: none;
}

.form-item-aggregated-field-preis-min label,
.form-item-aggregated-field-preis-max label {
  display: none;
}

.form-item-aggregated-field-flaeche-min,
.form-item-aggregated-field-preis-min {
  margin-right: 5px;
}
.form-item-aggregated-field-flaeche-max,
.form-item-aggregated-field-preis-max {
  margin-left: 5px;
}

.views-exposed-form .radio {
  width: 100%;
  max-width: 100%;
}

.views-exposed-form .fieldset-wrapper .form-radios {
  display: flex;
  width: 100%;
  padding-left: 1px;
}
.views-exposed-form .fieldset-wrapper .form-radios .form-check {
  flex: 1 1 0;
  margin: 0;
  display: flex;   
  padding: 0px;

}

.views-exposed-form .fieldset-wrapper .form-radios .form-check label {
  flex: 1;                 
  display: flex;
  align-items: center;
  justify-content: center;
}

.views-exposed-form .fieldset-wrapper .form-radios .form-check input {
  display: none;
}

.views-exposed-form .fieldset-wrapper .form-radios .form-check label {
  display: flex;   /* wichtig für volle Breite */
  width: 100%;
  text-align: center;
  padding: 15px 10px;
  height: 38px;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  border: 1px solid #fff;
  margin-left: -1px;
  line-height: 110%;
}

.views-exposed-form .fieldset-wrapper .form-radios .form-check input:checked + label {
  background: #fff;
  color: #333;
}

.views-exposed-form .button {
  border: 2px solid #fff;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  padding: 14px 70px;
  font-size: 16px;
  background: transparent;
}

.views-exposed-form .button.form-submit:nth-child(1) {
  background: #333;
}

.views-exposed-form .button.form-submit:hover {
  background: #fff;
  color: #333;
}

.views-exposed-form .form-actions {
  grid-column: 1 / -1; 
  display: flex;        
  justify-content: flex-start; 
  margin-top: 25px;
  gap: 25px;
  justify-content: center;
}


.view-empty {
  color: #333;
  font-weight: 300;
  padding: 5% 25%;
  text-align: center;
}


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

.sara {
  background: url(../img/footer.webp);
  background-size: 100% 150px;
  background-repeat: no-repeat;
  background-position: bottom;
  margin-top: -200px;
  margin-bottom: -200px;
  position: relative;
}

.sara img {
  margin-left: -100px;
  position: relative;
}

.sara:after {
  content: "";
  background: #7f95b5;
  bottom: 0px;
  top: 0px;
  left: 0px;
  right: 0px;
  position: absolute;
  z-index: -1;
}

.sara, .socials {
  position: relative;
  pointer-events: none;
}

.sara .field--name-field-ept-text {
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  text-align: center;
  color: #fff;
}

.sara .field--name-field-ept-text span, .sara .field--name-field-ept-text a {
  font-size: 12pt;
  color: #fff;
  text-decoration: none;
}

.sara .field--name-field-ept-text p {
  line-height: 100%;
}

.paragraph a {
  z-index: 25;
  pointer-events: auto;
}

.kontakt .ept-paragraph--type--ept-tiles .text-formatted {
  border: 1px solid;
  padding: 15px 20px 10px 20px;
  margin-top: 44px;
  margin-bottom: 25px;
}

.kontakt .ept-paragraph--type--ept-tiles .text-formatted h3 {
  margin-bottom: 20px;
  margin-top: 5px;
}


/* -----------------------------
   SOCIAL MEDIA / LINKS
----------------------------- */

.kontakt .ept-paragraph-tiles .ept-tiles-wrapper .inner,
.kontakt .paragraph--type--ept-tiles-item{
  border: none !important;
  padding: 3px 6px;
}

.kontakt .field--name-field-ept-tiles {
  margin-left: 32%;
}

.kontakt .field--name-field-ept-tiles img {
  height: 55px;
  width: 150px;
  object-fit: contain;
  object-position: left;
}

.kontakt .field--name-field-ept-tiles .field__item {
  text-align: left;
}

.kontakt .ept-paragraph-tiles.ept-tiles-three_columns .ept-tiles-wrapper {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(3, 1fr);
}

.kontakt .ept-paragraph-tiles.ept-tiles-three_columns .ept-tiles-wrapper 
> .field__item:nth-last-child(2):nth-child(3n+1) {
  grid-column: span 2;
}

.kontakt .ept-paragraph-tiles.ept-tiles-three_columns .ept-tiles-wrapper 
> .field__item:nth-last-child(1)  {
  object-fit: cover;
  width: 140%;
  margin-left: -20px;
}

.kontakt .ept-paragraph-tiles .ept-tiles-wrapper .inner {
  border: 0;
}

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

.paragraph--type--ept-webform .text-formatted {
  padding-left: 0px !important;
}

fieldset.webform-composite-hidden-title {
  margin-top: 0px;
}

 .webform-flexbox {
    display: flex;
    margin: -0.5em -0.5em;
  }

.webform-submission-form input, .webform-submission-form .form-control, .webform-submission-form select{
  background: 0px;
  border: 1px solid #fff;
  border-radius: 6px;
  color: #fff;
  
}

.webform-submission-form label {
  font-size: 9pt;
  color: #fff;
}

.webform-submission-form .webform-type-textarea {
  margin-top: -1em;
}

.webform-submission-form .webform-type-select {
  max-width: 150px;
  font-size: 9pt;
  color: #fff;
}

.webform-submission-form {
  border: 1px solid #fff;
  padding: 20px 25px 15px 25px;
}

.webform-submission-form .form-required::after {
  content: "*";
  background-image: none;
  font-size: 10pt;
  font-weight: normal;
}

.webform-submission-form .form-submit {
  background: none;
  border-color: #fff;
  border-radius: 30px;
  font-size: 9pt;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 25px
}

.webform-submission-form .form-submit:before {
  content: "";
  width: 20px;
  height: 20px;
  mask-image: url(../img/airplane.png);
  mask-size: cover;
  background-color: #fff;
  display: inline-block;
  margin-right: 10px;
}

.webform-actions {
  justify-content: flex-end;
  display: flex;
  margin-bottom: 0rem !important;
  margin-top: -3px;
}

.webform-submission-form .form-type-webform-terms-of-service a {
  color: #fff;
  font-family: "Raleway Variable" !important;
  font-size: 0px;
}
.webform-submission-form .form-type-webform-terms-of-service a:before {
  font-size: 12px;
  content: "Datenschutzerklärung";
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: underline;
}

.path-webform #main-wrapper {
  background: #7f95b5;
}

.webform-confirmation__message {
  margin-top: 50px;
  text-align: center;
  font-size: 36px;
  line-height: 42px;;
  max-width: 60%;
  margin: auto;
  font-family: "Catchy";
  padding-top: 20%;
  padding-bottom:5%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

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

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

#block-footer {
  padding: 10px 25px;
}

#block-footer span,
#block-footer p,
#block-footer a{
  font-size: 12pt;
  line-height: 150% !important; 
  text-decoration: none;
  color: #fff;
}

.dsgvo #block-footer span{
  color: #333;
}

.paragraph-id-50 [data-aos="fade-up"] {
  transform: none;
}

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

.site-footer .content {
  color: initial;
}

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

.site-footer__bottom {
  margin: 0px;
}

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

.site-footer__bottom .block {
  margin: 0;
}

#block-srimmo-footer span {
  font-size: 14pt;
  line-height: 120%;
}

#kontakt-footer {
  position: absolute;
  bottom: 0px;
  z-index: 999999;
  left: 0px;
  right: 0px;
  margin-bottom: 0px !important;
}


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

@media (max-width: 1400px) {
  .container {
    --bs-gutter-x: 0px;
  }
  

  .ept-edge-to-edge.ept-paragraph--type--ept-block .ept-container,
  .ept-edge-to-edge.ept-paragraph--type--ept-tiles .ept-container {
    padding: 0px 36px;
  }
  
  .text-formatted {
    padding: 0px 36px;
  }
  
  .views-view-responsive-grid__item .objekttitel {
      font-size: 18px;
  }
  
#infos .ept-tiles-wrapper {
  grid-gap: 5%;
}
  
  #kontakt {
    padding-left: 36px;
    padding-right: 18px;
  }
  
  .sara img {
    margin-left: -75px;
  }
  
}

@media (max-width: 1300px) {
  .navbar {
    max-width: 100% !important;
    padding-left: 36px;
    padding-right: 36px;
  }
  
 
  
}

@media (max-width: 1180px) {
  .paragraph--type--ept-hero.two_columns .text-formatted {
    max-width: 100%;
  }
  
  #traumimmobilien .hero-col-1 {
    margin-top: -50px;
  }
  
  #infos .ept-tiles-wrapper {
    gap: 25px;
  }
  
  #infos .text-formatted {
    padding: 0px 15px;
  } 
  
  #partner.columns-67-33 .field--name-field-ept-tiles-image {
    margin-right: 36px;
  }
  
  .views-view-responsive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  
}


@media (max-width: 1080px) {
  
  .ept-hero-container.partnerin .hero-col-1 {
    width: 60%;
  }
  
    .ept-hero-container.uebermich .hero-col-1 {
    width: 60%;
    justify-content: flex-start;
  }
  
  #partner.columns-67-33 .field--name-field-ept-columns {
    grid-template-columns: 1fr 1fr;
  }
  
 #kontakt.ept-paragraph-columns.column-2.columns-33-67 .field--name-field-ept-columns {
  grid-template-columns: 1fr 1fr;
}
}


@media (max-width: 990px) {

  html {
    overflow-x: hidden;
  }
  
#page {
  overflow: hidden;
}
  
  .scrolled #header{
    position: fixed;
    top: 0px;
    z-index: 9999;
  }


.navbar-toggler:focus {
  outline: 0;
  box-shadow: none;
}

.navbar-toggler-icon {
  background: none !important;
  position: relative;
}
.navbar-toggler-icon span {
  display: block;
  width: 30px;
  height: 3px !important;
  margin: 6px 0; /* Mittlere Linie zentriert */
  background-color: #fff !important;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar-toggler:not(.collapsed) {
  padding-top: 15px;
}

.navbar {
  padding-top: 0px;
}

/* X-Form, wenn geöffnet */
.navbar-toggler:not(.collapsed) .navbar-toggler-icon span:nth-child(1) {
  transform: rotate(45deg) translate(0, 0);
  left: 0;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon span:nth-child(3) {
  transform: rotate(-45deg) translate(0, 0);
  position: absolute;
  top: 0%;
  left: 0;
}

.navbar {
  padding: 0px;
}
.scrolled #header .navbar {
  padding-bottom: 0px;
  border-bottom: 2px solid #fff;
}

.navbar-brand {
  margin-left: 25px;
}

.navbar-brand img {
  max-width: 60px !important;
  margin-top: -3px;
  margin-bottom: 6px
}

#CollapsingNavbar {
  background: #7f95b5;
  width: 100%;
  max-width: 100%;
}

.navbar-expand-lg .navbar-nav .nav-link {
  padding-top: 0px;
}

.navbar-expand-lg .navbar-nav .nav-item:first-of-type{
  margin-top: 25px;
}

.navbar-expand-lg .navbar-nav .nav-item:last-of-type{
  margin-bottom: 25px;
}


  .view-objekte .views-view-responsive-grid  {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 25px;
}
  
#immobilienangebote .field--name-field-ept-tiles-text {
  margin-bottom: 25px;
}


#auf-einen-blick .ept-paragraph-image-gallery {
  padding-right: 0px;
}
  
 #infos .ept-tiles-wrapper {
    grid-template-columns: 1fr 1fr;
  }
  
  #infos .ept-tiles-wrapper > *:nth-child(3) {
  grid-column: 1 / -1;
  text-align: center;
}
  
  #infos .field--name-field-ept-tiles-link {
    margin-top: -25px;
    margin-bottom: 25px;
  }

#infos .ept-tiles-wrapper {
  grid-gap: 25px;
}
  
   #kontakt.ept-paragraph-columns.column-2.columns-33-67 .field--name-field-ept-columns {
  grid-template-columns: 1fr;
}
  
    #kontakt {
      padding-left: 36px;
      padding-right: 36px;
  }
  
  .kontakt .field--name-field-ept-tiles {
    margin-left: 0px;
    margin-right: auto;
    max-width: 250px;
  }
  
  .paragraph--type--ept-webform {
    margin-left: -15pt;
    margin-bottom: 200px !important;
  }


.ept-hero-container.partnerin {
    flex-direction: column;
    display: flex;
    background-size: 100% 100%;
    background-image: none;
  }
  
  .ept-hero-container.partnerin .hero-col-2,
  .ept-hero-container.uebermich .hero-col-2{
    width: 100%;
  }
  
  .ept-hero-container.partnerin .hero-col-2 {
    order: 1;
    padding-top: 50px;
  }
  
    .ept-hero-container.partnerin .hero-col-1 {
    order: 2;
  }
  
    .ept-hero-container.uebermich {
    flex-direction: column;
    display: flex;
    background: #7f95b5;
    margin-top: -75px;
    padding-top: 50px;
  }
  
  
  .ept-hero-container.uebermich .hero-col-1,
  .ept-hero-container.partnerin .hero-col-1,
  .ept-hero-container.uebermich .hero-col-{
    width: 100%;
  }
 
 
  .paragraph--type--ept-hero.two_columns .text-formatted {
    max-width: 100%;
  }
  
  .uebermich #page:after {
  background: none;
}

    .uebermich #block-footer {
    padding-top: 25px;
  }
  
  .objekte-carousel {
    margin-left: -12px;
    margin-right: -12px;
  }

  #immobilienangebote .field--name-field-ept-tiles-text {
    min-height: 285px;
  }

}


@media (max-width: 800px) {
  .views-view-responsive-grid .objektbeschreibung{
   height: 110px
  }
}

@media (max-width: 768px) {
  
    #partner.columns-67-33 .field--name-field-ept-tiles-image {
    margin-right: 36px;
    margin-left: 36px;
  }
  
  #partner.columns-67-33 .field--name-field-ept-tiles-image img {
    max-width: 360px;
  }

    .btn.beratung {
    max-width: 300px;
}
  
  .views-view-responsive-grid {
    grid-template-columns: 1fr;
  }
  
  .views-view-responsive-grid .objektbeschreibung{
   height: auto;
    margin-bottom: 15px;
  }
  
  .views-view-responsive-grid .objekttitel {
    height: auto;
    margin-bottom: 15px;
  }
  
  .views-view-responsive-grid .objektlage {
    margin-bottom: -5px;
  }
  
  .views-exposed-form .flex-wrap {
    grid-template-columns: 1fr 1fr;
  }
  
   .webform-flexbox {
    display: flex;
    margin: -0.5em 0px;
    gap: 15px;
  }
  
  .webform-flex--container {
    gap: 25px !important;
    display: flex !important;
  }
  
  .views-hero-slider {
    margin: 0px;
  }
  
  .sara .field--name-field-ept-text span {
    position: relative;
    z-index: 50;
  }
  
  .sara .field--name-field-ept-text p{
    line-height: 18px;
  }
  
  .sara img {
    margin-left: 0px;
  }
  
  .sara {
      margin-top: 0px;
    background-size: cover !important;
  }

  .paragraph--type--ept-webform {
    margin-bottom: 0px !important;
  }
  
  .paragraph--type--ept-webform {
    margin-right: -18px;
  }
  
  .objekte-carousel  {
  margin-left: -12px;
  margin-right: -12px;
}
  
  .objekte-carousel .col-md-4 {
    margin-bottom: 25px;
  }
  
}

@media (max-width: 640px) {
  
  h1 {
   font-size: 45px;
   padding-right: 25px;
  }

   .hero-col-2 h2 {
    font-size:40pt;
    hyphens: auto;
  }
  
  
  h2.zarid span {
  font-size: 36pt;
  line-height: 40pt;
}
  
  h2.zarid.graublau {
    font-size: 40pt;
    line-height: 42pt;
  }
  
  .page-node-2 h1 {
    text-align: center;
    margin-top: 25px;
  }
  
  .field--name-field-ept-slideshow-title p {
    font-size:12pt;
  }
  
  .slide h1 {
  color: #fff;
  font-size: 32pt;
  padding-right: 0px;
}
  
  #objekte h2, #immobilienangebote h2 {
    font-size: 40pt;
    line-height: 42pt;
  }
  
   #infos .ept-tiles-wrapper {
    grid-template-columns: 1fr;
  }
  
    #infos .ept-tiles-wrapper > *:nth-child(3) {
  grid-column: 1 / -1;
  text-align: left;
}
  
  .kontakt .field--name-field-ept-tiles {
    margin-bottom: 25px;
    margin-top: 50px;
  }
  
  .paragraph--type--ept-hero.two_columns .hero-col-2 .buttons {
    max-width: 100%;
  }
  
  .ept-hero-container .buttons {
    flex-direction: column;
  }
  
    .views-exposed-form .flex-wrap {
    grid-template-columns: 1fr;
  }
  
  .views-exposed-form label{
    margin-top: 10px;
  }
  
  .views-exposed-form .mb-3 {
    margin-bottom: -5px !important;
  }
  
  .views-exposed-form .form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  
}

@media (max-width: 480px) {
#objekte h2, #immobilienangebote h2 {
  font-size: 32px;
}
  
  #immobilienangebote h3, #immobilienangebote h3 span {
    font-size: 18pt !important;
  }
  
    h2.zarid.graublau {
      font-size: 30pt;
      line-height: 32pt;
    }
  
  .objektbeschreibung {
    height: auto;
  }
  
  .objekttitel {
    height: auto;
    margin-bottom: 20px;
  }
  
  .ept-hero-container.uebermich {
    padding-top: 0px;
  }
  
  .ept-hero-container.uebermich img {
    padding-bottom: 50px;
  }
  
   #immobilienangebote .field--name-field-ept-tiles-text {
      min-height: auto;
    }
  
  
}
  
  @media (max-width: 390px) {
    
    .objektbeschreibung {
      font-size: 11pt;
      line-height: 13pt;
    }
    
    .objekttitel {
      font-size: 12pt;
    }
  }


@media (min-height: 900px) {
.sara {
  background: url(../img/footer.webp);
  background-size: 100% 180px;
  background-repeat: no-repeat;
  background-position: bottom;
  margin-top: 0px;
  margin-bottom: 0px;
  position: absolute;
  left: 0px;
  right: 0px;
}
  
  .kontakt #block-footer {
    position: fixed;
    left: 0px;
    right: 0px;
    bottom: 0px;
  }
}