/* ============================================================
   Kanzlei Hübner — gemeinsames Stylesheet
   Wird von index.html, impressum.html und datenschutz.html geladen.
============================================================ */

/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  --dark:        #1a1118;
  --dark-mid:    #241620;
  --bg:          #faf8f6;
  --cream:       #f3ede8;
  --white:       #ffffff;
  --mauve:       #8b5e78;
  --mauve-dark:  #6d4a5f;
  --mauve-light: #c4a0b4;
  --gold:        #c8a96e;
  --gold-light:  #e2cc9a;
  --text:        #1c1a20;
  --muted:       #6b6475;
  --text-d:      #ede6ea;
  --muted-d:     #9e8fa0;
  --line:        #e5deda;
  --line-d:      rgba(255,255,255,.1);

  --shadow-sm:  0 2px 8px  rgba(26,17,24,.06);
  --shadow-md:  0 8px 24px rgba(26,17,24,.10);
  --shadow-lg:  0 20px 50px rgba(26,17,24,.15);

  --serif: Georgia, Cambria, "Times New Roman", serif;
  --sans:  ui-sans-serif, system-ui, "Helvetica Neue", Arial, sans-serif;

  --t-xs:   11px;
  --t-sm:   13px;
  --t-base: 16px;
  --t-md:   18px;
  --t-lg:   21px;
  --t-xl:   26px;
  --t-2xl:  34px;
  --t-hero: clamp(38px, 5vw, 68px);

  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;

  --container:        1160px;
  --container-narrow: 760px;
  --ease: cubic-bezier(.16,1,.3,1);
  --dur:  200ms;
}

/* Dark sections */
[data-theme="dark"],
[data-theme="dark-mid"] {
  color: var(--text-d);
  --line: var(--line-d);
}
[data-theme="dark"]     { background-color: var(--dark); }
[data-theme="dark-mid"] { background-color: var(--dark-mid); }
[data-bg="cream"]       { background-color: var(--cream); }

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: var(--t-base);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--mauve); outline-offset: 3px; }

/* ============================================================
   LAYOUT
============================================================ */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
.container-narrow {
  max-width: var(--container-narrow);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ============================================================
   REVEAL ANIMATIONS
============================================================ */
.reveal, .reveal-item {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}
.reveal.visible, .reveal-item.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-item { opacity:1; transform:none; transition:none; }
}

/* ============================================================
   SKIP LINK
============================================================ */
.skip-link {
  position: absolute; left: -9999px; top: auto; z-index: 200;
}
.skip-link:focus {
  left: 16px; top: 16px;
  background: var(--mauve); color: #fff;
  padding: 8px 14px; border-radius: var(--r-sm);
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; border: none;
  font-family: var(--sans); font-size: var(--t-sm); font-weight: 700;
  letter-spacing: .03em; cursor: pointer; white-space: nowrap;
  transition: background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform 120ms var(--ease);
  text-decoration: none;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--mauve); color: #fff;
  box-shadow: 0 4px 16px rgba(139,94,120,.3);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--mauve-dark);
  box-shadow: 0 6px 22px rgba(139,94,120,.4);
}
.btn-ghost {
  background: transparent; color: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.28);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.07);
}
.btn-outline {
  background: transparent; color: var(--mauve);
  border: 1.5px solid var(--mauve);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--mauve); color: #fff;
}

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(250,248,246,.95);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 20px rgba(26,17,24,.06);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 14px; gap: 16px;
}

/* Brand / Logo */
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo {
  height: 38px; width: auto;
  filter: brightness(0) invert(1); /* white on dark hero */
  transition: filter var(--dur) var(--ease);
}
.site-header.scrolled .brand-logo { filter: none; }

