:root {
  --blue: #4463ab;
  --blue-deep: #2b3f73;
  --tone: #f5f6fa;
  --line: #e6e9f0;
  --ink: #1f2430;
  --muted: #5b6372;
  --paper: #ffffff;

  --fs-h1: clamp(1.75rem, 1.35rem + 2.3vw, 3.25rem);
  --fs-h2: clamp(1.5rem, 1.3rem + .9vw, 2rem);
  --fs-h3: 1.125rem;
  --fs-lead: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  --fs-body: 1.0625rem;
  --fs-small: .9375rem;

  --space: clamp(64px, 8vw, 112px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
a, button, summary, input { touch-action: manipulation; -webkit-tap-highlight-color: rgba(68, 99, 171, .15); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.65;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 600; text-wrap: balance; }
h1 { font-size: var(--fs-h1); line-height: 1.12; letter-spacing: -.022em; }
h2 { font-size: var(--fs-h2); line-height: 1.2; letter-spacing: -.016em; }
h3 { font-size: var(--fs-h3); line-height: 1.35; letter-spacing: -.005em; }
p { max-width: 62ch; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.on-blue :focus-visible { outline-color: #fff; }

.skip { position: fixed; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 16px; }

.wrap { position: relative; z-index: 1; width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: clamp(24px, 5vw, 48px); }
.block { position: relative; overflow: hidden; padding-block: var(--space); }
.tone { background: var(--tone); }
.lead { font-size: var(--fs-lead); color: var(--muted); }
.muted { color: var(--muted); }
.head { margin-bottom: clamp(32px, 4vw, 48px); }
.head p { margin-top: 10px; color: var(--muted); }

/* The logo mark, quietly in the background now and then */
.mark {
  position: absolute; display: block; z-index: 0;
  aspect-ratio: 675 / 407;
  background: var(--blue);
  opacity: .055;
  pointer-events: none;
  -webkit-mask: url("/assets/hf-mark.svg") center / contain no-repeat;
  mask: url("/assets/hf-mark.svg") center / contain no-repeat;
}
.mark--page { width: min(46vw, 560px); right: -3vw; top: 50%; margin-top: calc(min(46vw, 560px) * -.3); }
.mark--corner { width: 240px; right: -36px; bottom: -28px; }
.mark--white { background: #fff; opacity: .1; }

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 22px;
  border: 1.5px solid transparent; border-radius: 999px;
  font: inherit; font-size: var(--fs-small); font-weight: 600; text-decoration: none; cursor: pointer;
  background: var(--blue); color: #fff;
  transition: background-color .18s, border-color .18s, color .18s;
}
.btn:hover { background: var(--blue-deep); }
.btn--ghost { background: transparent; color: var(--ink); border-color: #cfd4e0; }
.btn--ghost:hover { background: transparent; border-color: var(--blue); color: var(--blue); }
.btn--white { background: #fff; color: var(--blue-deep); }
.btn--white:hover { background: var(--tone); }
.btn--line-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--line-white:hover { background: transparent; border-color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link { color: var(--blue); font-weight: 600; font-size: var(--fs-small); text-decoration: none; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Simple checks instead of the logo */
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .38em; width: 16px; height: 16px;
  background: var(--blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); } /* taste-skill-ignore: quiet edge of the sticky bar */
.nav-row {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  max-width: 1120px; margin-inline: auto; padding: 12px clamp(24px, 5vw, 48px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; justify-self: start; }
.brand img { width: 52px; height: auto; }
.brand .logo-w { display: none; }
.brand-text { font-weight: 600; font-size: .9375rem; line-height: 1.2; }
.brand-text span { display: block; font-weight: 400; font-size: .8125rem; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a { text-decoration: none; }
.main-nav > a { display: block; padding: 8px 12px; font-size: var(--fs-small); font-weight: 500; color: var(--ink); transition: color .15s; }
.main-nav > a:hover { color: var(--blue); }
.main-nav a[aria-current="page"] { color: var(--blue); font-weight: 600; }
.nav-trigger {
  display: flex; align-items: center; gap: 5px; padding: 8px 12px; border: 0; background: none;
  font: inherit; font-size: var(--fs-small); font-weight: 500; color: var(--ink); cursor: pointer; transition: color .15s;
}
.nav-trigger svg { width: 12px; height: 12px; transition: transform .18s var(--ease); }
.nav-trigger:hover, .nav-group.open .nav-trigger { color: var(--blue); }
.nav-trigger.is-current { color: var(--blue); font-weight: 600; }
.nav-group.open .nav-trigger svg { transform: rotate(180deg); }
.nav-group { position: relative; }
.nav-sub {
  position: absolute; left: 0; top: 100%; min-width: 200px; padding: 6px;
  background: #fff; border-radius: 10px;
  box-shadow: 0 10px 30px rgba(31, 36, 48, .12); /* taste-skill-ignore: real dropdown overlay */
  display: none;
}
.nav-group.open .nav-sub { display: block; }
@media (hover: hover) and (min-width: 901px) {
  .nav-group:hover .nav-sub { display: block; }
  .nav-group:hover .nav-trigger { color: var(--blue); }
  .nav-group:hover .nav-trigger svg { transform: rotate(180deg); }
}
.nav-sub a { display: block; padding: 8px 10px; border-radius: 6px; font-size: var(--fs-small); }
.nav-sub a:hover { background: var(--tone); color: var(--blue); }
.nav-sub a[aria-current="page"] { color: var(--blue); font-weight: 600; }
.nav-extra { display: none; }
.header-actions { display: flex; align-items: center; gap: 16px; justify-self: end; }
.header-tel { text-decoration: none; font-size: .875rem; font-weight: 500; white-space: nowrap; }
.header-tel:hover { color: var(--blue); }
.header-actions .btn { min-height: 40px; padding: 7px 18px; white-space: nowrap; }
.menu-toggle { display: none; }

@media (max-width: 1180px) { .brand-text { display: none; } }
@media (max-width: 1020px) { .header-tel { display: none; } }

@media (max-width: 900px) {
  .site-header { background: var(--blue); color: #fff; border-bottom: 0; } /* taste-skill-ignore: cancels the edge */
  .nav-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0; padding: 8px 24px; }
  .brand .logo-c { display: none; }
  .brand .logo-w { display: block; width: 68px; }
  .header-actions { display: none; }
  .menu-toggle {
    order: 2; display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0;
    background: none; color: #fff; cursor: pointer;
  }
  .menu-toggle svg { width: 24px; height: 24px; }
  .menu-toggle .icon-close { display: none; }
  .menu-toggle.open .icon-burger { display: none; }
  .menu-toggle.open .icon-close { display: block; }
  .main-nav {
    order: 3; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0;
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height .25s var(--ease), visibility .25s, padding .25s;
  }
  .main-nav.open { max-height: 560px; visibility: visible; padding-block: 8px 16px; }
  .main-nav > a { color: #fff; padding: 10px 0; font-size: 1rem; }
  .main-nav > a:hover { color: #fff; }
  .main-nav a[aria-current="page"] { color: #fff; font-weight: 700; }
  .nav-trigger { width: 100%; justify-content: space-between; padding: 10px 0; font-size: 1rem; color: #fff; }
  .nav-trigger:hover, .nav-group.open .nav-trigger { color: #fff; }
  .nav-trigger.is-current { color: #fff; font-weight: 700; }
  .nav-trigger svg { width: 14px; height: 14px; }
  .nav-sub { position: static; background: none; padding: 0 0 4px 14px; min-width: 0; box-shadow: none; } /* taste-skill-ignore: cancels the overlay */
  .nav-sub a { color: #fff; padding: 7px 0; }
  .nav-sub a:hover { background: none; color: #fff; }
  .nav-sub a[aria-current="page"] { color: #fff; font-weight: 700; }
  .nav-extra { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
  .nav-extra .tel { color: #fff; font-size: var(--fs-small); font-weight: 500; }
  .nav-extra .btn { width: 100%; }
}

/* ---------- WhatsApp ---------- */
.wa-float {
  position: fixed; z-index: 40;
  right: calc(20px + env(safe-area-inset-right)); bottom: calc(20px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: #25d366; color: #fff;
  transition: background-color .18s;
}
.wa-float:hover { background: #1fb457; }
.wa-float svg { width: 26px; height: 26px; }

/* ---------- Blue head with the logo lines ---------- */
.hero { position: relative; overflow: hidden; color: #fff; background: var(--blue-deep); --mx: 0; --my: 0; }
.hero-arcs { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; fill: none; pointer-events: none; transform: translate3d(calc(var(--mx) * -12px), calc(var(--my) * -8px), 0); }
.arc-band { stroke: #fff; stroke-opacity: .05; stroke-width: 54; }
.arc-line { stroke: var(--grey, #d9d9d9); stroke-opacity: .32; stroke-width: 1.4; }
.arc-line--2 { stroke-opacity: .16; }
.mark.mark--hero { width: min(34vw, 420px); left: -5vw; bottom: -5vw; opacity: .045; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 80px); align-items: center; padding-block: clamp(56px, 6.5vw, 88px); }
.hero h1 { max-width: none; font-size: clamp(1.875rem, 1.5rem + 1.7vw, 2.75rem); }
.hero-kicker { display: block; margin-bottom: 14px; font-size: var(--fs-small); font-weight: 500; letter-spacing: 0; line-height: 1.45; color: rgba(255, 255, 255, .82); }
.hero-title { display: block; }
.hero-title > span { display: block; }
.aud-switch { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 26px; padding: 4px; background: rgba(255, 255, 255, .12); border-radius: 999px; }
.aud-switch[hidden] { display: none; }
.aud-switch::before { content: ""; position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: #fff; border-radius: 999px; transition: transform .32s var(--ease); }
.aud-switch[data-active="firma"]::before { transform: translateX(100%); }
.aud-switch button { position: relative; z-index: 1; min-height: 40px; padding: 8px 18px; border: 0; background: none; color: #fff; font: inherit; font-size: var(--fs-small); font-weight: 600; white-space: nowrap; cursor: pointer; transition: color .22s; }
.aud-switch button[aria-pressed="true"] { color: var(--blue-deep); }
.hero-panel { margin-top: 22px; }
.hero-panel[hidden], .hero-cards[hidden] { display: none; }
.hero-line { font-size: clamp(1.1875rem, 1.05rem + .6vw, 1.5rem); font-weight: 600; line-height: 1.3; letter-spacing: -.01em; }
.hero-line + p { margin-top: 8px; max-width: 34em; color: rgba(255, 255, 255, .86); }
.hero-panel .actions { margin-top: 24px; }
.rot { display: inline-grid; vertical-align: bottom; overflow: hidden; color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: rgba(255, 255, 255, .45); padding-bottom: 8px; margin-bottom: -8px; }
.rot > span { grid-area: 1 / 1; white-space: nowrap; opacity: 0; transform: translateY(100%); transition: opacity .3s, transform .42s var(--ease); }
.rot > span.is-on { opacity: 1; transform: none; }
.rot > span.is-off { transform: translateY(-100%); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero-visual { position: relative; }
.hero-photo, .hero-chip, .hero-cards { transition: transform .5s var(--ease); }
.hero-photo { overflow: hidden; aspect-ratio: 1 / .94; border-radius: 18px; background: var(--blue); transform: translate3d(calc(var(--mx) * 10px), calc(var(--my) * 8px), 0); }
.hero-photo picture { display: contents; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 74% 50%); }
.hero-photo--soft img { filter: saturate(.7); }
.hero-chip { position: absolute; top: 22px; right: -14px; display: flex; align-items: center; gap: 8px; padding: 9px 15px; background: #fff; color: var(--blue-deep); border-radius: 999px; font-size: .875rem; font-weight: 600; white-space: nowrap; transform: translate3d(calc(var(--mx) * -20px), calc(var(--my) * -16px), 0); }
.hero-chip svg { width: 18px; height: 18px; color: var(--blue); }
.hero-cards { position: absolute; left: -30px; bottom: 26px; display: grid; gap: 8px; width: min(250px, 72%); transform: translate3d(calc(var(--mx) * -14px), calc(var(--my) * -12px), 0); }
.hero-card { display: flex; align-items: center; gap: 12px; padding: 9px 12px 9px 9px; background: #fff; color: var(--ink); border-radius: 12px; font-size: var(--fs-small); font-weight: 600; text-decoration: none; transition: transform .22s var(--ease), color .18s; }
.hero-card:nth-child(2) { margin-left: 16px; margin-right: -16px; }
.hero-card:nth-child(3) { margin-left: 32px; margin-right: -32px; }
.hero .hero-card .ico { width: 36px; height: 36px; border-radius: 9px; background: rgba(68, 99, 171, .1); color: var(--blue); }
.hero .hero-card .ico svg { width: 18px; height: 18px; }
.hero-card > span:not(.ico) { flex: 1; }
.hero-card > svg { width: 16px; height: 16px; color: var(--blue); transition: transform .2s var(--ease); }
a.hero-card:hover { color: var(--blue); transform: translateX(5px); }
a.hero-card:hover > svg { transform: translateX(3px); }
.hero-fact { line-height: 1.35; overflow-wrap: anywhere; }
.hero-fact small { display: block; font-size: .8125rem; font-weight: 500; color: var(--muted); }
.hero-stack { display: grid; gap: 10px; transition: transform .5s var(--ease); transform: translate3d(calc(var(--mx) * -14px), calc(var(--my) * -12px), 0); }
.hero-stack .hero-card { padding: 12px 16px 12px 12px; border-radius: 14px; }
.hero-stack .hero-card:nth-child(2) { margin-left: 14px; margin-right: -14px; }
.hero-stack .hero-card:nth-child(3) { margin-left: 28px; margin-right: -28px; }
.hero-stack .hero-card:nth-child(4) { margin-left: 14px; margin-right: -14px; }
.hero-stack--flat { transform: none; }
.hero-stack--flat .hero-card:nth-child(n) { margin-left: 0; margin-right: 0; }
.hero-grid--solo { grid-template-columns: minmax(0, 1fr); }
.hero-grid--slim { padding-block: clamp(40px, 5vw, 64px); }
.hero .lead { margin-top: 14px; max-width: 34em; color: rgba(255, 255, 255, .88); }
.hero-copy > .actions { margin-top: 26px; }
.on-blue .link { color: #fff; }
@media (min-width: 901px) {
  .hero-visual--flip .hero-chip { left: -14px; right: auto; }
  .hero-visual--flip .hero-cards { left: auto; right: -30px; }
  .hero-visual--flip .hero-card:nth-child(1) { margin-left: -32px; margin-right: 32px; }
  .hero-visual--flip .hero-card:nth-child(2) { margin-left: -16px; margin-right: 16px; }
  .hero-visual--flip .hero-card:nth-child(3) { margin-left: 0; margin-right: 0; }
}

/* Bewerben: the form sits in the head */
.hero-grid--apply { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "head form" "side form"; gap: 32px clamp(40px, 6vw, 80px); align-items: start; }
.apply-head { grid-area: head; }
.apply-form { grid-area: form; padding: clamp(22px, 3vw, 34px); background: #fff; color: var(--ink); border-radius: 18px; }
.apply-form h2 { margin-bottom: 20px; font-size: 1.375rem; }
.apply-side { grid-area: side; display: grid; gap: 14px; }
.apply-side h2 { font-size: var(--fs-h3); letter-spacing: -.005em; }
.apply-direct { margin-top: 10px; }
.apply-direct p { margin-top: 2px; color: rgba(255, 255, 255, .88); }
.apply-direct .actions { margin-top: 14px; }

/* The same lines, quietly, further down the page */
.lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; fill: none; pointer-events: none; }
.lines .arc-band { stroke: var(--blue); stroke-opacity: .035; }
.lines .arc-line { stroke: var(--blue); stroke-opacity: .2; }
.lines .arc-line--2 { stroke-opacity: .1; }
.lines--white .arc-band { stroke: #fff; stroke-opacity: .05; }
.lines--white .arc-line { stroke: #fff; stroke-opacity: .26; }
.lines--white .arc-line--2 { stroke-opacity: .13; }

.avail { padding-block: clamp(28px, 3.5vw, 40px); background: var(--tone); }
.avail-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; }
.avail-title { display: flex; align-items: center; gap: 14px; }
.avail h2 { color: var(--blue); }

.panels { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }


.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.split h2 + p, .split h2 + .lead { margin-top: 14px; }
.split p + p { margin-top: 12px; }
.split p:not(.lead) { color: var(--muted); }
.split .actions { margin-top: 24px; }
.facts { display: grid; gap: 28px; }
.facts h3 { margin-bottom: 10px; }
.facts p { color: var(--muted); }

.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.tiles { display: grid; gap: 8px; }
.tiles details { background: var(--tone); border-radius: 10px; }
.tiles summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 15px 20px; font-weight: 500; line-height: 1.4; cursor: pointer; list-style: none; transition: color .15s; }
.tiles summary::-webkit-details-marker { display: none; }
.tiles summary:hover, .tiles details[open] summary { color: var(--blue); }
.tiles .plus { position: relative; flex: none; width: 12px; height: 12px; }
.tiles .plus::before, .tiles .plus::after { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 2px; background: currentColor; transition: transform .2s var(--ease); }
.tiles .plus::after { transform: rotate(90deg); }
.tiles details[open] .plus::after { transform: rotate(0); }
.tiles .answer { padding: 0 20px 18px; color: var(--muted); font-size: var(--fs-small); max-width: 60ch; }
.tiles .answer a { color: var(--blue); font-weight: 600; }

.cta { position: relative; overflow: hidden; padding: clamp(36px, 5vw, 64px); background: var(--blue-deep); color: #fff; border-radius: 16px; }
.cta > :not(.mark, .lines) { position: relative; z-index: 1; }
.cta p { margin-top: 10px; color: rgba(255, 255, 255, .88); }
.cta .actions { margin-top: 24px; }

/* ---------- Cards and icons ---------- */
.ico {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; border-radius: 11px;
  background: rgba(68, 99, 171, .1); color: var(--blue);
  transition: background-color .2s, color .2s, transform .25s var(--ease);
}
.ico svg { width: 22px; height: 22px; }
.tone .card > .ico, .tone .row > .ico { background: rgba(68, 99, 171, .1); }
.on-blue .ico { background: rgba(255, 255, 255, .16); color: #fff; }

.cards { display: grid; gap: 16px; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  position: relative; display: flex; flex-direction: column; align-items: flex-start;
  padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  text-decoration: none;
  transition: transform .25s var(--ease), border-color .2s, box-shadow .25s;
}
.card h3 { margin-top: 16px; }
.card p { margin-top: 6px; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 14px; color: var(--blue); font-size: var(--fs-small); font-weight: 600; }
.card-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.card--link:hover, .panel:hover { transform: translateY(-3px); }
.card--link:hover { border-color: rgba(68, 99, 171, .45); box-shadow: 0 12px 28px rgba(31, 36, 48, .08); } /* taste-skill-ignore: hover lift */
.card--link:hover .ico { background: var(--blue); color: #fff; }
.card--link:hover .card-link svg, .panel:hover .card-link svg { transform: translateX(4px); }

.panel {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start;
  padding: clamp(28px, 3.5vw, 40px); background: var(--tone); border-radius: 14px; color: var(--ink);
  text-decoration: none; transition: transform .25s var(--ease);
}
.panel > :not(.mark, .lines) { position: relative; z-index: 1; }
.panel h2 { margin-top: 18px; }
.panel p { margin-top: 10px; color: var(--muted); }
.panel--blue { background: var(--blue-deep); color: #fff; }
.panel--blue p { color: rgba(255, 255, 255, .88); }
.panel--blue .card-link { color: #fff; }

.service { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.service--flip > .service-text { order: 2; }
.service--center { align-items: center; }
.team-photo { position: relative; }
.team-photo-frame { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / .92; background: var(--blue-deep); border-radius: 18px; color: rgba(255, 255, 255, .6); }
.team-photo-icon { position: relative; z-index: 1; width: 42%; height: auto; }
.team-photo .hero-card { position: absolute; left: -16px; bottom: 24px; padding: 10px 18px 10px 10px; }
.team-rows { margin-top: clamp(48px, 6vw, 80px); }
.service-text > .ico { margin-bottom: 18px; }
.service-text .lead { margin-top: 14px; color: var(--ink); }
.service-text p + p { margin-top: 12px; }
.service-text h2 + p { margin-top: 14px; }
.service-text p:not(.lead) { color: var(--muted); }
.service-text .actions { margin-top: 22px; }

.rows { display: grid; gap: 12px; }
.rows--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.row {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  transition: transform .25s var(--ease), border-color .2s;
}
.row:hover { transform: translateX(4px); border-color: rgba(68, 99, 171, .45); }
.row p { margin-top: 2px; color: var(--muted); font-size: 1rem; line-height: 1.5; }

.note { display: flex; gap: 14px; align-items: center; margin-top: 22px; padding: 14px 18px; background: var(--blue); color: #fff; border-radius: 12px; }
.note strong { display: block; font-weight: 600; font-size: var(--fs-small); }
.note span:not(.ico) { display: block; font-size: var(--fs-small); line-height: 1.45; color: rgba(255, 255, 255, .9); }

.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 24px; background: #fff; border-radius: 14px; }
.step-no { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin-bottom: 14px; border-radius: 50%; background: var(--blue); color: #fff; font-size: var(--fs-small); font-weight: 600; }
.step-no::before { content: counter(step); }
.steps p { margin-top: 6px; color: var(--muted); font-size: 1rem; line-height: 1.55; }

.person-line { margin-top: 20px; color: var(--muted); max-width: none; }
.person-line strong { color: var(--ink); font-weight: 600; }

.person strong { display: block; font-weight: 600; }
.person span { color: var(--muted); font-size: var(--fs-small); }

/* ---------- Contact ---------- */
.map-consent {
  position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
  min-height: clamp(280px, 34vw, 400px); padding: clamp(28px, 4vw, 48px);
  background: var(--tone); border-radius: 14px;
}
.map-consent > :not(.mark) { position: relative; z-index: 1; }
.map-consent h2 { margin-top: 16px; }
.map-consent p { margin-top: 8px; }
.map-consent .map-note { color: var(--muted); font-size: var(--fs-small); }
.map-consent .actions { margin-top: 20px; }
.map { width: 100%; height: clamp(280px, 34vw, 400px); border: 0; display: block; border-radius: 14px; }

/* ---------- Form ---------- */
.form { display: grid; gap: 20px; }
.field label { display: block; margin-bottom: 6px; font-size: var(--fs-small); font-weight: 600; }
.field .req { color: var(--muted); font-weight: 400; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px;
  font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #cfd4e0; border-radius: 8px;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(68, 99, 171, .18); } /* taste-skill-ignore: focus ring */
.field textarea { display: block; line-height: 1.5; resize: vertical; }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.field input[type="file"] { width: 100%; padding: 9px; font: inherit; font-size: var(--fs-small); background: #fff; border: 1px solid #cfd4e0; border-radius: 8px; cursor: pointer; }
.field input[type="file"]::file-selector-button { font: inherit; font-weight: 600; margin-right: 12px; padding: 6px 14px; border: 0; border-radius: 999px; background: var(--tone); color: var(--ink); cursor: pointer; }
.hint { margin-top: 6px; font-size: .875rem; color: var(--muted); }
.field-error { margin-top: 6px; font-size: .875rem; font-weight: 500; color: #b3261e; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: hidden honeypot */
.form .btn { justify-self: start; }
.form .btn[disabled] { opacity: .65; cursor: progress; }
.privacy { font-size: .875rem; color: var(--muted); }
.privacy a { color: inherit; }
.form-status { padding: 14px 16px; border-radius: 8px; font-size: var(--fs-small); }
.form-status:empty { display: none; }
.form-status.ok { background: #e8f5ec; color: #17512c; }
.form-status.err { background: #fbecea; color: #7a1a13; }
.form-status a { font-weight: 600; }

/* ---------- Legal ---------- */
.legal > * { max-width: 720px; }
.legal h2 { font-size: var(--fs-h3); letter-spacing: 0; line-height: 1.35; margin: 32px 0 6px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--ink); font-size: var(--fs-small); }
.legal p + p, .legal p + ul, .legal ul + p { margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 20px; display: grid; gap: 4px; font-size: var(--fs-small); }
.legal a { color: var(--blue); overflow-wrap: anywhere; }

/* ---------- Footer ---------- */
.site-footer { position: relative; padding-block: clamp(48px, 6vw, 72px) clamp(28px, 3vw, 36px); background: var(--tone); font-size: var(--fs-small); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px clamp(32px, 5vw, 72px); }
.footer-grid img { width: 56px; margin-bottom: 12px; }
.footer-grid p { color: var(--muted); max-width: 32ch; }
.footer-grid p + p { margin-top: 8px; }
.footer-grid h2 { font-size: var(--fs-small); font-weight: 600; letter-spacing: 0; margin-bottom: 10px; }
.footer-grid ul { display: grid; gap: 6px; color: var(--muted); }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--blue); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(32px, 4vw, 48px); color: var(--muted); font-size: .875rem; }
.footer-bottom nav { display: flex; gap: 16px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--blue); }
.footer-copy { display: grid; gap: 4px; }
.footer-bottom .made-by a { display: inline-flex; align-items: center; gap: 3px; color: var(--blue); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s, text-decoration-thickness .15s; }
.footer-bottom .made-by a:hover { color: var(--blue-deep); text-decoration-thickness: 2px; }
.made-by svg { width: 11px; height: 11px; flex: none; }
.credits { margin-top: 12px; font-size: .8125rem; color: var(--muted); max-width: none; }

/* ---------- Motion: a soft fade as sections enter ---------- */
@media screen and (prefers-reduced-motion: no-preference) {
  .hero-title > span { animation: fade-up .7s var(--ease) backwards; }
  .hero-copy > .lead { animation: fade-up .6s var(--ease) .12s backwards; }
  .hero-copy > .actions { animation: fade-up .6s var(--ease) .2s backwards; }
  .apply-form { animation: pop-in .7s var(--ease) .2s backwards; }
  .apply-side { animation: fade-up .6s var(--ease) .3s backwards; }
  .hero-stack .hero-card { animation: pop-in .55s var(--ease) backwards; }
  .hero-stack .hero-card:nth-child(1) { animation-delay: .25s; }
  .hero-stack .hero-card:nth-child(2) { animation-delay: .33s; }
  .hero-stack .hero-card:nth-child(3) { animation-delay: .41s; }
  .hero-stack .hero-card:nth-child(4) { animation-delay: .49s; }
  .js-ready .lines .arc-band, .js-ready .lines .arc-line { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease); }
  .js-ready .lines.in-view .arc-band, .js-ready .lines.in-view .arc-line, .js-ready .panel .lines .arc-band, .js-ready .panel .lines .arc-line { stroke-dashoffset: 0; }
  .hero-title > span:nth-child(2) { animation-delay: .1s; }
  .hero-kicker { animation: fade-up .6s var(--ease) both; }
  .js-ready .aud-switch { animation: fade-up .6s var(--ease) .2s both; }
  .hero-panel { animation: fade-up .55s var(--ease) .28s both; }
  .hero-panel.is-swap { animation-delay: 0s; }
  .hero-photo img { animation: photo-in 1.1s var(--ease) both; }
  .hero-chip { animation: pop-in .6s var(--ease) .75s backwards; }
  .hero-cards .hero-card { animation: pop-in .55s var(--ease) backwards; }
  .hero-cards .hero-card:nth-child(1) { animation-delay: .5s; }
  .hero-cards .hero-card:nth-child(2) { animation-delay: .6s; }
  .hero-cards .hero-card:nth-child(3) { animation-delay: .7s; }
  .hero-cards.is-swap .hero-card { animation-delay: 0s; }
  .hero-cards.is-swap .hero-card:nth-child(2) { animation-delay: .06s; }
  .hero-cards.is-swap .hero-card:nth-child(3) { animation-delay: .12s; }
  .hero-arcs .arc-band, .hero-arcs .arc-line { stroke-dasharray: 1 1; animation: arc-draw 1.8s var(--ease) both; }
  .hero-arcs .arc-line { animation-delay: .25s; }
  .hero-arcs .arc-line--2 { animation-delay: .5s; }
  .js-ready .reveal, .js-ready .reveal-group > * {
    opacity: 0; transform: translateY(14px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
  }
  .js-ready .reveal.in-view, .js-ready .reveal-group.in-view > * { opacity: 1; transform: none; }
  .reveal-group > *:nth-child(2) { transition-delay: .07s; }
  .reveal-group > *:nth-child(3) { transition-delay: .14s; }
  .reveal-group > *:nth-child(4) { transition-delay: .21s; }
  .reveal-group > *:nth-child(n+5) { transition-delay: .28s; }
}
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes photo-in { from { transform: scale(1.1); } to { transform: none; } }
@keyframes arc-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

/* ---------- Tablet and phone ---------- */
@media (max-width: 900px) {
  html { scroll-padding-top: 76px; }
  .panels, .split, .faq, .service { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; padding-block: 44px 40px; }
  .hero-photo { aspect-ratio: 16 / 10; }
  .hero-photo:not(.hero-photo--soft) img { object-position: 70% 42%; }
  .hero-stack { transform: none; }
  .hero-stack .hero-card:nth-child(n) { margin-left: 0; margin-right: 0; }
  .hero-grid--apply { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: "head" "form" "side"; }
  .hero-chip { right: 12px; top: 12px; }
  .hero-cards { position: relative; left: auto; bottom: auto; width: auto; margin: -28px 12px 0; }
  .hero-card:nth-child(n) { margin-left: 0; margin-right: 0; }
  .service--flip > .service-text { order: 0; }
  .cards--3, .cards--4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .mark--page { width: 70vw; right: -14vw; margin-top: -18vw; }
}
@media (max-width: 560px) {
  .aud-switch { display: grid; }
  .aud-switch button { padding-inline: 8px; }
  .cards--2, .cards--3, .cards--4, .steps { grid-template-columns: 1fr; }
  .rows--2 { grid-template-columns: 1fr; }
  .team-photo .hero-card { left: 12px; bottom: 12px; }
  .hero .actions .btn, .cta .actions .btn { flex: 1 1 100%; }
}
