/*
Theme Name: M. Serim Bedachungen – Aurora UI
Theme URI: https://m-serim-bedachungen-gmbh-2.lead.bummeltech.com/
Author: ECC / Aurora Build
Description: Individuelles klassisches Theme für M. Serim Bedachungen GmbH im "Aurora UI"-Stil – atmosphärische, leuchtende Mesh-Gradienten (Northern-Lights-Effekt), Electric Blue / Magenta / Cyan / Purple. Alle Inhalte im wp-admin pflegbar (Customizer, CPT slide & service, Menüs, Seiten).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: serim-aurora
*/

/* =========================================================================
   AURORA UI — Design Tokens (Northern Lights)
   ========================================================================= */
:root {
  /* Aurora-Farbpalette (Vibrant gradients, smooth blend) */
  --aurora-blue:    #0080FF;   /* Electric Blue */
  --aurora-magenta: #FF1493;   /* Magenta */
  --aurora-cyan:    #00FFFF;   /* Cyan */
  --aurora-purple:  #7C3AED;   /* Purple */
  --aurora-pink:    #FB37FF;   /* Pink */
  --aurora-teal:    #14F1C8;   /* Teal */

  /* Customizer-überschreibbar (siehe header.php :root inline) */
  --color-primary:   #0080FF;
  --color-accent:    #FF1493;

  /* Atmosphärische dunkle Basis */
  --bg-0:   #05070f;   /* Tiefster Hintergrund */
  --bg-1:   #0a0e1f;   /* Sektion */
  --bg-2:   #111634;   /* Karten */
  --surface-glass: rgba(255,255,255,0.04);
  --surface-glass-strong: rgba(255,255,255,0.07);

  --fg:        #f5f7ff;   /* Haupttext hell */
  --fg-muted:  #b7c0e0;   /* Sekundärtext */
  --fg-dim:    #8a92b8;
  --border:    rgba(255,255,255,0.10);
  --border-glow: rgba(0,200,255,0.35);

  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --shadow-soft: 0 10px 40px -12px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 40px -8px rgba(0,128,255,0.55), 0 0 80px -20px rgba(255,20,147,0.4);

  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1200px;
  --gap-section: 7rem;
  --t-fast: 160ms;
  --t-mid: 240ms;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* =========================================================================
   Reset / Basis
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg);
  background: var(--bg-0);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--aurora-cyan); text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--aurora-teal); }
h1,h2,h3,h4 { line-height: 1.12; margin: 0 0 .5em; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { margin: 0 0 1.1rem; color: var(--fg-muted); }
ul { color: var(--fg-muted); }
:focus-visible { outline: 3px solid var(--aurora-cyan); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2.4rem, var(--maxw)); margin-inline: auto; }
.section { padding: var(--gap-section) 0; position: relative; }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--aurora-cyan);
  padding: .4rem .9rem; border: 1px solid var(--border-glow); border-radius: 999px;
  background: rgba(0,255,255,0.06); margin-bottom: 1.2rem;
}
.lead { font-size: 1.18rem; color: var(--fg-muted); max-width: 60ch; }
.text-center { text-align: center; }
.center-wrap { max-width: 760px; margin-inline: auto; }

/* =========================================================================
   Aurora-Hintergrund (animierter Mesh-/Northern-Lights-Verlauf)
   ========================================================================= */
.aurora-bg {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(60% 50% at 15% 20%, rgba(0,128,255,0.55), transparent 60%),
    radial-gradient(55% 55% at 85% 15%, rgba(255,20,147,0.45), transparent 62%),
    radial-gradient(60% 60% at 75% 80%, rgba(124,58,237,0.50), transparent 60%),
    radial-gradient(55% 50% at 25% 85%, rgba(20,241,200,0.42), transparent 60%),
    radial-gradient(70% 60% at 50% 50%, rgba(0,255,255,0.18), transparent 70%);
  background-size: 200% 200%;
  filter: saturate(1.25) blur(20px);
  animation: auroraShift 12s ease-in-out infinite alternate;
  opacity: .9;
}
.aurora-bg::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 120% at 50% 0%, transparent 30%, var(--bg-0) 90%);
}
@keyframes auroraShift {
  0%   { background-position: 0% 0%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 50% 100%; }
}

