@import url('https://fonts.googleapis.com/css2?family=Notable&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&display=swap');

/* -----------------------------
   BASICS / RESETS
----------------------------- */

body, html {
  font-family: 'Merriweather';
  font-weight: 300;
  background: #ffecb9;
}

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

.row {
  --bs-gutter-x: 0;
}

body {
  overflow-x: hidden;
}

.navbar-brand   {
  font-family: "Notable", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 40px;
  letter-spacing: 0.05em;
  color: #8b3b00 !important;
}

.navbar-brand:after {
  content: ".at";
  margin-left: -20px;
  font-size: 18px;
  color: #8b3b00;
}


#page, #main-wrapper {
  background: rgba(255, 236, 185,1) !important;
}

body.toolbar-horizontal #main {
  padding-top: 100px !important;
}


/* -----------------------------
   TYOPGRAPHIE
----------------------------- */

.node h1 {
  color: #3b3b3b;
  font-size: 45px;
  font-weight: 300;
}

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

.node p {
  font-size: 16px;
  font-weight: 200;
  color: #3b3b3b;
  font-family: Merriweather;
}

.node strong {
  font-weight: 500;
}

.node a:hover {
  color: #e79736;
}

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

#main {
  padding-top: 50px;
}

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

#header {
  background: #8b3b00;
}

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

#navbar-main .nav-item:nth-last-child(1) a:before {
	font-family: FontAwesome;
	content: "\f015";
	text-indent: 0 !important;
	position: absolute;
	left: 10px;
  bottom: 5px;
	font-size: 23px;
  color: #8b3b00;
}

#navbar-main .nav-item:nth-last-child(1) {
  position: relative;
  font-size: 0px !important;
}

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

#navbar-main li {
  font-size: 18px;
}



#navbar-main a {
  color: #8b3b00;
  border-bottom: 3px solid transparent;
}

#navbar-main a.active {
  color: #8b3b00;
  border-bottom: 3px solid #8b3b00;
  font-weight: bold;
}

#navbar-main a:hover {
  color: #8b3b00;
}
#navbar-main .nav-link--de-node-4:hover,
#navbar-main .nav-link--de-node-4.is-active {
  color: #b80357 !important;
}

#navbar-main #CollapsingNavbar {
  justify-content:  flex-end;
  margin-top: 24px
}

#navbar-main.affix:before {
  content: "";
  position: fixed;
  left: 0px;
  right: 0px;
  background: #8b3b00;
  height: 90px;
  z-index: -1;
  top: 0px;
}

#navbar-main.affix .navbar-brand {
  color: #ffecb9 !important;
}

#navbar-main.affix a {
    color: #ffecb9 !important;
}

#navbar-main.affix a.active {
  border-bottom: 3px solid #ffecb9
}

/* -----------------------------
   DROPDOWN
----------------------------- */


.dropdown-menu {
  background: none;
  border: none;
  box-shadow: none;
  display: flex !important;
  flex-direction: row !important;
  padding-left: 5px;
  padding-top: 0px;
  padding-bottom: 0px;
  margin-top: 0px !important;
  margin-left: -6px;
}

.dropdown-menu a.is-active {
  color: #e79736 !important;
  background-color: transparent !important;
}

.dropdown-item.active {
  background: transparent;
  color: #555;
}

.dropdown-menu li {
  padding: 0px 5px;
  position: relative;
}

.dropdown-menu li:after {
  content: "|";
  margin-top: 2px;
  margin-left: 1px;
  position: absolute;
}

.dropdown-menu li:last-child:after {
  content: "";
}

.dropdown-menu li a {
  font-size: 16px !important;
  color: #333 !important;
  border: 0px solid;
  padding: 2px 6px;
  display: inline-block;
  text-decoration: none;
  font-weight: 300;
}

.dropdown-menu li a.active-trail {
  background: none;
  position: relative;
}

.dropdown-menu li a:hover, .dropdown-menu li a:focus  {
  background: none !important;
}

