/* ========================================
   DEMONTAX — Modern Design System
   ======================================== */

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, picture, video, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* === CUSTOM PROPERTIES === */
:root {
  --blue: #2563EB;
  --blue-dark: #1D4ED8;
  --blue-light: #3B82F6;
  --blue-50: #EFF6FF;
  --blue-100: #DBEAFE;
  --red: #DC2626;
  --red-hover: #B91C1C;
  --green: #22C55E;

  --dark: #060A13;
  --dark-2: #0C1220;
  --dark-3: #111827;
  --dark-surface: #151C2C;
  --dark-border: rgba(255,255,255,0.06);

  --light: #F8FAFC;
  --light-2: #F1F5F9;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --border-light: #F1F5F9;

  --text: #0F172A;
  --text-2: #334155;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-on-dark: #F1F5F9;
  --text-on-dark-2: #CBD5E1;
  --text-on-dark-muted: #94A3B8;

  --font-display: 'Oswald', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-serif: 'Cardo', Georgia, serif;

  --container: 1200px;
  --container-lg: 1400px;
  --container-sm: 800px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

/* === FONTS === */
@font-face {
  font-family: 'Oswald';
  src: url('/assets/fonts/Oswald-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/fonts/PlusJakartaSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/fonts/PlusJakartaSans-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/fonts/PlusJakartaSans-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/fonts/PlusJakartaSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cardo';
  src: url('/assets/fonts/Cardo-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cardo';
  src: url('/assets/fonts/Cardo-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* === TYPOGRAPHY === */
body {
  font-family: var(--font-body);
  font-size: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
  color: var(--text);
  background: var(--white);
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
h1 { font-size: clamp(3rem, 2.5rem + 3.5vw, 6rem); }
h2 { font-size: clamp(1.75rem, 1.4rem + 2vw, 3.25rem); }
h3 { font-size: clamp(1.15rem, 1rem + 0.5vw, 1.5rem); }
h4 { font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem); }
p { max-width: 68ch; }
.text-center { text-align: center; }

/* === LAYOUT === */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.container-lg {
  width: 100%;
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.container-sm {
  width: 100%;
  max-width: var(--container-sm);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
/* Backward compat aliases */
.container-wide { width: 100%; max-width: var(--container-lg); margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem); }
.container-narrow { width: 100%; max-width: var(--container-sm); margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem); }

.section {
  padding: clamp(4rem, 8vw, 8rem) 0;
}
.section-sm {
  padding: clamp(2rem, 4vw, 4rem) 0;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9em 2em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  position: relative;
}
.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(220, 38, 38, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--text);
}
.btn-white:hover {
  background: var(--light);
  transform: translateY(-2px);
}
.btn-lg {
  padding: 1.15em 2.5em;
  font-size: 0.95rem;
}
.btn-sm {
  padding: 0.65em 1.4em;
  font-size: 0.8rem;
}
.btn-arrow::after {
  content: '\2192';
  transition: transform 0.3s var(--ease);
}
.btn-arrow:hover::after {
  transform: translateX(5px);
}

/* === NAVIGATION === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: all 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(6, 10, 19, 0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 0.6rem 0;
  box-shadow: 0 1px 0 var(--dark-border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}
.nav-logo img {
  height: 42px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
  letter-spacing: 0.02em;
}
.nav-link:hover,
.nav-link.active {
  color: #fff;
}
/* Dropdown */
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 260px;
  background: var(--dark-2);
  border: 1px solid var(--dark-border);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.82rem;
  color: var(--text-on-dark-2);
  transition: all 0.2s;
}
.nav-dropdown a:hover {
  color: #fff;
  background: rgba(255,255,255,0.04);
}
/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}
#nav-check {
  display: none;
}
.btn-icon {
  width: 3rem;
  height: 3rem;
  padding: 0;
  border-radius: 50%;
  justify-content: center;
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,10,19,0.85) 0%, rgba(6,10,19,0.4) 50%, rgba(6,10,19,0.7) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  padding-top: 8rem;
  padding-bottom: 4rem;
  width: 100%;
}
.hero h1 {
  color: #fff;
  margin-bottom: 1.5rem;
  max-width: 14ch;
  line-height: 0.95;
}
.hero h1 .accent {
  color: var(--blue);
}
.hero-text {
  color: var(--text-on-dark-2);
  font-size: clamp(1rem, 0.9rem + 0.4vw, 1.2rem);
  line-height: 1.7;
  max-width: 52ch;
  margin-bottom: 2rem;
}
.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.5rem);
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
  transition: color 0.3s;
}
.hero-phone:hover {
  color: var(--blue-light);
}
.hero-phone svg {
  width: 28px;
  height: 28px;
  fill: var(--green);
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-on-dark-2);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  background: rgba(255,255,255,0.06);
  padding: 0.5em 1.2em;
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
/* Hero stats row at bottom */
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-on-dark-muted);
  margin-top: 0.25rem;
}

