/*
Theme Name: Goldmay
Theme URI: https://goldmay.de
Author: Goldmay Team
Author URI: https://goldmay.de
Description: Professionelles und minimales WordPress-Theme für Goldmay Betreuungsservice. Vollständig optimiert für AEO, GEO und SEO mit Rank Math Integration.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: goldmay
Tags: minimal, professional, betreuung, services, tailwind, german
*/

/* ============================================================
   CUSTOM PROPERTIES & BASE
   ============================================================ */
:root {
  --red:        #C41230;
  --red-dark:   #A00F26;
  --red-light:  #E8142F;
  --dark:       #111111;
  --dark-2:     #1F1F1F;
  --gray-100:   #F5F5F5;
  --gray-200:   #E5E7EB;
  --gray-400:   #9CA3AF;
  --gray-500:   #6B7280;
  --gray-700:   #374151;
  --white:      #FFFFFF;
  --transition: 0.25s ease;
  --gutter:     1.5rem;
  --content-max: 1200px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; color: var(--gray-700); }
p:last-child { margin-bottom: 0; }

a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dark); }

img { max-width: 100%; height: auto; display: block; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--red);
  color: var(--white) !important;
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 18, 48, 0.25);
  color: var(--white) !important;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: var(--white) !important;
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--red) !important;
  text-decoration: none;
}

.btn-outline-dark {
  background: transparent;
  color: var(--dark) !important;
  border-color: var(--dark);
}
.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white) !important;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
#site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-logo {
  flex-shrink: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--dark) !important;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.site-logo span { color: var(--red); }

#primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
#primary-nav a {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--dark);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color var(--transition);
  text-decoration: none;
}
#primary-nav a:hover,
#primary-nav .current-menu-item > a,
#primary-nav .current_page_item > a {
  color: var(--red);
}

.header-cta { flex-shrink: 0; }

/* Hamburger */
#hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
#hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all var(--transition);
  transform-origin: center;
}
#hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   OFF-CANVAS MENU
   ============================================================ */
#overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
#overlay.open {
  opacity: 1;
  pointer-events: all;
}

#off-canvas {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 90vw);
  background: var(--white);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
#off-canvas.open { transform: translateX(0); }

.off-canvas-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--gray-200);
  flex-shrink: 0;
}

#close-canvas {
  width: 40px;
  height: 40px;
  background: var(--gray-100);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--dark);
  transition: background var(--transition);
}
#close-canvas:hover { background: var(--gray-200); }

.off-canvas-nav {
  padding: 1.5rem;
  flex: 1;
}
.off-canvas-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.off-canvas-nav li { border-bottom: 1px solid var(--gray-200); }
.off-canvas-nav a {
  display: block;
  padding: 1rem 0;
  color: var(--dark);
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  transition: color var(--transition);
}
.off-canvas-nav a:hover { color: var(--red); }

.off-canvas-cta {
  padding: 1.5rem;
  border-top: 1px solid var(--gray-200);
  flex-shrink: 0;
}
.off-canvas-cta .btn { display: block; text-align: center; margin-bottom: 1.25rem; }

.off-canvas-contact { font-size: 0.875rem; color: var(--gray-500); }
.off-canvas-contact a {
  color: var(--gray-700);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.625rem;
  font-weight: 500;
}
.off-canvas-contact a:hover { color: var(--red); }
.off-canvas-contact svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container-sm { max-width: 800px; margin: 0 auto; padding: 0 var(--gutter); }

section { padding: 5rem 0; }

.section-label {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1.25rem;
  color: var(--dark);
}

.section-lead {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 600px;
  line-height: 1.8;
}

/* ============================================================
   LUCIDE ICONS
   ============================================================ */
.gm-icon,
.gm-icon svg {
  display: inline-block;
  width: 20px;
  height: 20px;
  stroke-width: 1.5;
  vertical-align: middle;
  flex-shrink: 0;
}
/* Larger icons in specific contexts */
.usp-icon.gm-icon,
.usp-icon.gm-icon svg   { width: 28px; height: 28px; }
.service-card-icon .gm-icon,
.service-card-icon .gm-icon svg { width: 26px; height: 26px; }
.contact-icon .gm-icon,
.contact-icon .gm-icon svg { width: 20px; height: 20px; }
.value-check .gm-icon,
.value-check .gm-icon svg  { width: 14px; height: 14px; stroke-width: 2.5; }
.faq-icon .gm-icon,
.faq-icon .gm-icon svg     { width: 14px; height: 14px; }
.service-card-link .gm-icon,
.service-card-link .gm-icon svg { width: 14px; height: 14px; }

