:root {
  --ink: #111113;
  --muted: #625c66;
  --paper: #f7f6f8;
  --surface: #ffffff;
  --line: #e5e0e8;
  --accent: #7f4b8f;
  --accent-dark: #5d346d;
  --gold: #b693c3;
  --clay: #7f4b8f;
  --shadow: 0 20px 50px rgba(17, 17, 19, 0.12);
}

* {
  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;
}

.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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(247, 246, 248, 0.92);
  border-bottom: 1px solid rgba(229, 224, 232, 0.85);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  max-width: min(300px, 58vw);
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 290px;
  max-width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--accent-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.48fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: stretch;
  min-height: calc(100vh - 72px);
  padding: clamp(54px, 8vw, 112px) clamp(18px, 4vw, 56px) 40px;
  background:
    linear-gradient(135deg, rgba(127, 75, 143, 0.16), rgba(17, 17, 19, 0.08)),
    var(--paper);
}

.hero::before {
  position: absolute;
  inset: 0;
  width: 100%;
  background:
    linear-gradient(90deg, rgba(247, 246, 248, 1) 0%, rgba(247, 246, 248, 0.88) 20%, rgba(247, 246, 248, 0.38) 48%, rgba(247, 246, 248, 0.08) 100%),
    url("assets/hero-bridge.png");
  background-position: center, 18% 28%;
  background-size: cover, 122% auto;
  background-repeat: no-repeat, no-repeat;
  content: "";
  opacity: 0.94;
  pointer-events: none;
  will-change: background-position;
  animation: hero-backdrop-drift 10s ease-in-out infinite alternate;
}

.hero::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 246, 248, 0.97) 0%, rgba(247, 246, 248, 0.92) 28%, rgba(247, 246, 248, 0.66) 50%, rgba(247, 246, 248, 0.34) 70%, rgba(247, 246, 248, 0.16) 100%);
  content: "";
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  align-self: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.35;
  text-transform: none;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6.9rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions,
.hero-actions .button {
  margin-top: 28px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: #ffffff;
  background: var(--accent);
}

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  background: transparent;
  border-color: var(--ink);
}

.hero-panel {
  position: relative;
  z-index: 1;
  align-self: end;
  display: grid;
  gap: 14px;
}

