/* Alturion Elevator — Modern & Elegant Responsive Redesign (v16) */
:root {
  --ink: #1e232a;
  --ink-soft: #2c3540;
  --accent: #3d5265;
  --accent-hover: #2c3e4f;
  --accent-soft: #f0f4f7;
  --accent-border: #c5d1db;
  --brand-mark: #9e2a2b;
  --red: #3d5265; /* Mapped for backward-compatibility with legacy selectors, softened away from #d20000 */
  --muted: #5a626e;
  --paper: #f6f5f2;
  --surface: #ffffff;
  --line: #e3e1dc;
  --line-strong: #cbc8c0;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 10px rgba(24, 30, 38, 0.05);
  --shadow-md: 0 10px 30px rgba(24, 30, 38, 0.08);
  --shadow-lg: 0 20px 50px rgba(24, 30, 38, 0.14);
  --space: clamp(52px, 6.5vw, 96px);
}

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

html {
  scroll-padding-top: 108px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  font-family: 'Plus Jakarta Sans', 'Fira Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(1rem, 0.96rem + 0.18vw, 1.0625rem);
  line-height: 1.72;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font: inherit;
}

button {
  cursor: pointer;
}

a, button, input, textarea, summary, select {
  outline-offset: 4px;
}

:focus-visible {
  outline: 2.5px solid var(--accent);
}

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

h1, h2, h3, p, figure {
  margin: 0 0 18px;
}

h1, h2, h3 {
  line-height: 1.15;
  letter-spacing: -0.028em;
  text-wrap: balance;
  overflow-wrap: break-word;
  color: var(--ink);
}

h1 {
  font-size: clamp(2rem, 3.6vw + 1rem, 3.85rem);
  font-weight: 650;
}

h2 {
  font-size: clamp(1.55rem, 2.3vw + 0.85rem, 2.65rem);
  font-weight: 650;
}

h3 {
  font-size: clamp(1.2rem, 1.1vw + 0.85rem, 1.5rem);
  font-weight: 600;
}

p {
  overflow-wrap: break-word;
}

p:last-child {
  margin-bottom: 0;
}

.wrap {
  width: min(1280px, calc(100% - clamp(32px, 6vw, 80px)));
  margin-inline: auto;
}

.section {
  padding-block: var(--space);
}

.section-compact {
  padding-top: 24px;
}

.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: clamp(0.72rem, 0.68rem + 0.15vw, 0.78rem);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.5;
  margin-bottom: 14px;
}

.lead {
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem);
  line-height: 1.68;
  color: var(--muted);
  max-width: 760px;
}

/* Topbar */
.topbar {
  background: var(--ink);
  color: #e6e8ec;
  font-size: clamp(0.75rem, 0.72rem + 0.12vw, 0.8125rem);
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar a {
  white-space: nowrap;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
}

.topbar a:hover {
  text-decoration: underline;
}

/* Header, Fluid Logo & Responsive Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: clamp(66px, 7.5vw, 90px);
  gap: clamp(16px, 2.5vw, 32px);
  position: relative;
}

.logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.logo img {
  width: clamp(134px, 15.5vw, 210px);
  height: clamp(44px, 5.2vw, 70px);
  object-fit: cover;
  object-position: 50% 49%;
  transition: width 0.22s ease, height 0.22s ease;
}

#nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 22px);
  font-size: clamp(0.86rem, 0.82rem + 0.15vw, 0.94rem);
  font-weight: 600;
}

#nav a.nav-link {
  padding: 8px 4px;
  white-space: nowrap;
  color: var(--ink);
  position: relative;
  transition: color 0.18s ease, transform 0.18s ease;
  display: inline-flex;
  align-items: center;
}

#nav a.nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #3d5265 0%, #68859e 100%);
  border-radius: 2px;
  transition: left 0.24s cubic-bezier(0.16, 1, 0.3, 1), right 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

#nav a.nav-link:hover,
#nav a.nav-link[aria-current="page"] {
  color: var(--accent);
  transform: translateY(-0.5px);
}

#nav a.nav-link:hover::after,
#nav a.nav-link[aria-current="page"]::after {
  left: 2px;
  right: 2px;
}

/* Sophisticated Dropdown Mega-Flyout */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px 6px;
  color: var(--ink);
  font-weight: 600;
  font-size: inherit;
  font-family: inherit;
  background: none;
  border: none;
  transition: color 0.18s ease, transform 0.18s ease;
  border-radius: var(--radius-sm);
}