/* feiner Sterne/Noise-Layer für Tiefe */
.aurora-grain {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .25;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.18) 1px, transparent 0);
  background-size: 44px 44px;
}

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  --pad-y: .95rem; --pad-x: 1.7rem;
  display: inline-flex; align-items: center; gap: .6rem; cursor: pointer;
  padding: var(--pad-y) var(--pad-x); border-radius: 999px; font-weight: 700;
  font-size: 1rem; border: 0; line-height: 1; text-align: center;
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease), filter var(--t-mid) var(--ease);
}
.btn svg { width: 1.1em; height: 1.1em; }
.btn-primary {
  color: #fff;
  background: linear-gradient(100deg, var(--aurora-blue), var(--aurora-purple) 45%, var(--aurora-magenta));
  background-size: 200% 200%;
  box-shadow: var(--shadow-glow);
  animation: btnFlow 8s ease infinite;
}
@keyframes btnFlow { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
.btn-primary:hover { transform: translateY(-3px) scale(1.02); filter: saturate(1.3) brightness(1.08); }
.btn-ghost {
  color: var(--fg); background: var(--surface-glass-strong);
  border: 1px solid var(--border); backdrop-filter: blur(8px);
}
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--border-glow); color: #fff; box-shadow: 0 0 24px -6px var(--aurora-cyan); }

/* =========================================================================
   Header / Navbar (sticky, großzügig, responsive + Burger)
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px) saturate(1.3);
  background: rgba(5,7,15,0.55);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2.5rem; padding: 1.05rem 0; min-height: 72px;
}
.brand { display: flex; align-items: center; gap: .7rem; font-weight: 800; font-size: 1.18rem; color: #fff; letter-spacing: -.02em; flex-shrink: 0; }
.brand:hover { color: #fff; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
  background: conic-gradient(from 200deg, var(--aurora-blue), var(--aurora-cyan), var(--aurora-magenta), var(--aurora-purple), var(--aurora-blue));
  box-shadow: 0 0 22px -4px var(--aurora-cyan);
  display: grid; place-items: center;
}
.brand-mark svg { width: 22px; height: 22px; color: #fff; }
.brand small { display:block; font-weight: 600; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--aurora-cyan); }

.nav-menu { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-menu a {
  color: var(--fg-muted); font-weight: 600; font-size: .98rem; position: relative;
  padding: .35rem 0; white-space: nowrap; transition: color var(--t-fast) var(--ease);
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--aurora-cyan), var(--aurora-magenta));
  transition: width var(--t-mid) var(--ease);
}
.nav-menu a:hover, .nav-menu .current-menu-item > a { color: #fff; }
.nav-menu a:hover::after, .nav-menu .current-menu-item > a::after { width: 100%; }
.nav-cta { flex-shrink: 0; }

.burger {
  display: none; flex-direction: column; gap: 5px; width: 46px; height: 46px;
  border: 1px solid var(--border); border-radius: 12px; background: var(--surface-glass);
  cursor: pointer; align-items: center; justify-content: center; flex-shrink: 0;
}
.burger span { width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform var(--t-mid) var(--ease), opacity var(--t-mid); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: flex; }
  .nav-cta { display: none; }
  .nav-menu {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: flex-start;
    gap: 0; padding: 1rem 1.4rem 2rem; background: rgba(8,11,26,0.97);
    backdrop-filter: blur(16px); border-bottom: 1px solid var(--border);
    transform: translateY(-130%); transition: transform var(--t-mid) var(--ease);
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav-menu.open { transform: translateY(0); }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; padding: 1rem .2rem; font-size: 1.1rem; border-bottom: 1px solid var(--border); width: 100%; }
  .nav-menu a::after { display: none; }
}

/* =========================================================================
   Hero
   ========================================================================= */