.hero-panel div {
  min-height: 116px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.metric {
  display: block;
  margin-bottom: 8px;
  color: var(--clay);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

@media (min-width: 861px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(270px, 0.42fr);
    gap: clamp(32px, 6vw, 96px);
    min-height: min(820px, calc(100vh - 72px));
    padding-top: clamp(44px, 6.4vw, 86px);
    padding-bottom: 34px;
  }

  .hero::before {
    background-position: center, 14% 28%;
    opacity: 0.9;
  }

  .hero::after {
    background: linear-gradient(90deg, rgba(247, 246, 248, 0.975) 0%, rgba(247, 246, 248, 0.93) 30%, rgba(247, 246, 248, 0.68) 54%, rgba(247, 246, 248, 0.36) 74%, rgba(247, 246, 248, 0.14) 100%);
  }

  .hero-content {
    max-width: 760px;
  }

  .hero h1 {
    max-width: 11.5ch;
    font-size: clamp(4.6rem, 6.3vw, 5.95rem);
    line-height: 0.98;
  }

  .hero .eyebrow {
    max-width: 720px;
    margin-bottom: 16px;
    font-size: clamp(1rem, 1.05vw, 1.12rem);
  }

  .hero-copy {
    max-width: 640px;
    margin-top: 22px;
    font-size: clamp(1.06rem, 1.28vw, 1.2rem);
    line-height: 1.55;
  }

  .hero-panel {
    max-width: 420px;
  }

  .hero-panel div {
    min-height: 102px;
    padding: 19px 22px;
  }
}

@media (min-width: 1500px) {
  body {
    font-size: 19px;
  }

  .site-nav {
    font-size: 1.06rem;
    gap: 26px;
  }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.43fr);
    padding-top: clamp(48px, 5.8vw, 96px);
  }

  .hero::before {
    background-position: center, 10% 28%;
    opacity: 0.96;
  }

  .hero-content {
    max-width: 860px;
  }

  .hero h1 {
    max-width: 11.6ch;
    font-size: clamp(6.45rem, 5.7vw, 7.05rem);
  }

  .hero .eyebrow {
    max-width: 820px;
    font-size: 1.3rem;
    line-height: 1.35;
  }

  .hero-copy {
    max-width: 720px;
    font-size: 1.5rem;
    line-height: 1.6;
  }

  .button {
    min-height: 54px;
    padding: 14px 22px;
    font-size: 1.05rem;
  }

  .hero-panel {
    max-width: 470px;
  }

  .hero-panel div {
    min-height: 118px;
    padding: 24px 26px;
    font-size: 1.2rem;
  }

  .metric {
    font-size: 2.66rem;
  }

  .content-guide {
    grid-template-columns: minmax(300px, 0.4fr) minmax(0, 1fr);
    gap: 52px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .content-guide .eyebrow {
    font-size: 1.02rem;
  }

  .content-guide h2 {
    font-size: 3.72rem;
  }

  .guide-copy,
  .content-guide li {
    font-size: 1.34rem;
    line-height: 1.67;
  }

  .content-guide li {
    padding-left: 32px;
  }

  .content-guide li::before {
    width: 17px;
    height: 17px;
  }

  .content-guide {
    gap: 64px;
  }

  .section-heading {
    max-width: 880px;
    margin-bottom: 42px;
  }

  .section-heading .eyebrow {
    font-size: 1.04rem;
  }

  .section-heading h2 {
    font-size: clamp(3.85rem, 4vw, 4.7rem);
    line-height: 1.02;
  }

  .section-heading p:not(.eyebrow) {
    font-size: 1.36rem;
    line-height: 1.62;
    max-width: 860px;
  }

  .service-grid {
    gap: 22px;
  }

  .card {
    min-height: 278px;
    padding: 28px;
  }

  .card-number {
    font-size: 1.12rem;
  }

  .card h3 {
    font-size: 1.82rem;
    margin-bottom: 14px;
  }

  .card p {
    font-size: 1.24rem;
    line-height: 1.65;
  }

  .step {
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 24px;
  }

  .step span {
    width: 50px;
    height: 50px;
    font-size: 1.08rem;
  }

  .step h3 {
    font-size: 1.52rem;
  }

  .step p {
    font-size: 1.2rem;
    line-height: 1.62;
  }

  .about-copy p {
    font-size: 1.2rem;
    line-height: 1.65;
  }

  .proof-list li {
    font-size: 1.14rem;
    line-height: 1.58;
  }

  .track-record-heading p:not(.eyebrow) {
    font-size: 1.2rem;
    line-height: 1.62;
  }

  .track-record-grid article {
    padding: 24px;
  }

  .track-record-grid h3 {
    font-size: 1.45rem;
  }

  .track-record-grid p {
    font-size: 1.14rem;
    line-height: 1.58;
  }

  .logo-reel-eyebrow {
    font-size: 0.92rem;
  }

  label {
    font-size: 1.1rem;
  }

  input,
  textarea {
    font-size: 1.1rem;
  }

  .form-note {
    font-size: 1.07rem;
  }

  .legal-block summary {
    font-size: 1.05rem;
  }

  .legal-content,
  .legal-block p,
  .legal-list dd {
    font-size: 1.02rem;
    line-height: 1.62;
  }

  .legal-list dt {
    font-size: 0.98rem;
  }

  .site-footer,
  .site-footer a {
    font-size: 1.04rem;
  }
}

.content-guide,
.section,
.testimonial,
.site-footer {
  padding-right: clamp(18px, 4vw, 56px);
  padding-left: clamp(18px, 4vw, 56px);
}

.content-guide {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 28px;
  padding-top: 36px;
  padding-bottom: 36px;
  background: var(--ink);
  color: #ffffff;
}

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

.content-guide h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.guide-copy {
  max-width: 420px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.content-guide ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.82);
  list-style: none;
}

.content-guide li {
  position: relative;
  padding-left: 28px;
}

