/*
Theme Name: Gasthofrundeck
Theme URI: https://www.gasthof-rundeck.de/
Author: Web-Publishing Ronge, Thomas Ronge
Author URI: https://www.web-publishing.de/
Description: Theme für Gasthof Rundeck im Anlautertal
Version: 1.0
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/*
Farben:
#983e58	Rot	Logo
#864159	Rot	Überschrift, etwas dunkler als das Logo, für hover:#72374c
#d2a4ae	Rosa	Hintergrund Wellen

Klassen im Wordpress Backend:
.reihenfolge-1			Reihenfolge ändern bis Breite von 768 Pixel
.reihenfolge-2			Reihenfolge ändern bis Breite von 768 Pixel

*/

/* open-sans-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/open-sans-v44-latin-regular.eot'); /* IE9 Compat Modes */
  src: url('fonts/open-sans-v44-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v44-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/open-sans-v44-latin-regular.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('fonts/open-sans-v44-latin-regular.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('fonts/open-sans-v44-latin-regular.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/open-sans-v44-latin-italic.eot'); /* IE9 Compat Modes */
  src: url('fonts/open-sans-v44-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v44-latin-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/open-sans-v44-latin-italic.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('fonts/open-sans-v44-latin-italic.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('fonts/open-sans-v44-latin-italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/open-sans-v44-latin-700.eot'); /* IE9 Compat Modes */
  src: url('fonts/open-sans-v44-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v44-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/open-sans-v44-latin-700.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('fonts/open-sans-v44-latin-700.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('fonts/open-sans-v44-latin-700.svg#OpenSans') format('svg'); /* Legacy iOS */
}

/* open-sans-700italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 700;
  src: url('fonts/open-sans-v44-latin-700italic.eot'); /* IE9 Compat Modes */
  src: url('fonts/open-sans-v44-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/open-sans-v44-latin-700italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
       url('fonts/open-sans-v44-latin-700italic.woff') format('woff'), /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+, iOS 5+ */
       url('fonts/open-sans-v44-latin-700italic.ttf') format('truetype'), /* Chrome 4+, Firefox 3.5+, IE 9+, Safari 3.1+, iOS 4.2+, Android Browser 2.2+ */
       url('fonts/open-sans-v44-latin-700italic.svg#OpenSans') format('svg'); /* Legacy iOS */
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	min-height: 100%;
}

body {
	font-family: 'Open Sans', 'Verdana', sans-serif;
	font-size: 16px;
	background: #993e59;
	color: #333;
}

h1, h2, h3, h4, h5, h6,
h1.wp-block-heading, h2.wp-block-heading, h3.wp-block-heading, h4.wp-block-heading, h5.wp-block-heading, h6.wp-block-heading {
	font-family: 'Open Sans', 'Verdana', sans-serif;
	color: #864159;
	font-size: 22px;
	font-weight: 700;
}
h2,h2.wp-block-heading { font-size: 20px; padding-bottom: 5px; }
h3,h3.wp-block-heading { font-size: 18px; padding-bottom: 4px; }
h4,h4.wp-block-heading { font-size: 16px; padding-bottom: 3px; }
h5,h5.wp-block-heading { font-size: 14px; padding-bottom: 2px; }
h6,h6.wp-block-heading { font-size: 12px; padding-bottom: 1px; }

h1.wp-block-heading{
	font-family: 'Open Sans', 'Verdana', sans-serif;
	color: #864159;
	font-size: 22px;
	font-weight: 700;
}

@media all and (max-width: 768px) {
	.reihenfolge-1 {
		order: 1;
	}
	.reihenfolge-2 {
		order: 2;
	}
}

.pvc_stats{
	display: none !important;
}

.home-header-willkommen{
	margin: 17px 0 0 0;
	font-weight: 700;
	color: #864159;
	font-size: 18px;
}
.home-header-landgasthof{
	font-weight: 700;
	color: #333;
	display: block;
	font-size: 18px;
	padding-bottom: 12px;
}
.home-header-im-idyllischen-anlautertal{
	font-weight: 400;
	color: #333;
	display: block;
	font-size: 18px;
	padding-bottom: 12px;
}

.wpr-crossfade-stage.header:before{
	position: absolute;
	width: 100%;
	height: 100%;
	content: '';
	background-image: url('images/welle-oben-mit-text.webp');
	background-size: contain;
	background-repeat: no-repeat;
	z-index: 3;
	pointer-events: none;
}
.wpr-crossfade-stage.header::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 3;
	width: 162px;
	height: 65%;
	max-width: 50%;
	max-height: 128px;
	background-image: url('images/logo.webp');
	background-repeat: no-repeat;
	background-position: left bottom;
	background-size: contain;
	pointer-events: none;
}

.tablePageWrapper {
	width: 100%;
	max-width: 990px;
	min-height: 100vh;
	margin: 0 auto;
	background: #fff;
	display: flex;
	flex-direction: column;
	position: relative;
}
.tdHeader {
	max-height: 275px;
	flex: 0 1 auto;
	background: #d2a4ae;
	z-index: 50;
}
.page-main {
	display: flex;
	flex: 1 1 auto;
	align-items: stretch;
	background-color: #faf8f4;
}

.tdMenuLeft {
	width: 220px;
	flex: 0 0 220px;
	background: #faf8f4;
	padding: 39px 20px 20px 20px;
}
/* start - Navigation links ###################################################################################################################### */

/* Linke WordPress-Navigation */
.tdMenuLeft {
	--menu-color: #864159;
}

/* Listenpunkte entfernen */
.tdMenuLeft ul,
.tdMenuLeft li {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Haupt- und Unterpunkte */
.tdMenuLeft a {
	position: relative;
	display: block;
	color: var(--menu-color);
	font-size: 14px;
	line-height: 1.35;
	text-decoration: none;
	padding: 3px 22px 3px 28px; /* links Platz für Rechteck */
	box-sizing: border-box;
}

/* Untermenüs standardmäßig ausblenden */
.tdMenuLeft .sub-menu {
	display: none;
}

/* Untermenü anzeigen, wenn WordPress oder jQuery den Hauptpunkt als offen markiert */
.tdMenuLeft .current-menu-ancestor > .sub-menu,
.tdMenuLeft .current-menu-parent > .sub-menu,
.tdMenuLeft .current-menu-item > .sub-menu,
.tdMenuLeft .wpr-accordion-open > .sub-menu {
	display: block;
}

/* Unterpunkte 15px nach rechts verschieben */
.tdMenuLeft .sub-menu a {
	padding-left: 43px; /* 28px Grundabstand + 15px */
	font-size: 14px;
}

/* Dreieck bei Hauptpunkten mit Untermenü: geschlossen = nach rechts */
.tdMenuLeft .menu-item-has-children > a::after {
	content: "";
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	width: 0;
	height: 0;

	border-left: 6px solid var(--menu-color);
	border-top: 4px solid transparent;
	border-bottom: 4px solid transparent;
}

/* Mouseover/offen = Dreieck nach unten */
.tdMenuLeft .menu-item-has-children:hover > a::after,
.tdMenuLeft .current-menu-ancestor.menu-item-has-children > a::after,
.tdMenuLeft .current-menu-parent.menu-item-has-children > a::after,
.tdMenuLeft .current-menu-item.menu-item-has-children > a::after,
.tdMenuLeft .wpr-accordion-open.menu-item-has-children > a::after {
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 6px solid var(--menu-color);
	border-bottom: 0;
}

/* Rechteck vor Hauptpunkten vorbereiten */
.tdMenuLeft .primary-menu > li > a::before {
	content: "";
	position: absolute;
	left: 5px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 15px;
	background: var(--menu-color);
	opacity: 0;
}

/* Rechteck bei Mouseover und aktivem/geöffnetem Hauptpunkt anzeigen */
.tdMenuLeft .primary-menu > li:hover > a::before,
.tdMenuLeft .primary-menu > li.current-menu-item > a::before,
.tdMenuLeft .primary-menu > li.current-menu-ancestor > a::before,
.tdMenuLeft .primary-menu > li.current-menu-parent > a::before,
.tdMenuLeft .primary-menu > li.wpr-accordion-open > a::before {
	opacity: 1;
}

/* Optional: aktiven Unterpunkt hervorheben */
.tdMenuLeft .sub-menu .current-menu-item > a {
	color: #3f1f2a;
	background-color: #f2f0ec;
}

/* =========================================================
   Mobile Navigation bis 767px
   ========================================================= */

/* Desktop: Buttons ausblenden */
.wpr-mobile-menu-toggle,
.wpr-mobile-menu-close {
	display: none;
}

@media (max-width: 767px) {

	main.tdContent {
		position: relative;
	}

	/* Hamburger oben links im Content */
	.wpr-mobile-menu-toggle {
		display: inline-flex;
		position: absolute;
		top: 10px;
		left: 10px;
		z-index: 10020;
		width: 38px;
		height: 34px;
		padding: 7px;
		border: 1px solid #983e58;
		background: #faf8f4;
		cursor: pointer;
		box-sizing: border-box;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		gap: 4px;
	}

	.wpr-mobile-menu-toggle span {
		display: block;
		width: 22px;
		height: 2px;
		background: #983e58;
	}

	/* mobiles Menü */
	.tdMenuLeft {
		display: none;
		position: absolute;
		top: 52px;
		left: 10px;
		right: 10px;
		z-index: 10010;
		background: #faf8f4;
		border: 1px solid #983e58;
		padding: 34px 10px 10px 10px;
		box-sizing: border-box;
	}

	/* Menü sichtbar */
	.tdMenuLeft.wpr-mobile-menu-visible {
		display: block;
	}

	/* X rechts oben */
	.tdMenuLeft .wpr-mobile-menu-close {
		display: block;
		position: absolute;
		top: 8px;
		right: 8px;
		width: 28px;
		height: 28px;
		border: 0;
		background: transparent;
		cursor: pointer;
		padding: 0;
	}

	.tdMenuLeft .wpr-mobile-menu-close::before,
	.tdMenuLeft .wpr-mobile-menu-close::after {
		content: "";
		position: absolute;
		left: 4px;
		top: 13px;
		width: 20px;
		height: 2px;
		background: #983e58;
	}

	.tdMenuLeft .wpr-mobile-menu-close::before {
		transform: rotate(45deg);
	}

	.tdMenuLeft .wpr-mobile-menu-close::after {
		transform: rotate(-45deg);
	}

	/* Optional: Content etwas nach unten schieben,
	   damit der Hamburger nicht über dem Text liegt */
	main.tdContent {
		padding-top: 54px;
	}

	/* Sicherheit: keine Listenpunkte */
	.tdMenuLeft ul,
	.tdMenuLeft li {
		list-style: none;
	}

	/* Links im mobilen Menü wie im normalen Menü */
	.tdMenuLeft a {
		color: #864159;
		font-size: 14px;
		text-decoration: none;
	}

	/* Unterpunkte bleiben wie vorher 15px eingerückt */
	.tdMenuLeft .sub-menu a {
		padding-left: 43px;
	}
}

/* ende  - Navigation links ###################################################################################################################### */

.tdContent {
	width: 770px;
	flex: 1 1 auto;
	min-width: 0;
	background: #faf8f4;
	padding: 20px 20px 120px 20px;
}
.wpr-sticky-corner {
	position: fixed;
	right: 0;
	bottom: 0;
	width: 100%;
	height: auto;
	z-index: 100;
	pointer-events: none;
}
@media all and (min-width: 768px) {
	.tdHeader {
		position: sticky;
		top: 0;
	}
	.wpr-sticky-corner {
		display: block;
	}
}
@media all and (min-width: 990px) {
	.wpr-sticky-corner {
		width: 990px;
	}
}
@media all and (min-width: 990px) {
	.wpr-sticky-corner {
		right: calc((100vw - 990px) / 2);
	}
}
@media all and (max-width: 767px) {
	.tablePageWrapper {
		max-width: none;
		min-height: 100vh;
	}
	.tdHeader {
		height: auto;
		max-height: 275px;
		flex: 0 0 auto;
		position: static;
	}
	.page-main {
		display: block;
	}
	.tdMenuLeft {
		display: none;
	}
	.tdContent {
		width: 100%;
		padding: 20px 10px 100px 10px;
	}
}
@media all and (max-width: 479px) {
	.wpr-sticky-corner-wrapper{
		display: none;
	}
	.tdContent {
		width: 100%;
		padding: 20px 10px 20px 10px;
	}
}
@media all and (max-height: 700px) {
	.tdHeader {
		position: static !important;
	}
}

figure.wp-block-gallery{
	position: relative;
	padding: 20px 0;
}
figure.wp-block-gallery:before,
figure.wp-block-gallery:after{
	content: 'Bitte klicken zum Vergrößern';
	position: absolute;
	top: 3px;
	font-size: 12px;
	color: #999;
}
figure.wp-block-gallery:after{
	top: unset;
	bottom: 3px;
}
/* Nur Bilder, die in einem Lightbox-Link liegen */
figure a[data-slb-active="1"] {
	position: relative;
	display: inline-block;
	overflow: hidden;
	line-height: 0;
	cursor: pointer;
	border-radius: 4px;
}

/* Nur echte WP-Bilder */
figure a[data-slb-active="1"] img[class^="wp-image-"],
figure a[data-slb-active="1"] img[class*=" wp-image-"] {
	display: block;
	transition:
		transform 0.35s ease,
		filter 0.35s ease,
		box-shadow 0.35s ease;
	will-change: transform;
}

/* dezenter dunkler Schleier */
figure a[data-slb-active="1"]::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.12);
	opacity: 0;
	transition: opacity 0.35s ease;
	z-index: 1;
	pointer-events: none;
}

