/* ==========================================================================
   BÖRKEY produziert von SILCA — landing styles
   Vanilla CSS, mobile-first, light theme. Tokens from brand design system.
   ========================================================================== */

:root {
  /* Brand tokens */
  --red: #E2001A;
  --red-dark: #b80016;
  --blue: #00579B;
  --blue-dark: #003E70;
  --ink: #0E0E0E;
  --muted: #6B7280;
  --bg: #FFFFFF;
  --bg-alt: #F6F7F8;
  --line: #E6E8EB;
  --dark-link: #001723;

  /* Type */
  --font-display: "Bebas Neue", "Barlow Semi Condensed", "Arial Narrow", sans-serif;
  --font-body: "Outfit", "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* Layout */
  --maxw: 1180px;
  --pad: clamp(1.25rem, 5vw, 3rem);
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgba(14,14,14,.04), 0 12px 32px -12px rgba(14,14,14,.12);
  --header-h: 72px;
}

/* Reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* SC 2.4.11 — keep both anchor jumps and keyboard focus clear of the
     sticky header. Complements the scroll-margin-top below. */
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 { margin: 0; line-height: .98; font-weight: 700; }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

/* Accessibility ------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--ink); color: #fff; padding: .6rem 1rem;
  border-radius: 0 0 8px 8px; z-index: 200; transition: top .2s;
}
.skip-link:focus { top: 0; color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Layout helpers ------------------------------------------------------ */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--alt { background: var(--bg-alt); }

/* Sticky-header anchor offset: stop section titles sliding under header. */
:target, .section, .hero { scroll-margin-top: calc(var(--header-h) + 1rem); }

.eyebrow {
  display: inline-block;
  font-weight: 600; font-size: .8125rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; display: inline-block; width: 1.75rem; height: 2px; background: var(--red); vertical-align: middle; margin-right: .6rem; }

.display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .01em;
  font-weight: 400;
}
.display em { font-style: normal; color: var(--blue); }
.hero h1 em { color: var(--red); } /* "Silca" nel titolo hero: rosso brand */

h1.display { font-size: clamp(2.75rem, 9vw, 6rem); }
h2.display { font-size: clamp(2.1rem, 6vw, 4rem); }
h3.display { font-size: clamp(1.5rem, 3vw, 2rem); }

.lead { color: var(--muted); font-size: clamp(1.05rem, 1rem + .35vw, 1.3rem); max-width: 60ch; }
.section__head { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }

/* Buttons ------------------------------------------------------------- */
.btn {
  --btn-bg: var(--blue); --btn-fg: #fff; --btn-bd: var(--blue);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.6rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 2px solid var(--btn-bd); border-radius: 999px;
  cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease;
  text-align: center;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--small { min-height: 44px; padding: .7rem 1.3rem; font-size: .9375rem; }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover, .btn .arrow, .btn:hover .arrow { transform: none; }
}

/* Header -------------------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.86);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header { background: rgba(255,255,255,.96); }
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 4px 18px -12px rgba(14,14,14,.25); }
.header__inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--header-h);
}
.header__logo { flex: 0 0 auto; }
.header__logo img { height: 42px; width: auto; }
.header__nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(.85rem, 1.6vw, 1.5rem); list-style: none; margin: 0; padding: 0; }
.nav__link { white-space: nowrap; }
.nav__link { font-weight: 500; color: var(--ink); font-size: .95rem; }
.nav__link:hover { color: var(--blue); }

.header__tools { display: flex; align-items: center; gap: .75rem; margin-left: 1rem; }
.header__tools .btn { white-space: nowrap; }
.langswitch { display: flex; align-items: center; gap: .3rem; font-size: .85rem; font-weight: 600; }
.langswitch a { color: var(--muted); padding: .35rem .45rem; min-height: 24px; display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 1120px) {
  .langswitch { gap: .6rem; }
  .langswitch a { min-width: 44px; min-height: 44px; }
}
.langswitch a[aria-current="true"] { color: var(--ink); }
.langswitch a:hover { color: var(--blue); }
.langswitch span { color: var(--line); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  width: 44px; height: 44px; margin-left: .25rem;
  background: none; border: 1px solid var(--line); border-radius: 10px;
  cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink);
  transition: transform .2s ease, opacity .2s ease; position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; left: 0; }
.nav-toggle span::after  { position: absolute; top: 6px; left: 0; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1120px) {
  .nav-toggle { display: inline-flex; order: 3; }
  .header__nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-120%); transition: transform .25s ease;
    margin-left: 0;
  }
  .header__nav.is-open { transform: translateY(0); }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem var(--pad) 1.25rem; }
  .nav__link { display: block; padding: .85rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .header__tools { order: 2; }
}
@media (max-width: 600px) {
  .header__logo img { height: 34px; }
  .header__tools { margin-left: auto; gap: .25rem; }
  .header__tools .btn { display: none; }
  .langswitch a { min-width: 38px; }
  .header__inner { gap: .5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .header__nav { transition: none; }
}
/* Lock body scroll while the mobile nav panel is open. */
body.nav-open { overflow: hidden; }

