/*
 Theme Name:   OceanWP Child
 Description:  Child Theme des high-performance WP-Theme OceanWP
 Author:       Philipp Limbeck
 Author URI:   https://insyde.at/
 Template:     oceanwp
 Version:      1.0
 Text Domain:  oceanwp-child
*/

/* overwrite general settings of oceanwp for focus of links (black border) */
#main a:focus,
#site-header a:focus,
#footer a:focus {
	outline: 0 !important;
}

:root {
	--farbe-schwarz: #030303;
	--farbe-weiss: #ffffff;
	--farbe-gold: #D0B07C;
	--farbe-warmweiss: #EEEDEB;
	--farbe-beige: #D3C6AF;
}

#main p,
#main li,
#footer p{
	font-family: 'Bodoni Moda';
	font-style: italic;
}
#footer p{
	font-style: normal !important;
}

body.page-id-impressum .steppenfeder-header-mitte ul#menu-menue-mitte,
.header-zeile #header-eierreiter-logo-mobil{
	display: none;
}

body.page-impressum h1,
body.page-datenschutz h1{
	color: var(--farbe-gold);
}

/* Steppenfeder Header BEGINN */
#site-header,
.steppenfeder-menu-rechts {
	display: none;
}

#steppenfeder-header {
	position: relative;
	z-index: 100;
	height: 183px;
	background: var(--farbe-weiss);
	overflow: visible;
}

.steppenfeder-header-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	height: 100%;
	padding: 0 12%;
}

.steppenfeder-menu,
.steppenfeder-menu li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.steppenfeder-menu a {
	text-decoration: none;
}

/* Links */
.steppenfeder-header-links {
	justify-self: start;
}

.steppenfeder-menu-links a {
	display: block;
	line-height: 0;
}

.steppenfeder-menu-links img {
	display: block;
	width: 360px;
	height: auto;
}

.steppenfeder-menu-mitte a {
	display: block;
	line-height: 0;
	pointer-events: none;
}

.steppenfeder-menu-mitte img {
	display: block;
	/*width: 230px;*/
	width: 260px;
	height: auto;
	transform: scale(1.435);
	transform-origin: center center;
}

/* Rechts */
.steppenfeder-header-rechts {
	position: relative;
	display: flex;
	align-items: center;
	justify-self: end;
	gap: 12px;
	text-align: right;
}

.steppenfeder-header-rechts.is-open .steppenfeder-menu-rechts {
	display: block;
}

.steppenfeder-menu-rechts li {
	display: flex;
	justify-content: flex-end;
}

.steppenfeder-menu-rechts a {
	display: block;
	color: var(--farbe-schwarz);
	font-family: 'Bodoni Moda';
	font-size: 20px;
	font-weight: 700;
}

.steppenfeder-menu-rechts .gold,
.steppenfeder-menu-rechts a:hover {
	color: var(--farbe-beige);
}

.steppenfeder-menu-toggle {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.steppenfeder-menu-toggle span {
	display: block;
	width: 42px;
	height: 6px;
	background: var(--farbe-beige);
	border-radius: 3px;
}
/* Steppenfeder Header ENDE */


/* Sektion Header BEGINN */
.header-zeile {
	position: relative;
}

.header-zeile .vc_column-inner {
	position: relative;
	padding: 0;
}

.header-zeile .wpb_single_image img {
	display: block;
	width: 100%;
	height: auto;
}

.header-zeile-text {
	position: absolute;
	inset: 0;
	z-index: 2;
	margin: 0 !important;
}

.header-zeile-text h1,
#main .header-zeile-text p {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 90%;
	margin: 0;
	font-family: 'Baloo';
	font-style: normal;
	opacity: 0.86;
}

.header-zeile-text h1 {
	top: 20%;
	color: var(--farbe-weiss);
	font-size: clamp(30px, 2.8vw, 48px);
}

#main .header-zeile-text p {
	bottom: 8%;
	color: var(--farbe-weiss);
	font-size: clamp(30px, calc(4.375vw - 12px), 100px);
}

/* Geheimtipp Ei */
.header-zeile .geheimtipp-ei {
	position: absolute;
	top: 42%;
	left: 74%;
	z-index: 5;
	margin: 0;
	transform: translate(-50%, -50%);
}

/* Grundstruktur */
.geheimtipp-ei,
.geheimtipp-ei figure,
.geheimtipp-ei .wpb_wrapper {
	position: relative;
	display: inline-block;
}

