@charset "utf-8";

/* !
Theme Name: Seehotel
Theme URI: https://3wm.de
Author: 3WM
Author URI: https://3wm.de
Description: Theme für Seehotel
Version: 1.1.1
Tested up to: 6.9
Requires PHP: 8.2
Text Domain: seehotel
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, theme-json */

/* --------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# CSS Variables
# Fonts
# Base
	- Links
	- Headings
	- Paragraphs
	- Links
	- Navigation Elements
	- Forms
	- Images
# Layouts
	- General
	- Site
	- Header
	- Header Slider
# Components
	- Main Navigation Mobile
	- Main Navigation Desktop
	- Main
	- Footer
	- Footer Navigation
	- Columns
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
	- Cover Block
	- Custom Logo
	- Search Page
	- Search Results Page
# Blocks
	- Buttons
# Plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments
# Theme Customizations
	- Header Slider
	- Unsere Zimmer
	- Background Story

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

/* --------------------------------------------------------------
# CSS Variables
#
# The preset variables are extracted from the theme.json file
# and follow predefined naming conventions.
# Here are a few examples:
#
# For colors (generates 3 variables per color defined in theme.json):
# --wp--preset--color--<slug>: <value>;
# --wp--preset--background--color--<slug>: <value>;
# --wp--preset--border--color--<slug>: <value>;
#
# For typography:
# --wp--preset--font-size--<slug>: <value>;
# --wp--preset--font-family--<slug>: <value>;
#
# For gradients:
# --wp--preset--gradient--<slug>: <value>;
#
# For duotones:
# --wp--preset--duotone--<slug>: <value>;
#
# For values defined in the custom section:
# --wp--custom--<slug>: <value>;
-------------------------------------------------------------- */
:root {
	--site-header-height: 216px;
	--site-header-scrolled-height: 70px;
	--site-header-mobile-height: 70px;
	--shrink-scale: calc(var(--site-header-scrolled-height) / var(--site-header-height));
	--site-header-z-index: 1000;
	--seehotel-content-size: 1172px;
	--seehotel-content-size-wide: 1640px;
}

/* --------------------------------------------------------------
# Fonts
-------------------------------------------------------------- */

/* --------------------------------------------------------------
# Base
-------------------------------------------------------------- */
:where(h1, h2, h3, h4, h5, h6) {
	line-height: 1.2;
	margin-top: 0;
	margin-bottom: 0.5em;
	font-weight: 400;
}

body:not(.home) h1 {
	text-align: left;
	font-family: var(--wp--preset--font-family--antic-didone);
	font-weight: 200;
	font-size: var(--wp--preset--font-size--x-large);
	margin-block-start: 80px !important;
	margin-block-end: 40px !important;
}

body:not(.home):not(.page-template-restaurant) #colophon {
	margin-block-start: 80px;
}

/* *
 * for container-type
 * @see: https://www.smashingmagazine.com/2023/12/new-css-viewport-units-not-solve-classic-scrollbar-problem/#avoiding-the-classic-scrollbar-problem */
body {
	width: 100%;
	margin: 0;
}

body.menu-opened {
	overflow: hidden;
	height: 100%;
}

/* Links
--------------------------------------------- */
a:where(:not(.wp-element-button)) {
	transition: color 0.4s ease-in-out;
}

a:where(:not(.wp-element-button)):hover {
	text-decoration: underline;
}

:focus-visible {
	outline: double;
}

/* Navigation Elements
--------------------------------------------- */
nav ul {
	list-style: none;
}

nav ul.menu,
nav ul.sub-menu {
	list-style: none;
	gap: 1em;
	margin-top: 0;
	margin-bottom: 0;
}

nav ul.menu {
	padding-left: 0;
	display: flex;
}

nav ul.sub-menu,
nav ul.children {
	padding-left: 0;
}

