/*
Theme Name: Websilencer Redesign
Theme URI: https://websilencer.de
Author: Websilencer
Author URI: https://websilencer.de
Description: Individuelles Custom-Theme für Websilencer.de – modernes Redesign mit Hero-Bereich, Leistungs-Kacheln mit Cinematic-Hover-Effekt und Ablauf-Sektion.
Version: 1.1
Requires at least: 6.0
Requires PHP: 7.4
License: Individuell für Websilencer.de erstellt, keine Weitergabe
Text Domain: websilencer-redesign
*/

:root {
  --bg: #FFFFFF;
  --surface-2: #F4F5F8;
  --ink: #14171F;
  --ink-soft: #5B6270;
  --ink-faint: #9AA1AF;
  --line: rgba(20,23,31,0.1);
  --blue: #2A5FD8;
  --teal: #12A98C;
  --lime: #7FC13F;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Manrope', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Sora', system-ui, sans-serif; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }

.wrap { max-width: 1180px; margin: 0 auto; padding-left: clamp(20px, 4vw, 64px); padding-right: clamp(20px, 4vw, 64px); }

/* header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 0; position: relative; z-index: 5; }
.logo-mark { display: flex; align-items: center; }
.logo-mark img { height: 34px; width: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a { color: var(--ink-soft); font-weight: 700; font-size: 14px; letter-spacing: 0.03em; text-transform: uppercase; }
.main-nav a.current { color: var(--ink); }
.main-nav a:hover { color: var(--blue); }
.nav-drop { position: relative; }
.nav-drop-trigger { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; cursor: pointer; font: inherit; }
.nav-drop-trigger svg { transition: transform .15s ease; }
.nav-drop:hover .nav-drop-trigger svg, .nav-drop:focus-within .nav-drop-trigger svg, .nav-drop.open .nav-drop-trigger svg { transform: rotate(180deg); }
.nav-drop-panel { position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%) translateY(-6px); min-width: 240px; background: #fff; border-radius: 14px; box-shadow: 0 20px 44px rgba(20,23,31,0.16); border: 1px solid var(--line); padding: 10px; display: flex; flex-direction: column; gap: 2px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s ease, transform .15s ease; z-index: 20; }
.nav-drop-panel::before { content: ""; position: absolute; top: -18px; left: 0; right: 0; height: 18px; pointer-events: none; }
.nav-drop:hover .nav-drop-panel, .nav-drop:focus-within .nav-drop-panel, .nav-drop.open .nav-drop-panel { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-drop-panel a { padding: 10px 14px; border-radius: 9px; font-weight: 600; font-size: 13.5px; letter-spacing: 0; text-transform: none; color: var(--ink-soft); }
.nav-drop-panel a:hover { background: var(--surface-2); color: var(--ink); }
.burger { display: none; width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line); flex-direction: column; align-items: center; justify-content: center; gap: 4px; flex: 0 0 auto; cursor: pointer; background: none; }
.burger span { width: 15px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.burger.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-active span:nth-child(2) { opacity: 0; }
.burger.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* floating contact rail */
.contact-rail { position: fixed; right: clamp(14px, 2.5vw, 26px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 10px; z-index: 40; }
.contact-rail a { width: 50px; height: 50px; border-radius: 14px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 22px rgba(20,23,31,0.18); transition: transform .15s ease; }
.contact-rail a:hover { transform: translateY(-2px); }
.contact-rail a.phone { background: var(--blue); }
.contact-rail a.mail { background: var(--teal); }

/* hero */
.hero { position: relative; min-height: 640px; height: 86vh; max-height: 780px; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1100px 680px at 88% 18%, rgba(42,95,216,0.42), transparent 60%),
    radial-gradient(820px 620px at 105% 85%, rgba(18,169,140,0.34), transparent 55%),
    radial-gradient(640px 480px at 55% 105%, rgba(127,193,63,0.22), transparent 60%),
    linear-gradient(125deg, #0A0F1A 15%, #0F182B 55%, #142140 100%);
}
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,12,20,0.94) 0%, rgba(8,12,20,0.72) 38%, rgba(8,12,20,0.28) 68%, transparent 92%); }
.hero-inner { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.22); color: #fff; font-weight: 700; font-size: 11.5px; letter-spacing: 0.08em; margin-bottom: 26px; }
.hero h1 { font-size: clamp(38px, 6vw, 68px); line-height: 1.06; font-weight: 700; letter-spacing: -0.02em; color: #fff; max-width: 13ch; }
.hero-sub { margin-top: 22px; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,0.72); max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 34px; }
.btn { padding: 15px 26px; border-radius: 100px; font-weight: 700; font-size: 14.5px; border: 1px solid transparent; display: inline-flex; align-items: center; }
.btn-primary { background: #fff; color: var(--ink); }
.link-arrow { color: #fff; font-weight: 700; font-size: 14.5px; border-bottom: 1px solid rgba(255,255,255,0.4); padding-bottom: 3px; }
.hero-bars { position: absolute; left: 0; right: 0; bottom: 0; display: flex; height: 7px; z-index: 3; }
.hero-bars span { flex: 1; }
.hero-bars .b1 { background: var(--blue); }
.hero-bars .b2 { background: var(--teal); }
.hero-bars .b3 { background: var(--lime); }

/* trust strip */
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.trust-item { font-weight: 600; font-size: 13.5px; color: var(--ink-soft); }
.trust-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--ink-faint); margin: 0 6px; }

