/* phoneinterpreting.eu — one stylesheet, no framework */
@font-face {
  font-family: "Onest";
  src: url("/assets/onest-var.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --ink: #0F1D2B;
  --ink-2: #33434F;
  --muted: #56666F;
  --teal: #0B5D5B;
  --teal-d: #074442;
  --teal-l: #E3EFED;
  --amber: #F2A900;
  --amber-d: #C98C00;
  --paper: #F2F5F4;
  --line: #D3DDDA;
  --white: #FFFFFF;
  --danger: #B42318;
  --ok: #0B6E3B;
  --radius: 14px;
  --radius-s: 8px;
  --wrap: 1160px;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink); background: var(--white); font-feature-settings: "ss01" on;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-underline-offset: .18em; }
a:hover { color: var(--teal-d); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 650; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.4rem); max-width: 18ch; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.2rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; border-radius: 6px; }
.skip:focus { left: 8px; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 46ch; }
.fine { font-size: .9rem; color: var(--muted); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: .85em 1.35em; border-radius: 999px; border: 2px solid var(--teal);
  background: var(--teal); color: #fff; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--teal-d); border-color: var(--teal-d); color: #fff; }
.btn-ghost { background: transparent; color: var(--teal); }
.btn-ghost:hover { background: var(--teal-l); color: var(--teal-d); }
.btn-amber { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn-amber:hover { background: #FFC12E; border-color: #FFC12E; color: var(--ink); }
.btn-sm { padding: .55em 1em; font-size: .92rem; }
.btn-wide { width: 100%; padding: 1em; font-size: 1.05rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* header */
.top { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: center; text-decoration: none; color: var(--ink); }
.brand-mark { width: 34px; height: 34px; grid-row: span 2; fill: none; stroke: var(--teal); stroke-width: 2.6; }
.brand-mark circle:last-of-type { stroke: var(--amber-d); }
.brand-name { font-weight: 700; font-size: 1.1rem; letter-spacing: -0.01em; line-height: 1.1; }
.brand-sub { font-size: .78rem; color: var(--muted); line-height: 1.1; }
.nav { display: flex; align-items: center; gap: 14px; }
.nav details { position: relative; }
.nav summary { list-style: none; cursor: pointer; padding: .45em .7em; border-radius: var(--radius-s); font-weight: 550; font-size: .95rem; }
.nav summary::-webkit-details-marker { display: none; }
.nav summary:hover { background: var(--paper); }
.nav details ul { list-style: none; margin: 0; padding: 6px; position: absolute; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-s); box-shadow: 0 12px 30px -12px rgba(15,29,43,.35); min-width: 200px; z-index: 30; }
.nav details ul a { display: block; padding: .5em .75em; border-radius: 6px; text-decoration: none; color: var(--ink); }
.nav details ul a:hover, .nav details ul a[aria-current] { background: var(--teal-l); }
.langs ul { columns: 2; min-width: 300px !important; }
.langs summary::after, .menu summary::after { content: ""; display: inline-block; width: .45em; height: .45em; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: .45em; }
.tel { font-weight: 600; text-decoration: none; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }

.nav-links { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav-links a { display: block; padding: .45em .7em; border-radius: var(--radius-s); text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 550; }
.nav-links a:hover { background: var(--paper); color: var(--teal-d); }
@media (min-width: 1100px) { .menu { display: none; } }
@media (max-width: 1099px) { .nav-links { display: none; } }
@media (max-width: 720px) {
  .tel, .brand-sub, .top .btn-sm { display: none; }
}

.lang-hint { background: var(--teal-l); font-size: .95rem; }
.lang-hint .wrap { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.lang-hint button { font: inherit; background: none; border: 0; cursor: pointer; color: var(--muted); padding: 4px 8px; }

.crumbs:has(+ .hero) { background: var(--paper); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding-top: 14px; padding-bottom: 0; margin: 0 auto; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--line); }
.crumbs a { color: var(--muted); }

/* hero */
.hero { background: var(--paper); padding: 56px 0 72px; border-bottom: 1px solid var(--line); }
.hero-sub { padding-top: 36px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.trust { list-style: none; padding: 0; margin: 1.6em 0; display: grid; gap: .55em; }
.trust li { padding-left: 1.7em; position: relative; color: var(--ink-2); }
.trust li::before { content: ""; position: absolute; left: 0; top: .42em; width: .95em; height: .55em; border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg); }
.hero-call { font-weight: 550; color: var(--ink-2); }
.hero-call a { font-weight: 700; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.hero-call a:hover { color: var(--teal); }
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 32px 0 48px; }
}

/* booking panel: two languages joined by a line */
.panel { background: var(--white); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(11,93,91,.45); }
.panel-title { font-weight: 650; font-size: 1.2rem; margin-bottom: 18px; letter-spacing: -0.01em; }
.line { display: grid; grid-template-columns: 28px 1fr; grid-template-rows: auto 22px auto; position: relative; }
.line-draw { grid-column: 1; grid-row: 1 / span 3; width: 28px; height: 100%; fill: none; stroke: var(--teal); stroke-width: 2.5; stroke-dasharray: 3 5; stroke-linecap: round; }
.line-draw path { stroke-dashoffset: 0; animation: line-run 1.4s ease-out both; }
@keyframes line-run { from { stroke-dashoffset: 120; opacity: 0; } to { stroke-dashoffset: 0; opacity: 1; } }
.line-dot { position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--amber); display: grid; place-items: center; animation: dot-in .5s .9s both; }
.line-dot svg { width: 15px; height: 15px; fill: var(--ink); }
@keyframes dot-in { from { transform: translateY(-50%) scale(.3); opacity: 0; } to { transform: translateY(-50%) scale(1); opacity: 1; } }
.end { grid-column: 2; display: grid; gap: 4px; padding-left: 12px; position: relative; }
.end::before { content: ""; position: absolute; left: -20px; top: 48px; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); }
.end-a { grid-row: 1; } .end-b { grid-row: 3; }
.end > span { font-size: .9rem; color: var(--muted); font-weight: 550; }
select, input, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); width: 100%;
  padding: .7em .8em; border: 1.5px solid var(--line); border-radius: var(--radius-s); background: #fff;
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.4em; }
select:focus, input:focus, textarea:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(11,93,91,.18); }
.end select { font-weight: 600; font-size: 1.08rem; }
.dur { border: 0; padding: 0; margin: 20px 0 0; }
.dur legend { font-size: .9rem; color: var(--muted); font-weight: 550; margin-bottom: 6px; padding: 0; }
.dur-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 8px; }
.dur-opt { position: relative; }
.dur-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.dur-opt span { display: block; text-align: center; padding: .65em .4em; border: 1.5px solid var(--line); border-radius: var(--radius-s); font-weight: 600; cursor: pointer; }
.dur-opt input:checked + span { border-color: var(--teal); background: var(--teal-l); color: var(--teal-d); }
.dur-opt input:focus-visible + span { outline: 3px solid var(--amber); outline-offset: 2px; }
.dur-big span { text-align: left; padding: .8em 1em; font-weight: 500; }
.dur-big b { display: block; font-weight: 650; }
.panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.total { margin: 0; color: var(--muted); }
.total strong { font-size: 1.6rem; color: var(--ink); font-weight: 700; margin-left: .3em; font-variant-numeric: tabular-nums; }
.panel-note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }

