/* ===========================================================
   HOMEPAGE-SPEZIFISCHE STYLES (nur index.php)
   Header/Footer/Cookie/Popup/Cursor/Progress kommen aus style.css
=========================================================== */

/* ---------- CINEMATIC INTRO (nur auf der Startseite) ---------- */
.mhw-intro { position: fixed; inset: 0; z-index: 999; pointer-events: none; }
.mhw-intro-curtain {
  position: absolute; top: 0; bottom: 0; width: 50%; background: #050505;
  animation-duration: 2s, 0.01s; animation-delay: 0.1s, 2.1s;
  animation-timing-function: cubic-bezier(0.76,0,0.24,1), linear; animation-fill-mode: forwards, forwards;
}
.mhw-intro-curtain-l { left: 0; animation-name: mhwCurtainL, mhwCurtainHide; }
.mhw-intro-curtain-r { right: 0; animation-name: mhwCurtainR, mhwCurtainHide; }
@keyframes mhwCurtainL { 0%, 45% { transform: translateX(0); } 100% { transform: translateX(-101%); } }
@keyframes mhwCurtainR { 0%, 45% { transform: translateX(0); } 100% { transform: translateX(101%); } }
@keyframes mhwCurtainHide { to { visibility: hidden; } }
.mhw-intro-logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) scale(0.6); opacity: 0;
  animation: mhwIntroLogo 2s cubic-bezier(0.16,1,0.3,1) forwards 0.15s; z-index: 1; }
.mhw-intro-logo img { width: 110px; filter: drop-shadow(0 0 30px rgba(255,215,0,0.45)); }
@keyframes mhwIntroLogo {
  0% { opacity: 0; transform: translate(-50%,-50%) scale(0.5); }
  22% { opacity: 1; transform: translate(-50%,-50%) scale(1.08); }
  38%, 55% { opacity: 1; transform: translate(-50%,-50%) scale(1); }
  68% { opacity: 0; transform: translate(-50%,-50%) scale(1); }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .mhw-intro-curtain, .mhw-intro-logo { animation: none !important; opacity: 0 !important; visibility: hidden !important; } }

/* ---------- PINNED CINEMATIC ZOOM ---------- */
.mhw-pin-wrap { position: relative; }
.mhw-hero.mhw-pin-inner, .mhw-service.mhw-pin-inner { position: sticky; top: 0; }
[data-pin-target] { will-change: transform, opacity; }
@media (max-width: 900px) {
  .mhw-pin-wrap { height: auto !important; }
  .mhw-hero.mhw-pin-inner, .mhw-service.mhw-pin-inner { position: relative !important; }
}

/* ---------- HERO ---------- */
.mhw-hero { padding: 190px 24px 100px; text-align: center; position: relative; overflow: hidden; isolation: isolate; }
@media (max-width: 600px) { .mhw-hero { padding-top: 150px; } }
.mhw-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,215,0,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,215,0,0.05) 1px, transparent 1px);
  background-size: 46px 46px; animation: mhwGridMove 24s linear infinite;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 20%, transparent 75%); z-index: 0;
}
@keyframes mhwGridMove { to { transform: translate(46px, 46px); } }
.mhw-spotlight { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle 460px at var(--x,50%) var(--y,25%), rgba(255,215,0,0.10), transparent 70%); transition: background 0.15s ease-out; }
.mhw-orb { position: absolute; border-radius: 50%; filter: blur(70px); z-index: 0; pointer-events: none; }
.mhw-orb-1 { width: 360px; height: 360px; background: rgba(255,215,0,0.16); top: -130px; left: -90px; animation: mhwOrbFloat 9s ease-in-out infinite; }
.mhw-orb-2 { width: 280px; height: 280px; background: rgba(255,215,0,0.10); bottom: -110px; right: -70px; animation: mhwOrbFloat 11s ease-in-out infinite reverse; }
@keyframes mhwOrbFloat { 0%,100% { transform: translate(0,0) scale(1);} 50% { transform: translate(30px,-20px) scale(1.08);} }
.mhw-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.mhw-particle { position: absolute; width: 3px; height: 3px; background: var(--mhw-gold); border-radius: 50%; opacity: 0.5; animation: mhwParticleRise linear infinite; }
@keyframes mhwParticleRise { 0% { transform: translateY(0); opacity: 0;} 10% { opacity: 0.6;} 90% { opacity: 0.35;} 100% { transform: translateY(-320px); opacity: 0;} }

