/* =========================
   ALLGEMEIN
========================= */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--hauptfarbe: #B59775;
	--hintergrund: #F3F5F6;
}

body {
	font-family: 'Open Sans', sans-serif;
	background-color: var(--hintergrund);
	padding-top: 100px;
}

/* =========================
   HEADER
========================= */

header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	display: flex;
	align-items: center;
	padding: 15px 50px;
	background: rgba(181, 151, 117, 0.95);
	backdrop-filter: blur(8px);
}

.logo img {
	height: 70px;
	display: block;
}

.menu-buttons {
	display: flex;
	gap: 50px;

	margin-left: 30px;
	margin-right: auto;
}

.menu-button {
	color: white;
	text-decoration: none;

	padding: 10px 18px;

	border: 2px solid white;
	border-radius: 25px;

	transition: .3s;
}

.menu-button:hover,
.menu-button.active {
	background: white;
	color: var(--hauptfarbe);
}

.social-icons {
	display: flex;
	gap: 25px;
}

.social-icons a {
	color: white;
	font-size: 30px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.social-icons a:hover {
	transform: scale(1.2);
	color: #222;
}

/* =========================
   HERO
========================= */

.hero {
	position: relative;
}

.header-image {
	width: 100%;
	height: 600px;
	object-fit: cover;
	display: block;
}

.hero-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: white;
	text-align: center;
	text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-text h1 {
	font-size: 80px;
	margin-bottom: 15px;
	letter-spacing: 3px;
}

.hero-text p {
	font-size: 28px;
}

/* =========================
   ÜBER UNS
========================= */

.about-section {
	max-width: 1400px;
	margin: 80px auto;
	padding: 0 40px;
	display: flex;
	align-items: center;
	gap: 60px;
}

.about-image {
	flex: 1;
}

.about-image img {
	width: 100%;
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.about-text {
	flex: 1;
}

.about-text h1 {
	font-size: 64px;
	font-family: Georgia, serif;
	margin-bottom: 15px;
	color: #222;
}

.about-text h3 {
	font-size: 28px;
	margin-bottom: 40px;
	color: #555;
}

.about-text p {
	font-size: 22px;
	line-height: 1.8;
	color: #666;
	margin-bottom: 35px;
}

/* =========================
   VORSTAND
========================= */

.vorstand-section {
	max-width: 1400px;
	margin: 0 auto 100px auto;
	padding: 0 40px;
}

.vorstand-section h1 {
	font-size: 64px;
	font-family: Georgia, serif;
	color: #222;
	margin-bottom: 50px;
	text-align: center;
}

.vorstand-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 40px;
}

.mitglied {
	text-align: center;
	background: white;
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.mitglied:hover {
	transform: translateY(-8px);
}

.mitglied img {
	width: 100%;
	height: 350px;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.mitglied h2 {
	margin-top: 20px;
	font-size: 32px;
	font-family: Georgia, serif;
	color: #222;
}

.mitglied p {
	margin-top: 10px;
	color: #666;
	font-size: 20px;
	margin-bottom: 20px;
}

/* =========================
   MITGLIED
========================= */

.mitglied-section {
	max-width: 1400px;
	margin: 100px auto;
	padding: 0 40px;

	display: flex;
	gap: 60px;
	align-items: center;
}

.mitglied-bild {
	flex: 1;
}

.mitglied-bild img {
	width: 100%;
	border-radius: 12px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.mitglied-content {
	flex: 1;
}

.mitglied-content h1 {
	font-size: 64px;
	font-family: Georgia, serif;
	color: #222;
	margin-bottom: 30px;
}

.mitglied-content p {
	font-size: 22px;
	line-height: 1.8;
	color: #666;
	margin-bottom: 25px;
}

.kontakt-buttons {
	display: flex;
	gap: 15px;
	flex-wrap: wrap;
	margin: 20px 0 40px 0;
}

.whatsapp-button,
.anruf-button {
	display: inline-block;
	padding: 15px 30px;

	border-radius: 8px;
	text-decoration: none;
	font-weight: bold;

	transition: 0.3s;
}

.whatsapp-button {
	background: var(--hauptfarbe);
	color: white;
}

.whatsapp-button:hover {
	background: #9f8365;
}

.anruf-button {
	background: #222;
	color: white;
}

.anruf-button:hover {
	background: #444;
}

/* =========================
   POP UP
========================= */

.modal {
	display: block;
	position: fixed;
	z-index: 9999;

	left: 0;
	top: 0;

	width: 100%;
	height: 100%;

	background: rgba(0, 0, 0, 0.65);
}

.modal-content {
	background: white;

	width: 380px;
	max-width: 90%;

	margin: 60px auto;
	border-radius: 15px;

	overflow: hidden;

	text-align: center;

	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.modal-header {
	background: var(--hauptfarbe);
	color: white;

	padding: 15px;
	font-size: 24px;
	font-weight: bold;
}

.modal-content img {
	width: 100%;
	display: block;
}

.modal-body {
	padding: 20px;
}

.modal-body p {
	color: #555;
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 10px;
}

.close {
	position: absolute;
	right: 15px;
	top: 10px;

	color: white;
	font-size: 30px;
	cursor: pointer;
}

/* =========================
   TITEL
========================= */

.page-title {
	text-align: center;
	font-size: 64px;
	font-family: Georgia, serif;
	margin: 0 0 20px 0;
	margin-top: 40px;
}

.page-subtitle {
	text-align: center;
	color: #666;
	font-size: 24px;

	margin-bottom: 50px;
}

/* =========================
   TRENNLINIE
========================= */

.section-divider {
	border: none;
	height: 2px;

	width: 85%;
	margin: 80px auto;

	background: linear-gradient(to right,
			transparent,
			var(--hauptfarbe),
			transparent);
}

/* =========================
   EVENTS
========================= */

.event-section {
	max-width: 1400px;
	margin: 80px auto;

	display: flex;
	align-items: flex-start;
	gap: 60px;

	padding: 0 40px;
}

.event-text {
	flex: 1;
}

.event-text h2 {
	font-size: 54px;
	font-family: Georgia, serif;
	margin-bottom: 30px;
}

.event-text p {
	font-size: 22px;
	line-height: 1.8;
	color: #666;
}

.event-image {
	flex: 1;
}

.event-image img {
	width: 100%;
	border-radius: 12px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* =========================
   GALERIE
========================= */

.gallery-grid {
	max-width: 1400px;
	margin: 50px auto 100px;

	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 25px;

	padding: 0 40px;
}

.gallery-grid img {
	width: 100%;
	aspect-ratio: 1/1;

	object-fit: cover;

	border-radius: 10px;
	cursor: pointer;

	transition: 0.3s;
}

.gallery-grid img:hover {
	transform: scale(1.03);
}

.load-more-btn {
	background: var(--hauptfarbe);
	color: white;

	border: none;
	border-radius: 8px;

	padding: 15px 30px;
	font-size: 18px;

	cursor: pointer;
	transition: 0.3s;
}

.load-more-btn:hover {
	background: #9f8365;
}

/* =========================
   LIGHTBOX
========================= */

.lightbox {
	display: none;

	position: fixed;
	z-index: 99999;

	left: 0;
	top: 0;

	width: 100%;
	height: 100%;

	background: rgba(0, 0, 0, 0.9);

	justify-content: center;
	align-items: center;
}

.lightbox img {
	max-width: 90%;
	max-height: 90%;

	border-radius: 10px;
}

.lightbox-close {
	position: absolute;

	top: 20px;
	right: 35px;

	color: white;
	font-size: 50px;

	cursor: pointer;
}

/* =========================
   WEINKELLERABENDE
========================= */

.page-container {
	max-width: 1400px;
	margin: 0 auto 80px auto;
	padding: 60px 30px 0 30px;
	text-align: center;
}


.page-subtitle {
	text-align: center;
	color: #666;
	font-size: 24px;

	margin-bottom: 50px;
}

.poster {
	width: 100%;
	border-radius: 15px;

	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.button-area {
	text-align: center;
	margin-top: 50px;
}

.calendar-button {
	display: inline-block;

	background: var(--hauptfarbe);
	color: white;

	padding: 18px 40px;

	border-radius: 10px;

	text-decoration: none;
	font-size: 22px;
	font-weight: bold;

	transition: 0.3s;
}

.calendar-button:hover {
	background: #9f8365;
	transform: translateY(-3px);
}

/* =========================
   FOOTER
========================= */

.legal-content {
	text-align: center;
	padding: 25px;

	background-color: #B59775;

	color: white;
	font-size: 14px;
}

.legal-content a {
	color: white;
	text-decoration: none;
	margin: 0 5px;
}

.legal-content a:hover {
	text-decoration: underline;
}

/* =========================
   MOBILE
========================= */

@media screen and (max-width: 768px) {

	body {
		padding-top: 220px;
	}

	header {
		position: fixed;
		top: 0;
		left: 0;

		width: 100%;

		padding: 10px 15px;
		flex-wrap: wrap;
		gap: 10px;
	}

	.logo img {
		height: 45px;
	}

	.menu-buttons {
		width: 100%;
		justify-content: center;
		gap: 15px;
		margin: 10px 0;
	}

	.menu-button {
		padding: 8px 12px;
		font-size: 14px;
	}

	.social-icons {
		width: 100%;
		justify-content: center;
		gap: 20px;
	}

	.social-icons a {
		font-size: 24px;
	}

	.header-image {
		height: 300px;
	}

	.hero-text h1 {
		font-size: 34px;
	}

	.hero-text p {
		font-size: 16px;
	}

	.page-title {
		font-size: 38px;
		margin: 0 0 15px 0;
		padding: 0;
	}

	.about-section {
		flex-direction: column;
		padding: 20px;
		gap: 30px;
	}

	.about-text h1,
	.vorstand-section h1,
	.mitglied-content h1,
	.page-title {
		font-size: 38px;
	}

	.about-text h3 {
		font-size: 22px;
	}

	.about-text p,
	.mitglied-content p {
		font-size: 18px;
		line-height: 1.6;
	}

	.vorstand-grid {
		grid-template-columns: 1fr;
	}

	.mitglied {
		height: 100%;
	}

	.mitglied img {
		width: 100%;
		height: 350px;
		object-fit: cover;
		display: block;
	}

	.mitglied h2 {
		min-height: 80px;
	}

	.mitglied p {
		min-height: 50px;
	}

	.mitglied-section {
		flex-direction: column;
		padding: 20px;
	}

	.kontakt-buttons {
		flex-direction: column;
	}

	.whatsapp-button,
	.anruf-button {
		text-align: center;
		width: 100%;
	}

	.modal-content {
		background: white;
		width: 95%;
		max-width: 500px;

		max-height: 90vh;
		overflow-y: auto;

		margin: 20px auto;
		border-radius: 15px;
		text-align: center;
	}

	.modal-content img {
		width: 100%;
		max-height: 60vh;
		object-fit: contain;
		display: block;
	}

	.modal-header {
		font-size: 20px;
		padding: 12px;
	}

	.close {
		top: 5px;
		right: 10px;
		font-size: 40px;
	}

	.event-section {
		flex-direction: column;
		padding: 20px;
	}

	.event-text h2 {
		font-size: 32px;
	}

	.event-text p {
		font-size: 18px;
	}

	.gallery-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
		padding: 15px;
	}

	.page-container {
		padding-top: 30px;
	}

	.page-subtitle {
		font-size: 18px;
	}

	.calendar-button {
		width: 100%;
		max-width: 350px;
	}

}