:root {
  --c-navy:       #11283D;
  --c-navy-2:     #0E2235;

  --c-ink:        #17212B;
  --c-muted:      #5A6672;

  --c-white:       #FFFFFF;
  --c-surface:     #FFFFFF;
  --c-surface-alt: #F5F3EE;

  --c-gold:       #B08A4A;
  --c-gold-ink:   #8A6A34;

  --c-line:        #D9DDE1;
  --c-line-strong: #838E9A;
  --c-placeholder: #69737E;
  --c-line-dark:  rgba(255, 255, 255, .16);
  --c-line-white: rgba(255, 255, 255, .16);

  --c-error:      #9B1C1C;
  --c-success:    #3F6B4E;

  --f-body:    "Inter", system-ui, -apple-system, sans-serif;
  --f-display: "Source Serif 4", Georgia, "Times New Roman", serif;

  --fs-h1:   clamp(34px, 4.7vw, 42px);
  --fs-h2:   clamp(28px, 3.8vw, 34px);

  --fs-hero: clamp(40px, 6.2vw, 88px);
  --fs-h3:   clamp(22px, 2.9vw, 25px);
  --fs-body: 16px;
  --fs-lead: 17px;
  --lh-body: 1.6;

  --measure: 740px;

  --container: 1440px;
  --gutter:    40px;
  --section-y: clamp(72px, 8vw, 140px);

  --r-card:  0px;
  --r-media: 0px;
  --r-btn:   0px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

@media (min-width: 900px) {
  :root {
    --fs-h1:   clamp(48px, 3.8vw, 60px);
    --fs-h2:   clamp(34px, 2.7vw, 42px);
    --fs-h3:   clamp(24px, 1.9vw, 28px);
    --fs-body: 17px;
    --fs-lead: 19px;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--c-surface);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4, p, figure, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }

::selection { background: var(--c-gold); color: var(--c-navy); }

:focus-visible { outline: 2px solid var(--c-gold-ink); outline-offset: 3px; }

.h2, .h3, .hero__title {
  font-family: var(--f-display);
  font-weight: 300;
  font-optical-sizing: auto;
  letter-spacing: -.03em;
  line-height: 1.08;
  text-wrap: balance;
}

.hero__title { font-size: var(--fs-hero); font-weight: 400; }
.h2          { font-size: var(--fs-h2); line-height: 1.14; }
.h3          { font-size: var(--fs-h3); line-height: 1.25; letter-spacing: -.02em; }

.h2--light, .h3--light { color: var(--c-white); }

.eyebrow {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-gold-ink);
  margin-bottom: 20px;
}
.eyebrow--light { color: rgba(255, 255, 255, .6); }

.eyebrow--rule { display: flex; align-items: center; gap: 12px; }
.eyebrow--rule::before {
  content: '';
  flex: none;
  width: 28px;
  height: 1px;
  background: var(--c-gold);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  letter-spacing: -.01em;
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-line);
  padding-bottom: 4px;
  transition: color .25s var(--ease), border-color .25s var(--ease), gap .25s var(--ease);
}
.link-arrow svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.link-arrow:hover { color: var(--c-gold-ink); border-color: var(--c-gold); gap: 12px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
}
.btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { transform: translateY(-2px); }

.btn--light   { background: var(--c-white); color: var(--c-navy); }
.btn--light:hover { background: var(--c-gold); color: var(--c-navy); }

.btn--dark    { background: var(--c-navy);   color: var(--c-white); }
.btn--dark:hover  { background: var(--c-navy-2); color: var(--c-white); }

.btn--outline { background: transparent; color: var(--c-navy); border-color: var(--c-navy); }
.btn--outline:hover { background: var(--c-navy); color: var(--c-white); }

.btn--ghost   { background: rgba(255, 255, 255, .08); color: var(--c-white); border-color: rgba(255, 255, 255, .62); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: var(--c-white); color: var(--c-ink); border-color: var(--c-white); }

.btn--block { width: 100%; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.section--dark {
  background: var(--c-navy);
  color: var(--c-white);
}

.section--alt { background: var(--c-surface-alt); }

.section-head { max-width: 820px; margin-bottom: clamp(40px, 5vw, 72px); }

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1em; }

.section-head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  max-width: none;
}
.section-head--split > div { max-width: 720px; }

/* Masthead = top-bar + site-header, pinned together as one fixed block.
   Only index.html wraps .site-header in .masthead, so this override never
   touches the plain fixed .site-header used on the other pages. */
.masthead { position: fixed; inset: 0 0 auto 0; z-index: 100; }
.masthead .site-header {
  position: static;
  background: var(--c-white);
  border-bottom: none;
  box-shadow: 0 2px 14px rgba(14, 14, 14, .07);
}
.masthead .site-header.is-solid { background: var(--c-white); }

.masthead .header__logo,
.brand-logo-container { display: flex; align-items: center; gap: 12px; }

/* Image/LOGO-KANZLEI.jpg is a square (1408×1408), ink-filled crest with no
   blank-canvas padding, unlike the old Default-Logo.png wordmark file —
   so no crop-box hack is needed here, just a plain square sizing box. */
