/*
Theme Name: Bens Veranstaltungstechnik
Theme URI: https://bens-veranstaltungstechnik.hbreitsprecher.chatgpt.site/
Author: Bens Veranstaltungstechnik
Description: Individuelles WordPress-Theme für Veranstaltungstechnik, Events und direkte Buchungsanfragen.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bens-veranstaltungstechnik
*/

:root {
  --ink: #030a1a;
  --panel: #081329;
  --white: #f7f9ff;
  --muted: #9aa8c2;
  --line: rgba(255, 255, 255, 0.1);
  --pink: #ff0f86;
  --cyan: #00c8ff;
  --violet: #7c3cff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: radial-gradient(circle at 50% -20%, rgba(39, 75, 139, 0.2), transparent 35rem), var(--ink);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  min-height: 100vh;
}
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.site-main { min-height: 100vh; overflow-x: clip; position: relative; }

.site-header {
  align-items: center; backdrop-filter: blur(18px); background: rgba(3, 10, 26, 0.82);
  border-bottom: 1px solid var(--line); display: flex; justify-content: space-between;
  min-height: 166px; padding: 14px clamp(24px, 5vw, 76px); position: sticky; top: 0; z-index: 20;
}
.admin-bar .site-header { top: 32px; }
.brand { display: block; flex: 0 0 auto; }
.brand-logo { display: block; height: 138px; object-fit: contain; object-position: left center; width: 290px; }
.tabs { align-items: center; display: flex; gap: 8px; }
.tab {
  background: transparent; border: 0; border-radius: 999px; color: var(--muted); cursor: pointer;
  font-size: 14px; font-weight: 700; padding: 12px 18px;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.tab:hover { color: var(--white); transform: translateY(-1px); }
.tab.active { background: rgba(255,255,255,.09); color: var(--white); }
.tab.active::after {
  background: linear-gradient(90deg, var(--pink), var(--cyan)); border-radius: 99px;
  content: ""; display: block; height: 2px; margin: 7px auto -9px; width: 28px;
}
.stage-glow { filter: blur(28px); opacity: .28; pointer-events: none; position: absolute; }
.stage-glow-left { background: var(--pink); height: 320px; left: -170px; top: 280px; transform: rotate(18deg); width: 240px; }
.stage-glow-right { background: var(--cyan); height: 380px; right: -200px; top: 360px; transform: rotate(-18deg); width: 260px; }
.home-active .stage-glow-left { animation: glowFloatLeft 6s ease-in-out infinite alternate; }
.home-active .stage-glow-right { animation: glowFloatRight 7.5s ease-in-out infinite alternate; }
.page-shell {
  margin: 0 auto; max-width: 1240px; min-height: calc(100vh - 208px);
  padding: clamp(72px, 9vw, 132px) clamp(24px, 5vw, 64px) 88px; position: relative; z-index: 2;
}
.page-shell::before {
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px; content: ""; inset: 0; mask-image: linear-gradient(to bottom, black, transparent 80%);
  pointer-events: none; position: absolute;
}
.hero, .content-page { position: relative; z-index: 1; }
.hero { max-width: 980px; }
.home-active .brand-logo { animation: logoFloat 4s ease-in-out infinite; }
.home-active .hero .eyebrow,
.home-active .hero h1,
.home-active .hero-copy,
.home-active .hero-actions,
.home-active .facts { animation: heroReveal .72s cubic-bezier(.2,.75,.25,1) both; }
.home-active .hero h1 { animation-delay: .08s; }
.home-active .hero-copy { animation-delay: .18s; }
.home-active .hero-actions { animation-delay: .28s; }
.home-active .facts { animation-delay: .4s; }
.home-active .hero h1 em { animation: gradientFlow 3.8s ease-in-out infinite alternate; background-size: 220% 100%; }
.home-active .facts div { transition: background .25s ease, transform .25s ease; }
.home-active .facts div:hover { background: rgba(255,255,255,.025); transform: translateY(-4px); }
.home-active .button-primary { animation: buttonGlow 3s ease-in-out infinite; background-size: 200% 100%; }
.eyebrow {
  align-items: center; color: #d9e3f6; display: flex; font-size: 12px; font-weight: 800;
  gap: 12px; letter-spacing: .23em; margin: 0 0 24px; text-transform: uppercase;
}
.eyebrow span { background: linear-gradient(90deg, var(--pink), var(--cyan)); border-radius: 99px; height: 3px; width: 38px; }
h1 { font-size: clamp(54px, 8vw, 108px); letter-spacing: -.055em; line-height: .93; margin: 0; max-width: 1050px; }
h1 em {
  background: linear-gradient(90deg, var(--pink) 0%, #b647ff 45%, var(--cyan) 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent; font-style: normal;
}
.hero-copy, .intro { color: var(--muted); font-size: clamp(17px, 2vw, 21px); line-height: 1.7; margin: 32px 0; max-width: 720px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.sound-wave { align-items: center; display: flex; gap: 6px; height: 34px; margin-top: 36px; width: max-content; }
.sound-wave span {
  animation: soundPulse 1.15s ease-in-out infinite; background: linear-gradient(to top, var(--pink), var(--cyan));
  border-radius: 99px; height: 18px; opacity: .72; transform-origin: center; width: 4px;
}
.sound-wave span:nth-child(2n) { animation-delay: -.22s; height: 26px; }
.sound-wave span:nth-child(3n) { animation-delay: -.47s; height: 13px; }
.sound-wave span:nth-child(4n) { animation-delay: -.7s; height: 30px; }
.sound-wave span:nth-child(5n) { animation-delay: -.9s; height: 21px; }
.button {
  border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-size: 14px;
  font-weight: 800; padding: 16px 24px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:disabled { cursor: wait; opacity: .68; transform: none; }
.button span { font-size: 19px; margin-left: 10px; }
.button-primary { background: linear-gradient(100deg, var(--pink), var(--violet), #087dff); box-shadow: 0 12px 42px rgba(124,60,255,.22); }
.button-primary:hover { box-shadow: 0 16px 55px rgba(255,15,134,.27); }
.button-secondary { background: rgba(255,255,255,.025); border-color: var(--line); }
.button-secondary:hover { border-color: rgba(255,255,255,.26); }
.facts { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 48px; max-width: 930px; padding-top: 28px; }
.facts div { border-right: 1px solid var(--line); display: grid; gap: 4px; padding: 0 24px; }
.facts div:first-child { padding-left: 0; }
.facts div:last-child { border-right: 0; }
.facts strong { font-size: 28px; }
.facts span { color: var(--muted); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.content-page h1 { font-size: clamp(50px, 7vw, 88px); }
.event-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); margin: 48px 0 34px; }
.event-card {
  background: linear-gradient(145deg, rgba(13,29,58,.95), rgba(6,15,32,.9));
  border: 1px solid var(--line); border-radius: 26px; min-height: 310px; padding: 30px 30px 70px;
  position: relative; transition: border-color .2s ease, transform .2s ease;
}
.event-card:hover { border-color: rgba(0,200,255,.42); transform: translateY(-4px); }
.event-number { color: var(--cyan); font-size: 12px; font-weight: 800; letter-spacing: .2em; }
.event-card-media {
  background: #020817; border: 1px solid rgba(255,255,255,.1); border-radius: 16px;
  height: 150px; margin: 22px -8px 20px; overflow: hidden; position: relative;
}
.event-card-media::after {
  background: linear-gradient(135deg, rgba(255,15,134,.08), transparent 45%, rgba(0,200,255,.1));
  content: ""; inset: 0; pointer-events: none; position: absolute;
}
.event-card-media img { display: block; height: 100%; object-fit: cover; object-position: center 62%; width: 100%; }
.event-card h2 { font-size: 25px; margin: 50px 0 14px; }
.event-card .event-card-media + h2 { margin-top: 0; }
.event-card p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.event-tag { bottom: 26px; color: #dfe8fa; font-size: 11px; font-weight: 800; letter-spacing: .12em; position: absolute; text-transform: uppercase; }
.timeline { display: grid; gap: 14px; margin: 46px 0 36px; max-width: 850px; }
.timeline article { align-items: flex-start; background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 20px; display: flex; gap: 24px; padding: 24px; }
.timeline article > span {
  align-items: center; background: linear-gradient(135deg, rgba(255,15,134,.2), rgba(0,200,255,.2));
  border: 1px solid rgba(255,255,255,.12); border-radius: 50%; display: flex; flex: 0 0 auto;
  font-size: 12px; font-weight: 900; height: 44px; justify-content: center; width: 44px;
}
.timeline h2 { font-size: 19px; margin: 0 0 8px; }
.timeline p { color: var(--muted); line-height: 1.6; margin: 0; }
.booking-steps { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); margin: 44px 0 28px; }
.booking-contact { color: var(--muted); font-size: 14px; margin: -14px 0 30px; }
.booking-contact strong { color: #d6deed; font-weight: 700; }
.booking-steps div { align-items: center; background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 18px; display: flex; gap: 14px; padding: 20px; }
.booking-steps strong { align-items: center; background: linear-gradient(135deg, var(--pink), var(--cyan)); border-radius: 50%; display: flex; flex: 0 0 auto; font-size: 12px; height: 32px; justify-content: center; width: 32px; }
.booking-steps span { font-size: 14px; font-weight: 700; }
.booking-form {
  background: linear-gradient(145deg, rgba(13,29,58,.92), rgba(5,14,31,.96));
  border: 1px solid var(--line); border-radius: 28px; margin-top: 44px; max-width: 930px; padding: 34px;
}
.form-heading { align-items: flex-start; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; margin-bottom: 30px; padding-bottom: 24px; }
.form-heading > span { background: rgba(0,200,255,.08); border: 1px solid rgba(0,200,255,.18); border-radius: 999px; color: #bbebf8; font-size: 11px; font-weight: 800; padding: 8px 12px; text-transform: uppercase; }
.form-kicker { color: var(--cyan); font-size: 11px; font-weight: 900; letter-spacing: .16em; margin: 0 0 8px; text-transform: uppercase; }
.form-heading h2, .booking-result h2 { font-size: clamp(24px, 4vw, 36px); letter-spacing: -.035em; margin: 0; }
.form-grid { display: grid; gap: 22px; grid-template-columns: repeat(2, 1fr); }
.booking-form label, .booking-form legend { color: #dfe7f7; font-size: 13px; font-weight: 800; }
.booking-form input, .booking-form select, .booking-form textarea {
  background: rgba(2,8,21,.72); border: 1px solid rgba(255,255,255,.13); border-radius: 12px;
  color: var(--white); display: block; margin-top: 9px; outline: none; padding: 14px 15px; transition: border-color .2s ease, box-shadow .2s ease; width: 100%;
}
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,200,255,.09); }
.booking-form input::placeholder, .booking-form textarea::placeholder { color: #6f7e99; }
.form-honeypot { height: 0; left: -10000px; overflow: hidden; position: absolute; width: 0; }
.booking-form select { appearance: auto; }
.booking-form option { background: #071328; }
.booking-form fieldset { border: 0; margin: 30px 0; padding: 0; }
.booking-form legend { margin-bottom: 14px; }
.choice-grid { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); }
.choice-grid label { cursor: pointer; position: relative; }
.choice-grid input { height: 1px; margin: 0; opacity: 0; position: absolute; width: 1px; }
.choice-grid span { background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 12px; display: block; padding: 15px 10px; text-align: center; transition: .2s ease; }
.choice-grid input:checked + span { background: linear-gradient(135deg, rgba(255,15,134,.16), rgba(0,200,255,.12)); border-color: rgba(0,200,255,.52); color: white; }
.choice-grid input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.message-field { display: block; }
.message-field > span { color: var(--muted); font-size: 11px; font-weight: 500; margin-left: 5px; }
.form-action { align-items: center; display: flex; gap: 18px; margin-top: 26px; }
.form-action p { color: var(--muted); font-size: 12px; line-height: 1.5; margin: 0; }
.booking-result {
  align-items: flex-start; background: rgba(0,200,255,.06); border: 1px solid rgba(0,200,255,.25);
  border-radius: 24px; display: flex; gap: 20px; margin-top: 24px; max-width: 930px; padding: 28px;
}
.booking-result.is-error { background: rgba(255,15,134,.06); border-color: rgba(255,15,134,.3); }
.booking-result.is-error .result-icon { background: linear-gradient(135deg, #ff0f86, #ff6b4a); }
.result-icon { align-items: center; background: linear-gradient(135deg, var(--pink), var(--cyan)); border-radius: 50%; display: flex; flex: 0 0 auto; font-size: 18px; font-weight: 900; height: 46px; justify-content: center; width: 46px; }
.result-copy { min-width: 0; width: 100%; }
.retry-button { margin-top: 20px; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); display: flex; font-size: 12px; justify-content: space-between; padding: 26px clamp(24px, 5vw, 76px); position: relative; z-index: 2; }
.page-enter { animation: pageIn .45s ease both; }
[hidden] { display: none !important; }

@keyframes pageIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroReveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes gradientFlow { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes buttonGlow {
  0%, 100% { background-position: 0% 50%; box-shadow: 0 12px 42px rgba(124,60,255,.22); }
  50% { background-position: 100% 50%; box-shadow: 0 15px 48px rgba(255,15,134,.3); }
}
@keyframes logoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes glowFloatLeft {
  from { opacity: .18; transform: rotate(18deg) translate3d(0, 0, 0); }
  to { opacity: .46; transform: rotate(18deg) translate3d(52px, 24px, 0); }
}
@keyframes glowFloatRight {
  from { opacity: .18; transform: rotate(-18deg) translate3d(0, 0, 0); }
  to { opacity: .43; transform: rotate(-18deg) translate3d(-54px, -22px, 0); }
}
@keyframes soundPulse {
  0%, 100% { filter: brightness(.85); transform: scaleY(.38); }
  50% { filter: brightness(1.3); transform: scaleY(1); }
}

@media (max-width: 860px) {
  .site-header { align-items: flex-start; flex-direction: column; gap: 12px; padding: 10px 20px 16px; }
  .brand-logo { height: 100px; width: 220px; }
  .tabs { max-width: 100%; overflow-x: auto; padding-bottom: 2px; width: 100%; }
  .tab { flex: 0 0 auto; padding: 10px 13px; }
  .page-shell { padding-top: 64px; }
  .event-grid { grid-template-columns: 1fr; }
  .event-card { min-height: 270px; }
  .facts { grid-template-columns: repeat(2, 1fr); row-gap: 26px; }
  .facts div:nth-child(2) { border-right: 0; }
  .facts div:nth-child(3) { padding-left: 0; }
  .booking-steps { grid-template-columns: 1fr; }
  .choice-grid { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 520px) {
  h1 { font-size: 49px; }
  .hero-copy, .intro { font-size: 16px; }
  .button { text-align: center; width: 100%; }
  .sound-wave { margin: 30px auto 0; }
  .facts { margin-top: 42px; }
  .facts div { padding: 0 12px; }
  .facts strong { font-size: 23px; }
  .facts span { font-size: 10px; }
  .timeline article { gap: 14px; padding: 18px; }
  .booking-form { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-heading { gap: 18px; }
  .form-heading > span { display: none; }
  .choice-grid { grid-template-columns: 1fr; }
  .form-action { align-items: flex-start; flex-direction: column; }
  .booking-result { flex-direction: column; padding: 22px 18px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation-duration: .01ms !important; }
}