.mhw-hero-inner { position: relative; z-index: 2; max-width: 920px; margin: 0 auto; }
.mhw-headline { color: #fff; font-size: clamp(32px, 5.6vw, 60px); font-weight: 800; line-height: 1.14; letter-spacing: -0.02em; margin: 0; }
.mhw-rotator { position: relative; height: 1.3em; overflow: hidden; display: block; margin-top: 6px; }
.mhw-rotator span { position: absolute; left: 50%; top: 0; transform: translate(-50%,0); width: 100%;
  background: linear-gradient(90deg, var(--mhw-gold), var(--mhw-gold-pale), var(--mhw-gold)); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: mhwShine 3.5s linear infinite; opacity: 0;
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1); }
@keyframes mhwShine { to { background-position: -200% center; } }
.mhw-rotator span.mhw-active { opacity: 1; transform: translate(-50%,0); }
.mhw-rotator span.mhw-incoming { opacity: 0; transform: translate(-160%,0); }
.mhw-rotator span.mhw-outgoing { opacity: 0; transform: translate(60%,0); }

.mhw-underline { width: 90px; height: 3px; margin: 26px auto 0; background: linear-gradient(90deg, transparent, var(--mhw-gold), transparent); }
.mhw-subtext { color: var(--mhw-text-muted); font-size: clamp(15px, 2vw, 18px); font-weight: 300; line-height: 1.75; max-width: 640px; margin: 28px auto 0; }
.mhw-subtext strong { color: var(--mhw-gold); font-weight: 600; }
.mhw-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 36px 0 44px; }
.mhw-badge { display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(255,215,0,0.28); color: var(--mhw-gold);
  font-size: 13px; font-weight: 500; padding: 9px 18px; border-radius: 999px; background: rgba(255,215,0,0.04); backdrop-filter: blur(6px);
  transition: background 0.35s ease, transform 0.35s ease, border-color 0.35s ease; }
.mhw-badge:hover { background: rgba(255,215,0,0.12); border-color: rgba(255,215,0,0.55); transform: translateY(-3px); }
.mhw-badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--mhw-gold); flex-shrink: 0; }
.mhw-cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; }

