/*
Theme Name: UFO
Theme URI: https://www.ufo-filmgeraet.de/
Author: fija.de | internetgestalten.de 
Author URI: https://internetgestalten.de
Version: 1.0.0
Description: Wordpress Theme - UFO Relaunch 2026
*/

:root {
	--brandcolor: #6d4714;
	--lightgrey: #edecee; /*10% e5e5e5*/
	--grey: #d9d9d9; /*15%*/
	--grey20: #cecece; /*20%*/
	--medgrey: #b2b2b2; /*30%*/
	--grey50:  #7f7f7f; /*50%*/
	--darkgrey: #595959; /*65%*/
	--green: #95b73d;
	--red: #bc4335;
	--orange: #ffbb00;
	--blue: #3885b0;

	--merkliste: mediumaquamarine;
	--anfrage: cornflowerblue;
	--angebot: #d1c5e3;
	--job:lightgreen;
	--rechnung: lightsteelblue;
}

* {
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
}
html, body {
	margin: 0;
	padding: 0;
}
body {
	background: #fff;
	font-family: rockwell-nova, sans-serif;
	font-weight: 400;
	font-style: normal;
}
body.noscroll {
	overflow: hidden;
}

h1, h2 {
	font-family: interstate-compressed, sans-serif;
	font-weight: 500;
	font-style: normal;
	text-transform: uppercase;
	font-size: 3.5em;
}
h2 {
	font-size: 2em;
	text-transform: none;
}

p, li {
	line-height: 1.5em;
}

a {
	color: inherit;
	text-decoration: none;
	transition: all 0.2s ease-in-out;
}
a:hover {
	text-decoration: underline;
}

img {
	max-width: 100%;
	display: block;
}

hr {
	border: none;
	border-top: 1px solid var(--medgrey);
}

/* # # # # BUTTONS # # # # # # # # # # # # # # # # */

button, .button {
	border: none;
	outline: none;
	font-size: 1em;
	font-family: rockwell-nova, sans-serif;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	flex-shrink: 0;

	padding: 8px 14px;
	border-radius: 40px;
	background-color: #000;
	color: #fff;
	text-align: center;
	white-space: nowrap;
	
	transition: all 0.2s ease-in-out;
}
button.nobg, .button.nobg {
	background-color: transparent;
	color: #000;
	border: 1px solid #000;
}
button.invert, .button.invert {
	background-color: #fff;
	color: #000;
}
button:hover, .button:hover {
	background-color: var(--brandcolor);
	color: #fff;
	cursor: pointer;
	text-decoration: none;
	border-color: transparent;
}

button:disabled {
	opacity: 0.5;
	pointer-events: none;
}

button.small, .button.small, small .button {
	font-size: small;
	padding: 6px 12px;
}

button:not(.nobg).delete, .button:not(.nobg).delete {
	background-color: var(--red);
	color: #fff;
}
button.nobg.delete:hover, .button.nobg.delete:hover {
	background-color: var(--red);
}

button.ball, .button.ball {
	aspect-ratio: 1/1;
	border-radius: 50%;
}
button.mini.ball, .button.mini.ball {
	padding: 6px;
}

button.spread, .button.spread {
	padding: 1em 2em;
}
button.big, .button.big {
	font-size: 1.5em;
}

button.wl:before {
	content: '+';
	/*content: url(images/wl.svg);
	width: 1.5em;
	height: 1.5em;*/
}
button.wl.added {
	background-color: #7ca18e;
	border-color: transparent;
	color: #fff;
}

.button-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 2vw;
	margin: 4em 0;
}
.button-bar > * {
	flex: 1 1 200px;
}

/* # # # # HEADER # # # # # # # # # # # # # # # # */

.page-header {
}

.header-bar {
	width: 100%;
	/*background: #fcfcfc;*/
	border-bottom: 1px solid var(--lightgrey);
	padding: 1.5em 4vw;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: relative;
	transition: all 0.2s ease-in-out;
}
@media screen and (min-width:800px) {
	.header-bar {
		padding: 1.5em 2em;
	}
}
.header-bar > * {
	flex: 1 1 140px;
}