.dropdown-chevron {
  transition: transform 0.26s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: var(--muted);
}

.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown:focus-within .nav-dropdown-toggle,
.nav-dropdown.active .nav-dropdown-toggle {
  color: var(--accent);
}

.nav-dropdown:hover .dropdown-chevron,
.nav-dropdown:focus-within .dropdown-chevron,
.nav-dropdown.active .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--accent);
}

.nav-dropdown-menu {
  display: grid;
  grid-template-columns: 240px 240px;
  gap: 12px;
  position: absolute;
  top: calc(100% + 8px);
  right: -60px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(61, 82, 101, 0.15);
  border-radius: 14px;
  box-shadow: 0 24px 50px -12px rgba(24, 28, 34, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  padding: 16px;
  z-index: 100;
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.active .nav-dropdown-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown-col {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dropdown-col-highlight {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 10px;
  border: 1px solid rgba(61, 82, 101, 0.08);
}

.dropdown-heading {
  font-size: 0.7rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 6px 10px 4px;
  margin-bottom: 2px;
}

.dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px !important;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.16s ease, transform 0.16s ease, color 0.16s ease;
}

.dropdown-item strong {
  font-size: 0.875rem;
  font-weight: 650;
  color: var(--ink);
  transition: color 0.16s ease;
}

.dropdown-item span {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
}

.dropdown-item:hover {
  background: rgba(61, 82, 101, 0.08);
  transform: translateX(3px);
}

.dropdown-item:hover strong {
  color: var(--accent);
}

.dropdown-divider {
  height: 1px;
  background: rgba(61, 82, 101, 0.1);
  margin: 8px 4px;
}

.nav-dropdown-products {
  grid-template-columns: 275px 275px;
  left: -20px;
  right: auto;
}

.nav-dropdown-regions {
  grid-template-columns: 245px 260px;
  left: auto;
  right: -50px;
}

.dropdown-item-cta {
  background: rgba(61, 82, 101, 0.06) !important;
  border: 1px dashed rgba(61, 82, 101, 0.3);
  margin-top: 4px;
}

.dropdown-item-cta:hover {
  background: var(--accent) !important;
}

.dropdown-item-cta:hover strong,
.dropdown-item-cta:hover span {
  color: #ffffff !important;
}

.district-pill {
  display: inline-block;
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 550;
  color: var(--ink);
  transition: all 0.16s ease;
}

.district-pill:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
  transform: translateY(-1px);
}

/* High-End ZIP Download Action Button */
.nav-download {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(61, 82, 101, 0.07) 0%, rgba(61, 82, 101, 0.14) 100%);
  border: 1px solid rgba(61, 82, 101, 0.3);
  border-radius: 999px;
  padding: 7px 14px !important;
  color: var(--accent) !important;
  font-weight: 650;
  font-size: 0.84rem;
  box-shadow: 0 2px 6px rgba(61, 82, 101, 0.08);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.nav-download .download-icon {
  transition: transform 0.2s ease;
}

.nav-download:hover {
  background: var(--accent);
  color: #ffffff !important;
  border-color: var(--accent);
  box-shadow: 0 6px 16px -2px rgba(61, 82, 101, 0.35);
  transform: translateY(-1px);
}

.nav-download:hover .download-icon {
  transform: translateY(2px);
}

/* Primary Luxury CTA Button */
.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #3d5265 0%, #2c3e4f 100%);
  color: #ffffff !important;
  border-radius: 8px;
  padding: 9px 18px !important;
  font-weight: 650;
  box-shadow: 0 4px 14px rgba(61, 82, 101, 0.28);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.nav-contact-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}

