/*
Theme Name: FH Consulting Onepage
Author: FH Consulting & Solutions
Description: Maßgeschneidertes, responsives Onepage-Theme für KNX, Homeautomation und Multiroom Audio. Enthält Kontaktformular, Referenzbereiche und vorbereitete Rechtstext-Seiten.
Version: 1.0.23
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: fh-consulting
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --fh-navy-950: #01182f;
  --fh-navy-900: #022440;
  --fh-navy-850: #073258;
  --fh-navy-800: #08416f;
  --fh-blue: #1688e8;
  --fh-cyan: #32bdff;
  --fh-lime: #b6ee00;
  --fh-green: #70c900;
  --fh-orange: #ff8a00;
  --fh-white: #f8fbff;
  --fh-muted: #afc3d8;
  --fh-line: rgba(131, 189, 232, 0.24);
  --fh-card: rgba(4, 48, 83, 0.74);
  --fh-shadow: 0 28px 80px rgba(0, 10, 28, 0.28);
  --fh-radius: 18px;
  --fh-max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--fh-white);
  background:
    radial-gradient(circle at 75% 12%, rgba(15, 121, 205, 0.23), transparent 32rem),
    linear-gradient(180deg, var(--fh-navy-950), var(--fh-navy-900) 45%, #06345b 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--fh-lime); color: #041b32; }

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
  top: 10px; left: 10px; z-index: 99999;
  width: auto; height: auto; padding: 12px 18px; margin: 0;
  clip: auto; background: #fff; color: #000;
}

.container { width: min(calc(100% - 40px), var(--fh-max)); margin-inline: auto; }
.site-main { overflow: hidden; }
.fh-section { position: relative; padding: 86px 0; border-top: 1px solid var(--fh-line); }
.fh-section--tight { padding: 58px 0; }
.fh-section-label {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 22px; color: #c9d7e5; font-weight: 800;
  font-size: .78rem; letter-spacing: .15em; text-transform: uppercase;
}
.fh-section-label::before { content: ""; width: 28px; height: 2px; background: var(--fh-lime); }
.fh-accent { color: var(--fh-lime); }
.fh-muted { color: var(--fh-muted); }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  border-bottom: 1px solid var(--fh-line);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(1, 24, 47, 0.06);
}
.fh-topbar {
  background: #05050b;
  color: #ffffff;
}
.fh-topbar__inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 7px;
}
.fh-topbar__claim {
  margin: 0;
  font-size: .76rem;
  font-weight: 600;
  line-height: 1.35;
}
.fh-topbar__contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  font-size: .76rem;
  line-height: 1.35;
  white-space: nowrap;
}
.fh-topbar__contact strong { font-weight: 800; }
.fh-topbar__contact a { transition: color .2s ease; }
.fh-topbar__contact a:hover,
.fh-topbar__contact a:focus-visible { color: var(--fh-lime); }
.fh-topbar__separator { color: rgba(255,255,255,.48); }
.site-header__inner {
  min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 26px;
}
.site-branding { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; min-width: 292px; border-radius: 6px; }
.site-header .site-branding { transition: opacity .2s ease, transform .2s ease; }
.site-header .site-branding:hover { opacity: .88; transform: translateY(-1px); }
.site-header .site-branding:focus-visible { outline: 3px solid rgba(22, 136, 232, .38); outline-offset: 5px; }
.site-branding__mark { width: 78px; height: 58px; object-fit: contain; }
.site-branding .custom-logo { width: 228px; max-height: 66px; object-fit: contain; object-position: left center; }
.site-branding__text strong { display: block; font-size: 1rem; line-height: 1.15; color: #073258; }
.site-branding__text span { display: block; margin-top: 4px; color: #5b6e81; font-size: .62rem; letter-spacing: .08em; white-space: nowrap; }
.fh-nav { margin-left: auto; }
.fh-nav ul { display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.fh-nav a { color: #073258; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; transition: color .2s ease; }
.fh-nav a:hover, .fh-nav a:focus-visible { color: var(--fh-lime); }
.fh-header-cta, .fh-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border: 1px solid var(--fh-lime);
  border-radius: 2px; background: var(--fh-lime); color: #10223a;
  font-size: .78rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(182, 238, 0, .12);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.fh-button:hover, .fh-button:focus-visible, .fh-header-cta:hover, .fh-header-cta:focus-visible {
  transform: translateY(-2px); box-shadow: 0 16px 34px rgba(182, 238, 0, .2); background: #c9ff21;
}
.fh-button--ghost { background: transparent; color: #f7fbff; }
.fh-button--ghost:hover { background: var(--fh-lime); color: #10223a; }
.fh-menu-toggle {
  display: none; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(2, 36, 64, 0.18);
  background: transparent; color: #073258; border-radius: 8px;
}
.fh-menu-toggle span, .fh-menu-toggle::before, .fh-menu-toggle::after {
  content: ""; display: block; width: 22px; height: 2px; margin: 5px auto; background: currentColor; transition: .2s ease;
}

.fh-hero {
  position: relative;
  min-height: 690px; display: grid; align-items: center; padding: 64px 0 52px;
  background-image:
    linear-gradient(90deg, rgba(1,24,47,.96) 0%, rgba(1,24,47,.75) 43%, rgba(1,24,47,.16) 72%, rgba(1,24,47,.1) 100%),
    linear-gradient(180deg, transparent 70%, rgba(1,24,47,.78) 100%),
    url('assets/images/hero-house.jpg');
  background-size: cover; background-position: center right;
}
.fh-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(42px, 6vw, 96px);
  align-items: center;
}
.fh-hero__content { max-width: 650px; }
.fh-hero__logo-card {
  width: min(100%, 390px);
  justify-self: center;
  padding: clamp(20px, 2.4vw, 32px);
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 22px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 28px 70px rgba(0, 10, 28, .34);
  backdrop-filter: blur(8px);
}
.fh-hero__logo-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.fh-hero h1 {
  margin: 0 0 22px; max-width: 760px; font-size: clamp(3rem, 6vw, 5.4rem);
  line-height: .98; letter-spacing: -.045em; text-wrap: balance;
}
.fh-hero__lead { max-width: 660px; margin: 0 0 34px; color: #d6e3ef; font-size: clamp(1rem, 1.7vw, 1.25rem); }
.fh-trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; max-width: 760px; }
.fh-trust-item { display: grid; grid-template-columns: 52px 1fr; gap: 13px; align-items: center; padding-right: 16px; border-right: 1px solid var(--fh-line); }
.fh-trust-item:last-child { border-right: 0; }
.fh-icon-circle { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.65); border-radius: 50%; }
.fh-icon-circle svg { width: 24px; height: 24px; }
.fh-trust-item strong { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.fh-trust-item span { display: block; color: var(--fh-muted); font-size: .77rem; line-height: 1.45; }

.fh-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.fh-service-card { position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 20px; padding: 34px 34px; border-right: 1px solid var(--fh-line); }
.fh-service-card:last-child { border-right: 0; }
.fh-service-card__icon { color: var(--fh-cyan); }
.fh-service-card__icon svg { width: 60px; height: 60px; stroke-width: 1.45; }
.fh-service-card h2 { margin: 0 0 8px; font-size: 1.12rem; }
.fh-service-card p { margin: 0 0 18px; color: #d2deea; font-size: .91rem; }
.fh-text-link { display: inline-flex; gap: 9px; align-items: center; color: var(--fh-lime); font-weight: 900; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; }
.fh-text-link svg { width: 18px; transition: transform .2s ease; }
.fh-text-link:hover svg { transform: translateX(5px); }

.fh-process-wrap { display: grid; grid-template-columns: .92fr 2fr; gap: 50px; align-items: start; }
.fh-process-intro h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.12; letter-spacing: -.035em; }
.fh-process-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fh-process-step { min-height: 250px; padding: 0 24px; border-left: 1px solid var(--fh-line); }
.fh-process-step__num { color: var(--fh-lime); font-size: 1.25rem; font-weight: 900; }
.fh-process-step__icon { margin: 16px 0 13px; color: var(--fh-cyan); }
.fh-process-step__icon svg { width: 42px; height: 42px; }
.fh-process-step small { display: block; color: var(--fh-muted); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.fh-process-step h3 { margin: 4px 0 10px; font-size: .93rem; line-height: 1.35; }
.fh-process-step p { margin: 0; color: #c8d8e6; font-size: .79rem; line-height: 1.55; }

.fh-references-layout { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 14px; }
.fh-reference-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.fh-reference-card { overflow: hidden; border: 1px solid rgba(151,200,237,.42); background: rgba(4,37,67,.8); }
.fh-reference-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .45s ease, filter .45s ease; }
.fh-reference-card:hover img { transform: scale(1.045); filter: saturate(1.08); }
.fh-reference-card__body { padding: 14px 16px 17px; }
.fh-reference-card h3 { margin: 0; font-size: .9rem; }
.fh-reference-card p { margin: 2px 0 0; color: #d3dfeb; font-size: .76rem; }
.fh-quote { display: flex; flex-direction: column; justify-content: center; padding: 24px; border: 1px solid rgba(151,200,237,.42); }
.fh-quote__mark { color: var(--fh-lime); font-size: 3.2rem; font-weight: 900; line-height: .7; }
.fh-quote blockquote { margin: 20px 0 15px; font-size: .9rem; }
.fh-quote cite { color: var(--fh-muted); font-size: .76rem; font-style: normal; }

#kompetenz,
#referenzen {
  background: #ffffff;
  color: #073258;
}
#kompetenz .fh-service-card {
  border-right: 1px solid rgba(2, 36, 64, 0.12);
}
#kompetenz .fh-service-card h2,
#referenzen .fh-reference-card h3,
#referenzen .fh-quote blockquote {
  color: #073258;
}
#kompetenz .fh-service-card p,
#referenzen .fh-reference-card p,
#referenzen .fh-quote cite {
  color: #5b6e81;
}
#kompetenz .fh-service-card__icon {
  color: var(--fh-blue);
}
#kompetenz .fh-text-link,
#referenzen .fh-text-link,
#referenzen .fh-section-label,
#kompetenz .fh-section-label {
  color: #073258;
}
#referenzen .fh-section-label::before,
#kompetenz .fh-section-label::before {
  background: var(--fh-lime);
}
#referenzen .fh-reference-card,
#referenzen .fh-quote {
  background: #ffffff;
  border: 1px solid rgba(2, 36, 64, 0.12);
  box-shadow: 0 14px 34px rgba(1, 24, 47, 0.08);
}
#referenzen .fh-button--ghost {
  background: #073258;
  color: #ffffff;
  border-color: #073258;
}
#referenzen .fh-button--ghost:hover,
#referenzen .fh-button--ghost:focus-visible {
  background: var(--fh-lime);
  color: #10223a;
  border-color: var(--fh-lime);
}

.fh-reference-cta { margin-top: 18px; text-align: center; }

.fh-contact { background: linear-gradient(90deg, rgba(5,50,88,.92), rgba(5,53,92,.6)); }
.fh-contact-grid { display: grid; grid-template-columns: .9fr 1.5fr; gap: 62px; align-items: start; }
.fh-contact-copy { position: relative; }
.fh-contact-copy::after {
  content: ""; position: absolute; right: -20px; top: 80px; width: 250px; height: 180px; opacity: .12;
  background-image: radial-gradient(circle, #92c9ef 1px, transparent 1.4px); background-size: 9px 9px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 74%);
}
.fh-contact-copy h2 { margin: 0 0 24px; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.06; }
.fh-contact-list { position: relative; z-index: 2; margin: 0; padding: 0; list-style: none; }
.fh-contact-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; margin: 12px 0; color: #e1edf7; }
.fh-contact-list svg { width: 21px; color: var(--fh-cyan); }
.fh-contact-list a:hover { color: var(--fh-lime); }
.fh-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 14px;
  row-gap: 14px;
  align-items: start;
}
.fh-field { display: flex; min-width: 0; flex-direction: column; }
.fh-field--full { grid-column: 1 / -1; }
.fh-field label {
  display: flex;
  min-height: 22px;
  align-items: flex-end;
  margin-bottom: 6px;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.25;
}
.fh-field input, .fh-field select {
  width: 100%;
  height: 54px;
  min-height: 54px;
  border: 1px solid rgba(176,213,239,.54);
  border-radius: 0;
  background: rgba(3, 35, 64, .72);
  color: #fff;
  outline: none;
  padding: 0 16px;
  line-height: 1.2;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.fh-field select { appearance: auto; }
.fh-field textarea {
  width: 100%;
  min-height: 150px;
  border: 1px solid rgba(176,213,239,.54);
  border-radius: 0;
  background: rgba(3, 35, 64, .72);
  color: #fff;
  outline: none;
  padding: 14px 16px;
  line-height: 1.5;
  resize: vertical;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.fh-field input:focus, .fh-field textarea:focus, .fh-field select:focus { border-color: var(--fh-lime); box-shadow: 0 0 0 3px rgba(182,238,0,.12); }
.fh-field input::placeholder, .fh-field textarea::placeholder { color: #9fb5c9; }
.fh-form-bottom {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  grid-template-areas:
    "captcha actions"
    "consent consent";
  column-gap: 24px;
  row-gap: 14px;
  align-items: end;
  margin-top: 2px;
}
.fh-field--captcha { grid-area: captcha; width: min(100%, 240px); }
.fh-consent {
  grid-area: consent;
  display: flex;
  gap: 11px;
  align-items: center;
  min-height: 24px;
  color: #d8e4ee;
  font-size: .78rem;
  line-height: 1.45;
}
.fh-consent input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--fh-lime);
}
.fh-consent a { color: #ffffff; text-decoration: none; transition: color .2s ease; }
.fh-consent a:hover, .fh-consent a:focus-visible { color: var(--fh-lime); }
.fh-form-actions { grid-area: actions; display: flex; justify-content: flex-end; align-items: flex-end; }
.fh-form-actions .fh-button { min-height: 54px; padding-inline: 26px; }
.fh-form-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.fh-notice { grid-column: 1/-1; padding: 12px 16px; border-left: 4px solid var(--fh-lime); background: rgba(0,0,0,.2); }
.fh-notice--error { border-color: #ff9c7c; }

.fh-contact-map { grid-column: 1 / -1; margin-top: 26px; }
.fh-contact-map__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.fh-contact-map__head .fh-section-label { margin-bottom: 8px; }
.fh-contact-map__head h3 { margin: 0; font-size: clamp(1.45rem, 2.6vw, 2.15rem); }
.fh-contact-map__head p:last-child { margin: 5px 0 0; color: #c7d8e6; }
.fh-button--route { flex: 0 0 auto; background: #ffffff; color: #073258; border-color: #ffffff; }
.fh-button--route:hover, .fh-button--route:focus-visible { background: var(--fh-lime); color: #10223a; border-color: var(--fh-lime); }
.fh-map-shell { position: relative; min-height: 390px; overflow: hidden; border: 1px solid rgba(176,213,239,.42); background: #052c4d; box-shadow: var(--fh-shadow); }
.fh-map-placeholder { min-height: 390px; display: grid; place-items: center; align-content: center; gap: 12px; padding: 38px; text-align: center; background: radial-gradient(circle at 50% 0%, rgba(50,189,255,.16), transparent 28rem), #052c4d; }
.fh-map-placeholder__icon { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: var(--fh-cyan); }
.fh-map-placeholder__icon svg { width: 28px; height: 28px; }
.fh-map-placeholder strong { font-size: 1.08rem; }
.fh-map-placeholder p { max-width: 620px; margin: 0 0 8px; color: #c7d8e6; }
.fh-map-frame { width: 100%; min-height: 390px; border: 0; display: block; }
.fh-map-placeholder[hidden], .fh-map-frame[hidden] { display: none !important; }


.site-footer { background: #ffffff; color: #073258; border-top: 1px solid rgba(2, 36, 64, 0.12); }
.site-footer__grid { display: grid; grid-template-columns: minmax(300px, 1.3fr) minmax(185px, .78fr) minmax(220px, .88fr) minmax(155px, .62fr); align-items: start; column-gap: clamp(22px, 2.4vw, 38px); row-gap: 28px; padding: 54px 0 44px; }
.site-footer__grid > div { min-width: 0; }
.site-footer__brand { max-width: 390px; }
.site-footer__brand .site-branding { min-width: 0; margin-bottom: 20px; }
.site-footer__brand .site-branding__mark { width: 78px; height: 58px; }
.site-footer__brand .site-branding__text span { color: #5b6e81; }
.site-footer__brand .site-branding__text strong { color: #073258; }
.site-footer h2 { margin: 0 0 15px; color: #073258; font-size: .82rem; line-height: 1.25; letter-spacing: .055em; text-transform: uppercase; }
.site-footer p, .site-footer li, .site-footer a, .fh-cookie-settings-link { font-size: .78rem; color: #24435c; line-height: 1.65; }
.site-footer p { margin: 0 0 14px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin: 0 0 6px; }
.site-footer__grid > div:nth-child(2) p { line-height: 1.55; }
.site-footer a:hover, .site-footer a:focus-visible, .fh-cookie-settings-link:hover, .fh-cookie-settings-link:focus-visible { color: var(--fh-lime); }
.fh-cookie-settings-link { padding: 0; border: 0; background: transparent; text-align: left; text-decoration: none; cursor: pointer; }
.fh-socials { display: flex; gap: 10px; margin-top: 18px; }
.fh-socials a { width: 38px; height: 38px; display: grid; place-items: center; background: #eef4f8; color: #073258; border: 1px solid rgba(2, 36, 64, 0.12); font-size: 1rem; font-weight: 900; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 0 22px; border-top: 1px solid rgba(2, 36, 64, 0.12); color: #36536a; font-size: .75rem; }
.site-footer__bottom span:last-child { max-width: 650px; text-align: right; }

.fh-back-to-top {
  position: fixed;
  right: clamp(18px, 2.4vw, 34px);
  bottom: clamp(18px, 2.4vw, 34px);
  z-index: 950;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 50%;
  background: #073258;
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(1, 24, 47, .28);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease, background .2s ease, color .2s ease;
}
.fh-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.fh-back-to-top svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fh-back-to-top:hover, .fh-back-to-top:focus-visible { background: var(--fh-lime); color: #10223a; }
.fh-back-to-top:focus-visible { outline: 3px solid rgba(22, 136, 232, .4); outline-offset: 4px; }
body.fh-cookie-open .fh-back-to-top { opacity: 0; visibility: hidden; pointer-events: none; }


body.fh-cookie-open { overflow: hidden; }
.fh-cookie-overlay { position: fixed; inset: 0; z-index: 9998; background: rgba(4, 16, 27, .58); backdrop-filter: blur(3px); }
.fh-cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; max-height: min(92vh, 760px); overflow: auto; background: #ffffff; color: #172333; border-top: 1px solid #d9e0e7; box-shadow: 0 -24px 80px rgba(0, 18, 38, .22); }
.fh-cookie-banner__inner { width: min(calc(100% - 40px), 1260px); margin-inline: auto; display: grid; grid-template-columns: 190px minmax(0, 1fr) 220px; align-items: center; gap: 28px; padding: 24px 0; }
.fh-cookie-logo-card { min-height: 126px; display: grid; place-items: center; padding: 14px; background: #ffffff; border: 1px solid #dbe3ea; border-radius: 6px; box-shadow: 0 12px 34px rgba(0, 28, 58, .11); }
.fh-cookie-logo-card img { width: 145px; max-height: 84px; object-fit: contain; }
.fh-cookie-copy h2 { margin: 0 0 6px; color: #172333; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.2; }
.fh-cookie-copy > p { margin: 0; color: #536171; font-size: .86rem; line-height: 1.55; }
.fh-cookie-links { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.fh-cookie-links a, .fh-cookie-text-button { color: #1d3fd4; font-size: .78rem; font-weight: 800; }
.fh-cookie-text-button { padding: 6px 8px; border: 1px solid #3d7bed; background: #ffffff; cursor: pointer; }
.fh-cookie-links a:hover, .fh-cookie-text-button:hover { text-decoration: underline; text-underline-offset: 3px; }
.fh-cookie-actions { display: grid; gap: 8px; }
.fh-cookie-actions button, .fh-cookie-save { min-height: 42px; padding: 9px 16px; border: 1px solid #203fd3; border-radius: 3px; background: #203fd3; color: #ffffff; font-size: .8rem; font-weight: 900; cursor: pointer; transition: transform .18s ease, background .18s ease; }
.fh-cookie-actions button:hover, .fh-cookie-actions button:focus-visible, .fh-cookie-save:hover, .fh-cookie-save:focus-visible { transform: translateY(-1px); background: #1530b4; }
.fh-cookie-preferences { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; padding: 14px; background: #f4f7fa; border: 1px solid #dbe3ea; }
.fh-cookie-preferences label { display: flex; align-items: flex-start; gap: 9px; color: #243547; font-size: .78rem; }
.fh-cookie-preferences input { margin-top: 3px; accent-color: #203fd3; }
.fh-cookie-preferences strong, .fh-cookie-preferences small { display: block; }
.fh-cookie-preferences small { margin-top: 2px; color: #647384; line-height: 1.35; }
.fh-cookie-save { grid-column: 1 / -1; justify-self: start; min-width: 180px; }

.fh-page-hero { padding: 120px 0 52px; border-bottom: 1px solid var(--fh-line); background: radial-gradient(circle at 75% 10%, rgba(42,157,231,.18), transparent 28rem); }
.fh-page-hero h1 { margin: 0; font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 1.02; letter-spacing: -.04em; }
.fh-page-content { padding: 70px 0 100px; }
.fh-content { width: min(100%, 850px); }
.fh-content h2 { margin-top: 2.2em; font-size: 1.65rem; }
.fh-content h3 { margin-top: 1.8em; font-size: 1.18rem; }
.fh-content a { color: var(--fh-lime); text-decoration: underline; text-underline-offset: 3px; }
.fh-content ul { padding-left: 1.25rem; }
.fh-legal-alert { margin: 0 0 30px; padding: 18px 20px; border: 1px solid rgba(255,194,92,.55); border-left: 5px solid #ffc35c; background: rgba(76,45,0,.28); color: #fff7e7; }
.fh-placeholder { display: inline-block; padding: 1px 6px; border: 1px dashed #ffbb5e; background: rgba(255,187,94,.12); color: #ffdfb2; }

.fh-page-content--legal {
  background: #ffffff;
  color: #073258;
  border-top: 1px solid rgba(2, 36, 64, 0.08);
}
.fh-page-content--legal .fh-content {
  width: min(100%, 920px);
}
.fh-page-content--legal .fh-content h2,
.fh-page-content--legal .fh-content h3,
.fh-page-content--legal .fh-content strong {
  color: #073258;
}
.fh-page-content--legal .fh-content p,
.fh-page-content--legal .fh-content li {
  color: #36536a;
}
.fh-page-content--legal .fh-content a {
  color: #0b67b2;
  text-decoration-color: rgba(11, 103, 178, 0.42);
}
.fh-page-content--legal .fh-content a[href^="mailto:"] {
  color: #36536a;
  text-decoration: none;
  transition: color .2s ease;
}
.fh-page-content--legal .fh-content a[href^="mailto:"]:hover,
.fh-page-content--legal .fh-content a[href^="mailto:"]:focus-visible {
  color: var(--fh-lime);
}
.fh-page-content--legal .fh-legal-alert {
  border-color: #f0c46b;
  border-left-color: #e4a62f;
  background: #fff8e8;
  color: #5e4518;
}
.fh-page-content--legal .fh-placeholder {
  border-color: #d79a28;
  background: #fff4d8;
  color: #6b4a0c;
}

.fh-404 { min-height: 60vh; display: grid; place-items: center; text-align: center; }

.fh-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.fh-reveal.is-visible { opacity: 1; transform: none; }

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

@media (max-width: 1180px) {
  .fh-cookie-banner__inner { grid-template-columns: 150px minmax(0, 1fr) 190px; }
  .fh-cookie-logo-card img { width: 120px; }
}

@media (max-width: 1080px) {
  .fh-hero__layout { grid-template-columns: minmax(0, 1.2fr) minmax(250px, .8fr); gap: 34px; }
  .fh-hero__logo-card { width: min(100%, 320px); }
  .site-branding { min-width: 252px; }
  .site-branding__mark { width: 66px; }
  .site-branding__text strong { font-size: .92rem; }
  .fh-nav ul { gap: 18px; }
  .fh-process-wrap { grid-template-columns: 1fr; }
  .fh-process-grid { padding-left: 0; }
  .fh-references-layout { grid-template-columns: 1fr; }
  .fh-quote { min-height: 190px; }
  .site-footer__grid { grid-template-columns: 1.2fr 1fr; }
}

@media (max-width: 860px) {
  body.admin-bar .site-header { top: 46px; }
  .fh-topbar__inner { align-items: flex-start; flex-direction: column; gap: 4px; padding-block: 8px; }
  .fh-topbar__contact { justify-content: flex-start; white-space: normal; }
  .site-header__inner { min-height: 72px; }
  .fh-nav {
    position: absolute; left: 0; right: 0; top: 100%; max-height: 0; overflow: hidden;
    margin: 0; background: #ffffff; border-bottom: 1px solid rgba(2, 36, 64, 0.12); transition: max-height .3s ease;
  }
  .fh-nav.is-open { max-height: 520px; }
  .fh-nav ul { display: block; padding: 12px 20px 22px; }
  .fh-nav li { border-bottom: 1px solid rgba(255,255,255,.08); }
  .fh-nav a { display: block; padding: 14px 0; }
  .fh-hero { min-height: auto; padding: 90px 0 58px; background-position: 65% center; }
  .fh-hero__layout { grid-template-columns: 1fr; }
  .fh-hero__logo-card { width: min(82%, 320px); margin-top: 22px; }
  .fh-hero::before { content: ""; position: absolute; inset: 0; background: rgba(1,24,47,.28); pointer-events: none; }
  .fh-hero .container { position: relative; z-index: 1; }
  .fh-services-grid { grid-template-columns: 1fr; }
  .fh-service-card { border-right: 0; border-bottom: 1px solid var(--fh-line); padding-inline: 0; }
  .fh-process-grid { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .fh-reference-grid { grid-template-columns: 1fr 1fr; }
  .fh-contact-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--fh-max)); }
  .fh-topbar__claim, .fh-topbar__contact { font-size: .69rem; }
  .fh-topbar__contact { gap: 4px 7px; }
  .fh-topbar__separator { display: none; }
  .fh-topbar__contact span:not(.fh-topbar__separator) { flex: 1 1 100%; }
  .fh-section { padding: 64px 0; }
  .site-branding { min-width: 0; gap: 9px; }
  .site-branding__mark { width: 58px; height: 48px; }
  .site-branding__text strong { font-size: .82rem; }
  .site-branding__text span { font-size: .52rem; }
  .fh-header-cta { min-height: 42px; padding-inline: 14px; font-size: .68rem; white-space: nowrap; }
  .fh-hero { background-position: 72% center; }
  .fh-hero h1 { font-size: clamp(2.55rem, 14vw, 4rem); }
  .fh-hero__logo-card { width: min(92%, 290px); padding: 18px; border-radius: 16px; }
  .fh-trust-grid { grid-template-columns: 1fr; gap: 12px; }
  .fh-trust-item { border-right: 0; padding: 10px 0; }
  .fh-service-card { grid-template-columns: 58px 1fr; gap: 14px; }
  .fh-service-card__icon svg { width: 45px; height: 45px; }
  .fh-process-grid { grid-template-columns: 1fr; }
  .fh-process-step { min-height: auto; padding: 0 0 0 22px; }
  .fh-reference-grid { grid-template-columns: 1fr; }
  .fh-form { grid-template-columns: 1fr; }
  .fh-field { grid-column: 1 / -1; }
  .fh-form-bottom {
    grid-template-columns: 1fr;
    grid-template-areas:
      "captcha"
      "consent"
      "actions";
    gap: 14px;
  }
  .fh-field--captcha { width: 100%; }
  .fh-form-actions .fh-button { width: 100%; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 22px; }
}


@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 34px 44px; }
  .site-footer__brand { max-width: none; }
  .fh-cookie-banner__inner { grid-template-columns: 120px minmax(0, 1fr); align-items: start; }
  .fh-cookie-actions { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
  .fh-cookie-preferences { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .fh-contact-map__head { align-items: flex-start; flex-direction: column; }
  .fh-button--route { width: 100%; }
  .fh-map-shell, .fh-map-placeholder, .fh-map-frame { min-height: 330px; }
  .site-footer__grid { grid-template-columns: 1fr; padding-block: 42px 34px; }
  .site-footer__bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .site-footer__bottom span:last-child { text-align: left; }
  .fh-cookie-banner__inner { width: min(calc(100% - 28px), 1260px); grid-template-columns: 1fr; gap: 16px; padding: 18px 0; }
  .fh-cookie-logo-card { min-height: 92px; justify-self: stretch; }
  .fh-cookie-logo-card img { width: 112px; max-height: 68px; }
  .fh-cookie-actions { grid-template-columns: 1fr; }
  .fh-cookie-links { flex-wrap: wrap; }
  .fh-back-to-top { width: 46px; height: 46px; right: 14px; bottom: 14px; }
}