.content-guide li::before {
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 15px;
  height: 15px;
  background:
    linear-gradient(135deg, transparent 42%, #ffffff 43%, #ffffff 56%, transparent 57%),
    linear-gradient(135deg, var(--gold) 0 48%, var(--accent) 49% 100%);
  border-radius: 50%;
  content: "";
}

.section {
  padding-top: clamp(64px, 10vw, 110px);
  padding-bottom: clamp(64px, 10vw, 110px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow),
.about-copy p,
.card p,
.step p,
.form-note {
  color: var(--muted);
}

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

.card {
  min-height: 250px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.card-number {
  display: inline-block;
  margin-bottom: 36px;
  color: var(--accent-dark);
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 80px);
  background: #f0edf3;
}

.timeline {
  display: grid;
  gap: 18px;
}

.step {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.step span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #ffffff;
  background: var(--accent);
  border-radius: 8px;
  font-weight: 800;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 74px);
  align-items: center;
}

.about-photo {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 8px;
  background: var(--line);
}

.about-photo::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(127, 75, 143, 0.34), rgba(17, 17, 19, 0.24));
  content: "";
  pointer-events: none;
}

.about-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 34%;
}

.proof-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.about-linkedin {
  margin: 14px 0 0;
}

.about-linkedin a {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(127, 75, 143, 0.35);
}

.about-linkedin a:hover {
  color: var(--accent);
  border-bottom-color: rgba(127, 75, 143, 0.7);
}

.proof-list li {
  padding: 14px 16px;
  background: var(--surface);
  border-left: 4px solid var(--gold);
}

.testimonial {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 72px);
  padding-top: clamp(64px, 9vw, 96px);
  padding-bottom: clamp(64px, 9vw, 96px);
  color: #ffffff;
  background: var(--accent-dark);
}

.testimonial .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.track-record-heading {
  max-width: 680px;
}

.track-record-heading p:not(.eyebrow) {
  max-width: 560px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
}

.track-record-heading h2 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.track-record-grid {
  display: grid;
  gap: 14px;
}

.track-record-grid article {
  display: grid;
  gap: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}

.track-record-grid span {
  color: var(--gold);
  font-weight: 800;
}

.track-record-grid h3 {
  color: #ffffff;
}

.track-record-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.logo-reel-section {
  padding: 24px 0 26px;
  background: linear-gradient(180deg, #14131a 0%, #1b1725 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.logo-reel-eyebrow {
  width: min(100% - 48px, 1520px);
  margin: 0 0 14px;
  padding-left: clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.logo-reel {
  position: relative;
  overflow: hidden;
}

.logo-reel::before,
.logo-reel::after {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: clamp(42px, 10vw, 150px);
  content: "";
  pointer-events: none;
}

.logo-reel::before {
  left: 0;
  background: linear-gradient(90deg, var(--ink), rgba(17, 17, 19, 0));
}

.logo-reel::after {
  right: 0;
  background: linear-gradient(270deg, var(--ink), rgba(17, 17, 19, 0));
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: logo-scroll 58s linear infinite;
}

.logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 76px;
  padding: 14px 24px;
  color: #2f2642;
  background: #f1f1f4;
  border: 1px solid rgba(134, 111, 163, 0.42);
  border-radius: 8px;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(12, 10, 18, 0.28);
}

.logo-card img {
  display: block;
  max-width: 142px;
  max-height: 42px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) saturate(0) contrast(0.9);
  opacity: 0.92;
}

.logo-card.logo-card-brand img,
.logo-card.logo-card-dark img {
  filter: none;
  opacity: 1;
}

.logo-card.logo-card-brand img {
  max-width: 112px;
  max-height: 44px;
}

.logo-card.logo-card-dark {
  background: #0f1725;
  border-color: rgba(84, 113, 173, 0.5);
  padding: 8px 14px;
}

.logo-card.logo-card-dark img {
  max-width: 194px;
  max-height: 40px;
}

.logo-card.logo-card-nightingale img {
  filter: none;
  opacity: 1;
  max-width: 182px;
  max-height: 48px;
}

.logo-card.logo-card-emphasis img {
  filter: grayscale(1) saturate(0) contrast(0.95);
  opacity: 0.92;
  max-width: 166px;
  max-height: 50px;
  transform-origin: center;
}

.logo-card.logo-card-emphasis {
  overflow: hidden;
}

.logo-card.logo-card-henkel img {
  max-width: 138px;
  max-height: 52px;
  transform: scale(2.3);
}

.logo-card.logo-card-proximus img {
  max-width: 132px;
  max-height: 68px;
  transform: scale(0.9);
}

.logo-card.logo-card-brussels img {
  max-width: 172px;
  max-height: 46px;
  transform: scale(2.3);
}

.logo-card.logo-card-schwarzkopf img {
  max-width: 170px;
  max-height: 50px;
  transform: scale(2.35);
}