/* Lupen-Symbol */
figure a[data-slb-active="1"]::after {
	content: "🔍";
	position: absolute;
	right: 10px;
	top: 10px;
	width: 34px;
	height: 34px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.86);
	color: #333;
	border-radius: 50%;
	font-size: 15px;
	line-height: 1;
	opacity: 0;
	transform: scale(0.85);
	transition:
		opacity 0.35s ease,
		transform 0.35s ease;
	z-index: 2;
	pointer-events: none;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

/* Hover + Tastatur-Fokus */
figure a[data-slb-active="1"]:hover img[class^="wp-image-"],
figure a[data-slb-active="1"]:hover img[class*=" wp-image-"],
figure a[data-slb-active="1"]:focus-visible img[class^="wp-image-"],
figure a[data-slb-active="1"]:focus-visible img[class*=" wp-image-"] {
	transform: scale(1.035);
	filter: brightness(0.96);
}

figure a[data-slb-active="1"]:hover::before,
figure a[data-slb-active="1"]:focus-visible::before {
	opacity: 1;
}

figure a[data-slb-active="1"]:hover::after,
figure a[data-slb-active="1"]:focus-visible::after {
	opacity: 1;
	transform: scale(1);
}

/* Tastatur-Fokus sichtbar machen */
figure a[data-slb-active="1"]:focus-visible {
	outline: 2px solid #864159;
	outline-offset: 3px;
}

