@charset "UTF-8";
/* CSS Document */

@import url('https://fonts.googleapis.com/css?family=PT+Sans:400,700i|PT+Serif:400,400i');

html {
	height: 110%; /*=> immer Scrollbalken, damit die Seite nicht ruckt.*/
	-webkit-text-size-adjust: none;
}

body {
	color: #000;
    width: 100%;
	min-height: 100%;
	font-family: 'PT Sans', Arial, Verdana, sans-serif;
	font-size: 100%;
	line-height: 120%;
	/*background-image: url(_i/bg-P1020203.jpg);
	background-repeat: repeat-y;
	background-attachment:fixed;*/
	/*background-position: 50% 0;*/
	background-color: #FFF;
	margin: 0;
	padding: 0;
}

/* ========= S E I T E ========================================================================================== */

#bg {
	display: block;
	/*justify-content: center;*/
	/*margin: 0 auto 0 auto;*/
	/*background-image: url(_i/bg-rand.svg);
	background-repeat: no-repeat;*/
	/*opacity: 0.9;*/
	width: 100%;
    padding: 0;
    margin: 0;
/*
	min-width: 760px;
	min-height: 800px;
*/
	background-color: #FFF;
	/*border-radius: 6px 6px 0 0;*/
}

/* ========= B L Ö C K E ========================================================================================== */

header {
	display: block;
  position: fixed;
	top: 0;
	background-color: #222;
	width: 100%;
	margin: 0 0 10px 0;
	padding: 0;
  border-bottom: 1px solid #FFF;
}

header h1 {
	color:#CCC;
	font-size:3em;
	font-weight:400;
  font-style: italic;
	margin: 0 10px 15px 25%;
	padding: 0;
	line-height: 100%;
}

header h2 {
	color:#C1A07F;
	font-size:1.2em;
	margin: 0 10px 0 1px;
	padding: 0;
}

#smartmenu {
	display:none;
}

#kopfbild {
	background-size:100%;
	width: 100%;
	height: 120px;
	margin: 0;
  padding: 0;
	clear: both;
}

#logo {
	margin-top: 35px;
	float:left;
}

#logo img {
	width: 80px;
	height: auto;
}

/* ========= N A V I ========================================================================================== */

nav {
	display: block;
  /* float: right; */
	height: 40px;
	margin: 40px 0 0 0;
	padding: 0;
}

nav ul {
	font-weight:700;
	margin: 0;
	padding: 0;
	line-height: 40px;
}

nav ul li {
	display: block;
	position:relative;
	float: left;
	list-style: none;
	margin: 0;
	padding: 0 18px 0 18px;
	/*height: 100%;*/
  height: 40px;
  background-color: none;
	border-right: 1px dashed #FFF;
}

nav ul li:last-of-type {
    border-right: none;
}

nav ul li ul {
	/*Submenü geschlossen*/
	visibility:hidden;
	display: block;
	position:absolute;
	top: 40px;
	left: 0;
	height: 0;
	transition: height 0.25s ease-in-out;
}

nav ul li ul li {
	/*Submenü*/
	background-color:#666; /*#F30;*/
	width: 100px;
	border-right: none;
	border-top: 1px solid #FFF;
	margin: 0;
	padding: 0 18px 0 18px;
}

/*nav ul li ul.submenurechts {
	left: -48px;
}

nav ul li ul li.submenurechts {
	width: 80px;
}
*/

nav ul li:hover ul {
	/*Submenü offen*/
	visibility:visible;
	display: block;
	height: 40px;
	transition: height 0.25s ease-in-out;
}

nav a {
	display: block;
	color:#FFF;
	margin: 0;
	/* height: 100%; */
}

nav a:visited {
	color:#FFF;
}

nav ul li:hover {
	/*hover alle (direkter Link und Submenü)*/
	display: block;
	background-color:#999; /*#FFB500;*/
}

nav .binhier {
	display: block;
	color:#fff601;
	/*border-top: 1px dotted #DDD;*/
	/*background-color:#555; /*#F25100;*/
	/*opacity: 0.9;*/
}

nav .binhier:hover {
    background-color: unset;
}

#navigation {
  position: absolute;
	right: 0;
}

/* ========= C O N T E N T ========================================================================================== */

main {
	display: block;
	margin: 0 10% 0 10%;
  padding: 120px 0 0 0;
}

/* ========= A B S A T Z ========================================================================================== */