.nav-contact:hover {
  background: linear-gradient(135deg, #475f75 0%, #34485c 100%);
  box-shadow: 0 8px 22px rgba(61, 82, 101, 0.42);
  transform: translateY(-1.5px);
}

.nav-contact:hover .nav-contact-arrow {
  transform: translate(2px, -2px);
}

#menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 8px 15px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

#menu-toggle:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

/* Hero Section */
.hero-revised {
  background: linear-gradient(180deg, var(--paper) 0%, #faf9f7 100%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: clamp(32px, 4.5vw, 60px);
  padding-block: clamp(36px, 5.5vw, 68px);
}

.hero-copy-new .eyebrow {
  margin-bottom: 18px;
}

.hero-copy-new h1 {
  font-size: clamp(2.15rem, 3.8vw + 0.8rem, 3.85rem);
  margin-bottom: 18px;
}

.hero-copy-new p {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(1rem, 0.96rem + 0.22vw, 1.08rem);
}

.hero-copy-new .hero-tagline {
  font-size: clamp(1.18rem, 1.05rem + 0.45vw, 1.4rem);
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 16px;
}

.hero-visual {
  margin: 0;
  min-width: 0;
}

.hero-visual img {
  width: 100%;
  height: clamp(320px, 40vw, 530px);
  object-fit: cover;
  object-position: 45% 50%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.hero-visual figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 12px;
}

.hero-note {
  display: flex;
  gap: 16px 24px;
  flex-wrap: wrap;
  margin-top: 26px;
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-note span {
  border-left: 2px solid var(--accent);
  padding-left: 12px;
  font-weight: 500;
}

/* Softened, Elegant Buttons */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
  padding: 13px 24px;
  font-size: clamp(0.9rem, 0.87rem + 0.12vw, 0.95rem);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  border-radius: var(--radius-sm);
  box-shadow: 0 3px 12px rgba(44, 62, 79, 0.14);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease;
}

.button:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(44, 62, 79, 0.2);
}

.button:active {
  transform: translateY(0);
}

.outline {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  border-color: var(--line-strong);
  box-shadow: none;
}

.outline:hover {
  background: var(--surface);
  border-color: var(--accent);
  color: var(--accent-hover);
  box-shadow: var(--shadow-sm);
}

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  font-size: 0.9375rem;
  font-weight: 650;
  color: var(--accent);
  border-bottom: 1.5px solid var(--accent-border);
  padding-block: 4px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.textlink:hover {
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* Section Intros & Product Cards */
.section-intro {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 12px 56px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.section-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 4px;
}

.section-intro h2,
.section-intro p {
  margin-bottom: 0;
}

.section-intro p {
  align-self: center;
  max-width: 540px;
  color: var(--muted);
}

.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.product {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  min-width: 0;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.product:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-border);
}

.product img {
  width: 100%;
  height: 256px;
  object-fit: cover;
}

.product > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: clamp(22px, 2.5vw, 30px);
}

.product .eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  min-height: 24px;
  margin-bottom: 10px;
}

.product h3 {
  font-size: clamp(1.3rem, 1.15rem + 0.4vw, 1.55rem);
  margin-bottom: 12px;
}

.product p {
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 20px;
}

.product .textlink {
  margin-top: auto;
}

/* Dark Section */
.dark {
  background: var(--ink);
  color: #ffffff;
}

.dark h2,
.dark h3 {
  color: #ffffff;
}

.dark .eyebrow {
  color: #9ec0db;
}

.dark p {
  color: #cfd5dd;
}

.dark .textlink {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.dark .textlink:hover {
  color: #9ec0db;
  border-color: #9ec0db;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3.5vw, 40px);
  margin: 40px 0 30px;
}

.benefits span {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #9ec0db;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  margin-bottom: 20px;
}

.benefits p {
  font-size: 0.96rem;
}

/* Split & Steps */
.split {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
}

.split img {
  width: 100%;
  height: clamp(300px, 34vw, 440px);
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.split p {
  color: var(--muted);
}

.tinted {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 36px);
  margin: 36px 0 0;
}

.steps li {
  counter-increment: step;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(22px, 2.5vw, 28px);
  box-shadow: var(--shadow-sm);
}

.steps li::before {
  content: '0' counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 16px;
}

.steps h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.steps p {
  color: var(--muted);
  font-size: 0.96rem;
}

/* Call to Action Banner */
.cta {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  padding: clamp(28px, 4vw, 48px);
  margin-bottom: var(--space);
  box-shadow: var(--shadow-sm);
}

.cta-revised {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 36px;
}

.cta h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.35rem);
  margin-bottom: 10px;
}

