/*
Theme Name: Greenhouse under Cover
Theme URI: https://greenhouse-under-cover.de
Author: Greenhouse under Cover
Description: Eigenes Theme für die Cover-Band „Greenhouse under Cover" — urban-grünes Graffiti-Design mit Pflanzenmotiv, Hero, Band-Vorstellung (Videos), Termine, Setlist und Kontakt.
Version: 1.0.1
Requires at least: 6.0
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: guc
*/

/* =============================================================================
 * Design-Tokens — abgeleitet aus Logo & Hero (Graffiti-Grün, Pflanzenmotiv,
 * Beton-Industrie-Gewächshaus, bunte Farbspritzer).
 * ========================================================================== */
:root {
	/* Leitfarben */
	--green:        #7BC043; /* Graffiti-Grün (Logo-Schrift, Ranken) */
	--green-dark:   #3B8C3B; /* dunkles Blattgrün */
	--green-deep:   #24611F; /* sehr dunkel, für Tiefe */
	--cyan:         #1CA9E0; /* Vorhang blau */
	--violet:       #6B3FA0; /* Vorhang violett */
	--magenta:      #E0439B; /* Farbspritzer pink */
	--yellow:       #F5C518; /* Akzent / Blütenknospe */

	/* Neutral (Beton / Industrie) */
	--ink:          #1F2421; /* Text, fast schwarz-grün */
	--ink-soft:     #46514a; /* sekundärer Text */
	--concrete:     #F4F4F1; /* heller Beton-Creme (Hintergrund) */
	--concrete-2:   #E7E8E3; /* etwas dunkler */
	--white:        #ffffff;

	/* Rollen */
	--bg:           var(--concrete);
	--fg:           var(--ink);
	--brand:        var(--green);
	--brand-dark:   var(--green-dark);
	--accent:       var(--magenta);

	/* Verlauf im Graffiti-Stil */
	--grad: linear-gradient(120deg, var(--green) 0%, var(--cyan) 45%, var(--violet) 75%, var(--magenta) 100%);

	/* Radius & Schatten */
	--radius:       14px;
	--radius-lg:    22px;
	--shadow:       0 10px 30px rgba(31, 36, 33, 0.12);
	--shadow-lg:    0 20px 50px rgba(31, 36, 33, 0.22);

	/* Layout */
	--maxw:         1180px;
	--gap:          clamp(1rem, 2vw, 1.75rem);

	/* Typografie */
	--font-display: "Anton", "Arial Narrow", sans-serif;
	--font-body:    "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* =============================================================================
 * Reset / Basis
 * ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--fg);
	background: var(--bg);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }

a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
	font-family: var(--font-display);
	font-weight: 400;
	line-height: 1.05;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }

p { margin: 0 0 1rem; }

.container {
	width: min(100% - 2.5rem, var(--maxw));
	margin-inline: auto;
}

.eyebrow {
	display: inline-block;
	font-family: var(--font-body);
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 0.8rem;
	color: var(--brand-dark);
	background: rgba(123, 192, 67, 0.15);
	padding: 0.35em 0.9em;
	border-radius: 999px;
	margin-bottom: 1rem;
}

/* Buttons */
.btn {
	display: inline-block;
	font-family: var(--font-body);
	font-weight: 800;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	font-size: 0.95rem;
	color: var(--white);
	background: var(--brand-dark);
	border: none;
	padding: 0.85em 1.6em;
	border-radius: 999px;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
	box-shadow: var(--shadow);
}
.btn:hover { transform: translateY(-2px); background: var(--green-deep); text-decoration: none; box-shadow: var(--shadow-lg); }
.btn--ghost { background: transparent; color: var(--white); border: 2px solid var(--white); box-shadow: none; }
.btn--ghost:hover { background: rgba(255,255,255,0.15); }

/* =============================================================================
 * Header / Navigation
 * ========================================================================== */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(244, 244, 241, 0.92);
	backdrop-filter: blur(8px);
	border-bottom: 3px solid transparent;
	border-image: var(--grad) 1;
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.6rem 0;
}
.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand__logo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: var(--shadow); }
.brand__name {
	font-family: var(--font-display);
	font-size: 1.35rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--ink);
	line-height: 1;
}
.brand__name span { color: var(--green-dark); }

.nav-toggle {
	display: none;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 0.4rem;
}
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: 0.2s; }

.main-nav ul { list-style: none; display: flex; gap: 0.4rem; margin: 0; padding: 0; }
.main-nav a {
	display: block;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	font-size: 0.92rem;
	color: var(--ink);
	padding: 0.5em 0.9em;
	border-radius: 999px;
	transition: 0.15s;
}
.main-nav a:hover,
.main-nav .current-menu-item > a {
	background: var(--green);
	color: var(--white);
	text-decoration: none;
}

/* =============================================================================
 * Hero (Startseite)
 * ========================================================================== */
