/*
Theme Name: CP Drums
Description: Schlanke One-Page-Seite für Christian Paulus – Schlagzeugunterricht in Rednitzhembach. Keine Fremdabhängigkeiten, keine externen Abrufe.
Author: hoch³ media
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: cp-drums
*/

@font-face { font-family: "Kaushan Script"; src: url("assets/fonts/kaushan-script.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("assets/fonts/inter-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
	--bg: #0d0b09;
	--bg-2: #17130f;
	--card: #1e1914;
	--line: #3a3027;
	--text: #f4efe8;
	--muted: #b9ada0;
	--amber: #f5a524;
	--amber-2: #ffbf47;
	--paper: #f7efe1;
	--ink: #16120e;
	--radius: 14px;
	--wrap: 1120px;
	--script: "Kaushan Script", "Brush Script MT", cursive;
	--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber-2); }
a:hover { color: #fff; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; left: 12px; top: 12px; z-index: 100; width: auto; height: auto; clip: auto; background: var(--amber); color: var(--ink); padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.site-header.is-solid, body:not(.home) .site-header { background: rgba(13, 11, 9, .94); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { font-family: var(--script); font-size: 1.55rem; color: #fff; text-decoration: none; white-space: nowrap; }
.brand span { color: var(--amber); }
.nav { margin-left: auto; display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--amber); }
.nav .btn { padding: 9px 16px; font-size: .95rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 8px 12px; font: 600 .95rem var(--sans); }
@media (max-width: 860px) {
	.nav-toggle { display: block; }
	.nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(13, 11, 9, .98); border-bottom: 1px solid var(--line); padding: 8px 20px 18px; }
	.nav.is-open { display: flex; }
	.nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
	.nav .btn { margin-top: 12px; text-align: center; }
}

