/* Shared FREGMON design system: original navy/teal palette, refined spacing. */
:root {
  --navy: #172c40;
  --ink: #172c40;
  --pale: #eff3f6;
  --white: #ffffff;
  --text: #172c40;
  --muted: #526575;
  --teal: #287a80;
  --line: #d7e0e6;
  --light-text: #bed0de;
  --dark-line: #3c5063;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --copy-width: 800px;
  --gutter: clamp(24px, 5vw, 64px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 20px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { color: var(--navy); font-family: var(--body); font-weight: 500; text-wrap: pretty; }
h2 { font-size: 40px; line-height: 1.25; letter-spacing: -.025em; }
h3 { font-size: 26px; line-height: 1.3; letter-spacing: -.02em; }
p { hyphens: none; overflow-wrap: normal; word-break: normal; text-align: justify; text-align-last: left; }
.no-wrap { white-space: nowrap; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button, a, input, textarea { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--navy); color: var(--white); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 5px; }
.container { width: min(100%, calc(1280px + var(--gutter) * 2)); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 20px; background: var(--white); color: var(--navy); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.muted { color: var(--muted); }
.section { padding-block: 128px; }
.section-heading { max-width: var(--copy-width); }
.about .section-heading, .businesses .section-heading { max-width: 900px; }
.section-heading__intro { margin-top: 24px; color: var(--muted); }
.section-body { margin-top: 64px; }
.button { display: inline-flex; justify-content: space-between; align-items: center; gap: 32px; min-height: 56px; padding: 16px 24px; border: 1px solid var(--navy); border-radius: 0; background: var(--navy); color: var(--white); font-size: 14px; font-weight: 500; line-height: 1.5; transition: background .18s, border-color .18s; }
.button:hover { background: var(--ink); border-color: var(--ink); }
.button span, .text-link span { font-size: 20px; font-weight: 400; line-height: 1; }
.button:disabled { cursor: wait; opacity: .65; }
.text-link { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; border-bottom: 1px solid var(--line); color: var(--navy); font-size: 14px; font-weight: 500; transition: border-color .18s; }
.text-link:hover { border-color: var(--teal); }
/* Navigation and identity */
.header { position: sticky; top: 0; z-index: 30; background: var(--white); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; justify-content: space-between; align-items: center; min-height: 96px; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; color: var(--navy); }
.brand img { width: 32px; height: 32px; }
.brand > span { font-size: 32px; font-weight: 500; line-height: 1; letter-spacing: .065em; }
.navigation { display: flex; align-items: center; gap: clamp(24px, 3vw, 40px); }
.navigation > a { display: inline-flex; align-items: center; min-height: 48px; padding-block: 12px; border-bottom: 1px solid transparent; color: var(--navy); font-size: 13px; font-weight: 500; line-height: 20px; transition: border-color .18s; }
.navigation > a:hover { border-color: var(--teal); }
.navigation > .navigation__contact { gap: 24px; border-bottom-color: var(--teal); }
.navigation__contact span { font-size: 18px; }
.menu-toggle { align-items: center; gap: 12px; min-width: 44px; min-height: 44px; padding: 8px 0 8px 12px; border: 0; background: none; color: var(--navy); font-size: 14px; }
.menu-toggle__icon { position: relative; width: 22px; height: 14px; border-block: 1px solid currentColor; }
.menu-toggle__icon::after { content: ""; position: absolute; top: 5px; left: 0; width: 100%; border-top: 1px solid currentColor; }
/* Keep the complete translucent globe behind the copy, with 24px clearance. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--pale); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; padding-block: 96px; }
.hero__copy { position: relative; z-index: 1; }
.hero h1 { font-family: var(--display); font-size: clamp(52px, 6.65vw, 98px); font-weight: 500; line-height: .99; letter-spacing: -.018em; }
.hero h1 > span { color: var(--teal); }
.hero__intro { max-width: 440px; margin-top: 32px; color: var(--muted); }
.hero__actions { margin-top: 40px; }
.hero__visual { position: absolute; inset: 24px; z-index: -1; opacity: .48; pointer-events: none; }
.hero__map, .hero__map img { display: block; width: 100%; height: 100%; }
.hero__map img { object-fit: contain; }
.hero__globe { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__visual--animated .hero__map { visibility: hidden; }
/* Open editorial columns, without card shells or image badges. */
.businesses { background: var(--pale); }
.business-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px 40px; }
.business-card { min-width: 0; }
.business-card__visual { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); }
.business-card__visual > img:not(.business-card__mark) { width: 100%; height: 100%; object-fit: cover; filter: saturate(.65) contrast(.95); }
.business-card__body { padding-top: 24px; }
.business-card p { max-width: 60ch; margin-top: 16px; color: var(--muted); }
.business-card--wide { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.business-card--wide .business-card__body { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding: 40px; background: linear-gradient(90deg, rgb(23 44 64 / .86), rgb(23 44 64 / .68)), url("../../holdings.jpg") center / cover; }
.business-card--wide .business-card__body h3 { color: var(--white); }
.business-card--wide .business-card__body p { color: var(--light-text); }
.business-card__visual--holdings { display: flex; align-items: center; padding: 40px; background: #244b58; }
.business-card__visual > .business-card__mark { position: absolute; right: -24px; top: -12%; width: 62%; height: auto; opacity: .055; }
.holdings-word { position: relative; color: var(--white); font-size: 40px; line-height: 1.25; letter-spacing: -.025em; }
/* Approach */
.company { background: var(--navy); color: var(--white); }
.company h2, .company h3 { color: var(--white); }
.company .section-heading__intro { color: var(--light-text); }
.company__reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.company__reason p { margin-top: 16px; color: var(--light-text); }
/* Contact */
.contact__details { display: grid; gap: 32px; max-width: var(--copy-width); }
.contact__email { display: inline-flex; justify-self: start; align-items: center; gap: 24px; min-height: 44px; padding-block: 8px; border-bottom: 1px solid var(--line); color: var(--navy); font-size: clamp(20px, 1.9vw, 26px); transition: border-color .18s; }
.contact__email:hover { border-color: var(--teal); }
.enquiry-form { min-width: 0; }
.form-intro { margin-top: 16px; color: var(--muted); font-size: 16px; }
.form-intro > span { font-size: 13px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin-top: 24px; }
.field label { color: var(--navy); font-size: 13px; font-weight: 500; }
.field input, .field textarea { width: 100%; min-width: 0; min-height: 52px; padding: 12px 0; border: 0; border-bottom: 1px solid #8b8d8c; border-radius: 0; background: transparent; color: var(--text); font-size: 16px; }
.field input::placeholder, .field textarea::placeholder { color: #65707a; opacity: 1; }
.field textarea { min-height: 128px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--navy); }
.form-bottom { display: flex; justify-content: flex-start; margin-top: 32px; }
.form-status { padding: 16px; margin-top: 24px; border-left: 2px solid var(--navy); background: var(--pale); font-size: 16px; }
.form-status[data-state="error"] { border-color: #9a3935; color: #842f2c; }
/* Footer */
.footer { background: var(--ink); color: var(--white); }
.brand--light { color: var(--white); }
.footer__main { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 48px 24px; font-size: 16px; }
.footer__main > p { color: var(--light-text); font: inherit; }
.footer__tagline { white-space: nowrap; }
.footer__main > nav { display: flex; flex-wrap: wrap; gap: 24px; }
.footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.footer a:hover { text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: 5px; }
.footer__bottom { display: flex; align-items: center; gap: 24px; padding-block: 16px 32px; color: var(--light-text); font-size: 14px; }
.footer__bottom > a { margin-left: auto; min-height: 44px; display: inline-flex; align-items: center; gap: 16px; }
.footer :focus-visible, .company :focus-visible { outline-color: var(--white); }
/* Existing legal documents share the visual system and keep their disclosures. */
.legal-title-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.language-switch { display: inline-flex; flex-shrink: 0; gap: 16px; }
.language-switch a { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding-block: 8px; border-bottom: 1px solid transparent; color: var(--navy); font-size: 14px; }
.language-switch a:hover, .language-switch a[aria-current="page"] { border-color: var(--teal); }
.language-switch a[aria-current="page"] { font-weight: 600; }
.legal-hero { background: var(--pale); padding-block: 64px 96px; }
.legal-back { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; margin-bottom: 32px; color: var(--muted); font-size: 14px; }
.legal-back:hover { color: var(--navy); }
.legal-hero h1 { font-size: 64px; font-weight: 400; line-height: 1.15; letter-spacing: -.04em; }
.legal-hero p { max-width: 64ch; margin-top: 32px; color: var(--muted); }
.legal-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 40px; padding-block: 96px 128px; }
.legal-aside { position: sticky; top: 128px; align-self: start; }
.legal-aside h2 { margin-bottom: 16px; font-family: var(--body); font-size: 14px; font-weight: 600; line-height: 1.5; letter-spacing: 0; }
.legal-aside a { display: block; width: fit-content; padding-block: 10px; color: var(--muted); font-size: 14px; }
.legal-aside a:hover { color: var(--navy); text-decoration: underline; text-decoration-color: var(--teal); text-underline-offset: 5px; }
.legal-content { max-width: 72ch; min-width: 0; overflow-wrap: normal; }
.legal-content section + section { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.legal-content h2 { margin-bottom: 24px; }
.legal-content p, .legal-content address { color: var(--muted); font-style: normal; }
.legal-content p + p { margin-top: 16px; }
.legal-content a { text-decoration: underline; text-underline-offset: 4px; }
.legal-content a:hover { color: var(--navy); }
.legal-facts > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 24px; padding-block: 12px; font-size: 18px; }
.legal-facts dt { color: var(--muted); }
@media (max-width: 1100px) {
  .header__inner { gap: 24px; }
  .navigation { gap: 24px; }
  .brand > span { font-size: 28px; }
  .brand img { width: 28px; height: 28px; }
  .hero h1 { font-size: clamp(52px, 6.65vw, 98px); }
  .legal-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 3.5fr); gap: 32px; }
}
@media (max-width: 800px) {
  body { font-size: 18px; }
  h2 { font-size: 30px; }
  h3 { font-size: 22px; }
  .section { padding-block: 64px; }
  .header__inner { min-height: 80px; flex-wrap: wrap; gap: 0 24px; }
  /* Without JS, all menu links stay visible in normal flow above the content. */
  .header:has(.menu-toggle[hidden]) { position: static; }
  .menu-toggle:not([hidden]) { display: inline-flex; }
  .navigation { width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding-block: 8px 24px; }
  .navigation > a { min-height: 48px; padding-block: 12px; }
  .navigation > .navigation__contact { justify-content: space-between; margin-top: 8px; }
  .hero__grid { grid-template-columns: 1fr; padding-block: 64px; }
  .hero h1 { font-size: clamp(52px, 7.6vw, 70px); }
  .hero__intro { max-width: 48ch; margin-top: 24px; }
  .hero__actions { margin-top: 32px; }
  .section-body { margin-top: 40px; }
  .business-grid { gap: 40px 32px; }
  .business-card--wide { gap: 32px; padding-top: 32px; }
  .business-card--wide .business-card__body { padding: 24px; }
  .business-card__visual--holdings { padding: 24px; }
  .holdings-word { font-size: 30px; }
  .company__reasons { grid-template-columns: 1fr; }
  .contact__email { font-size: 22px; }
  .footer__main { flex-wrap: wrap; }
  .footer__main > nav { flex-basis: 100%; }
  .footer__bottom { flex-wrap: wrap; gap: 16px 24px; }
  .legal-hero { padding-block: 40px 64px; }
  .legal-hero h1 { font-size: 40px; }
  .legal-layout { grid-template-columns: 1fr; gap: 40px; padding-block: 40px 64px; }
  .legal-aside { position: static; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
  .legal-aside nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
  /* Fit this compound noun as one word without changing the supplied text. */
  .legal-content:lang(de) #gegenstand h2 { font-size: clamp(22px, 7.1vw, 30px); }
}
@media (max-width: 640px) {
  .business-grid { grid-template-columns: 1fr; }
  .business-card--wide { display: block; grid-column: auto; }
}
@media (max-width: 540px) {
  .brand > span { font-size: 26px; }
  .brand img { width: 26px; height: 26px; }
  .menu-toggle { gap: 10px; }
  .hero__grid { padding-block: 56px; }
  .hero h1 { font-size: clamp(56px, 12.8vw, 72px); }
  .holdings-word { font-size: 32px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer__main { flex-direction: column; align-items: start; gap: 24px; }
  .footer__bottom { align-items: start; flex-direction: column; }
  .footer__bottom > a { margin-left: 0; }
  .legal-facts > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