/* === TRUST BAR === */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 3;
}
.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: var(--container-lg);
  margin: 0 auto;
}
.stat-item {
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: var(--border);
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 2.5vw, 3.5rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-display);
}
.stat-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* === SECTION HEADER === */
.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-header h2 {
  margin-bottom: 1rem;
}
.section-header.text-center {
  text-align: center;
}
.section-header.text-center .lead {
  margin-left: auto;
  margin-right: auto;
}
.lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 65ch;
}

/* === NUMBERED POINTS === */
.numbered-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}
.numbered-point {
  padding-top: 2rem;
  border-top: 2px solid var(--border);
}
.numbered-point-num {
  display: block;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.3;
}
.numbered-point p {
  color: var(--text-2);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* === CARD GRID === */
.card-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
}
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* === INFO CARD === */
.info-card {
  background: var(--white);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  transition: background-color 0.4s var(--ease);
  position: relative;
}
.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.4s var(--ease);
}
.info-card:hover {
  background: var(--blue-50);
}
.info-card:hover::before {
  width: 100%;
}
.info-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  text-transform: none;
  letter-spacing: 0;
}
.info-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* === LIST CARD === */
.list-card {
  background: var(--white);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.list-card h3 {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  text-transform: none;
  letter-spacing: 0;
}
.list-card ul {
  list-style: none;
  padding: 0;
}
.list-card li {
  padding: 0.5rem 0;
  padding-left: 1.25em;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.list-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1em;
  width: 5px;
  height: 5px;
  background: var(--blue);
  border-radius: 50%;
}
.list-card-dark {
  background: var(--dark-surface);
}
.list-card-dark h3 {
  color: #fff;
}
.list-card-dark li {
  color: var(--text-on-dark-2);
}
.list-card-accent {
  background: var(--white);
}

/* === HINT BOX === */
.hint-box {
  margin-top: 3rem;
  padding: 1.5rem 2rem;
  border-left: 3px solid var(--blue);
  background: var(--blue-50);
}
.hint-box p {
  color: var(--text-2);
  font-size: 0.925rem;
  line-height: 1.7;
  max-width: none;
}
.hint-box strong {
  color: var(--text);
}
.hint-box-dark {
  background: rgba(255,255,255,0.03);
  border-left-color: var(--blue);
}
.hint-box-dark p {
  color: var(--text-on-dark-2);
}
.hint-box-dark strong {
  color: #fff;
}

/* === STEPS === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 2rem;
}
.step-item {
  background: var(--white);
  padding: 2rem;
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--dark);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.step-item h4 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  text-transform: none;
  letter-spacing: 0;
}
.step-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === DARK SECTION === */
.dark-section {
  background: var(--dark);
  color: var(--text-on-dark);
}
.dark-section .section-header h2,
.dark-section .section-header h3,
.dark-section h2, .dark-section h3 {
  color: #fff;
}
.dark-section .lead {
  color: var(--text-on-dark-2);
}
.dark-section .card-grid {
  background: var(--dark-border);
}
.dark-section .hint-box {
  background: rgba(255,255,255,0.03);
  border-left-color: var(--blue);
}
.dark-section .hint-box p {
  color: var(--text-on-dark-2);
}
.dark-section .hint-box strong {
  color: #fff;
}
.dark-section .numbered-point {
  border-top-color: rgba(255,255,255,0.08);
}
.dark-section .numbered-point p {
  color: var(--text-on-dark-2);
}

/* === ACCENT SECTION === */
.accent-section {
  background: var(--light);
}
.accent-section .steps-grid {
  background: var(--border);
}
.accent-section .step-item {
  background: var(--white);
}

/* === PHOTO STRIP === */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
.photo-strip-item {
  overflow: hidden;
  aspect-ratio: 16/10;
}
.photo-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.photo-strip-item:hover img {
  transform: scale(1.05);
}

/* === FULLWIDTH IMAGE BREAK === */
.image-break {
  position: relative;
  height: clamp(250px, 35vw, 450px);
  overflow: hidden;
}
.image-break img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.image-break::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--dark) 0%, transparent 30%, transparent 70%, var(--dark) 100%);
  pointer-events: none;
}

