@charset "utf-8";

@font-face {
	font-family: Sabon;
    src: url('/files/webfonts/SabonNextW01Regular_normal.woff2') format('woff2'),
         url('/files/webfonts/SabonNextW01Regular_normal.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
	font-family: Sabon-Bold;
    src: url('/files/webfonts/SabonNextW01Bold_normal.woff2') format('woff2'),
         url('/files/webfonts/SabonNextW01Bold_normal.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
	font-family: Fedra-Sans;
    src: url('/files/webfonts/FedraSans-Book.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@font-face {
	font-family: Fedra-Sans-Bold;
    src: url('/files/webfonts/FedraSans-Bold.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body {
	margin: 0;
	font-family: Sabon;
	font-display: auto;
	color: #262B2D;
	font-size: 36px;
	line-height: 48px;
	background-color: #F1F0EB;
	font-variant-numeric: oldstyle-nums tabular-nums;
	-webkit-text-size-adjust: 100%;
	font-display: auto;
}

#header {
    height: 85px;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 1;
}

#header .inside {
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.95);
    margin: 0 auto;
    max-width: 1215px;
	height: 100%;
	position: relative;
	top: 90px;
	width: calc(100% - 40px);
}

#header .inside svg {
	margin: 12px 0 0 20px;
	width: 422px;
	height: auto;
}

/* ===================================================
   1. NAVIGATION ÜBERSPRINGEN (Skip Link)
   =================================================== */
/* Macht den Link sichtbar, sobald er per Tab fokussiert wird */
#header .inside .invisible:focus {
	position: absolute;
	left: 0;
	top: -72pxpx;
	background: #ffffff;
	color: #A7110B;
	padding: 5px 10px;
	z-index: 9999;
	border: 1px solid #A7110B;
	text-decoration: underline;
	font-family: Fedra-Sans, Arial;
	font-size: 14px;
}

/* ===================================================
   2. HAUPT-BUTTON (MENÜ)
   =================================================== */
#header .inside #menu-trigger {
	color: #A7110B;
	font-family: Fedra-Sans, Arial;
	font-size: 25px;
	line-height: 18px;
	text-transform: uppercase;
	position: absolute;
	right: 20px;
	top: 35px;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
}

/* Wort "Menü" durchstreichen, wenn geöffnet */
#header .inside #menu-trigger[aria-expanded="true"] {
	 text-decoration: line-through;
}

/* ===================================================
   3. ALLGEMEINES STRUKTUR-CSS FÜR LISTEN
   =================================================== */
#header .inside nav ul {
	position: absolute;
	left: -20000px;
	list-style-type: none;
	background-color: rgba(255, 255, 255, 0.95);
	padding: 0 20px 0;
	width: calc(100% - 40px);
	margin: 0;
}

#header .inside nav ul ul {
	padding: 0;
	background-color: transparent;
}

#header .inside nav ul.level_1 {
	padding: 50px 20px 50px;
}

#header nav ul.level_1 > li {
    display: inline-block;
    vertical-align: top;
    width: calc(25% - 27px);
    margin-right: 20px;
    border-radius: 4px;
    position: static !important;
}

#header nav ul.level_1 > li a {
    color: #262B2D;
	font-family: Fedra-Sans;
	font-size: 18px;
	line-height: 18px;
	text-decoration: none;
	pointer-events: none;
}

#header nav ul.level_1 li li a {
    color: #841010;
	font-family: Fedra-Sans;
	font-size: 26px;
	line-height: 28px;
	text-decoration: none;
	pointer-events: auto;
	display: block;
    padding: 11px 0;
}

#header nav ul.level_1 > li a:hover {
	color: #262B2D;
}

/* ===================================================
   4. HAUPTMENÜ STEUERUNG (JS vs. NO-JS)
   =================================================== */