p, ul li {
	font-family: 'PT Serif', serif;
	font-size: 1.05em;
	line-height: 130%;
	color:#444;
	padding: 0;
	margin: 0 0 0.5em 0;
}

ul li {
    margin: 0 0 0 0;
}

section li {
	margin: 0 0 0 -18px;
}

.tech {
	font-family: 'PT Sans', Arial, Verdana, sans-serif;
	font-size: 100%;
	line-height: 120%;
}

a {
	text-decoration:none;
}

a:hover {
	text-decoration:underline;
}

a, a:visited {
	color:#F30;
}

h1 {
  line-height: 110%;
	margin: 25px 0 5px 0;
  max-width: 18cm;
}

h2 {
	color: #666;
	font-weight: normal;
	font-size: 1.75em;
	margin: 40px 0 20px 0;
}

h3 {
	margin: 40px 0 10px 0;
	font-weight: 400;
	font-size: 1.2em;
	line-height: 110%;
	color: #555;
}

main p {
	margin: 0 60px 20px 0.1em;
  max-width: 15cm;
}

main p.h1sub {
  font-size: 0.9em;
	font-weight:700;
  margin:4px 0 20px 0.1em;
  padding: 0;
}

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

#zitat {
	background-image: url(_i/bg-zitat.svg);
	background-repeat: no-repeat;
	background-position: 50% 0;
	width: 400px;
	height: 100%;
	min-height: 180px;
	margin: 40px auto 20px auto;
	padding-top: 15px;
	font-size: 1.5em;
	line-height: 120%;
	text-align: center;
}

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

.XXXzitatautor {
	text-align: center;
	font-size: 0.65em;
	padding:0;
}

/* ------------------------------------------------------------- */

.bildgr {
	width:100%;
    margin-top: 20px;
}

.bildkl {
	width:50%;
    margin: 0 0 20px 0;
}

.bildmini {
	width:20%;
    margin: 0 0 20px 0;
}

/* einfache Version: nur zentriert*/
.preview {
	display: flex;
	align-items: center;
	justify-content: center;
	background:#EEE;
	float:left;
	width:144px;
	height:144px;
	margin:0 5px 5px 0;
	overflow:hidden;
}

.preview img, .bildgr img {
	width:100%;
	height:auto;
	object-fit: cover;
	text-align:center;
}

/*funktioniert überall, behandelt aber hoch und quer nicht gleich*/
.miniatur {
	position: relative;
  	overflow: hidden;
	background:#EEE;
	float:left;
	width:144px;
	height:144px;
	margin:0 5px 5px 0;
}

.miniatur img {
	position: absolute;
	left: 50%;
	top: 50%;
	height: 100%;
	width: auto;
	transform: translate(-50%,-50%);
}

/*it!*/
.prequad {
	float:left;
	width:144px;
	height:144px;
	margin:0 5px 5px 0;
}

.prequad img {
	height: 144px;
	width: 100%;
	object-fit: cover;
	object-position: center;
	overflow: hidden;
}

/* ------------------------------------------------------------- */

.sectionstart {
	float:right;
	width: 330px;
	margin: 20px 0 0 0;
}

/* ------------------------------------------------------------- */

.bild {
	margin: 5px 0 10px 0;
	text-align: center;
}

/*
.bild img {
	border-radius: 6px;
}
*/

#matrix {
    display: grid;
    /*width:100%;*/
    /*max-width: 99em;*/
    grid-template-columns: 1fr 1fr 1fr 1fr; /*auto auto auto;*/
}

#bildersmart {
	display: none;
}

.zelle {
    padding: 0;
    margin: 0 4% 5% 0;
 }

.zelle:nth-of-type(4n+0) {
    margin-right: 0;
}

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

p.bildtxtz1, p.bildtxtz2 {
	font-size: 0.9em;
	font-weight:700;
    margin:0;
    padding: 0;
}

p.bildtxtz2 {
    font-weight: 400;
}

/* ========= F O O T E R ========================================================================================== */

#abschlusskleber {
	display: block;
	/* notwendig, damit die Abschluss-Rundung [#abschluss] am Bg [#stage] klebt (sonst Abstand) */
	margin:0;
	height:0.001em;
}

#abschluss {
	display: block;
	background-color:#fff;
	/*opacity: 0.9;*/
	width:100%;
	height: 20px;
	/*margin: 0 auto 10px auto;*/
	padding: 0;
	/*border-radius: 0 0 10px 10px;*/
}

/* ------------------------------------------------------------- */

