/*
Theme Name: Heiße Vögel
Theme URI: https://www.heisse-voegel.de
Author: Stephanie
Author URI: https://www.heisse-voegel.de
Description: Child theme of Twenty Twenty-Five for Heiße Vögel – Veganer Food Truck aus Räbke mit Hefeteigtaschen und süßen Leckereien.
Template: twentytwentyfive
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: heisse-voegel
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, translation-ready, wide-blocks, block-styles, accessibility-ready, food-and-drink
*/

/* ============================
   Local Fonts (DSGVO-konform)
   ============================ */

@font-face {
	font-family: 'Caveat';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('./fonts/caveat-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Caveat';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('./fonts/caveat-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: 'Quicksand';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('./fonts/quicksand-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: 'Quicksand';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url('./fonts/quicksand-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================
   Base Styles
   ============================ */

a {
	text-decoration: none;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ============================
   Hero Section
   ============================ */

.hero-section {
	position: relative;
	min-height: 80vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.hero-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to bottom, rgba(28, 46, 54, 0.4), rgba(28, 46, 54, 0.7));
}

.hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: 2rem;
}

.hero-logo {
	max-width: 320px;
	height: auto;
	margin-bottom: 1.5rem;
	filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}

.hero-tagline {
	color: #FDF6ED;
	font-family: 'Caveat', cursive;
	font-size: clamp(1.5rem, 4vw, 2.5rem);
	font-weight: 500;
	text-shadow: 0 2px 8px rgba(0,0,0,0.4);
	margin: 0;
}

/* ============================
   Intro Section
   ============================ */

.intro-section {
	background: #FDF6ED;
	padding: 4rem 2rem;
}

.intro-content {
	max-width: 750px;
	margin: 0 auto;
	text-align: center;
}

.intro-content h2 {
	font-family: 'Caveat', cursive;
	font-size: clamp(2rem, 5vw, 3rem);
	color: #1B4B6B;
	margin-bottom: 1.5rem;
}

.intro-content p {
	font-size: 1.1rem;
	line-height: 1.8;
	color: #5C4A32;
	margin-bottom: 1rem;
}

.intro-buttons {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 2rem;
}

.btn {
	display: inline-block;
	padding: 0.85rem 2rem;
	border-radius: 0.5rem;
	font-weight: 600;
	font-size: 1rem;
	font-family: 'Quicksand', sans-serif;
	transition: all 0.2s ease;
}

.btn-primary {
	background: #1B4B6B;
	color: #FDF6ED;
}

.btn-primary:hover {
	background: #143a54;
	transform: translateY(-1px);
}

.btn-secondary {
	background: #1B4B6B;
	color: #FDF6ED;
	border: 2px solid #1B4B6B;
}

.btn-secondary:hover {
	background: #143a54;
	border-color: #143a54;
	transform: translateY(-1px);
}

/* ============================
   Photo Strip
   ============================ */

.photo-strip {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	max-width: 900px;
	margin: 3rem auto;
	padding: 0 2rem;
}

.photo-strip img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	border-radius: 0.75rem;
	border: 4px solid #E8DFD0;
	box-shadow: 0 4px 16px rgba(92, 74, 50, 0.12);
}

/* ============================
   Header (Nachtblau / Kreidetafel-Look)
   ============================ */

.header-logo-link {
	display: flex;
	align-items: center;
}

.header-logo {
	height: 50px;
	width: auto;
}

/* Mobile Nav */
.mobile-nav {
	display: flex;
	align-items: center;
	position: relative;
}

.mobile-nav__toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	width: 2.5rem;
	height: 2.5rem;
	position: relative;
}

.mobile-nav__icon,
.mobile-nav__icon::before,
.mobile-nav__icon::after {
	display: block;
	width: 1.5rem;
	height: 2px;
	background: #FDF6ED;
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease;
	position: absolute;
	left: 0.5rem;
}

.mobile-nav__icon { top: 50%; transform: translateY(-50%); }
.mobile-nav__icon::before { content: ""; top: -7px; }
.mobile-nav__icon::after { content: ""; top: 7px; }

.mobile-nav__toggle[aria-expanded="true"] .mobile-nav__icon { background: transparent; }
.mobile-nav__toggle[aria-expanded="true"] .mobile-nav__icon::before { top: 0; transform: rotate(45deg); }
.mobile-nav__toggle[aria-expanded="true"] .mobile-nav__icon::after { top: 0; transform: rotate(-45deg); }

.mobile-nav__menu {
	display: flex;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: center;
}

.mobile-nav__menu li a {
	font-size: 0.95rem;
	color: #E8DFD0;
	font-weight: 500;
	transition: color 0.2s ease;
}

.mobile-nav__menu li a:hover {
	color: #C8923C;
}

/* ============================
   Product Cards (Die Crew)
   ============================ */

.wp-block-post-title {
	color: #1B4B6B;
	text-align: center;
}

.wp-block-post-content > .wp-block-paragraph {
	color: #1B4B6B;
	text-align: center;
}

.wp-block-post-content > .wp-block-heading {
	color: #1B4B6B;
	text-align: center;
}

.crew-cards,
.product-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	max-width: 1000px;
	margin: 2rem auto;
	padding: 0 2rem;
}