/* --- VARIANTE A: MIT JAVASCRIPT (.js-enabled vorhanden) --- */
/* Nur einblenden, wenn das Attribut per Klick auf true steht */
#header .inside.js-enabled #menu-trigger[aria-expanded="true"] ~ .level_1 {
	left: 0;
	margin-top: 6px;
}
/* Verhindert jeglichen automatischen Hover-Effekt, wenn JS aktiv ist */
#header .inside.js-enabled:hover .level_1 {
	left: -20000px;
}
/* Holt es trotz des obigen Resets bei Klick wieder zurück */
#header .inside.js-enabled #menu-trigger[aria-expanded="true"] ~ .level_1 {
	left: 0;
}

/* --- VARIANTE B: OHNE JAVASCRIPT (.js-enabled fehlt) --- */
/* Öffnet sofort per Hover über .inside ODER sobald der Button den Tastatur-Fokus erhält */
#header .inside:not(.js-enabled):hover .level_1,
#header .inside:not(.js-enabled) #menu-trigger:focus ~ .level_1,
#header .inside:not(.js-enabled) .level_1:focus-within {
	left: 0;
}

/* MIT JS: Per Klick öffnen und für die Tab-Taste freigeben */
#header .inside.js-enabled .level_1 li .level_2 {
	left: 0;
	position: relative;
	visibility: visible;
}

/* OHNE JS: Immer ausgeklappt und voll sichtbar anzeigen */
#header .inside:not(.js-enabled) .level_1 .level_2 {
	left: 0;
	position: relative;
	visibility: visible;
}

@media (max-width:1200px) {
	/* ===================================================
	   5. UNTERMENÜ STEUERUNG (level_2)
	   =================================================== */

	/* MIT JS: Standardmäßig unsichtbar und per visibility für Tab-Tasten blockiert */
	#header .inside.js-enabled .level_1 .level_2 {
		visibility: hidden;
	}

	/* MIT JS: Per Klick öffnen und für die Tab-Taste freigeben */
	#header .inside.js-enabled .level_1 li[data-open="true"] .level_2 {
		left: 0;
		position: relative;
		visibility: visible;
	}

	/* OHNE JS: Immer ausgeklappt und voll sichtbar anzeigen */
	#header .inside:not(.js-enabled) .level_1 .level_2 {
		left: 0;
		position: relative;
		visibility: visible;
	}

	/* ===================================================
	   6. DEKORATIONEN (PLUS/MINUS & UNTERSTRICH)
	   =================================================== */

	/* Zeige Plus/Minus-Zeichen NUR bei aktivem JavaScript */
	#header .inside.js-enabled .level_1 li.submenu > a::after {
		content: "+";
		position: absolute;
		right: 20px;
	}

	#header .inside.js-enabled .level_1 li.submenu[data-open="true"] > a::after {
		content: "–";
	}

	/* Unterstrich-Farbe anpassen, wenn das Untermenü aktiv geöffnet ist */
	#header .inside .level_1 li[data-open="true"] {
		border-bottom: 1px solid #A7110B;
	}
}


.header_img {
	display: flex;
	justify-content: center;
	width: 100%;
	max-height: calc(88vh + 20px);
	overflow: hidden;
	position: relative;
}

.header_img picture {
	max-height: 87vh;
    overflow: hidden;
    display: block;
}

.header_img img {
	width: 100%;
	height: auto;
	object-fit: cover;
}

.mod_article [class^="content-"],
.mod_article [class*=" content-"] {
	width: calc(100% - 40px);
	max-width: 1185px;
	margin: 0 auto;
	padding: 0 20px;
}

.mod_article [class^="content-"]:first-child,
.mod_article [class*=" content-"]:first-child {
	padding: 100px 20px 0;
}

.mod_article:last-child {
	padding: 0 0 300px !important;
}

.inside > .mod_article {
    margin-top: 150px;
}

.inside > .mod_article:has(.header_img), 
.inside > .mod_article .header_img,
.inside > .mod_article + .mod_article {
    margin-top: 0;
	padding-bottom: 1px;
}

.mod_article.bg_white {
	background-color: #FFFFFF;
}

