/* =========================================================
   VIVA Monaco – Kopfzeile, Fußzeile, Menü und Suche
   (Nachbau der Elementor-Pro-Vorlagen #11, #22, #887)
   ========================================================= */

:root {
	--vm-pink: #ff00ff;
	--vm-logo-pink: #cc3366;
	--vm-black: #000;
	--vm-bar: #030000;
	--vm-white: #fff;
	--vm-bar-h: 53px;
	--vm-header-h: 125px;
	--vm-logo-w: 233px;
	--vm-logo-top: 29px;
	--vm-ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- Kopfzeile ---------- */
.vm-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 99;
	pointer-events: none; /* der transparente Logo-Streifen blockiert keine Klicks */
}

.admin-bar .vm-header { top: 32px; }

.vm-header__bar {
	height: var(--vm-bar-h);
	padding: 0 10px;
	background: var(--vm-bar);
	display: flex;
	align-items: flex-start;
	justify-content: flex-end;
	pointer-events: auto;
}

.vm-header__icons {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding-top: 9px; /* wie bisher: Icons sitzen leicht oberhalb der Mitte */
}

.vm-header__icons .vm-icon-btn:not(.vm-icon-btn--search) { margin-top: 1px; }

.vm-icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 27px;
	height: 27px;
	padding: 0;
	margin: 0;
	border: 0;
	background: none;
	color: var(--vm-white);
	cursor: pointer;
	transition: transform .25s var(--vm-ease), color .25s;
}

.vm-icon-btn svg {
	width: 100%;
	height: 100%;
	fill: currentColor;
}

.vm-icon-btn--search {
	width: 33px;
	height: 33px;
	margin-right: -5px; /* wie bisher: 15px Abstand zu Instagram */
}

.vm-icon-btn--search svg { width: 30px; height: 30px; }

.vm-icon-btn:hover,
.vm-icon-btn:focus-visible {
	color: var(--vm-pink);
	transform: scale(1.15);
	background: none;
}

.vm-icon-btn:focus-visible,
.vm-overlay__close:focus-visible,
.vm-social__link:focus-visible {
	outline: 2px solid var(--vm-pink);
	outline-offset: 3px;
}

.vm-header__logo {
	position: absolute;
	top: var(--vm-logo-top);
	left: 50%;
	transform: translateX(-50%);
	line-height: 0;
}

.vm-logo-link {
	display: block;
	pointer-events: auto;
	transition: transform .35s var(--vm-ease);
}

.vm-logo-link:hover { transform: scale(1.04); }

.vm-logo-link img {
	display: block;
	width: var(--vm-logo-w);
	height: auto;
	max-width: none;
}

.vm-header-spacer { height: var(--vm-header-h); }

/* ---------- Fußzeile ---------- */
.vm-footer {
	background: var(--vm-black);
	padding: 0 20px;
	text-align: center;
	color: var(--vm-white);
}

.vm-footer__logo {
	display: block;
	width: 20%;
	height: auto;
	margin: 0 auto 20px;
}

.vm-social {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	display: flex;
	justify-content: center;
	gap: 16px;
}

.vm-social li { margin: 0; padding: 0; }

.vm-social__link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border: 1px solid var(--vm-white);
	border-radius: 50%;
	background: var(--vm-black);
	color: var(--vm-white);
	transition: transform .25s var(--vm-ease), background-color .25s, color .25s, border-color .25s;
}

.vm-social__link svg {
	width: 25px;
	height: 25px;
	fill: currentColor;
}

.vm-social__link:hover,
.vm-social__link:focus-visible {
	background: var(--vm-white);
	color: var(--vm-black);
	transform: translateY(-3px);
}

.vm-footer__links {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding-bottom: 45px;
	font-weight: 700;
	font-size: 18px;
	line-height: 11px;
	text-transform: uppercase;
}

.vm-footer__links a {
	color: var(--vm-white);
	text-decoration: none;
	background-image: linear-gradient(currentColor, currentColor);
	background-size: 0 1px;
	background-position: 0 100%;
	background-repeat: no-repeat;
	padding-bottom: 2px;
	transition: background-size .3s var(--vm-ease), color .2s;
}

.vm-footer__links a:hover,
.vm-footer__links a:focus-visible {
	color: var(--vm-white);
	background-size: 100% 1px;
}

