/* FNK Hardware — own frontend.
   Design tokens measured from the reference design (3 viewports, computed styles):
   fixed 136/67px translucent-white header, dark #131313 page, 1000px container,
   64px header-to-content gap, 80px content-to-legal-bar gap, Roboto 16/24 #606060
   body copy, #077cec brand. */

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/roboto-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  font-display: swap;
  src: url(/fonts/roboto-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'jimdoiconfontweb';
  font-weight: 400;
  font-style: normal;
  font-display: block;
  src: url(/fonts/jimdoicons.woff) format('woff');
}

:root {
  --bg: #131313;
  --surface: rgba(255, 255, 255, 0.9);
  --container: 1000px;
  --gutter: 30px;
  --header-h: 136px;
  --surface-gap: 64px;
  --legal-gap: 80px;
  --brand: #077cec;
  --brand-dark: #0555a2;
  --text: #606060;
  --heading: #000;
  --font-body: Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-ui: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 12px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  padding-top: var(--header-h);
  background: var(--bg);
  font: 16px/24px var(--font-body);
  color: var(--text);
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }

h1, h2, h3 { color: var(--heading); font-family: var(--font-body); font-weight: 400; }
h1 { font-size: 30px; line-height: 1.2; }
h2 { font-size: 26px; line-height: 1.2; }
h3 { font-size: 22px; line-height: 1.3; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- header (fixed, as upstream) ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: var(--header-h);
  padding: 10px 0;
  background: var(--surface);
}

.site-header__inner {
  width: 100%;
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: block; padding: 0 25px; }
.brand img { width: 200px; height: auto; }