/* sections */
.sec { padding: 64px 0; }
.sec + .sec:not(.sec-tint):not(.sec-ink) { padding-top: 0; }
.sec-tint { background: var(--paper); }
.sec-tint + .sec { padding-top: 64px !important; }
.sec-ink { background: var(--ink); color: #E8EEF0; }
.sec-ink + .sec { padding-top: 64px !important; }
.sec-ink h2 { color: #fff; }
.sec-lead { color: var(--muted); max-width: 60ch; margin-bottom: 2em; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 58px; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--teal); color: var(--teal); display: grid; place-items: center; font-weight: 700; font-size: 1.1rem; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: 54px; right: -16px; border-top: 2px dotted var(--line); }
.steps p { color: var(--ink-2); }
.steps-mini { grid-template-columns: 1fr; gap: 14px; margin: 28px 0; }
.steps-mini li { padding: 6px 0 0 56px; min-height: 42px; }
.steps-mini li::after { display: none; }
.steps-mini h3 { font-size: 1.02rem; font-weight: 600; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } .steps li:not(:last-child)::after { display: none; } }

.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.price { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 24px; display: flex; flex-direction: column; position: relative; }
.price-pop { border: 2px solid var(--teal); }
.price-flag { position: absolute; top: -13px; left: 22px; background: var(--amber); color: var(--ink); font-size: .8rem; font-weight: 650; padding: 3px 10px; border-radius: 999px; margin: 0; }
.price-min { font-weight: 600; margin-bottom: .2em; }
.price-val { font-size: 2.6rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; margin: .1em 0 .15em; font-variant-numeric: tabular-nums; }
.price-per { color: var(--muted); font-size: .92rem; margin-bottom: 1.4em; }
.price .btn { margin-top: auto; }
@media (max-width: 760px) { .prices { grid-template-columns: 1fr; } }

