/*
-----------------------------------------------
		www.studioleuschner.com
	 by www.kuchenbeiser.de
	  & www.lichtsignale.de
----------------------------------------------- */


/*		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;
	    -webkit-text-size-adjust: 100%;
}

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

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { 
	    display: block;
}

blockquote, q {
	    quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	    content: "";
	    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 S I C S
----------------------------------------------- */

/* Stempel Garamond: MyFonts Webfont Build ID 3503989, Lizenz https://www.myfonts.com/viewlicense?type=web&buildid=3503989 */

@font-face {
		font-family: "StempelGaramondLT-Roman";
		src: url("webfonts/357775_0_0.woff2") format("woff2");
		font-display: swap;
}

@font-face {
		font-family: "StempelGaramond-RomanOsF";
		src: url("webfonts/357775_1_0.woff2") format("woff2");
		font-display: swap;
}

@font-face {
		font-family: "StempelGaramond-ItalicOsF";
		src: url("webfonts/357775_2_0.woff2") format("woff2");
		font-display: swap;
}


body {
		color: #555;
		background: #fff;
		font-family: "StempelGaramondLT-Roman", "Georgia", "Times New Roman", "Times", serif;
		font-size: 100%;
		line-height: calc(19 / 16);
		letter-spacing: 0.01em;
		text-align: center;
}

a:link, a:visited {
		color: #555;
		text-decoration: none;
}

/* Text-Rot eine Spur dunkler als die Wortmarke (#ef022d): 4,55:1 auf Weiß */
a:hover, a:active {
		color: #ec022c;
}

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

.active a {
		color: #555;
		cursor: default;
		border-bottom: 1px solid #555;
		padding-bottom: 5px;
}


/*		D E S I G N
----------------------------------------------- */

#wrapper {
		max-width: 1000px;
		margin: auto;
}

header {
		margin: 38px auto 38px auto;
}

header h1 a:link, header h1 a:visited {
		display: inline-block;
		vertical-align: top;
		color: #ef022d;
}

header h1 a:hover, header h1 a:active {
		color: #555;
}

/* Wortmarke als Pfade (New Rail Alphabet), zwei Stufen wie die Schriftgrößen */

.wm {
		display: block;
}

.wm-g {
		display: none;
}

.wm-defs {
		position: absolute;
}

.vh {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
}

nav {
		margin-top: 15px;
}

nav li {
		display: inline-block;
		margin: 0 7px;
		width: 100px;
}

nav li:first-child {
		text-align: right;
}

nav li:last-child {
		text-align: left;
}

.project {
		width: auto;
		margin: 0 auto;
		padding: 0 19px 76px 19px;
		max-width: 1200px;
		clear: both;
}

.pl + .project {
		padding: 19px 0 76px 0;
}

.project:after {
		content: ".";
		clear: both;
		display: block;
		visibility: hidden;
		height: 0px;
}

.toggle {
		font-size: 150%;
		line-height: 1;
		margin-top: 1px;
		display: inline-block;
}

.toggle:hover, .projekt:hover, .biolink:hover, .pl:has(.projekt:hover), .pl:has(dt:hover) {
		color: #ec022c;
}

.pl dt {
		cursor: pointer;
}

/* Trefferfläche mindestens 44 px, das Bild bleibt gleich */

.toggle, nav a {
		position: relative;
}

.toggle::after, nav a::after {
		content: "";
		position: absolute;
		left: 50%;
		top: 50%;
		width: max(100%, 44px);
		height: 44px;
		transform: translate(-50%, -50%);
}

/* Telefon und Mail untereinander: Trefferfläche 24 px hoch, Zeilenabstand bleibt */
.spalte a[href^="tel:"], .spalte a[href^="mailto:"] {
		display: inline-block;
		padding: 3px 0;
		margin: -3px 0;
}

.fuss {
		clear: both;
		padding: 0 19px 38px 19px;
}

.fuss:after {
		content: "";
		display: block;
		clear: both;
}

.data {
		margin: 19px auto 38px auto;
		font-family: "StempelGaramond-RomanOsF", "Georgia", "Times New Roman", "Times", serif;
}

.textleft, .textright {
		text-align: left;
		padding-bottom: 19px;
		-webkit-hyphens: auto;
		-moz-hyphens: auto;
		hyphens: auto;
		font-family: "StempelGaramond-RomanOsF", "Georgia", "Times New Roman", "Times", serif;
}

em {
		font-family: "StempelGaramond-ItalicOsF", "Georgia", "Times New Roman", "Times", serif;
}

.inhalt {
		margin: 0 auto;
		padding: 0 19px 38px 19px;
		max-width: 1200px;
		clear: both;
}

.inhalt:after {
		content: ".";
		clear: both;
		display: block;
		visibility: hidden;
		height: 0px;
}

dt {
		text-align: left;
}

dd, .spalte {
		text-align: left;
}

.spalte {
		clear: both;
}

.klapp {
		clear: both;
		overflow: hidden;
}

/*		B I L D F O L G E   U N D   S C H A L T E R
----------------------------------------------- */

[hidden] {
		display: none !important;
}

button {
		margin: 0;
		padding: 0;
		border: 0;
		border-radius: 0;
		background: none;
		color: inherit;
		font: inherit;
		letter-spacing: inherit;
		text-align: inherit;
		cursor: pointer;
		-webkit-appearance: none;
		appearance: none;
}

/* Der Reset oben nimmt allem den Rahmen; für die Tastatur kommt er hier zurück */
:focus-visible, a:focus-visible {
		outline: 1px solid #555;
		outline-offset: 3px;
}

.schau-bahn {
		display: flex;
		gap: 20px;
		aspect-ratio: 960 / 600;
		overflow-x: auto;
		overflow-y: hidden;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
		cursor: grab;
}

.schau-bahn::-webkit-scrollbar {
		display: none;
}

.schau-bahn.zieht {
		scroll-snap-type: none;
		cursor: grabbing;
		user-select: none;
}

.schau-bild {
		flex: 0 0 100%;
		scroll-snap-align: start;
		scroll-snap-stop: always;
}

.schau-bild img {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: contain;
		-webkit-user-drag: none;
}

.schau-nr {
		font-size: 250%;
		line-height: 1.1;
		margin-top: 17px;
		text-align: center;
}


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

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

.data {
		max-width: 48%;
}

.textleft {
		width: 48%;
		width: calc(50% - 10px);
		float: left;
}

.textright {
		width: 48%;
		width: calc(50% - 10px);
		float: right;
}

dt {
		width: 48%;
		width: calc(50% - 10px);
		float: left;
		text-align: right;
		clear: both;
}

dd, .spalte {
		width: 48%;
		width: calc(50% - 10px);
		float: right;
}


}


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

.wm-k {
		display: none;
}

.wm-g {
		display: block;
}

#wrapper {
		max-width: 1200px;
		margin: auto;
}

body {
		font-size: 118.75%;
		line-height: calc(24 / 19);
}

.schau-nr {
		line-height: calc(44 / 47.5);
}

header {
		margin: 48px auto 48px auto;
}

nav {
		margin-top: 17px;
}

nav li {
		display: inline-block;
		margin: 0 10px;
}

.data {
		margin: 24px auto 48px auto;
}

.textleft, .textright {
		padding-bottom: 24px;
}

.inhalt {
		padding: 0 19px 48px 19px;
}

.textleft {
		width: calc(50% - 12px);
}

.textright {
		width: calc(50% - 12px);
}

dt {
		width: calc(50% - 12px);
}

dd, .spalte {
		width: calc(50% - 12px);
}

}