.text-center .section-lead { margin: 0 auto; }

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ============================================================
   IMAGE PLACEHOLDERS
   ============================================================ */
.img-placeholder {
  background: var(--gray-100);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.8125rem;
  font-weight: 500;
  gap: 0.5rem;
  border: 2px dashed var(--gray-200);
  text-align: center;
  padding: 2rem;
}
.img-placeholder svg { width: 40px; height: 40px; opacity: 0.4; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark-2);
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(17,17,17,0.55) 0%, rgba(196,18,48,0.08) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 4rem var(--gutter);
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.375rem 1rem;
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--white);
  max-width: 680px;
  margin-bottom: 1.5rem;
  font-size: clamp(2.25rem, 5.5vw, 4rem);
}

.hero-lead {
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
  max-width: 540px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

.hero-page {
  min-height: 40vh;
  padding-top: 80px;
  padding-bottom: 0;
  background: var(--dark);
  align-items: flex-end;
}
.hero-page .hero-content { padding: 3rem var(--gutter) 4rem; }
.hero-page h1 { font-size: clamp(1.75rem, 4vw, 3rem); }

/* ============================================================
   SECTION: USP STRIP
   ============================================================ */
.usp-strip {
  background: var(--red);
  padding: 0;
}
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.usp-item {
  padding: 2rem 2rem;
  color: var(--white);
  border-right: 1px solid rgba(255,255,255,0.15);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.usp-item:last-child { border-right: none; }
.usp-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  opacity: 0.9;
}
.usp-item h3 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.usp-item p {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  margin: 0;
}

/* ============================================================
   SECTION: SERVICES CARDS
   ============================================================ */
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  border-color: var(--red);
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}
.service-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.service-card-body {
  padding: 2rem 1.75rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card-icon {
  width: 52px;
  height: 52px;
  background: #FEF2F4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--red);
}
.service-card h3 { margin-bottom: 0.75rem; font-size: 1.1875rem; }
.service-card p { color: var(--gray-500); font-size: 0.9375rem; flex: 1; }
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--red);
  font-weight: 700;
  font-size: 0.875rem;
  margin-top: 1.25rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* ============================================================
   SECTION: ABOUT TEASER
   ============================================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-split-reverse { direction: rtl; }
.about-split-reverse > * { direction: ltr; }

.about-img-wrap {
  position: relative;
}
.about-img-wrap .img-placeholder {
  aspect-ratio: 4/5;
}
.about-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--red);
  z-index: -1;
}

.value-list { margin-top: 1.5rem; }
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1rem;
}
.value-check {
  width: 22px;
  height: 22px;
  background: var(--red);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
}
.value-check svg { width: 12px; height: 12px; color: white; }
.value-text { font-size: 0.9375rem; color: var(--gray-700); font-weight: 500; }

/* ============================================================
   SECTION: STATS
   ============================================================ */
.stats-section { background: var(--dark); }
.stat-item { text-align: center; padding: 1rem; }
.stat-number {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--red);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label { color: rgba(255,255,255,0.7); font-size: 0.9375rem; }

/* ============================================================
   SECTION: FAQ (AEO)
   ============================================================ */
.faq-section { background: var(--gray-100); }
.faq-wrap { max-width: 760px; margin: 3rem auto 0; }
.faq-item { border-bottom: 1px solid var(--gray-200); background: var(--white); margin-bottom: 4px; }
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--red); }
.faq-question.active { color: var(--red); }
.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border: 2px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}
.faq-question.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--gray-500);
  font-size: 0.9375rem;
  line-height: 1.75;
}
.faq-answer.open { display: block; }

/* ============================================================
   SECTION: CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--red);
  padding: 5rem 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 2rem; font-size: 1.125rem; }

/* ============================================================
   SECTION: TEAM
   ============================================================ */