.header__logo,
.header__logo-mark {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.header__logo-mark {
  display: block;
  flex: none;
  width: 62px;
  height: 62px;
}
/* Scoped to .masthead so this beats the later, equal-specificity
   .header__logo img rule (line ~340) meant for the other pages' plain
   (non-wordmark-wrapped) logo. This is the light-background header (the
   white masthead on index.html/ueber-uns.html), so it keeps the
   standard white-bg logo file — mix-blend-mode: multiply drops that
   white square out entirely against the white header behind it. */
.masthead .header__logo-mark img {
  display: inline-block;
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  image-rendering: -webkit-optimize-contrast;
  filter: drop-shadow(0 0 1px #0F172A) drop-shadow(0 0 3px rgba(197, 168, 128, .6));
  mix-blend-mode: multiply;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.header__logo:hover .header__logo-mark img { transform: scale(1.08); }

.header__logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: var(--f-display);
  line-height: 1.1;
}
.header__logo-text strong {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .5px;
  color: #0F172A;
  text-shadow: 0 0 1px #C5A880, .5px .5px 0 #D4AF37;
  -webkit-text-stroke: .3px #C5A880;
}
.header__logo-text-name {
  margin-top: 3px;
  font-size: 22px;
  color: #0F172A;
  text-shadow: 0 0 1px #C5A880, .5px .5px 0 #D4AF37;
  -webkit-text-stroke: .3px #C5A880;
}

.masthead .header__nav a,
.masthead .nav-drop__toggle { color: var(--c-ink); }
.masthead .header__nav a:hover,
.masthead .nav-drop__toggle:hover { text-decoration-color: var(--c-ink); }

.masthead .lang__toggle {
  color: var(--c-ink);
  background: var(--c-surface-alt);
  border-color: var(--c-line);
}
.masthead .lang__toggle:hover,
.masthead .lang.is-open .lang__toggle {
  background: var(--c-navy);
  color: var(--c-white);
  border-color: var(--c-navy);
}

.masthead .header__burger { border-color: var(--c-line-strong); }
.masthead .header__burger span { background: var(--c-ink); }

.top-bar {
  --container: 1680px;
  --gutter: 32px;
  background: #0e0e0e;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.top-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 9px;
  font-size: 12.5px;
  color: #FFFFFF;
}
.top-bar__info { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.top-bar__info a,
.top-bar__info span { display: inline-flex; align-items: center; gap: 8px; }
.top-bar__info a { color: #FFFFFF; transition: color .2s var(--ease); }
.top-bar__info a:hover { color: #D4AF37; }
.top-bar__info i { font-size: 14px; color: #D4AF37; display: inline-flex; align-items: center; }

.top-bar__social { display: flex; align-items: center; gap: 10px; }
.top-bar__social a {
  display: flex; align-items: center; justify-content: center;
  width: 26px; height: 26px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  color: rgba(255, 255, 255, .75);
  font-size: 11px;
  transition: all .2s var(--ease);
}
.top-bar__social a:hover { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-navy); }

.site-header {
  --container: 1680px;
  --gutter:    32px;

  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  border-bottom: 1px solid var(--c-line-dark);

  background: linear-gradient(to bottom, rgba(38, 42, 48, .38), rgba(38, 42, 48, .10));
  transition: background .35s var(--ease), border-color .35s var(--ease);
}

.site-header.is-solid {
  background: var(--c-navy);
  border-color: rgba(255, 255, 255, .1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  height: 84px;
}

.header__logo img {
  display: inline-block;
  height: 48px;
  width: auto;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.header__logo:hover img { transform: scale(1.08); }

.header__nav { display: flex; align-items: center; gap: 32px; align-self: stretch; }
.header__nav-mobile-extra { display: none; }
.header__nav a {
  font-size: 14px;
  letter-spacing: -.01em;

  color: var(--c-white);
  text-decoration: 1px solid underline transparent;
  text-underline-offset: 5px;
  transition: text-decoration-color .25s var(--ease);
}

.header__nav a:hover { text-decoration-color: var(--c-white); }

/* Active nav item: the page's own link in its header nav, marked with
   aria-current="page" (already the site's existing convention on the
   non-masthead pages, e.g. kontakt.html's "Kontakt" link). */
.header__nav a[aria-current="page"] {
  color: var(--c-gold);
  font-weight: 500;
  text-decoration-color: var(--c-gold);
}
.masthead .header__nav a[aria-current="page"] { color: var(--c-gold-ink); text-decoration-color: var(--c-gold-ink); }

.nav-drop { position: relative; align-self: stretch; display: flex; align-items: center; }

.nav-drop__toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 14px;
  letter-spacing: -.01em;
  color: var(--c-white);
  text-decoration: 1px solid underline transparent;
  text-underline-offset: 5px;
  transition: text-decoration-color .25s var(--ease);
}
.nav-drop__toggle:hover { text-decoration-color: var(--c-white); }

.nav-drop__chevron {
  width: 11px;
  height: 11px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  transition: transform .25s var(--ease);
}

.nav-drop__menu {
  position: absolute;
  top: 100%;
  left: -22px;
  z-index: 10;
  min-width: 252px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-top: 2px solid var(--c-gold);
  box-shadow: 0 20px 44px rgba(17, 40, 61, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}

.nav-drop__menu li + li { border-top: 1px solid var(--c-line); }

.header__nav .nav-drop__menu a {
  display: block;
  padding: 13px 22px;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-ink);
  text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease), padding-left .2s var(--ease);
}
.header__nav .nav-drop__menu a:hover {
  background: var(--c-surface-alt);
  color: var(--c-gold-ink);
  padding-left: 28px;
}

.nav-drop.is-open > .nav-drop__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-drop.is-open .nav-drop__toggle { text-decoration-color: var(--c-white); }
.nav-drop.is-open .nav-drop__chevron { transform: rotate(180deg); }

.header__actions { display: flex; align-items: center; gap: 16px; align-self: stretch; }

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.01em;
  white-space: nowrap;
  color: var(--c-white);
  text-decoration: 1px solid underline transparent;
  text-underline-offset: 5px;
  transition: text-decoration-color .25s var(--ease), color .25s var(--ease);
}
.header__phone svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.header__phone:hover { text-decoration-color: var(--c-white); }

.lang { position: relative; align-self: stretch; display: flex; align-items: center; }

.lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 11px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--c-white);

  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: var(--r-btn);
  backdrop-filter: blur(6px);
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.lang__toggle:hover,
.lang.is-open .lang__toggle {
  background: var(--c-white);
  color: var(--c-ink);
  border-color: var(--c-white);
}

.lang__globe { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.3; }

.lang__chevron {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  opacity: .75;
  transition: transform .25s var(--ease);
}
.lang.is-open .lang__chevron { transform: rotate(180deg); }

.lang__menu {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 10;
  min-width: 184px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-top: 2px solid var(--c-gold);
  box-shadow: 0 20px 44px rgba(17, 40, 61, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.lang.is-open > .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }

.lang__menu li + li { border-top: 1px solid var(--c-line); }

.lang__menu a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 18px;
  font-size: 13px;
  color: var(--c-ink);
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.lang__menu a > span {
  min-width: 24px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--c-muted);
  transition: color .2s var(--ease);
}
.lang__menu a:hover { background: var(--c-surface-alt); color: var(--c-gold-ink); }

.lang__menu a[aria-current] { font-weight: 500; color: var(--c-gold-ink); }
.lang__menu a[aria-current] > span,
.lang__menu a:hover > span { color: var(--c-gold-ink); }

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: none;
  border: 1px solid var(--c-line-white);
  cursor: pointer;
}
.header__burger span {
  display: block;
  height: 1.5px;
  background: var(--c-white);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.hero {
  --container: 1680px;
  --gutter:    32px;

  position: relative;
  display: flex;
  align-items: center;
  padding-block: clamp(168px, 20vw, 196px) clamp(80px, 9vw, 112px);
  overflow: hidden;
  color: var(--c-white);
  background: linear-gradient(115deg, #0a0f18 0%, var(--c-navy) 100%);
}

.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.hero__pattern {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(176, 138, 74, .07) 0, rgba(176, 138, 74, .07) 1px, transparent 1px, transparent 46px);
}
.hero__pattern::before,
.hero__pattern::after {
  content: ""; position: absolute; border: 1px solid rgba(176, 138, 74, .16); border-radius: 50%;
}
.hero__pattern::before { width: 620px; height: 620px; right: -200px; top: 50%; transform: translateY(-50%); }
.hero__pattern::after  { width: 400px; height: 400px; right: -50px;  top: 50%; transform: translateY(-50%); }

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin: 0 0 22px;
}

.hero__main .hero__title { max-width: 14ch; }

.hero__main .hero__lead {
  max-width: 54ch;
  margin-top: 24px;
  font-size: var(--fs-lead);
  line-height: 1.7;
  color: rgba(255, 255, 255, .8);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 30px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--c-line-white);
}
.hero__facts li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: rgba(255, 255, 255, .78); }
.hero__facts i { color: var(--c-gold); font-size: 15px; }