/* ---------- MARQUEE ---------- */
.mhw-marquee-section { padding: 60px 0; border-top: 1px solid var(--mhw-border); border-bottom: 1px solid var(--mhw-border); position: relative; overflow: hidden; }
.mhw-marquee-row { display: flex; overflow: hidden; white-space: nowrap; -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.mhw-marquee-row + .mhw-marquee-row { margin-top: 18px; }
.mhw-marquee-track { display: flex; gap: 16px; animation: mhwMarqueeLeft 42s linear infinite; padding-right: 16px; }
.mhw-marquee-row.mhw-reverse .mhw-marquee-track { animation: mhwMarqueeRight 48s linear infinite; }
@keyframes mhwMarqueeLeft { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mhwMarqueeRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.mhw-chip { flex-shrink: 0; color: #e6e6e6; font-size: 15px; font-weight: 500; padding: 12px 22px; border-radius: 999px;
  border: 1px solid rgba(255,215,0,0.2); background: rgba(255,215,0,0.03); }
.mhw-chip strong { color: var(--mhw-gold); font-weight: 700; }

/* ---------- STATS ---------- */
.mhw-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; max-width: 1080px; margin: 0 auto; padding: 90px 24px; }
.mhw-stat { text-align: center; }
.mhw-stat-num { font-size: clamp(34px, 4vw, 48px); font-weight: 800; color: var(--mhw-gold); line-height: 1; }
.mhw-stat-label { color: var(--mhw-text-muted); font-size: 14px; margin-top: 10px; font-weight: 400; }
@media (max-width: 760px) { .mhw-stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- SERVICES ---------- */
.mhw-service { max-width: 1180px; margin: 0 auto; padding: 70px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.mhw-service.mhw-swap .mhw-service-visual { order: 2; }
.mhw-service.mhw-swap .mhw-service-text { order: 1; }
@media (max-width: 880px) {
  .mhw-service { grid-template-columns: 1fr; gap: 40px; padding: 50px 20px; }
  .mhw-service.mhw-swap .mhw-service-visual, .mhw-service.mhw-swap .mhw-service-text { order: initial; }
}
.mhw-service-tag { color: var(--mhw-gold); font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; display: block; }
.mhw-service-title { color: #fff; font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; line-height: 1.2; margin: 0 0 18px; }
.mhw-service-text p { color: var(--mhw-text-muted); font-size: 16px; line-height: 1.75; font-weight: 300; margin: 0 0 24px; }
.mhw-service-list { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-direction: column; gap: 13px; }
.mhw-service-list li { display: flex; align-items: flex-start; gap: 12px; color: #dcdcdc; font-size: 15px; font-weight: 400; }
.mhw-check { flex-shrink: 0; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,215,0,0.12); border: 1px solid var(--mhw-gold);
  display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.mhw-check svg { width: 10px; height: 10px; }
.mhw-service-link { color: var(--mhw-gold); font-weight: 600; font-size: 15px; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.mhw-service-link svg { transition: transform 0.3s ease; }
.mhw-service-link:hover svg { transform: translateX(5px); }
.mhw-service-visual { perspective: 1200px; }
.mhw-visual-card { position: relative; border-radius: 20px; border: 1px solid var(--mhw-border);
  background: linear-gradient(160deg, #0f0f0f, #050505); padding: 46px; aspect-ratio: 1/0.85;
  display: flex; align-items: center; justify-content: center; transform-style: preserve-3d;
  transition: transform 0.15s ease-out; box-shadow: 0 30px 60px rgba(0,0,0,0.5); overflow: hidden; }
.mhw-visual-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(255,215,0,0.12), transparent 60%); }
.mhw-visual-card svg { position: relative; z-index: 1; width: 100%; height: 100%; }

/* ---------- PROCESS ---------- */
.mhw-process { max-width: 1080px; margin: 0 auto; padding: 90px 24px; }
.mhw-process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 54px; }
@media (max-width: 820px) { .mhw-process-grid { grid-template-columns: 1fr; } }
.mhw-process-card { border: 1px solid var(--mhw-border); border-radius: 16px; padding: 34px 28px; background: rgba(255,215,0,0.02);
  transition: transform 0.35s ease, border-color 0.35s ease, background 0.35s ease; }
.mhw-process-card:hover { transform: translateY(-6px); border-color: rgba(255,215,0,0.5); background: rgba(255,215,0,0.05); }
.mhw-process-num { font-size: 14px; font-weight: 700; color: #000; background: var(--mhw-gold); width: 34px; height: 34px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.mhw-process-card h3 { color: #fff; font-size: 19px; font-weight: 700; margin: 0 0 10px; }
.mhw-process-card p { color: var(--mhw-text-muted); font-size: 14.5px; line-height: 1.65; font-weight: 300; margin: 0; }

/* ---------- HORIZONTAL SHOWCASE ---------- */
.mhw-hshowcase { position: relative; background: var(--mhw-black-2); overflow: hidden; }
.mhw-hshowcase-pin { height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.mhw-hshowcase-head { padding: 0 6%; margin-bottom: 44px; }
.mhw-hshowcase-track { display: flex; gap: 30px; padding: 0 6%; will-change: transform; }
.mhw-hshowcase-card { flex: 0 0 clamp(250px, 28vw, 360px); }
.mhw-hshowcase-media { aspect-ratio: 3/4; border-radius: 10px; overflow: hidden; border: 1px solid var(--mhw-border); margin-bottom: 18px; position: relative; }
.mhw-hshowcase-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: brightness(0.92); transition: transform 0.6s ease, filter 0.6s ease; }
.mhw-hshowcase-card:hover .mhw-hshowcase-media img { transform: scale(1.06); filter: brightness(1); }
.mhw-hshowcase-tag { position: absolute; top: 14px; left: 14px; background: rgba(5,5,5,0.7); border: 1px solid var(--mhw-border); color: var(--mhw-gold);
  font-size: 11px; letter-spacing: 1px; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.mhw-hshowcase-card h3 { color: #fff; font-size: 19px; font-weight: 700; margin: 0 0 6px; }
.mhw-hshowcase-card p { color: var(--mhw-text-muted); font-size: 13.5px; font-weight: 300; margin: 0; }
@media (max-width: 900px) {
  .mhw-hshowcase-pin { height: auto; padding: 90px 0; }
  .mhw-hshowcase-track { overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 10px; transform: none !important; }
  .mhw-hshowcase-track::-webkit-scrollbar { height: 5px; }
  .mhw-hshowcase-track::-webkit-scrollbar-thumb { background: var(--mhw-gold); border-radius: 999px; }
  .mhw-hshowcase-card { scroll-snap-align: start; flex: 0 0 78vw; }
}

/* ---------- GALLERY ---------- */
.mhw-gallery { padding: 110px 24px 130px; background: var(--mhw-black); }
.mhw-gallery-head { text-align: center; max-width: 560px; margin: 0 auto 60px; }
.mhw-gallery-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 18px; }
.mhw-gallery-item { border-radius: 8px; overflow: hidden; }
.mhw-gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.mhw-gallery-item:nth-child(4) { grid-column: span 2; }
.mhw-gallery-mask { width: 100%; height: 100%; overflow: hidden; clip-path: inset(100% 0 0 0); }
.mhw-gallery-mask img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transform: scale(1.2); filter: brightness(0.9); }
@media (max-width: 760px) {
  .mhw-gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .mhw-gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}

/* ---------- SVG LINE DRAW ---------- */
.mhw-line-draw { position: absolute; z-index: 0; opacity: 0.4; pointer-events: none; }
.mhw-line-draw path { stroke-dasharray: 900; stroke-dashoffset: 900; }
.mhw-deco { position: absolute; pointer-events: none; z-index: 0; opacity: 0.5; will-change: transform; }
.mhw-section-relative { position: relative; overflow: hidden; }

/* ---------- KONTAKT + TERMINBUCHUNG ---------- */
.mhw-contact { position: relative; padding: 100px 24px; border-top: 1px solid var(--mhw-border); overflow: hidden; }
.mhw-contact-head { text-align: center; max-width: 620px; margin: 0 auto 60px; }
.mhw-contact-head h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); font-weight: 800; margin: 0 0 16px; line-height: 1.2; }
.mhw-contact-head p { color: var(--mhw-text-muted); font-size: 16px; font-weight: 300; line-height: 1.7; margin: 0; }
.mhw-contact-stage { max-width: 720px; margin: 0 auto; position: relative; min-height: 100px; }
.mhw-contact-panel { background: linear-gradient(160deg, #0f0f0f, #050505); border: 1px solid var(--mhw-border); border-radius: 16px; padding: 44px; transition: opacity 0.5s ease, transform 0.5s ease; }
@media (max-width: 560px) { .mhw-contact-panel { padding: 30px 22px; } }
.mhw-contact-panel h3 { color: #fff; font-size: 19px; font-weight: 700; margin: 0 0 8px; }
.mhw-contact-panel .mhw-panel-sub { color: var(--mhw-text-muted); font-size: 14px; font-weight: 300; margin: 0 0 28px; }
.mhw-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 560px) { .mhw-form-row { grid-template-columns: 1fr; gap: 0; } }
.mhw-field { margin-bottom: 18px; }
.mhw-field label { display: block; color: #e6e6e6; font-size: 13.5px; font-weight: 500; margin-bottom: 8px; }
.mhw-field input[type="text"], .mhw-field input[type="email"], .mhw-field input[type="tel"], .mhw-field textarea {
  width: 100%; background: #111111; border: 1px solid var(--mhw-border); border-radius: 8px;
  padding: 13px 14px; color: #fff; font-family: 'Poppins', sans-serif; font-size: 14.5px; font-weight: 300;
  outline: none; transition: border-color 0.3s ease, background 0.3s ease; }
.mhw-field input::placeholder, .mhw-field textarea::placeholder { color: #6b6b6b; }
.mhw-field input:focus, .mhw-field textarea:focus { border-color: var(--mhw-gold); background: #141414; }
.mhw-field textarea { resize: vertical; min-height: 120px; font-family: 'Poppins', sans-serif; }
.mhw-topic-group { display: flex; flex-wrap: wrap; gap: 10px; }
.mhw-topic-group input { position: absolute; opacity: 0; pointer-events: none; }
.mhw-topic-group label { cursor: pointer; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255,215,0,0.28);
  color: #cfcfcf; font-size: 13.5px; font-weight: 500; background: rgba(255,215,0,0.03); transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease; }
.mhw-topic-group input:checked + label { background: linear-gradient(135deg, var(--mhw-gold-light), var(--mhw-gold) 60%, var(--mhw-gold-deep)); color: #000; border-color: var(--mhw-gold); }
.mhw-consent { display: flex; align-items: flex-start; gap: 10px; margin: 22px 0 26px; }
.mhw-consent input { margin-top: 3px; accent-color: var(--mhw-gold); flex-shrink: 0; }
.mhw-consent label { color: #a5a5a5; font-size: 13px; font-weight: 300; line-height: 1.6; }
.mhw-consent a { color: var(--mhw-gold); text-decoration: underline; }
.mhw-form-msg { font-size: 13.5px; margin-top: 14px; display: none; }
.mhw-form-msg.mhw-error { color: #ff8080; display: block; }
.mhw-contact-fade-out { opacity: 0; transform: translateY(-10px) scale(0.98); pointer-events: none; position: absolute; inset: 0; }
.mhw-contact-fade-in { opacity: 0; transform: translateY(10px); }
.mhw-contact-fade-in.mhw-show { opacity: 1; transform: translateY(0); }
.mhw-booking-success { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.mhw-booking-success-icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,215,0,0.12); border: 1px solid var(--mhw-gold);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mhw-booking-success h3 { margin: 0 0 3px; }
.mhw-booking-success p { margin: 0; color: var(--mhw-text-muted); font-size: 14px; font-weight: 300; }
.mhw-calendly-wrap { border-radius: 10px; overflow: hidden; background: #fff; min-height: 650px; }

/* ---------- PARTNERPROJEKT ---------- */
.mhw-partner { position: relative; padding: 100px 24px; text-align: center; overflow: hidden; border-top: 1px solid var(--mhw-border); }
.mhw-partner-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.mhw-partner-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 520px; height: 300px; background: radial-gradient(ellipse, rgba(255,215,0,0.10), transparent 70%); pointer-events: none; z-index: 0; }
.mhw-partner p { color: var(--mhw-text-muted); font-size: 16px; font-weight: 300; line-height: 1.7; margin: 6px 0 32px; }
.mhw-partner p strong { color: var(--mhw-gold); font-weight: 600; }

/* ---------- FINAL CTA ---------- */
.mhw-final-cta { position: relative; text-align: center; padding: 110px 24px; overflow: hidden; isolation: isolate; border-top: 1px solid var(--mhw-border); }
.mhw-final-cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(255,215,0,0.08), transparent 70%); z-index: 0; }
.mhw-final-cta-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.mhw-final-cta h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin: 0 0 18px; line-height: 1.2; }
.mhw-final-cta h2 span { color: var(--mhw-gold); }
.mhw-final-cta p { color: var(--mhw-text-muted); font-size: 16px; margin: 0 0 40px; font-weight: 300; }