.site-nav { margin: 6px 30px 0; }
.site-nav ul { display: flex; flex-wrap: wrap; align-items: center; margin: 0; padding: 0; list-style: none; }
.site-nav a {
  display: block;
  font: 16px/30px var(--font-body);
  color: var(--text);
  padding: 5px 14px;
  margin: 0 6px;
  white-space: nowrap;
}
.site-nav a:hover { color: var(--brand); }
.site-nav a[aria-current='page'] { background: var(--brand); color: #fff; }

.nav-toggle { display: none; }

/* ---------- content surface ---------- */

.surface {
  width: 100%;
  max-width: var(--container);
  margin: var(--surface-gap) auto 0;
  background: var(--surface);
}
.surface__inner { padding: 20px 25px; }

/* ---------- social ---------- */

.social { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 5px; list-style: none; }
.social__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 8px 4px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: opacity 0.2s ease;
}
.social__link:hover,
.social__link:focus { opacity: 0.8; color: #fff; }
.social--x { background: #000; }
.social--instagram { background: radial-gradient(92.18% 99.11% at 26.56% 107.7%, #ffdd55 0%, #ff543e 50.3%, #c837ab 100%); }
.social--youtube { background: #ff0033; }

.social__icon { font-family: 'jimdoiconfontweb'; font-size: 20px; display: inline-block; text-align: center; transform: scale(1.7); }
.icon-share-x::before { content: '\E613'; }
.icon-instagram-sign::before { content: '\E5F0'; }
.icon-youtube-play::before { content: '\E62A'; }

/* ---------- banners ---------- */

.banners { padding: 5px; }
.banner + .banner { margin-top: 10px; }
.banner a { display: block; }
.banner img { width: 100%; }

/* ---------- legal bar ---------- */

.legal-bar { margin-top: var(--legal-gap); }
.legal-bar__aside { height: 40px; background: var(--surface); }
.legal-bar__inner { max-width: var(--container); margin: 0 auto; padding: 20px 25px; }
.legal { display: flex; flex-wrap: wrap; align-items: center; max-width: 50%; margin: 0; padding: 0; list-style: none; font: 14px/28px var(--font-ui); color: var(--brand); }
.legal li { display: flex; align-items: center; }
.legal li + li::before { content: '|'; margin: 0 8px; color: var(--brand); }
.legal--outlined { border: 1px solid var(--brand); padding: 0 6px; }

/* ---------- page content (blocks generated from the reference content) ---------- */

.content p { margin: 0; font: 16px/24px var(--font-body); }
.content a { color: var(--brand); }
.content a:hover { color: var(--brand-dark); }
.content b,
.content .b { font-weight: 700; }
.content .c-black { color: #000; }
.content .c-grey { color: #666; }
.content .c-red { color: #ff0000; }

.content .mod { padding: 5px; }

/* Headings inside the page content keep the reference's 16/24 rendering: the
   markup is semantic, the visual is locked by these rules (any utility class on
   the heading still wins on specificity). */
.content h1,
.content h2,
.content h3 {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: inherit;
  color: inherit;
}

.content .sp-7 { height: 7px; }
.content .sp-12 { height: 12px; }
.content .sp-15 { height: 15px; }
.content .sp-20 { height: 20px; }
.content .sp-22 { height: 22px; }
.content .sp-30 { height: 30px; }

.content .row { display: flex; flex-wrap: wrap; gap: 2%; }
.content .col { flex: 1 1 0; min-width: 0; }
.content .col-49 { flex-basis: 49%; }
.content .col-68_94 { flex-basis: 68.94%; }
.content .col-29_05 { flex-basis: 29.05%; }
.content .row--center-media .fig img { margin-left: auto; margin-right: auto; }

.content .fig { margin: 0; }
.content .fig img { width: auto; max-width: 100%; height: auto; }
.content .fig figcaption { font: 12.8px/19.2px var(--font-body); color: var(--text); }

.content .cta-link {
  display: inline-block;
  padding: 12px 24px;
  font-weight: 600;
  line-height: 28px;
  color: #fff;
  background: var(--brand);
  border-radius: 8px;
}
.content .cta-link:hover { color: #fff; background: var(--brand-dark); }
.content p:has(> .cta-link) { display: inline-block; margin: 16px 0; }
.content hr { height: 0; margin: 8px 0; border: 0; border-top: 1px solid #ccc; }
.windows-offers { margin-top: 10px; }
.windows-offers__title { font-weight: 700; color: var(--heading); }

/* ---------- conseil form ---------- */

.content .form-title { margin: 0; font: 400 48px/1.05 var(--font-body); color: var(--brand); }
.form-hint { margin: 0; font: 16px/24px var(--font-body); color: var(--brand); }
.form-hint--error { color: #b42318; }
.form-hint--success { color: #1e7145; }
.req { color: #ff0000; }
.form { margin-top: 30px; }
.form__row { margin-top: 16px; }
.form__label { display: block; font: 16px/24px var(--font-body); color: var(--text); }
.form__input {
  display: block;
  width: 300px;
  max-width: 100%;
  padding: 9px 8px;
  font: 16px/24px var(--font-body);
  color: #000;
  background: #fff;
  border: 1px solid #9a9a9a;
  border-radius: 0;
}
.form__textarea { width: 610px; height: 175px; resize: vertical; }
.form__note { margin: 18px 0 0; font: 16px/24px var(--font-body); color: #242424; }
.form__note .link { color: var(--brand); }
.form-note { margin: 22px 0 0; font: 16px/24px var(--font-body); color: var(--text); }
.form-note b { color: #242424; }
.form__hp { position: absolute; left: -9999px; width: 1px; overflow: hidden; }
.button {
  display: inline-block;
  margin-top: 18px;
  padding: 11px 20px;
  font: 16px/24px var(--font-body);
  color: #fff;
  background: var(--brand);
  border: 0;
  border-radius: 0;
  cursor: pointer;
}
.button:hover { background: var(--brand-dark); color: #fff; }

/* ---------- editorial (guides) ---------- */

/* The reference content locks every heading to 16/24; the guides are real
   articles, so they opt back into document typography. */
.content .article h1 { margin: 0 0 12px; font: 400 34px/1.15 var(--font-body); color: var(--brand); }
.content .article h2 { margin: 30px 0 10px; font: 700 22px/1.25 var(--font-body); color: var(--heading); }
.content .article h3 { margin: 20px 0 6px; font: 700 17px/1.3 var(--font-body); color: var(--heading); }
.content .article p { margin: 0 0 14px; }
.content .article ul,
.content .article ol { margin: 0 0 14px; padding-left: 22px; font: 16px/24px var(--font-body); }
.content .article li { margin: 4px 0; }
.content .article table { width: 100%; border-collapse: collapse; margin: 10px 0 18px; font: 15px/22px var(--font-body); }
.content .article th,
.content .article td { padding: 8px 10px; border-bottom: 1px solid rgba(0, 0, 0, 0.12); text-align: left; vertical-align: top; }
.content .article th { color: var(--heading); }
.content .article__meta { font: 13px/20px var(--font-body); color: var(--text); }
.content .article__more { margin-top: 24px; padding-top: 12px; border-top: 1px solid rgba(0, 0, 0, 0.12); }
.content .article__more ul { margin-bottom: 0; }
.content .guide-list { margin: 0; padding: 0; list-style: none; }
.content .guide-list li { margin: 0 0 18px; }

/* ---------- responsive ---------- */

@media (max-width: 480px) {
  :root { --header-h: 67px; --gutter: 20px; --surface-gap: 0px; --legal-gap: 0px; }
  .brand { padding: 0 20px; }
  .brand img { width: 85px; }

  .nav-toggle {
    display: block;
    width: 44px;
    height: 34px;
    padding: 9px 8px;
    margin-right: 20px;
    background: none;
    border: 1px solid var(--text);
    cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--text); }
  .nav-toggle span + span { margin-top: 4px; }

  .site-nav { display: none; margin: 0; }
  .site-nav.is-open {
    display: block;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--surface);
    padding-bottom: 10px;
  }
  .site-nav.is-open ul { display: block; }
  .site-nav.is-open a { padding: 12px 20px; margin: 0; }
  .surface__inner { padding: 20px 15px; }
  .legal { max-width: none; }
  .content .row { display: block; }
  .content .col { margin-bottom: 16px; }
  .content .article h1 { font-size: 26px; }
  .content .article table { font-size: 14px; }
  .content .article th,
  .content .article td { padding: 6px 6px; }
}
