/*
Theme Name: DJ Pious
Theme URI: https://dj.piouswood.de/
Author: Piouswood Solution
Author URI: https://solution.piouswood.de/
Description: Onepager für DJ Pious – dunkel, Sunset-Orange, Bebas Neue. Inhalte über Design → Customizer, Formular über Contact Form 7.
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dj-pious
*/

/* Schriften lokal, damit keine Besucher-IP an Google geht */
@font-face { font-family: 'Bebas Neue'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/bebas-neue-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/fonts/manrope-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/fonts/manrope-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 700; font-display: swap; src: url(assets/fonts/manrope-latin-700-normal.woff2) format('woff2'); }

:root {
	--bg: #0b0b0d;
	--bg-2: #141418;
	--line: #26262c;
	--text: #f2f0ec;
	--muted: #9a978f;
	--accent: #ff6a3d;
	--head: 'Bebas Neue', Impact, sans-serif;
	--nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, ul, figure { margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { background: var(--bg); color: var(--text); font-family: Manrope, system-ui, sans-serif; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--head); font-weight: 400; line-height: 1.02; letter-spacing: .01em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 760px; }
section { padding: 110px 0; border-top: 1px solid var(--line); }
.eyebrow { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-bottom: 18px; }
h2 { font-size: clamp(34px, 5vw, 60px); margin-bottom: 28px; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.btn { display: inline-block; background: var(--accent); color: #111; font-weight: 700; padding: 16px 30px; border-radius: 999px; border: 0; font: inherit; font-weight: 700; cursor: pointer; transition: transform .15s; }
.btn:hover { transform: translateY(-2px); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: #111; padding: 8px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* Navigation */
.site-nav { position: fixed; inset: 0 0 auto 0; z-index: 10; background: rgba(11, 11, 13, .7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.admin-bar .site-nav { top: 32px; }
.site-nav .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); }
.logo { font-family: var(--head); letter-spacing: .01em; font-size: 22px; }
.logo span { color: var(--accent); }
.site-nav ul { display: flex; gap: 28px; list-style: none; font-size: 14px; color: var(--muted); }
.site-nav ul a:hover { color: var(--text); }
.site-nav .btn { padding: 10px 20px; font-size: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; margin-left: 8px; background: none; border: 0; color: var(--text); cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 11px; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle span { top: 21px; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); background: currentColor; }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); background: currentColor; }

/* Hero */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 40px) 0 90px; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background:
	radial-gradient(ellipse 60% 55% at 72% 38%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 70%),
	radial-gradient(ellipse 40% 40% at 20% 80%, #3a1f5c, transparent 70%),
	linear-gradient(180deg, #0b0b0d 0%, #16121a 100%); }
.hero .wrap { position: relative; width: 100%; display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
.hero.no-photo .wrap { grid-template-columns: 1fr; }
.hero-photo { width: 100%; max-width: 420px; justify-self: end; aspect-ratio: 4/5; border-radius: 18px; overflow: hidden; }
.hero-photo img, .about .photo img { width: 100%; height: 100%; object-fit: cover; }
.hero h1 { font-size: clamp(110px, 15vw, 230px); line-height: .88; }
.hero h1 span { color: var(--accent); }
.hero .claim { font-size: clamp(16px, 2vw, 22px); margin: 18px 0 36px; opacity: .85; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Kennzahlen */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; margin-top: 56px; }
.fact { background: var(--bg); padding: 28px; }
.fact b { display: block; font-family: var(--head); font-weight: 400; font-size: 44px; line-height: 1.1; color: var(--accent); }
.fact small { color: var(--muted); font-size: 14px; }

/* Über mich */
.about { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.about.no-photo { grid-template-columns: minmax(0, 760px); }
.about .photo { aspect-ratio: 4/5; border-radius: 16px; overflow: hidden; }
.about p { color: #cfccc6; }
.about p + p { margin-top: 16px; }

/* Played at */
#map { width: 100%; height: auto; display: block; margin: 40px 0 48px; }
#map path { fill: #202027; stroke: var(--bg); stroke-width: .5; }
#map path.on { fill: color-mix(in srgb, var(--accent) 45%, #202027); }
#map .dot { fill: var(--accent); }
#map .pulse { fill: none; stroke: var(--accent); stroke-width: 1.5; animation: pulse 2.4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { #map .pulse { animation: none; opacity: 0; } html { scroll-behavior: auto; } }
.flags { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.flag { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.flag .f { font-size: 34px; line-height: 1; }
.flag h3 { font-size: 26px; margin: 12px 0 8px; }
.flag ul { list-style: none; }
.flag li { color: var(--muted); font-size: 15px; padding: 3px 0; break-inside: avoid; }
.flag li em { color: var(--text); font-style: normal; opacity: .6; font-size: 13px; margin-left: 6px; }
.flag.wide { grid-column: 1 / -1; }
.flag.wide h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin: 4px 0 10px; }
.flag.wide ul.columns { columns: 4 160px; column-gap: 24px; }
.flag.wide .cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 24px; margin-top: 22px; }

/* Anlässe */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 28px; transition: border-color .2s; }
.card:hover { border-color: var(--accent); }
.card .n { font-family: var(--head); color: var(--accent); font-size: 16px; }
.card h3 { font-size: 26px; margin: 18px 0 12px; }
.card p { color: var(--muted); font-size: 15px; }

/* Sound & Technik */
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.tag { border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-size: 15px; }
.tag.hot { border-color: var(--accent); color: var(--accent); }
.tech { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 36px; }
.tech div { border-left: 2px solid var(--accent); padding: 4px 0 4px 20px; }
.tech b { display: block; margin-bottom: 6px; }
.tech span { color: var(--muted); font-size: 15px; }

/* Anfrage (Plugin piouswood-formular) */
.booking { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.booking .notice { border: 1px dashed var(--accent); border-radius: 10px; padding: 16px; color: var(--muted); }
.pw-formular { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pw-formular__feld--message, .pw-formular__meldung, .pw-formular .cf-turnstile, .pw-formular__hinweis, .pw-formular button[type=submit] { grid-column: 1 / -1; }
.pw-formular__feld label { font-size: 13px; color: var(--muted); display: block; margin-bottom: 6px; }
.booking input:not([type=checkbox]):not([type=submit]), .booking select, .booking textarea { width: 100%; background: var(--bg-2); border: 1px solid var(--line); color: var(--text); padding: 14px 16px; border-radius: 10px; font: inherit; color-scheme: dark; }
.booking textarea { min-height: 120px; height: 140px; resize: vertical; }
.booking input:focus, .booking select:focus, .booking textarea:focus { outline: none; border-color: var(--accent); }
.booking [aria-invalid=true] { border-color: var(--accent); }
.pw-formular__hinweis { font-size: 14px; color: var(--muted); margin: 0; }
.pw-formular__hinweis a { color: var(--text); text-decoration: underline; }
.pw-formular button[type=submit] { justify-self: start; background: var(--accent); color: #111; border: 0; padding: 16px 30px; border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; }
.pw-formular__fehler { color: var(--accent); font-size: 13px; margin: 4px 0 0; }
.pw-formular__meldung { padding: 14px 16px; border-radius: 10px; border: 1px solid var(--line); color: var(--text); }
.pw-formular__meldung--erfolg { border-color: #3fbf7f; }
.pw-formular__meldung--fehler { border-color: var(--accent); }

/* Unterseiten (Impressum, Datenschutz) */
article.page { padding: calc(var(--nav-h) + 80px) 0 110px; }
article.page h1 { font-size: clamp(48px, 7vw, 84px); margin-bottom: 32px; }
.page-content { color: #cfccc6; }
.page-content > * + * { margin-top: 16px; }
.page-content h2 { font-size: 36px; margin: 48px 0 12px; color: var(--text); }
.page-content h3 { font-size: 26px; margin: 32px 0 8px; color: var(--text); }
.page-content ul, .page-content ol { padding-left: 22px; }
.page-content a { color: var(--accent); text-decoration: underline; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-menu { display: flex; gap: 20px; list-style: none; }
.site-footer a:hover { color: var(--text); }

@media (max-width: 900px) {
	.site-nav .btn { margin-left: auto; }
	.nav-toggle { display: block; }
	.site-nav ul { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 24px 20px; background: var(--bg); border-bottom: 1px solid var(--line); font-size: 18px; color: var(--text); }
	.site-nav.open ul { display: flex; }
	.site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
	.site-nav ul li:last-child a { border-bottom: 0; }
	.hero .wrap { grid-template-columns: 1fr; gap: 32px; }
	.hero-photo { justify-self: start; max-width: 360px; }
	.facts, .cards { grid-template-columns: 1fr 1fr; }
	.about, .booking, .tech { grid-template-columns: 1fr; gap: 36px; }
	.pw-formular { grid-template-columns: 1fr; }
	section { padding: 80px 0; }
}
@media (max-width: 782px) {
	.admin-bar .site-nav { top: 46px; }
}
@media (max-width: 560px) {
	.cards { grid-template-columns: 1fr; }
	.fact { padding: 20px; }
}