.cta .eyebrow {
  margin-bottom: 10px;
}

.cta p {
  color: var(--muted);
  max-width: 680px;
}

.cta-revised .button {
  flex-shrink: 0;
}

/* Page Titles & Prose */
.page-title {
  padding-top: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(28px, 3.5vw, 40px);
}

.page-title h1 {
  font-size: clamp(1.95rem, 3.8vw + 0.6rem, 3.65rem);
  max-width: 1050px;
}

.breadcrumb {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

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

.prose {
  max-width: 840px;
}

.prose h2 {
  font-size: clamp(1.45rem, 2vw + 0.6rem, 2rem);
  margin: 40px 0 18px;
}

.prose h3 {
  margin: 26px 0 12px;
  font-size: clamp(1.2rem, 1.5vw + 0.5rem, 1.45rem);
}

.prose p {
  color: #4a515c;
}

.prose a:not(.button) {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.page-images,
.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}

.page-images img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.gallery figure {
  margin: 0;
}

.gallery img {
  height: 300px;
  object-fit: cover;
  width: 100%;
  border-radius: var(--radius-md);
}

.gallery figcaption {
  font-size: 0.84rem;
  padding-top: 10px;
  color: var(--muted);
}

/* Product Details & Service Grid */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(32px, 4.5vw, 64px);
  align-items: center;
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
  scroll-margin-top: 110px;
}