.dropdown-menu li a:hover {
  color: #e79736 !important;
}

.dropdown-menu li a.active-trail:after {
  content: "";
  position: absolute;
  border-bottom: 2px solid;
  left: 5px;
  right: 5px;
  bottom: -2px;
}

.dropdown-item:hover {
  background: none !important;
}


/* -----------------------------
   TAXONOMY
----------------------------- */
  
.view-taxonomy-term {
  position: relative;
}

.view-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-right: 325px; 
}


.view-filters {
  top: 150;
  max-width: 300px;
  padding: 20px;
  border: 3px solid #8b3b00;
  border-right: 6px solid #8b3b00;
  border-bottom: 6px solid #8b3b00;
  background: #fffaed;
  float: right !important;
}

.scrolled .view-filters {
  position: sticky;
  /* top: 150px; */
}


.view-filters a {
  text-decoration: none;
  color: #333 !important;
}

.view-filters ul{
  list-style: none;
  padding: 0px;
}

.view-filters li {
  margin: 6px 0px;
  font-weight: 600;
}

#main-wrapper {
  background: #f5f5f5;
}

.views-row {
  background: rgba(255,255,255,0.75);
  margin-bottom: 15px;
  position: relative;
  width: 100% !important;
}

.views-row article {
    padding: 0px 20px 20px 20px;

}

.views-row:after {
  content: "";
  border-bottom: 5px solid #8b3b00;;
  position: absolute;
  bottom: -5px;
  left: 20px;
  right: 0px;
}

.views-row a {
  text-decoration: none;
}

.node--view-mode-teaser {
  border: none;
  margin: 0px;
}

.views-row .inline__links {
  margin: 0px;
  padding: 0px;
  height: 0px;
}

.views-row .inline__links a {
  position: absolute;
  right: 00px;
  bottom: 00px;
  background: #8b3b00;
  color: #fff !important;
  padding: 3px 10px;
  text-transform: uppercase;
  font-size: 14px;
  z-index: 10;
}

.node--view-mode-teaser {
  display: flex;
  flex-direction: row;
  grid-gap: 25px;
  justify-content: flex-start;
  align-items: flex-start;
  padding-bottom: 0px;
}

.node--type-kritik .content {
  max-width: 1400px;
  margin: auto;
}

.node--view-mode-teaser h2 {
  padding-top: 50px;
}

.node--type-kritik .content img {
  max-width: 100%;
  height: auto;
  margin-left: 50px;
  border-right: 4px solid #8b3b00;
  border-bottom: 4px solid #8b3b00;
  border-left: 1px solid #8b3b00;
  border-top: 1px solid #8b3b00;
}

.node__title {
  padding-right: 20px;
  width: 300px;
}

.field--name-field-datum {
  position: absolute;
  left: 20px;
  font-size: 13px;
  background: #8b3b00;
  color: #fff;
  padding: 2px 9px;
  top: 15px;
  display: none;
}

.field--name-field-kritik {
	margin-top: 36px;
}

.field--name-field-kritik a {
	border: 1px solid;
	text-decoration: none;
	padding: 5px 12px;
	text-transform: uppercase;
	font-size: 15px;
}

.view-taxonomy-term .text-formatted {
  border-left: 1px dashed;
  padding-left: 20px;
}

.field--name-field-einleitung {
  font-style: italic;
}

.field--name-field-einleitung span {
	color: #000;
}

.field--name-field-einleitung span p {
	margin-bottom: 0px !important;
}

.node--view-mode-full h1 {
  border-bottom: 4px solid;
  margin-bottom: 20px;
}

.field--name-field-fakten {
  padding: 10px 20px;
  display: inline-block;
  margin: 10px 0px 25px 0px;
  background: #8b3b00;
  color: #fff;
}

.field--name-field-fakten .field__item:first-child {
  font-weight: 600;
}

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

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

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

h2 {
  text-transform: uppercase;
  font-size: 1.2vw !important;
  hyphens: auto;
  hyphenate-limit-chars: 18;
}