.mod_article ul {
	background-color: #FFFFFF;
	padding: 35px 150px;
	font-size: 24px;
	line-height: 36px;
}

.mod_article ul li {
	padding: 7px 0;
}

.mod_article .content-download.download-element, .mod_article .content-hyperlink, .ce_form button.submit {
    margin: 102px auto 92px;
    padding: 0;
    width: fit-content;
	cursor: pointer;
}

.mod_article .content-download.download-element a, .mod_article .content-hyperlink a, .ce_form button.submit {
	border-radius: 2px;
    background: #841010;
	color: #FFF;
	text-align: center;
	font-family: Fedra-Sans;
	font-size: 24px;
	line-height: 18px;
	text-decoration: none;
    padding: 23px 44px;
	display: block;
	border-style: none;
	vertical-align: top;
	height: 17px;
}

.ce_form button.submit {
	height: auto;
}

.mod_article .content-hyperlink.contact a {
	border-radius: 2px;
    border: 1px solid #841010;
	background-color: transparent;
	color: #841010;
	display: inline-block;
	width: 236px;
}

.mod_article .content-hyperlink.contact a svg {
	width: 20px;
    height: auto;
    margin-right: 7px;
}

.leistungen {
	margin: 0 auto;
    max-width: 1225px;
	padding: 167px 20px 320px;
	font-size: 0;
}

.leistung {
	display: inline-block;
	text-decoration: none;
	border-radius: 2px;
	background: #FFF;
	width: 260px;
	height: 284px;
	vertical-align: top;
	color: #262B2D;
	font-family: Fedra-Sans;
	font-size: 24px;
	line-height: 28px;
	padding: 17px 13px;
	margin: 0 20px 0 0;
	position: relative;
}

.leistung:last-child {
	margin: 0;
}

.leistung h3 {
	color: #841010;
	font-family: Fedra-Sans-Bold;
	font-size: 24px;
	line-height: 28px;
	font-weight: normal;
	margin: 0 0 28px;
	padding: 0;
}

.leistung p {
	max-height: 170px;
    overflow: hidden;
}

.leistung svg {
	width: 50px;
	height: 50px;
	position: absolute;
    bottom: 45px;
	left: calc(50% - 25px);
}

.team {
	margin: 0 auto;
    max-width: 1225px;
	padding: 167px 20px 0;
	font-size: 0;
}

.team_entry {
	display: inline-block;
	text-decoration: none;
	border-radius: 2px;
	background: #FFFFFF;
	width: 367px;
	height: 336px;
	vertical-align: top;
	font-family: Fedra-Sans;
	font-size: 24px;
	line-height: 32px;
	padding: 48px 13px;
	margin: 0 20px 20px 0;
	position: relative;
	text-align: center;
}

.home .team_entry {
	background: #F1F0EB;
}

.team_entry .name {	
	color: #841010;
	font-size: 32px;
	line-height: 38px;
}

.team_entry:nth-child(3) {
	margin: 0;
}

.team_entry figure {
	margin-bottom: 40px;
}

.team_entry img {
	width: 250px;
	height: 250px;
}

#sprechzeiten {
	width: calc(100% - 40px);
    max-width: 1185px;
    margin: 0 auto 0;
    padding: 0 20px;	
}

#sprechzeiten.home {
    margin-top: 92px;	
}

#sprechzeiten .tage {
	border-radius: 2px;
	background: #FFFFFF;
	color: #262B2D;
	font-family: Fedra-Sans;
	font-size: 24px;
	line-height: 40px;
	padding: 25px 20px;
	text-align: left;
}

#sprechzeiten.home .tage {
    background: #F1F0EB;
	padding-bottom: 60px;
}

#sprechzeiten details[open] {
	padding-bottom: 60px;
}

#sprechzeiten .tage h3, #sprechzeiten .tage h4 {
	color: #841010;
	font-family: Fedra-Sans-Bold;
	font-size: 24px;
	line-height: 28px;
	margin: 0;
	padding: 0;
}