/* Desktop nav */
.desktop-nav {
  display: flex; align-items: center; gap: 2px;
}
.desktop-nav a:not(.btn) {
  padding: 9px 15px; border-radius: var(--r-sm);
  font-size: var(--t-sm); font-weight: 600;
  color: rgba(255,255,255,.85);
  transition: background var(--dur), color var(--dur);
}
.desktop-nav a:not(.btn):hover { background: rgba(255,255,255,.1); }
.desktop-nav a:not(.btn).active { color: var(--gold); }
.site-header.scrolled .desktop-nav a:not(.btn) { color: var(--text); }
.site-header.scrolled .desktop-nav a:not(.btn):hover { background: var(--cream); }
.site-header.scrolled .desktop-nav a:not(.btn).active { color: var(--mauve); }
.nav-cta { margin-left: 8px; }
.site-header:not(.scrolled) .nav-cta {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.3);
  box-shadow: none;
}
.site-header:not(.scrolled) .nav-cta:hover { background: rgba(255,255,255,.2); }

/* Hamburger */
.hamburger {
  display: none; background: transparent;
  border: 1px solid rgba(255,255,255,.3); border-radius: var(--r-sm);
  padding: 10px 12px; color: rgba(255,255,255,.9);
  transition: background var(--dur), border-color var(--dur), color var(--dur);
}
.hamburger svg { display: block; }
.site-header.scrolled .hamburger {
  border-color: var(--line); color: var(--text);
}
.hamburger:hover { background: rgba(255,255,255,.1); }
.site-header.scrolled .hamburger:hover { background: var(--cream); }

/* Mobile menu */
.menu-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(26,17,24,.5); z-index: 98;
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.menu-backdrop.active { display: block; }
.mobile-menu {
  position: absolute; top: 100%; left: 0; right: 0;
  z-index: 99; background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 16px 24px 20px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu-inner {
  display: grid; gap: 4px;
}
.mobile-menu-inner a:not(.btn) {
  display: block; padding: 12px 16px; border-radius: var(--r-sm);
  font-weight: 600; color: var(--text);
  transition: background var(--dur);
}
.mobile-menu-inner a:not(.btn):hover { background: var(--cream); }
.mobile-menu-inner .btn {
  margin-top: 8px; width: 100%; justify-content: center;
}

/* ============================================================
   SECTION HEADER (shared)
============================================================ */
.s-head { margin-bottom: 52px; }
.s-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 14px;
  font-size: var(--t-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--mauve);
}
.s-eyebrow span {
  display: block; width: 28px; height: 2px;
  background: var(--gold); border-radius: 2px; flex-shrink: 0;
}
.s-head h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.2; color: var(--text); margin-bottom: 10px;
}
.s-head p { font-size: var(--t-base); color: var(--muted); }

