/* =========================================================
   WGRR / STARTSEITE
   Seitenspezifische Module
   Abhaengig von: wgrr-base.css und wgrr-layout.css
========================================================= */

/* =========================================================
   QUICKLINKS
========================================================= */

.wgrr-quicklinks {
	position: relative;
	z-index: 3;
	margin-top: clamp(-4.2rem, -0.8rem - 2.6vw, -1.4rem);
	padding-bottom: 1.25rem;
}

.wgrr-quicklinks .container {
	width: min(100% - 2rem, 68rem);
}

.wgrr-quicklinks__grid {
	--wgrr-quicklinks-frame: clamp(0.3rem, 1.2vw, 2rem);

	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	box-sizing: border-box;

	margin-top: calc(var(--wgrr-quicklinks-frame) * -1);
	margin-right: calc(var(--wgrr-quicklinks-frame) * -1);
	margin-left: calc(var(--wgrr-quicklinks-frame) * -1);

	padding-top: var(--wgrr-quicklinks-frame);
	padding-right: var(--wgrr-quicklinks-frame);
	padding-left: var(--wgrr-quicklinks-frame);

	background: var(--wgrr-color-white);
}

.wgrr-quicklinks__grid > *:first-child {
	margin-top: 0;
}

.wgrr-qcard,
.wgrr-qcard-lightyellow,
.wgrr-qcard-lightgreen {
	border: 0 solid transparent;
	box-shadow: none;
	overflow: hidden;
}

.wgrr-qcard {
	background: var(--wgrr-color-card);
}

.wgrr-qcard-lightyellow,
.wgrr-qcard__body-yellow {
	background: var(--wgrr-color-yellow);
}

.wgrr-qcard-lightgreen,
.wgrr-qcard__body-lightgreen {
	background: var(--wgrr-color-green-light);
}

.wgrr-qcard__media img {
	width: 100%;
	aspect-ratio: 1.85 / 1;
	object-fit: cover;
}

.wgrr-qcard__body,
.wgrr-qcard__body-yellow,
.wgrr-qcard__body-lightgreen {
	padding: 0.55rem 0.7rem 0.8rem;
}

.wgrr-qcard__title {
	margin: 0 0 0.5rem;
	font-family: var(--wgrr-font-sans-bold);
	font-size: clamp(1.5rem, 1.22rem + 0.85vw, 1.95rem);
	font-weight: normal;
	line-height: 1;
	letter-spacing: 0.055em;
	text-align: center;
	text-transform: uppercase;
	color: var(--wgrr-color-black);
}

.wgrr-qcard__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 2rem;
	padding: 0.45rem 0.7rem;
	border-radius: 0.38rem;
	font-family: var(--wgrr-font-sans);
	font-size: 1.25rem;
	font-weight: normal;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition:
		transform var(--wgrr-transition),
		background-color var(--wgrr-transition);
}

.wgrr-qcard__cta + .wgrr-qcard__cta,
.wgrr-qcard__cta + .wgrr-qcard__text,
.wgrr-qcard__hours + .wgrr-qcard__cta {
	margin-top: var(--wgrr-space-s);
}

.wgrr-qcard__cta--soft {
	background: var(--wgrr-color-soft);
	color: #2d2d2d;
}

.wgrr-qcard__cta--soft:hover,
.wgrr-qcard__cta--soft:focus-visible {
	background: var(--wgrr-color-white);
	color: var(--wgrr-color-black);
	transform: translateY(-0.0625rem);
}

.wgrr-qcard__cta--alert {
	background: var(--wgrr-color-alert);
	color: var(--wgrr-color-white);
	font-family: var(--wgrr-font-sans-bold);
	font-weight: normal;
	text-transform: uppercase;
}

.wgrr-qcard__cta--alert:hover,
.wgrr-qcard__cta--alert:focus-visible {
	background: #a81710;
	color: var(--wgrr-color-white);
	transform: translateY(-0.0625rem);
}