/* section heading */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: clamp(56px,7vw,84px) 0 30px; flex-wrap: wrap; }
.kicker { font-weight: 700; font-size: 11.5px; letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 10px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 34px); font-weight: 700; line-height: 1.15; max-width: 18ch; }
.section-note { font-size: 13px; color: var(--ink-faint); max-width: 24ch; text-align: right; }

/* services — cinematic flip tiles */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 4px; padding-bottom: clamp(60px, 8vw, 92px); }
.tile-flip { display: block; position: relative; aspect-ratio: 4 / 3.4; perspective: 1400px; }
.tile-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform .85s cubic-bezier(.4,.05,.2,1); border-radius: 4px; }
.tile-flip:hover .tile-inner { transform: rotateY(180deg); }
.tile-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 4px; overflow: hidden; }
.tile-front { padding: 24px; display: flex; flex-direction: column; justify-content: flex-end; }
.tile-front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,0.55), transparent 55%); }
.tile-content { position: relative; z-index: 1; }
.tile-icon { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 40px; }
.tile-front h3 { color: #fff; font-size: 19px; font-weight: 700; }
.tile-front .tag { color: rgba(255,255,255,0.72); font-size: 13px; margin-top: 4px; }
.t-1 { background: linear-gradient(155deg, #16264A, #0A0F1A); }
.t-2 { background: linear-gradient(155deg, #0F3B34, #0A0F1A); }
.t-3 { background: linear-gradient(155deg, #1B2230, #0A0F1A); }
.t-4 { background: linear-gradient(155deg, #2A3A1B, #0A0F1A); }
.t-5 { background: linear-gradient(155deg, #16264A, #0F3B34); }
.t-6 { background: linear-gradient(155deg, #1B2230, #16264A); }

/* cinematic back faces */
.tile-back { transform: rotateY(180deg); background: #05070A; }
.cine-scene { position: absolute; inset: -8%; transform: scale(1.12); transition: transform 1.8s ease; }
.tile-flip:hover .cine-scene { transform: scale(1.26); }
.cine-glow { position: absolute; border-radius: 50%; filter: blur(38px); }
.cine-icon { position: absolute; }
.cine-vignette { position: absolute; inset: 0; background: radial-gradient(120% 95% at 50% 45%, transparent 35%, rgba(0,0,0,0.7) 100%); z-index: 2; }
.cine-grain { position: absolute; inset: 0; opacity: .16; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22120%22%20height%3D%22120%22%3E%3Cfilter%20id%3D%22n%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%220.85%22%20numOctaves%3D%222%22%20stitchTiles%3D%22stitch%22/%3E%3C/filter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url%28%23n%29%22/%3E%3C/svg%3E"); background-size: 120px 120px; z-index: 3; }
.cine-bar { position: absolute; left: 0; right: 0; height: 11%; background: #000; z-index: 4; }
.cine-bar.top { top: 0; }
.cine-bar.bottom { bottom: 0; }
.cine-label { position: absolute; left: 22px; right: 22px; bottom: 15%; z-index: 5; }
.cine-label .name { display: block; color: #fff; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 16px; letter-spacing: .01em; text-shadow: 0 2px 16px rgba(0,0,0,.7); }
.cine-label .sub { display: block; margin-top: 4px; font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.cine-1 { background: radial-gradient(130% 100% at 32% 24%, rgba(42,95,216,.4), transparent 60%), linear-gradient(160deg, #14224a, #05070a); }
.cine-2 { background: radial-gradient(130% 100% at 68% 26%, rgba(18,169,140,.4), transparent 60%), linear-gradient(160deg, #0c3b34, #05070a); }
.cine-3 { background: radial-gradient(130% 100% at 30% 70%, rgba(127,193,63,.35), transparent 60%), linear-gradient(160deg, #1a2818, #05070a); }
.cine-4 { background: radial-gradient(130% 100% at 70% 30%, rgba(42,95,216,.4), transparent 60%), linear-gradient(160deg, #1c1f3a, #05070a); }
.cine-5 { background: radial-gradient(130% 100% at 50% 24%, rgba(18,169,140,.4), transparent 60%), linear-gradient(160deg, #10263a, #05070a); }
.cine-6 { background: radial-gradient(130% 100% at 50% 70%, rgba(42,95,216,.35), transparent 60%), linear-gradient(160deg, #16233a, #05070a); }
@media (prefers-reduced-motion: reduce) {
  .tile-inner, .cine-scene { transition: none; }
}

/* process */
.process { background: var(--surface-2); }
.process-inner { padding: clamp(56px,7vw,84px) 0; }
.step-row { display: flex; align-items: stretch; gap: 0; border-top: 1px solid var(--line); }
.step { flex: 1; padding: 28px 8px 0; }
.step + .step { border-left: 1px solid var(--line); padding-left: 28px; }
.step-num { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 13px; color: var(--blue); }
.step-label { font-weight: 700; font-size: 17px; margin-top: 10px; }
.step-sub { font-size: 13.5px; color: var(--ink-soft); margin-top: 6px; }

/* cta */
.cta-section { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 108px) 0; background: linear-gradient(125deg, #0A0F1A 15%, #142140 100%); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; max-width: 14ch; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.cta-actions .phone { color: rgba(255,255,255,0.7); font-weight: 600; font-size: 14px; }
.cta-bars { position: absolute; left: 0; right: 0; bottom: 0; display: flex; height: 7px; }
.cta-bars span { flex: 1; }
.cta-bars .b1 { background: var(--blue); } .cta-bars .b2 { background: var(--teal); } .cta-bars .b3 { background: var(--lime); }

/* footer */
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 28px 0; font-size: 13px; color: var(--ink-faint); }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { height: 22px; width: auto; display: block; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--ink-faint); text-transform: uppercase; font-weight: 700; font-size: 11.5px; letter-spacing: 0.06em; }
.footer-links a:hover { color: var(--ink); }

@media (max-width: 900px) {
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 4px; padding: 10px clamp(20px,4vw,64px) 22px; box-shadow: 0 24px 44px rgba(20,23,31,0.14); border-bottom: 1px solid var(--line); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 0; width: 100%; }
  .burger { display: flex; }
  .nav-drop { position: static; width: 100%; }
  .nav-drop-panel { position: static; opacity: 1; visibility: visible; pointer-events: auto; transform: none; box-shadow: none; border: none; padding: 0 0 6px 12px; min-width: 0; display: none; }
  .nav-drop.is-open .nav-drop-panel { display: flex; }
  .nav-drop-panel a { padding: 8px 0; }
  .tiles { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .step-row { flex-direction: column; }
  .step + .step { border-left: none; border-top: 1px solid var(--line); padding-left: 8px; padding-top: 24px; }
  .contact-rail { top: auto; bottom: 20px; transform: none; flex-direction: row; right: 20px; }
  .contact-rail a { width: 46px; height: 46px; }
}
@media (max-width: 560px) {
  .tiles { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-note { text-align: left; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .tile-icon, .contact-rail a { transition: none; }
}

/* page hero (subpages) */
.page-hero { position: relative; overflow: hidden; padding: clamp(64px, 10vw, 100px) 0 clamp(40px, 6vw, 60px); display: flex; align-items: center; }
.page-hero .hero-inner { padding: 0; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 48px); max-width: 20ch; }

/* leistungen pill-nav */
.service-pillnav { display: flex; flex-wrap: wrap; gap: 10px; padding: clamp(28px, 4vw, 40px) 0 0; }
.service-pillnav a { padding: 9px 16px; border-radius: 100px; border: 1px solid var(--line); font-weight: 600; font-size: 13.5px; color: var(--ink-soft); }
.service-pillnav a.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.service-pillnav a:hover { border-color: var(--blue); color: var(--blue); }

/* real WP page content (legal text, service copy, etc.) */
.entry-content { padding: clamp(40px, 6vw, 64px) 0; max-width: 760px; }
.entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.7em; margin-bottom: .5em; font-size: 22px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p { margin: 1em 0; line-height: 1.7; color: var(--ink-soft); font-size: 15.5px; }
.entry-content ul, .entry-content ol { margin: 1em 0; padding-left: 1.3em; color: var(--ink-soft); line-height: 1.7; }
.entry-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.entry-content strong { color: var(--ink); }
.entry-content img { border-radius: 12px; margin: 1.2em 0; }

/* team / value cards */
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; padding: clamp(40px, 6vw, 64px) 0 clamp(56px, 7vw, 84px); }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; }
.value-card .value-icon { width: 42px; height: 42px; border-radius: 11px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.value-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.65; }
.about-lead { max-width: 62ch; padding-top: clamp(40px, 6vw, 56px); font-size: 18px; line-height: 1.6; color: var(--ink-soft); }
.about-lead strong { color: var(--ink); }

/* hosting pricing */
.pricing-lead { max-width: 62ch; padding-top: clamp(32px, 5vw, 44px); font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; padding: clamp(32px, 5vw, 48px) 0 clamp(64px, 8vw, 92px); }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.price-card.featured { border-color: var(--blue); box-shadow: 0 24px 48px rgba(42,95,216,0.14); }
.price-card .price-name { font-weight: 700; font-size: 19px; }
.price-card .price-note { font-size: 12.5px; color: var(--ink-faint); margin-top: 4px; }
.price-card .price-value { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 32px; }
.price-card .price-value span { font-size: 14px; font-weight: 600; color: var(--ink-faint); }
.price-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; flex-grow: 1; }
.price-list li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-soft); }
.price-list li svg { flex: 0 0 auto; }
.price-card .btn { justify-content: center; background: var(--surface-2); color: var(--ink); }
.price-card.featured .btn { background: var(--blue); color: #fff; }

/* contact page */
.contact-grid { display: grid; grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr); gap: 48px; padding: clamp(40px, 6vw, 64px) 0 clamp(64px, 8vw, 92px); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info-item { display: flex; align-items: center; gap: 14px; }
.contact-info-item .icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.contact-info-item .label { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-faint); }
.contact-info-item .value { font-weight: 700; font-size: 15.5px; }
.contact-form-panel { background: var(--surface-2); border-radius: 20px; padding: clamp(24px, 4vw, 36px); }
.contact-form-panel .entry-content { padding: 0; max-width: none; }

@media (max-width: 900px) {
  .value-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}


/* ================= INTRO ================= */
  .intro {
    position: fixed; inset: 0; z-index: 100;
    background: radial-gradient(1200px 800px at 50% 20%, #0F182B, #05070A 70%);
    align-items: center; justify-content: center;
    overflow: hidden;
  }
  #intro { display: none; }
  html.has-intro #intro { display: flex; }
  .intro.done { animation: introExit .5s ease forwards; pointer-events: none; }
  @keyframes introExit { to { opacity: 0; visibility: hidden; } }

  .intro-stage { position: relative; width: min(560px, 84vw); height: 380px; }
  .intro-scene { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; }

  /* grain + vignette over the whole intro for cinema feel */
  .intro-vignette { position: absolute; inset: 0; background: radial-gradient(120% 100% at 50% 50%, transparent 45%, rgba(0,0,0,0.55) 100%); pointer-events: none; z-index: 5; }
  .intro-bars { position: absolute; left: 0; right: 0; bottom: 0; display: flex; height: 6px; z-index: 6; opacity: 0; animation: fadeIn .4s ease forwards; animation-delay: 11.65s; }
  .intro-bars span { flex: 1; }
  .intro-bars .b1 { background: var(--blue); } .intro-bars .b2 { background: var(--teal); } .intro-bars .b3 { background: var(--lime); }

  @keyframes fadeIn { to { opacity: 1; } }
  @keyframes fadeOut { to { opacity: 0; } }

  /* --- scene 1: code line --- */
  #scene-code { animation: fadeIn .3s ease forwards, fadeOut .3s ease forwards; animation-delay: 0s, 1.5s; }
  .code-row { display: flex; align-items: center; gap: 14px; font-family: 'JetBrains Mono', monospace; }
  .code-bracket { color: var(--blue); font-size: 40px; font-weight: 700; opacity: 0; animation: fadeIn .3s ease forwards; animation-delay: .1s; }
  .code-bracket.right { color: var(--teal); animation-delay: 1.1s; }
  .typewriter { color: #fff; font-size: 26px; font-weight: 500; white-space: nowrap; overflow: hidden; width: 0; border-right: 2px solid var(--lime); animation: typeWD .9s steps(10) forwards, blink .6s step-end infinite; animation-delay: .35s, .35s; }
  @keyframes typeWD { from { width: 0; } to { width: 10ch; } }
  @keyframes blink { 50% { border-color: transparent; } }

  /* --- scene 2: browser mockup building --- */
  #scene-browser { animation: fadeIn .35s ease forwards, fadeOut .35s ease forwards; animation-delay: 1.3s, 3.05s; }
  .browser { width: 380px; border-radius: 12px; background: #101826; border: 1px solid rgba(255,255,255,.1); overflow: hidden; transform: scale(.9); opacity: 0; animation: popIn .5s cubic-bezier(.2,.8,.3,1.2) forwards; animation-delay: 1.35s; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
  @keyframes popIn { to { transform: scale(1); opacity: 1; } }
  .browser-bar { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #16213A; }
  .browser-dot { width: 8px; height: 8px; border-radius: 50%; }
  .browser-dot:nth-child(1) { background: #E4899A; } .browser-dot:nth-child(2) { background: #E9C46A; } .browser-dot:nth-child(3) { background: var(--teal); }
  .browser-url { margin-left: 8px; flex: 1; background: rgba(255,255,255,.06); border-radius: 6px; padding: 5px 10px; font-family: 'JetBrains Mono', monospace; font-size: 11.5px; color: rgba(255,255,255,.4); overflow: hidden; white-space: nowrap; width: 0; animation: typeURL .7s steps(16) forwards; animation-delay: 1.75s; }
  @keyframes typeURL { from { width: 0; } to { width: 16ch; } }
  .browser-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
  .browser-body .bl { height: 8px; border-radius: 4px; background: rgba(255,255,255,.12); opacity: 0; animation: fadeIn .3s ease forwards; }
  .browser-body .bl.w1 { width: 55%; height: 12px; background: var(--blue); animation-delay: 2.05s; }
  .browser-body .bl.w2 { width: 85%; animation-delay: 2.2s; }
  .browser-body .bl.w3 { width: 70%; animation-delay: 2.35s; }
  .browser-body .card-row { display: flex; gap: 10px; margin-top: 4px; }
  .browser-body .card { flex: 1; height: 46px; border-radius: 8px; background: rgba(255,255,255,.06); opacity: 0; animation: fadeIn .3s ease forwards; }
  .browser-body .card:nth-child(1) { animation-delay: 2.5s; }
  .browser-body .card:nth-child(2) { animation-delay: 2.6s; border: 1px solid var(--teal); }
  .browser-body .card:nth-child(3) { animation-delay: 2.7s; }

  /* --- scene 2: onlineshop --- */
  #scene-onlineshop { animation: fadeIn .35s ease forwards, fadeOut .35s ease forwards; animation-delay: 3.1s, 4.6s; }
  .shop-row { display: flex; align-items: center; gap: 34px; }
  .shop-bag { position: relative; width: 74px; height: 74px; border-radius: 18px; background: linear-gradient(155deg, var(--teal), #0c3b34); display: flex; align-items: center; justify-content: center; transform: scale(.6); opacity: 0; animation: popIn .5s cubic-bezier(.2,.8,.3,1.2) forwards; animation-delay: 3.15s; }
  .shop-badge { position: absolute; top: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--lime); color: #0c3b34; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
  .shop-badge span { position: absolute; opacity: 0; }
  .shop-badge .s1 { animation: numFlash .25s linear forwards; animation-delay: 3.6s; }
  .shop-badge .s2 { animation: numFlash .25s linear forwards; animation-delay: 3.85s; }
  .shop-badge .s3 { animation: fadeIn .2s ease forwards; animation-delay: 4.1s; }
  .shop-items { display: flex; gap: 10px; }
  .shop-item { width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.16); opacity: 0; transform: translateY(10px); animation: shopItemIn .35s ease forwards; }
  .shop-item:nth-child(1) { animation-delay: 3.55s; }
  .shop-item:nth-child(2) { animation-delay: 3.8s; border-color: var(--teal); }
  .shop-item:nth-child(3) { animation-delay: 4.05s; }
  @keyframes shopItemIn { to { opacity: 1; transform: translateY(0); } }
  .shop-check { display: flex; align-items: center; gap: 8px; opacity: 0; animation: fadeIn .3s ease forwards; animation-delay: 4.3s; color: #fff; font-size: 13px; font-weight: 600; }

  /* --- scene 3: grafik / logo design --- */
  #scene-branding { animation: fadeIn .35s ease forwards, fadeOut .35s ease forwards; animation-delay: 4.7s, 6.2s; }
  .brand-stage { display: flex; flex-direction: column; align-items: center; gap: 20px; }
  .brand-path { width: 100px; height: 100px; }
  .brand-path path { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw .8s ease forwards; animation-delay: 4.75s; }
  .brand-swatches { display: flex; gap: 12px; }
  .brand-swatch { width: 22px; height: 22px; border-radius: 50%; transform: scale(0); opacity: 0; animation: popIn .35s cubic-bezier(.2,.8,.3,1.2) forwards; }
  .brand-swatch.sw1 { background: var(--blue); animation-delay: 5.3s; }
  .brand-swatch.sw2 { background: var(--teal); animation-delay: 5.45s; }
  .brand-swatch.sw3 { background: var(--lime); animation-delay: 5.6s; }

  /* --- scene 4: social media --- */
  #scene-social { animation: fadeIn .35s ease forwards, fadeOut .35s ease forwards; animation-delay: 6.3s, 7.8s; }
  .social-stage { display: flex; align-items: center; gap: 30px; }
  .social-avatar { position: relative; width: 84px; height: 84px; border-radius: 50%; background: linear-gradient(155deg, var(--blue), #14224a); display: flex; align-items: center; justify-content: center; transform: scale(.7); opacity: 0; animation: popIn .4s cubic-bezier(.2,.8,.3,1.2) forwards; animation-delay: 6.35s; }
  .social-heart { position: absolute; bottom: -6px; right: -6px; width: 28px; height: 28px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; transform: scale(0); opacity: 0; animation: heartPop .4s cubic-bezier(.3,.6,.3,1.3) forwards 2, fadeIn .01s forwards; animation-delay: 6.65s, 6.65s; }
  @keyframes heartPop { 0% { transform: scale(0); opacity: 0; } 50% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
  .social-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; opacity: 0; animation: fadeIn .3s ease forwards; }
  .social-dot.d1 { top: -4px; left: -10px; background: var(--teal); animation-delay: 6.8s; }
  .social-dot.d2 { bottom: 10px; left: -18px; background: var(--lime); animation-delay: 6.95s; }
  .social-dot.d3 { top: 30px; right: -18px; background: var(--teal); animation-delay: 7.1s; }
  .social-counter { display: flex; flex-direction: column; gap: 4px; }
  .social-counter .label { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }
  .social-counter .num-stack { position: relative; height: 30px; }
  .social-counter .num { position: absolute; left: 0; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 24px; color: #fff; opacity: 0; }
  .social-counter .num.c1 { animation: numFlash .25s linear forwards; animation-delay: 7.15s; }
  .social-counter .num.c2 { animation: numFlash .25s linear forwards; animation-delay: 7.4s; }
  .social-counter .num.c3 { animation: fadeIn .2s ease forwards; animation-delay: 7.65s; color: var(--lime); }

  /* --- scene 5: SEO scan / ranking --- */
  #scene-seo { animation: fadeIn .35s ease forwards, fadeOut .35s ease forwards; animation-delay: 7.9s, 9.7s; }
  .seo-panel { width: 380px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
  .search-pill { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 100px; padding: 10px 18px; width: 300px; transform: translateY(8px); opacity: 0; animation: riseIn .4s ease forwards; animation-delay: 7.95s; }
  @keyframes riseIn { to { transform: translateY(0); opacity: 1; } }
  .search-pill svg { flex: 0 0 auto; }
  .search-pill span { font-family: 'JetBrains Mono', monospace; color: #fff; font-size: 13px; overflow: hidden; white-space: nowrap; width: 0; animation: typeURL2 .6s steps(14) forwards; animation-delay: 8.1s; border-right: 2px solid var(--lime); }
  @keyframes typeURL2 { from { width: 0; } to { width: 14ch; } }

  .rank-row { display: flex; align-items: center; gap: 18px; opacity: 0; animation: fadeIn .3s ease forwards; animation-delay: 8.75s; }
  .rank-badge { position: relative; width: 58px; height: 58px; border-radius: 50%; background: linear-gradient(155deg, var(--teal), #0c3b34); display: flex; align-items: center; justify-content: center; font-family: 'Sora', sans-serif; font-weight: 700; color: #fff; font-size: 20px; overflow: hidden; }
  .rank-num { position: absolute; opacity: 0; }
  .rank-num.n1 { animation: numFlash .3s linear forwards; animation-delay: 8.75s; }
  .rank-num.n2 { animation: numFlash .3s linear forwards; animation-delay: 9.05s; }
  .rank-num.n3 { animation: fadeIn .2s ease forwards; animation-delay: 9.35s; }
  @keyframes numFlash { 0% { opacity: 0; } 30% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; } }
  .rank-graph { width: 150px; height: 58px; }
  .rank-graph path { stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw .85s ease forwards; animation-delay: 8.8s; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  .rank-graph circle { opacity: 0; animation: fadeIn .2s ease forwards; animation-delay: 9.55s; }

  /* --- scene 6: hosting --- */
  #scene-hosting { animation: fadeIn .35s ease forwards, fadeOut .35s ease forwards; animation-delay: 9.8s, 11.3s; }
  .host-stage { display: flex; align-items: center; gap: 30px; }
  .host-rack { display: flex; flex-direction: column; gap: 8px; }
  .host-bar { position: relative; width: 130px; height: 26px; border-radius: 6px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); opacity: 0; transform: translateX(-10px); animation: hostBarIn .35s ease forwards; }
  .host-bar:nth-child(1) { animation-delay: 9.85s; }
  .host-bar:nth-child(2) { animation-delay: 10.0s; }
  .host-bar:nth-child(3) { animation-delay: 10.15s; }
  @keyframes hostBarIn { to { opacity: 1; transform: translateX(0); } }
  .host-dot { position: absolute; left: 12px; top: 50%; margin-top: -3px; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); animation: pulseDot 1s ease-in-out infinite; animation-delay: 10.3s; opacity: 0; }
  .host-bar:nth-child(1) .host-dot { animation-delay: 10.3s; }
  .host-bar:nth-child(2) .host-dot { animation-delay: 10.45s; }
  .host-bar:nth-child(3) .host-dot { animation-delay: 10.6s; }
  @keyframes pulseDot { 0% { opacity: 0; } 15%, 100% { opacity: 1; } 50% { opacity: .35; } }
  .host-uptime { display: flex; flex-direction: column; gap: 4px; opacity: 0; animation: fadeIn .3s ease forwards; animation-delay: 10.6s; }
  .host-uptime .num { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 26px; color: var(--lime); }
  .host-uptime .label { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.5); }

  /* --- scene 7: logo reveal --- */
  #scene-logo { animation: fadeIn .5s ease forwards; animation-delay: 11.4s; }
  .logo-reveal { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
  .logo-reveal img { width: 92px; height: auto; transform: scale(.7) rotate(-8deg); opacity: 0; animation: logoPop .6s cubic-bezier(.2,.8,.2,1.2) forwards; animation-delay: 11.45s; }
  @keyframes logoPop { to { transform: scale(1) rotate(0deg); opacity: 1; } }
  .logo-reveal .word { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 26px; color: #fff; opacity: 0; transform: translateY(10px); animation: riseIn .4s ease forwards; animation-delay: 11.9s; }
  .logo-reveal .tag { font-size: 14.5px; color: rgba(255,255,255,.62); opacity: 0; transform: translateY(10px); animation: riseIn .4s ease forwards; animation-delay: 12.15s; }

  .intro-skip { position: absolute; bottom: 26px; right: 26px; z-index: 10; color: rgba(255,255,255,.55); font-size: 12.5px; font-weight: 600; padding: 9px 16px; border-radius: 100px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.04); cursor: pointer; }
  .intro-skip:hover { color: #fff; border-color: rgba(255,255,255,.4); }

  /* hero reveal (armed only when the intro sequence is showing) */
  html.has-intro .hero .eyebrow,
  html.has-intro .hero h1,
  html.has-intro .hero .hero-sub,
  html.has-intro .hero .hero-actions { opacity: 0; }
  .hero.reveal .eyebrow, .hero.reveal h1, .hero.reveal .hero-sub, .hero.reveal .hero-actions { animation: riseIn .6s ease forwards; }
  .hero.reveal .eyebrow { animation-delay: .05s; }
  .hero.reveal h1 { animation-delay: .15s; }
  .hero.reveal .hero-sub { animation-delay: .3s; }
  .hero.reveal .hero-actions { animation-delay: .45s; }

  @media (max-width: 640px) {
    .intro-stage { height: 320px; }
    .shop-row, .social-stage, .host-stage { gap: 20px; }
    .browser { width: 300px; }
    .seo-panel, .browser { width: min(320px, 82vw); }
  }