header nav ul li {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

nav ul.sub-menu li a {
	font-size: 0.8em !important;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: transparent;
	border-radius: 0;
	background: #e6e6e6;
	color: #000;
	line-height: 1;
	padding: 0.6em 1em 0.4em;
	cursor: pointer;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: transparent;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: transparent;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #000;
	border: 1px solid transparent;
	border-radius: 0;
	padding: 3px;
	max-width: 100%;
	width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #000;
}

select {
	border: 1px solid transparent;
}

textarea {
	width: 100%;
}

/* Images
--------------------------------------------- */
img {
	max-width: 100%;
	height: auto;
}

/* --------------------------------------------------------------
# Layouts
-------------------------------------------------------------- */

/* General
--------------------------------------------- */
body .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	width: 90%;
}

/* Site
--------------------------------------------- */
.site {}

/* Header
--------------------------------------------- */
.site-header {
	color: var(--wp--preset--color--quinary);
	padding: 0;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: var(--site-header-z-index);
	height: var(--site-header-height);
	display: flex;
	will-change: transform;
	transition: all 0.8s ease, background-color 0.8s ease;
}

/* if user hasn't scrolled down yet, header is transparent */
body:not(.scrolled) .site-header {
	background-color: transparent;
	transition: all 0.4s ease;
}