.wgrr-qcard__text {
	max-width: 16rem;
	margin: 0 auto;
	font-size: 1.15rem;
	font-family: var(--wgrr-font-sans-bold);
	font-weight: normal;
	line-height: 1.35;
	text-align: center;
	color: #1d1d1d;
	margin-bottom: 0.3rem;
}

.wgrr-qcard__hours {
	font-size: clamp(1rem, 0.92rem + 0.35vw, 1.25rem);
	line-height: 1.35;
	text-align: center;
	color: #1e1e1e;
	background: var(--wgrr-color-white);
	padding: 0.5rem;
}

.wgrr-qcard__hours p {
	font-size: inherit;
	line-height: inherit;
	color: inherit;
	margin: 0;
}

.wgrr-qcard__hours p + p {
	margin-top: 0.4rem;
}


/* =========================================================
   NEWS
========================================================= */

.wgrr-news {
	padding-block: var(--wgrr-space-s) var(--wgrr-space-l);
}

.wgrr-news .container,
.wgrr-jobs .container,
.wgrr-faq .container,
.wgrr-footer .container {
	width: min(100% - 2rem, 68rem);
}

.wgrr-news__article {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.85rem;
	padding-block: 1.9rem;
	border-top: 0.13rem solid var(--wgrr-color-border);
	border-bottom: 0.13rem solid var(--wgrr-color-border);
}

.wgrr-news__media img {
	width: 100%;
	aspect-ratio: 1.45 / 1;
	object-fit: cover;
}

.wgrr-news__eyebrow {
	margin: 0 0 0.12rem;
	font-size: 1.18rem;
	line-height: 1.375;
	color: var(--wgrr-color-black);
}

.wgrr-news__title {
  margin: 0;
  font-family: var(--wgrr-font-sans-bold);
  font-size: clamp(1.2rem, 1.05rem + 0.55vw, 1.55rem);
  font-weight: normal;
  line-height: 1.18;
  letter-spacing: 0!important;
  color: var(--wgrr-color-green-dark);
}

.wgrr-news__title a {
	color: inherit;
	text-decoration: none;
}

.wgrr-news__title a:hover,
.wgrr-news__title a:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.1em;
}

.wgrr-news__text {
	margin: 0.35rem 0 0;
	font-size: clamp(1rem, 0.95rem + 0.2vw, 1.18rem);
	line-height: 1.375;
	color: var(--wgrr-color-black);
}


/* =========================================================
   JOBS
========================================================= */

.wgrr-jobs {
	padding-bottom: 1.5rem;
}

.wgrr-jobs__banner {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(4.5rem, 4.2rem + 1vw, 5.8rem);
	padding: var(--wgrr-space-xl);
	background: #006c3d;
	text-decoration: none;
	box-shadow: none;
}

.wgrr-jobs__banner h2 {
	margin: 0;
	font-family: var(--wgrr-font-sans-bold);
	font-weight: normal;
	font-size: clamp(1.7rem, 1.25rem + 1.4vw, 2.7rem);
	line-height: 1.12;
	letter-spacing: 0!important;
	text-align: center;
	text-transform: uppercase;
	color: var(--wgrr-color-white);
}


/* =========================================================
   FAQ
========================================================= */

.wgrr-faq {
	padding-bottom: var(--wgrr-space-3xl);
}

.wgrr-faq__box {
	padding: clamp(1rem, 0.8rem + 1vw, 2rem);
	background: var(--wgrr-color-panel);
	box-shadow: none;
}

.wgrr-faq__inner {
	/*width: min(100%, 50rem);*/
	width: 85%;
	margin-inline: auto;
	margin: auto;
	padding: clamp(1rem, 0.8rem + 1vw, 1.6rem) 0;
	border: 0;
	background: transparent;
	box-sizing: border-box;
}

.wgrr-faq__title {
	margin: 0 0 1rem;
	font-family: var(--wgrr-font-sans-bold);
	font-size: clamp(1.45rem, 1.2rem + 0.75vw, 2rem);
	font-weight: normal;
	line-height: 2.375rem;
	text-transform: uppercase;
	color:  var(--wgrr-color-black);
	letter-spacing: 0!important;
}

.wgrr-faq__group + .wgrr-faq__group {
	margin-top: 0.9rem;
}