/* Body scroll sperren, wenn Overlay aktiv */
body.no-scroll {
  overflow: hidden;
}

/* Overlay */
.new-content {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 100%;
  overflow: hidden; /* Slide-In sauber halten */
  background: #ffecb9;
  transition: transform 0.5s ease, opacity 0.5s ease;
  transform: translateY(100%);
  opacity: 0;
  z-index: 9999;
  padding: 0; /* Abstand außen */
  display: flex;
  justify-content: center; /* horizontal zentrieren */
  flex-direction: column;
}

/* Scrollbarer Bereich mit Abstand innen */
.new-content .scroll-area {
  max-height: 100%;
  overflow-y: auto; /* nur Scroll-Area scrollt */
  width: 100%;
  margin: auto;
  box-sizing: border-box;
}

.new-content .group-wrapper {
  max-width: 1300px;
  margin: auto;
}

/* Slide-In aktiv */
.new-content.show {
  transform: translateY(0);
  opacity: 1;
}

/* Schließen-Button */
.new-content .close-new-content {
  position: absolute;
  top: 10px;
  right: 25px;
  cursor: pointer;
  background: #8b3b00;
  border: none;
  padding: 5px 10px;
  font-size: 16px;
  border-radius: 0;
  color: #fff;
  z-index: 10000;
}

.view-display-id-page_1 .node__content .field--name-field-image {
  order: 2;
  margin: 0px;
}

.view-display-id-page_1 .node__content {
  display: flex;
}

.view-header a {
  display: none;
}

.user-logged-in .view-header a {
  display: block;
  margin-bottom: 25px;
}

.page-link {
  background: #a25e25;
  color: #fff !important;
  border-radius: 0px !important;
  margin-top: 15px;
}

.page-link span{
  color: #fff !important;
}

.feed-icons {
  display: none;
}

@media (max-width: 1400px) {
  .container {
    max-width: 100%;
    padding-left: 36px;
    padding-right: 36px;
  }
  
  #navbar-main {
    max-width: 100%;
    padding-left: 36px;
    padding-right: 36px;
  }
  
  
}

@media (max-width: 1360px) {
	.group-wrapper {
		padding-left: 36px;
		padding-right: 36px;
	}
}

@media (max-width: 990px) {
	
	.user-logged-in .fixed-top {
  position: relative;
  top: 0px !important;
}

.user-logged-in .navbar-brand {
  color: #ffecb9 !important;
}

.user-logged-in.scrolled #navbar-main {
  display: none;
}

  
  #navbar-main {
    padding-left: 36px !important;
  }

	#navbar-main #CollapsingNavbar {
		margin-top: 15px;
	}

	.navbar-toggler  {
    background: #ffecb9;
	}
  
  .navbar-toggler:focus {
    outline: 0;
    border: 0;
    box-shadow: none;
  }

	.navbar-brand {
		font-size: 36px;
	}

  .navbar-collapse {
		background: #a25e25;
    padding: 18px 36px;
    margin-left: -36px;
    margin-right: -36px;
	}
  
  .nav-link--kontakt {
    display: none;
  }

  
	
	.container {
		max-width: 100%;
	}

	.view-content {
		margin-right: 0px;
		margin-top: 50px;
	}

	.view-filters {
		max-width: 100%;
		float: none !important;
	}

	.scrolled .view-filters {
		position: relative !important;
		top: 0px;
	}

	h2 {
		font-size: 20px !important;
	}
	
}

@media (max-width: 640px) {
	.node--view-mode-teaser {
		display: block;
	}
.view-taxonomy-term .text-formatted {
	border-left: 0px;
	padding-left: 0px;
	border-top: 1px dashed;
	padding-top: 20px;
}

	
}

@media (max-width: 480px) {
  .field--name-field-kritik {
    margin-top: 90px;
  }
  .group-footer {
    padding-bottom: 36px;
  }
  
  .navbar-brand {
    margin-right: -36px;
  }
  
}