/* ABC Translation Austria
   Palette: ink #14213D, ink-2 #2B3A5C, paper #F3F5F8, line #DCE0E7, red (Austria) #C8102E, wax #8E0C22
   Type: Charter-family serif for headings (document feel), system sans for body. No web fonts = fast LCP. */

:root {
  --ink: #14213D;
  --ink-2: #2B3A5C;
  --muted: #566074;
  --paper: #F3F5F8;
  --white: #FFFFFF;
  --line: #DCE0E7;
  --red: #C8102E;
  --wax: #8E0C22;
  --focus: #1E5EFF;
  --serif: Charter, "Bitstream Charter", "Sitka Text", Cambria, "Iowan Old Style", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 72rem;
  --r-sm: 4px;
  --r-md: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink); background: var(--white);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-color: var(--red); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, .h3 { font-family: var(--serif); font-weight: 700; line-height: 1.18; letter-spacing: -0.01em; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
h3, .h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.wrap--narrow { max-width: 46rem; }
.mt { margin-top: 2rem; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: .5rem; top: .5rem; color: #fff; }

/* top bar + header */
.topbar { background: var(--ink); color: #fff; font-size: .875rem; }
.topbar__in { display: flex; justify-content: flex-end; gap: 1.5rem; padding-top: .4rem; padding-bottom: .4rem; }
.topbar a { color: #fff; text-decoration: none; opacity: .9; }
.topbar a:hover { opacity: 1; text-decoration: underline; }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand__seal { width: 40px; height: 40px; flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--serif); font-weight: 700; font-size: 1.2rem; }
.brand__sub { font-size: .8rem; color: var(--muted); }

.site-nav { display: flex; align-items: center; gap: 1.25rem; }
.site-nav ul { list-style: none; display: flex; gap: 1.4rem; margin: 0; padding: 0; }
.site-nav ul a { text-decoration: none; font-weight: 500; padding: .35rem 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover { border-bottom-color: var(--red); color: var(--ink); }
.lang-switch { font-weight: 600; font-size: .9rem; text-decoration: none; border: 1px solid var(--line); border-radius: var(--r-sm); padding: .3rem .55rem; }
.lang-switch:hover { border-color: var(--ink); color: var(--ink); }

.nav-toggle { display: none; align-items: center; gap: .5rem; background: none; border: 1px solid var(--line); border-radius: var(--r-sm); padding: .5rem .7rem; font: inherit; font-size: .95rem; color: var(--ink); cursor: pointer; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { display: block; width: 18px; height: 2px; background: var(--ink); position: relative; content: ""; transition: transform .2s; }
.nav-toggle__bar::before { position: absolute; top: -6px; }
.nav-toggle__bar::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); padding: 1rem 1.25rem 1.5rem; flex-direction: column; align-items: stretch; gap: 1rem; }
  .js .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: .75rem 0; border-bottom: 1px solid var(--line); }
  .site-header__in { flex-wrap: wrap; }
  html:not(.js) .site-nav { width: 100%; flex-wrap: wrap; padding-bottom: 1rem; }
  .topbar__in { justify-content: center; }
}

/* buttons */
.btn { display: inline-block; background: var(--red); color: #fff; font-weight: 600; text-decoration: none; padding: .85rem 1.4rem; border-radius: var(--r-sm); border: 2px solid var(--red); font-size: 1rem; line-height: 1.2; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--wax); border-color: var(--wax); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--small { padding: .5rem .9rem; font-size: .92rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* hero */
.hero { background: linear-gradient(180deg, var(--paper) 0%, var(--white) 100%); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2.5rem; align-items: center; padding-top: 3.5rem; padding-bottom: 3.5rem; }
.hero h1 { max-width: 19ch; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 40rem; line-height: 1.55; }
.hero__art { display: flex; justify-content: center; }
.hero-art { width: 100%; max-width: 400px; filter: drop-shadow(0 18px 30px rgba(20, 33, 61, .14)); }

/* The one orchestrated moment: the cord is threaded and the seal pressed */
.cord path { stroke-dasharray: 520; stroke-dashoffset: 520; animation: thread 1.1s .2s cubic-bezier(.6,.1,.2,1) forwards; }
.cord .cord__white { stroke-dasharray: 7 9; stroke-dashoffset: 0; opacity: 0; animation: appear .3s 1.2s forwards; }
.seal { transform-box: fill-box; transform-origin: center; opacity: 0; animation: press .45s 1.15s cubic-bezier(.3,1.6,.5,1) forwards; }
@keyframes thread { to { stroke-dashoffset: 0; } }
@keyframes appear { to { opacity: 1; } }
@keyframes press { 0% { opacity: 0; transform: scale(1.35); } 100% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .cord path, .cord .cord__white, .seal { animation: none; stroke-dashoffset: 0; opacity: 1; }
  .cord .cord__white { stroke-dasharray: 7 9; }
}

@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; padding-top: 2.25rem; padding-bottom: 2rem; }
  .hero__art { order: -1; }
  .hero-art { max-width: 230px; }
}

