/* =============================================
   GLANZWERK STUDIO – Extras (Erweiterungen zum Redesign)
   Klassen, die in site.css fehlen aber gebraucht werden:
   - Logo-Pulse-Glow im Nav
   - Mobile-Menü Open-State
   - Fade-up Scroll-Reveal
   - Cookie-Banner
   - Briefing-Form-Styles (Briefing-Formulare nutzen alten Stil)
   ============================================= */

/* ── LOGO PULSE im Nav ── */
@keyframes gw-logo-pulse {
  0%, 100% { opacity: 0.12; transform: translate(-50%, -50%) scale(0.65); }
  50%      { opacity: 0.9;  transform: translate(-50%, -50%) scale(1.3); }
}

/* ── MOBILE NAV ── */
.gw-nav-mobile {
  display: none;
  background: var(--bg-elevated);
  border-top: 1px solid var(--gw-white-08);
  padding: 16px 24px 24px;
}
.gw-nav-mobile.open { display: block; }
.gw-nav-mobile ul { display: flex; flex-direction: column; gap: 8px; }
.gw-nav-mobile-link {
  display: block;
  padding: 12px 0;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-muted);
  border-bottom: 1px solid var(--gw-white-05);
  transition: color 0.2s;
}
.gw-nav-mobile-link:hover { color: var(--fg); }
.gw-nav-mobile .gw-nav-cta {
  border: 1px solid var(--accent-border);
  color: var(--accent);
  padding: 12px 18px;
  text-align: center;
  margin-top: 8px;
  border-bottom: 1px solid var(--accent-border);
}
.gw-nav-mobile .gw-nav-cta:hover { background: var(--accent); color: var(--bg); }

/* ── FADE-UP Scroll Reveal ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── COOKIE-BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--gw-black-deep);
  border-top: 1px solid var(--accent-border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin: 0;
  line-height: 1.5;
}
.cookie-banner p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-banner .gw-btn-ghost {
  padding: 10px 20px;
  font-size: 12px;
}
.cookie-banner .gw-btn-primary {
  padding: 10px 20px;
  font-size: 12px;
}
@media (max-width: 600px) {
  .cookie-banner { flex-direction: column; align-items: flex-start; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .gw-btn { flex: 1; text-align: center; }
}

/* ── PROZESS STAGGER (Reveal mit Verzögerung pro Step) ── */
.gw-prozess-step.fade-up:nth-child(1) { transition-delay: 0s; }
.gw-prozess-step.fade-up:nth-child(2) { transition-delay: 0.2s; }
.gw-prozess-step.fade-up:nth-child(3) { transition-delay: 0.4s; }

/* ── PORTFOLIO VIDEO ── (echte Videos statt Placeholder) */
.gw-browser-preview video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* ── KONTAKT FORM Submit-State ── */
.gw-form-msg {
  display: none;
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
}
.gw-form-msg.visible { display: block; }
.gw-form-msg.is-ok { color: var(--accent); }
.gw-form-msg.is-error { color: var(--gw-error); }

/* ── BUTTONS Disabled State ── */
.gw-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ── HERO OVERRIDES (Thomas-Feedback) ── */
/* Eyebrow nicht pulsieren lassen */
.gw-hero-eyebrow-v2 { animation: none; }
/* Headline näher zur Subheadline (war 96px) */
.gw-hero-headline-v2 { margin: 0 0 24px; }

/* ── PORTFOLIO-CARDS OPAK: keine Sterne durch die Mini-Website-Frames ──
   Stars-Canvas hat z-index:1, Browser-Frame hatte zwar opaken Hintergrund
   aber stand drunter. Mit z-index:2 liegen die Cards über den Stars,
   die Mini-Sites darin werden nicht mehr von Lichtpunkten überlagert.
   Der Rest der Site bleibt transparent — Sterne scheinen weiter durch. */
.gw-portfolio-card {
  position: relative;
  z-index: 2;
}

/* ── CUSTOM CURSOR ── */
#cursorDot {
  position: fixed;
  width: 7px; height: 7px;
  background: rgba(255, 248, 215, 0.95);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 5px 2px rgba(226,201,126,0.9), 0 0 14px 4px rgba(226,201,126,0.4);
  transition: opacity 0.15s ease;
}
#cursorDot.is-hidden { opacity: 0; }
/* Über Eingabefeldern: nativer Text-Cursor sichtbar machen */
input, textarea { cursor: text; }
select { cursor: pointer; }
#cursorGlow {
  position: fixed;
  width: 220px; height: 220px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9996;
  top: 0; left: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(226,201,126,0.09) 0%, rgba(226,201,126,0.04) 40%, transparent 70%);
  transition: opacity 0.15s ease;
}
/* Glow ausblenden, wenn Cursor über Eingabefeldern ist – Dot bleibt sichtbar */
/* Wird per JS in main.js gesetzt (Chrome :has() + :hover ist nicht live-reaktiv) */
#cursorGlow.is-hidden { opacity: 0; }
@media (pointer: coarse) {
  #cursorDot, #cursorGlow { display: none; }
}

/* ── BRIEFING-FORMULARE (Onboarding-Seiten) ──
   Eigene Layout-Klassen für die 3 Briefing-Seiten.
   Card liegt z-index:2 über den Sternen (pwr-stars hat z-index:1),
   damit Sterne nur außerhalb der Card sichtbar sind. */
.gw-briefing-wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 140px 24px 96px;
  position: relative;
  z-index: 2;
}
.gw-briefing-eyebrow {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}
.gw-briefing-h1 {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin: 0 0 16px;
}
.gw-briefing-h1 em {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(180deg, #f7e9b8 0%, #e2c97e 50%, #b8954a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(226,201,126,0.25));
  padding-right: 0.04em;
}
.gw-briefing-sub {
  color: var(--fg-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 40px;
}
.gw-briefing-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  padding: 36px clamp(20px, 4vw, 44px);
  position: relative;
}
.gw-form-textarea {
  min-height: 120px;
  resize: vertical;
  font-family: var(--font-sans);
  line-height: 1.5;
}
@media (max-width: 600px) {
  .gw-briefing-wrap { padding: 110px 16px 64px; }
  .gw-briefing-card { padding: 28px 18px; }
}

/* ── PARTICLE WALL-REVEAL LAYERS ──
   Streichholz-an-der-Mauer-Effekt: Partikel "brennen" Löcher
   in eine schwarze Maske, die ein Backstein-Foto verdeckt. */
.pwr-wall {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image: url('../img/wall-brick-goldmauer.jpg');
  background-image: image-set(
    url('../img/wall-brick-goldmauer.webp') type('image/webp'),
    url('../img/wall-brick-goldmauer.jpg') type('image/jpeg')
  );
  background-size: cover;
  background-position: center;
  background-color: #1a0f06;
  filter: brightness(0.85) saturate(1.15) sepia(0.55) hue-rotate(-8deg);
  pointer-events: none;
}
.pwr-mask {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  z-index: -1;
  pointer-events: none;
}
.pwr-stars {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  z-index: 1;
  mix-blend-mode: screen;
  pointer-events: none;
}