.hero__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  justify-self: end;
  background: var(--c-white);
  color: var(--c-ink);
  padding: 46px 38px;
  box-shadow: 0 34px 74px -22px rgba(5, 12, 20, .55);
}
.hero__card-title { font-family: var(--f-display); font-size: 24px; font-weight: 500; margin: 0 0 8px; }
.hero__card-desc { font-size: 15px; color: var(--c-muted); margin: 0 0 26px; }

.hero__card-list { display: flex; flex-direction: column; gap: 14px; }
.hero__card-list a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 19px 20px;
  background: var(--c-surface-alt);
  border-left: 2px solid transparent;
  overflow: hidden;
  transition: all .3s ease;
}
.hero__card-list a:hover {
  background: rgba(176, 138, 74, .16);
  border-left-color: var(--c-gold);
}

.hero__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: none;
  background: var(--c-navy);
  color: var(--c-white);
  border-radius: 50%;
  font-size: 17px;
  transition: all .3s ease;
}
.hero__card-list a:hover .hero__card-icon { background: var(--c-gold-ink); transform: scale(1.08); }

.hero__card-list a span:last-child {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--c-ink);
  transform-origin: left center;
  transition: all .3s ease;
}
.hero__card-list a:hover span:last-child {
  transform: scale(1.04);
  font-weight: 700;
  color: var(--c-navy);
}
.hero__card-list a small { display: block; margin-top: 3px; font-weight: 400; font-size: 12.5px; color: var(--c-muted); }

.hero__card-hours {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 24px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--c-line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--c-muted);
}
.hero__card-hours i { color: var(--c-gold-ink); }

.page-head {
  padding-block: calc(84px + clamp(48px, 6vw, 96px)) clamp(40px, 5vw, 64px);
}
/* Pages using the .masthead (top-bar + header, currently ueber-uns.html
   and index.html) have a taller fixed block (129px measured) than the
   plain 84px header the base offset above assumes — bump it so the
   page-head title doesn't start underneath the top-bar. Reverts to the
   84px baseline at <=900px, where the top-bar itself is hidden (see
   .top-bar{display:none} in that breakpoint). */
.masthead + main .page-head {
  padding-block: calc(129px + clamp(48px, 6vw, 96px)) clamp(40px, 5vw, 64px);
}

.page-head--alt { background: var(--c-surface-alt); }

.page-head--dark { background: #0F172A; color: var(--c-white); }
.page-head--dark .eyebrow { color: rgba(255, 255, 255, .62); }
.page-head--dark .page-head__title { color: var(--c-white); }
.page-head--dark p { color: rgba(255, 255, 255, .72); }
.page-head__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.page-head__title { font-size: var(--fs-h1); max-width: 940px; }
.page-head p {
  max-width: var(--measure);
  margin-top: 20px;
  color: var(--c-muted);
  font-size: var(--fs-lead);
  line-height: 1.7;
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 88px);
  align-items: stretch;
}

.intro__col { display: flex; flex-direction: column; }

.intro__body { max-width: var(--measure); margin-top: clamp(24px, 3vw, 36px); }
.intro__body p { color: var(--c-muted); font-size: var(--fs-body); line-height: 1.7; }
.intro__body p + p { margin-top: 20px; }

.intro__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.intro__pillars { margin-top: clamp(44px, 5vw, 72px); }

.intro__pillars li {
  display: flex;

  align-items: flex-start;
  gap: 13px;
  padding: 15px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: var(--fs-body);
  line-height: 1.45;
}
.intro__pillars li:first-child { border-top: 1px solid var(--c-line); }

.intro__pillars svg {
  flex: none;
  width: 19px;
  height: 19px;

  margin-top: 2px;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.intro__pillars svg circle { stroke: var(--c-line); stroke-width: 1; }
.intro__pillars svg path   { stroke: var(--c-gold-ink); stroke-width: 1.8; }

.intro__figure {
  width: 100%;
  min-width: 0;
}

.intro__figure img {
  /* No crop, ever: the box is sized from the photo's own aspect ratio
     (width capped, height auto) instead of a fixed box that cover/crop
     would have to fill. */
  display: block;
  width: 100%;
  height: auto;
  max-width: 420px;
  object-fit: contain;
  margin: 0 auto;

  /* Scoped override: this photo gets soft corners + a premium shadow even
     though the site's default --r-media token is 0 (sharp) everywhere else. */
  border-radius: 16px;
  box-shadow: 0 30px 64px -26px rgba(14, 14, 14, .32), 0 6px 18px rgba(14, 14, 14, .06);
}

/* Split banner: a real two-column layout — no photo overlay, so no card can
   ever sit on top of a face. Left panel is solid color, right column is the
   untouched photo, both stretched to the same row height by the grid. */
.showcase__split {
  display: grid;
  grid-template-columns: minmax(300px, 42fr) 58fr;
  align-items: stretch;
  min-height: clamp(420px, 40vw, 560px);

  /* Scoped override: rounded corners + a soft frame even though the site's
     default --r-media token is 0 (sharp) everywhere else. */
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  box-shadow: 0 34px 70px -30px rgba(14, 14, 14, .35);
}

.showcase__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 4vw, 50px);
  background: #0f172a;
  color: var(--c-white);
}

.showcase__panel > p {
  margin-top: 18px;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: rgba(255, 255, 255, .78);
}
.showcase__panel .btn { margin-top: 28px; align-self: flex-start; }

.showcase__media { width: 100%; height: 100%; min-width: 0; overflow: hidden; }
.showcase__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%);
  transition: filter .4s ease, transform .4s ease;
}
.showcase__media:hover img { filter: grayscale(0%); transform: scale(1.02); }

.showcase__rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(32px, 4vw, 52px);
  padding-top: 22px;
  border-top: 1px solid var(--c-line-white);
}

.showcase__score { font-size: 20px; font-weight: 500; line-height: 1; letter-spacing: -.02em; }
.showcase__rating-note {
  flex-basis: 100%;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}

.stars { display: inline-block; width: 96px; line-height: 0; }

.stars svg { display: block; width: 96px; max-width: none; height: auto; }
.stars__clip {
  display: block;
  width: var(--stars-fill, 100%);
  overflow: hidden;
}
.stars__fill { fill: var(--c-gold); }

.areas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}

.area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  background: var(--c-surface);
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid transparent;
  position: relative;
  transition: background-color .3s var(--ease),
              transform .35s cubic-bezier(.25, 1, .5, 1),
              box-shadow .35s cubic-bezier(.25, 1, .5, 1),
              border-color .35s cubic-bezier(.25, 1, .5, 1);
}