/* Nutzer respektieren, die Animationen reduzieren wollen */
@media (prefers-reduced-motion: reduce) {
	figure a[data-slb-active="1"] img[class^="wp-image-"],
	figure a[data-slb-active="1"] img[class*=" wp-image-"],
	figure a[data-slb-active="1"]::before,
	figure a[data-slb-active="1"]::after {
		transition: none;
	}
}

/* start - Seite: Zimmerpreise ################################################################################################################### */
@media all and (max-width: 599px) {
	body.page-id-23 .wp-block-image figure,
	body.page-id-23 .wp-block-image figcaption{
		width: 100% !important;
		display: block !important;
	}
	body.page-id-23 .wp-block-image figure img{
		width: 100% !important;
		max-width: 300px !important;
	}
}
/* ende  - Seite: Zimmerpreise ################################################################################################################### */

/* start - Seite: Gästebewertungen ############################################################################################################### */
body.page-id-27 h2,
body.page-id-27 h2.wp-block-heading{
	margin-top: 40px;
	margin-bottom: 0;
	font-size: 16px;
	font-weight: 400;
}
@media all and (max-width: 499px) {
	body.page-id-27 .wp-block-image.auslegeschild-gasthof-rundeck figure img{
		width: 150px !important;
		max-width: 150px !important;
	}
}
@media all and (max-width: 399px) {
	body.page-id-27 .wp-block-image.auslegeschild-gasthof-rundeck figure img{
		width: 120px !important;
		max-width: 120px !important;
	}
}
/* ende  - Seite: Gästebewertungen ############################################################################################################### */

