@charset "utf-8";

/* HAUS.CSS */
/* letzte Aenderung am 10.2.2023 um 18:00 Uhr CC*/

/* ~ iPhone8 plus: 414 x 736 ---------------- 1 -- */
@media only screen and (min-width: 380px) and (max-width: 699px) {
div.rahmen {}
.flexbox {}
div.spalte1 {}
div.spalte2 {}
.p-h1 {
	width: 94%;
	margin-right: 3%;
	margin-left: 3%;
	line-height: 105%;
	position: relative;
	}
.i-portrait {
	display: block;
	width: 100%;
	border-radius: 0px;
	margin-top: 12px;
	margin-bottom: 12px;
	}
.i-portrait-kleiner {
	display: block;
	width: 100%;
	border-radius: 0px;
	margin-bottom: 12px;
	}
}

/* ~ Handy landscape ------------------------ 1q - */
/* Pre-Design: 736px, (iPhone8 quer) */
@media only screen and (min-width: 700px) and (max-width : 991px) {
div.rahmen {}
.flexbox {}
div.spalte1 {}
div.spalte2 {}
.p-h1 {
	width: 94%;
	margin-right: 3%;
	margin-left: 3%;
	line-height: 105%;
	position: relative;
	}
.i-portrait {
	display: block;
	width: 80%;
	margin-left: 10%;
	border-radius: 9px;
	margin-top: 12px;
	margin-bottom: 14px;
	}
.i-portrait-kleiner {
	display: block;
	width: 80%;
	margin-left: 10%;
	border-radius: 9px;
	margin-bottom: 14px;
	}
}
	
/* ~ Huawei P20: 360 x 760px ---------------- 2 -- */
@media only screen and (min-width: 331px) and (max-width : 379px) {
div.rahmen {}
.flexbox {}
div.spalte1 {}
div.spalte2 {}
.p-h1 {
	width: 96%;
	margin-right: 2%;
	margin-left: 2%;
	line-height: 105%;
	position: relative;
	}
.i-portrait {
	display: block;
	width: 100%;
	border-radius: 0px;
	margin-top: 12px;
	margin-bottom: 12px;
	}
.i-portrait-kleiner {
	display: block;
	width: 100%;
	border-radius: 0px;
	margin-bottom: 12px;
	}
}

/* ~ iPhone SE und 5s: 320 x 568 ------------ 3 -- */
@media only screen and (max-width : 330px) {
div.rahmen {}
.flexbox {}
div.spalte1 {}
div.spalte2 {}
.p-h1 {
	width: 96%;
	margin-right: 2%;
	margin-left: 2%;
	line-height: 105%;
	position: relative;
	}
.i-portrait {
	display: block;
	width: 100%;
	border-radius: 0px;
	margin-top: 12px;
	margin-bottom: 12px;
	}
.i-portrait-kleiner {
	display: block;
	width: 100%;
	border-radius: 0px;
	margin-bottom: 12px;
	}
}

/* ~ Tablet --------------------------------- 4 -- */
/* Pre-Design: 1112px, (iPad Pro) */
@media only screen and (min-width: 992px) and (max-width : 1499px) {
div.rahmen { /* für Text neben Bild */
	position: relative;
	width: 100%;
	margin: auto;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	}
.flexbox { /* für Galerie */
	width: 100%;
	margin: auto;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 40px;
	row-gap: 20px;
	}
div.spalte1 {
	width: 50%;
	text-align: right;
	}
div.spalte2 {
	width: 50%;
	}
.p-h1 {
	width: 60%;
	padding-right: 10%;
	padding-left: 30%;
	line-height: 105%;
	position: relative;
	}
.i-portrait {
	display: block;
	width: 400px;
	border-radius: 8px;
	margin-bottom: 16px;
	}
.i-portrait-kleiner {
	display: block;
	width: 320px;
	border-radius: 8px;
	margin-bottom: 16px;
	}
}

/* ~ Desktop -------------------------------- 5 -- */
/* Pre-Design: 1680px (mein Bildschirm) */
/* Menü-Zeile */
@media only screen and (min-width: 1500px) and (max-width: 1919px) {
div.rahmen { /* für Text neben Bild */
	position: relative;
	width: 1000px;
	margin: auto;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	}
.flexbox { /* für Galerie */
	width: 80%;
	margin: auto;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 40px;
	row-gap: 20px;
	}
div.spalte1 {
	width: 550px;
	text-align: right;
	}
div.spalte2 {
	width: 450px;
	}
.p-h1 {
	width: 80%;
	padding-right: 10%;
	padding-left: 10%;
	line-height: 105%;
	position: relative;
	}
.i-portrait {
	display: block;
	width: 420px;
	border-radius: 8px;
	margin-bottom: 20px;
	}
.i-portrait-kleiner {
	display: block;
	width: 300px;
	border-radius: 8px;
	margin-bottom: 16px;
	}
}
	
/* ~ Widescreen ----------------------------- 6 -- */
/* Menü-Zeile, fixes Layout */
/* Heike: HD = 1920x1080px */
@media (min-width: 1920px) {
div.rahmen { /* für Text neben Bild */
	position: relative;
	width: 1100px;
	margin: auto;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-flow: row wrap;
	flex-flow: row wrap;
	}
.flexbox { /* für Galerie */
	width: 80%;
	margin: auto;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	column-gap: 40px;
	row-gap: 20px;
	}
div.spalte1 {
	width: 600px;
	text-align: right;
	}
div.spalte2 {
	width: 500px;
	}
.p-h1 {
	width: 80%;
	padding-right: 10%;
	padding-left: 10%;
	line-height: 105%;
	position: relative;
	}
.i-portrait {
	display: block;
	width: 480px;
	border-radius: 8px;
	margin-bottom: 16px;
	}
.i-portrait-kleiner {
	display: block;
	width: 360px;
	border-radius: 8px;
	margin-bottom: 16px;
	}
}
