/* femvia.at - premium static design system */
:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-muted: #f2efe8;
  --ink: #111111;
  --muted: #57534c;
  --soft: #8a8378;
  --line: #ddd6ca;
  --green: #16422d;
  --green-dark: #0d2a1d;
  --max: 1240px;
  --side: clamp(20px, 5vw, 72px);
  --radius: 14px;
  --shadow: 0 28px 80px rgba(17, 17, 17, .10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green); }
:focus-visible { outline: 3px solid rgba(24, 61, 43, .24); outline-offset: 3px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; transform: translateY(-140%); padding: 10px 14px; border-radius: 6px; background: var(--green); color: #fff; }
.skip-link:focus { transform: none; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 96px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 0 var(--side);
  background: rgba(251, 250, 247, .96);
  border-bottom: 1px solid rgba(221, 214, 202, .82);
  backdrop-filter: blur(20px);
}
.brand { display: inline-flex; align-items: center; width: min(220px, 32vw); height: 64px; overflow: visible; }
.brand img { width: 64px; height: 64px; max-width: none; object-fit: contain; object-position: left center; transform: scale(2.85); transform-origin: left center; }
.main-nav { display: flex; justify-content: flex-end; align-items: center; gap: clamp(26px, 3.1vw, 44px); }
.main-nav a {
  position: relative;
  color: var(--ink);
  font-size: 17px;
  font-weight: 560;
  text-decoration: none;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -9px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--green);
  transition: transform .18s ease;
}
.main-nav a.is-active::after,
.main-nav a:hover::after { transform: scaleX(1); }
.header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 17px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: var(--green);
  color: #fff !important;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
  transform: translateZ(0);
}
.header-cta:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff !important; transform: scale(1.035); }
.menu-toggle, .mobile-nav { display: none; }