/* === FAQ === */
.faq-section {
  background: var(--light);
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-item summary {
  padding: 1.25rem 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.2s;
  color: var(--text);
}
.faq-item summary:hover {
  color: var(--blue);
}
.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
  font-family: var(--font-body);
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-answer {
  padding: 0 0 1.5rem;
}
.faq-answer p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.9rem;
}

/* === SERVICE CARD (Services Grid on homepage) === */
.services-section {
  background: var(--light);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.service-card {
  background: var(--white);
  padding: 2rem;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service-card:hover {
  background: var(--blue-50);
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--blue);
}
.service-card-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.service-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  text-transform: none;
  letter-spacing: 0;
}
.service-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--font-display);
}
.service-card-link::after {
  content: '\2192';
  transition: transform 0.3s var(--ease);
}
.service-card:hover .service-card-link::after {
  transform: translateX(5px);
}

/* === GALLERY STRIP (backward compat) === */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
.gallery-item {
  overflow: hidden;
  aspect-ratio: 16/10;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* === CTA SECTION === */
.cta-section {
  background: var(--dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section h2 {
  color: #fff;
  margin-bottom: 1rem;
}
.cta-section p {
  color: var(--text-on-dark-2);
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
}
.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.1rem + 1vw, 2rem);
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
  transition: color 0.3s;
}
.cta-phone:hover {
  color: var(--blue-light);
}
.cta-phone svg {
  width: 28px;
  height: 28px;
  fill: var(--green);
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* === COVERAGE / EINZUGSGEBIET === */
.coverage-section {
  background: var(--light);
}
.coverage-zone {
  margin-bottom: 2.5rem;
}
.coverage-zone:last-child { margin-bottom: 0; }
.coverage-zone-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.coverage-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3em 0.8em;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
}
.coverage-badge-green { background: var(--green); }
.coverage-badge-blue { background: var(--blue); }
.coverage-badge-dark { background: var(--dark); }
.coverage-grid {
  display: grid;
  gap: 1px;
  background: var(--border);
}
.coverage-grid-4 { grid-template-columns: repeat(4, 1fr); }
.coverage-card {
  background: var(--white);
  padding: 1.25rem;
}
.coverage-card ul { list-style: none; padding: 0; }
.coverage-card li {
  padding: 0.2rem 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.coverage-check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.coverage-check-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4em 1em;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}
.coverage-check-item::before {
  content: '\2713';
  color: var(--blue);
  font-weight: 700;
  font-size: 0.75rem;
}

/* === FOOTER === */
.footer {
  background: var(--dark);
  color: var(--text-on-dark-muted);
  font-size: 0.85rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1.5fr 1fr;
  gap: 2rem;
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}
.footer-brand p {
  margin-top: 1rem;
  line-height: 1.7;
  max-width: 30ch;
}
.footer-brand img {
  height: 38px;
  width: auto;
}
.footer-heading {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  margin-bottom: 1.25rem;
}
.footer-links a {
  display: block;
  padding: 0.2rem 0;
  transition: color 0.2s;
  font-size: 0.82rem;
}
.footer-links a:hover {
  color: #fff;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--blue-light);
  flex-shrink: 0;
  margin-top: 3px;
}
.contact-info-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-on-dark-muted);
  margin-bottom: 0.1rem;
}
.contact-info-value {
  font-weight: 600;
  color: var(--text-on-dark);
  font-size: 0.85rem;
}
.contact-info-value a {
  color: var(--blue-light);
  transition: color 0.2s;
}
.contact-info-value a:hover {
  color: #fff;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--dark-border);
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a:hover { color: #fff; }
.footer-credit a {
  color: var(--blue-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-credit a:hover { color: #fff; }

/* === PAGE HERO (Service & Generic pages) === */
.page-hero {
  background: var(--dark);
  padding: calc(80px + 4rem) 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero h1 {
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
  font-size: clamp(2rem, 1.5rem + 3vw, 4rem);
}
.page-hero p {
  color: var(--text-on-dark-2);
  font-size: 1.1rem;
  margin: 0 auto;
  position: relative;
  max-width: 60ch;
}
.page-hero .breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  position: relative;
}
.page-hero .breadcrumb a {
  color: var(--text-on-dark-2);
  transition: color 0.2s;
}
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .breadcrumb .sep { opacity: 0.5; }

/* === CONTENT AREA === */
.content-area {
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.content-area .container-narrow h2,
.content-area .container-sm h2 {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--text);
  margin-top: 3rem;
  margin-bottom: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.content-area .container-narrow h3,
.content-area .container-sm h3 { text-transform: none; }
.legal-hero h1 {
  font-family: var(--font-body);
  text-transform: none;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.content-area .container-narrow h2:first-child,
.content-area .container-sm h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.content-area .container-narrow h3,
.content-area .container-sm h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.content-area .container-narrow p,
.content-area .container-sm p {
  margin-bottom: 1rem;
  color: var(--text-2);
  line-height: 1.8;
  font-size: 0.975rem;
}
.content-area .container-narrow ul,
.content-area .container-narrow ol,
.content-area .container-sm ul,
.content-area .container-sm ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}
.content-area .container-narrow ul,
.content-area .container-sm ul { list-style: disc; }
.content-area .container-narrow ol,
.content-area .container-sm ol { list-style: decimal; }
.content-area .container-narrow li,
.content-area .container-sm li {
  margin-bottom: 0.35rem;
  color: var(--text-2);
  line-height: 1.7;
}
.content-area .container-narrow a,
.content-area .container-sm a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.content-area .container-narrow a:hover,
.content-area .container-sm a:hover {
  color: var(--blue-dark);
}
.content-area .container-narrow img,
.content-area .container-sm img {
  margin: 2rem 0;
}
.content-area .container-narrow blockquote,
.content-area .container-sm blockquote {
  border-left: 3px solid var(--blue);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text);
}

/* === RELATED SERVICES === */
.related-services {
  background: var(--light);
}
.related-header {
  text-align: center;
  margin-bottom: 2rem;
}
.related-header p {
  color: var(--text-muted);
  margin: 0.5rem auto 0;
}

/* === CONTACT PAGE === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.contact-info-card {
  background: var(--light);
  padding: 2rem;
}
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  width: 40px;
  height: 40px;
  background: rgba(37, 99, 235, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}
.contact-info-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group textarea {
  padding: 0.85em 1em;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-checkbox {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.form-checkbox input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--blue);
}
.form-checkbox label {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.form-file input[type="file"] {
  padding: 1rem;
  border: 2px dashed var(--border);
  width: 100%;
  cursor: pointer;
  background: var(--light);
}
.form-file input[type="file"]:hover {
  border-color: var(--blue);
}
.form-status {
  padding: 1rem;
  font-size: 0.9rem;
  display: none;
}
.form-status.success {
  display: block;
  background: rgba(34, 197, 94, 0.08);
  color: #16A34A;
  border: 1px solid rgba(34, 197, 94, 0.15);
}
.form-status.error {
  display: block;
  background: rgba(220, 38, 38, 0.08);
  color: var(--red);
  border: 1px solid rgba(220, 38, 38, 0.15);
}

/* === ANIMATIONS === */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.stagger > *:nth-child(1) { transition-delay: 0s; }
.stagger > *:nth-child(2) { transition-delay: 0.08s; }
.stagger > *:nth-child(3) { transition-delay: 0.16s; }
.stagger > *:nth-child(4) { transition-delay: 0.24s; }
.stagger > *:nth-child(5) { transition-delay: 0.32s; }
.stagger > *:nth-child(6) { transition-delay: 0.4s; }
.stagger > *:nth-child(7) { transition-delay: 0.48s; }
.stagger > *:nth-child(8) { transition-delay: 0.56s; }

.no-js .animate-on-scroll {
  opacity: 1;
  transform: none;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-inner { padding-top: 7rem; }
  .hero-stats { gap: 2rem; flex-wrap: wrap; }
  .card-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .numbered-points { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .coverage-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: clamp(3rem, 6vw, 5rem) 0; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    background: var(--dark);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease);
    border-left: 1px solid var(--dark-border);
  }
  #nav-check:checked ~ .nav-links {
    transform: translateX(0);
  }
  #nav-check:checked ~ .nav-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  #nav-check:checked ~ .nav-toggle span:nth-child(2) { opacity: 0; }
  #nav-check:checked ~ .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    min-width: auto;
    padding: 0;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .nav-dropdown a {
    padding: 0.4rem 1rem;
    font-size: 0.78rem;
  }

  .hero { min-height: auto; padding-top: 0; }
  .hero-inner { padding-top: 6rem; padding-bottom: 3rem; }
  .hero h1 { max-width: none; }
  .hero-stats { flex-direction: column; gap: 1rem; }

  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2)::after { display: none; }

  .card-grid-2,
  .card-grid-3,
  .card-grid-4 { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .numbered-points { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }

  .photo-strip,
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }

  .footer-top { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .coverage-grid-4 { grid-template-columns: 1fr 1fr; }

  .page-hero { padding: calc(70px + 2.5rem) 0 2.5rem; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .trust-bar-inner { grid-template-columns: 1fr 1fr; }
  .photo-strip,
  .gallery-strip { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* === SERVICE DETAIL PAGE (RealestateRoyal style) === */

/* Hero Banner — rounded, image with text overlay */
.sd-hero-wrap {
  padding: calc(80px + 2rem) 0 0;
}
.sd-hero {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
}
.sd-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sd-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,10,19,0.88) 0%, rgba(6,10,19,0.35) 55%, rgba(6,10,19,0.15) 100%);
  border-radius: inherit;
}
.sd-hero-overlay {
  position: relative;
  z-index: 2;
  padding: 3rem;
  max-width: 650px;
}
.sd-hero-overlay .breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}
.sd-hero-overlay .breadcrumb a {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.sd-hero-overlay .breadcrumb a:hover { color: #fff; }
.sd-hero-overlay .breadcrumb .sep { opacity: 0.4; }
.sd-hero-overlay h1 {
  color: #fff;
  font-size: clamp(2.2rem, 1.8rem + 3vw, 3.8rem);
  margin-bottom: 0.75rem;
  line-height: 1.1;
}
.sd-hero-overlay p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 50ch;
}

/* Statement — centered text flanked by images */
.sd-statement {
  display: grid;
  grid-template-columns: 220px 1fr 220px;
  gap: 0;
  align-items: center;
  padding: clamp(4rem, 8vw, 7rem) 0;
  overflow: hidden;
}
.sd-statement-img {
  overflow: hidden;
}
.sd-statement-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}
.sd-statement-img-left img {
  border-radius: 0 1.25rem 1.25rem 0;
}
.sd-statement-img-right img {
  border-radius: 1.25rem 0 0 1.25rem;
}
.sd-statement-content {
  text-align: center;
  padding: 2rem clamp(2rem, 4vw, 4rem);
}
.sd-statement-icon {
  color: var(--dark);
  margin-bottom: 1.25rem;
}
.sd-statement-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 1.2rem + 2.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 1.25rem;
  text-transform: none;
  letter-spacing: -0.01em;
}
.sd-statement-heading em,
.sd-statement-heading i {
  font-style: italic;
}
.sd-statement-content > p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 48ch;
  margin: 0 auto;
}
.sd-statement-content .hero-phone {
  display: inline-flex;
}