.geheimtipp-ei a {
	--egg-url: url('/wp-content/uploads/2026/09/Geheimtipp-Ei.png');
	position: relative;
	display: inline-block;
	width: 105px;
	line-height: 0;
	transform-origin: center bottom;
	animation: geheimtipp-ei-hop 3.2s ease-in-out infinite;
	filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.18));
	will-change: transform;
}

.geheimtipp-ei img {
	display: block;
	width: 100%;
	height: auto;
	opacity: 0;
}

.geheimtipp-ei a::before,
.geheimtipp-ei a::after {
	content: '';
	position: absolute;
	inset: 0;
	background-image: var(--egg-url);
	background-repeat: no-repeat;
	background-size: 100% 100%;
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
}
.geheimtipp-ei a::before {
	clip-path: polygon(0 0, 58% 0, 47% 100%, 0 100%);
}
.geheimtipp-ei a::after {
	clip-path: polygon(58% 0, 100% 0, 100% 100%, 47% 100%);
}
.geheimtipp-ei a:hover::before,
.geheimtipp-ei a:focus::before {
	transform: translateX(-10px) translateY(-4px) rotate(-12deg);
}
.geheimtipp-ei a:hover::after,
.geheimtipp-ei a:focus::after {
	transform: translateX(10px) translateY(-4px) rotate(12deg);
}
.geheimtipp-ei a:hover,
.geheimtipp-ei a:focus {
	animation-duration: 1.4s;
}
/* Sektion Header ENDE */


/* Sektion doppelte bzw. 2 Überschriften BEGINN */
.section-heading {
	text-align: center;
	margin-bottom: 40px;
}

.section-heading h2,
.section-heading h3,
.section-heading-kontakt h4 {
	margin: 0;
	font-family: 'Baloo';
}

.section-heading h2 .ei,
.section-heading-gold h2 {
	color: var(--farbe-gold);
}

.section-heading-gold h2 .schwarz {
	color: var(--farbe-schwarz);
}

/* Trennlinie */
.section-heading h2::after,
.section-heading-kontakt h4::after {
	content: "";
	display: block;
	width: 530px;
	max-width: 90%;
	height: 1px;
	background: var(--farbe-schwarz);
	margin: 16px auto 20px;
}

/* Kontakt */
.section-heading-kontakt h4 {
	color: var(--farbe-schwarz);
	font-size: 40px;
	font-weight: 700;
	line-height: 1.1;
}
/* Sektion doppelte bzw. 2 Überschriften ENDE */


/* Sektion Eier-Trenner BEGINN */
.eier-trenner {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: 100%;
	overflow: hidden;
	padding: 20px 0;
	gap: 4px;
}

.eier-trenner-ei {
	display: block;
	flex: 0 0 auto;
	margin: 0 -1px;
	transform: translateY(0);
	transition: transform 0.14s ease-in-out;
}

.eier-trenner-ei img {
	display: block;
	width: 42px;
	height: auto;
}

.eier-trenner-ei.ist-oben {
	transform: translateY(-22px);
}
/* Sektion Eier-Trenner ENDE */


/* Sektion Eier-KAUF-BOX BEGINN */
.eier-produkt-text {
	text-align: center;
}

.eier-produkt-text p:nth-of-type(1) {
	margin: 0 0 8px;
	font-size: 52px;
	line-height: 1;
}

#main .eier-produkt-text p:nth-of-type(2) {
	margin: 0 0 16px;
	font-size: 20px;
	font-weight: 700;
	font-style: normal;
	line-height: 1.2;
	text-transform: uppercase;
}

#main .eier-produkt-text p:nth-of-type(3) {
	margin: 0 0 16px;
	font-size: 18px;
	font-style: normal;
	line-height: 1.4;
}

.eier-produkt-text p:nth-of-type(4) {
	margin: 0;
	font-size: 46px;
	font-style: italic;
	line-height: 1;
}
/* Sektion Eier-KAUF-BOX ENDE */


/* Parallax BEGINN */
.parallax-row,
.parallax-row > .wpb_column,
.parallax-row .vc_column-inner,
.parallax-row .wpb_wrapper,
.parallax-row .wpb_raw_code {
	overflow: visible !important;
}

.parallax-row {
	position: relative;
	z-index: 1;
	margin-top: 8vw;
	/*margin-bottom: 2vw;*/
}

/* Parallax Hintergrundbild */
body.home #parallax-container {
	background-image: url('/wp-content/uploads/2026/09/Kinder-mit-Huhn.jpg');
}

#parallax-container {
	position: relative;
	height: 98vh;
	min-height: 700px;
	background-attachment: fixed;
	background-position: top center;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: visible !important;
}