/* ============================================================
   HERO
============================================================ */
.hero-section {
  position: relative;
  padding: 120px 0 100px;
  min-height: 85vh;
  display: flex; align-items: center;
  background: var(--dark);
  background-image: radial-gradient(ellipse 900px 700px at -5% -10%, #2e1525 0%, transparent 60%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 80px; align-items: center;
}

/* Hero copy */
.hero-eyebrow {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
  font-size: var(--t-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; color: var(--gold);
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 24px; height: 2px;
  background: var(--gold); flex-shrink: 0;
}
.hero-title {
  font-family: var(--serif);
  font-size: var(--t-hero);
  line-height: 1.08; margin-bottom: 22px;
  color: var(--white);
}
.hero-title .accent {
  display: block; color: var(--mauve-light);
}
.hero-lead {
  font-size: var(--t-md); line-height: 1.72;
  color: var(--muted-d); max-width: 500px; margin-bottom: 34px;
}
.hero-ctas {
  display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 32px;
}
.hero-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: var(--t-sm); color: var(--muted-d);
}
.hero-meta::before {
  content: ''; display: block;
  width: 18px; height: 1px; background: currentColor; flex-shrink: 0;
}

/* Hero portrait */
.hero-portrait-col {
  display: flex; justify-content: flex-end; align-items: center;
}
.hero-portrait-wrap {
  position: relative; width: 100%; max-width: 480px;
}
.hero-portrait-wrap::before {
  content: '';
  position: absolute; inset: -14px;
  border: 1px solid rgba(200,169,110,.35);
  border-radius: calc(var(--r-xl) + 8px);
  pointer-events: none; z-index: 0;
}
.hero-photo {
  position: relative; z-index: 1;
  width: 100%; height: auto;
  border-radius: var(--r-xl); display: block;
}
.portrait-badge {
  position: absolute; bottom: -16px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  background: rgba(26,17,24,.88);
  border: 1px solid rgba(200,169,110,.28);
  backdrop-filter: blur(12px);
  border-radius: 999px; padding: 8px 20px;
  font-size: var(--t-xs); font-weight: 700;
  color: var(--gold-light); letter-spacing: .09em; white-space: nowrap;
}

/* ============================================================
   TRUST STRIP
============================================================ */
.trust-strip { padding: 52px 0; }
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  list-style: none;
}
.trust-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 28px;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: none; }
.trust-icon { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.trust-label {
  font-size: var(--t-sm); font-weight: 700;
  color: var(--gold-light); letter-spacing: .03em;
  display: block; margin-bottom: 3px;
}
.trust-desc { font-size: var(--t-sm); color: var(--muted-d); display: block; }

/* ============================================================
   SERVICES
============================================================ */
.services-section { padding: 100px 0; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  position: relative; overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--mauve);
  border-radius: var(--r-md);
  padding: 28px 26px 26px;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-left-color var(--dur);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--gold);
}
.service-num {
  position: absolute; top: -8px; right: 18px;
  font-family: var(--serif); font-size: 88px; font-weight: 700;
  line-height: 1; color: var(--line); user-select: none; pointer-events: none;
  transition: color var(--dur);
}
.service-card:hover .service-num { color: #f0e8e5; }
.service-icon { color: var(--mauve); margin-bottom: 12px; position: relative; z-index: 1; }
.service-card h3 {
  font-size: var(--t-md); font-weight: 700;
  line-height: 1.3; margin-bottom: 8px;
  color: var(--text); position: relative; z-index: 1;
}
.service-card p {
  font-size: var(--t-sm); line-height: 1.65;
  color: var(--muted); position: relative; z-index: 1;
}

/* ============================================================
   ABOUT
============================================================ */
.about-section { padding: 100px 0; }
.about-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px; align-items: center;
}
.about-portrait-wrap {
  position: relative; max-width: 420px; margin: 0 auto;
}
.about-portrait-wrap::after {
  content: '';
  position: absolute; inset: 16px;
  background: var(--mauve); opacity: .13;
  border-radius: var(--r-xl); z-index: 0;
}
.about-photo {
  position: relative; z-index: 1;
  width: 100%; height: auto;
  border-radius: var(--r-xl); display: block;
}
.about-caption {
  text-align: center; margin-top: 14px;
  font-family: var(--serif); font-style: italic;
  font-size: var(--t-sm); color: var(--muted);
}
.about-copy { display: grid; gap: 18px; }
.about-eyebrow {
  font-size: var(--t-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--gold);
}
.about-copy h2 {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 36px);
  line-height: 1.2; color: var(--text);
}
.about-copy p { font-size: var(--t-base); line-height: 1.75; color: var(--muted); }
.expertise-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge {
  display: inline-block; padding: 5px 14px; border-radius: 999px;
  border: 1px solid rgba(139,94,120,.25);
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .04em;
  color: var(--mauve); background: rgba(139,94,120,.06);
}
.about-details {
  display: grid; gap: 8px;
  font-size: var(--t-sm); color: var(--muted);
}
.about-detail-row { display: flex; gap: 8px; align-items: baseline; }
.about-detail-row strong { color: var(--text); font-weight: 600; white-space: nowrap; }