.hb-left {
	height: 2.8em;
	position: relative;
}
.menu-opener {
	position: fixed;
	width: 2.8em;
	height: 2.8em;
	cursor: pointer;
	z-index: 120;
	background-color: var(--lightgrey);
	border-radius: 50%;
	transition: all 0.2s ease-in-out;
}
.menu-opener:hover {
	background-color: var(--brandcolor);
}
.menu-opener:before, .menu-opener:after {
	content: '';
	position: absolute;
	left: 28%;
	width: 44%;
	height: 3px;
	border-radius: 2px;
	background-color: #000;
	transition: all 0.2s ease-in-out;
}
.menu-opener:hover:before, .menu-opener:hover:after {
	background-color: #fff;
}
.menu-opener:before {
	top: calc(50% - 6px);
}
.menu-opener:after {
	top: calc(50% + 2px);
}
.menuopen .menu-opener {
	transform: rotate(180deg);
}
.menuopen .menu-opener:before {
	top: calc(50% - 2px);
	transform: rotate(45deg);
}
.menuopen .menu-opener:after {
	top: calc(50% - 2px);
	transform: rotate(-45deg);
}

.page-header nav {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 100;
	width: 100vw;
	height: 0;
	background-color: rgba(255, 255, 255, 0.95);
	transition: all 0.2s ease-in-out;
	overflow-y: auto;

	display: flex;
	flex-direction: column;
}
.menuopen .page-header nav {
	height: 100vh;
	padding: 8em 4vw;
}

.page-header nav .search {
	/*padding: 1.72em 6em;*/
	display: flex;
	justify-content: center;
	margin-bottom: 4vw;
}
.page-header nav .search form {
	max-width: 800px;
}
.page-header nav ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
@media screen and (min-width:800px) {
	.page-header nav > ul {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
		height: 100%;
	}
}
.page-header nav > ul > li {
	font-size: 1.2em;
	padding: 2em;
	position: relative;
}
.cat_menu_hl {
	font-size: 2.5em;
	font-family: interstate-compressed, sans-serif;
	font-weight: 500;
	font-style: normal;
	text-transform: uppercase;
	line-height: normal;
	border-bottom: 1px solid var(--grey);
	margin-bottom: 1rem;
	display: block;
}
.page-header nav ul ul a {
	padding: 0.4em 0;
	display: block;
}


.page-header .logo {
	display: flex;
	justify-content: center;
}
.page-header .logo a {
	border: none;
}
.page-header .logo img {
	height: 60px;
	display: block;
}
@media screen and (max-width:600px) {
	.page-header .logo img {
		height: 50px;
	}
}

.hb-right {
	text-align: right;
}

.login {
	position: relative;
	overflow: hidden;
}
.login:after {
	content: 'Anmelden';
}
@media screen and (max-width:800px) {
	/*.login {
		aspect-ratio: 1/1;
	}
	.login:after {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 100%;
		height: 30%;
		background-color: #fff;
	}*/
	.login:after {
		font-size: small;
	}
}

/* # # # # MAIN # # # # # # # # # # # # # # # # */

main {
	display: flow-root;
}

.wrapper {
	padding: 0 4vw;
	display: flow-root;
}

.limiter {
	max-width: 1000px;
	margin: 0 auto;
}

#request {
	margin-top: 6em;
	padding: 2vw 0;
	background-color: #cfe7d3;
	transition: all 0.5s cubic-bezier(0.05,0.7,0.1,1.0);
}
#request:hover {
}
#request.open {
}
/*.request-toggler {
	overflow: hidden;
	max-height: 0;
	transition: all 0.5s cubic-bezier(0.05,0.7,0.1,1.0);
}
.request-toggler.open {
	max-height: 2000px;
	padding: 4vw 0;
}*/

/* # # # # cat_sub-menu # # # # */

.cat_sub-menu {
	position: sticky;
	top: 0;
	z-index: 3;
	display: flex;
	justify-content: center;
	padding: 2em 5.5em;
}
.cat_sub-menu ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 1vw;
	justify-content: center;
	flex-wrap: wrap;
}
.cat_sub-menu a {
	display: block;
	background-color: var(--lightgrey);
	padding: 0.6em 1em;
	border-radius: 2em;
	border: none;
}
.cat_sub-menu a:hover, .cat_sub-menu .active a {
	background-color: var(--brandcolor);
	color: #fff;
}

