:root {
  --orange: #DB7122;
  --orange-deep: #A24E15;
  --anthrazit: #49362A;
  --anthrazit-dark: #2C201A;
  --grey: #676563;
  --grey-light: #C7C5C2;
  --cream: #F1EEE9;
  --cream-soft: #F7F5F1;
  --white: #FFFFFF;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --max-content: 1100px;
  --gutter: clamp(20px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--anthrazit);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--anthrazit);
  color: var(--white);
  padding: 8px 14px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 100;
}
.skip-link:focus { left: 8px; }

.container { max-width: var(--max-content); margin: 0 auto; padding: 0 var(--gutter); }

/* ====== NAV ====== */
.nav {
  background: var(--white);
  border-bottom: 1px solid rgba(73, 54, 42, 0.1);
  position: sticky; top: 0; z-index: 50;
}
.nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 16px;
}
.nav__brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.nav__logo { height: 56px; width: auto; max-width: 100%; display: block; }
.nav__contact {
  font-size: 0.9375rem; color: var(--anthrazit); font-weight: 500;
  text-decoration: none;
}
.nav__contact:hover { color: var(--orange-deep); text-decoration: underline; text-decoration-color: var(--orange); }

@media (max-width: 520px) {
  .nav__logo { height: 32px; }
  .nav__contact { font-size: 0.8125rem; }
}

/* ====== HERO ====== */
.hero { padding: clamp(56px, 8vw, 110px) 0; }
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.hero__copy { min-width: 0; max-width: 720px; }
.hero__eyebrow {
  display: inline-block;
  font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 18px;
}
.hero__title {
  font-size: clamp(1.65rem, 3vw + 1rem, 3rem);
  font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.15; color: var(--anthrazit);
  margin: 0 0 16px; overflow-wrap: anywhere;
}
.hero__title-line2 { display: block; }
.hero__lead {
  font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.2rem);
  color: var(--anthrazit); margin: 24px 0 36px;
  max-width: 60ch;
}
.hero__visual {
  display: flex; align-items: center; justify-content: center;
}
.hero__visual img {
  max-width: 100%; height: auto; display: block;
}
@media (max-width: 820px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__visual { order: 1; max-width: 280px; margin: 8px auto 0; }
}
@media (max-width: 520px) {
  .hero__visual { max-width: 220px; }
}

/* ====== CTA Button ====== */
.cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--anthrazit); color: var(--white);
  padding: 14px 28px; border-radius: 6px;
  border: 2px solid var(--orange);
  font-weight: 600; font-size: 1rem;
  text-decoration: none;
  transition: transform 120ms ease, box-shadow 200ms ease, background 200ms ease;
}
.cta:hover, .cta:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(73, 54, 42, 0.22);
  background: var(--anthrazit-dark);
  outline: none;
}
.cta::after { content: "→"; transition: transform 200ms ease; }
.cta:hover::after { transform: translateX(4px); }

/* ====== SECTIONS ====== */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--soft { background: var(--cream-soft); }
.section--dark { background: var(--anthrazit); color: var(--white); }

.section-head { max-width: 720px; margin: 0 auto clamp(40px, 5vw, 56px); text-align: center; }
.section-head__eyebrow {
  display: inline-block;
  font-size: 0.8125rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--orange-deep);
  margin-bottom: 12px;
}
.section-head__title {
  font-size: clamp(1.5rem, 1.5vw + 1rem, 2.25rem);
  font-weight: 700; letter-spacing: -0.02em;
  line-height: 1.2; color: var(--anthrazit);
  margin: 0;
}

/* ====== SERVICES ====== */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}
@media (max-width: 820px) { .services { grid-template-columns: 1fr; } }

.service {
  background: var(--white);
  border: 1px solid rgba(73, 54, 42, 0.08);
  border-radius: 14px;
  padding: clamp(24px, 2.5vw, 32px);
  box-shadow: 0 1px 2px rgba(73, 54, 42, 0.04);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.service:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(73, 54, 42, 0.1);
  border-color: var(--orange);
}
.service__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(219, 113, 34, 0.12);
  color: var(--orange-deep);
  font-size: 1.5rem; font-weight: 700;
  margin-bottom: 18px;
}
.service__title {
  font-size: 1.15rem; font-weight: 700;
  margin: 0 0 8px;
}
.service__text {
  font-size: 0.9375rem; color: var(--anthrazit);
  margin: 0; line-height: 1.6;
}
.service__text strong { color: var(--orange-deep); font-weight: 600; }