/* page head */
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: 2.75rem 0 2.5rem; }
.page-head h1 { max-width: 24ch; }
.page-head--center { text-align: center; padding: 4rem 0; }
.page-head--center h1, .page-head--center .lede { margin-left: auto; margin-right: auto; }
.page-head--center .actions { justify-content: center; }
.done { width: 64px; height: 64px; margin-bottom: 1rem; }

.crumbs { background: var(--paper); font-size: .875rem; color: var(--muted); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; margin: 0 auto; padding: .8rem 1.25rem 0; max-width: var(--wrap); }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: #9AA3B2; }
.crumbs a { color: var(--muted); }

/* bands */
.band { padding: 3.75rem 0; }
.band--paper { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { color: var(--ink-2); max-width: 44rem; margin-bottom: 1.75rem; }

/* services list: rows, not cards */
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 3rem; }
.svc { display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.5rem 0; border-top: 1px solid var(--line); }
.svc h3 { margin-bottom: .35rem; }
.svc h3 a { text-decoration: none; }
.svc h3 a:hover { text-decoration: underline; color: var(--ink); }
.svc p { margin: 0; color: var(--ink-2); }
.svc__icon { width: 3rem; height: 3rem; border-radius: 50%; background: #FBE8EB; color: var(--wax); display: grid; place-items: center; }
.icon { width: 1.6rem; height: 1.6rem; }
@media (max-width: 760px) { .svc-list { grid-template-columns: 1fr; } }

/* process: a real sequence, so numbered */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.steps li { counter-increment: step; position: relative; padding-top: 3.25rem; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 2px solid var(--red); color: var(--red); font-family: var(--serif); font-weight: 700; display: grid; place-items: center; background: var(--white); }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 1.2rem; left: 3rem; right: -1rem; border-top: 2px dotted #B9C0CC; }
.steps p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; gap: 1.25rem; }
  .steps li { padding: 0 0 0 3.5rem; min-height: 2.4rem; }
  .steps li:not(:last-child)::after { display: none; }
}

/* why */
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 3rem; }
.why li { border-left: 3px solid var(--red); padding-left: 1.1rem; }
.why p { color: var(--ink-2); margin: 0; }
@media (max-width: 760px) { .why { grid-template-columns: 1fr; } }