@media screen and (max-width:800px) {
	.cat_sub-menu {
		padding: 1.75em calc(2.8em + 8vw);
	}
	.cat_sub-menu::after {
		/* um höhe wg position absolute von child ul zu korrigieren */
		content: 'submenu';
		padding: 0.6em 1em;
		line-height: 1.5em;
	}
	.cat_sub-menu ul {
		flex-direction: column;
		background-color: var(--lightgrey);
		border-radius: 2em;
		width: calc(100% - 5.6em - 16vw);
		position: absolute;
		cursor: pointer;
	}
	.cat_sub-menu ul:after {
		content: '';
		position: absolute;
		top: 0.8em;
		right: 1.4em;
		width: 10px;
		height: 10px;
		border-bottom: 2px solid #fff;
		border-right: 2px solid #fff;
		transform: rotate(45deg);
		pointer-events: none;
	}
	.cat_sub-menu li:not(.active) {
		display: none;
	}
	.cat_sub-menu ul.open li {
		display: block;
	}
	.cat_sub-menu li.active a {
		pointer-events: none;
	}
}

.section-hl {
	font-family: interstate-compressed, sans-serif;
	font-weight: 500;
	font-style: normal;
	text-transform: uppercase;
	font-size: 3.5em;
	text-align: center;

	margin: 4rem 0;
	padding-bottom: 2rem;
	position: relative;
}
.cat_sub-menu + .wrapper .section-hl {
	margin-top: 1rem;
}
.section-hl:has(+ .cat_sub-menu) {
	margin-bottom: 0;
}
.section-hl:after {
	content: '';
	position: absolute;
	bottom: 0;
	left: calc(50% - 30px);
	width: 60px;
	height: 2px;
	background: #000;
}
@media screen and (max-width:800px) {
	.section-hl {
		margin-bottom: 1rem;
	}
}

/* # # # # article group # # # # */

.article-group {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 4vw;
}
@media screen and (min-width:700px) {
	.article-group {
		grid-template-columns: repeat(3, 1fr);
	}
}
@media screen and (min-width:1000px) {
	.article-group {
		grid-template-columns: repeat(4, 1fr);
	}
}
.article-group article h2 {
	margin: 0.5em 0;
}
.article-image {
	display: flex;
	justify-content: center;
	align-items: center;
}
.article-group .article-image {
	aspect-ratio: 4/2;
	margin: 1em 0;
}
.article-image img {
	max-height: 100%;
}

/* # # # # article detail # # # # */

.article-detail {

}

.path {
	list-style-type: none;
	margin: 2rem 0 0 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 0.5em;
	text-transform: uppercase;
	font-size: 0.8em;
}
@media screen and (max-width:800px) {
	.path {
		justify-content: center;
	}
}
/*.path a:not(:first-child):not(:last-child):after {
	content: "/";
	padding-left: 1em;
	pointer-events: none;
}*/
.back {
	display: flex;
	align-items: center;
	position: relative;
	padding: 0 1em;
}
.back:before {
	content: '';
	width: 6px;
	height: 6px;
	border-top: 2px solid #000;
	border-left: 2px solid #000;
	transform: rotate(-45deg);
	position: absolute;
	left: 0;
}
/*.back:after {
	content: '';
	width: 40px;
	height: 2px;
	margin: 5px 0;
	background-color: #000;
}*/
.article-detail .path + .section-hl {
	margin-top: 1rem;
}
.article-discription {
	max-width: 1000px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 4vw;
}
.article-discription > * {
	flex: 1 1 200px;
}
.article-discription > * > *:first-of-type {
	margin-top: 0;
}
.article-discription .teaserline {
	font-family: interstate-compressed, sans-serif;
	font-weight: 500;
	font-style: normal;
	font-size: 2em;
	line-height: normal;
}