.product-detail img {
  width: 100%;
  height: clamp(280px, 32vw, 390px);
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.product-detail p {
  color: var(--muted);
}

.product-detail h2 {
  font-size: clamp(1.6rem, 2.2vw + 0.6rem, 2.25rem);
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 22px 0;
}

.check-list li {
  border-top: 1px solid var(--line);
  padding: 11px 0 11px 24px;
  position: relative;
  color: var(--muted);
  font-size: 0.96rem;
}

.check-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

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

.service-card {
  padding: clamp(22px, 2.5vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.service-card .eyebrow {
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.35vw, 1.45rem);
}

.service-card p {
  color: var(--muted);
  font-size: 0.96rem;
}

.info-panel {
  padding: clamp(24px, 3vw, 34px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
  margin-top: 36px;
}

.info-panel h2 {
  font-size: clamp(1.4rem, 1.8vw + 0.6rem, 1.75rem);
}

.info-panel p {
  color: var(--muted);
}

.related-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.related-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(18px, 2.2vw, 24px) clamp(20px, 2.5vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  font-weight: 600;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.related-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* FAQ Layout */
.faq-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.faq-intro p {
  color: var(--muted);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  min-height: 56px;
  padding: 20px 40px 20px 0;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  font-weight: 600;
  line-height: 1.48;
  transition: color 0.18s ease;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 16px;
  font-weight: 400;
  font-size: 24px;
  color: var(--accent);
}

.faq-list details[open] summary::after {
  content: '−';
}

.faq-list details[open] summary {
  color: var(--accent);
}

.faq-answer {
  padding: 0 28px 22px 0;
  color: var(--muted);
  max-width: 820px;
}

.faq-answer a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.faq-group {
  margin-bottom: 52px;
  scroll-margin-top: 110px;
}

.faq-group h2 {
  font-size: clamp(1.45rem, 1.8vw + 0.6rem, 1.85rem);
  margin-bottom: 24px;
}

.faq-group:last-child {
  margin-bottom: 0;
}

.topic-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.topic-links a {
  padding: 10px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.topic-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Contact Grid & Forms */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 68px);
  align-items: start;
  padding-top: 20px;
}

.contact-details {
  background: var(--paper);
  padding: clamp(24px, 3.2vw, 36px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: var(--radius-md);
}

.contact-details h2,
.contact-grid form h2 {
  font-size: clamp(1.45rem, 1.8vw + 0.5rem, 1.85rem);
}

.contact-details a {
  overflow-wrap: anywhere;
}

.contact-grid form > p {
  color: var(--muted);
  font-size: 0.96rem;
}

input, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  border-radius: var(--radius-sm);
  min-height: 48px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

textarea {
  resize: vertical;
}

input:hover, textarea:hover {
  border-color: var(--accent);
}

input:focus, textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(61, 82, 101, 0.12);
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 18px 0 7px;
}

form .button {
  margin-top: 24px;
}

.form-help {
  font-size: 0.82rem !important;
  margin-top: 14px;
  color: var(--muted);
}

/* Footer */
footer {
  background: #16191e;
  color: #cfd4dc;
  font-size: 0.9rem;
  padding: clamp(48px, 6vw, 68px) 0 92px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.35fr;
  gap: clamp(28px, 4vw, 48px);
}

.footer-grid > div {
  min-width: 0;
}

footer b, footer strong {
  display: block;
  color: #ffffff;
  margin-bottom: 14px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

footer a {
  overflow-wrap: anywhere;
}

footer a:hover {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

footer p {
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  gap: 10px 22px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 36px;
  padding-top: 24px;
  font-size: 0.82rem;
}

.footer-bottom {
  font-size: 0.78rem;
  margin-top: 24px;
  color: #98a1ae;
}

.skip {
  position: absolute;
  left: 20px;
  top: -100px;
  background: var(--surface);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  z-index: 100;
}

.skip:focus {
  top: 12px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* Floating Chat Widget */
#chat-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 40;
  background: linear-gradient(135deg, #3d5265 0%, #2c3e4f 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 12px 22px;
  min-height: 48px;
  box-shadow: 0 10px 28px -4px rgba(24, 28, 34, 0.35);
  font-size: 0.9rem;
  font-weight: 650;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

#chat-toggle::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: chatPulse 2s infinite ease-in-out;
}

@keyframes chatPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

#chat-toggle:hover {
  background: linear-gradient(135deg, #475f75 0%, #34485c 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -4px rgba(24, 28, 34, 0.45);
}

#chat {
  position: fixed;
  right: 24px;
  bottom: 84px;
  width: 390px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 110px);
  overflow: auto;
  z-index: 41;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.chat-head {
  background: var(--ink);
  color: #ffffff;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-head button {
  border: 0;
  background: none;
  color: #ffffff;
  font-size: 24px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-sm);
}

.chat-note {
  font-size: 0.76rem;
  line-height: 1.5;
  padding: 10px 16px;
  margin: 0;
  color: var(--muted);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

#chat-log {
  max-height: 260px;
  min-height: 100px;
  overflow: auto;
  padding: 12px 16px;
  font-size: 0.88rem;
}

.bot, .user {
  background: var(--paper);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  white-space: pre-wrap;
  margin-bottom: 10px;
}

.user {
  background: var(--accent-soft);
  color: var(--ink);
  border: 1px solid var(--accent-border);
  margin-left: 28px;
}

.quick {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px 16px;
}

.quick button {
  font-size: 0.78rem;
  min-height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 7px 12px;
  font-weight: 500;
}

.quick button:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

#chat-form {
  display: flex;
  border-top: 1px solid var(--line);
  padding: 12px;
  gap: 8px;
}

#chat-form input {
  font-size: 0.9rem;
  min-width: 0;
}

#chat-form button {
  color: #ffffff;
  background: var(--accent);
  border: 0;
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  min-width: 46px;
  font-weight: 600;
}

#chat-form button:hover {
  background: var(--accent-hover);
}

[hidden] {
  display: none !important;
}

.faq-shortcut {
  display: block;
  width: 100%;
  font-size: 0.78rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-top: 4px;
  color: var(--muted);
}

.faq-shortcut:hover {
  color: var(--accent);
}

/* SEO-Ratgeber: eigenständige statische Seiten */
.seo-intro {
  max-width: 980px;
}

.seo-intro h1 {
  max-width: 850px;
  line-height: 1.14;
}

.seo-intro > p {
  max-width: 740px;
  font-size: clamp(1.02rem, 0.98rem + 0.25vw, 1.125rem);
  line-height: 1.7;
  color: var(--muted);
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.seo-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: clamp(1.2rem, 2.2vw, 1.65rem);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.seo-card h2 {
  font-size: clamp(1.2rem, 1.1rem + 0.3vw, 1.35rem);
  margin: 0 0 0.65rem;
}

.seo-card p {
  margin: 0;
  line-height: 1.65;
  color: var(--muted);
}

.seo-faq {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}

.seo-faq summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 1.02rem;
}