/* Shared layout */
main { min-height: 62vh; }
.hero-section,
.services-section,
.experience-section,
.logos-section,
.special-section,
.cta-section,
.text-section,
.profile-section,
.simple-cta,
.legal,
.certs,
blockquote,
.contact-section { width: min(var(--max), calc(100% - var(--side) * 2)); margin-inline: auto; }
.split { display: grid; grid-template-columns: minmax(0, .96fr) minmax(360px, .86fr); gap: clamp(54px, 7vw, 106px); align-items: center; }
.eyebrow { margin: 0 0 16px; color: var(--green); font-size: 12px; font-weight: 780; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--ink); letter-spacing: 0; }
h1 { max-width: 820px; margin-bottom: 22px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 3.35vw, 52px); line-height: 1.08; font-weight: 400; overflow-wrap: break-word; hyphens: auto; }
h2 { margin-bottom: 18px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(28px, 2.7vw, 40px); line-height: 1.12; font-weight: 400; }
h3 { margin-bottom: 12px; font-size: clamp(19px, 1.45vw, 22px); line-height: 1.24; font-weight: 650; overflow-wrap: break-word; hyphens: auto; }
p { color: var(--muted); }
.lead { max-width: 700px; color: #2b2925; font-size: clamp(18px, 1.35vw, 21px); line-height: 1.58; font-weight: 400; }
.muted-lead { color: var(--muted); }
.hero-proof { display: flex; flex-wrap: wrap; gap: 0; margin-top: 30px; color: var(--soft); font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.hero-proof span { display: inline-flex; align-items: center; }
.hero-proof span + span::before { content: ""; width: 28px; height: 1px; margin: 0 14px; background: var(--line); }
ul { color: var(--muted); padding-left: 21px; }

/* Hero */
.hero-section { padding: clamp(58px, 7vw, 96px) 0 clamp(52px, 7vw, 86px); }
.hero-section.split { position: relative; isolation: isolate; }
.hero-section.split::before {
  content: "";
  position: absolute;
  inset: clamp(28px, 4vw, 54px) calc(-1 * var(--side)) auto auto;
  width: min(44vw, 580px);
  height: clamp(360px, 42vw, 600px);
  z-index: -1;
  background: linear-gradient(135deg, rgba(22, 66, 45, .11), rgba(242, 239, 232, .56));
  border-radius: 0 0 0 120px;
}
.hero-copy { align-self: center; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-media,
.side-image { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--surface-muted); box-shadow: none; }
.hero-media { padding: 10px; background: #fff; border: 1px solid rgba(221, 214, 202, .9); }
.hero-media img { width: 100%; height: clamp(390px, 43vw, 560px); object-fit: cover; object-position: center; border-radius: calc(var(--radius) - 5px); }
.side-image img { width: 100%; height: clamp(340px, 38vw, 500px); object-fit: cover; object-position: center; }
.side-image.portrait img { height: clamp(480px, 58vw, 680px); object-position: center top; }

/* Buttons */
.button,
.footer-button,
.text-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid var(--green);
  border-radius: 999px;
  background: var(--green);
  color: #fff !important;
  font-size: 15.5px;
  font-weight: 680;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
  transform: translateZ(0);
}
.button:hover,
.footer-button:hover,
.text-button:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff !important; transform: scale(1.035); }
.button-secondary { background: transparent; color: var(--green) !important; }
.button-secondary:hover { background: var(--green); border-color: var(--green); color: #fff !important; }
.cta-section .button,
.simple-cta .button { background: #fff; border-color: #fff; color: var(--green-dark) !important; }
.cta-section .button:hover,
.simple-cta .button:hover { background: transparent; border-color: rgba(255,255,255,.82); color: #fff !important; transform: scale(1.035); }

/* Sections */
.section-heading { max-width: 820px; margin-bottom: 34px; }
.services-section { padding: 0 0 clamp(76px, 9vw, 124px); }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service-grid article { min-height: 340px; display: flex; flex-direction: column; padding: clamp(28px, 3vw, 40px); background: rgba(255,255,255,.82); overflow: hidden; }
.service-grid span { margin-bottom: 28px; color: var(--green); font-size: 13px; font-weight: 760; }
.service-grid h3 { max-width: 95%; }
.service-grid p { font-size: 15.8px; }
.result { margin-top: auto; color: var(--ink); font-weight: 610; }
.experience-section { padding: clamp(54px, 7vw, 88px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos-section {
  padding: clamp(76px, 8.6vw, 118px) 0;
  border-top: 1px solid rgba(221, 214, 202, .72);
  border-bottom: 1px solid rgba(221, 214, 202, .72);
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.logo-card {
  height: 142px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logo-card img { width: 100%; max-width: 168px; height: 82px; object-fit: contain; opacity: .96; filter: saturate(.9); }
.logo-card:nth-child(3n) img,
.logo-card:nth-child(6n) img { max-width: 188px; }
.logo-card:nth-child(8) img,
.logo-card:nth-child(15) img,
.logo-card:nth-child(17) img { max-width: 198px; }
.logo-card:nth-child(9) img,
.logo-card:nth-child(18) img { max-width: 156px; height: 92px; }
.logo-card.logo-large img { max-width: 216px; height: 100px; transform: scale(1.16); transform-origin: center; }
.logo-card.logo-large.logo-wide img { max-width: 232px; height: 104px; transform: scale(1.12); }
.special-section { padding: 0 0 clamp(70px, 9vw, 112px); }
.special-section.standalone { width: min(var(--max), calc(100% - var(--side) * 2)); margin-inline: auto; }
.special-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.special-grid article { padding: clamp(28px, 4vw, 42px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.special-grid p { min-height: 112px; }
.profile-section { padding-bottom: clamp(64px, 8vw, 100px); }
.text-section { max-width: 920px; padding: clamp(54px, 7vw, 86px) 0; }
.about-workshop-feature { width: min(var(--max), calc(100% - var(--side) * 2)); margin: 0 auto; padding: 0 0 clamp(42px, 6vw, 72px); }
.about-media-block { display: grid; grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr); gap: clamp(34px, 5vw, 72px); align-items: center; }
.about-media-block > div { min-width: 0; }
.about-media-block figure { margin: 0; overflow: hidden; border-radius: var(--radius); }
.about-workshop-feature img { width: 100%; height: clamp(340px, 36vw, 480px); object-fit: cover; object-position: center; }
.about-content { width: min(var(--max), calc(100% - var(--side) * 2)); margin-inline: auto; padding-bottom: clamp(42px, 6vw, 72px); text-align: left; }
.about-content > .about-media-block { margin-bottom: clamp(58px, 7vw, 92px); }
.about-wide-text { max-width: none; margin-bottom: clamp(50px, 6vw, 82px); }
.about-wide-text p { max-width: none; color: #2b2925; font-size: clamp(18px, 1.35vw, 21px); line-height: 1.62; }
.about-content > p,
.about-content > h2,
.about-content > ul { max-width: none; }
.about-content h2 { margin-top: clamp(34px, 5vw, 56px); }
.about-media-block h2 { margin-top: 0; }
.about-background-block { align-items: center; }
.about-practice-block { align-items: start; }
.about-practice-block h2 + p,
.about-practice-block p + h2 { margin-top: clamp(22px, 3vw, 34px); }
.about-practice-block figure { align-self: center; }
.about-practice-block img { width: 100%; height: clamp(340px, 36vw, 500px); object-fit: cover; object-position: center; }
.about-content ul { margin: 0 0 24px; }
.about-inline-image { box-shadow: none; }
.about-inline-image img { width: 100%; height: clamp(420px, 46vw, 620px); object-fit: cover; object-position: center 40%; }
.about-business-block { max-width: none; }
blockquote { max-width: none; margin-top: 0; margin-bottom: clamp(58px, 8vw, 90px); padding: 26px 32px; border-left: 4px solid var(--green); background: var(--surface-muted); border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink); font-size: clamp(21px, 2.1vw, 30px); font-weight: 500; line-height: 1.42; }
.certs { width: min(760px, calc(100% - var(--side) * 2)); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-bottom: clamp(60px, 8vw, 96px); }
.certs a { display: flex; align-items: center; justify-content: center; min-height: 140px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.certs img { width: 100%; height: 92px; object-fit: contain; }
.simple-cta,
.cta-section { margin-bottom: clamp(76px, 8vw, 112px); }
.simple-cta {
  padding: clamp(42px, 5.6vw, 70px);
  background: var(--green-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.simple-cta h2,
.simple-cta p { color: #fff; }
.simple-cta p { color: rgba(255,255,255,.78); }
.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
  padding: clamp(44px, 6vw, 74px);
  background: var(--green-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cta-main h2,
.cta-main p { color: #fff; }
.cta-main p { color: rgba(255,255,255,.78); }
.cta-main p { max-width: 760px; }
.service-note { color: rgba(255,255,255,.72); font-size: 14.5px; line-height: 1.62; padding-left: clamp(22px, 3vw, 36px); border-left: 1px solid rgba(255,255,255,.22); }
.service-note h2 { color: #fff; font-family: inherit; font-size: 15px; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.service-note p { margin-bottom: 10px; color: rgba(255,255,255,.68); }
.consulting-final { grid-template-columns: 1fr; }
.consulting-final .cta-main { max-width: 820px; }
.service-disclaimer { width: min(var(--max), calc(100% - var(--side) * 2)); max-width: 920px; margin: calc(-1 * clamp(52px, 6vw, 82px)) auto clamp(76px, 8vw, 112px); }
.service-disclaimer h2 { margin-bottom: 8px; color: var(--ink); font-family: inherit; font-size: 12px; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.service-disclaimer p { margin: 0; color: var(--ink); font-size: 12.5px; line-height: 1.55; }

/* Contact */
.contact-page { width: min(var(--max), calc(100% - var(--side) * 2)); margin-inline: auto; padding: clamp(70px, 8vw, 118px) 0 clamp(78px, 9vw, 124px); }
.contact-page h1 { margin-bottom: 14px; }
.contact-lead { margin-bottom: clamp(32px, 5vw, 58px); }
.contact-section { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(320px, .88fr); gap: clamp(34px, 6vw, 78px); align-items: start; padding-bottom: 0; }
.contact-page .contact-section { width: 100%; margin: 0; }
.contact-image { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: none; }
.contact-image img { width: 100%; height: clamp(520px, 52vw, 720px); object-fit: cover; object-position: center top; }
.contact-form { display: grid; grid-template-columns: 1fr; gap: 16px; padding: clamp(26px, 3.8vw, 44px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: none; }
.contact-form label { display: grid; gap: 7px; color: var(--ink); font-size: 14px; font-weight: 620; }
.contact-form input,
.contact-form select,
.contact-form textarea { width: 100%; min-height: 48px; border: 1px solid #cfc7b8; border-radius: 6px; background: #fff; color: var(--ink); padding: 12px 13px; font: inherit; font-size: 15px; }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form label:nth-of-type(6),
.contact-form label:nth-of-type(7),
.checkbox-label,
.contact-form button { grid-column: 1 / -1; }
.checkbox-label { display: flex !important; align-items: flex-start; gap: 12px; font-weight: 400 !important; line-height: 1.45; }
.checkbox-label input { width: 18px; min-height: 18px; margin-top: 3px; flex: 0 0 auto; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Legal */
.legal { max-width: 860px; padding: clamp(62px, 8vw, 104px) 0; }
.legal h1 { font-size: clamp(36px, 4vw, 54px); }
.legal h2 { margin-top: 34px; font-size: 23px; }
.legal a { font-weight: 650; }
.legal-download { margin-top: 12px; }

/* Footer */
.site-footer { background: #0b2418; color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.footer-inner { width: min(var(--max), calc(100% - var(--side) * 2)); margin: 0 auto; display: grid; grid-template-columns: 1.55fr .8fr .72fr; gap: clamp(28px, 5vw, 70px); padding: 42px 0 24px; }
.footer-logo { display: inline-flex; width: 194px; margin-bottom: 14px; }
.footer-logo img { width: 100%; max-height: 34px; object-fit: contain; object-position: left center; filter: brightness(0) invert(1); opacity: .96; }
.footer-inner p,
.footer-inner a { color: rgba(255,255,255,.78); }
.footer-inner p { margin-bottom: 10px; font-size: 14.5px; line-height: 1.58; }
.footer-inner h2 { margin: 0 0 12px; color: #fff; font-size: 12px; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.footer-inner nav { display: grid; gap: 5px; }
.footer-inner a { font-size: 14.5px; text-decoration: none; }
.footer-inner a:hover { color: #fff; }
.footer-specials { margin-top: 16px; }
.footer-tagline { max-width: 390px; }
.footer-bottom { width: min(var(--max), calc(100% - var(--side) * 2)); margin: 0 auto; display: flex; justify-content: space-between; gap: 18px; padding: 18px 0 30px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.56); font-size: 13px; }

/* Responsive */
@media (max-width: 1180px) {
  h1 { font-size: clamp(34px, 4.6vw, 50px); }
}
@media (max-width: 1080px) {
  .site-header { grid-template-columns: auto 1fr; min-height: 78px; }
  .main-nav { display: none; }
  .header-cta { display: none; }
  .menu-toggle { justify-self: end; display: inline-flex; width: 42px; height: 42px; align-items: center; justify-content: center; flex-direction: column; gap: 5px; border: 1px solid var(--line); border-radius: 8px; background: transparent; }
  .menu-toggle span { width: 21px; height: 2px; background: var(--green); }
  .mobile-nav { position: absolute; top: calc(100% + 8px); left: var(--side); right: var(--side); display: none; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 42px rgba(23,23,23,.08); }
  .mobile-nav.is-open { display: grid; }
  .mobile-nav a { min-height: 44px; display: flex; align-items: center; padding: 9px 12px; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: 6px; }
  .mobile-nav a.is-active,
  .mobile-nav a:hover { background: var(--surface-muted); color: var(--green); }
  .mobile-nav .mobile-cta { margin-top: 6px; background: var(--green); color: #fff; justify-content: center; transition: transform .18s ease; }
  .mobile-nav .mobile-cta:hover { transform: scale(1.02); }
  .split,
  .about-media-block,
  .experience-section,
  .cta-section,
  .contact-section { grid-template-columns: 1fr; }
  .contact-image img { height: 460px; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header { padding-inline: 20px; }
  .brand { width: 150px; height: 52px; }
  .brand img { width: 52px; height: 52px; transform: scale(2.08); }
  h1 { font-size: 34px; }
  h2 { font-size: 30px; }
  .hero-section { padding: 54px 0 62px; }
  .hero-section.split::before { display: none; }
  .hero-proof { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 16px; font-size: 12px; letter-spacing: .06em; }
  .hero-proof span + span::before { display: none; }
  .hero-media img,
  .side-image img,
  .side-image.portrait img { height: 340px; }
  .about-workshop-feature img { height: 300px; }
  .about-inline-image img { height: 300px; }
  .about-practice-block img { height: 300px; }
  .button-row { display: grid; }
  .button { width: 100%; }
  .service-grid,
  .special-grid,
  .contact-form,
  .certs { grid-template-columns: 1fr; }
  .service-grid article { min-height: 0; padding: 24px; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .logo-card { height: 120px; padding: 14px; border: 1px solid var(--line); }
  .logo-card img { height: 68px; max-width: 150px; }
  .logo-card.logo-large img,
  .logo-card.logo-large.logo-wide img { height: 82px; max-width: 174px; transform: scale(1.1); }
  .special-grid p { min-height: 0; }
  .footer-inner { grid-template-columns: 1fr; padding: 34px 0 24px; }
  .footer-bottom { display: grid; padding-bottom: 30px; }
  .service-note { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.2); padding-top: 22px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
