/*
-----------------------------------------------
	www.schildhammer.com
 by www.manuelkreuzer.de
and www.lichtsignale.de
----------------------------------------------- */


/*	V A R I A B L E N
----------------------------------------------- */

:root {
	--color-text: #181717;
	--color-bg: #f0edef;
	--font-base: "SH Everett", "Helvetica Neue", Helvetica, Arial, sans-serif;
	--font-bold: "SH Everett Balken", "SH Everett", sans-serif;
}


/*	R E S E T
----------------------------------------------- */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
	font-variant-ligatures: none;
}

html {
	height: 100%;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: none;
}

a {
	margin: 0;
	padding: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

input, select {
	vertical-align: middle;
}

nav ul {
	list-style: none;
}


/*	B A R R I E R E F R E I H E I T
----------------------------------------------- */

:focus-visible {
	outline: 2px solid var(--color-text);
	outline-offset: 2px;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 10001;
	padding: 10px 15px;
	background: var(--color-bg);
}

.skip-link:focus {
	left: 0;
}

/* Optisch versteckt, für Screenreader aber vorhanden */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
	clip-path: inset(50%);
	overflow: hidden;
	white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {

.gallery-rail {
	transition: none;
}

}


/*	W E B F O N T S
----------------------------------------------- */

@font-face {
	font-family: "SH Everett";
	src: url('webfonts/Everett-Medium.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
	font-display: optional;
}

@font-face {
	font-family: "SH Everett Balken";
	src: url('webfonts/EverettMedium-Balken.woff2') format('woff2');
	font-weight: normal;
	font-style: normal;
	font-display: optional;
}


/*	B A S I C S
----------------------------------------------- */

body {
	color: var(--color-text);
	background: var(--color-bg);
	font-family: var(--font-base);
	font-size: 20px;
	line-height: 25px;
	letter-spacing: 0.02em;
	text-align: left;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a:link, a:visited {
	color: var(--color-text);
	text-decoration: none;
	display: inline-block;
}

#text a {
	display: inline;
}

a:hover, a:active {
	font-family: var(--font-bold);
	position: relative;
	margin-bottom: -3px;
}

.active a:link, .active a:visited {
	font-family: var(--font-bold);
	cursor: default;
}

.active a:hover, .active a:active {
	position: relative;
	margin-bottom: 0;
}

.active li a:link, .active li a:visited {
	font-family: var(--font-base);
	position: relative;
	margin-bottom: -1px;
}

.active li a:hover, .active li a:active {
	font-family: var(--font-bold);
	cursor: pointer;
	position: relative;
	margin-bottom: -1px;
}

.active .active a:link, .active .active a:visited {
	font-family: var(--font-bold);
	cursor: default;
}

.active .active a:hover, .active .active a:active {
	font-family: var(--font-bold);
	position: relative;
	margin-bottom: -1px;
}

#text a:link, #text a:visited {
	border-bottom: 1px solid var(--color-text);
}

#text a:hover, #text a:active {
	border-bottom: none;
	position: relative;
	margin-bottom: 0;
	line-height: 10px;
}

#text p a:hover, #text p a:active, #text dl a:hover, #text dl a:active {
	position: relative;
	margin-bottom: 1px;
}

h1, h2, h3 {
	font-weight: normal;
}

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


/*	M A I N
----------------------------------------------- */

header {
	padding: 11px 15px 50px 15px;
	position: relative;
	z-index: 9000;
}

header h1 {
	float: left;
	text-transform: uppercase;
}

#hamburger {
	float: right;
}

#hamburger svg {
	width: auto;
	height: 13px;
}

main {
	padding: 0 15px 50px 15px;
}

main h2 {
	float: left;
	padding-bottom: 25px;
}

#switch {
	float: right;
	position: relative;
	z-index: 10000;
}

#switch li {
	list-style: none;
	text-align: right;
}

#switchbig {
	display: none;
}

main img {
	margin-bottom: 9px;
}

#images a {
	display: block;
}

nav, #legal {
	margin: 0 15px 35px 15px;
	line-height: 35px;
}

nav li ul {
	margin-left: 15px;
}

nav ul ul a {
	display: block !important;
}

#legal li {
	list-style: none;
}

#baut {
	margin: 0 15px 0 15px;
	padding-bottom: 13px;
}

#baut span {
	font-family: var(--font-bold);
	text-transform: uppercase;
}