/* Full-width banner — dark image with text overlay, rounded */
.sd-banner {
  padding: 0 0 clamp(3rem, 6vw, 5rem);
}
.sd-banner-inner {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
}
.sd-banner-inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sd-banner-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,10,19,0.85) 0%, rgba(6,10,19,0.25) 60%, rgba(6,10,19,0.1) 100%);
}
.sd-banner-overlay {
  position: relative;
  z-index: 2;
  padding: 3rem;
  max-width: 550px;
}
.sd-banner-overlay h2 {
  color: #fff;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 1.2rem + 2vw, 2.5rem);
  line-height: 1.25;
  margin-bottom: 0.75rem;
  text-transform: none;
  letter-spacing: -0.01em;
}
.sd-banner-overlay h2 em,
.sd-banner-overlay h2 i {
  font-style: italic;
}
.sd-banner-overlay p {
  color: rgba(255,255,255,0.7);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Process Steps — elegant numbered */
.sd-process {
  background: var(--white);
}
.sd-process-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.sd-process-header h2 {
  margin-bottom: 0.5rem;
}
.sd-process-header p {
  color: var(--text-muted);
  max-width: 45ch;
  margin: 0 auto;
}
.sd-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.sd-step {
  text-align: center;
  padding: 0 1rem;
}
.sd-step-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--text);
  opacity: 0.12;
  line-height: 1;
  margin-bottom: 1.5rem;
}
.sd-step-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  text-transform: none;
  letter-spacing: 0;
}
.sd-step-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 30ch;
  margin: 0 auto;
}

