:root {
  --navy: #0e1a2f;
  --navy-soft: #162642;
  --navy-deep: #081225;
  --ink: #172033;
  --muted: #6f7785;
  --line: #e7e9ee;
  --paper: #ffffff;
  --mist: #f5f6f8;
  --gold: #c5a46d;
  --gold-soft: #eadfc9;
  --shadow: 0 24px 70px rgba(14, 26, 47, 0.14);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(231, 233, 238, 0.72);
  backdrop-filter: blur(18px);
  transition: box-shadow 0.25s ease, padding 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  padding-block: 10px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 40px rgba(14, 26, 47, 0.1);
}

.brand img {
  width: clamp(124px, 13vw, 178px);
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.7vw, 26px);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.main-nav a {
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s ease;
}

.main-nav a:not(.mail-button)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.22s ease;
}

.main-nav a:hover {
  color: var(--gold);
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mail-button,
.primary-cta,
.secondary-cta,
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 12px 28px rgba(14, 26, 47, 0.2);
}

.mail-button:hover,
.primary-cta:hover,
.form-submit:hover {
  color: #fff;
  transform: translateY(-2px);
  background: #111f38;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--navy);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 150px clamp(20px, 5vw, 72px) 72px;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(7, 15, 29, 0.84), rgba(7, 15, 29, 0.46) 48%, rgba(7, 15, 29, 0.8)),
    url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?auto=format&fit=crop&w=2200&q=82") center/cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 32%;
  background: linear-gradient(0deg, rgba(14, 26, 47, 0.78), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1160px, 100%);
  animation: riseIn 0.8s ease both;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--gold);
}

.hero h1,
.section-intro h2,
.section-copy h2,
.seller-copy h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 840px;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
}

.hero-copy {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
}

.hero-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 980px;
  margin: 46px 0 32px;
}

.service-card {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  backdrop-filter: blur(12px);
  transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(234, 223, 201, 0.46);
}

.service-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(234, 223, 201, 0.14);
  color: var(--gold-soft);
}

.service-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h2 {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-cta {
  min-width: 178px;
  background: var(--gold-soft);
  color: var(--navy);
  font-weight: 700;
  transition: transform 0.24s ease, background 0.24s ease;
}

.primary-cta:hover {
  background: #fff;
  color: var(--navy);
}

.secondary-cta {
  min-width: 158px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-weight: 700;
  box-shadow: none;
  backdrop-filter: blur(12px);
  transition: transform 0.24s ease, background 0.24s ease, border-color 0.24s ease;
}

.secondary-cta:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(234, 223, 201, 0.5);
}

.section-pad {
  padding: clamp(82px, 10vw, 132px) clamp(20px, 5vw, 72px);
}

.positioning-section {
  background: #fff;
}

.split-layout {
  max-width: 860px;
  margin: 0 auto;
}

.section-copy h2,
.seller-copy h2 {
  color: var(--navy);
  font-size: clamp(2.3rem, 5vw, 5rem);
}

.section-copy p:last-child,
.seller-copy p {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.detail-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 14px 40px rgba(14, 26, 47, 0.06);
}

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

.services-section,
.request-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(197, 164, 109, 0.12), transparent 26%),
    var(--mist);
}

.section-intro {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-intro h2 {
  color: var(--navy);
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}

.section-intro p:last-child {
  margin: 18px auto 0;
  max-width: 650px;
  color: var(--muted);
  font-size: 1.08rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.detail-card h3 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: 1.1rem;
}

.detail-card p {
  margin: 0;
}

.seller-section {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(8, 18, 37, 0.98), rgba(18, 34, 59, 0.96)),
    var(--navy-deep);
}

.seller-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.75fr);
  gap: clamp(28px, 6vw, 72px);
  max-width: 1160px;
  margin: 0 auto;
  align-items: center;
}

.seller-copy h2 {
  color: #fff;
}

.seller-copy p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.78);
}

.seller-copy .note {
  display: inline-flex;
  margin-top: 26px;
  padding: 12px 16px;
  border: 1px solid rgba(234, 223, 201, 0.28);
  border-radius: 999px;
  color: var(--gold-soft);
  background: rgba(255, 255, 255, 0.08);
}

.seller-list {
  display: grid;
  gap: 12px;
}

.seller-list div,
.partner-grid span {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.partner-section {
  background: #fff;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  max-width: 1060px;
  margin: 0 auto;
}

.partner-grid span {
  border-color: var(--line);
  color: var(--navy);
  background: #fff;
  box-shadow: 0 12px 34px rgba(14, 26, 47, 0.06);
  font-weight: 700;
  text-align: center;
}

.partner-feature {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  max-width: 1060px;
  margin: 26px auto 0;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(245, 246, 248, 0.96)),
    #fff;
  box-shadow: 0 18px 50px rgba(14, 26, 47, 0.08);
}