#baut a:hover, #baut a:active {
	position: relative;
	margin-bottom: 0;
}

#text {
	clear: both;
}

#text p, #text dl {
	margin-bottom: 22px;
	font-size: 17px;
	line-height: 22px;
	letter-spacing: 0.03em;
}

#text ul br {
	display: none;
	height: 0;
}

#text li {
	list-style: none;
	text-indent: -12px;
}

#text li:before {
	content: "–";
	padding-right: 2px;
}

#office h3 {
	margin-bottom: 22px;
}

.aktuelles {
	margin-bottom: -22px;
	position: relative;
}

.item {
	margin-bottom: 75px;
}

.item:last-child {
	margin-bottom: 0;
}

/*	G A L E R I E
----------------------------------------------- */

#zoomtitle {
	display: none;
	position: relative;
	z-index: 100;
}

#zoomclose {
	margin: 11px 15px 10px 15px;
	text-align: right;
	position: relative;
	z-index: 300;
}

.gallery-track {
	position: relative;
	overflow: hidden;
	height: calc(100vh - 92px);
	cursor: grab;
	touch-action: pan-y;
}

.gallery-track.dragging {
	cursor: grabbing;
}

.gallery-rail {
	display: flex;
	gap: 20px;
	align-items: center;
	height: 100%;
	width: max-content;
	transition: transform 0.5s ease;
	will-change: transform;
}

.gallery-slide {
	flex: 0 0 auto;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: inherit;
}

.gallery-slide img {
	display: block;
	max-height: 100%;
	max-width: 92vw;
	width: auto;
	height: auto;
	user-select: none;
	-webkit-user-drag: none;
}

.gallery-prev, .gallery-next {
	display: none;
	border: 0;
	background: transparent;
	cursor: pointer;
	color: var(--color-text);
	font-size: 200%;
}

.gallery-prev[disabled], .gallery-next[disabled] {
	display: none;
}

.gallery-dots {
	text-align: center;
	position: relative;
	width: 100%;
	margin: 0;
	top: auto;
	left: 0;
	bottom: -10px;
	z-index: 10000;
}

.gallery-dots a {
	width: 10px;
	height: 10px;
	margin: 5px 7px;
	background: var(--color-text);
	display: inline-block;
	border-radius: 30px;
	vertical-align: middle;
}

.gallery-dots a:hover,
.gallery-dots a.active {
	border-radius: 0;
}


/*	R E S P O N S I V E
----------------------------------------------- */

@media screen and (min-width: 500px) {

nav ul ul {
	float: right;
	width: calc(100% / 8 * 5);
}

#legal {
	clear: both;
	padding-top: 35px;
}

#zoomtitle {
	display: block;
	margin: 0 15px 10px 15px;
	float: left;
}

}


@media screen and (min-width: 640px) {

#hamburger {
	display: none;
}

nav {
	position: absolute;
	left: 0;
	top: 57px;
	width: calc(50% - 25px);
}

main {
	margin-left: calc(50% + 10px);
	margin-right: 15px;
	padding: 0 0 25px 0;
	position: relative;
	top: -50px;
}

#text li {
	list-style: none;
	text-indent: -15px;
}

#text li:before {
	padding-right: 5px;
}

}


@media screen and (min-width: 900px) {

nav, #legal {
	line-height: inherit;
	top: 60px;
}

#imgstart #images, #imgstart .item:first-child figure {
	margin-top: 6px;
}

.gallery-prev, .gallery-next {
	display: block;
	position: absolute;
	top: 0;
	width: 10%;
	height: 93%;
	font-size: 300%;
	padding: 0 22px;
	z-index: 200;
}

.gallery-prev {
	left: 0;
	text-align: left;
}

.gallery-next {
	right: 0;
	text-align: right;
}

.gallery-dots {
	bottom: -10px;
}

}


@media screen and (min-width: 1150px) {

body {
	overflow: hidden;
}

header {
	padding: 0;
	position: fixed;
	left: calc(100% / 20 * 15 + 10px);
	top: 23px;
}

#baut {
	padding: 0;
	position: fixed;
	left: calc(100% / 20 * 15 + 10px);
	bottom: 25px;
}

nav {
	top: 23px;
	position: fixed;
	margin-left: 25px;
	width: calc(100% / 20 * 8 - 40px);
}

#legal {
	margin-left: 25px;
	margin-bottom: 0;
	bottom: 25px;
	top: inherit;
	position: fixed;
	width: 30%;
}