.hero {
	position: relative;
	min-height: min(88vh, 780px);
	display: grid;
	place-items: center;
	text-align: center;
	color: var(--white);
	overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::after {
	content: "";
	position: absolute; inset: 0; z-index: 1;
	background: linear-gradient(180deg, rgba(31,36,33,0.35) 0%, rgba(31,36,33,0.55) 60%, rgba(31,36,33,0.78) 100%);
}
.hero__content { position: relative; z-index: 2; padding: 2rem 1rem; }
.hero__eyebrow {
	display: inline-block;
	font-weight: 800; text-transform: uppercase; letter-spacing: 3px;
	font-size: 0.9rem;
	background: var(--grad);
	color: var(--white);
	padding: 0.4em 1.1em; border-radius: 999px; margin-bottom: 1.2rem;
}
.hero h1 {
	color: var(--white);
	text-shadow: 0 4px 24px rgba(0,0,0,0.5);
	margin-bottom: 0.4rem;
}
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.4rem); font-weight: 700; max-width: 40ch; margin: 0 auto 1.8rem; text-shadow: 0 2px 12px rgba(0,0,0,0.6); }
.hero__cta { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* =============================================================================
 * Ranken-/Blatt-Divider (SVG-Trenner)
 * ========================================================================== */
.vine-divider {
	height: 26px;
	background: var(--grad);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='26' viewBox='0 0 120 26'%3E%3Cpath d='M0 20 Q15 4 30 20 T60 20 T90 20 T120 20' fill='none' stroke='black' stroke-width='6'/%3E%3Ccircle cx='30' cy='8' r='4'/%3E%3Ccircle cx='90' cy='8' r='4'/%3E%3C/svg%3E") repeat-x center / 120px 26px;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='26' viewBox='0 0 120 26'%3E%3Cpath d='M0 20 Q15 4 30 20 T60 20 T90 20 T120 20' fill='none' stroke='black' stroke-width='6'/%3E%3Ccircle cx='30' cy='8' r='4'/%3E%3Ccircle cx='90' cy='8' r='4'/%3E%3C/svg%3E") repeat-x center / 120px 26px;
}

/* =============================================================================
 * Sektionen
 * ========================================================================== */
.section { padding: clamp(3rem, 7vw, 6rem) 0; }
.section--concrete { background: var(--concrete); }
.section--concrete-2 { background: var(--concrete-2); }
.section--dark { background: var(--ink); color: var(--white); }
.section--dark h2 { color: var(--white); }
.section__head { text-align: center; max-width: 60ch; margin: 0 auto 2.5rem; }

/* Seiten-Header (Unterseiten) */
.page-hero {
	position: relative;
	background: var(--ink);
	color: var(--white);
	text-align: center;
	padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem);
	overflow: hidden;
}
.page-hero::before {
	content: ""; position: absolute; inset: 0;
	background: var(--grad); opacity: 0.18; z-index: 0;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); }
.page-hero__lead { max-width: 55ch; margin: 0.5rem auto 0; font-size: 1.1rem; }

/* =============================================================================
 * Teaser-Karten (Startseite)
 * ========================================================================== */
.teasers { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--gap); }
.teaser {
	position: relative;
	display: block;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--white);
	box-shadow: var(--shadow);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
	color: var(--ink);
}
.teaser:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); text-decoration: none; }
.teaser__top { display: block; height: 8px; background: var(--grad); }
.teaser__body { display: block; padding: 1.5rem 1.4rem 1.7rem; }
.teaser__body h3 { color: var(--green-dark); margin-bottom: 0.4rem; }
.teaser__arrow { font-weight: 800; color: var(--magenta); letter-spacing: 1px; }

/* =============================================================================
 * Band-Grid (Mitglieder mit Video)
 * ========================================================================== */