.logo-card.logo-card-mercedes img {
  max-width: 164px;
  max-height: 48px;
  transform: scale(1.22);
}

.logo-card.logo-card-yello img {
  max-width: 156px;
  max-height: 50px;
  transform: scale(1.3);
}

.logo-card.logo-card-lidl img {
  max-width: 152px;
  max-height: 52px;
  transform: scale(1.36);
}

.logo-card.logo-card-publicis img {
  max-width: 226px;
  max-height: 52px;
  transform: scale(1.06);
}

.logo-card.logo-card-publicis {
  min-width: 248px;
  min-height: 82px;
  padding: 12px 22px;
}

.logo-card.logo-card-customer img {
  filter: grayscale(1) saturate(0) contrast(0.95);
  opacity: 0.92;
  max-width: 154px;
  max-height: 52px;
  transform-origin: center;
}

.logo-card.logo-card-customer {
  overflow: hidden;
}

.logo-card.logo-card-vaillant img,
.logo-card.logo-card-gretsch-unitas img,
.logo-card.logo-card-mbs img {
  transform: scale(1.42);
}

.logo-card.logo-card-carl-roth img,
.logo-card.logo-card-draeger img,
.logo-card.logo-card-wacker img {
  transform: scale(1.18);
}

.logo-card.logo-card-wacker img {
  transform: scale(1.8);
}

.logo-card.logo-card-nato img,
.logo-card.logo-card-oneandone img,
.logo-card.logo-card-sika img {
  max-height: 58px;
  transform: scale(1.08);
}

.logo-card.logo-text {
  color: #4b3b66;
  font-size: 1.05rem;
}

.logo-reel:hover .logo-track {
  animation-play-state: paused;
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes hero-backdrop-drift {
  from {
    background-position: center, 32% 28%;
  }

  to {
    background-position: center, 0% 28%;
  }
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.78fr);
  gap: clamp(30px, 6vw, 70px);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

.human-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: #f7f6f8;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 700;
}

.human-check input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex: 0 0 auto;
}

input,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  border: 1px solid #d7d0dc;
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

input:focus,
textarea:focus,
.button:focus-visible,
.nav-toggle:focus-visible {
  outline: 3px solid rgba(127, 75, 143, 0.28);
  outline-offset: 2px;
}

.form-note {
  margin: 0;
  font-size: 0.95rem;
}

.form-note a {
  color: var(--accent-dark);
  font-weight: 800;
}

.legal-section {
  display: grid;
  gap: 12px;
  padding-top: 30px;
  padding-bottom: 30px;
  background: var(--paper);
}

.legal-block {
  max-width: 980px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.legal-block summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 56px;
  padding: 16px 18px;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.legal-block summary::-webkit-details-marker {
  display: none;
}

.legal-block summary::after {
  color: var(--accent);
  content: "+";
  font-size: 1.4rem;
  line-height: 1;
}

.legal-block[open] summary::after {
  content: "-";
}

.legal-content {
  display: grid;
  gap: 16px;
  padding: 0 18px 18px;
  border-top: 1px solid var(--line);
}

.legal-block p {
  margin: 0;
  color: var(--muted);
}

.legal-block a {
  color: var(--accent-dark);
  font-weight: 800;
}

.legal-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
}

.legal-list div {
  display: grid;
  grid-template-columns: minmax(140px, 0.35fr) minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.legal-list dt {
  color: var(--muted);
  font-weight: 800;
}

.legal-list dd {
  margin: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding-top: 26px;
  padding-bottom: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer a,
.footer-links a {
  font-weight: 800;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

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

  .site-nav {
    position: absolute;
    top: 72px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .hero,
  .content-guide,
  .split-section,
  .about-section,
  .contact-section,
  .testimonial {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    width: 100%;
    opacity: 0.22;
    animation: none;
  }

  .hero::after {
    background: rgba(247, 246, 248, 0.88);
  }

  .hero-panel {
    align-self: stretch;
  }

  .service-grid,
  .content-guide ul {
    grid-template-columns: 1fr;
  }

  .about-photo {
    max-width: 460px;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 66px;
  }

  .brand {
    max-width: 210px;
  }

  .brand-logo {
    width: 220px;
  }

  h1 {
    max-width: 10ch;
    font-size: 3rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
  }
}