.crew-card,
.product-card {
	background: #F5EDE0;
	border-radius: 1rem;
	padding: 2rem;
	text-align: center;
	box-shadow: 0 4px 12px rgba(92, 74, 50, 0.08);
	border: 1px solid #E8DFD0;
	transition: transform 0.2s ease;
	display: flex;
	flex-direction: column;
}

.product-card__image {
	flex-shrink: 0;
}

.product-card__content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.product-card__photo--bottom {
	margin-top: auto;
}

.crew-card:hover,
.product-card:hover {
	transform: translateY(-3px);
}

.crew-card img,
.product-card__image img {
	width: 100%;
	max-width: 200px;
	height: 200px;
	object-fit: contain;
	margin: 0 auto 0.75rem;
	display: block;
}

.crew-card h3,
.product-card__content h3 {
	font-family: 'Caveat', cursive;
	font-size: 1.75rem;
	color: #1B4B6B;
	margin-bottom: 0.5rem;
}

.crew-card p,
.product-card__content p {
	font-size: 0.95rem;
	line-height: 1.6;
	color: #1B4B6B;
}

.allergen-labels {
	display: flex;
	gap: 0.25rem;
	flex-wrap: wrap;
	justify-content: center;
	margin-top: 0.75rem;
}

.allergen-tag {
	display: inline-block;
	color: #9a8e80;
	font-size: 0.75rem;
	font-weight: 400;
	font-style: italic;
	padding: 0;
}

.allergen-note {
	font-size: 0.75rem;
	font-style: italic;
	color: #5C4A32;
	margin: 0 -2rem -2rem -2rem;
	padding: 0.5rem 1rem;
	text-align: center;
	border-radius: 0 0 1rem 1rem;
}

/* ============================
   Flugdaten Table
   ============================ */

.flugdaten-table {
	width: 100%;
	max-width: 700px;
	margin: 2rem auto;
	border-collapse: collapse;
	font-size: 1rem;
}

.flugdaten-table th {
	background: #1B4B6B;
	color: #FDF6ED;
	padding: 0.85rem 1.25rem;
	text-align: left;
	font-family: 'Caveat', cursive;
	font-size: 1.2rem;
}

.flugdaten-table td {
	padding: 0.85rem 1.25rem;
	border-bottom: 1px solid #E8DFD0;
	color: #1C2E36;
}

.flugdaten-table tr:nth-child(even) {
	background: #F5EDE0;
}

/* ============================
   Anfrage-Formular
   ============================ */