.band-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: var(--gap); }
.member {
	background: var(--white);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
}
.member__media {
	position: relative;
	aspect-ratio: 16 / 10;
	background: var(--ink);
	overflow: hidden;
}
.member__media video,
.member__media img { width: 100%; height: 100%; object-fit: cover; }
.member__play {
	position: absolute; inset: 0; margin: auto;
	width: 64px; height: 64px; border: none; cursor: pointer;
	background: rgba(255,255,255,0.9); border-radius: 50%;
	display: grid; place-items: center;
	box-shadow: var(--shadow);
	transition: transform 0.15s ease, background 0.15s ease;
}
.member__play:hover { transform: scale(1.08); background: var(--white); }
.member__play::before {
	content: ""; display: block;
	width: 0; height: 0;
	border-style: solid; border-width: 12px 0 12px 20px;
	border-color: transparent transparent transparent var(--green-dark);
	margin-left: 4px;
}
.member__body { padding: 1.3rem 1.4rem 1.6rem; flex: 1; display: flex; flex-direction: column; }
.member__name { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; color: var(--ink); margin: 0 0 0.15rem; }
.member__role { font-weight: 800; color: var(--green-dark); font-size: 0.95rem; margin-bottom: 0.8rem; }
.member__text p { margin: 0 0 0.7rem; }
.member__tags { margin-top: auto; padding-top: 1rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tag {
	font-size: 0.72rem; font-weight: 700;
	color: var(--violet);
	background: rgba(107, 63, 160, 0.1);
	padding: 0.25em 0.7em; border-radius: 999px;
}

/* =============================================================================
 * Setlist
 * ========================================================================== */
.setlist { max-width: 760px; margin: 0 auto; }
.setlist__count { text-align: center; color: var(--ink-soft); margin-bottom: 2rem; font-weight: 700; }
.songs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.song {
	display: flex; align-items: baseline; gap: 1rem;
	background: var(--white);
	border-radius: var(--radius);
	padding: 0.85rem 1.2rem;
	box-shadow: 0 4px 14px rgba(31,36,33,0.06);
	border-left: 5px solid var(--green);
}
.song__title { font-weight: 800; color: var(--ink); }
.song__artist { color: var(--ink-soft); margin-left: auto; text-align: right; font-size: 0.92rem; }

/* =============================================================================
 * Termine
 * ========================================================================== */
.events { max-width: 820px; margin: 0 auto; display: grid; gap: 1rem; }
.event {
	display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: center;
	background: var(--white); border-radius: var(--radius); padding: 1.2rem 1.4rem; box-shadow: var(--shadow);
}
.event__date { text-align: center; background: var(--grad); color: var(--white); border-radius: var(--radius); padding: 0.7rem 1rem; min-width: 84px; }
.event__day { font-family: var(--font-display); font-size: 1.8rem; line-height: 1; }
.event__month { text-transform: uppercase; font-weight: 800; font-size: 0.8rem; letter-spacing: 1px; }
.event__title { font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; margin: 0 0 0.2rem; }
.event__meta { color: var(--ink-soft); font-size: 0.95rem; }

.empty-state {
	max-width: 620px; margin: 0 auto; text-align: center;
	background: var(--white); border-radius: var(--radius-lg);
	padding: 3rem 2rem; box-shadow: var(--shadow);
	border: 2px dashed var(--concrete-2);
}
.empty-state__icon { font-size: 3rem; margin-bottom: 0.5rem; }

/* =============================================================================
 * Kontaktformular
 * ========================================================================== */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact__info .lead { font-size: 1.15rem; }
.contact-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; align-items: center; gap: 0.8rem; }
.contact-list svg { width: 24px; height: 24px; fill: var(--green-dark); flex-shrink: 0; }

.contact-form { background: var(--white); padding: 1.8rem; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.contact-form label { display: block; font-weight: 800; margin: 0.9rem 0 0.35rem; font-size: 0.9rem; }
.contact-form input,
.contact-form textarea {
	width: 100%; padding: 0.75rem 0.9rem;
	border: 2px solid var(--concrete-2); border-radius: var(--radius);
	font-family: inherit; font-size: 1rem; background: var(--concrete);
	transition: border-color 0.15s ease;
}
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--green); }
.contact-form .btn { margin-top: 1.2rem; width: 100%; }
/* Honeypot (unsichtbar für Menschen) */
.guc-hp { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice { padding: 1rem 1.2rem; border-radius: var(--radius); font-weight: 700; margin-bottom: 1.2rem; }
.notice--ok { background: rgba(123,192,67,0.18); color: var(--green-deep); }
.notice--error { background: rgba(224,67,155,0.14); color: #a01e63; }

/* =============================================================================
 * Footer
 * ========================================================================== */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.85); padding: 3rem 0 1.5rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.site-footer h4 { font-family: var(--font-display); text-transform: uppercase; color: var(--green); margin: 0 0 0.8rem; font-size: 1.1rem; }
.site-footer a { color: rgba(255,255,255,0.85); }
.site-footer a:hover { color: var(--green); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.2rem; font-size: 0.85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }

/* =============================================================================
 * Lightbox (Video-Player-Overlay)
 * ========================================================================== */
.lightbox {
	position: fixed; inset: 0; z-index: 200;
	background: rgba(15,17,15,0.92);
	display: none; place-items: center; padding: 1.5rem;
}
.lightbox.is-open { display: grid; }
.lightbox__inner { position: relative; width: min(920px, 100%); }
.lightbox__inner video { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: #000; }
.lightbox__close {
	position: absolute; top: -3rem; right: 0;
	background: none; border: none; color: var(--white);
	font-size: 2.4rem; line-height: 1; cursor: pointer;
}

/* =============================================================================
 * Responsive
 * ========================================================================== */
@media (max-width: 860px) {
	.contact { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
	.nav-toggle { display: block; }
	.main-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		background: var(--concrete);
		border-bottom: 3px solid var(--green);
		max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
	}
	.main-nav.is-open { max-height: 60vh; }
	.main-nav ul { flex-direction: column; padding: 1rem; gap: 0.2rem; }
	.event { grid-template-columns: 1fr; text-align: center; }
	.event__date { margin: 0 auto; }
	.song { flex-direction: column; gap: 0.2rem; }
	.song__artist { margin-left: 0; text-align: left; }
}