/* start - Kontaktformular mit Plugin contact-form-7 ############################################################################################# */

.table-contact-form {
	width: 100%;
}
@media all and (max-width: 930px) {
	.table-contact-form td {
		display: block;
	}
}

label {
	display: inline-block;
	width: 98%;
	font-size: 16px;
	font-weight: 300;
}
.variations_form label {
	width: unset;
}
label .required {
	font-size: 13px;
	font-weight: 300;
	opacity: 0.7;
}
.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea {
	border-radius: unset;
	border: 1px solid #777777;
	background: transparent;
	padding: 0 10px;
	line-height: 35px;
}
.wpcf7-form-control-wrap input[type='text'],
.wpcf7-form-control-wrap input[type='email'],
.wpcf7-form-control-wrap textarea {
	width: 90%;
	max-width: 90%;
}
@media all and (max-width: 600px) {
	.wpcf7-form-control-wrap input[type='text'],
	.wpcf7-form-control-wrap input[type='email'],
	.wpcf7-form-control-wrap textarea {
		width: 100%;
		max-width: 100%;
	}
}
.wpcf7-form-control-wrap textarea {
	padding-top: 5px;
}
.wpcf7-form-control-wrap input:hover,
.wpcf7-form-control-wrap textarea:hover {
	background-color: #f0f0f0;
}
.wpcf7-form-control-wrap input:focus,
.wpcf7-form-control-wrap textarea:focus {
	border: 1px solid #817a7a;
	background-color: #f0f0f0;
	box-shadow: unset;
	outline: unset;
}
.wpcf7-form-control-wrap textarea {
	line-height: normal;
}