/* ====== CONTACT ====== */
.contact { text-align: center; }
.contact__row {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 16px 32px;
  font-size: 1.0625rem;
  margin-top: 18px;
}
.contact__row a {
  color: var(--anthrazit); font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 2px;
}
.contact__row a:hover { color: var(--orange-deep); }

/* ====== FOOTER ====== */
.footer {
  background: var(--anthrazit);
  color: rgba(255, 255, 255, 0.8);
  padding-top: clamp(48px, 6vw, 72px);
}
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr);
  gap: clamp(32px, 4vw, 64px);
  padding-bottom: 36px;
}
.footer__brand-block { display: flex; flex-direction: column; gap: 14px; }
.footer__logo { height: 48px; width: auto; filter: brightness(0) invert(1); opacity: 0.92; }
.footer__strapline {
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 600;
}
.footer__claim {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 32ch;
  margin: 0;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}
.footer h4 {
  color: var(--white);
  font-size: 0.9375rem;
  margin: 0 0 14px;
  font-weight: 600;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer address {
  font-style: normal; font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78); line-height: 1.7;
}
.footer a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem; text-decoration: none;
}
.footer a:hover { color: var(--orange); text-decoration: underline; }

.footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  font-size: 0.8125rem;
}
.footer__copy-inner {
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
  color: rgba(255, 255, 255, 0.5);
}
.footer__copy-inner em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 820px) {
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
}

/* ====== STUDY DISCLAIMER BANNER ====== */
.study-banner {
  background: var(--orange);
  color: var(--anthrazit-dark);
  font-size: 0.8125rem;
  text-align: center;
  padding: 8px var(--gutter);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.study-banner strong { font-weight: 800; }

/* ====== COOKIE BANNER ====== */
.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid rgba(73, 54, 42, 0.15);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(73, 54, 42, 0.2);
  padding: 18px 22px;
  z-index: 90;
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1 1 320px;
  font-size: 0.875rem;
  color: var(--anthrazit);
  margin: 0;
}
.cookie-banner__text a {
  color: var(--orange-deep);
  text-decoration: underline;
}
.cookie-banner__actions {
  display: inline-flex; gap: 8px;
}
.cookie-banner button {
  background: var(--anthrazit);
  color: var(--white);
  border: 2px solid var(--orange);
  font: inherit; font-weight: 600;
  font-size: 0.875rem;
  padding: 9px 18px; border-radius: 6px;
  cursor: pointer;
  transition: background 160ms ease;
}
.cookie-banner button:hover { background: var(--anthrazit-dark); }
.cookie-banner.is-hidden { display: none; }

/* ====== Article / Legal pages ====== */
.legal { padding: clamp(48px, 6vw, 80px) 0; }
.legal__inner {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  padding: clamp(28px, 4vw, 56px);
  box-shadow: 0 2px 6px rgba(73, 54, 42, 0.05);
}
.legal__inner h1 {
  font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem);
  margin: 0 0 16px;
  color: var(--anthrazit);
}
.legal__inner h2 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
  color: var(--anthrazit);
}
.legal__inner h3 {
  font-size: 1rem;
  margin: 18px 0 6px;
  color: var(--anthrazit);
}
.legal__inner p { margin: 0 0 12px; line-height: 1.7; font-size: 0.95rem; }
.legal__inner ul, .legal__inner ol { padding-left: 1.2em; margin: 0 0 14px; }
.legal__inner li { margin: 4px 0; font-size: 0.95rem; }
.legal__inner address {
  font-style: normal;
  background: var(--cream-soft);
  padding: 14px 18px; border-radius: 8px;
  margin: 12px 0 18px;
  line-height: 1.7; font-size: 0.95rem;
}
.legal__inner a { color: var(--orange-deep); }
.legal__back {
  display: inline-flex; align-items: center;
  font-size: 0.9rem; color: var(--anthrazit);
  text-decoration: none; margin-bottom: 24px;
  border-bottom: 1px dashed var(--orange);
  padding-bottom: 2px;
}
.legal__back:hover { color: var(--orange-deep); }
.legal__placeholder {
  background: rgba(219, 113, 34, 0.08);
  border-left: 4px solid var(--orange);
  padding: 16px 20px;
  border-radius: 8px;
  margin: 16px 0;
  color: var(--anthrazit);
  font-style: italic;
  font-size: 0.95rem;
}

/* ====== Reduced motion ====== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__visual img[src*="animated"] { content: url("logo-ilm.png"); }
}