/* ============================================================
   QUOTE BAND
============================================================ */
.quote-section { padding: 80px 0; }
.quote-wrap {
  position: relative; max-width: 720px;
  margin: 0 auto; text-align: center;
  padding: 0 20px;
}
.quote-mark {
  font-family: var(--serif); font-size: 120px; line-height: .8;
  color: var(--mauve); opacity: .4;
  display: block; margin-bottom: -20px;
  user-select: none; pointer-events: none;
}
.quote-wrap blockquote p {
  font-family: var(--serif); font-size: var(--t-lg); line-height: 1.75;
  color: var(--text-d); margin-bottom: 20px;
}
.quote-wrap cite {
  font-style: normal; font-size: var(--t-sm);
  font-weight: 700; letter-spacing: .08em; color: var(--gold);
}

/* ============================================================
   CONTACT
============================================================ */
.contact-section { padding: 100px 0; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: start;
}
/* Card base */
.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm);
}

/* Contact info */
.contact-info-stack { display: grid; gap: 20px; }
.contact-details-card { display: grid; gap: 18px; }
.contact-detail {
  display: grid; gap: 3px;
  padding-left: 20px; position: relative;
}
.contact-detail::before {
  content: ''; position: absolute; left: 0; top: 6px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.contact-detail-label {
  font-size: var(--t-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--muted);
}
.contact-detail-value { font-size: var(--t-base); color: var(--text); }
.contact-detail a { transition: color var(--dur); }
.contact-detail a:hover { color: var(--mauve); }
.social-row { display: flex; gap: 8px; flex-wrap: wrap; }
.social-link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line); font-size: var(--t-sm);
  color: var(--muted); transition: background var(--dur), color var(--dur), border-color var(--dur);
}
.social-link:hover { background: var(--cream); color: var(--mauve); border-color: var(--mauve); }
.map-card { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.map-card iframe { display: block; width: 100%; aspect-ratio: 4/3; border: 0; }

/* Karte: Click-to-load Consent-Platzhalter (DSGVO) */
.map-consent {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; width: 100%; aspect-ratio: 4/3;
  background: var(--cream); border: none; padding: 28px;
  text-align: center; color: var(--muted); cursor: pointer;
  transition: background var(--dur) var(--ease);
}
.map-consent:hover, .map-consent:focus-visible { background: #ece3dc; }
.map-consent svg { color: var(--mauve); }
.map-consent-title { font-size: var(--t-md); font-weight: 700; color: var(--text); }
.map-consent-text { font-size: var(--t-sm); max-width: 320px; line-height: 1.55; }
.map-consent-action {
  margin-top: 6px;
  display: inline-flex; align-items: center;
  padding: 9px 20px; border-radius: 999px;
  background: var(--mauve); color: #fff;
  font-size: var(--t-sm); font-weight: 700; letter-spacing: .03em;
}
.map-consent:hover .map-consent-action,
.map-consent:focus-visible .map-consent-action { background: var(--mauve-dark); }

/* Contact form */
.form-eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 20px;
  font-size: var(--t-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--mauve);
}
.form-eyebrow span {
  display: block; width: 22px; height: 2px;
  background: var(--gold); border-radius: 2px;
}
.contact-form { display: grid; gap: 16px; }
.form-field { display: grid; gap: 7px; }
.form-field label {
  font-size: var(--t-sm); font-weight: 700; color: var(--text);
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%; padding: 12px 16px;
  border-radius: var(--r-sm); border: 1.5px solid var(--line);
  font: inherit; font-size: var(--t-base); color: var(--text);
  background: var(--white);
  transition: border-color var(--dur), box-shadow var(--dur);
  appearance: none; -webkit-appearance: none;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--mauve);
  box-shadow: 0 0 0 3px rgba(139,94,120,.12);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.char-counter {
  font-size: var(--t-xs); color: var(--muted);
  text-align: right; margin-top: -4px;
}
.form-helper { font-size: var(--t-xs); color: var(--muted); line-height: 1.5; }
.form-helper a { color: var(--mauve); }
.form-helper a:hover { text-decoration: underline; }
.form-note {
  font-size: var(--t-xs); color: var(--muted);
  min-height: 18px; margin-top: -4px;
}
.btn-submit { width: 100%; padding: 15px; font-size: var(--t-base); }

/* ============================================================
   PAGE CONTENT (Impressum / Datenschutz)
============================================================ */
.page-main { padding: 72px 0 100px; }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--t-sm); font-weight: 600; color: var(--mauve);
  margin-bottom: 40px; transition: gap var(--dur);
}
.back-link:hover { gap: 12px; }
.back-link svg { flex-shrink: 0; }