.checkout-form,
.anfrage-form {
	max-width: 600px;
	margin: 0 auto;
}

.checkout-form .form-field,
.anfrage-form .form-field {
	margin-bottom: 1.75rem;
}

.checkout-form label,
.anfrage-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: #1C2E36;
	font-size: 1.05rem;
	font-family: 'Quicksand', sans-serif;
}

.checkout-form input[type="text"],
.checkout-form input[type="email"],
.checkout-form textarea,
.anfrage-form input[type="text"],
.anfrage-form input[type="email"],
.anfrage-form textarea {
	width: 100%;
	padding: 1rem 1.25rem;
	border: 2px solid #E8DFD0;
	border-radius: 0.75rem;
	background: #FFFDF8;
	color: #1C2E36;
	font-size: 1.1rem;
	font-family: 'Quicksand', sans-serif;
	box-sizing: border-box;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-form input[type="text"]:hover,
.checkout-form input[type="email"]:hover,
.checkout-form textarea:hover,
.anfrage-form input[type="text"]:hover,
.anfrage-form input[type="email"]:hover,
.anfrage-form textarea:hover {
	border-color: #C8923C;
}

.checkout-form input:focus,
.checkout-form textarea:focus,
.anfrage-form input:focus,
.anfrage-form textarea:focus {
	outline: none;
	border-color: #C8923C;
	box-shadow: 0 0 0 4px rgba(200, 146, 60, 0.15);
}

.checkout-form textarea,
.anfrage-form textarea {
	min-height: 160px;
	resize: vertical;
}

.checkout-form .checkout-submit,
.anfrage-form .checkout-submit,
.anfrage-form button[type="submit"] {
	display: inline-block;
	background: #1B4B6B;
	color: #FDF6ED;
	border: none;
	border-radius: 0.75rem;
	padding: 1.1rem 2.5rem;
	font-size: 1.15rem;
	font-weight: 700;
	font-family: 'Quicksand', sans-serif;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease;
	box-shadow: 0 4px 12px rgba(28, 46, 54, 0.3);
}

.checkout-form .checkout-submit:hover,
.anfrage-form .checkout-submit:hover,
.anfrage-form button[type="submit"]:hover {
	background: #C8923C;
	transform: translateY(-2px);
}

.checkout-form .checkout-submit:focus-visible,
.anfrage-form button[type="submit"]:focus-visible {
	outline: 3px solid #1C2E36;
	outline-offset: 3px;
}

.checkout-success {
	background: color-mix(in srgb, #C8923C 12%, transparent);
	border: 2px solid #C8923C;
	border-radius: 0.75rem;
	padding: 1.5rem;
	margin-bottom: 2rem;
}

.checkout-error {
	background: #FDF2F2;
	border: 2px solid #C53030;
	border-radius: 0.75rem;
	padding: 1.5rem;
	margin-bottom: 2rem;
}

/* Anfrage success/error: standardmäßig versteckt */
.anfrage-success,
.anfrage-error {
	display: none;
	border-radius: 0.75rem;
	padding: 1.5rem;
	margin-bottom: 2rem;
}

.anfrage-success {
	background: color-mix(in srgb, #C8923C 12%, transparent);
	border: 2px solid #C8923C;
}

.anfrage-error {
	background: #FDF2F2;
	border: 2px solid #C53030;
}

.anfrage-success.is-visible,
.anfrage-error.is-visible {
	display: block;
}

/* Anfrage Submit-Button */
.anfrage-submit {
	display: inline-block;
	background: #1B4B6B;
	color: #FDF6ED;
	border: none;
	border-radius: 0.75rem;
	padding: 1.1rem 2.5rem;
	font-size: 1.15rem;
	font-weight: 700;
	font-family: 'Quicksand', sans-serif;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease;
	box-shadow: 0 4px 12px rgba(28, 46, 54, 0.3);
}

.anfrage-submit:hover {
	background: #C8923C;
	transform: translateY(-2px);
}

.anfrage-submit:focus-visible {
	outline: 3px solid #C8923C;
	outline-offset: 3px;
}

/* ============================
   Footer
   ============================ */

/* Footer text */
.footer-text a {
	color: #E8DFD0;
}

.footer-text a:hover {
	color: #C8923C;
}

/* ============================
   Responsive
   ============================ */

@media (max-width: 768px) {
	.mobile-nav__toggle {
		display: block;
	}

	.mobile-nav__menu {
		display: none;
		position: absolute;
		top: 100%;
		right: 0;
		background: #1C2E36;
		border: 1px solid #2A5A6A;
		border-radius: 0.5rem;
		box-shadow: 0 8px 24px rgba(0,0,0,0.2);
		padding: 1rem 1.5rem;
		flex-direction: column;
		gap: 0.75rem;
		min-width: 200px;
		z-index: 100;
	}

	.mobile-nav__menu.is-open {
		display: flex;
	}

	.mobile-nav__menu li a {
		font-size: 1.05rem;
		padding: 0.35rem 0;
		display: block;
	}

	.hero-section {
		min-height: 60vh;
	}

	.hero-logo {
		max-width: 220px;
	}

	.photo-strip {
		grid-template-columns: 1fr;
	}

	.photo-strip img {
		height: 200px;
	}

	.intro-buttons {
		flex-direction: column;
		align-items: stretch;
	}

	.btn {
		text-align: center;
	}

	.header-logo {
		height: 38px;
	}
}

@media (max-width: 480px) {
	.hero-section {
		min-height: 50vh;
	}

	.intro-section {
		padding: 2.5rem 1.25rem;
	}

	.crew-cards {
		grid-template-columns: 1fr;
		padding: 0 1rem;
	}

	.checkout-form .checkout-submit {
		width: 100%;
		text-align: center;
	}
}

/* ============================
   Product Showcase (Startseite)
   ============================ */

.product-showcase {
	background: #FDF6ED;
	padding: 3rem 2rem;
	text-align: center;
}

.showcase-title {
	font-family: 'Caveat', cursive;
	font-size: clamp(1.5rem, 4vw, 2.2rem);
	color: #1B4B6B;
	margin-bottom: 1.5rem;
}

.showcase-image {
	width: 100%;
	max-width: 800px;
	height: auto;
	border-radius: 1rem;
	border: 4px solid #E8DFD0;
	box-shadow: 0 8px 24px rgba(92, 74, 50, 0.12);
}

/* ============================
   Marquee Gallery (Carousel)
   ============================ */

.marquee-gallery {
	overflow: hidden;
	padding: 2rem 0;
	background: #1B4B6B;
}

.marquee-track {
	display: flex;
	gap: 1rem;
	animation: marquee-scroll 30s linear infinite;
	width: max-content;
}

.marquee-track img {
	height: 220px;
	width: auto;
	border-radius: 0.5rem;
	object-fit: cover;
	flex-shrink: 0;
}

@keyframes marquee-scroll {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

/* Pause on hover */
.marquee-gallery:hover .marquee-track {
	animation-play-state: paused;
}

@media (max-width: 768px) {
	.marquee-track img {
		height: 160px;
	}
}

/* Produktfotos in Crew-Cards */
.product-card__photo {
	margin: -2rem -2rem 1rem -2rem;
	overflow: hidden;
	border-radius: 1rem 1rem 0 0;
}

.product-card__photo--bottom {
	margin: 1rem -2rem 0 -2rem;
	border-radius: 0;
}

.product-card__photo--bottom:last-child {
	margin-bottom: -2rem;
	border-radius: 0 0 1rem 1rem;
}

.product-card__photo img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	object-position: bottom;
}

.product-card__photo img[alt*="Hei"] {
	object-position: 50% 60%;
}

.product-card__photo img[alt*="Eisv"] {
	object-position: 50% 55%;
}