/* Hero ---------------------------------------------------------------- */
/* Sfondo = banner del vecchio sito (hero-bg.jpg, inline style nell'HTML);
   scrim bianca sfumata da sinistra per la leggibilità del testo. */
.hero {
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 7vw, 5rem);
  position: relative; overflow: hidden;
  background-size: cover; background-position: right center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(255,255,255,.97) 0%, rgba(255,255,255,.93) 38%,
    rgba(255,255,255,.55) 64%, rgba(255,255,255,.12) 100%);
}
@media (max-width: 939px) {
  .hero::before { background: rgba(255,255,255,.93); }
}
.hero__inner { position: relative; z-index: 1; max-width: 920px; }
.hero h1 { margin-bottom: 1.25rem; }
.hero .lead { margin-bottom: 2rem; font-size: clamp(1rem, .95rem + .2vw, 1.1rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.75rem; }


/* Split-text reveal (hero title) */
.split .word { display: inline-block; }
.split .word > span {
  display: inline-block;
  opacity: 0; transform: translateY(0.5em);
}
.split.is-in .word > span { animation: wordIn .6s cubic-bezier(.2,.7,.2,1) forwards; }
.split.is-in .word:nth-child(1) > span { animation-delay: .02s; }
.split.is-in .word:nth-child(2) > span { animation-delay: .10s; }
.split.is-in .word:nth-child(3) > span { animation-delay: .18s; }
.split.is-in .word:nth-child(4) > span { animation-delay: .26s; }
.split.is-in .word:nth-child(5) > span { animation-delay: .34s; }
@keyframes wordIn { to { opacity: 1; transform: translateY(0); } }

/* Intro --------------------------------------------------------------- */
.intro__grid { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); }
@media (min-width: 880px) {
  .intro__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: start; }
  .intro__title { position: sticky; top: calc(var(--header-h) + 2rem); }
}
.intro__body p { color: var(--muted); font-size: 1.1rem; }

