/*
Theme Name: LUMAPARK
Theme URI: https://www.lumapark.net
Description: Minimalistisches Theme für LUMAPARK Filmproduktion. Child-Theme von Twenty Twenty-Five.
Author: LUMAPARK
Template: twentytwentyfive
Version: 1.0.0
Requires at least: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lumapark
*/

/* ---------- Grundlagen ---------- */
html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }
::selection { background: var(--wp--preset--color--accent); color: #000; }
a { text-underline-offset: .2em; text-decoration-thickness: 1px; }

/* ---------- Header ---------- */
.lp-header { position: sticky; top: 0; z-index: 50; }
body.admin-bar .lp-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .lp-header { top: 46px; } }
.lp-header .wp-block-navigation a { text-decoration: none; }
.lp-header .wp-block-navigation a:hover,
.lp-header .wp-block-navigation .current-menu-item > a { color: var(--wp--preset--color--contrast); }
.lp-header .wp-block-site-logo img { width: 170px; height: auto; }
@media (max-width: 600px) { .lp-header .wp-block-site-logo img { width: 130px; } }

/* Startseite: Header transparent über dem Video */
body.home .lp-header {
	position: fixed; left: 0; right: 0;
	background: linear-gradient(to bottom, rgba(0,0,0,.7), rgba(0,0,0,0));
	transition: background-color .3s ease;
}
body.home .lp-header > .wp-block-group { background: transparent !important; }
body.home.lp-scrolled .lp-header { background: #000; }

/* ---------- Hero mit Video ---------- */
.lp-hero { background: #000 url("assets/images/lumapark-loop-poster.jpg") center / cover no-repeat; }
.lp-hero h1 { text-wrap: balance; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.lp-hero video { display: none; }
}

/* ---------- Buttons ---------- */
.wp-block-button .wp-block-button__link { transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 2px solid var(--wp--preset--color--accent);
	color: var(--wp--preset--color--accent);
	background: transparent;
}
.wp-block-button .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--wp--preset--color--contrast);
	border-color: var(--wp--preset--color--contrast);
	color: #000;
}

/* ---------- Leistungs-Kacheln ---------- */
.lp-tile { position: relative; }
.lp-tile figure { margin: 0; overflow: hidden; }
.lp-tile img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; transition: transform .6s ease, filter .6s ease; filter: grayscale(.35) brightness(.85); }
.lp-tile:hover img { transform: scale(1.04); filter: none; }
.lp-tile h3 a { text-decoration: none; }
.lp-tile h3 a::after { content: " →"; transition: margin .2s ease; }
.lp-tile:hover h3 a { color: var(--wp--preset--color--accent); }
.lp-tile h3 a::before { content: ""; position: absolute; inset: 0; } /* ganze Kachel klickbar */

/* ---------- Videos ---------- */
.wp-block-embed.is-type-video { margin-block: 0; }
.lp-videos .wp-block-embed__wrapper { background: #111; }
.embed-privacy-container { background-color: #111; }

/* ---------- Logos ---------- */
.lp-logos.wp-block-gallery img { aspect-ratio: 12 / 7; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s ease, opacity .3s ease; }
.lp-logos.wp-block-gallery figure:hover img { filter: none; opacity: 1; }

/* ---------- Galerie Events ---------- */
.lp-gallery.wp-block-gallery img { aspect-ratio: 16 / 9; object-fit: cover; }
.lp-gallery figcaption { font-weight: 600; }

/* ---------- Kontaktformular (Contact Form 7) ---------- */
.wpcf7 form p { margin: 0 0 1.25rem; }
.wpcf7 label { display: block; font-size: var(--wp--preset--font-size--small); font-weight: 600; letter-spacing: .02em; }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
	width: 100%; box-sizing: border-box; margin-top: .4rem;
	background: transparent; color: inherit;
	border: 0; border-bottom: 1px solid #555;
	padding: .7rem 0; font: inherit; border-radius: 0;
}
.wpcf7 textarea { min-height: 9rem; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus { outline: none; border-bottom-color: var(--wp--preset--color--accent); }
.wpcf7 input[type="submit"] {
	cursor: pointer; background: var(--wp--preset--color--accent); color: #000; border: 0;
	padding: .9rem 2.25rem; font: inherit; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.wpcf7 input[type="submit"]:hover { background: var(--wp--preset--color--contrast); }
.wpcf7-not-valid-tip { color: #ff6b6b; font-size: .85rem; }
.wpcf7 form .wpcf7-response-output { margin: 1rem 0 0; padding: .8rem 1rem; border-color: var(--wp--preset--color--accent); }
.lp-cols-2 { display: grid; gap: 0 1.5rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .lp-cols-2 { grid-template-columns: 1fr; } }

/* ---------- Seiten ---------- */
.lp-page-title { letter-spacing: -.02em; }
.wp-block-post-content > h2:not(:first-child) { margin-top: var(--wp--preset--spacing--50); }

/* ---------- Footer ---------- */
.lp-footer a { text-decoration: none; }
.lp-footer a:hover { color: var(--wp--preset--color--accent); }

/* ---------- Korrekturen Layout ---------- */
.wp-block-cover.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container {
	width: 100% !important;
	max-width: 1280px;
	margin-left: auto !important;
	margin-right: auto !important;
}
.lp-videos { margin-top: var(--wp--preset--spacing--50) !important; }
.lp-videos > * { width: 100%; min-width: 0; }
.lp-gallery { margin-top: var(--wp--preset--spacing--50) !important; }
.wp-block-cover.has-custom-content-position .wp-block-cover__inner-container > * { max-width: none; margin-left: 0 !important; }