.hero { padding: clamp(4rem, 9vw, 8rem) 0 clamp(3rem,6vw,6rem); position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 .grad {
  background: linear-gradient(110deg, var(--aurora-cyan), var(--aurora-blue) 35%, var(--aurora-magenta) 70%, var(--aurora-pink));
  background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: btnFlow 9s ease infinite;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.4rem; color: var(--fg-dim); font-size: .92rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: .5rem; }
.hero-meta svg { width: 1.1em; height: 1.1em; color: var(--aurora-teal); }

.hero-visual { position: relative; }
.hero-visual img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-soft);
}
.hero-visual::before {
  content: ""; position: absolute; inset: -2px; border-radius: var(--radius-lg); z-index: -1;
  background: linear-gradient(130deg, var(--aurora-cyan), var(--aurora-magenta), var(--aurora-purple));
  filter: blur(26px); opacity: .55;
}
.hero-badge {
  position: absolute; left: -12px; bottom: 24px; background: rgba(8,11,26,0.85);
  backdrop-filter: blur(10px); border: 1px solid var(--border-glow); border-radius: var(--radius);
  padding: 1rem 1.3rem; box-shadow: var(--shadow-soft); display: flex; align-items: center; gap: .9rem;
}
.hero-badge .num { font-size: 1.9rem; font-weight: 800; color: #fff;
  background: linear-gradient(120deg,var(--aurora-cyan),var(--aurora-magenta)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.hero-badge .lbl { font-size: .8rem; color: var(--fg-muted); line-height: 1.3; }

/* =========================================================================
   Slider (CPT slide)
   ========================================================================= */
.slider { position: relative; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-soft); }
.slider-track { display: flex; scroll-snap-type: x mandatory; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; }
.slider-track::-webkit-scrollbar { display: none; }
.slide {
  position: relative; min-width: 100%; scroll-snap-align: center; aspect-ratio: 16/8;
  display: grid; align-items: end;
}
@media (max-width: 720px){ .slide { aspect-ratio: 4/5; } }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-overlay {
  position: relative; z-index: 2; padding: clamp(1.5rem,4vw,3.2rem); width: 100%;
  background: linear-gradient(to top, rgba(5,7,15,0.92) 8%, rgba(5,7,15,0.45) 55%, transparent);
}
.slide-overlay h3 { color: #fff; font-size: clamp(1.5rem,3.5vw,2.6rem); margin-bottom: .4rem; }
.slide-overlay p { color: var(--fg-muted); max-width: 56ch; margin: 0; }
.slide-overlay .eyebrow { background: rgba(255,20,147,0.12); border-color: rgba(255,20,147,0.4); color: var(--aurora-pink); }

.slider-nav { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: center; pointer-events: none; padding: 0 1rem; }
.slider-btn {
  pointer-events: auto; width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--border-glow); background: rgba(8,11,26,0.6); backdrop-filter: blur(8px);
  color: #fff; display: grid; place-items: center; transition: transform var(--t-fast) var(--ease), background var(--t-fast);
}
.slider-btn:hover { transform: scale(1.1); background: rgba(0,128,255,0.4); }
.slider-btn svg { width: 22px; height: 22px; }
.slider-dots { position: absolute; bottom: 1.1rem; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; z-index: 5; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(255,255,255,0.35); transition: all var(--t-fast) var(--ease); }
.slider-dot.active { background: linear-gradient(90deg,var(--aurora-cyan),var(--aurora-magenta)); width: 28px; border-radius: 6px; }

/* =========================================================================
   Karten / Leistungen (CPT service)
   ========================================================================= */
.grid { display: grid; gap: 1.6rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.section-head { margin-bottom: 3.2rem; }

.card {
  position: relative; background: var(--surface-glass); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; backdrop-filter: blur(6px);
  transition: transform var(--t-mid) var(--ease), border-color var(--t-mid), box-shadow var(--t-mid);
}
.card::before {
  content:""; position:absolute; inset:0; padding:1px; border-radius:inherit; pointer-events:none;
  background: linear-gradient(130deg, transparent 40%, var(--aurora-cyan), var(--aurora-magenta));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity var(--t-mid);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-soft); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card-media { aspect-ratio: 16/10; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.card:hover .card-media img { transform: scale(1.07); }
.card-body { padding: 1.6rem 1.5rem 1.8rem; }
.card-ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(0,128,255,0.25), rgba(255,20,147,0.25));
  border: 1px solid var(--border-glow); color: var(--aurora-cyan);
}
.card-ico svg { width: 26px; height: 26px; }
.card h3 { color: #fff; }
.card .more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; color: var(--aurora-cyan); margin-top: .4rem; }
.card .more svg { width: 1em; height: 1em; transition: transform var(--t-fast) var(--ease); }
.card:hover .more svg { transform: translateX(4px); }

/* Feature / Warum-wir Liste */
.feature-row { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.4rem; }
.feature {
  display: flex; gap: 1rem; padding: 1.4rem; border-radius: var(--radius); align-items: flex-start;
  background: var(--surface-glass); border: 1px solid var(--border);
}
.feature .fi { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(20,241,200,0.2), rgba(124,58,237,0.25)); color: var(--aurora-teal); border: 1px solid var(--border); }
.feature .fi svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.15rem; color: #fff; margin-bottom: .25rem; }
.feature p { margin: 0; font-size: .96rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.2rem; }
.stat { text-align: center; padding: 1.8rem 1rem; border-radius: var(--radius); background: var(--surface-glass); border: 1px solid var(--border); }
.stat .n { font-size: clamp(2rem,4vw,2.8rem); font-weight: 800;
  background: linear-gradient(120deg,var(--aurora-cyan),var(--aurora-magenta)); -webkit-background-clip:text; background-clip:text; color:transparent; }
.stat .l { color: var(--fg-muted); font-size: .92rem; margin-top: .3rem; }

/* =========================================================================
   CTA-Band
   ========================================================================= */