.team-card { text-align: center; }
.team-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 1.25rem;
}
.team-name { font-size: 1.0625rem; font-weight: 700; margin-bottom: 0.25rem; }
.team-role { font-size: 0.875rem; color: var(--gray-500); margin: 0; }

/* ============================================================
   SECTION: PROCESS STEPS
   ============================================================ */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.step-item { position: relative; padding: 2rem; background: var(--white); border: 1px solid var(--gray-200); }
.step-number {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 1rem;
}
.step-item h3 { margin-bottom: 0.75rem; font-size: 1.125rem; }
.step-item p { font-size: 0.9375rem; color: var(--gray-500); margin: 0; }

/* ============================================================
   SECTION: CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}
.contact-icon {
  width: 48px;
  height: 48px;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-info-item h4 { font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray-400); margin-bottom: 0.25rem; font-weight: 600; }
.contact-info-item p { color: var(--dark); font-weight: 500; margin: 0; font-size: 0.9375rem; }

.contact-form .form-group { margin-bottom: 1.25rem; }
.contact-form label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.375rem; color: var(--dark); }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--gray-200);
  background: var(--white);
  color: var(--dark);
  font-family: inherit;
  font-size: 0.9375rem;
  transition: border-color var(--transition);
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: var(--red); }
.contact-form textarea { height: 140px; resize: vertical; }
.map-placeholder { width: 100%; height: 300px; margin-top: 2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer { background: var(--dark-2); color: rgba(255,255,255,0.75); }

.footer-top {
  padding: 4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; }

.footer-brand .site-logo { margin-bottom: 1.25rem; display: block; }
.footer-brand p { font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.75; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.625rem; }
.footer-col a { color: rgba(255,255,255,0.55); font-size: 0.875rem; text-decoration: none; transition: color var(--transition); }
.footer-col a:hover { color: var(--white); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.875rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
}
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; color: var(--red); }
.footer-contact-item a { color: rgba(255,255,255,0.55); }
.footer-contact-item a:hover { color: var(--white); }

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,0.35); }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; }
.footer-links ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; }
.footer-links li { display: flex; align-items: center; }
.footer-links li + li::before { content: '|'; margin: 0 0.75rem; color: rgba(255,255,255,0.2); }
.footer-links a { display: block; }

/* ============================================================
   PAGE CONTENT (WordPress default pages)
   ============================================================ */
.page-content { padding: 5rem 0; }
.page-content-inner { max-width: 800px; margin: 0 auto; padding: 0 1.5rem; }
.page-content h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.page-content ul, .page-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.page-content li { margin-bottom: 0.5rem; color: var(--gray-700); }

/* ============================================================
   SINGLE / BLOG
   ============================================================ */
.post-thumbnail { width: 100%; aspect-ratio: 16/7; object-fit: cover; margin-bottom: 2rem; }
.post-meta { color: var(--gray-400); font-size: 0.875rem; margin-bottom: 1.5rem; }

/* ============================================================
   404
   ============================================================ */
.error-404 {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
}
.error-code {
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 900;
  color: var(--gray-200);
  line-height: 1;
  display: block;
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
#scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--red);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  transform: translateY(10px);
}
#scroll-top.visible { opacity: 1; pointer-events: all; transform: translateY(0); }
#scroll-top:hover { background: var(--red-dark); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-split { gap: 3rem; }
  .contact-grid { gap: 2.5rem; }
}

@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  #primary-nav { display: none; }
  .header-cta { display: none; }
  #hamburger { display: flex; }

  .hero { min-height: 90vh; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; text-align: center; }

  .usp-grid { grid-template-columns: 1fr; }
  .usp-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .usp-item:last-child { border-bottom: none; }

  .grid-2, .grid-3, .grid-4, .about-split, .steps-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-split-reverse { direction: ltr; }
  .about-accent { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  :root { --gutter: 1rem; }
  h1 { font-size: 1.875rem; }
  h2 { font-size: 1.5rem; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  #site-header, #off-canvas, #overlay, #scroll-top { display: none; }
  body { padding-top: 0; }
}