.seo-faq p {
  max-width: 760px;
  line-height: 1.68;
  color: var(--muted);
  margin-top: 10px;
}

.seo-related {
  border-top: 1px solid var(--line);
}

.seo-related h2 {
  font-size: clamp(1.35rem, 1.2rem + 0.4vw, 1.6rem);
}

.seo-related p {
  max-width: 800px;
  line-height: 1.7;
  color: var(--muted);
}

.seo-related a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
}

/* Tablet & Small Laptop Breakpoint (max-width: 1120px) */
@media (max-width: 1120px) {
  .logo img {
    width: 182px;
    height: 62px;
  }
  .hero-grid {
    gap: 36px;
  }
  .product-detail,
  .split,
  .faq-layout {
    gap: 40px;
  }
}

/* Tablet & Mobile Navigation Drawer Breakpoint (max-width: 960px) */
@media (max-width: 960px) {
  html {
    scroll-padding-top: 86px;
  }
  .header-inner {
    min-height: 74px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .logo img {
    width: 162px;
    height: 54px;
  }
  #menu-toggle {
    display: inline-flex;
  }
  #nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 12px;
    margin-bottom: 14px;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }
  #nav.open {
    display: flex;
    animation: navSlideDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  }
  #nav a {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.98rem;
  }
  #nav a:not(.nav-contact)::after {
    display: none;
  }
  #nav a:not(.nav-contact):hover,
  #nav a:not(.nav-contact)[aria-current="page"] {
    background: var(--accent-soft);
    color: var(--accent);
  }
  #nav a.nav-contact {
    margin-top: 6px;
    text-align: center;
    justify-content: center;
  }
  .nav-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
  }
  .nav-dropdown-menu {
    display: none;
    position: static;
    box-shadow: none;
    border: none;
    background: rgba(61, 82, 101, 0.05);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    grid-template-columns: 1fr;
    gap: 4px;
    margin-top: 4px;
    margin-bottom: 6px;
  }
  .nav-dropdown.active .nav-dropdown-menu {
    display: flex;
    flex-direction: column;
  }
  .dropdown-col-highlight {
    background: transparent;
    padding: 0;
    border: none;
  }
  .nav-download {
    text-align: center;
    justify-content: center;
    margin-top: 4px;
  }
  .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  .section-intro {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@keyframes navSlideDown {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile & Phablet Breakpoint (max-width: 740px) */
@media (max-width: 740px) {
  .logo img {
    width: 146px;
    height: 49px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    padding-block: 32px 40px;
    gap: 28px;
  }
  .hero-copy-new p {
    max-width: none;
  }
  .hero-visual img {
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .split,
  .faq-layout,
  .contact-grid,
  .product-detail,
  .benefits,
  .steps,
  .footer-grid,
  .related-links,
  .seo-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .products,
  .service-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .product img {
    height: 230px;
  }
  .split img,
  .product-detail img {
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .cta-revised {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .cta-revised .button {
    width: 100%;
  }
  .gallery,
  .page-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .gallery img,
  .page-images img {
    height: 220px;
  }
}

/* Compact Smartphone Breakpoint (max-width: 480px) */
@media (max-width: 480px) {
  .header-inner {
    min-height: 64px;
  }
  .logo img {
    width: 132px;
    height: 44px;
  }
  .topbar {
    font-size: 0.72rem;
    padding: 7px 0;
  }
  .topbar-copy {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .hero-copy-new .actions,
  .actions {
    flex-direction: column;
    align-items: stretch;
  }
  .actions .button {
    width: 100%;
  }
  .hero-note {
    gap: 10px;
    flex-direction: column;
  }
  .gallery,
  .page-images {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .gallery img {
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .page-images img {
    height: 240px;
  }
  #chat-toggle {
    right: 14px;
    bottom: 14px;
  }
  #chat {
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
    bottom: 76px;
  }
  .quick button {
    flex: 1 1 calc(50% - 8px);
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