/* 2. Version */
.article-container {
	width: 100%;
	max-width: 1600px;
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 4vw;
}
.article-container > * {
	flex: 1 1 300px;
	width: calc(50% - 2vw);
}
@media screen and (min-width:800px) {
	.article-container .article-image {
		position: sticky;
		top: 2em;
	}
}
.article-container > * > *:first-of-type {
	margin-top: 0;
}

ul.highlights li {
	margin: 0.5em 0;
	padding-left: 1.5em;
	position: relative;
}
/*ul.highlights li:before {
	content: '';
	width: 14px;
	height: 6px;
	border-left: 4px solid #000;
	border-bottom: 4px solid #000;
	display: block;
	transform: rotate(-45deg);
	position: absolute;
	left: 0;
	top: 4px;
}*/
/*ul.highlights li:before {
	content: '★';
	color: var(--brandcolor);
	position: absolute;
	left: 0;
	top: -2px;
}*/
.article-detail .price {
	text-align: center;
	margin-top: 2em;
	padding-top: 1.5em;
	position: relative;
}
.article-detail .price:before {
	content: '';
	position: absolute;
	left: calc(50% - 30px);
	width: 60px;
	height: 2px;
	background: #000;
}
.article-detail .price:before {
	top: 0;
}
.price-box:after {
	bottom: 0;
}

.wl-button-box {
	text-align: center;
	padding: 1.5em 0 2em;
	position: sticky;
	bottom: -0.5em;
	background-color: #fff;
}

/* # # # # wishlist opener # # # # */

/*.wishlist-bar {
	display: flex;
	padding: 2em 2em 0;
}
.home .wishlist-bar {
	padding: 2em;
}
.wishlist-opener {
	background-color: #7ca18e;
	color: #fff;
	padding: 1em 2em;
	width: 100%;
	text-align: center;
	border-radius: 2em;
}*/
.wishlist-bar {
	position: sticky;
	top: 0;
	z-index: 5;
	display: flex;
	justify-content: end;
	align-items: start;
	height: 0;
	padding: 0 2em;
	transform: translateY(2em);
}
.wishlist-opener {
	width: 4em;
	height: 4em;
	border-radius: 50%;
	background-color: var(--lightgrey);
	color: #000;
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
}
.wishlist-opener:hover {
	background-color: #7ca18e;
	color: #fff;
	text-decoration: none;
}
.wishlist-opener:before {
	content: '';
	width: 50%;
	height: 50%;
	background-image: url('images/box-04.svg');
	background-repeat: no-repeat;
}
.wishlist-opener .ministatus {
	position: absolute;
	top: -4px;
	right: -4px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #7ca18e;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	color: #fff;
	font-size: small;
}
@media screen and (max-width:800px) {
	.wishlist-bar {
		top: 0.6em;
		padding: 0 4vw;
		transform: translateY(1.1em);
	}
	.wishlist-opener {
		width: 2.8em;
		height: 2.8em;
	}
}

/* # # # # wishlist # # # # */

.wishlist {

}
.wishlist .article-group .management {
	display: grid;
	grid-template-columns: auto auto;
	grid-gap: 1rem;
	align-items: center;
}
@media screen and (min-width:800px) {
	.wishlist .article-group {
		display: inherit;
	}
	.wishlist .article-group article {
		border-top: 1px solid var(--lightgrey);
		padding: 1.5em 0;
		display: grid;
		grid-template-columns: 1fr auto;
		grid-gap: 1rem;
		align-items: center;
	}
	.wishlist .article-group .article-data {
		display: grid;
		column-gap: 1rem;
		grid-template-columns: 120px minmax(8rem,0.5fr) minmax(10rem,1fr) 200px;
		grid-gap: 1rem;
	}
	.wishlist .article-group h2 {
		font-family: inherit;
		font-weight: normal;
		font-size: inherit;
		margin: 0;
	}
	.wishlist .article-group p {
		margin: 0;
	}
	.wishlist .article-group .article-image {
		aspect-ratio: unset;
		margin: 0;
	}
	.wishlist .article-group img {
		max-height: 80px;
	}
	.wishlist .article-group .management {
		display: grid;
		grid-template-columns: 5rem auto;
		grid-gap: 1rem;
		align-items: center;
	}
	.wishlist .article-group input {
		text-align: center;
		padding: 1rem;
	}
}