.wgrr-faq__group-title {
	font-family: var(--wgrr-font-sans-medium);
	font-size: clamp(1.45rem, 1.2rem + 0.75vw, 2rem);
	font-weight: normal;
	line-height: 2.375rem;
	text-transform: uppercase;
	color:  var(--wgrr-color-black);
	letter-spacing: 0!important;
	margin-bottom: 1.0rem!important;
}

.wgrr-faq__item {
	border: 0;
	background: transparent;
}

.wgrr-faq__item + .wgrr-faq__item {
	margin-top: 0.15rem;
}

.wgrr-faq__item summary {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 0.45rem;
	cursor: pointer;
	list-style: none;
	font-size: 1.375rem;
	font-family: var(--wgrr-font-sans-bold);
	font-weight: normal;
	line-height: 1.75;
	color: var(--wgrr-color-green-dark);
}

.wgrr-faq__item summary::-webkit-details-marker {
	display: none;
}

.wgrr-faq__item summary::before {
  content: "+";
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.375rem;
  height: 1.375rem;
  margin-top: 0.4rem;
  border-radius: 0.08rem;
  background: #8cb138;
  color: var(--wgrr-color-white);
  font-family: var(--wgrr-font-sans-bold);
  font-size: 1.375rem;
  font-weight: normal;
  line-height: 1.75;
}

.wgrr-faq__item[open] summary::before {
	content: "–";
}

/* =========================================================
   FAQ / Sonderlink
   Link zur Übersichtskarte Wohnbestand
========================================================= */

.wgrr-faq__map-link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	margin-left: 1.4rem;
	color: #14683f;
	font-family: var(--wgrr-font-sans-bold);
	font-size: 1.375rem;
	line-height: 1.75;
	font-weight: normal;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}

.wgrr-faq__map-link::before {
	content: "»";
	flex: 0 0 auto;
	font-family: var(--wgrr-font-sans-black);
	font-size: 1.75rem;
	line-height: 1;
	color: currentColor;
}

.wgrr-faq__map-link:hover,
.wgrr-faq__map-link:focus-visible {
	color: var(--wgrr-color-green-dark);
	text-decoration: none !important;
}

/* =========================================================
   FAQ / Sonderlink
   Variante fuer Einbindung innerhalb der wgrr-area-list
========================================================= */

.wgrr-faq__map-link--inline {
	display: inline-flex;
	align-items: center;
	gap: 0.0em;
	margin-left: 0;
	color: #14683f;
	font-family: var(--wgrr-font-sans-bold);
	font-size: inherit;
	line-height: inherit;
	font-weight: normal;
	text-transform: uppercase;
	text-decoration: none;
	vertical-align: middle;
	cursor: pointer;
}

.wgrr-faq__map-link--inline::before {
	content: "»";
	flex: 0 0 0.8em;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1em;
	height: 1em;
	font-family: var(--wgrr-font-sans-black);
	font-size: 1.35em;
	line-height: 1;
	color: currentColor;
	text-align: center;
}

.wgrr-faq__map-link--inline:hover,
.wgrr-faq__map-link--inline:focus-visible {
	color: var(--wgrr-color-green-dark);
	text-decoration: none !important;
}

.wgrr-faq__content {
	padding: 0.35rem 0 0.25rem 1.4rem;
	font-size: 0.92rem;
	line-height: 1.35;
	color: #1c251c;
}

.wgrr-faq__content p {
	margin: 0;
	color: #3e3e3e;
}

.wgrr-faq__content a {
	color: var(--wgrr-color-green-dark);
	font-weight: normal;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.1em;
}


/* Liste mit Pfeil fuer FAQ */
.wgrr-site .wgrr-area-list {
	list-style: none;
	margin: 0;
	padding: 0;
	color: #3e3e3e;
	font-family: var(--wgrr-font-sans);
	font-size: clamp(0.86rem, 0.78rem + 0.35vw, 1.375rem);
	line-height: 1.75rem;
}