#sprechzeiten .tage h3, #sprechzeiten .tage details[open] h4 {
	margin-bottom: 28px;
}

#sprechzeiten .tag {
    display: inline-block;
    vertical-align: top;
	width: 213px;
	margin-right: 20px;
}

#sprechzeiten .tag:last-child {
	margin-right: 0;
}

#sprechzeiten strong {
    font-family: Fedra-Sans-Bold;
}

#sprechzeiten p {
	color: #262B2D;
	font-family: Fedra-Sans;
	font-size: 24px;
	line-height: 28px;
	margin: 15px 0;
}

.akkordeon {
	width: calc(100% - 40px);
    max-width: 1185px;
    margin: 25px auto 0;
}

.akkordeon > div {
	border-radius: 2px;
    background: #FFFFFF;
    padding: 25px 20px 25px;
}

.akkordeon h4 {
	color: #841010;
    font-family: Fedra-Sans-Bold;
    font-size: 24px;
    line-height: 32px;
    margin: 0;
    padding: 0;
}

.akkordeon details[open] h4 {
	margin-bottom: 28px;
}

.akkordeon p {	
    color: #262B2D;
    font-family: Fedra-Sans;
    font-size: 24px;
    line-height: 28px;
	padding-bottom: 60px;
}

.mod_article .content-image {
	margin-top: 50px;
	color: #262B2D;
	font-family: Fedra-Sans;
	font-size: 24px;
	line-height: 32px;
}

.mod_article .ce_form {
	width: calc(100% - 40px);
	max-width: 600px;
	margin: 0 auto;
	padding: 0 20px;
}

.mod_article .ce_form h3 {
	padding-bottom: 17px;
}

.ce_form .widget-text {
	/*width: calc(50% - 10px);*/
	width: 100%;
    display: inline-block;
	margin-bottom: 15px;
}

.ce_form .widget-text-date, .ce_form .widget-text-email {
	margin-bottom: 34px;
}

.ce_form .widget input,
.ce_form .widget select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;    
    box-sizing: border-box;
    display: block;
    width: 100%;    
    margin: 0;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    font: inherit;
}

.ce_form .widget select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 12px) center;
    background-size: 16px;
    padding-right: 40px;
}

.ce_form .widget select[name=Grund] {
    margin-bottom: 46px;
}

.ce_form .widget select:open {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='18 15 12 9 6 15'%3E%3C/polyline%3E%3C/svg%3E");
}

.ce_form .widget input, .ce_form .widget select, .ce_form .widget textarea {
	width: 100%;
	display: inline-block;
	color: #262B2D;
	font-family: Fedra-Sans;
	font-size: 20px;
	line-height: 28px;
	padding: 13px;
	border-radius: 2px;
	border: 1px solid #7D7979;
}

.ce_form .widget textarea {
	height: 200px;
}

input::placeholder,
textarea::placeholder {
    color: #7D7979;
    opacity: 1;
}

select:has(option[value=""]:checked) {
  color: #7D7979;
}

.ce_form .checkbox-matrix {
    width: 100%;
    margin: 20px 0;
    font: inherit;
}

.ce_form .checkbox-matrix th,
.ce_form .checkbox-matrix td {
    padding: 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.ce_form .checkbox-matrix th {
    padding: 12px;
	color: #262B2D;
	text-align: center;
	font-family: Fedra-Sans;
	font-size: 24px;
	line-height: 32px;
}

.ce_form .checkbox-matrix th:last-child {
    width: 40px;
	padding-right: 0;
}

.ce_form .checkbox-matrix td:last-child label {
	padding-right: 0;
}

.ce_form .checkbox-matrix td {
    text-align: center;
}

.ce_form .checkbox-matrix td.row-label {
   color: #262B2D;
	font-family: Fedra-Sans;
	font-size: 24px;
	line-height: 32px;
    text-align: left;
    width: 170px;
}

.ce_form .checkbox-matrix tr.row-flexible td {
	border-top: 1px solid #262B2D;
}

.ce_form .checkbox-matrix .matrix-cell-label {
    display: inline-block;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 12px;
    cursor: pointer;
    position: static;
}

.ce_form .checkbox-matrix input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-sizing: border-box;
    display: block;
    width: 40px;
    height: 40px;
    margin: 0;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    padding: 0;
}