/* ---------- Overlays (Menü und Suche) ---------- */
.vm-overlay {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: var(--vm-black);
	overflow-y: auto;
	opacity: 0;
	transition: opacity .3s var(--vm-ease);
}

.vm-overlay[hidden] { display: none; }
.vm-overlay.is-open { opacity: 1; }

body.vm-no-scroll { overflow: hidden; }

.vm-overlay__close {
	position: absolute;
	top: 20px;
	right: 20px;
	width: 31px;
	height: 31px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--vm-white);
	cursor: pointer;
	transition: transform .3s var(--vm-ease), color .2s;
}

.vm-overlay__close svg { width: 100%; height: 100%; fill: currentColor; }

.vm-overlay__close:hover,
.vm-overlay__close:focus-visible {
	color: var(--vm-pink);
	background: none;
	transform: rotate(90deg);
}

/* Menü */
.vm-menu__box {
	position: relative;
	width: 893px;
	max-width: 100%;
	min-height: 100%;
	margin: 0 auto;
	padding: 30px 20px 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.vm-menu__logo { line-height: 0; margin-bottom: 20px; }
.vm-menu__logo img { width: 233px; height: auto; display: block; }

.vm-menu nav { padding: 20px 0; }

.vm-menu__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.vm-menu__list li { margin: 0; }

.vm-menu__list a {
	display: block;
	padding: 22px 50px;
	color: var(--vm-white);
	font-size: 33px;
	font-weight: 600;
	line-height: 20px;
	text-decoration: none;
	transition: color .2s, transform .3s var(--vm-ease);
}

.vm-menu__list a:hover,
.vm-menu__list a:focus-visible,
.vm-menu__list .current-menu-item > a {
	color: var(--vm-pink);
}

.vm-menu__list a:hover,
.vm-menu__list a:focus-visible { transform: translateX(8px); }

.vm-button {
	display: inline-block;
	margin-bottom: 20px;
	padding: 12px 24px;
	border-radius: 3px;
	background: var(--vm-pink);
	color: var(--vm-white);
	font-size: 24px;
	line-height: 1;
	text-decoration: none;
	transition: transform .25s var(--vm-ease), box-shadow .25s, background-color .25s;
}

.vm-button:hover,
.vm-button:focus-visible {
	color: var(--vm-white);
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(255, 0, 255, .35);
}

/* Suche */
.vm-search {
	background: rgba(0, 0, 0, .94);
	display: flex;
	align-items: center;
	justify-content: center;
}

.vm-search[hidden] { display: none; }

.vm-search__form {
	display: flex;
	align-items: center;
	width: 90%;
	max-width: 800px;
	border-bottom: 2px solid var(--vm-white);
}

.vm-search .vm-search__input,
.vm-search .vm-search__input:focus {
	flex: 1;
	min-width: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--vm-white);
	font-size: 50px;
	padding: 10px 0;
	outline: none;
	box-shadow: none;
}

.vm-search__input::placeholder { color: rgba(255, 255, 255, .5); }

.vm-search__submit {
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--vm-white);
	cursor: pointer;
	transition: color .2s, transform .25s var(--vm-ease);
}

.vm-search__submit svg { width: 34px; height: 34px; fill: currentColor; }
.vm-search__submit:hover { color: var(--vm-pink); background: none; transform: scale(1.1); }

/* ---------- Smartphone ---------- */
@media (max-width: 782px) {
	.admin-bar .vm-header { top: 46px; }
}

@media (max-width: 767px) {
	:root {
		--vm-bar-h: 55px;
		--vm-header-h: 104px;
		--vm-logo-w: 180px;
		--vm-logo-top: 41px;
	}

	.vm-header__bar { padding: 0 20px; }
	.vm-header__icons { padding-top: 11px; }
	.vm-footer__logo { width: 47%; }
	.vm-footer__links { font-size: 11px; }

	.vm-menu__list a {
		font-size: 28px;
		line-height: 1.4em;
		padding: 9px 0;
	}

	.vm-menu__list li:not(:last-child) { margin-bottom: 16px; }
	.vm-search .vm-search__input, .vm-search .vm-search__input:focus { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
	.vm-header *, .vm-footer *, .vm-overlay, .vm-overlay * {
		transition: none !important;
	}
}