/* Ei */
#parallax-container .parallax-ei {
	position: absolute;
	z-index: 20;
	top: -145px;
	left: 50%;
	/*width: 280px;*/
	width: 310px;
	margin: 0;
	transform: translateX(-50%);
	overflow: visible;
}

#parallax-container .parallax-ei img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	border-radius: 50% 50% 47% 47% / 42% 42% 58% 58%;
}

/* Claim */
#parallax-container .parallax-claim {
	position: absolute;
	z-index: 10;
	top: 28%;
	left: 58%;
	margin: 0;
	color: var(--farbe-warmweiss);
	font-family: 'Baloo';
	font-size: 80px;
	line-height: 1.05;
	opacity: 0.8;
}

#parallax-container .parallax-claim span {
	display: inline-block;
	margin-left: 28px;
}

/* Safari / iOS */
@supports (-webkit-touch-callout: none) {
	#parallax-container {
		background-attachment: scroll !important;
	}
}
/* Parallax ENDE */






/* Google Maps Karte im Footer TEST BEGINN */
.kontakt-map {
	position: relative;
}

.kontakt-map-ei {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 55px;
	height: auto;
	transform: translate(-50%, -50%);
	pointer-events: none;
	filter: drop-shadow(0 4px 5px rgba(0, 0, 0, 0.25));
}
/* Google Maps Karte im Footer TEST ENDE */


/* Footer BEGINN */
footer#footer #footer-desktop .eier-footer {
	margin-bottom: 10px;
}

footer#footer #footer-desktop .eier-footer img {
	max-width: 200px;
	height: auto;
}

footer#footer #footer-desktop .footer-logo-atbio392 img {
	max-height: 245px;
	width: auto;
}

footer#footer #footer-desktop .footer-logo-biogarantie img {
	max-width: 108px;
	height: auto;
}

/* Kontakt Bild + Google Maps */
.kontakt-bilder .wpb_single_image,
.kontakt-bilder .wpb_raw_code {
	margin-bottom: 0;
}

.kontakt-bilder .vc_single_image-wrapper {
	display: block;
	width: 100%;
}

.kontakt-bilder .wpb_single_image img,
.kontakt-bilder iframe,
.kontakt-map iframe {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
}

.kontakt-bilder .wpb_single_image img {
	object-fit: cover;
}

#footer-mobil {
	display: none;
}
/* Footer ENDE */


@media (max-width: 767px) {

/* BIO-Hühnerreiter Logo – nur mobil */
#main .header-zeile #header-eierreiter-logo-mobil {
    display: block;
    position: absolute;
        top: 41%;
        left: 49%;
        width: 93px;
    margin: 0;
    transform: translate(-50%, -50%);
    z-index: 4;
}
	
#main .header-zeile #header-eierreiter-logo-mobil figure,
#main .header-zeile #header-eierreiter-logo-mobil .vc_single_image-wrapper {
    display: block;
    width: 100%;
    margin: 0;
}

#main .header-zeile #header-eierreiter-logo-mobil img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

	
	
	.vc_row.wpb_column-gap {
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
	
	#main #content-wrap{
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
	div.kontakt-map{
		margin-top: 3vw;
	}
	
	
	/* Steppenfeder Header mobil BEGINN */
#steppenfeder-header {
	height: 110px;
}

.steppenfeder-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 20px;
}

.steppenfeder-menu-links img {
	width: 220px;
}

.steppenfeder-header-mitte {
	display: none;
}

.steppenfeder-header-rechts {
	position: relative;
}

.steppenfeder-menu-toggle {
	gap: 4px;
}

.steppenfeder-menu-toggle span {
	width: 34px;
	height: 4px;
}
.steppenfeder-menu-rechts {
	position: fixed;
	top: 110px;
	left: 0;
	width: 100%;
	padding: 14px 20px 18px;
	background: var(--farbe-weiss);
	text-align: center;
	box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
}

.steppenfeder-menu-rechts li {
	justify-content: center;
}

.steppenfeder-menu-rechts a {
	font-size: 18px;
	line-height: 1.55;
	white-space: nowrap;
}
/* Steppenfeder Header mobil ENDE */
	

	/* Header BEGINN */
	.header-zeile .wpb_single_image:not(.geheimtipp-ei):not(#header-eierreiter-logo-mobil) img {
    height: 280px;
    object-fit: cover;
    object-position: center center;
}
	.header-zeile-text h1 {
		top: 8%;
		font-size: 28px;
		line-height: 1.05;
	}

	#main .header-zeile-text p {
		bottom: 12%;
		font-size: 26px;
		line-height: 1.05;
	}
	
	/* Geheimtipp Ei */