:is(body.scrolled .site-header, body:not(.home) .site-header) {
	height: var(--site-header-scrolled-height);
	background-color: var(--wp--preset--color--tertiary);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.site-header__content {
	display: flex;
	flex-wrap: nowrap;
	gap: 20px;
	max-width: 1640px;
	margin: 0 auto;
}

.site-header__content > * {
	flex-grow: 1;
	flex-shrink: 1;
	flex-basis: 160px;
}

/* Site branding */
.site-branding {
	z-index: 2;
	width: 420px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 216px;
	background: radial-gradient(circle 0 at top left, transparent 0%, #fff) top left, radial-gradient(circle 0 at top right, transparent 0%, #fff) top right, radial-gradient(circle 28px at bottom left, transparent 98%, #fff) bottom left, radial-gradient(circle 28px at bottom right, transparent 98%, #fff) bottom right;
	background-size: 51% 51%;
	background-repeat: no-repeat;
	padding: 20px;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	transition: all 0.8s ease;
	opacity: 1;
}

.site-branding img {
	transform: scale(1.0);
	transition: all 0.4s ease;
}

body.menu-opened .site-branding {
	opacity: 0;
	pointer-events: none;
}

:is(body.scrolled .site-branding, body:not(.home) .site-branding) {
	height: 120px;
	width: 240px;
	/*background: radial-gradient(circle 0 at top left, transparent 0%, #fff) top left, radial-gradient(circle 0 at top right, transparent 0%, #fff) top right, radial-gradient(circle 16px at bottom left, transparent 98%, #fff) bottom left, radial-gradient(circle 16px at bottom right, transparent 98%, #fff) bottom right;*/
	/*background-size: 51% 51%;*/
	/*background-repeat: no-repeat;*/
	padding: 0;
}

:is(body.scrolled .site-branding, body:not(.home) .site-branding) img {
	transform: scale(0.77);
}

@media (max-width: 1500px) {
	.site-branding {
		height: 160px;
		width: 300px;
		padding: 0;
		background: radial-gradient(circle 0 at top left, transparent 0%, #fff) top left, radial-gradient(circle 0 at top right, transparent 0%, #fff) top right, radial-gradient(circle 16px at bottom left, transparent 98%, #fff) bottom left, radial-gradient(circle 16px at bottom right, transparent 98%, #fff) bottom right;
		background-size: 51% 51%;
		background-repeat: no-repeat;
	}

	.site-branding img {
		transform: scale(0.77);
	}
}

@media (max-width: 1300px) {
	:is(body, body.scrolled) .site-header {
		height: var(--site-header-mobile-height);
		background-color: var(--wp--preset--color--secondary);
	}

	.site-branding {
		height: 120px;
		width: 240px;
		padding: 0;
		background: radial-gradient(circle 0 at top left, transparent 0%, #fff) top left, radial-gradient(circle 0 at top right, transparent 0%, #fff) top right, radial-gradient(circle 16px at bottom left, transparent 98%, #fff) bottom left, radial-gradient(circle 16px at bottom right, transparent 98%, #fff) bottom right;
		background-size: 51% 51%;
		background-repeat: no-repeat;
	}

	.site-branding img {
		transform: scale(0.77);
	}
}

@media (max-width: 900px) {
	:is(body, body.scrolled) .site-branding {
		height: 100px;
		width: 194px;
		background: radial-gradient(circle 0 at top left, transparent 0%, #fff) top left, radial-gradient(circle 0 at top right, transparent 0%, #fff) top right, radial-gradient(circle 12px at bottom left, transparent 98%, #fff) bottom left, radial-gradient(circle 12px at bottom right, transparent 98%, #fff) bottom right;
		background-size: 51% 51%;
		background-repeat: no-repeat;
	}
}

/* Header content */
.header-content {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 80px;
	z-index: 1;
}

.header-content .site-links {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.8s ease;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 20px;
}

body.scrolled .header-content .site-links,
body:not(.home) .header-content .site-links {
	opacity: 1;
	pointer-events: all;
}

.header-content .site-links a {
	color: inherit;
	text-decoration: none;
	display: block;
	padding: 2px 26px;
	outline-color: #fff;
}

.header-content .site-links .hotel-link,
.header-content .site-links .restaurant-link {
	background-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--secondary);
}

.header-content .site-links .hotel-link:hover,
.header-content .site-links .restaurant-link:hover {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
}

.header-content .site-links .restaurant-link a,
.header-content .site-links .hotel-link a {
	transition: transform 0.4s ease-in-out;
}

.header-content .site-links .restaurant-link:hover a,
.header-content .site-links .hotel-link:hover a {
	transform: scale(1.1);
}

.header-content .contact-container {
	display: flex;
	align-items: center;
	gap: 20px;
	z-index: 1;
}

.header-content .contact-container .contact-item {
	display: flex;
}

.header-content .contact-container a {
	display: inline-block;
}

.header-content .contact-container img {
	display: block;
}

.header-content.right-side {
	display: flex;
	justify-content: flex-end;
	align-items: center;

	/* on desktop, we hide this */
}

.header-content.right-side .contact-container {
	display: none;
}

@media (max-width: 1200px) {
	.header-content.left-side .contact-container {
		display: none;
	}

	.header-content.right-side .site-links {
		display: none;
	}

	.header-content.right-side .contact-container {
		display: flex;
	}
}

@media (max-width: 600px) {
	.header-content.right-side .contact-container {
		transition: opacity 0.5s ease-in-out;
		opacity: 0;
		pointer-events: none;
	}

	body.menu-opened .header-content.right-side .contact-container {
		opacity: 1;
		pointer-events: auto;
	}
}

/* Header Slider
--------------------------------------------- */

/* Styling for empty slider -> acts as spacer between fixed header and content area */
.header-slider.empty {
	height: var(--site-header-height);
	transition: height 0.4s ease;
}

body:not(.home) .header-slider.empty {
	background-color: var(--wp--preset--color--tertiary);
	height: var(--site-header-scrolled-height);
}

body.scrolled .header-slider.empty {
	height: var(--site-header-scrolled-height);
}

@media (max-width: 1200px) {
	:is(body, body.scrolled) .header-slider.empty {
		height: var(--site-header-mobile-height);
	}
}

/* Styling for active header slider */

/* --------------------------------------------------------------
# Components
-------------------------------------------------------------- */

/* Main Navigation (Mobile)
--------------------------------------------- */
.main-navigation {
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
}

.menu-toggle {
	position: relative;
	z-index: 100;
	display: flex;
	align-items: center;
	cursor: pointer;
	padding: 6px;
	background-color: transparent;
	border: none;
	color: #fff;
}

.menu-toggle .menu-text {
	font-size: 1.2em;
	user-select: none;
}

.menu-toggle .menu-icon {
	display: inline-block;
	width: 26px;
	height: 13px;
	background-image: url("assets/icons/menu.svg");
	background-size: cover;
	background-repeat: no-repeat;
	transition: all 0.4s ease-in-out;
}

body.menu-opened .menu-toggle .menu-icon {
	height: 26px;
}

.site-menu-container {
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	transform: translateY(-100%);
	transition: transform 0.4s ease-in-out;
	height: 100vh;
	flex-basis: 100%;
	background-color: var(--wp--preset--color--tertiary);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
}

.site-menu-container .background {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 80vh;
	background-image: url("assets/images/menu-background.svg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 1;
	z-index: 0;
}

.site-menu-container :where(.site-links, .contact-container) {
	z-index: var(--site-header-z-index);
}

.site-menu-container :where(.site-links, .contact-container) a {
	color: var(--wp--preset--color--quinary);
}

.site-menu-container :is(.site-links) {
	display: none;
}

.site-menu-container .site-links {
	flex-direction: column;
	gap: 20px;
	margin-bottom: 40px;
}

.site-menu-container .site-links a {
	padding: 4px 20px;
	border: 1px solid var(--wp--preset--color--quinary);
	width: 40vw;
	min-width: 420px;
	display: block;
	text-align: center;
}

@media (max-width: 1200px) {
	.site-menu-container .site-links {
		opacity: 1;
		pointer-events: all;
	}

	.site-menu-container .site-links a {
		font-size: 2.375rem;
	}
}

@media (max-width: 500px) {
	.site-menu-container .site-links a {
		min-width: auto;
	}
}

.site-menu-container .site-links .site-link:hover {
	transform: none;
}

.site-menu-container .site-links .site-link:hover a {
	background-color: var(--wp--preset--color--primary);
	border-color: var(--wp--preset--color--primary);
}

.site-menu-container .contact-container {
	margin-bottom: 80px;
}

.site-menu-container .contact-container .contact-item a {
	border: 1px solid var(--wp--preset--color--quinary);
	border-radius: 50%;
	padding: 10px;
	height: 52px;
	width: 52px;
	display: flex;
	justify-content: center;
	align-items: center;
}

@media (max-width: 1200px) {
	.site-menu-container :is(.site-links, .contact-container) {
		display: flex !important;
	}
}

@media (max-width: 700px) {
	.site-menu-container .site-links a {
		width: 90vw;
	}
}

body.menu-opened .main-navigation .menu-toggle .menu-icon {
	background-image: url("assets/icons/menu-close.svg");
}

body.menu-opened .main-navigation .site-menu-container {
	transform: translateY(0);
}

.main-navigation__mobile {
	height: 100%;
	position: absolute;
	width: 100%;
}

.main-navigation__mobile .menu {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100%;
	gap: 0;
}

.main-navigation__mobile .menu a {
	color: var(--wp--preset--color--quinary);
	font-family: var(--wp--preset--font-family--antic-didone);
	font-size: 4rem;
}

@media (max-width: 1200px) or (max-height: 1100px) {
	.main-navigation__mobile .menu {
		padding-bottom: 200px;
	}

	.main-navigation__mobile .menu a {
		font-size: 2rem;
	}
}

@media (max-width: 800px) {
	.main-navigation__mobile .menu a {
		text-align: center;
		display: block;
	}
}

@media (max-height: 900px) {
	.main-navigation__mobile .menu {
		padding-bottom: 200px;
	}

	.main-navigation__mobile .menu a {
		font-size: 1.75rem;
		line-height: 1.2;
		display: block;
		text-align: center;
	}

	.site-menu-container .site-links {
		gap: 2px;
	}

	.site-menu-container .site-links a {
		font-size: 1.75rem;
		line-height: 1;
	}
}

/* Main
--------------------------------------------- */
.site-main {
	background-color: var(--wp--preset--color--base);
	padding: 0;
}

body.home .site-main {
	margin-block-start: 80px;
}

/* Footer
--------------------------------------------- */
.site-footer {
	background-color: var(--wp--preset--color--secondary);
	color: var(--wp--preset--color--quinary);
	padding: 40px 0 0 0;
	position: relative;
	overflow: hidden;
}

.site-footer a {
	color: var(--wp--preset--color--quinary);
}

.footer-background {
	background-image: url("assets/images/footer-background.svg");
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	position: absolute;
	height: 80%;
	bottom: 0;
	left: 0;
}

@media (max-width: 1000px) {
	.footer-background {
		height: 50%;
	}
}

:is(.footer-content, .footer-bar, .footer-separator) {
	max-width: var(--seehotel-content-size-wide);
}

:is(.footer-content-area, .footer-bar) {
	padding: 0 40px;
}

.footer-separator {
	color: var(--wp--preset--color--quinary);
	background-color: var(--wp--preset--color--quinary);
	height: 1px;
	margin: 40px 0;
}

.footer-content {
	position: relative;
}

.footer-content .mobile-only {
	display: none;
}

.footer-content .footer-content-area--top {
	display: grid;
	grid-template-columns: minmax(900px, 60%) minmax(340px, 40%);
	font-size: var(--wp--preset--font-size--x-large);
	font-family: var(--wp--preset--font-family--antic-didone);
}

.footer-content .footer-content-area--top .footer-column-left {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.footer-content .footer-content-area--top .footer-column-right {
	display: flex;
	justify-content: flex-end;
}

.footer-content .footer-content-area--bottom {
	display: grid;
	grid-template-columns: repeat(3, minmax(200px, 1fr));
	gap: 20px;
}

.footer-content .footer-content-area--bottom .contact-container {
	display: flex;
	gap: 20px;
	align-items: center;
	margin-top: 40px;
}

.footer-content .footer-content-area--bottom .contact-container a {
	display: flex;
	border: 1px solid var(--wp--preset--color--quinary);
	border-radius: 50%;
	padding: 10px;
	height: 52px;
	width: 52px;
	justify-content: center;
	align-items: center;
}

.footer-content .footer-title {
	font-size: var(--wp--preset--font-size--medium);
	margin-top: 20px;
	font-family: var(--wp--preset--font-family--antic-didone);
}

@media (max-width: 1400px) {
	.footer-content .footer-content-area--top {
		font-size: var(--wp--preset--font-size--medium);
		grid-template-columns: minmax(300px, 50%) minmax(300px, 50%);
	}

	.footer-content .footer-content-area--top .footer-column-right .seehotel-location-image {
		max-height: 250px;
	}

	.footer-content .footer-title {
		font-size: var(--wp--preset--font-size--small);
	}
}

@media (max-width: 1000px) {
	.footer-content .footer-content-area--top {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.footer-content .footer-content-area--top .desktop-only {
		display: none;
	}

	.footer-content .footer-content-area--top .footer-column-right {
		justify-content: center;
		margin-top: 20px;
	}

	.footer-content .footer-content-area--bottom {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 40px;
	}

	.footer-content .footer-content-area--bottom .footer-title {
		font-size: var(--wp--preset--font-size--medium);
	}

	.footer-content .footer-content-area--bottom .contact-container {
		display: none;
	}

	.footer-content .footer-content-area--bottom .mobile-only {
		display: block;
	}

	.footer-content .footer-content-area--bottom .mobile-only .menu {
		justify-content: center;
		align-items: center;
		flex-direction: column;
		gap: 20px;
	}

	.footer-content .footer-content-area--bottom .mobile-only .menu li::after {
		display: none;
	}

	.footer-content .footer-content-area--bottom .mobile-only .seehotel-location-image {
		max-height: 250px;
	}

	.footer-content .footer-content-area--bottom .mobile-only .contact-container {
		display: flex;
		justify-content: center;
	}
}

.footer-bar {
	position: relative;
	background-color: var(--wp--preset--color--tertiary);
	margin-top: 40px;
}

.footer-bar .footer-bar-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: var(--seehotel-content-size-wide);
	margin: 0 auto;
	padding: 12px 40px;
}

@media (max-width: 1000px) {
	.footer-bar .footer-bar-content {
		justify-content: center;
		align-items: center;
		flex-direction: column;
	}
}

.footer-bar .footer-bar-content {

	font-size: var(--wp--preset--font-size--extra-small);
}

.footer-bar .footer-bar-content a {
	font-size: var(--wp--preset--font-size--extra-small);
}

.footer-bar .footer-bar-content .site-info {
	margin: 0;
	text-align: center;
}

@media (max-width: 1000px) {
	.footer-bar .footer-bar-content #footer-menu-bar {
		display: none;
	}
}

/* Footer Navigation
--------------------------------------------- */
.footer-navigation .menu {
	display: flex;
	gap: 0; /* we get space from separator between menu entries */
}

.footer-navigation .menu li {
	display: inline-flex;
	align-items: center;
}

.footer-navigation .menu li::after {
	content: "|";
	margin: 0 0.75rem;
	color: var(--wp--preset--color--quinary);
	font-weight: normal;
}

.footer-navigation .menu li:last-child::after {
	content: "";
	margin: 0;
}

/* Columns
 *
 * Overwrites default column block media queries
--------------------------------------------- */

@media (max-width: 900px) {
	.wp-block-columns {
		flex-wrap: wrap !important;
	}
}

@media (max-width: 900px) {
	.wp-block-columns:not(.is-not-stacked-on-mobile) > .wp-block-column {
		flex-basis: 100% !important;
	}
}

/* Posts and pages
--------------------------------------------- */

/* Comments
--------------------------------------------- */

/* Widgets
--------------------------------------------- */

/* Media
--------------------------------------------- */

/* Captions
--------------------------------------------- */

/* Galleries
--------------------------------------------- */

/* Cover Block
--------------------------------------------- */

/* Custom Logo
--------------------------------------------- */
.custom-logo-link {
	display: block;
	font-size: 0;
}

.custom-logo {
	max-width: 100%;
	height: auto;
}

/* Search Page
--------------------------------------------- */

/* Search Results Page
--------------------------------------------- */
body.search-results article {
	padding: 1em 0;
}

/* No results */
body.search-no-results section {
	padding: 1em 0;
}

/* --------------------------------------------------------------
# Blocks
-------------------------------------------------------------- */

/* Buttons
--------------------------------------------- */

/* --------------------------------------------------------------
# Plugins
# For WordPress plugins that have to be styled (e.g. CF7).
-------------------------------------------------------------- */

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/* --------------------------------------------------------------
# Utilities
-------------------------------------------------------------- */

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus,
#main[tabindex="-1"]:focus-visible {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/* rtl:ignore */
	float: left;

	/* rtl:ignore */
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/* rtl:ignore */
	float: right;

	/* rtl:ignore */
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* *
 * @see: https://www.smashingmagazine.com/2023/12/new-css-viewport-units-not-solve-classic-scrollbar-problem/#avoiding-the-classic-scrollbar-problem */
.alignfull {
	max-width: 100%;
	width: 100%;
}

.alignwide {
	max-width: var(--wp--style--global--wide-size);
}

/* --------------------------------------------------------------
# Theme Customizations
-------------------------------------------------------------- */

/* Header Slider
--------------------------------------------- */
.header-slider.active {
	--slider-margin: 90px;
	position: relative;
	height: 100vh;
	min-height: 400px;
	margin-bottom: var(--slider-margin);
}

.header-slider.active .slider-overlay {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.3);
}

.header-slider.active .slide-image {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1s ease-in-out;
}

.header-slider.active .slide-image.active {
	opacity: 1;
}

.header-slider.active .slider-ui {
	position: absolute;
	left: 0;
	bottom: 0;
	height: 100%;
	width: 100%;
	/*display: grid;*/
	/*grid-template-columns: 1fr 1fr;*/
}

.header-slider.active .slider-ui-left {
	/*position: relative;*/
	/*display: flex;*/
	/*justify-content: flex-start;*/
	/*align-items: flex-end;*/
	position: absolute;
	bottom: 0;
}

.header-slider.active .slider-ui-left .slider-controls {
	margin-left: 80px;
	margin-bottom: 80px;
	display: flex;
	align-items: end;
	gap: 12px;
	color: #fff;
}

.header-slider.active .slider-ui-left .slider-controls .slider-dot {
	min-width: 0;
	cursor: pointer;
	color: #fff;
	text-decoration: none;
	position: relative;
	background-color: transparent;
	border: none;
	padding: 0;
	text-align: left;
}

.header-slider.active .slider-ui-left .slider-controls .slider-dot .dot-line {
	display: block;
	width: 100%;
	height: 2px;
	background-color: #fff;
	transition: all 0.5s ease-in-out;
}

.header-slider.active .slider-ui-left .slider-controls .slider-dot.active {
	grid-column: span 2;
}

.header-slider.active .slider-ui-left .slider-controls .slider-dot.active .dot-line {
	padding-right: 3em;
}

.header-slider.active .site-links {
	display: grid;
	grid-template-columns: 450px 450px;
	opacity: 1;
	transform: translateY(0);
	transition: all 0.8s ease-in-out;
}

body.scrolled .header-slider.active .site-links {
	pointer-events: none;
	opacity: 0;
	transform: translateY(60px);
}

.header-slider.active .site-links .hotel-link,
.header-slider.active .site-links .restaurant-link {
	background-color: var(--wp--preset--color--base);
	color: var(--wp--preset--color--secondary);
	transition: all 0.4s ease-in-out;
	border: 1px solid #F5F1EA;
}

.header-slider.active .site-links .hotel-link:hover,
.header-slider.active .site-links .restaurant-link:hover {
	background-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
}

.header-slider.active .site-links a {
	color: inherit;
	text-decoration: none;
	display: block;
	padding: 2px 26px;
	outline-color: #fff;
	transition: transform 0.4s ease-in-out;
	font-size: 2.813rem;
	text-align: center;
}

.header-slider.active .site-links .hotel-link:hover a,
.header-slider.active .site-links .restaurant-link:hover a {
	transform: scale(1.1);
}

@media (max-width: 1200px) {
	.header-slider.active .slider-ui-left .slider-controls {
		margin-left: 40px;
		margin-bottom: 40px;
	}

	body.scrolled .header-slider.active .site-links {
		pointer-events: all;
		opacity: 1;
		transform: translateY(0);
	}
}

@media (max-width: 425px) {
	.header-slider.active .slider-ui-left .slider-controls {
		margin-left: 20px;
	}
}

.header-slider.active .slider-ui-right {
	/* position: relative; */
	/*display: flex;*/
	/* justify-content: center; */
	/*align-items: flex-end;*/
	position: absolute;
	bottom: 120px;
	left: 50%;
	transform: translateX(-50%);
	display: grid;
	gap: 50px;
}

.header-slider.active .slider-ui-right .slider-decoration {
	position: absolute;
	width: 2px;
	left: 50%;
	transform: translateX(-50%);
}

.header-slider.active .slider-decoration--top {
	position: absolute;
	height: 90px;
	width: 1px;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	background-color: #fff;
}

.header-slider.active .slider-decoration--bottom {
	position: absolute;
	height: 90px;
	width: 1px;
	bottom: calc(-1 * var(--slider-margin));
	left: 50%;
	transform: translateX(-50%);
	background-color: var(--wp--preset--color--secondary);
}

.header-slider.active .slider-ui-right .slider-message {
	user-select: none;
	color: #fff;
	font-family: var(--wp--preset--font-family--fake-serif);
	font-size: var(--wp--preset--font-size--xx-large);
	text-align: left;
	line-height: 0.8;
	font-weight: 400;
	max-width: 800px;
	margin: 0 auto;
	transition: all 0.8s ease-in-out;
}

body.scrolled .header-slider.active .slider-ui-right .slider-message {
	pointer-events: none;
	opacity: 0;
	transform: translateY(60px);
}

@media (max-width: 1200px) {
	.header-slider.active .slider-ui-right .slider-message {
		order: 1;
		text-align: center;
	}

	.header-slider.active .site-links {
		order: 2;
		grid-template-columns: 410px;
		gap: 20px;
		justify-content: center;
	}

	.header-slider.active .site-links a {
		font-size: 2.375rem;
	}

	body.scrolled .header-slider.active .slider-ui-right .slider-message {
		pointer-events: all;
		opacity: 1;
		transform: translateY(0);
	}

	/*.header-slider.active .slider-ui-right .slider-decoration--top {*/
	/*	height: 90px;*/
	/*}*/

	/*.header-slider.active .slider-ui-right .slider-message {*/
	/*	position: absolute;*/
	/*	bottom: 100px;*/
	/*	left: 50%;*/
	/*	transform: translateX(-50%);*/
	/*	width: 90vw;*/
	/*	text-align: center;*/
	/*	margin-left: 0;*/
	/*}*/
}

@media (max-width: 600px) {
	.header-slider.active .site-links {
		grid-template-columns: 300px;
	}

	.header-slider.active .site-links a {
		font-size: 2rem;
	}
}

/* Unsere Zimmer
--------------------------------------------- */
.wp-block-group.unsere-zimmer {
	padding: 120px 0;
}

/* Background Story
--------------------------------------------- */
.wp-block-group.background-story {
	position: relative;
}

.wp-block-group.background-story > * {
	max-width: 1364px;
}

.wp-block-group.background-story .story-text {
	order: 1;
}

.wp-block-group.background-story .story-text p {
	max-width: 777px;
	margin-block-start: 40px;
}

.wp-block-group.background-story .story-text p:first-child {
	margin-block-start: 0;
}

.wp-block-group.background-story .story-image {
	order: 2;
}

.wp-block-group.background-story::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0.1;
	pointer-events: none;
	inset: 0;
	backdrop-filter: brightness(1.1);
}

@media (max-width: 900px) {
	.wp-block-group.background-story .story-text {
		order: 2;
		text-align: center;
	}

	.wp-block-group.background-story .story-text p {
		max-width: 450px;
		margin-left: auto;
		margin-right: auto;
	}

	.wp-block-group.background-story .story-image {
		order: 1;
	}
}

/* Sie haben Fragen?
--------------------------------------------- */
.sie-haben-fragen > * {
	max-width: 1364px;
}

@media (max-width: 900px) {
	.sie-haben-fragen .story-text {
		text-align: center;
	}

	.sie-haben-fragen .story-text p {
		max-width: 450px;
		margin-left: auto;
		margin-right: auto;
	}
}

/* Block spacer
--------------------------------------------- */
.wp-block-spacer {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* --------------------------------------------------------------
# Restaurant page template
-------------------------------------------------------------- */
body.page-template-restaurant h1 {
	margin-block-start: 40px !important;
	margin-block-end: 40px !important;
	font-family: var(--wp--preset--font-family--antic-didone);
	font-size: clamp(2.5rem, 4vw, 3rem);
	color: #fff;
}

body.page-template-restaurant {
	font-weight: 400;
}

body.page-template-restaurant .entry-content img {
	cursor: pointer;
}

body.page-template-restaurant .wp-block-image {
	border: 1px solid rgba(198, 185, 162, 0.25);
	height: 100%;
}

body.page-template-restaurant .wp-block-image > img {
	height: 100%;
	object-fit: cover;
}

@media (max-width: 900px) {
	body.page-template-restaurant .wp-block-columns.wrap-invert > .wp-block-column:first-child {
		order: 2;
	}

	body.page-template-restaurant .wp-block-columns.wrap-invert > .wp-block-column:last-child {
		order: 1;
	}
}

/* Glightbox CSS Anpassungen
--------------------------------------------- */
.gslide-description {
	display: none;
}