.wgrr-site .wgrr-area-list,
.wgrr-site .wgrr-area-list li,
.wgrr-site .wgrr-area-list a {
	line-height: 1.75rem;
}

.wgrr-area-list li {
	position: relative;
	margin: 0;
	padding-left: 1.85em;
}

.wgrr-area-list li + li {
	margin-top: 0.75em;
}

.wgrr-area-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.12em;
	width: 1.25em;
	height: 1.25em;
	background-color: currentColor;
	-webkit-mask-image: url("../img/wgr-img/wgr-icons/arrow-right.svg");
	mask-image: url("../img/wgr-img/wgr-icons/arrow-right.svg");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.boldgreenlink {
	color: #296815;
	font-family: var(--wgrr-font-sans-bold);
	font-weight: normal;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.12em;
}


/* =========================================================
   STARTSEITE / RESPONSIVE ERGAENZUNGEN
========================================================= */

@media (min-width: 48rem) {
	.wgrr-quicklinks__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.wgrr-news__article {
		grid-template-columns: minmax(14rem, 32.335%) 1fr;
		align-items: start;
	}

	.wgrr-faq__box {
		width: min(100%, 100%);
	}
}

@media (min-width: 64rem) {
	.wgrr-faq__box {
		width: min(100%, 100%);
		margin-inline: auto;
	}
}

/* =========================================================
   MOBILE TYPOGRAFIE STARTSEITE
   Nur Schriftgroessen und Zeilenhoehen bis 767px
========================================================= */

@media (max-width: 47.99875rem) {
	.wgrr-qcard__title {
		font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.7rem);
		line-height: 1.08;
	}

	.wgrr-qcard__cta {
		font-size: clamp(1rem, 0.92rem + 0.35vw, 1.12rem);
		line-height: 1.3;
	}

	.wgrr-qcard__text {
		font-size: clamp(1rem, 0.94rem + 0.3vw, 1.08rem);
		line-height: 1.35;
	}

	.wgrr-qcard__hours,
	.wgrr-qcard__hours p {
		font-size: clamp(1rem, 0.94rem + 0.3vw, 1.08rem);
		line-height: 1.35;
	}

	.wgrr-news__eyebrow {
		font-size: clamp(0.98rem, 0.92rem + 0.3vw, 1.08rem);
		line-height: 1.35;
	}

	.wgrr-news__title {
		font-size: clamp(1.2rem, 1.08rem + 0.5vw, 1.42rem);
		line-height: 1.2;
	}

	.wgrr-news__text {
		font-size: clamp(1rem, 0.94rem + 0.3vw, 1.08rem);
		line-height: 1.45;
	}

	.wgrr-jobs__banner h2 {
		font-size: clamp(1.45rem, 1.18rem + 1vw, 2rem);
		line-height: 1.14;
	}

	.wgrr-faq__title,
	.wgrr-faq__group-title {
		font-size: clamp(1.35rem, 1.12rem + 0.8vw, 1.75rem);
		line-height: 1.2;
	}

	.wgrr-faq__item summary {
		font-size: clamp(1.02rem, 0.95rem + 0.32vw, 1.18rem);
		line-height: 1.45;
	}

	.wgrr-faq__item summary::before {
		font-size: clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
		line-height: 1;
	}

	.wgrr-faq__map-link {
		font-size: clamp(1.02rem, 0.95rem + 0.32vw, 1.18rem);
		line-height: 1.45;
	}

	.wgrr-faq__map-link::before {
		font-size: 1.25em;
		line-height: 1;
	}

	.wgrr-faq__map-link--inline {
		font-size: inherit;
		line-height: inherit;
	}

	.wgrr-faq__map-link--inline::before {
		line-height: 0;
	}

	.wgrr-faq__content {
		font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1rem);
		line-height: 1.45;
	}

	.wgrr-site .wgrr-area-list {
		font-size: clamp(1rem, 0.94rem + 0.3vw, 1.08rem);
		line-height: 1.55rem;
	}

	.wgrr-site .wgrr-area-list,
	.wgrr-site .wgrr-area-list li,
	.wgrr-site .wgrr-area-list a {
		line-height: 1.55rem;
	}
}