.header-zeile .geheimtipp-ei {
	top: 50%;
	left: auto;
	right: 8%;
	transform: translateY(-50%);
}

.header-zeile .geheimtipp-ei a {
	width: 70px;
}
	/* Header ENDE */


	/* Sektion doppelte bzw. 2 Überschriften BEGINN */
	.section-heading {
		margin-bottom: 30px;
	}

	.section-heading h2 {
		font-size: 38px;
		line-height: 1.05;
	}

	.section-heading h2::after,
	.section-heading-kontakt h4::after {
		width: 260px;
		margin: 12px auto 16px;
	}

	.section-heading-kontakt h4 {
		font-size: 32px;
	}

	.section-heading h3 {
		font-size: 22px;
		line-height: 1.2;
	}
	/* Sektion doppelte bzw. 2 Überschriften ENDE */


	/* Eier-Trenner BEGINN */
	.eier-trenner {
		justify-content: space-between;
		padding: 15px 5px;
	}

	.eier-trenner-ei {
		margin: 0;
	}

	.eier-trenner-ei img {
		width: 22px;
	}

	.eier-trenner-ei.ist-oben {
		transform: translateY(-8px);
	}
	/* Eier-Trenner ENDE */


	/* Eier-Kauf-Box BEGINN */
	.eier-produkt-text p:nth-of-type(1) {
		font-size: 40px;
	}

	/*
	.eier-produkt-text p:nth-of-type(2) {
		font-size: 18px;
	}
	*/

	#main .eier-produkt-text p:nth-of-type(3) {
		font-size: 16px;
		line-height: 1.35;
	}

	.eier-produkt-text p:nth-of-type(4) {
		font-size: 38px;
	}
	/* Eier-Kauf-Box ENDE */


	/* Parallax BEGINN */
	#parallax-container {
		height: 78vh;
		min-height: 560px;
		background-attachment: scroll !important;
		background-position: 38% top;
	}

	#parallax-container .parallax-ei {
		top: -90px;
		width: 180px;
	}

	#parallax-container .parallax-claim {
		top: 59%;
		left: 34%;
		font-size: 34px;
		line-height: 1.05;
	}

	#parallax-container .parallax-claim span {
		margin-left: 18px;
	}
	
	.parallax-row {
		margin-top: 24vw;
	}
	/* Parallax ENDE */


	/* Footer mobil BEGINN */
	#footer-desktop {
		display: none;
	}

	#footer-mobil {
		display: block;
	}

	#footer-mobil .vc_inner .vc_column-inner > .wpb_wrapper {
		display: flex;
		flex-wrap: wrap;
		align-items: flex-end;
	}

	#footer-mobil .vc_inner .vc_column-inner > .wpb_wrapper > .eier-footer,
	#footer-mobil .vc_inner .vc_column-inner > .wpb_wrapper > .wpb_text_column {
		width: 100%;
	}

	#footer-mobil .vc_inner .vc_column-inner > .wpb_wrapper > .wpb_single_image:not(.eier-footer) {
		width: 50%;
	}

	#footer-mobil .footer-logo-atbio392 img {
		max-height: 170px;
		width: auto;
	}

	#footer-mobil .footer-logo-biogarantie img {
		max-width: 100px;
		height: auto;
	}
	/* Footer mobil ENDE */
}



@media (min-width: 768px) and (max-width: 1100px) {

	/* Steppenfeder Header BEGINN */
	#steppenfeder-header {
		height: 160px;
	}

	.steppenfeder-header-inner {
		padding: 0 7%;
	}

	.steppenfeder-menu-links img {
		width: 240px;
	}

	.steppenfeder-menu-mitte img {
		width: 205px;
	}

	.steppenfeder-menu-toggle {
		gap: 5px;
	}

	.steppenfeder-menu-toggle span {
		width: 36px;
		height: 5px;
	}
	/* Steppenfeder Header ENDE */


	/* Header Bild BEGINN */
	.header-zeile-text h1 {
		top: 11%;
		font-size: 34px;
	}

	#main .header-zeile-text p {
		bottom: 5%;
		font-size: 32px;
	}

	.header-zeile .geheimtipp-ei {
		top: 48%;
		left: 70%;
	}

	.header-zeile .geheimtipp-ei a {
		width: 85px;
	}
	/* Header Bild ENDE */

}