/* ═══════════════════════════════════════════════
   RL Marketing — Style
   Editorial Tech / Dark Confident
   ═══════════════════════════════════════════════ */

:root {
  /* Core palette */
  --bg:        #0a0a0f;
  --bg-raised: #12121a;
  --bg-card:   #16161f;
  --bg-hover:  #1c1c28;

  --text:      #e8e6e3;
  --text-dim:  #8a8a9a;
  --text-muted:#5a5a6a;

  --accent:    #d4a853;
  --accent-dim:#b8923f;
  --accent-glow: rgba(212, 168, 83, 0.15);

  --border:    #222233;
  --border-light: #2a2a3d;

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Outfit', -apple-system, sans-serif;

  /* Spacing */
  --section-pad: clamp(80px, 12vw, 160px);
  --container: 1200px;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
}

/* ── Reveal Animation ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-delay="1"] { transition-delay: 0.12s; }
[data-delay="2"] { transition-delay: 0.24s; }
[data-delay="3"] { transition-delay: 0.36s; }

/* ══════════════════════════════════════════
   Navigation
   ══════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
  padding: 12px 0;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.logo-r { color: var(--accent); }
.logo-l { color: var(--text); }
.logo-text {
  margin-left: 6px;
  font-weight: 400;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-dim);
  transition: color 0.3s;
  position: relative;
}

.nav-links a:hover { color: var(--text); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--accent) !important;
  color: var(--bg) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 500 !important;
  transition: transform 0.3s var(--ease-spring), opacity 0.3s !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: scale(1.04); opacity: 0.9; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out);
}

/* ══════════════════════════════════════════
   Hero
   ══════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(212, 168, 83, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 20% 100%, rgba(60, 50, 120, 0.06) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 60%, rgba(212, 168, 83, 0.04) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  padding: 0 clamp(20px, 4vw, 48px);
}

.hero-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(212, 168, 83, 0.3);
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 32px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.hero-accent {
  color: var(--accent);
  font-style: italic;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-dim);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50%      { opacity: 1;   transform: scaleY(1); }
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 168, 83, 0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border-light);
}

.btn-ghost:hover {
  border-color: var(--text-dim);
  color: var(--text);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ══════════════════════════════════════════
   Trust Bar
   ══════════════════════════════════════════ */

.trust {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-label {
  text-align: center;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.trust-logos {
  display: flex;
  justify-content: center;
  gap: clamp(32px, 6vw, 80px);
  flex-wrap: wrap;
}

.trust-item {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dim);
  opacity: 0.5;
  transition: opacity 0.3s;
  letter-spacing: 0.02em;
}

.trust-item:hover { opacity: 0.8; }

/* ══════════════════════════════════════════
   Section Headers
   ══════════════════════════════════════════ */

.section-header {
  margin-bottom: 64px;
}

.section-number {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.section-desc {
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 500px;
}

/* ══════════════════════════════════════════
   Services
   ══════════════════════════════════════════ */

.services {
  padding: var(--section-pad) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px 32px;
  transition: all 0.4s var(--ease-out);
}

.service-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.service-card.featured {
  border-color: rgba(212, 168, 83, 0.3);
  background: linear-gradient(170deg, var(--bg-card) 60%, rgba(212, 168, 83, 0.05) 100%);
}

.service-badge {
  position: absolute;
  top: -10px;
  right: 24px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 14px;
  border-radius: 100px;
}

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 24px;
}

.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-card > p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-features li {
  font-size: 0.85rem;
  color: var(--text-dim);
  padding: 8px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   Projects
   ══════════════════════════════════════════ */

.projects {
  padding: var(--section-pad) 0;
  background: var(--bg-raised);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
}

.project-large { grid-column: 1 / -1; }

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s var(--ease-out);
}

.project-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.project-large {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
}

.project-image {
  padding: 32px;
  background: linear-gradient(135deg, var(--bg-hover) 0%, var(--bg-card) 100%);
}

.project-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.project-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.project-info h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.project-info > p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
  transition: gap 0.3s var(--ease-out);
}

.project-link:hover { gap: 10px; }
.project-link svg { flex-shrink: 0; }

/* ── Project Mockups ── */

.project-mockup {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
}

.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--bg-raised);
  border-bottom: 1px solid var(--border);
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-light);
}

.mockup-url {
  margin-left: 12px;
  font-size: 0.7rem;
  color: var(--text-muted);
  background: var(--bg);
  padding: 2px 10px;
  border-radius: 4px;
}

.mockup-content {
  padding: 16px;
  min-height: 200px;
}

/* CRM Mockup */
.mockup-crm .mockup-content {
  display: flex;
  gap: 12px;
  padding: 0;
}

.mockup-sidebar {
  width: 50px;
  background: var(--bg-raised);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-right: 1px solid var(--border);
}

.m-item {
  width: 100%;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
}

