/*
Theme Name: Firmengruppe Höfl
Theme URI: https://hoefl.group/
Author: Firmengruppe Höfl
Description: Moderner, responsiver WordPress-Firmenauftritt für die Firmengruppe Höfl mit vier Unternehmensseiten, Logo-Platzhaltern und zentral gepflegten Kontaktdaten.
Version: 1.11.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: firmengruppe-hoefl
*/

:root {
  --fh-ink: #15202b;
  --fh-muted: #657180;
  --fh-surface: #ffffff;
  --fh-soft: #f4f7fa;
  --fh-line: #dce3e9;
  --fh-dark: #101820;
  --fh-blue: #0798d6;
  --fh-green: #91c52f;
  --fh-magenta: #cf168c;
  --fh-red: #ef2b26;
  --fh-yellow: #ffc720;
  --fh-radius: 24px;
  --fh-shadow: 0 18px 55px rgba(16, 24, 32, 0.1);
  --fh-content: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--fh-ink);
  background: var(--fh-soft);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--fh-blue); text-underline-offset: 0.18em; }
a:hover { color: #057caf; }
button, input, textarea, select { font: inherit; }

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background: #fff;
  clip: auto !important;
  clip-path: none;
  color: var(--fh-ink);
  display: block;
  height: auto;
  left: 12px;
  padding: 12px 16px;
  top: 12px;
  width: auto;
  z-index: 100000;
  border-radius: 10px;
  box-shadow: var(--fh-shadow);
}

.fh-container {
  width: min(calc(100% - 40px), var(--fh-content));
  margin-inline: auto;
}

.fh-topbar {
  color: #fff;
  background: #0b0633;
  font-size: 14px;
  font-weight: 700;
}
.fh-topbar__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding-block: 7px;
  text-align: right;
}
.fh-topbar__item {
  color: #fff;
  line-height: 1.35;
  white-space: nowrap;
}
.fh-topbar a { color: #fff; text-decoration: none; }
.fh-topbar a:hover,
.fh-topbar a:focus-visible { color: #fff; text-decoration: underline; }
.fh-topbar__separator { color: rgba(255,255,255,.58); font-weight: 500; }
.fh-contact-label { font-weight: 850; }

.fh-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(220,227,233,.8);
  backdrop-filter: blur(18px);
}
.admin-bar .fh-site-header { top: 32px; }
.fh-header__inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.fh-brand { display: inline-flex; align-items: center; text-decoration: none; }
.fh-brand img { width: 255px; max-height: 70px; object-fit: contain; object-position: left center; }
.custom-logo-link { display: inline-flex; }
.custom-logo { width: 255px; max-height: 70px; object-fit: contain; }

.fh-nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--fh-line);
  background: #fff;
  border-radius: 13px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.fh-nav-toggle span,
.fh-nav-toggle span::before,
.fh-nav-toggle span::after {
  display: block;
  width: 21px;
  height: 2px;
  background: var(--fh-ink);
  border-radius: 99px;
  content: "";
  transition: .2s ease;
}
.fh-nav-toggle span { position: relative; }
.fh-nav-toggle span::before { position: absolute; top: -7px; }
.fh-nav-toggle span::after { position: absolute; top: 7px; }

.fh-primary-nav { margin-left: auto; min-width: 0; }
.fh-primary-nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.fh-primary-nav a {
  display: block;
  padding: 10px 9px;
  color: var(--fh-ink);
  font-weight: 650;
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
  border-radius: 10px;
}
.fh-primary-nav a:hover,
.fh-primary-nav .current-menu-item > a,
.fh-primary-nav .current_page_item > a {
  color: #057caf;
  background: #edf8fd;
}