.area:hover {
  background: var(--c-surface-alt);
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 20px 40px rgba(11, 26, 45, .12);
  border-color: #c5a880;
  z-index: 2;
}

.area__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: #0b1a2d;
  color: #c5a880;
  font-size: 21px;
  transition: all .4s ease;
}
.area:hover .area__icon {
  background: #0f243f;
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(197, 168, 128, .3);
}

.area__icon i { transition: transform .3s ease; }
.area:hover .area__icon .fa-gavel { transform: rotate(-12deg) scale(1.1); }
.area:hover .area__icon .fa-car-side { transform: translateX(5px); }
.area:hover .area__icon .fa-key { transform: rotate(15deg); }
.area:hover .area__icon i:not(.fa-gavel):not(.fa-car-side):not(.fa-key) {
  transform: translateY(-3px) scale(1.1);
}

@media (prefers-reduced-motion: reduce) {
  .area,
  .area__icon,
  .area__icon i { transition: none; }
}

.area__title {
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  font-weight: 300;
  letter-spacing: -.02em;
}

.area__text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-muted);
}

.topics__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 8px;
}

.topic-card {
  display: flex;
  flex-direction: column;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  transition: border-color .3s var(--ease);
}
.topic-card:hover { border-color: var(--c-gold); }

.topic-card__media {
  width: 100%;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  overflow: hidden;
  border-radius: 4px 4px 0 0;
}
.topic-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center top !important;
  display: block;
  transition: transform .4s var(--ease);
}
.topic-card:hover .topic-card__media img { transform: scale(1.04); }

.topic-card__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
  padding: 26px clamp(22px, 3vw, 30px) 30px;
}

.topic-card__title {
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  font-weight: 400;
  letter-spacing: -.02em;
  color: var(--c-navy);
}

.topic-card__list { display: flex; flex-direction: column; gap: 9px; }
.topic-card__list li {
  position: relative;
  padding-left: 20px;
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--c-muted);
}
.topic-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .6em;
  width: 6px;
  height: 6px;
  background: var(--c-gold);
}

.topic-card .link-arrow { margin-top: auto; }

.area .link-arrow { margin-top: auto; }

.member__body .link-arrow { margin-top: auto; padding-top: 14px; }

/* Blog listing (blog.html): category filter bar + article card grid */
.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(32px, 4vw, 48px);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.filter-pill {
  flex: none;
  padding: 11px 22px;
  border: 1px solid var(--c-line-strong);
  background: transparent;
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: 13px;
  letter-spacing: -.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.filter-pill:hover { border-color: var(--c-gold); color: var(--c-gold-ink); }
.filter-pill.is-active { background: var(--c-navy); border-color: var(--c-navy); color: var(--c-white); }

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 2.5vw, 32px);
}

.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  transition: border-color .3s var(--ease);
}
.blog-card:hover { border-color: var(--c-gold); }
.blog-card.is-hidden { display: none; }

.blog-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }

.blog-card__media {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.blog-card__media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.blog-card__media img,
.kanzlei-image img,
header img,
img.hero-img,
img.lawyer-photo {
  filter: grayscale(100%);
  -webkit-filter: grayscale(100%);
  transition: filter 0.4s ease, -webkit-filter 0.4s ease;
}

.blog-card__media img:hover,
.kanzlei-image img:hover,
header img:hover,
img.hero-img:hover,
img.lawyer-photo:hover {
  filter: grayscale(0%);
  -webkit-filter: grayscale(0%);
}

/* Применяем ч/б эффект ко всем изображениям контента */
img:not([src*="LOGO"]):not([src*="logo"]):not(.icon) {
  filter: grayscale(100%) !important;
  -webkit-filter: grayscale(100%) !important;
  transition: filter 0.4s ease, -webkit-filter 0.4s ease;
}

/* Цветной эффект при наведении мыши */
img:not([src*="LOGO"]):not([src*="logo"]):not(.icon):hover {
  filter: grayscale(0%) !important;
  -webkit-filter: grayscale(0%) !important;
}

.blog-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 14px;
  background: var(--c-navy);
  color: var(--c-white);
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
  padding: 24px clamp(20px, 3vw, 28px) 30px;
}

.blog-card__date {
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.blog-card__title {
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.3;
  color: #0F172A;
  transition: color .25s var(--ease);
}
.blog-card:hover .blog-card__title { color: var(--c-gold-ink); }

.blog-card__text {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: #475569;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__cta { margin-top: auto; }
.blog-card:hover .blog-card__cta { color: var(--c-gold-ink); border-color: var(--c-gold); gap: 12px; }

.blog-empty {
  display: none;
  padding: 60px 0;
  text-align: center;
  color: var(--c-muted);
  font-size: var(--fs-lead);
}
.blog-empty.is-visible { display: block; }

/* Single article page (blog-single.html) */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-family: var(--f-body);
  font-size: 13px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.article-meta span:not(:last-child)::after { content: '\2022'; margin-left: 10px; color: var(--c-line-strong); }

.article__body {
  max-width: 800px;
  margin: 0 auto;
  font-size: var(--fs-body);
  line-height: 1.8;
  color: #334155;
}
.article__body p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}
.article__body > * + * { margin-top: 24px; }
.article__body h2 {
  margin-top: 48px;
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  font-weight: 600;
  letter-spacing: -.02em;
  color: #0F172A;
}
.article__body ul { display: flex; flex-direction: column; gap: 10px; padding-left: 22px; list-style: disc; }
.article__body li { padding-left: 4px; }
.article__body blockquote {
  margin: 40px 0;
  padding: 4px 0 4px 28px;
  border-left: 2px solid var(--c-gold);
  font-family: var(--f-display);
  font-size: var(--fs-lead);
  font-style: italic;
  color: #0F172A;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 800px;
  margin: 56px auto 0;
  padding-top: 32px;
  border-top: 1px solid var(--c-line);
}
.article-author img { width: 64px; height: 64px; object-fit: cover; flex: none; }
.article-author__name { font-family: var(--f-display); font-size: 17px; font-weight: 500; color: #0F172A; }
.article-author__role { margin-top: 2px; font-size: 13.5px; color: var(--c-muted); }

.article-cta {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 52px);
  background: var(--c-white);
  box-shadow: 0 34px 74px -30px rgba(5, 12, 20, .3);
  text-align: center;
}
.article-cta .h3 { margin-bottom: 10px; }
.article-cta p { color: var(--c-muted); font-size: var(--fs-body); }
.article-cta .form { text-align: left; margin-top: 28px; }
.article-cta .checkbox { text-align: left; }

.cta-band {
  background: var(--c-navy);
  color: var(--c-white);
  padding-block: clamp(64px, 7vw, 112px);
}
.cta-band__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 5vw, 80px);

  align-items: center;
}
.cta-band__side p { color: rgba(255, 255, 255, .68); font-size: var(--fs-body); line-height: 1.7; }
.cta-band__side .btn { margin-top: 28px; }