/* Stats bar — clean, horizontal */
.sd-stats {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.sd-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.sd-stat {
  padding: 2.5rem 1rem;
  border-right: 1px solid var(--border);
}
.sd-stat:last-child { border-right: none; }
.sd-stat-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text);
}
.sd-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Features — card grid */
.sd-features {
  background: var(--light);
}
.sd-features-header {
  text-align: center;
  margin-bottom: 3rem;
}
.sd-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}
.sd-feature {
  background: var(--white);
  padding: 2.5rem 2rem;
  text-align: center;
}
.sd-feature-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1.25rem;
  background: var(--blue-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
}
.sd-feature h3 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  text-transform: none;
  letter-spacing: 0;
}
.sd-feature p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Responsive — service detail */
@media (max-width: 1024px) {
  .sd-statement { grid-template-columns: 160px 1fr 160px; }
  .sd-statement-img img { height: 280px; }
  .sd-features-grid { grid-template-columns: repeat(2, 1fr); }
  .sd-stats-inner { grid-template-columns: repeat(2, 1fr); }
  .sd-stat:nth-child(2) { border-right: none; }
}
@media (max-width: 768px) {
  .sd-hero-wrap { padding-top: calc(70px + 1rem); }
  .sd-hero { min-height: 360px; border-radius: 0.75rem; }
  .sd-hero-overlay { padding: 2rem; }
  .sd-statement {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 0;
  }
  .sd-statement-img { display: none; }
  .sd-statement-content { padding: 0 1.5rem; }
  .sd-banner-inner { min-height: 320px; border-radius: 0.75rem; }
  .sd-banner-overlay { padding: 2rem; }
  .sd-steps { grid-template-columns: 1fr; gap: 2rem; }
  .sd-stats-inner { grid-template-columns: 1fr 1fr; }
  .sd-features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .sd-hero { min-height: 300px; }
  .sd-hero-overlay h1 { font-size: 1.8rem; }
  .sd-stats-inner { grid-template-columns: 1fr 1fr; }
  .sd-stat { padding: 1.5rem 1rem; }
}

/* === PRINT === */
@media print {
  .nav, .cookie-banner, .cta-section { display: none; }
  .hero { min-height: auto; background: #fff; color: #000; }
  .hero h1, .hero-text { color: #000; }
  body { font-size: 12pt; }
}