/* # # # # home # # # # */

.home {
	scroll-snap-type: y mandatory;
	overflow-y: scroll;
	height: 100vh;
}
.home .page-header {
	scroll-snap-align: end;
}

.banner {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: calc(100vh - 8vw);
	min-height: 600px;
	margin: 0 4vw 4vw;
	padding: 2rem;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	color: #fff;
	text-align: center;
	position: relative;
	scroll-snap-align: end;
	scroll-margin-bottom: 4vw;
}
.banner:first-of-type {
	height: calc(100vh - 60px - 3em - 4vw);
}
.banner .section-hl {
	margin: 0;
	font-size: 6em;
}
.banner .section-hl:after {
	background-color: #fff;
}
.banner h2 {
	font-size: 3em;
	text-transform: uppercase;
}
.banner-menu {
	/*position: absolute;
	bottom: 2em;*/
	margin-top: 1.5rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2vw;
}
@media screen and (max-width:800px) {
	.banner .section-hl {
		font-size: 5em;
	}
	.banner h2 {
		font-size: 2em;
	}
}



/* # # # # FORM # # # # # # # # # # # # # # # # */

.form-field {
	margin-bottom: 1em;
}

.form-field label {
	display: block;
	margin-bottom: 1em;
	padding-left: 1em;
	color: #000;
	font-size: small;
}

input, select, textarea {
	font-family: inherit;
	font-size: inherit;
	padding: 1em 1.5em;
	border: none;
	border-radius: 2em;
	outline: none;
	background-color: var(--lightgrey);
	width: 100%;
}
#request input, #request select, #request textarea {
	background-color: #fff;
}
input.short {
	width: 5em;
}

input[type="submit"] {
	width: auto;
	background-color: var(--tpe-green);
	color: #fff;
	border: none;
}

input[type="checkbox"] {
	width: auto;
}

.indent-search {
	display: inline-flex;
	align-items: center;
	position: relative;
	width: 100%;
}
.indent-search input {
	width: 100%;
	padding-right: 3em;
}
.indent-search button {
	position: absolute;
	right: 1em;
	aspect-ratio: 1/1;
	border-radius: 50%;
}
.lupe {
	display: block;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid #fff;
	position: relative;
	transform: rotate(45deg) translate(-3px, -1px);
}
.lupe:after {
	content: '';
	position: absolute;
	width: 8px;
	height: 2px;
	background-color: #fff;
	border-radius: 2px;
	top: calc(50% - 1px);
	right: -10px;
}

.page-header input {
	background-color: var(--grey);
	font-size: 1.5em;
}


.flex-form {
	display: flex;
	flex-wrap: wrap;
	gap: 3vw;
}
.flex-form > * {
	flex: 1 1 300px;
}
.flex-form input:not([type="submit"]) {
	width: 100%;
}
.flex-form textarea {
	width: 100%;
	height: 8em;
}

fieldset {
	margin: 4em 0;
	padding: 2em;
	border: 1px solid #000;
	border-radius: 1em;
}
fieldset legend {
	padding: 0 1em;
}

table input {
	padding: 0.5em 1em;
}

/* # # # # EDIT # # # # */

.editable {
	position: relative;
}
.editable:after {
	content: 'edit';
	color: #fff;
	font-size: 9px;
	position: absolute;
	top: 0;
	left: 100%;
	border-radius: 10px;
	background-color: #000;
	padding: 2px 4px;
	font-family: rockwell-nova, sans-serif;
}


/* # # # # FOOTER # # # # # # # # # # # # # # # # */

footer {
	/*background-color: var(--lightgrey);*/
	border-top: 1px solid var(--lightgrey);
	margin-top: 8em;
	padding: 4vw;
	display: flex;
	flex-wrap: wrap;
	gap: 2vw;
}
.home footer {
	margin-top: 0;
	scroll-snap-align: end;
}
footer > * {
	flex: 1 1 200px;
}
footer ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
footer li {
	padding-left: 0;
}