/* states */
.states { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.states a { display: flex; flex-direction: column; background: var(--white); padding: 1.1rem 1.25rem; text-decoration: none; height: 100%; }
.states a:hover { background: #FFF7F8; color: var(--ink); }
.state__name { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; }
.state__meta { color: var(--muted); font-size: .9rem; }
@media (max-width: 700px) { .states { grid-template-columns: 1fr 1fr; } }

/* chips */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips a { display: inline-block; padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .95rem; background: var(--white); }
.chips a:hover { border-color: var(--red); color: var(--wax); }

/* content layout */
.layout-2 { display: grid; grid-template-columns: minmax(0, 1fr) 20rem; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .layout-2 { grid-template-columns: 1fr; } }
.prose { max-width: 42rem; }
.prose h2 { margin-top: 2rem; font-size: 1.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { line-height: 1.7; }
.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem; position: sticky; top: 6rem; }
@media (max-width: 900px) { .side-card { position: static; } }
.ticks { list-style: none; margin: 0 0 1em; padding: 0; }
.ticks li { position: relative; padding: .35rem 0 .35rem 1.6rem; }
.ticks li::before { content: ""; position: absolute; left: .15rem; top: .8rem; width: .7rem; height: .38rem; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }

.loc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 3rem; }
.loc h2 { font-size: 1.4rem; }
.loc h2 a { text-decoration: none; }
@media (max-width: 760px) { .loc-grid { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 46rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .5rem; top: 1.45rem; width: .6rem; height: .6rem; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.7rem; }
.faq__a { padding: 0 0 1.1rem; color: var(--ink-2); }
.faq__a p { margin: 0; }

/* form */
.band--form { background: var(--ink); color: #fff; }
.band--form h2, .band--form .direct__h { color: #fff; }
.form-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; gap: 2rem; } }
.form-aside p { color: #D3D9E4; }
.direct { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.2); }
.direct__h { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; margin-bottom: .4rem; }
.direct__link { color: #fff; font-weight: 600; font-size: 1.1rem; }
.direct__link:hover { color: #fff; }

.qform { background: var(--white); color: var(--ink); border-radius: var(--r-md); padding: 1.75rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
@media (max-width: 600px) { .qform { grid-template-columns: 1fr; padding: 1.25rem; } }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: .95rem; }
.field abbr { color: var(--red); text-decoration: none; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="date"], .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1px solid #AEB6C4; border-radius: var(--r-sm); padding: .7rem .8rem; width: 100%;
}
.field textarea { resize: vertical; min-height: 8rem; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); outline: 3px solid rgba(30,94,255,.25); outline-offset: 0; }
.field input[type="file"] { font-size: .95rem; padding: .6rem; border: 1px dashed #AEB6C4; border-radius: var(--r-sm); background: var(--paper); }
.field [aria-invalid="true"] { border-color: var(--red); }
.hint { font-size: .85rem; color: var(--muted); margin: 0; }
.check { flex-direction: row; align-items: flex-start; gap: .65rem; }
.check input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; flex: none; accent-color: var(--red); }
.check label { font-weight: 400; font-size: .92rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qform__alert { grid-column: 1 / -1; background: #FBE8EB; border-left: 4px solid var(--red); color: var(--wax); padding: .8rem 1rem; border-radius: var(--r-sm); font-weight: 500; }

/* legal pages */
mark.ph { background: #FFF1B8; padding: 0 .2rem; }
.note { color: var(--muted); font-size: .9rem; }

/* footer */
.site-footer { background: #0D1730; color: #C9D0DC; padding: 3.5rem 0 1.5rem; font-size: .95rem; border-top: 12px solid transparent; border-image: linear-gradient(to bottom, var(--red) 0 33.3%, #fff 33.3% 66.6%, var(--red) 66.6%) 1; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-h { color: #fff; font-family: var(--serif); font-weight: 700; font-size: 1.05rem; margin-bottom: .75rem; }
.footer-brand { color: #fff; font-weight: 600; margin-bottom: .4rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: .2rem 0; }
.footer-note { font-size: .85rem; color: #9AA5B8; margin-top: 1rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; border-top: 1px solid rgba(255,255,255,.12); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .875rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a + a { margin-left: 1.25rem; }

@media print {
  .topbar, .site-header, .band--form, .site-footer, .crumbs { display: none; }
}