.ce_form .checkbox-matrix input[type="checkbox"]:checked {
    background-color: #333;
    border-color: #333;
}

.ce_form .checkbox-matrix input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 15px;
    top: 3px;
    width: 10px;
    height: 20px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.ce_form p {
	color: #262B2D;
    font-family: Fedra-Sans;
    font-size: 24px;
    line-height: 32px;
    margin: 0;
}

.ce_form p strong {
    font-family: Fedra-Sans-Bold;
}

#footer {
	background-color: #262B2D;
}

#footer nav ul {
	list-style-type: none;
	margin: 0 auto;
	width: 380px;
    text-align: center;
}

#footer nav ul li {
	display: inline-block;
	margin: 30px 20px 200px;
}

#footer nav ul li a {
	text-decoration: none;
	color: #FFFFFF;
	font-family: Fedra-Sans;
	font-size: 24px;
	line-height: 18px;
}

.invisible, .ce_form label {
	position: absolute;
	left: -20000px;
}

.center {
	text-align: center;
}

svg .hover, a svg .hover,
svg:hover .inaktiv, a:hover svg .inaktiv {
	display: none;
}

svg:hover .hover, a:hover svg .hover {
	display: block;
}

h1, h2 {
	font-family: Fedra-Sans, Arial;
	font-size: 72px;
	line-height: 84px;
	font-weight: normal;
	margin: 0 auto 30px !important;
}

h1.home, h2.home {
	font-family: Fedra-Sans, Arial;
	font-size: 96px;
	line-height: 110px;
	font-weight: normal;
}

h1.content-mainTitle {
	font-family: Fedra-Sans, Arial;
	font-size: 24px;
	font-weight: normal;
	line-height: 30px;
	font-variant: all-small-caps;
	letter-spacing: 1.2px;
	margin: 0 auto !important;
}

h3, h4, h5 {
	font-family: Fedra-Sans, Arial;
	font-size: 52px;
	font-weight: normal;
	line-height: 64px;
	margin: 0;
	padding: 63px 0 9px;
}

.mod_article h3.content-headline {
	padding: 63px 0 9px;
}

h1 .zweite-zeile, h2 .zweite-zeile, h3 .zweite-zeile, h4 .zweite-zeile, h5 .zweite-zeile {
  color: #7D7979;
}

summary {
	cursor: pointer;
    list-style: none;
	position: relative;
}

summary h4:after {
	content: "+";
	position: absolute;
	right: 0;
}

details[open] summary h4:after {
	content: "–";
}

figure, p {
	margin: 0;
}

strong {
	font-family: Sabon-Bold;
	font-weight: normal;
}

@media (max-width: 1100px) {
	#header .inside nav ul li {
		border-bottom: 1px solid #F1F0EB;
	}
	
	#header nav ul.level_1 > li {
		width: 100%;
	}
	
	#header .inside.js-enabled nav ul.level_1 > li {
		cursor: pointer;
	}

	#header .inside.js-enabled .level_1 li .level_2 {
		position: absolute;
		left: -20000px;
	}

	#header .inside nav ul.level_2 li {
		border-style: none;
		padding-left: 0;
	}

	#header .inside nav ul li a {
		color: #A7110B;
		font-family: Fedra-Sans, Arial;
		font-size: 18px;
		line-height: 18px;
		text-decoration: none;
		display: block;
		padding: 9px 0;	
	}
	
	#header nav ul.level_1 > li a {
		pointer-events: auto;
	}
	
	.hide_mobile {
		position: absolute;
		left: -20000px;
	}
}