.fh-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 82px;
  background:
    radial-gradient(circle at 12% 20%, rgba(145,197,47,.2), transparent 28%),
    radial-gradient(circle at 88% 20%, rgba(7,152,214,.18), transparent 28%),
    radial-gradient(circle at 80% 90%, rgba(207,22,140,.12), transparent 24%),
    linear-gradient(135deg, #ffffff 0%, #f8fbfd 56%, #f4f9fc 100%);
}
.fh-hero::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -180px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 75px solid rgba(255,199,32,.12);
}
.fh-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: 70px;
}
.fh-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: #057caf;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.fh-eyebrow::before {
  width: 28px;
  height: 3px;
  content: "";
  border-radius: 99px;
  background: linear-gradient(90deg, var(--fh-green), var(--fh-blue));
}
.fh-hero h1,
.fh-page-hero h1 {
  margin: 0;
  color: var(--fh-ink);
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.03;
  letter-spacing: -.045em;
}
.fh-hero__lead {
  max-width: 670px;
  margin: 25px 0 0;
  color: var(--fh-muted);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.55;
}
.fh-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.fh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #fff;
  background: var(--fh-dark);
  box-shadow: 0 10px 24px rgba(16,24,32,.13);
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.fh-button:hover { color: #fff; background: #243340; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(16,24,32,.18); }
.fh-button--light { color: var(--fh-ink); background: #fff; border-color: var(--fh-line); box-shadow: none; }
.fh-button--light:hover { color: var(--fh-ink); background: #f8fafb; }

.fh-hero__visual {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
}
.fh-logo-panel {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(100%, 560px);
  padding: 48px 34px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(220,227,233,.9);
  border-radius: 34px;
  box-shadow: 0 30px 90px rgba(16,24,32,.15);
}
.fh-logo-panel img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 320px;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
}
.fh-orbit {
  position: absolute;
  border: 20px solid;
  border-radius: 50%;
  opacity: .55;
}
.fh-orbit--one { width: 170px; height: 170px; right: -12px; top: 8px; border-color: rgba(7,152,214,.35); }
.fh-orbit--two { width: 105px; height: 105px; left: 5px; bottom: 20px; border-color: rgba(207,22,140,.28); }

.fh-section { padding: 88px 0; }
.fh-section--white { background: #fff; }
.fh-section--dark { color: #fff; background: var(--fh-dark); }
.fh-section__head { max-width: 760px; margin-bottom: 42px; }
.fh-section__head h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 49px);
  line-height: 1.1;
  letter-spacing: -.035em;
}
.fh-section__head p { margin: 16px 0 0; color: var(--fh-muted); font-size: 19px; }
.fh-section--dark .fh-section__head p { color: rgba(255,255,255,.68); }

.fh-company-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.fh-company-card {
  --card-accent: var(--fh-blue);
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--fh-line);
  border-radius: var(--fh-radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(16,24,32,.06);
  transition: transform .22s ease, box-shadow .22s ease;
}
.fh-company-card:nth-child(2) { --card-accent: var(--fh-green); }
.fh-company-card:nth-child(3) { --card-accent: var(--fh-magenta); }
.fh-company-card:nth-child(4) { --card-accent: var(--fh-red); }
.fh-company-card::before {
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  content: "";
  background: var(--card-accent);
}
.fh-company-card:hover { transform: translateY(-6px); box-shadow: var(--fh-shadow); }
.fh-company-card:focus-within { transform: translateY(-6px); box-shadow: var(--fh-shadow); }
.fh-company-card__overlay-link {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  cursor: pointer;
}
.fh-company-card__overlay-link:focus-visible {
  outline: 3px solid rgba(7,152,214,.42);
  outline-offset: -5px;
}
.fh-company-logo {
  min-height: 190px;
  display: grid;
  place-items: center;
  margin-bottom: 23px;
  padding: 14px;
  border-radius: 18px;
  background: #f7f9fb;
  border: 1px dashed #c9d3dc;
}
.fh-company-logo.has-logo { background: #fff; border-style: solid; }
.fh-company-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 164px;
  margin: auto;
  object-fit: contain;
  object-position: center;
}
.fh-company-card--ilmtaler .fh-company-logo img { max-height: 174px; }
.fh-company-logo__placeholder { text-align: center; color: #8a96a2; }
.fh-company-logo__placeholder strong { display: block; color: var(--card-accent); font-size: 24px; letter-spacing: .08em; }
.fh-company-logo__placeholder small { display: block; margin-top: 4px; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.fh-company-card h3 { margin: 0; font-size: 23px; line-height: 1.2; }
.fh-company-card p { margin: 13px 0 24px; color: var(--fh-muted); font-size: 15px; }
.fh-text-link { margin-top: auto; color: var(--fh-ink); font-weight: 800; text-decoration: none; }
.fh-text-link::after { display: inline-block; margin-left: 7px; content: "→"; transition: transform .18s ease; }
.fh-text-link:hover::after { transform: translateX(4px); }

.fh-about-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 76px;
  align-items: start;
}
.fh-content-card {
  padding: clamp(28px, 5vw, 54px);
  border-radius: 28px;
  background: #fff;
  border: 1px solid var(--fh-line);
  box-shadow: 0 12px 36px rgba(16,24,32,.07);
}
.fh-content-card > :first-child { margin-top: 0; }
.fh-content-card > :last-child { margin-bottom: 0; }
.fh-values { display: grid; gap: 15px; }
.fh-value {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 15px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--fh-line);
  border-radius: 18px;
}
.fh-value__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-weight: 900;
  background: #edf8fd;
  color: #057caf;
}
.fh-value h3 { margin: 0; font-size: 18px; }
.fh-value p { margin: 4px 0 0; color: var(--fh-muted); font-size: 15px; }

.fh-contact-band {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 36px;
  padding: 48px;
  border-radius: 30px;
  background: linear-gradient(120deg, #0d151c, #1f2e39);
  box-shadow: 0 25px 60px rgba(16,24,32,.2);
}
.fh-contact-band::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -110px;
  width: 280px;
  height: 280px;
  border: 44px solid rgba(7,152,214,.25);
  border-radius: 50%;
}
.fh-contact-band > * { position: relative; z-index: 1; }
.fh-contact-band h2 { margin: 0; color: #fff; font-size: clamp(30px,4vw,45px); line-height: 1.1; }
.fh-contact-band p { margin: 12px 0 0; color: rgba(255,255,255,.7); }
.fh-contact-band__link { color: inherit; text-decoration: none; }
.fh-contact-band__link:hover { color: #fff; text-decoration: underline; }
.fh-contact-separator { display: inline-block; margin-inline: 8px; }
.fh-contact-band .fh-button { background: #fff; color: var(--fh-ink); }
.fh-contact-band .fh-button:hover { color: var(--fh-ink); background: #edf8fd; }

.fh-page-hero {
  padding: 78px 0 66px;
  background:
    radial-gradient(circle at 90% 10%, rgba(7,152,214,.14), transparent 30%),
    #fff;
  border-bottom: 1px solid var(--fh-line);
}
.fh-page-hero h1 { font-size: clamp(40px, 5vw, 64px); }
.fh-page-hero p { max-width: 760px; margin: 18px 0 0; color: var(--fh-muted); font-size: 20px; }
.fh-breadcrumbs { margin-bottom: 18px; color: var(--fh-muted); font-size: 14px; }
.fh-breadcrumbs a { color: var(--fh-muted); }

.fh-page-main { padding: 74px 0 96px; }
.fh-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 44px;
  align-items: start;
}
.fh-prose {
  padding: clamp(27px,5vw,56px);
  background: #fff;
  border: 1px solid var(--fh-line);
  border-radius: 26px;
  box-shadow: 0 12px 34px rgba(16,24,32,.06);
}
.fh-prose > :first-child { margin-top: 0; }
.fh-prose > :last-child { margin-bottom: 0; }
.fh-prose h2 { margin-top: 1.65em; font-size: 31px; line-height: 1.2; }
.fh-prose h3 { margin-top: 1.5em; font-size: 23px; }
.fh-prose ul, .fh-prose ol { padding-left: 1.3em; }
.fh-prose blockquote { margin: 28px 0; padding: 20px 24px; border-left: 4px solid var(--fh-blue); background: #f3f9fc; }
.fh-prose .wp-block-image { margin: 2em 0; }

.fh-company-identity {
  position: sticky;
  top: 132px;
  padding: 23px;
  border: 1px solid var(--fh-line);
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 12px 34px rgba(16,24,32,.06);
}
.fh-company-identity__logo {
  min-height: 250px;
  display: grid;
  place-items: center;
  padding: 18px;
  border-radius: 18px;
  background: #f7f9fb;
  border: 1px dashed #c9d3dc;
}
.fh-company-identity__logo.has-logo { background: #fff; border-style: solid; }
.fh-company-identity__logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 224px;
  margin: auto;
  object-fit: contain;
  object-position: center;
}
.fh-company-identity h2 { margin: 20px 0 8px; font-size: 21px; }
.fh-company-identity p { margin: 0; color: var(--fh-muted); font-size: 14px; }
.fh-company-identity__contact {
  display: block;
  margin-top: 16px;
  color: var(--fh-ink);
  font-size: 15px;
  text-decoration: none;
}
.fh-company-identity__contact:hover { color: #057caf; }
.fh-company-identity .fh-button { width: 100%; margin-top: 19px; }
.fh-company-identity .fh-button + .fh-button { margin-top: 10px; }


.fh-company-kicker {
  margin: 0 0 10px;
  color: #527812;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.fh-company-intro {
  margin: 0 0 30px;
  color: #384552;
  font-size: 20px;
  line-height: 1.65;
}
.fh-hotline-card {
  position: relative;
  overflow: hidden;
  margin: 34px 0 42px;
  padding: clamp(25px, 4vw, 38px);
  color: #fff;
  border-radius: 22px;
  background: linear-gradient(125deg, #13095b, #25127c 58%, #365a16 150%);
  box-shadow: 0 18px 42px rgba(19,9,91,.22);
}
.fh-hotline-card::after {
  position: absolute;
  width: 190px;
  height: 190px;
  right: -75px;
  top: -90px;
  content: "";
  border: 34px solid rgba(128,203,34,.34);
  border-radius: 50%;
}
.fh-hotline-card > * { position: relative; z-index: 1; }
.fh-hotline-card__eyebrow {
  margin: 0 0 8px;
  color: #baf46f;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.fh-prose .fh-hotline-card h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.fh-hotline-card h2 a,
.fh-hotline-card p a { color: #fff; }
.fh-hotline-card p { max-width: 670px; margin: 10px 0 0; color: rgba(255,255,255,.82); }
.fh-hotline-card strong { color: #fff; }
.fh-support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  margin: 34px 0 42px;
}
.fh-support-grid--single { grid-template-columns: minmax(0, 1fr); }
.fh-support-grid .fh-hotline-card { height: auto; margin: 0; }
.fh-prose .fh-support-grid .fh-hotline-card h2 {
  overflow-wrap: anywhere;
  font-size: clamp(30px, 5vw, 48px);
}
.fh-hotline-card--helpdesk {
  background: linear-gradient(125deg, #102a43, #075b82 58%, #0798d6 145%);
  box-shadow: 0 18px 42px rgba(7,91,130,.22);
}
.fh-hotline-card--helpdesk::after { border-color: rgba(255,255,255,.18); }
.fh-hotline-card--helpdesk .fh-hotline-card__eyebrow { color: #bcecff; }
.fh-prose .fh-support-card__button {
  min-height: 48px;
  margin-top: 12px;
  color: #13202b;
  background: #fff;
  box-shadow: none;
}
.fh-prose .fh-support-card__button:hover { color: #13202b; background: #eef8fc; }
.fh-button--helpdesk { background: #075b82; }
.fh-button--helpdesk:hover { background: #064b6b; }
.fh-service-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0 !important;
  list-style: none;
}
.fh-service-list li {
  position: relative;
  margin: 0;
  padding: 15px 17px 15px 48px;
  border: 1px solid #e1e8ed;
  border-radius: 15px;
  background: #f8fafb;
}
.fh-service-list li::before {
  position: absolute;
  left: 17px;
  top: 16px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  content: "✓";
  color: #fff;
  border-radius: 50%;
  background: #80cb22;
  font-size: 13px;
  font-weight: 900;
}
.fh-company-details {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 17px;
  margin-top: 25px;
}
.fh-company-details--single { grid-template-columns: minmax(0, 1fr); }
.fh-company-detail-card {
  padding: 24px;
  border: 1px solid #dfe6eb;
  border-radius: 18px;
  background: #f8fafb;
}
.fh-prose .fh-company-detail-card h3 { margin: 0 0 12px; }
.fh-company-detail-card p { margin: 10px 0 0; }
.fh-company-detail-card .fh-button { margin-top: 5px; }
.fh-company-identity__details {
  width: 100%;
  margin: 4px 0 7px;
  padding: 17px 18px;
  border: 1px solid var(--fh-line);
  border-radius: 15px;
  background: #f8fafb;
}
.fh-company-identity__details p { margin: 0; padding: 7px 0; border-bottom: 1px solid #e5eaee; }
.fh-company-identity__details p:last-child { border-bottom: 0; }
.fh-company-identity__details a { color: var(--fh-ink); text-decoration: none; overflow-wrap: anywhere; }
.fh-company-identity__details a:hover { color: #057caf; }

.fh-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.fh-contact-card {
  padding: clamp(28px, 4vw, 46px);
  background: #fff;
  border: 1px solid var(--fh-line);
  border-radius: 25px;
  box-shadow: 0 12px 34px rgba(16,24,32,.06);
}
.fh-contact-card h2 { margin-top: 0; font-size: 28px; }
.fh-contact-list { list-style: none; margin: 0; padding: 0; }
.fh-contact-list li { padding: 12px 0; border-bottom: 1px solid #eef1f4; }
.fh-contact-list li:last-child { border-bottom: 0; }
.fh-contact-list span { display: block; color: var(--fh-muted); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.fh-contact-list strong { display: block; margin-top: 3px; font-size: 18px; }
.fh-contact-list a { color: var(--fh-ink); text-decoration: none; }
.fh-contact-list a:hover { color: #057caf; }
.fh-map-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--fh-line);
  border-radius: 25px;
  box-shadow: 0 12px 34px rgba(16,24,32,.06);
}
.fh-map-embed {
  position: relative;
  min-height: 390px;
  background: #e9eef2;
}
.fh-map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.fh-map-card__footer {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 27px 29px 30px;
}
.fh-map-card__footer .fh-eyebrow { margin-bottom: 7px; }
.fh-map-card__footer h2 {
  margin: 0;
  font-size: clamp(23px, 2.4vw, 31px);
  line-height: 1.2;
}
.fh-map-card__footer p:not(.fh-eyebrow) {
  max-width: 560px;
  margin: 10px 0 0;
  color: var(--fh-muted);
}
.fh-map-card__footer .fh-button { white-space: nowrap; }


.fh-career-stack {
  display: grid;
  gap: 28px;
}
.fh-career-intro { width: 100%; }
.fh-career-status {
  position: relative;
  overflow: hidden;
  margin: 30px 0 38px;
  padding: clamp(25px, 4vw, 40px);
  color: #fff;
  border-radius: 22px;
  background: linear-gradient(125deg, #101820, #17384c 68%, #0798d6 150%);
  box-shadow: 0 18px 42px rgba(16,24,32,.18);
}
.fh-career-status::after {
  position: absolute;
  width: 190px;
  height: 190px;
  right: -75px;
  top: -90px;
  content: "";
  border: 34px solid rgba(145,197,47,.30);
  border-radius: 50%;
}
.fh-career-status > * { position: relative; z-index: 1; }
.fh-career-status__eyebrow {
  margin: 0 0 8px;
  color: #c8f18d;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.fh-prose .fh-career-status h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(29px, 4vw, 43px);
  line-height: 1.12;
}
.fh-career-status p:not(.fh-career-status__eyebrow) {
  max-width: 780px;
  margin: 10px 0 0;
  color: rgba(255,255,255,.82);
}
.fh-application-card {
  padding: clamp(28px, 5vw, 58px);
  background: #fff;
  border: 1px solid var(--fh-line);
  border-radius: 26px;
  box-shadow: 0 12px 34px rgba(16,24,32,.07);
}
.fh-application-card__head { max-width: 820px; margin-bottom: 32px; }
.fh-application-card__head .fh-eyebrow { margin-bottom: 10px; }
.fh-application-card__head h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -.03em;
}
.fh-application-card__head p { margin: 13px 0 0; color: var(--fh-muted); }
.fh-application-form { display: grid; gap: 26px; }
.fh-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.fh-form-field { min-width: 0; }
.fh-form-field label,
.fh-upload-fieldset legend {
  display: block;
  margin-bottom: 8px;
  color: var(--fh-ink);
  font-size: 15px;
  font-weight: 800;
}
.fh-form-field input,
.fh-form-field select,
.fh-form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  color: var(--fh-ink);
  background: #fff;
  border: 1px solid #cfd8df;
  border-radius: 12px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.fh-form-field textarea { min-height: 190px; resize: vertical; }
.fh-form-field input:focus,
.fh-form-field select:focus,
.fh-form-field textarea:focus {
  border-color: var(--fh-blue);
  box-shadow: 0 0 0 4px rgba(7,152,214,.13);
}
.fh-form-field input[type="file"] {
  min-height: 0;
  padding: 11px;
  background: #f8fafb;
}
.fh-form-field input[type="file"]::file-selector-button {
  margin-right: 10px;
  padding: 9px 12px;
  color: var(--fh-ink);
  background: #fff;
  border: 1px solid var(--fh-line);
  border-radius: 9px;
  font-weight: 750;
  cursor: pointer;
}
.fh-optional { color: var(--fh-muted); font-size: 13px; font-weight: 600; }
.fh-form-hint { margin: 7px 0 0; color: var(--fh-muted); font-size: 14px; }
.fh-upload-fieldset {
  min-width: 0;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--fh-line);
  border-radius: 18px;
  background: #f8fafb;
}
.fh-upload-fieldset legend { padding: 0 7px; }
.fh-upload-fieldset > .fh-form-hint { margin: -1px 0 18px; }
.fh-upload-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.fh-file-field { padding: 15px; background: #fff; border: 1px solid #e2e8ed; border-radius: 14px; }
.fh-consent-field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--fh-line);
  border-radius: 14px;
  background: #f8fafb;
  cursor: pointer;
}
.fh-consent-field input { width: 20px; height: 20px; margin: 3px 0 0; flex: 0 0 auto; accent-color: var(--fh-blue); }
.fh-consent-field span { line-height: 1.55; }
.fh-form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.fh-form-submit p { margin: 0; color: var(--fh-muted); font-size: 14px; }
.fh-form-message {
  margin: 0 0 28px;
  padding: 20px 22px;
  border-radius: 15px;
}
.fh-form-message h3 { margin: 0 0 7px; font-size: 21px; }
.fh-form-message p,
.fh-form-message ul { margin: 0; }
.fh-form-message--success { color: #23410b; background: #eff9e4; border: 1px solid #c8e5a4; }
.fh-form-message--error { color: #6c1717; background: #fff0f0; border: 1px solid #f0baba; }
.fh-form-message--error ul { padding-left: 1.25em; }
.fh-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.fh-site-footer { color: rgba(255,255,255,.72); background: #0c1218; }
.fh-footer-main { padding: 64px 0 44px; }
.fh-footer-grid { display: grid; grid-template-columns: 1.25fr .75fr .85fr; gap: 55px; }
.fh-footer-brand__link { display: inline-flex; }
.fh-footer-brand img { width: 290px; max-height: 105px; object-fit: contain; object-position: left; filter: brightness(1.25); }
.fh-footer-brand p { max-width: 470px; }
.fh-footer-title { margin: 0 0 14px; color: #fff; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.fh-footer-list { list-style: none; margin: 0; padding: 0; }
.fh-footer-list li { margin: 8px 0; }
.fh-footer-list a { color: rgba(255,255,255,.78); text-decoration: none; }
.fh-footer-list a:hover { color: #fff; }
.fh-footer-bottom { padding: 20px 0; border-top: 1px solid rgba(255,255,255,.09); font-size: 14px; }
.fh-footer-bottom__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.fh-footer-legal {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.fh-footer-legal__item {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin: 0;
  line-height: 1.5;
  vertical-align: middle;
}
.fh-footer-legal__separator {
  display: inline-flex;
  align-items: center;
  margin: 0 11px;
  color: rgba(255,255,255,.32);
  line-height: 1.5;
}
.fh-footer-legal a { color: rgba(255,255,255,.7); text-decoration: none; }
.fh-footer-legal a:hover { color: #fff; }

.fh-notice {
  margin: 0 0 26px;
  padding: 18px 20px;
  border-left: 4px solid var(--fh-yellow);
  background: #fff8dc;
  border-radius: 10px;
}

.fh-legal-starter h2 { scroll-margin-top: 120px; }
.fh-legal-starter p { overflow-wrap: anywhere; }

.alignwide { width: min(110%, 1280px); max-width: 1280px; margin-left: 50%; transform: translateX(-50%); }
.alignfull { width: 100vw; max-width: 100vw; margin-left: 50%; transform: translateX(-50%); }

@media (max-width: 1040px) {
  .fh-company-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fh-hero__grid { gap: 38px; }
  .fh-about-grid { gap: 38px; }
  .fh-footer-grid { grid-template-columns: 1fr 1fr; }
  .fh-footer-brand { grid-column: 1 / -1; }
}


@media (max-width: 1080px) {
  .admin-bar .fh-site-header { top: 46px; }
  .fh-header__inner { min-height: 76px; }
  .fh-brand img, .custom-logo { width: 210px; max-height: 58px; }
  .fh-nav-toggle { display: inline-flex; }
  .fh-primary-nav {
    position: absolute;
    inset: 76px 20px auto 20px;
    display: none;
    margin-left: 0;
    padding: 12px;
    border: 1px solid var(--fh-line);
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--fh-shadow);
  }
  .fh-primary-nav.is-open { display: block; }
  .fh-primary-nav ul { align-items: stretch; flex-direction: column; }
  .fh-primary-nav a { padding: 12px 14px; white-space: normal; }
}

@media (max-width: 860px) {
  .admin-bar .fh-site-header { top: 46px; }
  .fh-header__inner { min-height: 76px; }
  .fh-brand img, .custom-logo { width: 210px; max-height: 58px; }
  .fh-nav-toggle { display: inline-flex; }
  .fh-primary-nav {
    position: absolute;
    inset: 76px 20px auto 20px;
    display: none;
    padding: 12px;
    border: 1px solid var(--fh-line);
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--fh-shadow);
  }
  .fh-primary-nav.is-open { display: block; }
  .fh-primary-nav ul { align-items: stretch; flex-direction: column; }
  .fh-primary-nav a { padding: 12px 14px; }
  .fh-hero { padding: 68px 0; }
  .fh-hero__grid { grid-template-columns: 1fr; }
  .fh-hero__visual { min-height: 0; }
  .fh-logo-panel { max-width: 620px; transform: none; }
  .fh-about-grid, .fh-page-layout { grid-template-columns: 1fr; }
  .fh-company-identity { position: static; }
  .fh-contact-band { grid-template-columns: 1fr; padding: 36px; }
  .fh-contact-grid { grid-template-columns: 1fr; }
  .fh-form-grid, .fh-upload-grid { grid-template-columns: 1fr; }
  .fh-map-embed { min-height: 420px; }
}

@media (max-width: 620px) {
  .fh-topbar { font-size: 12.5px; }
  .fh-topbar__inner {
    min-height: 0;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 3px 13px;
    padding-block: 8px;
  }
  .fh-topbar__separator { display: none; }
  body { font-size: 16px; }
  .fh-container { width: min(calc(100% - 26px), var(--fh-content)); }
  .fh-hero { padding: 52px 0 58px; }
  .fh-hero h1 { font-size: 43px; }
  .fh-logo-panel { padding: 28px 20px; border-radius: 24px; }
  .fh-orbit { display: none; }
  .fh-section { padding: 66px 0; }
  .fh-company-grid { grid-template-columns: 1fr; }
  .fh-company-card { min-height: auto; }
  .fh-contact-band { padding: 29px 23px; border-radius: 24px; }
  .fh-page-hero { padding: 55px 0 45px; }
  .fh-page-main { padding: 48px 0 70px; }
  .fh-prose { padding: 25px 21px; border-radius: 20px; }
  .fh-contact-card { padding: 26px 22px; }
  .fh-application-card { padding: 26px 21px; border-radius: 20px; }
  .fh-upload-fieldset { padding: 18px 15px; }
  .fh-form-submit { align-items: stretch; flex-direction: column; }
  .fh-form-submit .fh-button { width: 100%; }
  .fh-map-embed { min-height: 340px; }
  .fh-map-card__footer { grid-template-columns: 1fr; padding: 24px 22px 26px; }
  .fh-map-card__footer .fh-button { width: 100%; text-align: center; }
  .fh-footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .fh-footer-brand { grid-column: auto; }
  .fh-footer-bottom__inner { align-items: flex-start; flex-direction: column; }
  .fh-footer-legal {
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 5px;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}


@media (max-width: 680px) {
  .fh-company-details { grid-template-columns: 1fr; }
  .fh-support-grid { grid-template-columns: 1fr; }
  .fh-hotline-card { padding: 25px 21px; }
  .fh-company-logo { min-height: 175px; }
  .fh-company-logo img { max-height: 152px; }
}

/* Consent manager and consent-gated external media. */
body.fh-consent-open { overflow: hidden; }
.fh-consent-layer[hidden],
.fh-consent-details[hidden] { display: none !important; }
.fh-consent-layer {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: flex-end;
  padding-top: 36px;
  background: rgba(9, 17, 25, .58);
  backdrop-filter: blur(3px);
}
.fh-consent-panel {
  position: relative;
  width: 100%;
  max-height: min(92vh, 860px);
  overflow-y: auto;
  color: var(--fh-ink);
  background: #fff;
  border-top: 1px solid #cfd8df;
  box-shadow: 0 -20px 70px rgba(8, 16, 24, .24);
}
.fh-consent-main {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) 238px;
  align-items: center;
  gap: 34px;
  padding-block: 26px;
}
.fh-consent-brand {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 12px;
  border-right: 1px solid var(--fh-line);
}
.fh-consent-brand img {
  width: 138px;
  max-height: 92px;
  object-fit: contain;
}
.fh-consent-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.2;
  letter-spacing: -.02em;
}
.fh-consent-copy p {
  max-width: 850px;
  margin: 0;
  color: #3e4854;
  font-size: 15px;
  line-height: 1.55;
}
.fh-consent-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 23px;
  margin-top: 15px;
  font-size: 14px;
  font-weight: 750;
}
.fh-consent-links a,
.fh-consent-text-button {
  padding: 0;
  color: #1739d2;
  background: transparent;
  border: 0;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}
.fh-consent-links a:hover,
.fh-consent-text-button:hover { text-decoration: underline; }
.fh-consent-actions {
  display: grid;
  gap: 8px;
}
.fh-consent-action {
  width: 100%;
  min-height: 45px;
  padding: 10px 16px;
  color: #fff;
  background: #1739d2;
  border: 2px solid #1739d2;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.fh-consent-action:hover {
  color: #fff;
  background: #0f2ba9;
  border-color: #0f2ba9;
  transform: translateY(-1px);
}
.fh-consent-action:focus-visible,
.fh-consent-text-button:focus-visible,
.fh-footer-consent-button:focus-visible,
.fh-consent-close:focus-visible {
  outline: 3px solid rgba(7, 152, 214, .38);
  outline-offset: 3px;
}
.fh-consent-close {
  position: absolute;
  top: 10px;
  right: 14px;
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  color: var(--fh-ink);
  background: #fff;
  border: 1px solid var(--fh-line);
  border-radius: 50%;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}
.fh-consent-details {
  padding: 27px 0 32px;
  background: #f5f7fa;
  border-top: 1px solid var(--fh-line);
}
.fh-consent-details__head {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 20px;
}
.fh-consent-eyebrow {
  margin: 0 0 3px;
  color: #1739d2;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.fh-consent-details__head h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}
.fh-consent-details__head > p {
  margin: 0;
  color: var(--fh-muted);
  font-size: 14px;
  line-height: 1.55;
}
.fh-consent-categories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.fh-consent-category {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 104px;
  padding: 18px;
  background: #fff;
  border: 1px solid #d7dee5;
  border-radius: 14px;
  cursor: pointer;
}
.fh-consent-category--required { cursor: default; }
.fh-consent-category__copy { min-width: 0; }
.fh-consent-category__copy strong {
  display: block;
  margin-bottom: 3px;
  font-size: 16px;
}
.fh-consent-category__copy small {
  display: block;
  color: var(--fh-muted);
  font-size: 13px;
  line-height: 1.4;
}
.fh-consent-category input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.fh-consent-switch {
  position: relative;
  width: 48px;
  height: 27px;
  flex: 0 0 auto;
  background: #c7d0d8;
  border-radius: 99px;
  transition: background .18s ease;
}
.fh-consent-switch::after {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 19px;
  height: 19px;
  content: "";
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(16, 24, 32, .2);
  transition: transform .18s ease;
}
.fh-consent-category input:checked + .fh-consent-switch { background: #1739d2; }
.fh-consent-category input:checked + .fh-consent-switch::after { transform: translateX(21px); }
.fh-consent-category input:focus-visible + .fh-consent-switch {
  outline: 3px solid rgba(7, 152, 214, .38);
  outline-offset: 3px;
}
.fh-consent-category input:disabled + .fh-consent-switch { opacity: .72; }
.fh-consent-details__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 20px;
}
.fh-consent-details__actions .fh-consent-action { width: auto; min-width: 220px; }
.fh-consent-details__actions a { font-size: 14px; font-weight: 750; }
.fh-footer-consent-button {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 0;
  margin: 0;
  color: rgba(255,255,255,.7);
  background: transparent;
  border: 0;
  border-radius: 0;
  appearance: none;
  font: inherit;
  font-weight: inherit;
  line-height: 1.5;
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.fh-footer-consent-button:hover { color: #fff; }

.fh-external-media-placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 28px;
  text-align: center;
  background:
    radial-gradient(circle at 18% 18%, rgba(145,197,47,.20), transparent 34%),
    radial-gradient(circle at 82% 22%, rgba(7,152,214,.18), transparent 34%),
    linear-gradient(135deg, #f8fbfd, #edf2f6);
}
.fh-map-embed.is-loaded .fh-external-media-placeholder { display: none; }
.fh-external-media-placeholder__inner { max-width: 440px; }
.fh-map-pin {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 44px;
  margin-bottom: 11px;
  background: #1739d2;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 10px 28px rgba(23,57,210,.25);
}
.fh-map-pin::after {
  position: absolute;
  inset: 12px;
  content: "";
  background: #fff;
  border-radius: 50%;
}
.fh-external-media-placeholder__eyebrow {
  margin: 0 0 5px;
  color: #1739d2;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.fh-external-media-placeholder h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; }
.fh-external-media-placeholder p:not(.fh-external-media-placeholder__eyebrow) { margin: 11px 0 18px; color: var(--fh-muted); }
.fh-external-media-placeholder__privacy { display: block; margin-top: 12px; font-size: 13px; font-weight: 700; }

@media (max-width: 980px) {
  .fh-consent-main { grid-template-columns: 120px minmax(0, 1fr); gap: 24px; }
  .fh-consent-brand img { width: 110px; }
  .fh-consent-actions {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .fh-consent-categories { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .fh-consent-layer { padding-top: 14px; }
  .fh-consent-panel { max-height: 96vh; }
  .fh-consent-main { grid-template-columns: 1fr; gap: 17px; padding-block: 22px; }
  .fh-consent-brand { display: none; }
  .fh-consent-copy { padding-right: 28px; }
  .fh-consent-copy p { font-size: 14px; }
  .fh-consent-actions { grid-column: auto; grid-template-columns: 1fr; }
  .fh-consent-details { padding: 22px 0 25px; }
  .fh-consent-details__head { grid-template-columns: 1fr; gap: 10px; }
  .fh-consent-details__actions { align-items: stretch; flex-direction: column; }
  .fh-consent-details__actions .fh-consent-action { width: 100%; min-width: 0; }
  .fh-consent-close { top: 8px; right: 8px; }
  .fh-external-media-placeholder { padding: 22px 18px; }
}
.fh-consent-layer--privacy-page {
  background: transparent;
  backdrop-filter: none;
  pointer-events: none;
}
.fh-consent-layer--privacy-page .fh-consent-panel { pointer-events: auto; }