footer {
	display: block;
	background-color: #222;
	/*margin: 0 auto 0 auto;*/
	padding: 20px 0 0 0;
	/*border-radius: 10px;*/
	width:100%;
	height: auto;
	min-height: 100px;
	font-size: 0.9em;
	line-height: 140%;
}

footer ul {
	/*display: block;*/
	padding: 0 0 0 32px;
	margin: 0;
}

footer ul li {
	/*display:inline;*/
	float: none;
	list-style: none;
}

footer a, footer a:visited {
	color:#FFF;
	padding: 0 10px 0 10px;
}

footer a:hover {
	background-color:#F30;
	border-radius: 3px;
}

/* ========= H I L F S M I T T E L ========================================================================================== */

.umbruch {
	clear:both;
}

.umbruchR {
	clear:right;
}

.abstandSmart {
	display:none;
}

.abstandSmart {
    display:none;
}

/* ------------------------------------------------------------- */

.abstand05 {
	clear:both;
	width: 100%;
	margin: 5px 0 0 0;
}

.abstand10 {
	clear:both;
	margin: 10px 0 0 0;
}

.abstand20 {
	clear:both;
	margin: 20px 0 0 0;
}

.abstand40 {
	clear:both;
	margin: 40px 0 0 0;
}

/* ========================================================================================================================================================== */
/* ========================================================================================================================================================== */
/* ========================================================================================================================================================== */

/* ----- Seitenanpassung bis 960 ---------------------------------------------------------*/

@media screen and (max-width:960px) {

#matrix {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.zelle:nth-of-type(4n+0) {
    margin-right: 4%;
}

.zelle:nth-of-type(3n+0) {
    margin-right: 0;
}

}

/* ----- Seitenanpassung smart ---------------------------------------------------------*/

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

#kopfbild {
	height: 44px;
	margin: 0;
}

#logo {
	margin: 4px 0 0 0;
}

#logo h1 {
	font-size: 32px;
	margin: 0 0 0 42px;
}

.abstandSmart {
	display:block;
  margin-top: 10px;
  height: 10px;
}

#stage, #abschluss {
	width: 90%;
}

#bildli, #bildre {
	background-size: 70%;
	min-height: 230px;
}

.bildkl {
	width:60%;
    margin: 0 10% 20px 42px;
}

.bildmini {
	width:30%;
    margin: 0 10% 20px 10%;
}

/* ----- Galerie ---------------------------------------------------------*/

#matrix {
	display: none;
  /* grid-template-columns: 1fr 1fr; */
}

#bildersmart {
	display: block;
}

#bildersmart .bildtxtz1, #bildersmart .bildtxtz2 {
	margin-left: 15px;
}

.zelle:nth-of-type(3n+0) {
    margin-right: 4%;
}

.zelle:nth-of-type(2n+0) {
    margin-right: 0;
}

/* -----------------------------------------------------------------------*/

nav {
	width: 100%;
	height: auto;
	margin: 50px 0 0 0;
	background-color: #222;
}

nav ul li {
	display: block;
	float: none;
	border-right: none;
	border-top: 1px dashed #FFF;
	padding: 2px 0 0 42px;
	height: 24px;
	width: 100%;
}

#smartmenu {
	display:block;
	position:fixed;
	z-index:50;
	height: 50%;
	/* vertical-align:top; */
	margin: 10px 0 5px 10px;
	cursor: pointer;
}

#navigation {
  margin: 44px 0 0 0;
}

/* -----------------------------------------------------------------------*/

main {
	width: 100%;
	margin:50px 0 0 0;
}

main.galerie {
	margin: 0;
	padding: 60px 0 0 0;
}

main p, main h1, main h2, main h3 {
	margin: 0 10% 0 41px;
}

main h1 {
	margin-left: 40px;
}

main p.h1sub {
  margin:4px 0 20px 41px;
}

main h1, main h2, main h3 {
	line-height: 120%;
}

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

.sectionstart {
	float: none;
	width: 100%;
	margin: 10px 0 0 0;
}

#subnavi {
	float:none;
	clear: both;
	margin: 0 0 0 5%;
	padding-top: 2px;
	padding-bottom: 2px;
}

#zitat {
	width: 80%;
	height: 100%;
	background-position: 50% 50%;
	background-size: 80%;
	margin: 0 auto 40px auto;
	padding:0;
	font-size: 1.3em;
}

.bild {
	width: 100%;
}

.bild img {
	border-radius: 0;
}

section li {
	margin: 0 0 0 -8px;
}

}