.content-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 48px;
  box-shadow: var(--shadow-sm);
}
.page-title {
  font-family: var(--serif); font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15; color: var(--text); margin-bottom: 6px;
}
.page-subtitle { font-size: var(--t-sm); color: var(--muted); margin-bottom: 40px; }

.content-section { padding-top: 28px; margin-top: 28px; border-top: 1px solid var(--line); }
.content-section:first-of-type { border-top: none; margin-top: 0; padding-top: 0; }
.content-section h2 {
  font-size: var(--t-md); font-weight: 700; color: var(--text);
  margin-bottom: 10px;
}
.content-section p {
  font-size: var(--t-base); color: var(--muted);
  line-height: 1.75; margin-bottom: 6px;
}
.content-section p:last-child { margin-bottom: 0; }
.content-section ul { margin: 8px 0 0 20px; display: grid; gap: 5px; }
.content-section li { font-size: var(--t-base); color: var(--muted); line-height: 1.6; }
.content-section a { color: var(--mauve); }
.content-section a:hover { text-decoration: underline; }
.placeholder { color: var(--muted); font-style: italic; }

/* ============================================================
   FOOTER
============================================================ */
.site-footer { padding-top: 72px; }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1.5fr;
  gap: 56px; padding-bottom: 56px;
}
.footer-logo {
  height: 34px; width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 16px; display: block;
}
.footer-tagline {
  font-size: var(--t-sm); color: var(--muted-d);
  line-height: 1.65; max-width: 240px; margin-bottom: 10px;
}
.footer-rak {
  font-size: var(--t-xs); color: var(--muted-d);
  letter-spacing: .04em;
}
.footer-col-title {
  font-size: var(--t-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--gold); margin-bottom: 16px; display: block;
}
.footer-nav-list { display: grid; gap: 10px; list-style: none; }
.footer-nav-list a {
  font-size: var(--t-sm); color: var(--muted-d);
  transition: color var(--dur);
}
.footer-nav-list a:hover { color: var(--text-d); }
.footer-contact-list { display: grid; gap: 10px; }
.footer-contact-list a, .footer-contact-list p {
  font-size: var(--t-sm); color: var(--muted-d);
  transition: color var(--dur); line-height: 1.5;
}
.footer-contact-list a:hover { color: var(--text-d); }
.footer-socials { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.footer-social-link {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line-d); color: var(--muted-d);
  transition: border-color var(--dur), color var(--dur);
}
.footer-social-link:hover { border-color: var(--gold); color: var(--gold); }
.footer-divider { border: none; border-top: 1px solid var(--line-d); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: 22px; gap: 16px; flex-wrap: wrap;
}
.footer-bottom small { font-size: var(--t-xs); color: var(--muted-d); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a {
  font-size: var(--t-xs); color: var(--muted-d);
  transition: color var(--dur);
}
.footer-legal a:hover { color: var(--mauve-light); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .desktop-nav { display: none; }
  .hamburger { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-portrait-col { justify-content: center; }
  .hero-portrait-wrap { max-width: 360px; }
  .hero-portrait-wrap::before { display: none; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-portrait-wrap { max-width: 320px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .hero-section { padding: 90px 0 80px; min-height: auto; }
  .hero-title { font-size: clamp(32px, 7vw, 52px); }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item:nth-child(3) { border-right: 1px solid var(--line); border-top: 1px solid var(--line); }
  .trust-item:nth-child(4) { border-right: none; border-top: 1px solid var(--line); }
  .contact-grid { grid-template-columns: 1fr; }
  .content-card { padding: 28px 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 580px) {
  .services-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { border-right: none !important; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: none; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .about-portrait-wrap { max-width: 260px; }
}