.reviews__grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.reviews__lead > p {
  margin-top: 18px;
  max-width: 46ch;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--c-muted);
}

.reviews__score {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 32px 0 28px;
  padding: 24px 0;
  border-top: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}
.reviews__score-num {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -.02em;
}
.reviews__score-side .stars { width: 108px; }
.reviews__score-side .stars svg { width: 108px; }
.reviews__note { margin-top: 8px; font-size: 13px; color: var(--c-muted); }

.reviews__points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}
.reviews__points li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--c-surface);
  padding: 32px 28px;
  border: 1px solid transparent;
  transition: transform .35s cubic-bezier(.25, 1, .5, 1),
              box-shadow .35s cubic-bezier(.25, 1, .5, 1),
              border-color .35s cubic-bezier(.25, 1, .5, 1);
}
.reviews__points li:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(11, 26, 45, .08);
  border-color: #c5a880;
  z-index: 2;
  position: relative;
}

.reviews__points i {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: #0b1a2d;
  color: #c5a880;
  font-size: 18px;
  transition: all .35s ease;
}
.reviews__points li:hover i {
  transform: scale(1.1);
  background: #0f243f;
  box-shadow: 0 6px 16px rgba(197, 168, 128, .25);
}
.reviews__points li:hover .fa-comments { transform: scale(1.15) rotate(-5deg); }
.reviews__points li:hover .fa-bolt { transform: scale(1.2) translateY(-2px); }
.reviews__points li:hover .fa-hand-holding-dollar { transform: rotate(10deg); }
.reviews__points li:hover .fa-user-check { transform: scale(1.15); }

.reviews__points h3 { font-family: var(--f-body); font-size: clamp(18px, 1.6vw, 20px); font-weight: 600; letter-spacing: -.01em; }
.reviews__points p { margin-top: 6px; font-size: 14.5px; line-height: 1.6; color: var(--c-muted); }

@media (prefers-reduced-motion: reduce) {
  .reviews__points li,
  .reviews__points i { transition: none; }
}

.founder__grid {
  display: grid;
  grid-template-columns: .85fr 1.3fr .85fr;
  gap: clamp(28px, 3.5vw, 56px);
  align-items: start;
}

.founder__portrait {
  position: relative;
  /* Scoped override: rounded corners on this portrait even though the
     site's default --r-media token is 0 (sharp) everywhere else. */
  border-radius: 12px;
  overflow: hidden;
  height: clamp(360px, 34vw, 560px);
}
.founder__portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  filter: grayscale(100%);
  transition: filter .4s ease, transform .4s ease;
}
.founder__portrait:hover img { filter: grayscale(0%); transform: scale(1.02); }
.founder__portrait figcaption {
  position: absolute;
  inset: auto 16px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 18px;
  background: rgba(17, 40, 61, .82);
  backdrop-filter: blur(8px);
  color: var(--c-white);
}
.founder__name { font-family: var(--f-body); font-size: var(--fs-lead); font-weight: 400; }
.founder__role { font-size: 13px; color: rgba(255, 255, 255, .6); }

.founder__content { max-width: var(--measure); }

.founder__content > p {
  margin-top: 20px;
  color: rgba(255, 255, 255, .78);
  font-size: var(--fs-body);
  line-height: 1.7;
}
.founder__content > .h3 + p { margin-top: 32px; }

.founder__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--c-line-white);
}
.founder__contact a,
.contact__direct a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  transition: color .25s var(--ease);
}
.contact__direct a:hover { color: var(--c-gold-ink); }

.founder__contact a:hover { color: var(--c-gold); }
.founder__contact svg,
.contact__direct svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* Scoped override: match .founder__portrait's rounded corners (12px)
   instead of the sharp --r-media default, so the two photo cards in this
   row read as one consistent pair. */
.founder__side { border-radius: 12px; overflow: hidden; }
.founder__side img {
  width: 100%;
  height: clamp(360px, 34vw, 560px);
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter .4s ease, transform .4s ease;
}
.founder__side:hover img { filter: grayscale(0%); transform: scale(1.02); }

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: clamp(40px, 5vw, 72px);
}

.advantage {
  border-radius: 16px;
  padding: 32px;
  background: var(--c-surface-alt);
  /* "Gold-steel" frame: a hairline in the brand gold, dialled down to a
     quiet, metallic tint rather than a full-strength accent border. */
  border: 1px solid rgba(176, 138, 74, .32);
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}
.advantage:hover {
  border-color: #c5a880;
  box-shadow: 0 16px 35px rgba(11, 26, 45, .1);
  transform: translateY(-6px);
}

.advantage__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: #0b1a2d;
  color: #c5a880;
  font-size: 20px;
  transition: all .35s ease;
}
.advantage:hover .advantage__icon {
  transform: scale(1.1);
  background: #0f243f;
  box-shadow: 0 8px 20px rgba(197, 168, 128, .25);
}
.advantage__icon i { transition: transform .3s ease; }
.advantage:hover .advantage__icon .fa-building { transform: scale(1.15) translateY(-2px); }
.advantage:hover .advantage__icon .fa-flag { transform: rotate(10deg) scale(1.1); }
.advantage:hover .advantage__icon .fa-comments { transform: scale(1.15) rotate(-5deg); }
.advantage:hover .advantage__icon .fa-credit-card { transform: translateX(3px) scale(1.1); }

@media (prefers-reduced-motion: reduce) {
  .advantage,
  .advantage__icon,
  .advantage__icon i { transition: none; }
}

.advantage__title {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--c-ink);
}
.advantage__text {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--c-muted);
}

.values__foot,
.team__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: clamp(40px, 5vw, 72px);
}
.values__foot p,
.team__foot p { max-width: 620px; color: var(--c-muted); font-size: var(--fs-body); line-height: 1.7; }
.values__foot .btn { flex: none; }

.team__foot-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 32px);
}

/* Compact team grid: flexbox instead of a strict 4-col grid so an
   incomplete last row (e.g. 7 members = 4 + 3) centers itself instead of
   leaving empty grid cells. --team-cols controls cards-per-row per
   breakpoint below. */
.team__grid--compact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  --team-cols: 4;
}
.team__grid--compact .member {
  flex: 0 0 auto;
  width: calc((100% - (var(--team-cols) - 1) * clamp(20px, 2vw, 32px)) / var(--team-cols));
}

.member { display: flex; flex-direction: column; }

.member__link { display: flex; flex-direction: column; color: inherit; }
.member__link:focus-visible { outline-offset: 6px; }

.member__photo {
  /* Scoped override: soft corners for team portraits even though the
     site's default --r-media token is 0 (sharp) everywhere else. */
  border-radius: 12px;
  overflow: hidden;
  background: var(--c-surface-alt);
}
.member__photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter .4s ease, transform .4s ease;
}
.member:hover .member__photo img { filter: grayscale(0%); transform: scale(1.03); }

