/*--
Website-Design und -Entwicklung durch JW Studio
Urheberrecht (c) 2025 Jörn Wirth
Alle Rechte vorbehalten.
Kontakt: contact@wirthstudio.de
Ref-ID: LHS-2025-001-V1.0
*/
/* --- Grundlegende Stile & Variablen --- */
:root {
	--primary-color: #2c5e3c; /* Ein sattes Waldgrün */
	--secondary-color: #e8e4d8; /* Ein warmer Beige-Ton */
	--accent-color: #d48c4e; /* Ein warmer Orange/Kupfer-Ton */
	--text-color: #333333;
	--light-gray: #f4f4f4;
	--white: #ffffff;
	--heading-font: "Playfair Display", serif;
	--body-font: "Montserrat", sans-serif;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: var(--body-font);
	line-height: 1.6;
	color: var(--text-color);
	background-color: var(--white);
}

.container {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
}

h1,
h2,
h3 {
	font-family: var(--heading-font);
	color: var(--primary-color);
	line-height: 1.3;
	margin-bottom: 1rem;
}

h1 {
	font-size: 3rem;
}
h2 {
	font-size: 2.5rem;
}
h3 {
	font-size: 1.8rem;
}

p {
	margin-bottom: 1rem;
}

a {
	color: var(--accent-color);
	text-decoration: none;
}

.lead {
	font-size: 1.2rem;
	color: #555;
	max-width: 800px;
	margin: 0 auto 2rem auto;
	text-align: center;
}

/* --- Header & Navigation --- */
.main-header {
	background: var(--white);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
}

.navbar {
	padding: 1rem 0;
}

.navbar .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.navbar .brand {
	font-family: var(--heading-font);
	font-size: 1.8rem;
	color: var(--primary-color);
	font-weight: 700;
}

.nav-menu {
	list-style: none;
	display: flex;
}

.nav-menu li {
	margin-left: 2rem;
}

.nav-menu a {
	color: var(--primary-color);
	font-weight: 700;
	transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
	color: var(--accent-color);
}

.menu-toggle {
	display: none;
	flex-direction: column;
	cursor: pointer;
}

.bar {
	height: 3px;
	width: 25px;
	background-color: var(--primary-color);
	margin: 4px 0;
	transition: 0.4s;
}

/* --- Main Content & Sections --- */
main {
	padding-top: 80px; /* Höhe des Headers */
}

.hero {
	background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
		url("../img/bild1.jpg") no-repeat center center/cover;
	height: 80vh;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: var(--white);
}

.hero-content h1 {
	color: var(--white);
	font-size: 3.5rem;
}

.hero-content p {
	font-size: 1.5rem;
	margin-bottom: 2rem;
}

.btn {
	display: inline-block;
	padding: 0.8rem 2rem;
	border-radius: 5px;
	font-weight: 700;
	transition: all 0.3s ease;
	border: 2px solid transparent;
}

.btn-primary {
	background-color: var(--accent-color);
	color: var(--white);
	border-color: var(--accent-color);
}

.btn-primary:hover {
	background-color: transparent;
	color: var(--accent-color);
}

.btn-secondary {
	background-color: var(--primary-color);
	color: var(--white);
	border-color: var(--primary-color);
}

.btn-secondary:hover {
	background-color: transparent;
	color: var(--primary-color);
}

section {
	padding: 4rem 0;
}

.about-us {
	text-align: center;
}

.features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin-top: 3rem;
}

.feature-item {
	text-align: center;
}

.feature-icon {
	font-size: 50px;
	color: var(--accent-color);
	margin-bottom: 1rem;
}

.cta-section {
	background-color: var(--secondary-color);
	text-align: center;
}

/* --- Zimmer Seite --- */
.page-header {
	background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
		url("../img/zimmer-header.jpg") no-repeat center center/cover;
	height: 40vh;
	display: flex;
	justify-content: center;
	align-items: center;
	text-align: center;
	color: var(--white);
}

.page-header h1 {
	color: var(--white);
}

.room-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
}

.room-card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	overflow: hidden;
}

.room-card img {
	width: 100%;
	height: 250px;
	object-fit: cover;
}

.room-card-content {
	padding: 2rem;
}

.room-card-content .price {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--accent-color);
	margin-bottom: 1rem;
}

/* --- Kontakt Seite --- */
.contact-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 3rem;
	align-items: flex-start;
}

.contact-info ul {
	list-style: none;
}
.contact-info li {
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
}
.contact-info li .ti {
	/* .ti ist die Klasse von Tabler Icons */
	font-size: 24px;
	margin-right: 1rem;
	color: var(--primary-color);
	width: 30px; /* Feste Breite für saubere Ausrichtung */
}