/* Buttons */
.btn { display: inline-block; background: var(--amber); color: var(--ink); font-weight: 800; text-decoration: none; border: 0; border-radius: 999px; padding: 14px 26px; cursor: pointer; font-family: var(--sans); font-size: 1rem; transition: background .2s, transform .2s; }
.btn:hover { background: var(--amber-2); color: var(--ink); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .7); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* Hero */
.hero { position: relative; min-height: 92vh; min-height: 92svh; display: flex; align-items: flex-end; padding: 120px 0 72px; background: #000 center 35% / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 40%, rgba(13,11,9,.92) 88%, var(--bg) 100%), linear-gradient(90deg, rgba(0,0,0,.65), rgba(0,0,0,0) 65%); }
.hero .wrap { position: relative; }
.hero-kicker { display: inline-block; color: var(--amber); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; margin-bottom: 14px; }
.hero h1 { font-family: var(--script); font-weight: 400; font-size: clamp(3.4rem, 9vw, 7rem); line-height: .95; margin: 0 0 .15em; text-shadow: 0 4px 30px rgba(0,0,0,.5); }
.hero h1 em { display: block; font-style: normal; color: var(--amber); font-size: .62em; margin-top: .12em; }
.hero-lead { font-size: clamp(1.1rem, 2.2vw, 1.35rem); max-width: 38em; color: #eee5da; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.badge-start { position: absolute; right: 0; top: -40px; transform: rotate(-4deg); background: var(--amber); color: var(--ink); font-family: var(--script); font-size: clamp(1.2rem, 2.6vw, 1.7rem); padding: 10px 22px; border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
@media (max-width: 860px) { .badge-start { position: static; display: inline-block; margin-bottom: 18px; } }

/* Sections */
section { padding: 88px 0; }
.section-alt { background: var(--bg-2); }
.eyebrow { color: var(--amber); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin-bottom: 8px; display: block; }
.section-title { font-family: var(--script); font-weight: 400; font-size: clamp(2.3rem, 5vw, 3.4rem); }
.section-intro { color: var(--muted); max-width: 44em; font-size: 1.08rem; margin-bottom: 40px; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about-img { position: relative; }
.about-img img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; object-position: 30% center; width: 100%; }
.about-img::after { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--amber); border-radius: var(--radius); z-index: -1; }
.about-text { font-size: 1.08rem; }
.about-text p:first-of-type { font-size: 1.2rem; color: #fff; }
.styles { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.styles li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 600; color: var(--paper); background: var(--card); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; gap: 40px; } .about-img { max-width: 440px; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; }
.feature .ico { width: 48px; height: 48px; border-radius: 50%; background: var(--amber); color: var(--ink); display: grid; place-items: center; margin-bottom: 14px; }
.feature .ico svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.08rem; }
.feature p { color: var(--muted); margin: 0; font-size: .97rem; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

/* Prices */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.price { background: var(--paper); color: var(--ink); border-radius: var(--radius); padding: 28px 20px 24px; text-align: center; position: relative; box-shadow: 0 14px 40px rgba(0,0,0,.35); }
.price h3 { font-family: var(--script); font-weight: 400; font-size: 1.6rem; margin-bottom: 10px; }
.price h3::after { content: ""; display: block; width: 70%; height: 4px; margin: 6px auto 0; background: var(--amber); border-radius: 2px; transform: rotate(-1.5deg); }
.price .amount { font-weight: 800; font-size: 2.8rem; line-height: 1; }
.price .per { font-weight: 600; color: #5b4f43; margin-top: 6px; }
.price .note { font-size: .88rem; color: #6d6155; margin: 12px 0 0; }
.price-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.price-info div { display: flex; gap: 12px; align-items: flex-start; color: var(--paper); }
.price-info svg { flex: 0 0 26px; width: 26px; height: 26px; color: var(--amber); margin-top: 2px; }
@media (max-width: 980px) { .prices { grid-template-columns: repeat(2, 1fr); } .price-info { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .prices { grid-template-columns: 1fr; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); grid-auto-rows: 210px; gap: 12px; }
.gallery a { display: block; overflow: hidden; border-radius: 10px; background: #000; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .3s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery a:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.gallery a:nth-child(2) { grid-column: span 2; grid-row: span 2; }
.gallery a:nth-child(3), .gallery a:nth-child(4), .gallery a:nth-child(5) { grid-column: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } .gallery a:nth-child(n) { grid-column: span 1; grid-row: span 1; } .gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; } }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.92); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 90vh; width: auto; border-radius: 8px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 1.6rem; cursor: pointer; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; }
.lightbox .lb-next { right: 18px; top: 50%; }

/* Videos */
.videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.video figure { margin: 0; }
.video-frame { position: relative; aspect-ratio: 16/9; border-radius: 10px; overflow: hidden; background: #000; }
.video-frame img, .video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-frame button { position: absolute; inset: 0; width: 100%; background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,.1)); border: 0; cursor: pointer; color: #fff; display: grid; place-items: center; }
.video-frame button span { width: 70px; height: 70px; border-radius: 50%; background: var(--amber); display: grid; place-items: center; transition: transform .2s; }
.video-frame button:hover span { transform: scale(1.08); }
.video-frame button svg { width: 28px; height: 28px; color: var(--ink); margin-left: 4px; }
.video figcaption { font-weight: 600; margin-top: 10px; }
.video-hint { color: var(--muted); font-size: .88rem; margin-top: 18px; }
@media (max-width: 860px) { .videos { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; }
.contact-direct { display: grid; gap: 14px; margin-top: 26px; }
.contact-direct a { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.35rem; }
.contact-direct a small { display: block; font-weight: 400; font-size: .85rem; color: var(--muted); }
.contact-direct svg { width: 44px; height: 44px; padding: 10px; background: var(--amber); color: var(--ink); border-radius: 50%; flex: 0 0 44px; }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; }
.form .field { margin-bottom: 16px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea { width: 100%; background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font: inherit; font-size: 1rem; }
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--amber); outline: none; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; color: var(--muted); }
.form .check input { margin-top: 5px; accent-color: var(--amber); }
.form .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { border-radius: 10px; padding: 16px 18px; margin-bottom: 20px; font-weight: 600; }
.notice-ok { background: #1f3b22; border: 1px solid #3f7a45; color: #d8f5da; }
.notice-err { background: #45201b; border: 1px solid #8a3a30; color: #ffd9d3; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 40px; } .form .row { grid-template-columns: 1fr; gap: 0; } }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: space-between; }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: #fff; }
.tagline { letter-spacing: .3em; text-transform: uppercase; font-size: .78rem; }
.tagline b { color: var(--amber); margin: 0 .5em; }

/* Unterseiten (Impressum, Datenschutz) */
.page-main { padding: 130px 0 80px; }
.page-main .wrap { max-width: 780px; }
.page-main h1 { font-family: var(--script); font-weight: 400; font-size: clamp(2.3rem, 5vw, 3.2rem); }
.page-main h2 { font-size: 1.25rem; margin-top: 1.8em; }