.member__body { display: flex; flex-direction: column; flex: 1; padding-top: 22px; }
.member__name { font-family: var(--f-display); font-size: 18px; font-weight: 700; letter-spacing: -.01em; transition: color .25s var(--ease); }
.member__link:hover .member__name { color: var(--c-gold-ink); }

.member__role {
  margin-top: 6px;
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.45;
  color: var(--c-muted);
}
.member__bio  { margin-top: 14px; font-size: var(--fs-body); line-height: var(--lh-body); color: var(--c-muted); }

/* Scoped override: deep navy brand background for this one section, a shade
   darker than the shared --c-navy token so it reads as its own dark
   "chapter" between the light sections above and below it. */
.process.section--dark {
  --step-accent-rgb: 197, 168, 128; /* #C5A880 */
  background: #0B132B;
}

.process__intro {
  margin-top: 20px;
  max-width: 560px;
  font-size: var(--fs-lead);
  line-height: 1.65;
  color: #94A3B8;
}

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2vw, 28px);
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: clamp(340px, 26vw, 400px);
  padding: 32px 24px;
  background: #FFFFFF;
  border: 1px solid transparent;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
  transition: all .3s ease;
}
.step:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .25);
  border-color: #C5A880;
}

/* Large watermark digit behind each card's content — the quiet "background
   graphic" that keeps four text-only cards from feeling bare now that the
   old feature-photo/wide-photo layout is gone (see index.html:708). */
.step__ghost {
  position: absolute;
  right: -.05em;
  bottom: -.14em;
  z-index: 0;
  font-family: var(--f-display);
  font-size: clamp(100px, 9vw, 148px);
  font-weight: 300;
  line-height: 1;
  color: #F1F5F9;
  user-select: none;
  pointer-events: none;
}

.step__head {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.step__icon {
  flex: none;
  align-self: flex-start;
  width: clamp(48px, 4.2vw, 56px);
  height: clamp(48px, 4.2vw, 56px);
  margin-bottom: 20px;
  color: rgb(var(--step-accent-rgb));
  transition: transform .3s ease;
}
.step__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.step:hover .step__icon { transform: scale(1.1); }

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  align-self: flex-start;
  width: 38px;
  height: 38px;
  background: rgb(var(--step-accent-rgb));
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  color: #FFFFFF;
}

.step__body {
  position: relative;
  z-index: 1;
  margin-top: 24px;
}

.step__title {
  font-family: var(--f-display);
  font-size: clamp(24px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -.02em;
  color: #0F172A;
}
.step__text {
  margin-top: 12px;
  max-width: 46ch;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: #334155;
}

.process__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: clamp(40px, 5vw, 72px);
}
.process__foot p { max-width: 560px; color: #94A3B8; font-size: var(--fs-body); line-height: 1.7; }

.faq__grid {
  display: grid;
  grid-template-columns: .9fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.faq__head > p { margin-top: 20px; color: var(--c-muted); font-size: var(--fs-body); line-height: 1.7; }

.faq__ask {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--c-line);
}
.faq__ask p { font-family: var(--f-body); font-size: var(--fs-lead); font-weight: 300; margin-bottom: 18px; }

.faq__list { border-top: 1px solid var(--c-line); }

.faq__item { border-bottom: 1px solid var(--c-line); }

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 4px;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-body);
  font-size: var(--fs-lead);
  font-weight: 400;
  letter-spacing: -.02em;
  transition: color .25s var(--ease);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--c-gold-ink); }

.faq__icon { position: relative; flex: none; width: 16px; height: 16px; }
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  inset: 50% 0 auto 0;
  height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: rotate(0deg); }

.faq__answer { padding: 0 60px 26px 4px; }
.faq__answer p { color: var(--c-muted); font-size: var(--fs-body); line-height: 1.7; }

.contact { background: var(--c-surface-alt); }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.contact__intro > p { margin-top: 20px; color: var(--c-muted); font-size: var(--fs-body); line-height: 1.7; max-width: 520px; }
.contact__note { font-size: 15px; }

.contact__direct {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.contact__address {
  margin-top: 28px;
  font-style: normal;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--c-muted);
}
.contact__address strong { display: block; color: var(--c-ink); font-weight: 500; }

.contact__map {
  margin-top: clamp(28px, 3vw, 40px);
  border-radius: var(--r-media);
  overflow: hidden;
  background: var(--c-line);
}
.contact__map iframe {
  display: block;
  width: 100%;
  height: clamp(260px, 30vw, 400px);
  border: 0;
}

.contact__form-wrap {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--r-card);
  padding: clamp(28px, 3.5vw, 48px);
}

.form { margin-top: 32px; display: flex; flex-direction: column; gap: 20px; }

.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 13px; color: var(--c-muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--c-white);

  border: 1px solid var(--c-line-strong);
  border-radius: 0;
  font-size: 15px;
  transition: border-color .25s var(--ease);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--c-gold); }
.field input::placeholder,
.field textarea::placeholder { color: var(--c-placeholder); }

.checkbox { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--c-muted); cursor: pointer; }
.checkbox input { width: 16px; height: 16px; accent-color: var(--c-gold-ink); }

.form.is-validated :invalid { border-color: var(--c-error); }
.form.is-validated :invalid + .field__error { display: block; }

.field__error {
  display: none;
  font-size: 13px;
  color: var(--c-error);
}

.form__status {
  display: none;
  padding: 14px 16px;
  border-left: 3px solid var(--c-success);
  background: rgba(63, 107, 78, .08);
  font-size: 14px;
  color: var(--c-success);
}
.form__status.is-visible { display: block; }

.journal__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2vw, 32px);
}

.post { height: 100%; }

.post__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  transition: transform .35s var(--ease);
}
.post__link:hover { transform: translateY(-5px); }

.post__media {
  display: block;
  height: 220px;
  border-radius: var(--r-media);
  overflow: hidden;
}
.post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .5s var(--ease);
}
.post__link:hover .post__media img { transform: scale(1.05); }

.post__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin-top: 20px;
}

