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

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900; 
  src: url('../fonts/montserrat-variable_wght.ttf') format('truetype');
}

@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/montserrat-italic-variable_wght.ttf') format('truetype');
}

@font-face {
  font-family: 'Cormorant'; 
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('../fonts/cormorant-variable_wght.ttf') format('truetype');
}


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

body, html {
  font-family: "Montserrat";
  font-weight: 300;
}

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

.row {
    --bs-gutter-x: 0px !important;
}

.container {
 max-width: 1400px;
  width: 100%;
}

body {
  overflow-x: hidden;
}

body:not(.node--type-page) main {
  margin-top: 50px;
}


body.gin--vertical-toolbar .fixed-top {
  left: 80px;
}

body.gin--vertical-toolbar[data-toolbar-menu="open"] .fixed-top {
  left: 270px;
}


body.gin--vertical-toolbar[data-toolbar-menu="open"] #main-wrapper {
  margin-left: 270px;;
  transition: margin-left 0.2s ease; /* Weicher Übergang beim Auf-/Zuklappen */
}

.gin--vertical-toolbar .fixed-top,
.gin--vertical-toolbar .fixed-top:before{
  top: 60px !important;
}

.field--type-image img, .field--name-field-user-picture img {
  margin: 0px;
}

.node .field--type-image {
  margin: 0px;
}

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

.node h1 {
  font-family: "Cormorant", Georgia, serif;
  color: #092A4E;
  font-size: 48px;
  line-height: .88;
  margin: 0 0 20px;
  font-weight: 600;
  letter-spacing: .015em;
}

.node h2 {
  color: #092a4e;
  font-size: 17px;
  text-transform: uppercase;
  font-weight: 620;
  letter-spacing: 0.03em;
}

.node h3 {
  font-family: 'Cormorant'; 
  color: #092a4e;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}

/* -----------------------------
   FORMATIERUNGEN
----------------------------- */

.node p {
  font-size: 16px;
  font-weight: 400;
  color: #092a4e;
  margin-bottom: 24px;
}

.node strong {
  font-weight: 700;
}

hr {
  width: 58px;
  height: 3px;
  background: #b8913e;
  margin: 0 0 20px;
  opacity: 1;
  border: 0px;
}



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

.fixed-top:before {
  content: "";
  left: 0px;
  position: fixed;
  right: 0px;
  top: 0px;
  height: 80px;
  background: rgba(255,255,255,0.98);
  z-index: -1;
}

#header {
  height: 80px;
}

#navbar-main {
  max-width: 1400px;
  margin: auto;
  padding: 12px 36px;
  position: absolute;
  left: 0px;
  right: 0px;
}

.nav-item {
  padding: 6px 6px;
}
.nav-item a  {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: #092A4E !important;
  position: relative;
}


.nav-item a.active:after,
.nav-item a:hover:after{
  content :"";
  height: 2px;
  background: #9C762E;
  position: absolute;
  bottom: 0px;
  left: 6px;
  right: 6px;
  margin: auto;
}


.navbar-brand img {
  max-height:75px;
  width: auto;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 99;
}

.navbar-brand img {
  flex: 0 0 auto;
}

.navbar-brand .site-title {
  max-width: 120px;
  font-size: 12px;
  font-weight: 500;
  line-height: 15px;
  white-space: wrap;
  margin-top: -24px;
}

.navbar-expand-lg .navbar-collapse {
  padding-bottom: 28px;
}

.node__content {
  margin-top: 0px;
}


.private-message-page-link {
  text-decoration: none;
  font-weight: 600;
}

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

footer {
  background: #092a4e !important;
}

footer .container {
  max-width: 1400px;
  padding: 0px 36px;
}

.site-footer__bottom {
  margin: 0px;
}

.site-footer {
  padding: 12px 0px 0px 0px;
}

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

.site-footer__top h2 {
  border: 0px;
  font-size: 15px;
  text-transform: none;
  color: #eee;
}

.site-footer__top p {
  margin: 6px 0px;
}

.site-footer p {
  color: #eee;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.site-footer img {
  max-height: 40px;
  width: auto;
  float: none;
}

#block-dsgvo-footer p {
  font-size: 11px;
}

#block-social-footer p {
  font-size: 24px;
  font-family: 'Cormorant'; 
  line-height: 25px;
  color: #B8913E;
  font-weight: 600;
  margin-top: 18px
  
}


/* -----------------------------
   IMAGE
----------------------------- */

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


/* -----------------------------
   HERO
----------------------------- */