/* Pillars ------------------------------------------------------------- */
.pillars__grid { display: grid; gap: 1.25rem; }
@media (min-width: 560px) { .pillars__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .pillars__grid { grid-template-columns: repeat(4, 1fr); } }
.pillar {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem; box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.section--alt .pillar { background: #fff; }
.pillar:hover { transform: translateY(-4px); border-color: #d7dadd; }
@media (prefers-reduced-motion: reduce) { .pillar:hover { transform: none; } }
.pillar__icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(0,87,155,.08); color: var(--blue);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.pillar__icon svg { width: 26px; height: 26px; }
.pillar h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.2rem; line-height: 1.2; margin-bottom: .6rem; }
.pillar p { color: var(--muted); font-size: .975rem; margin: 0; }

/* Credibility / stats ------------------------------------------------- */
.cred__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 880px) { .cred__grid { grid-template-columns: 1.1fr 1fr; } }
.cred__body p { color: var(--muted); font-size: 1.1rem; }
.stats { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
@media (min-width: 520px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { background: #fff; padding: 1.75rem 1.25rem; text-align: center; }
.section--alt .stat { background: var(--bg-alt); }
.stat__value { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 3.75rem); color: var(--blue); line-height: 1; }
.stat__label { color: var(--muted); font-size: .9rem; margin-top: .5rem; }

/* Range --------------------------------------------------------------- */
.range__cards { display: grid; gap: 1.25rem; margin-top: clamp(2rem, 4vw, 3rem); }
@media (min-width: 820px) { .range__cards { grid-template-columns: repeat(2, 1fr); } }
.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem); box-shadow: var(--shadow);
}
.card--accent { background: linear-gradient(160deg, #fff 0%, #fff 60%, rgba(0,87,155,.05) 100%); border-color: rgba(0,87,155,.25); }
.card__tag { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: .75rem; }
.card h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.4rem; margin-bottom: .75rem; }
.card p { color: var(--muted); }
.card__cta { margin-top: auto; padding-top: 1.5rem; }

/* Contact ------------------------------------------------------------- */
.contact__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
@media (min-width: 920px) { .contact__grid { grid-template-columns: 1fr 1.1fr; } }
.contact__aside { display: flex; flex-direction: column; gap: 1.75rem; }
.team-card { margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.team-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.team-card figcaption { padding: .85rem 1.1rem; font-size: .9rem; color: var(--muted); background: #fff; }
.address { font-style: normal; line-height: 1.8; }
.address__label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: .5rem; display: block; }
.address strong { display: block; font-size: 1.1rem; color: var(--ink); margin-bottom: .25rem; }
.address a { font-weight: 500; }
.address dl { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; margin: .75rem 0 0; }
.address dt { color: var(--muted); }
.address dd { margin: 0; }

/* Form */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: var(--shadow); }
.form__row { margin-bottom: 1.1rem; }
.form__grid { display: grid; gap: 1.1rem; }
@media (min-width: 560px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.field .req { color: var(--red); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: .75rem .9rem; border: 1px solid #d7dadd; border-radius: var(--radius);
  background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,87,155,.15); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--red); }
.field__error { display: none; color: var(--red); font-size: .825rem; margin-top: .35rem; }
.field input[aria-invalid="true"] ~ .field__error,
.field textarea[aria-invalid="true"] ~ .field__error { display: block; }

.consent { display: flex; gap: .65rem; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; min-width: 20px; margin-top: .15rem; accent-color: var(--blue); }
.consent label { font-weight: 400; }
.consent a { text-decoration: underline; }

.form__submit { margin-top: 1.25rem; }
.form__submit .btn { width: 100%; }
.form__status { margin-top: 1rem; padding: .85rem 1rem; border-radius: var(--radius); font-size: .95rem; display: none; }
.form__status.is-visible { display: block; }
.form__status--ok { background: rgba(16,122,49,.08); color: #0f7a31; border: 1px solid rgba(16,122,49,.25); }
.form__status--err { background: rgba(226,0,26,.06); color: var(--red-dark); border: 1px solid rgba(226,0,26,.25); }
.form__fallback { margin-top: 1rem; font-size: .85rem; color: var(--muted); }

/* Mailto copy fallback (rendered by JS when no endpoint is configured) */
.form__mailto-fallback { margin-top: 1rem; display: grid; gap: .6rem; }
.form__mailto-fallback p { margin: 0; font-size: .85rem; color: var(--muted); }
.form__mailto-text {
  width: 100%; min-height: 8rem; resize: vertical;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .85rem; line-height: 1.5; color: var(--ink);
  background: var(--bg-alt); border: 1px solid var(--line);
  border-radius: var(--radius); padding: .75rem .85rem;
}
.form__mailto-fallback .btn { justify-self: start; }

/* FAQ ----------------------------------------------------------------- */
.faq__list { display: grid; gap: .85rem; max-width: 80ch; }
.faq__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.section--alt .faq__item { background: #fff; }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.35rem; font-weight: 600; font-size: 1.05rem; color: var(--ink);
  min-height: 44px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; margin-left: auto; color: var(--blue); font-size: 1.5rem; line-height: 1;
  font-weight: 400; transition: transform .2s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--blue); }
.faq__answer { padding: 0 1.35rem 1.25rem; color: var(--muted); }
.faq__answer p { margin: 0; }
@media (prefers-reduced-motion: reduce) { .faq__item summary::after { transition: none; } }

/* Footer -------------------------------------------------------------- */
.footer { background: var(--ink); color: #cfd2d6; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer a { color: #e7e9ec; }
.footer a:hover { color: #fff; }
.footer__top { display: grid; gap: 2.5rem; }
@media (min-width: 760px) { .footer__top { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer__brand img { height: 38px; width: auto; margin-bottom: 1.25rem; }
/* Reserve painted box (38px tall) to avoid reflow when footer logos load. */
.footer__brand img { aspect-ratio: 246 / 50; }
.footer__brand p { color: #9aa0a6; max-width: 38ch; font-size: .95rem; }
.footer h4 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin: 0 0 1rem; font-weight: 700; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer__links a { font-size: .95rem; }
.footer__contact { font-style: normal; line-height: 1.9; color: #9aa0a6; font-size: .95rem; }
.footer__contact a { color: #e7e9ec; }
.footer__bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; align-items: center;
  font-size: .85rem; color: #8a9096;
}
.footer__legal { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* Range extras: advantages, catalogue, MyKeys Pro -------------------- */
.range__subhead { max-width: 62ch; margin: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem; }
.range__subhead h3 { font-family: var(--font-body); font-weight: 700; font-size: clamp(1.3rem, 2.5vw, 1.6rem); margin-bottom: .5rem; }
.range__subhead p { color: var(--muted); margin: 0; }
.range__subhead p + p { margin-top: .75rem; }

.advantages { display: grid; gap: 1.25rem; }
@media (min-width: 720px) { .advantages { grid-template-columns: repeat(3, 1fr); } }
.advantage {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem; box-shadow: var(--shadow);
  transition: transform .2s ease, border-color .2s ease;
}
.advantage:hover { transform: translateY(-4px); border-color: #d7dadd; }
@media (prefers-reduced-motion: reduce) { .advantage:hover { transform: none; } }
.advantage__icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(0,87,155,.08); color: var(--blue);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.advantage__icon svg { width: 24px; height: 24px; }
.advantage__icon--red { background: rgba(226,0,26,.08); color: var(--red); }
.advantage h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.1rem; line-height: 1.2; margin: 0 0 .5rem; }
.advantage p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Catalogue download band */
.catalogue {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem;
  justify-content: space-between;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.catalogue__text { flex: 1 1 22ch; max-width: 52ch; }
.catalogue__text h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.3rem; margin: 0 0 .4rem; }
.catalogue__text p { color: var(--muted); margin: 0; }
.catalogue .btn svg { width: 20px; height: 20px; }
.catalogue__actions { display: flex; flex-direction: column; gap: .75rem; align-items: flex-start; }

/* Manufacturing band -------------------------------------------------- */
.mfg__grid { display: grid; gap: 1.25rem; margin-top: clamp(2rem, 4vw, 3rem); }
@media (min-width: 720px) { .mfg__grid { grid-template-columns: repeat(3, 1fr); } }
.mfg__item { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.mfg__item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mfg__item figcaption { padding: .8rem 1.1rem; font-size: .9rem; color: var(--muted); }

/* Who is Silca -------------------------------------------------------- */
.silca__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 880px) { .silca__grid { grid-template-columns: 1.2fr .8fr; } }
.silca__body p { color: var(--muted); font-size: 1.1rem; }
.silca__logo {
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
  background: radial-gradient(ellipse at center, rgba(226,0,26,.10) 0%, rgba(226,0,26,0) 70%);
}
.silca__logo img { height: clamp(84px, 13vw, 150px); width: auto; filter: drop-shadow(0 14px 28px rgba(14,14,14,.18)); }

/* Contact person card ------------------------------------------------- */
.contact-person {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem; box-shadow: var(--shadow);
}
.contact-person__label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: .5rem; display: block; }
.contact-person strong { display: block; font-size: 1.1rem; color: var(--ink); margin-bottom: .25rem; }
.contact-person p { color: var(--muted); margin: 0 0 .35rem; font-size: .95rem; }
.contact-person dl { display: grid; grid-template-columns: auto 1fr; gap: .25rem 1rem; margin: .6rem 0 0; line-height: 1.6; }
.contact-person dt { color: var(--muted); }
.contact-person dd { margin: 0; }
.contact-person a { font-weight: 500; }

/* Scroll reveal ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .split .word > span { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* Real photo assets --------------------------------------------------- */

/* Hero: su schermi larghi il testo resta nella colonna sinistra,
   la destra lascia respirare lo sfondo (macchina duplicatrice). */
@media (min-width: 940px) {
  .hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .8fr); column-gap: clamp(2rem, 5vw, 4rem); align-items: center; max-width: var(--maxw); }
  .hero__inner > * { grid-column: 1; }
}

/* Range key-image card: image sits at the top of the BÖRKEY Schlüssel card */
.card__media { margin: -0.25rem -0.25rem 1.25rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.card__media img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 799; object-fit: cover; }

/* Catalogue teaser thumbnail next to the download CTA */
.catalogue__media { flex: 0 0 auto; width: clamp(140px, 22vw, 200px); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); }
.catalogue__media img { display: block; width: 100%; height: auto; aspect-ratio: 1000 / 666; object-fit: cover; }

/* Contact visual: foto team neutra (portrait) */
.team-card--portrait img { aspect-ratio: 1208 / 1500; }

/* Call-Button (mobil) -------------------------------------------------- */
.callfab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 60;
  display: none; align-items: center; gap: .5rem;
  padding: .8rem 1.1rem; border-radius: 999px;
  background: var(--blue); color: #fff; font-weight: 600; font-size: .95rem;
  box-shadow: 0 10px 24px rgba(0,87,155,.35);
}
.callfab svg { width: 20px; height: 20px; flex: 0 0 auto; }
.callfab:hover, .callfab:focus-visible { background: var(--blue-dark); color: #fff; }
@media (max-width: 719px) { .callfab { display: inline-flex; } }
@media print { .callfab { display: none; } }

/* Schlüsselsuche: App von Silca (app.silca.biz) im iframe -------------- */
.keysearch__frame {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  padding: clamp(.75rem, 1.5vw, 1.25rem); /* die App selbst hat keinen Innenabstand */
}
/* ponytail: feste Höhe (Formular passt komplett rein), Trefferliste scrollt im iframe —
   die App sendet keine postMessage-Höhe. Bei Bedarf hier anpassen. */
/* Inhalt der App ist 992px breit und linksbündig (kein eigener Innenabstand):
   iframe auf Inhaltsbreite + Reserve für die Scrollleiste, dann zentriert. */
.keysearch__frame iframe {
  display: block; width: min(100%, 1024px); height: 760px; border: 0;
  /* auf den 992px breiten App-Inhalt zentrieren; die 32px Reserve (Scrollleiste)
     landen im rechten Rand bzw. werden vom overflow:hidden abgeschnitten */
  margin-left: max(0px, calc((100% - 992px) / 2));
}
@media (max-width: 719px) { .keysearch__frame iframe { height: 600px; } }

/* Katalog-Block + MyKeys Pro als ein Block (Francesca 02/09) ----------- */
.range__block { margin-top: clamp(2rem, 4vw, 3rem); }
/* ponytail: display:block statt Flex, damit das Bild links floaten kann */
@media (min-width: 820px) {
  .card--merged { display: block; }
  .card--merged .card__media {
    float: left; width: 360px; margin: 0 clamp(1.5rem, 3vw, 2.5rem) 1.25rem 0;
  }
  .card--merged .card__sub { clear: both; }
}
.card--merged .card__cta { margin-top: 0; }
.card__sub {
  margin-top: 1.75rem; padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid rgba(0,87,155,.18); border-radius: var(--radius);
  background: linear-gradient(160deg, #fff 0%, #fff 55%, rgba(0,87,155,.06) 100%);
}
.card__sub h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.2rem; margin-bottom: .6rem; }
.card__sub p { color: var(--muted); }