.partner-logo-link {
  display: grid;
  place-items: center;
  min-height: 104px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(14, 26, 47, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.partner-logo-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(14, 26, 47, 0.1);
}

.partner-logo-link img {
  max-width: 190px;
  max-height: 62px;
  object-fit: contain;
}

.partner-feature .eyebrow {
  margin-bottom: 10px;
}

.partner-feature h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
}

.partner-feature p:last-child {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.partner-button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  color: #fff;
  background: var(--navy);
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(14, 26, 47, 0.16);
  transition: transform 0.2s ease, background 0.2s ease;
}

.partner-button:hover {
  transform: translateY(-2px);
  background: var(--navy-soft);
}

.contact-request-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 246, 248, 0.98)),
    var(--mist);
}

.contact-request-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: clamp(34px, 7vw, 88px);
  max-width: 1160px;
  margin: 0 auto;
  align-items: start;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(231, 233, 238, 0.95);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row-full {
  grid-column: 1 / -1;
}

.contact-form label {
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 148px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(197, 164, 109, 0.75);
  box-shadow: 0 0 0 4px rgba(197, 164, 109, 0.14);
}

.form-submit {
  width: fit-content;
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

.form-note {
  align-self: center;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.request-section {
  padding: clamp(82px, 10vw, 132px) clamp(20px, 5vw, 72px);
}

.form-shell {
  position: relative;
  width: min(1120px, 100%);
  min-height: 720px;
  margin: 0 auto;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(231, 233, 238, 0.9);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  overflow: hidden;
}

#proIframeWrapper {
  position: relative !important;
  width: 100% !important;
  min-height: 680px;
  border-radius: 18px;
  background: #fff;
}

#proIframe {
  min-height: 680px;
}

.crm-direct-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 18px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--navy);
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(14, 26, 47, 0.16);
  transition: transform 0.2s ease, background 0.2s ease;
}

.crm-direct-link:hover {
  transform: translateY(-2px);
  background: var(--navy-soft);
}

.site-footer {
  padding: 72px clamp(20px, 5vw, 72px) 56px;
  color: rgba(255, 255, 255, 0.78);
  background:
    linear-gradient(135deg, rgba(14, 26, 47, 0.98), rgba(22, 38, 66, 0.97)),
    var(--navy);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 1.1fr 0.75fr;
  gap: clamp(34px, 7vw, 96px);
  max-width: 1160px;
  margin: 0 auto;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 0.94rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-footer .footer-brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.65rem;
  letter-spacing: 0;
  text-transform: none;
}

.site-footer p,
.site-footer address {
  margin: 0;
  font-style: normal;
}

.site-footer a {
  display: inline-block;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-footer a:hover {
  color: var(--gold-soft);
  transform: translateX(2px);
}

.site-footer div:last-child a {
  display: block;
  margin-bottom: 10px;
}

.imprint-panel,
.privacy-panel {
  max-width: 1160px;
  margin: 52px auto 0;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
}

.privacy-panel {
  margin-top: 24px;
}

.imprint-panel h2,
.privacy-panel h2 {
  margin-bottom: 12px;
}

.privacy-panel h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 0.98rem;
}

.privacy-block {
  padding-top: 22px;
  margin-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-block:first-of-type {
  margin-top: 18px;
}

.privacy-panel p {
  max-width: 940px;
}

.imprint-panel p + p {
  margin-top: 8px;
}

.privacy-block p {
  margin: 0;
}

.privacy-block p + p {
  margin-top: 10px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .main-nav {
    gap: 14px;
    font-size: 0.82rem;
  }

  .mail-button {
    padding-inline: 16px;
  }

  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    display: grid;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 14px;
  }

  .mail-button {
    margin-top: 8px;
  }

  .seller-panel,
  .contact-request-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .partner-feature {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand img {
    width: 128px;
  }

  .hero {
    min-height: auto;
    padding: 128px 18px 54px;
  }

  .hero h1 {
    font-size: clamp(2.9rem, 16vw, 4.4rem);
  }

  .hero-services,
  .detail-grid,
  .partner-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .form-row-full {
    grid-column: auto;
  }

  .hero-services {
    margin-top: 36px;
  }

  .service-card {
    min-height: 118px;
  }

  .section-pad,
  .request-section {
    padding-inline: 16px;
  }

  .form-shell {
    min-height: 760px;
    padding: 10px;
    border-radius: 18px;
  }

  #proIframeWrapper,
  #proIframe {
    min-height: 740px;
  }
}