.post__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.post__cat { color: #C5A880; font-weight: 600; }

.post__title {
  margin-top: 12px;
  font-family: var(--f-display);
  font-size: var(--fs-h3);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.3;
  color: #0F172A;
  transition: color .25s var(--ease);
}
.post__link:hover .post__title { color: var(--c-gold-ink); }

.post__text {
  margin-top: 12px;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: #475569;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post__cta {
  margin-top: 20px;
  align-self: flex-start;
}
.post__link:hover .post__cta { color: #C5A880; border-color: #C5A880; gap: 12px; }

.footer-cta {
  background: var(--c-surface-alt);
  padding-block: clamp(72px, 9vw, 140px);
}
.footer-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 40px;
}
.footer-cta .h2 { max-width: 900px; }

/* Contact section: dark full-bleed band, map card on one side and a white
   "Beratung anfragen" form card on the other, both inside a centered
   1200px 2-col grid. */
.contact-section {
  background: #0F172A;
  padding: 60px 0;
}
.contact-section__grid {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: var(--gutter, 24px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-section__map {
  order: 1;
  height: 100%;
  min-height: 520px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.contact-section__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: none;
}

.contact-section__card {
  order: 2;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}
.contact-section__head { text-align: center; }
.contact-section__eyebrow {
  display: block;
  color: #C5A880;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  font-family: var(--f-body);
}
.contact-section__title {
  margin-top: 8px;
  color: #0F172A;
  font-size: 26px;
  font-weight: 700;
  font-family: var(--f-display);
  letter-spacing: -.01em;
}
.contact-section__subtitle {
  margin-top: 10px;
  color: #64748B;
  font-size: 13px;
  line-height: 1.6;
}

.contact-section__form { margin-top: 24px; gap: 14px; }
.contact-section__form .form__row { gap: 14px; }
.contact-section__form .field { gap: 6px; }
.contact-section__form .field__label { font-size: 13px; color: #334155; }
.contact-section__form input,
.contact-section__form select,
.contact-section__form textarea {
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  color: #0F172A;
}
.contact-section__form input:focus,
.contact-section__form select:focus,
.contact-section__form textarea:focus { border-color: #C5A880; }
.contact-section__form textarea { height: 80px; min-height: 80px; }
.contact-section__form .checkbox { font-size: 13px; }

.contact-section__submit {
  width: 100%;
  background: #0F172A;
  color: #FFFFFF;
  font-weight: 600;
  border-radius: 6px;
  padding: 12px 24px;
}
.contact-section__submit:hover { background: #1a2b47; }

@media (max-width: 991px) {
  .contact-section__grid { grid-template-columns: 1fr; }
  .contact-section__map,
  .contact-section__card { order: initial; }
  .contact-section__map { min-height: 360px; }
  .contact-section__map iframe { min-height: 360px; }
}

.site-footer {
  background: var(--c-navy);
  color: var(--c-white);
  padding-block: clamp(56px, 6vw, 88px) 40px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 5vw, 88px);
}

/* max-width was 300px for the old wide 597:114 wordmark file (~57px tall
   at that width); LOGO-KANZLEI.jpg is square, so the same 300px cap would
   render a 300×300 block and dwarf the address text next to it. */
.footer__brand-logo {
  display: inline-block;
  width: 100%;
  max-width: 96px;
  height: auto;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  transition: transform .3s cubic-bezier(.4, 0, .2, 1);
}
.footer__brand-logo:hover { transform: scale(1.08); }

.footer__address {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 28px;
  font-style: normal;
  font-size: 15px;
}
.footer__address p { color: #E2E8F0; line-height: 1.6; }

.footer__address a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #E2E8F0;
  font-size: 15px;
  transition: color .25s var(--ease);
}
.footer__address a:hover { color: var(--c-white); }
.footer__address svg {
  flex: none;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--c-gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Primary number: the one number the firm wants people to actually call,
   set apart from the secondary lines/departments below it. Specificity
   bumped to beat the plain .footer__address a rule above. */
.footer__address a.footer__phone-primary { font-size: 17px; font-weight: 600; color: #FFFFFF; }

.footer__phone-secondary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-left: 27px; /* lines up under the primary number's text, past its icon */
  font-size: 13.5px;
}
.footer__phone-secondary a { font-size: 13.5px; color: #E2E8F0; transition: color .25s var(--ease); }
.footer__phone-secondary a:hover { color: var(--c-white); }
.footer__phone-secondary span { color: rgba(255, 255, 255, .35); }

.footer__fax {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #E2E8F0;
  font-size: 15px;
}

.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col-title {
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 6px;
}
.footer__col a { font-size: 15px; color: rgba(255, 255, 255, .68); transition: color .25s var(--ease); }
.footer__col a:hover { color: var(--c-white); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;

  margin-top: clamp(48px, 5vw, 72px);
  padding-top: 28px;
  border-top: 1px solid var(--c-line-white);
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}

.legal > h2 + p { margin-top: .6em; }
.legal > * + h2 { margin-top: clamp(32px, 3vw, 48px); }
.legal a { color: var(--c-gold-ink); text-decoration: underline; text-underline-offset: 3px; }

.legal__gap {
  text-decoration: underline dotted;
  text-underline-offset: 3px;
  color: var(--c-muted);
}

.legal__todo {
  padding: 16px 20px;
  border-left: 2px solid var(--c-gold-ink);
  background: var(--c-surface-alt);
  font-size: var(--fs-body);
  color: var(--c-muted);
}

@media (max-width: 1200px) {
  .header__nav { gap: 20px; }
  .header__actions { gap: 12px; }

  .header__phone {
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .62);
    backdrop-filter: blur(6px);
  }
  .header__phone svg { width: 18px; height: 18px; }
  .header__phone-num { display: none; }
}

@media (max-width: 1100px) {
  .journal__grid  { grid-template-columns: repeat(2, 1fr); }
  .areas__grid,
  .team__grid,
  .topics__grid,
  .blog__grid     { grid-template-columns: repeat(2, 1fr); }

  .areas__grid .area:last-child { grid-column: 1 / -1; }

  .team__grid--compact { --team-cols: 3; }
  .founder__grid  { grid-template-columns: 1fr 1fr; }
  .founder__side  { grid-column: 1 / -1; }
  .founder__side img { height: clamp(240px, 30vw, 380px); }

  .process__grid  { grid-template-columns: repeat(2, 1fr); }
}

/* Header/nav collapse point (992px) is intentionally separate from the
   900px content-reflow tier below — nav switches to the burger earlier
   than hero/grid layouts need to, which is normal and keeps this block
   scoped to just header/topbar/menu concerns. */
@media (max-width: 992px) {
  .masthead + main .page-head {
    padding-block: calc(84px + clamp(48px, 6vw, 96px)) clamp(40px, 5vw, 64px);
  }

  .header__nav {
    position: fixed;
    inset: 84px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px var(--gutter) 32px;
    background: var(--c-navy);
    border-bottom: 1px solid var(--c-line-white);

    max-height: calc(100svh - 84px);
    overflow-y: auto;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .header__nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .header__nav a { padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--c-line-white); }

  /* The mobile slide-out panel stays navy (see .header__nav background above)
     even though the collapsed bar itself is now white — so its links and the
     Rechtsgebiete toggle need to stay light regardless of the white-navbar
     override further up this file. */
  .masthead .header__nav a,
  .masthead .nav-drop__toggle { color: var(--c-white); }

  .nav-drop { position: static; display: block; }
  .nav-drop__toggle {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--c-line-white);
  }
  .nav-drop__chevron { width: 13px; height: 13px; }

  .nav-drop__menu {
    position: static;
    display: none;
    min-width: 0;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav-drop.is-open > .nav-drop__menu { display: block; }
  .nav-drop__menu li + li { border-top: 0; }

  .header__nav .nav-drop__menu a {
    padding: 13px 0 13px 16px;
    color: var(--c-white);
    border-bottom: 1px solid var(--c-line-white);
  }
  .header__nav .nav-drop__menu a:hover {
    background: none;
    color: var(--c-gold);
    padding-left: 20px;
  }

  .header__burger { display: flex; }
  /* The desktop lang switcher + CTA are hidden here — the mobile nav panel
     carries its own copy (.header__nav-mobile-extra) so both aren't shown
     at once. */
  .header__actions .btn,
  .header__actions > .lang { display: none; }

  .header__inner { gap: 16px; }

  .header__logo img { height: clamp(26px, 8.6vw, 32px); }
  .masthead .header__logo-mark { width: clamp(28px, 8vw, 32px); height: clamp(28px, 8vw, 32px); }
  .header__actions { gap: 10px; }

  .header__nav-mobile-extra {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--c-line-white);
  }
  .header__nav-mobile-extra .lang__toggle {
    width: 100%;
    justify-content: space-between;
    height: 48px;
    padding: 0 14px;
    color: var(--c-white);
    border: 1px solid var(--c-line-white);
  }
  .header__nav-mobile-extra .lang__globe { display: block; stroke: var(--c-white); }
  .header__nav-mobile-extra .lang__chevron { stroke: var(--c-white); }
  .header__nav-mobile-extra .lang__menu {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 8px;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .header__nav-mobile-extra .lang.is-open .lang__menu { display: block; }
  .header__nav-mobile-extra .lang__menu a { padding: 12px 4px; color: var(--c-white); border-bottom: 1px solid var(--c-line-white); }
  .header__nav-mobile-extra .btn--block {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .lang__globe { display: none; }
  .lang__toggle { height: 38px; gap: 6px; padding: 0 9px; }
  .lang__menu { min-width: 172px; }

  /* Header alone (no top-bar) stays 84px tall on mobile, matching the
     .header__nav dropdown panel's inset:84px above. */
  .top-bar { display: none; }
}

@media (max-width: 900px) {
  :root { --gutter: 24px; }

  .hero,
  .site-header { --gutter: 24px; }

  .hero { padding-block: 124px 56px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { max-width: 420px; justify-self: stretch; }
  .hero__pattern::before { width: 420px; height: 420px; right: -160px; }
  .hero__pattern::after  { width: 280px; height: 280px; right: -40px; }

  .intro__grid,
  .cta-band__inner,
  .faq__grid,
  .reviews__grid,
  .contact__grid  { grid-template-columns: 1fr; }

  .intro__grid    { gap: clamp(40px, 8vw, 64px); }

  .team__grid--compact { --team-cols: 2; }
  .reviews__points { grid-template-columns: repeat(2, 1fr); }

  /* Stack: the navy panel goes on top (matches source order), the photo
     underneath. .showcase__media gets an explicit height here because,
     once the grid drops to a single column, panel and media are no longer
     row-mates — height:100% on the image would have nothing to stretch
     against and could collapse to 0. */
  .showcase__split {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 16px;
  }
  .showcase__panel { padding: clamp(28px, 6vw, 40px); }
  .showcase__media { height: clamp(220px, 62vw, 340px); }

  .section-head--split,
  .values__foot,
  .team__foot     { flex-direction: column; align-items: flex-start; }

  .footer__top    { grid-template-columns: 1fr; }
}

/* Service/lawyer/article card grids go to a single column here (rather
   than waiting for the 640px tier below) so cards don't look cramped on
   larger phones/small tablets (641-768px). */
@media (max-width: 768px) {
  .advantages__grid,
  .areas__grid,
  .team__grid,
  .journal__grid,
  .founder__grid,
  .reviews__points,
  .topics__grid,
  .blog__grid,
  .form__row,
  .process__grid  { grid-template-columns: 1fr; }

  .team__grid--compact { --team-cols: 1; }

  .topic-card__media { height: 220px; }

  :root {
    --gutter: 16px;
    --fs-h1: clamp(28px, 7.5vw, 32px);
    --fs-h2: clamp(22px, 6vw, 24px);
  }

  .field input,
  .field select { min-height: 48px; }
}

@media (max-width: 640px) {
  .reviews__score { flex-wrap: wrap; }

  .founder__portrait img,
  .founder__side img { height: 320px; }

  .footer__cols   { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; }

  .award          { grid-template-columns: 40px 1fr; row-gap: 6px; }
  .award__year    { grid-column: 2; }

  .faq__answer    { padding-right: 8px; }
  .hero__cta .btn,
  .intro__cta .btn { flex: 1 1 auto; }

  .process__foot  { flex-direction: column; align-items: flex-start; }
}

/* DSGVO cookie consent banner */
.cookie-consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 300;
  padding: 20px var(--gutter);
  background: var(--c-navy);
  color: rgba(255, 255, 255, .88);
  border-top: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, .22);
  transform: translateY(100%);
  opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.cookie-consent[hidden] { display: none; }
.cookie-consent.is-visible { transform: translateY(0); opacity: 1; }

.cookie-consent__panel {
  width: 100%;
  max-width: 1040px;
  margin-inline: auto;
}

.cookie-consent__title {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--c-white);
  margin-bottom: 8px;
}

.cookie-consent__text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .78);
  max-width: 760px;
}
.cookie-consent__text a { color: var(--c-gold); text-decoration: underline; text-underline-offset: 3px; }
.cookie-consent__text a:hover { color: var(--c-white); }

.cookie-consent__categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.cookie-consent__categories[hidden] { display: none; }

.cookie-cat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cookie-cat__name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--c-white);
}
.cookie-cat__desc {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .65);
}

.cookie-switch { position: relative; display: inline-flex; flex: none; width: 42px; height: 24px; cursor: pointer; }
.cookie-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cookie-switch__track {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .22);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.cookie-switch__track::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: var(--c-white);
  border-radius: 50%;
  transition: transform .25s var(--ease);
}
.cookie-switch input:checked ~ .cookie-switch__track { background: var(--c-gold); border-color: var(--c-gold); }
.cookie-switch input:checked ~ .cookie-switch__track::before { transform: translateX(18px); }
.cookie-switch input:focus-visible ~ .cookie-switch__track { outline: 2px solid var(--c-gold); outline-offset: 2px; }
.cookie-switch--locked { cursor: default; opacity: .75; }
.cookie-switch--locked input { cursor: default; }

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
.cookie-consent__actions .btn { padding: 13px 22px; font-size: 13px; }
.cookie-consent__actions .btn--outline {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255, 255, 255, .4);
}
.cookie-consent__actions .btn--outline:hover { background: rgba(255, 255, 255, .08); border-color: var(--c-white); }
.cookie-consent__actions .btn--dark { background: var(--c-gold); color: var(--c-navy); border-color: var(--c-gold); }
.cookie-consent__actions .btn--dark:hover { background: var(--c-gold-ink); border-color: var(--c-gold-ink); }

@media (max-width: 640px) {
  .cookie-consent { padding: 18px 16px; }
  .cookie-consent__actions { flex-direction: column; }
  .cookie-consent__actions .btn { width: 100%; }
}