#baut {
	margin: 0;
}

main {
	position: absolute;
	padding-left: calc(100% / 20 * 9);
	left: 0;
	top: 0;
	width: calc(100% / 20 * 6);
	height: 100%;
	overflow-y: scroll;
	padding-right: calc(100% / 20 * 5);
	padding-top: 23px;
	margin-left: 0;
	margin-right: 0;
}

#office {
	padding-left: calc(100% / 20 * 3 + 15px);
	width: calc(100% / 20 * 12 - 15px);
}

#office .item {
	padding-bottom: 12px;
}

#office .item:last-child {
	padding-bottom: 0;
	margin-bottom: -2px;
}

#office .item::after {
	content: "";
	clear: both;
	display: table;
}

#office figure {
	width: calc(50% - 25px);
	float: left;
}

#office h3, #office p {
	margin-left: calc(50% - 5px);
}

.width-three img {
	width: calc(50% - 10px);
}

.width-four img {
	width: calc(100% / 6 * 4 - 10px);
}

.width-five img {
	width: calc(100% / 6 * 5 - 10px);
}

.left-one img {
	position: relative;
	left: calc(100% / 6 * 1 + 10px);
}

.left-two img {
	position: relative;
	left: calc(100% / 6 * 2 + 10px);
}

.left-three img {
	position: relative;
	left: calc(100% / 6 * 3 + 10px);
}

.top-minus-one img {
	position: relative;
	margin-top: -10%;
}

.top-one img {
	position: relative;
	margin-top: 10%;
}

.top-two img {
	position: relative;
	margin-top: 20%;
}

#images {
	padding-bottom: 39px;
}

#text {
	padding-bottom: 27px;
}

#switchbig {
	display: block;
	width: 5%;
	position: absolute;
	left: calc(100% / 20 * 8);
	top: 23px;
	z-index: 10000;
}

#switchbig li {
	list-style: none;
}

#switch {
	display: none;
}

#zoomtitle {
	margin: 0;
	position: absolute;
	left: 25px;
	top: 23px;
}

#zoomclose {
	margin: 0;
	position: absolute;
	right: 25px;
	top: 23px;
}

.gallery-track {
	margin-top: 75px;
	height: calc(100vh - 155px);
}

.gallery-slide img {
	max-height: calc(100vh - 155px);
}

.gallery-dots {
	bottom: -27px;
}

}


@media screen and (min-width: 1700px) {

body {
	font-size: 24px;
	line-height: 30px;
	letter-spacing: 0.005em;
}

a:hover, a:active {
	position: relative;
	margin-top: -1px;
	margin-bottom: -5px;
}

.active a:link, .active a:visited {
	position: relative;
	margin-top: -1px;
}

.active a:hover, .active a:active {
	position: relative;
	margin-top: -1px;
}

.active li a:hover, .active li a:active {
	margin-top: -1px;
	margin-bottom: -5px;
}

.active ul a:link, .active ul a:visited {
	position: relative;
	margin-top: 0;
	margin-bottom: -2px;
	
}

.active .active a:hover, .active .active a:active {
	position: relative;
	margin-bottom: -2px;
	
}

#text a:hover, #text a:active {
	border-bottom: none;
	position: relative;
	margin-bottom: 2px;
}

#text p a:hover, #text p a:active, #text dl a:hover, #text dl a:active {
	position: relative;
	margin-bottom: 0;
}

#text p, #text dl {
	margin-bottom: 25px;
	font-size: 20px;
	line-height: 25px;
	letter-spacing: 0.02em;
}

#text li {
	list-style: none;
	text-indent: -19px;
}

#text li:before {
	padding-right: 7px;
}

main h2 {
	min-width: 500px;
}

#office h3 {
	margin-bottom: 25px;
}

.gallery-track {
	margin-top: 78px;
	height: calc(100vh - 160px);
}

.gallery-slide img {
	max-height: calc(100vh - 160px);
}

.gallery-dots {
	bottom: -28px;
}

#images a:hover img, #images a:active img {
	margin-top: 1px;
}

}


@media screen and (min-width: 2000px) {

header, #baut {
	left: 1510px;
}

nav {
	width: 760px;
}

main {
	padding-left: 900px;
	width: 600px;
	padding-right: calc(100% - 1500px);
}

#office {
	padding-left: 315px;
	width: 1185px;
}

#switchbig {
	left: 800px;
	width: 80px;
}

}