#hero {
  position:relative;

}
#hero::before {
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(
    ellipse at 15% 48%,
    rgba(255,255,255,.98) 0%,
    rgba(255,255,255,.88) 26%,
    rgba(255,255,255,.58) 45%,
    rgba(255,255,255,.15) 60%,
    rgba(255,255,255,0) 74%
  );
  }


#hero .field--name-field-ept-image-caption {
  position: absolute;
  z-index: 10;
  top: 0px;
  left: 0px;
  right: 0px;
  height: 100%;
  max-width: 1400px;
  margin: auto;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding-left: 36px;
  padding-right: 36px;
  overflow: hidden;
}

#hero .text-formatted p {
  font-family:  Georgia, serif;
  font-weight: 500;
  font-size: 19px;
  color: #092A4E
}

#hero .text-formatted a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 4px;
  border: 1px solid #B8913E;
  font-size: 13px;
  font-weight: 700;
  transition: .2s ease;
  margin: 12px 12px 0px 0px;
  text-decoration: none;
}
#hero .text-formatted a:nth-child(odd) {
  background: #B8913E;
  color: #fff;
}

#hero .text-formatted a:nth-child(even) {
  background: rgba(255,255,255,0.9);
  border: 1px solid #092A4E;
  color: #092A4E
}

#hero .text-formatted a:nth-child(odd):hover {
  background: #9C762E;
}

#hero .text-formatted a:nth-child(even):hover {
  background: #092A4E;
  color: #fff;
}

#hero h1 {
  font-size: 80px;
  letter-spacing: -.025em;
}

#hero h2 {
  color: #3b3b3b;
  font-size: 36px;
  font-weight: 300;
}

#hero h3 {
  color: #9C762E;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 16px;
}


#hero p {
  font-weight: 200;
  color: #3b3b3b;
}

.ept-paragraph-columns .field--name-field-ept-columns {
  column-gap: 36px;
}


/* -----------------------------
   VIEWS
----------------------------- */

.ogs-home-slider__head strong {
  color: #092a4e;
  font-size: 17px;
  text-transform: uppercase;
  font-weight: 620 !important;
  letter-spacing: 0.03em;
}

/* -----------------------------
   FRONTPAGE
----------------------------- */

.ept-paragraph-tiles .ept-tiles-wrapper .inner {
  padding: 0px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e1e5e8 !important;
  position: relative;
}

.ept-paragraph-tiles .ept-tiles-wrapper p,
.ept-paragraph-tiles .ept-tiles-wrapper h3{
  margin: 0px;
}

.ept-paragraph-tiles .ept-tiles-wrapper .text-formatted {
  padding: 18px;
  position: relative;
  clear: both;
}

.ept-paragraph-tiles .ept-tiles-wrapper img {
  aspect-ratio: 9 / 4;
  object-fit: cover;
}

.ept-paragraph-tiles .ept-tiles-wrapper .ept-tile .text-formatted:after {
  content: "›";
  position: absolute;
  right: 18px;
  top: 0px;
  bottom: 0px;
  display: flex;
  align-items: center;
  color: #B8913E;
  font-size: 3.5rem;
  pointer-events: none;
}

.ept-paragraph--type--ept-tiles .field--name-field-ept-tiles-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 36px 12px 22px;
  border-radius: 4px;
  border: 1px solid #B8913E;
  background: #B8913E;
  font-size: 13px;
  font-weight: 700;
  transition: .2s ease;
  margin: 0px 12px 18px 0px;
  text-decoration: none;
  margin-left: 18px;
  color: #fff;
  position: relative;
}

.ept-paragraph--type--ept-tiles .field--name-field-ept-tiles-link a:after {
  content: "›";
  position: absolute;
  right: 18px;
  top: 0px;
  bottom: 0px;
  display: flex;
  align-items: center;
  color: #fff;
  font-weight: normal;
  font-size: 1.7rem;
  margin-top: -3px;
}

#service p {
  font-size: 17px;
}

#mitglied p {
  padding-right: 55%;
}

#mitglied h3 {
  font-size: 30px;
  margin-bottom: 12px;
 margin-top: 24px;
}

#mitglied p {
  font-size: 16px;
}

#mitglied.ept-paragraph-tiles img {
  position: absolute;
  top: 0px;
  bottom: 0px;
}




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


@media (max-width: 990px) {
  
  #navbar-main {
  position: fixed;
  background: #fff;
}

.navbar-brand img {
  height: 50px;
}

.navbar-brand .site-title {
  margin-top: -3px;
}
}

@media (max-width: 640px) {
  
  h1 {
    font-size: 48px !important;
  }

#hero img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center right;
}
  
}