.uses { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.uses li { padding: 22px 22px 18px 0; border-bottom: 1px solid var(--line); }
.uses li:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.uses li:not(:nth-child(3n+1)) { padding-left: 22px; }
.uses p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) {
  .uses { grid-template-columns: 1fr 1fr; }
  .uses li { border-right: 0 !important; padding-left: 0 !important; }
  .uses li:nth-child(odd) { border-right: 1px solid var(--line) !important; padding-right: 18px; }
  .uses li:nth-child(even) { padding-left: 18px !important; }
}
@media (max-width: 560px) { .uses { grid-template-columns: 1fr; } .uses li { border-right: 0 !important; padding-left: 0 !important; } }

.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 1.5em 0 0; }
.why dt { font-weight: 650; color: #fff; font-size: 1.1rem; margin-bottom: .4em; padding-top: 14px; border-top: 3px solid var(--amber); }
.why dd { margin: 0; color: #C3CFD4; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.chips { list-style: none; padding: 0; margin: 0 0 1em; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: .38em .85em; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .95rem; background: #fff; }
.chips a:hover { border-color: var(--teal); color: var(--teal-d); background: var(--teal-l); }
.chips-quiet a { font-size: .88rem; color: var(--ink-2); }
.more { font-weight: 600; }

.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 18px 40px 18px 0; font-weight: 600; font-size: 1.08rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font-size: 1.5rem; font-weight: 400; color: var(--teal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); padding-bottom: 8px; max-width: 65ch; }

.cta { background: var(--teal); color: #fff; padding: 52px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { color: #fff; margin-bottom: .25em; }
.cta p { margin: 0; color: #CFE3E0; }

.facts { margin: 1.4em 0; display: grid; gap: 10px; }
.facts div { display: grid; grid-template-columns: minmax(9em, auto) 1fr; gap: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.facts dt { color: var(--muted); font-size: .92rem; }
.facts dd { margin: 0; font-weight: 550; }
.near { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 24px; }
.near a { font-weight: 600; }
.near span { color: var(--muted); font-size: .9rem; display: block; }
@media (max-width: 760px) { .near { grid-template-columns: 1fr 1fr; } }

/* pages and forms */
.page { padding: 40px 0 72px; }
.order-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
@media (max-width: 900px) { .order-grid { grid-template-columns: 1fr; gap: 24px; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 30px 60px -40px rgba(11,93,91,.45); }
.form fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.form legend { font-weight: 650; font-size: 1.1rem; margin-bottom: 12px; padding: 0; }
.field { display: grid; gap: 5px; margin-bottom: 14px; }
.field > span { font-weight: 550; font-size: .95rem; }
.field small { color: var(--muted); font-size: .84rem; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field .err { color: var(--danger); font-size: .86rem; font-weight: 550; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } .card { padding: 20px; } }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; font-size: .95rem; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--teal); }
.check.invalid span { color: var(--danger); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-error { color: var(--danger); font-weight: 550; background: #FDECEA; padding: 10px 14px; border-radius: var(--radius-s); }
.form-ok { color: var(--ok); font-weight: 550; background: #E6F4EC; padding: 10px 14px; border-radius: var(--radius-s); }
.secure { text-align: center; margin-top: 10px; }
.btn-total:not(:empty)::before { content: "· "; }

.index-list { list-style: none; padding: 0; margin: 2em 0 0; columns: 4 200px; column-gap: 32px; }
.index-list li { padding: .35em 0; border-bottom: 1px solid var(--paper); break-inside: avoid; }
.index-list a { text-decoration: none; font-weight: 550; }
.index-list a:hover { text-decoration: underline; }

.prose h2 { font-size: 1.3rem; margin-top: 1.8em; }
.prose p { color: var(--ink-2); }
.status { text-align: left; padding: 72px 0 96px; }
.status-icon { width: 64px; height: 64px; fill: none; stroke: var(--teal); stroke-width: 3; margin-bottom: 20px; }
.status-icon path { stroke: var(--amber-d); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }

/* footer */
.foot { background: var(--paper); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot ul { list-style: none; padding: 0; margin: 0 0 1.2em; }
.foot li { padding: .2em 0; }
.foot a { color: var(--ink-2); text-decoration: none; }
.foot a:hover { color: var(--teal); text-decoration: underline; }
.foot-h { font-weight: 650; margin-bottom: .5em; }
.foot-about p { color: var(--ink-2); max-width: 32ch; }
.foot-langs { display: flex; flex-wrap: wrap; gap: 6px 16px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: 12px; font-size: .9rem; }
.foot-copy { color: var(--muted); font-size: .85rem; margin-top: 16px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
.field { align-content: start; }
.row2 { align-items: start; }