.m-item.active { background: var(--accent); opacity: 0.7; }

.mockup-main {
  flex: 1;
  padding: 12px;
}

.m-header {
  height: 10px;
  width: 40%;
  background: var(--border);
  border-radius: 4px;
  margin-bottom: 16px;
}

.m-kanban { display: flex; gap: 10px; }

.m-col { flex: 1; }

.m-col-head {
  height: 6px;
  width: 60%;
  background: var(--border);
  border-radius: 3px;
  margin-bottom: 8px;
}

.m-card {
  height: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 6px;
}

.m-card.accent { border-color: rgba(212, 168, 83, 0.4); }

/* Simple site mockup */
.mockup-simple { padding: 12px; }

.m-hero-block {
  height: 60px;
  background: linear-gradient(135deg, var(--border) 0%, var(--bg-hover) 100%);
  border-radius: 6px;
  margin-bottom: 10px;
}

.m-hero-block.gold {
  background: linear-gradient(135deg, rgba(212, 168, 83, 0.2) 0%, var(--bg-hover) 100%);
}

.m-text-block {
  height: 8px;
  width: 70%;
  background: var(--border);
  border-radius: 4px;
  margin-bottom: 12px;
}

.m-gallery {
  display: flex;
  gap: 6px;
}

.m-thumb {
  flex: 1;
  height: 40px;
  background: var(--bg-hover);
  border-radius: 4px;
}

.m-cards-row {
  display: flex;
  gap: 6px;
}

.m-mini-card {
  flex: 1;
  height: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
}

/* ══════════════════════════════════════════
   Stats
   ══════════════════════════════════════════ */

.stats {
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-unit {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--accent);
  opacity: 0.6;
}

.stat-label {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ══════════════════════════════════════════
   About
   ══════════════════════════════════════════ */

.about {
  padding: var(--section-pad) 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.3;
}

.about-text p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-text strong { color: var(--accent); font-weight: 600; }

.about-values {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.value {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s var(--ease-out);
}

.value:hover {
  border-color: var(--border-light);
  background: var(--bg-hover);
}

.value-icon {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.5;
  flex-shrink: 0;
  padding-top: 2px;
}

.value h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.value p {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
}

/* ══════════════════════════════════════════
   Contact
   ══════════════════════════════════════════ */

.contact {
  padding: var(--section-pad) 0;
  background: var(--bg-raised);
}

.contact-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.contact-content {
  padding: clamp(32px, 5vw, 60px);
}

.contact-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-content > p {
  color: var(--text-dim);
  margin-bottom: 36px;
  line-height: 1.7;
}

.contact-aside {
  padding: clamp(32px, 5vw, 60px);
  background: var(--bg-hover);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 40px;
}

.contact-info h4,
.contact-hours h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-dim);
  padding: 6px 0;
  transition: color 0.3s;
}

.contact-link:hover { color: var(--accent); }
.contact-link svg { flex-shrink: 0; color: var(--accent); opacity: 0.6; }

.contact-hours p {
  font-size: 0.9rem;
  color: var(--text-dim);
}

.contact-hours .subtle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── Form ── */

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-dim);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%238a8a9a' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-group textarea { resize: vertical; min-height: 100px; }

/* ══════════════════════════════════════════
   Footer
   ══════════════════════════════════════════ */

.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .nav-logo { margin-bottom: 12px; }

.footer-brand > p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-col a {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: color 0.3s;
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════
   Responsive
   ══════════════════════════════════════════ */

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; max-width: 500px; }
  .project-large { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; gap: 48px; }
  .contact-card { grid-template-columns: 1fr; }
  .contact-aside { border-left: none; border-top: 1px solid var(--border); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 99;
  }

  .nav-links.open a {
    font-size: 1.5rem;
    color: var(--text);
  }

  .nav-toggle { display: flex; z-index: 101; }

  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .projects-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-links { gap: 40px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}

/* ══════════════════════════════════════════
   Legal Pages (Impressum, Datenschutz)
   ══════════════════════════════════════════ */

.legal-page {
  padding-top: 120px;
  padding-bottom: var(--section-pad);
  min-height: 80vh;
}

.legal-container {
  max-width: 800px;
}

.legal-container h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.legal-updated {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 48px;
}

.legal-container h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.legal-container h2:first-of-type {
  margin-top: 32px;
}

.legal-container h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 12px;
  color: var(--text);
}

.legal-container p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-container a {
  color: var(--accent);
  transition: opacity 0.3s;
}

.legal-container a:hover {
  opacity: 0.8;
}

.legal-container ul {
  margin: 12px 0 16px 0;
  padding-left: 0;
}

.legal-container ul li {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.8;
  padding: 4px 0 4px 20px;
  position: relative;
}

.legal-container ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.6;
}

.legal-container em {
  color: var(--text-muted);
  font-style: italic;
}