.cta-band { position: relative; border-radius: var(--radius-xl); padding: clamp(2.5rem,5vw,4.5rem); overflow: hidden; text-align: center; }
.cta-band::before {
  content:""; position:absolute; inset:0; z-index:-1;
  background: linear-gradient(120deg, var(--aurora-blue), var(--aurora-purple) 40%, var(--aurora-magenta));
  background-size: 200% 200%; animation: btnFlow 10s ease infinite; filter: saturate(1.2);
}
.cta-band::after { content:""; position:absolute; inset:0; z-index:-1; background: radial-gradient(120% 120% at 50% 0%, transparent, rgba(5,7,15,0.45)); }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); }
.cta-band .btn-ghost { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.4); color:#fff; }
.cta-band .btn-primary { background: #fff; color: var(--aurora-purple); animation: none; box-shadow: 0 10px 30px -8px rgba(0,0,0,.4); }
.cta-phone { display:inline-flex; align-items:center; gap:.6rem; margin-top:1.4rem; font-size:1.5rem; font-weight:800; color:#fff; }
.cta-phone:hover{ color:#fff; }

/* =========================================================================
   Kontakt
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.5rem; align-items: start; }
.contact-info { display: grid; gap: 1rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.3rem; border-radius: var(--radius); background: var(--surface-glass); border: 1px solid var(--border); }
.contact-item .ci { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display:grid; place-items:center; color: var(--aurora-cyan);
  background: linear-gradient(135deg, rgba(0,128,255,0.22), rgba(0,255,255,0.16)); border: 1px solid var(--border-glow); }
.contact-item .ci svg { width: 22px; height: 22px; }
.contact-item strong { color: #fff; display:block; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .15rem; }
.contact-item a, .contact-item span { color: var(--fg-muted); }
.contact-form-wrap { background: var(--surface-glass); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.8rem; }

/* Kontaktformular-Plugin Styling */
.contact-form-wrap input, .contact-form-wrap textarea, .contact-form-wrap select {
  width: 100%; padding: .85rem 1rem; margin-bottom: 1rem; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05); border: 1px solid var(--border); color: var(--fg); font: inherit;
}
.contact-form-wrap input:focus, .contact-form-wrap textarea:focus { outline: none; border-color: var(--aurora-cyan); box-shadow: 0 0 0 3px rgba(0,255,255,0.15); }
.contact-form-wrap ::placeholder { color: var(--fg-dim); }
.contact-form-wrap button, .contact-form-wrap input[type="submit"] {
  width: auto; cursor: pointer; color: #fff; border: 0; padding: .95rem 1.8rem; border-radius: 999px; font-weight: 700;
  background: linear-gradient(100deg, var(--aurora-blue), var(--aurora-magenta)); box-shadow: var(--shadow-glow);
}
.contact-form-wrap label { color: var(--fg-muted); font-size: .92rem; }

/* =========================================================================
   Inhaltsseiten (page.php)
   ========================================================================= */
.page-hero { padding: clamp(3.5rem,7vw,6rem) 0 2rem; }
.page-hero .crumbs { color: var(--fg-dim); font-size: .9rem; margin-bottom: 1rem; }
.page-hero .crumbs a { color: var(--aurora-cyan); }
.page-content { padding: 1rem 0 var(--gap-section); }
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.2rem; color: #fff; }
.prose h3 { margin-top: 1.6rem; color: #fff; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .5rem; }
.prose img { border-radius: var(--radius); margin: 1.5rem 0; border: 1px solid var(--border); }
.prose a { text-decoration: underline; }
.prose blockquote { border-left: 3px solid var(--aurora-magenta); margin: 1.5rem 0; padding: .5rem 1.2rem; color: var(--fg); background: var(--surface-glass); border-radius: 0 var(--radius) var(--radius) 0; }

.subpage-links { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.chip { padding: .55rem 1.1rem; border-radius: 999px; background: var(--surface-glass); border: 1px solid var(--border); color: var(--fg-muted); font-weight: 600; font-size: .92rem; }
.chip:hover { border-color: var(--border-glow); color: #fff; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { position: relative; border-top: 1px solid var(--border); background: rgba(5,7,15,0.7); padding: 4rem 0 2rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-grid h4 { color: #fff; font-size: 1rem; letter-spacing: .04em; }
.footer-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-menu a { color: var(--fg-muted); font-weight: 500; }
.footer-menu a:hover { color: var(--aurora-cyan); }
.footer-about p { font-size: .95rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; color: var(--fg-dim); font-size: .88rem; }
.footer-bottom a { color: var(--fg-dim); }
.footer-bottom a:hover { color: var(--aurora-cyan); }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 480px; margin-inline: auto; }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  :root { --gap-section: 4.5rem; }
  .grid-3, .grid-2, .feature-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