.wpcf7-form-control-wrap[data-name="your-message"] textarea {
	padding: 14px 0 5px 10px;
	border-radius: 5px;
	background: transparent;
	color: #333;
	font-weight: 300;
	font-size: unset;
	letter-spacing: unset;
	line-height: unset;
}
.wpcf7-form-control-wrap textarea:focus {
	border-color: #a99d97;
	-webkit-box-shadow: unset !important;
	box-shadow: unset !important;
}

.wpcf7-form-control-wrap .wpcf7-checkbox .wpcf7-list-item {
	display: block;
}

.wpcf7-list-item {
	margin: 0;
}

form select, form select option, form textarea {
	border-color: #abb8c3;
}

.text-color-pflichtfeld {
	color: #aa0000;
	font-weight: normal;
}

.wpcf7 p {
	position: relative;
}
.wpcf7 p .fa,
.wpcf7 p .fas {
	position: absolute;
	color: #ccc;
	z-index: 1;
	font-size: 20px;
	top: 13px;
	left: 14px;
}

input[type="checkbox"][name^="acceptance-"] {
	padding: unset;
	margin-top: unset;
	line-height: unset;
	height: unset;
	width: unset;
	border-radius: unset;
	transition: unset;
	color: unset;
}

.wpcf7-form-control.wpcf7-submit {
	font-family: var(--global--font-primary) !important;
	font-weight: 400 !important;
	color: #fff !important;
	background-color: #864159 !important;
	padding: 5px 20px 6px 20px !important;
	border: none !important;
	border-radius: 20px !important;
	line-height: 30px;
}
.wpcf7-form-control.wpcf7-submit:hover {
	background-color: #72374c !important;
	border: none !important;
}

.captcha-image label > input + * {
	padding: 0;
}
.captcha-image label > input:checked + *, .captcha-image label > input:focus + * {
	padding: 0;
}

/* ende  - Kontaktformular mit Plugin contact-form-7 ############################################################################################# */

.wp-block-image :where(figcaption) {
	margin-bottom: 12px;
	margin-top: 0;
	font-size: 12px;
	color: #999;
}