.map-container {
	height: 400px;
	background: var(--light-gray);
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 8px;
}

/* --- Impressum Seite --- */
.legal-content {
	max-width: 800px;
	margin: 0 auto;
}
.legal-content h2 {
	margin-top: 2rem;
}
.legal-content h3 {
	margin-top: 1.5rem;
}

/* --- Footer --- */
.main-footer {
	background-color: var(--primary-color);
	color: var(--secondary-color);
	padding: 3rem 0 1rem 0;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
	margin-bottom: 2rem;
}

.footer-col h4 {
	font-family: var(--heading-font);
	color: var(--white);
	margin-bottom: 1rem;
}

.footer-col p,
.footer-col a {
	color: var(--secondary-color);
}

.footer-col ul {
	list-style: none;
}

.footer-col li {
	margin-bottom: 0.5rem;
}

.footer-bottom {
	text-align: center;
	border-top: 1px solid #4a7c59;
	padding-top: 1rem;
	font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
	h1 {
		font-size: 2.5rem;
	}
	h2 {
		font-size: 2rem;
	}
	.hero-content h1 {
		font-size: 2.8rem;
	}

	.nav-menu {
		display: none;
		flex-direction: column;
		width: 100%;
		position: absolute;
		top: 75px;
		left: 0;
		background-color: var(--white);
		text-align: center;
		box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	}

	.nav-menu.active {
		display: flex;
	}

	.nav-menu li {
		margin: 1rem 0;
	}

	.menu-toggle {
		display: flex;
	}

	.room-card {
		flex-direction: column;
	}

	.contact-grid {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 769px) {
	.room-card {
		flex-direction: row;
	}
	.room-card img {
		width: 40%;
		height: auto;
	}
	.room-card-content {
		width: 60%;
	}
}

.room-card {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	background: var(--white);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
}

.room-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn-fake {
	display: inline-block;
	margin-top: 1rem;
	color: var(--accent-color);
	font-weight: 700;
}

/* --- Modal Stile --- */
.modal {
	display: none; /* Standardmäßig versteckt */
	position: fixed;
	z-index: 2000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgba(0, 0, 0, 0.7);
	align-items: center;
	justify-content: center;
}

.modal.active {
	display: flex;
}

.modal-content {
	background-color: #fff;
	margin: auto;
	padding: 30px;
	border-radius: 8px;
	max-width: 900px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	animation: fadeIn 0.5s;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: scale(0.95);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

.modal-close {
	color: #aaa;
	position: absolute;
	top: 15px;
	right: 25px;
	font-size: 28px;
	font-weight: bold;
	cursor: pointer;
}

.modal-close:hover,
.modal-close:focus {
	color: #333;
}

.modal-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 30px;
}

/* --- Modal Galerie --- */
.modal-gallery {
	position: relative;
}

#modal-img {
	width: 100%;
	height: 400px;
	object-fit: cover;
	border-radius: 8px;
}

.gallery-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
	border: none;
	padding: 10px;
	cursor: pointer;
	font-size: 24px;
	line-height: 1;
	border-radius: 50%;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.3s ease;
}

.gallery-btn:hover {
	background-color: rgba(0, 0, 0, 0.8);
}

.gallery-btn.prev {
	left: 10px;
}

.gallery-btn.next {
	right: 10px;
}

/* --- Modal Details --- */
.modal-details .price {
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--accent-color);
	margin-bottom: 1rem;
}

.modal-specs {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid #eee;
}

.spec-item {
	background-color: #f4f4f4;
	padding: 5px 10px;
	border-radius: 5px;
	font-size: 0.9rem;
}

.amenities-list {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0;
	display: grid;
	/* Erstellt ein responsives Gitter, jede Spalte ist mind. 200px breit */
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 1rem; /* Abstand zwischen den Elementen */
}

.amenities-list li {
	display: flex;
	align-items: center;
	font-size: 0.9rem;
}

.amenities-list .ti {
	/* Stile für die Icons */
	font-size: 1.2rem;
	margin-right: 0.75rem;
	color: var(--primary-color);
	flex-shrink: 0; /* Verhindert, dass das Icon schrumpft */
}

/* Responsive Anpassungen für das Modal */
@media (max-width: 768px) {
	.modal-grid {
		grid-template-columns: 1fr;
	}
	#modal-img {
		height: 250px;
	}
	.amenities-list {
		columns: 1;
		-webkit-columns: 1;
		-moz-columns: 1;
	}
}
/*--
Website-Design und -Entwicklung durch JW Studio
Urheberrecht (c) 2025 Jörn Wirth
Alle Rechte vorbehalten.
Kontakt: contact@wirthstudio.de
Ref-ID: LHS-2025-001-V1.0
*/