/* ==========================================================================
   Website refactoring design system
   B2B engineering style: strong typography, calm palette, dense but readable.
   Overrides come from /assets/css/tokens.css which the builder writes from
   content/site.json -> tokens.
   ========================================================================== */

@import url("tokens.css");

:root {
  --ink: #16202b;
  --ink-soft: #3d4a58;
  --line: #e2e7ec;
  --bg: #ffffff;
  --bg-soft: #f5f7f9;
  --accent: #0f6ab4;
  --accent-dark: #0b4f87;
  --accent-ink: #ffffff;
  --radius: 10px;
  --maxw: 1280px;
  --shadow: 0 1px 2px rgba(16, 32, 48, .06), 0 8px 24px rgba(16, 32, 48, .06);
  --font: "Segoe UI", "Microsoft YaHei", -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
video { display: block; width: 100%; height: auto; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.22; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -0.015em; }
h2 { font-size: clamp(23px, 2.4vw, 31px); margin-top: 1.5em; letter-spacing: -0.01em; }
h3 { font-size: clamp(17px, 1.5vw, 19px); margin-top: 1.2em; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
.lead { font-size: 18px; line-height: 1.6; color: var(--ink-soft); max-width: 68ch; }
main [id] { scroll-margin-top: 92px; }

/* Long compound words (German and similar) must break instead of forcing
   horizontal overflow on narrow screens. */
h1, h2, h3, h4, p, li, td, th, blockquote, summary, figcaption, .lead, .card-meta li {
  overflow-wrap: break-word;
}
html[lang^="de"] h1, html[lang^="de"] h2, html[lang^="de"] h3,
html[lang^="de"] p, html[lang^="de"] li { hyphens: auto; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 14px; z-index: 60; }

/* buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border: 1px solid var(--accent);
  border-radius: var(--radius); background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: 15.5px; cursor: pointer; transition: .18s ease;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-block { width: 100%; }
.btn-sm { min-height: 32px; padding: 0 15px; font-size: 14px; border-radius: 8px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: rgba(22, 32, 43, .28); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: var(--ink); }
.hero .btn-ghost, .cta .btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .6); }
.hero .btn-ghost:hover, .cta .btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }

/* utility bar + header ---------------------------------------------------- */
.topbar { background: var(--ink); color: #cbd5df; font-size: 13.5px; }
.topbar .wrap { display: flex; gap: 12px 22px; justify-content: space-between; min-height: 42px; align-items: center; flex-wrap: wrap; padding-top: 4px; padding-bottom: 4px; }
.topbar a { color: #e6edf4; display: inline-flex; align-items: center; min-height: 28px; }
.topbar-contact { display: inline-flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.topbar-actions { display: inline-flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-left: auto; }

.lang { position: relative; }
.lang-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, .28); border-radius: 8px; background: transparent;
  color: #e6edf4; font: inherit; font-weight: 600; font-size: 13.5px; cursor: pointer; }
.lang-toggle:hover { border-color: rgba(255, 255, 255, .6); }
.lang-caret { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; margin-top: 2px; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 176px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px; z-index: 55; }
.lang-menu[hidden] { display: none; }
.lang-menu a { display: flex; align-items: center; min-height: 30px; padding: 6px 12px; border-radius: 8px;
  color: var(--ink); font-size: 14px; }
.lang-menu a:hover { background: var(--bg-soft); text-decoration: none; }
.lang-menu a[aria-current="true"] { color: var(--accent); font-weight: 700; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: 70px; flex-wrap: nowrap; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; flex: 0 0 auto; }
.brand-logo { height: 48px; width: auto; flex: 0 0 auto; }
.main-nav { margin-left: auto; min-width: 0; }
.nav-list { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav-list > li { position: relative; flex: 0 0 auto; }
.nav-list > li > a { display: block; padding: 11px 10px; color: var(--ink); font-weight: 600; font-size: 14px; border-radius: 8px; white-space: nowrap; }
.nav-list > li > a:hover { background: var(--bg-soft); text-decoration: none; }
.nav-list > li.is-active > a { color: var(--accent); }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; left: 0; top: 100%; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  display: none; z-index: 50; }
.nav-list > li:last-child > .sub { left: auto; right: 0; }
.nav-list > li.has-sub:hover > .sub, .nav-list > li.has-sub:focus-within > .sub { display: block; }
.sub a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: 14.5px; }
.sub a:hover { background: var(--bg-soft); text-decoration: none; }
.sub-toggle { display: none; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 8px;
  width: 44px; height: 44px; font-size: 20px; cursor: pointer; }

/* inline search: only an icon until focused, then it covers the header row */
.site-search { margin-left: 6px; position: relative; }
.site-search input {
  width: 42px; height: 42px; padding: 0 0 0 38px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d4a58' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") no-repeat 11px center / 18px 18px;
  font-size: 15px; color: var(--ink); cursor: pointer; transition: width .2s ease;
}
.site-search input:focus { width: 260px; cursor: text; outline: 2px solid rgba(15, 106, 180, .25); }
.search-results {
  position: absolute; right: 0; top: calc(100% + 8px); width: 320px; max-height: 60vh; overflow-y: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px;
}
.search-results a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); font-size: 14.5px; }
.search-results a:hover { background: var(--bg-soft); text-decoration: none; }
.search-empty { padding: 8px 12px; margin: 0; color: var(--ink-soft); font-size: 14px; }

.scroll-progress { position: fixed; left: 0; top: 0; height: 3px; width: 0; background: var(--accent); z-index: 70; }

/* hero ------------------------------------------------------------------- */
.hero { position: relative; color: #fff; background: #16202b; }
.hero-inner { padding: 96px 22px 88px; max-width: var(--maxw); }
.hero h1 { color: #fff; max-width: 22ch; }
.hero .lead { color: rgba(255, 255, 255, .9); }
.hero h1, .hero .lead { text-shadow: 0 1px 12px rgba(0, 0, 0, .45); }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; font-weight: 700; color: #8fc4ef; margin-bottom: 12px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 30px; margin: 30px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .22); }
.hero-facts strong { display: block; font-size: 26px; line-height: 1.1; }
.hero-facts span { font-size: 13.5px; color: rgba(255, 255, 255, .78); }

.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-head h1 { color: var(--ink); }
.page-head .wrap { padding: 54px 22px 42px; max-width: 980px; }

/* sections and blocks ---------------------------------------------------- */
.section { padding: 60px 0; border-bottom: 1px solid var(--line); }
.section--alt { background: var(--bg-soft); }
.content { max-width: 980px; margin: 0 auto; }
.content--wide { max-width: 1100px; }
.content > h2, .section > .wrap > h2 { margin-top: 0; }
.content > h2:not(:first-child), .section > .wrap > h2:not(:first-child) { margin-top: 2em; }
.content > h2:not(:first-child)::before, .section > .wrap > h2:not(:first-child)::before {
  content: ""; display: block; width: 44px; height: 3px; border-radius: 2px;
  background: var(--accent); margin: 0 0 14px;
}

ul.blocks, ol.blocks { padding-left: 22px; margin: 0 0 1.2em; }
ul.blocks li, ol.blocks li { margin-bottom: 7px; }

ul.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; }
ul.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
ul.checklist .tick { position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 4px;
  background: var(--accent); }
ul.checklist .tick::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

.table-wrap { overflow-x: auto; margin: 0 0 1.4em; }
table { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
table caption { caption-side: top; text-align: left; font-weight: 700; padding: 0 0 10px; color: var(--ink); }
th, td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; vertical-align: middle; }
thead th { background: var(--ink); color: #fff; font-weight: 600; }
tbody tr:nth-child(even) { background: #fafbfc; }
table.specs th[scope="row"] { width: 34%; background: var(--bg-soft); font-weight: 600; }

.grid { display: grid; gap: 22px; }
.grid.cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card { display: block; color: inherit; border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: var(--radius); overflow: hidden; background: #fff; transition: .18s ease; }
.card:hover { text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9d3dc; }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.card-body { padding: 20px 22px 24px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { color: var(--ink-soft); font-size: 15px; line-height: 1.6; margin-bottom: 10px; }
.card-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.card-meta li { font-size: 12.5px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 10px; color: var(--ink-soft); }

ol.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1.4em; }
ol.steps li { counter-increment: step; position: relative; padding: 0 0 22px 62px; }
ol.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0;
  width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
ol.steps li::after { content: ""; position: absolute; left: 20px; top: 46px; bottom: 4px; width: 2px; background: var(--line); }
ol.steps li:last-child::after { display: none; }
ol.steps h3 { margin: 6px 0 4px; }

.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 15px 18px; font-weight: 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--accent); font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq-a { padding: 0 18px 16px; color: var(--ink-soft); }

.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.gallery figure, figure.wide { margin: 0 0 1.2em; }
.gallery img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
figcaption { font-size: 13.5px; color: var(--ink-soft); padding-top: 8px; }

.cta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; justify-content: space-between;
  background: var(--ink); color: #fff; border-radius: var(--radius); padding: 34px 36px; margin: 0 0 1.4em; }
.cta h2 { color: #fff; margin: 0 0 6px; }
.cta p { color: rgba(255, 255, 255, .82); margin: 0; }

blockquote { margin: 0 0 1.4em; padding: 18px 22px; border-left: 4px solid var(--accent); background: var(--bg-soft); }
blockquote cite { display: block; font-size: 13.5px; color: var(--ink-soft); font-style: normal; }
.note { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px; font-size: 15px; }

/* footer ----------------------------------------------------------------- */
.site-footer { background: #0f1720; color: #b9c5d1; padding: 42px 0 0; font-size: 14.5px; }
.foot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; }
.site-footer h3 { color: #9fb1c1; font-size: 13px; margin-bottom: 10px; letter-spacing: .04em; text-transform: uppercase; }
.site-footer a { color: #b9c5d1; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 5px; }
.foot-brand { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 10px 28px; padding-bottom: 22px; margin-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot-brand h3 { grid-column: 1; margin-bottom: 6px; font-size: 16px; text-transform: none; letter-spacing: 0; color: #fff; }
.foot-brand > p { grid-column: 1; margin: 0; max-width: 62ch; font-size: 14px; }
.foot-contact { grid-column: 2; grid-row: 1 / span 2; align-self: start; font-size: 13.5px;
  line-height: 1.55; color: #93a2b1; }
.foot-base { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 0; padding: 16px 22px 20px; font-size: 12.5px; color: #8593a2; }

.wa-float { position: fixed; right: 20px; bottom: 26px; z-index: 45; background: #25d366; color: #08301a;
  font-weight: 700; padding: 12px 18px; border-radius: 999px; box-shadow: var(--shadow); }
.wa-float:hover { text-decoration: none; filter: brightness(1.05); }
.mobile-bar { display: none; }

/* responsive ------------------------------------------------------------- */
@media (max-width: 1200px) {
  .brand-logo { height: 42px; }
}

@media (max-width: 1080px) {
  .wrap { padding: 0 16px; }
  .header-inner { gap: 10px; min-height: 64px; justify-content: space-between; }
  .brand { flex: 1 1 auto; }
  .nav-toggle { display: block; margin-left: 0; order: 3; }
  .site-search { margin: 0; order: 2; }
  .main-nav { position: fixed; inset: 0 auto 0 0; width: min(84vw, 340px); background: #fff;
    display: none; z-index: 60; padding: 72px 20px 30px; overflow-y: auto;
    box-shadow: 12px 0 40px rgba(16, 32, 48, .18); }
  .main-nav.is-open { display: block; }
  .nav-list { flex-direction: column; gap: 2px; }
  .nav-list > li > a { padding: 13px 6px; border-bottom: 1px solid var(--line); white-space: normal; font-size: 15px; }
  .sub { position: static; display: none; border: none; box-shadow: none; padding: 4px 0 8px 14px; }
  .nav-list > li.has-sub.is-open > .sub { display: block; }
  .sub-toggle { display: block; position: absolute; right: 0; top: 7px; width: 40px; height: 40px;
    background: none; border: none; font-size: 18px; color: var(--accent); cursor: pointer; }
  .site-search input { width: 40px; }
  .site-search input:focus { width: 190px; }
  .hero-inner { padding: 60px 22px 54px; }
  .hero-facts { gap: 20px; }
  .hero-facts strong { font-size: 22px; }
  .section { padding: 44px 0; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; }
}

@media (max-width: 900px) {
  .topbar .btn-quote { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 22px 18px 24px; }
  .site-footer li { margin-bottom: 4px; }
  .site-footer li a { display: inline-flex; align-items: center; min-height: 24px; }
  .foot-base span { display: inline-flex; align-items: center; min-height: 24px; }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 18px; }
  .foot-grid > * { min-width: 0; }
  .foot-brand { grid-template-columns: minmax(0, 1fr); gap: 8px 0; margin-bottom: 20px; padding-bottom: 18px; }
  .foot-brand h3, .foot-brand > p, .foot-contact { grid-column: 1; }
  .foot-contact { grid-row: auto; }
  .topbar { font-size: 12.5px; }
  .topbar .wrap { gap: 10px; justify-content: center; min-height: 36px; }
  .topbar-actions { margin-left: 0; }
  .foot-base { padding: 18px 16px 24px; }
  .wa-float { bottom: 78px; }
  .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0;
    z-index: 46; background: #fff; border-top: 1px solid var(--line); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; min-height: 58px;
    font-weight: 600; color: var(--ink); border-right: 1px solid var(--line); font-size: 15px; }
  .mobile-bar a:last-child { border-right: none; }
  .mobile-bar a.strong { background: var(--accent); color: var(--accent-ink); }
  body { padding-bottom: 58px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ==========================================================================
   Deep content components: table of contents, tabbed panels, figure blocks
   ========================================================================== */

.content > .toc {
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: var(--bg-soft);
  padding: 18px 22px;
  margin: 0 0 2em;
}
.content > .toc h2 { margin: 0 0 10px; font-size: 17px; }
.content > .toc ol { margin: 0; padding-left: 20px; }
.content > .toc li { margin: 4px 0; }
.content > .toc a { color: var(--ink-soft); }
.content > .toc a { display: inline-flex; align-items: center; min-height: 28px; }
.content > .toc a:hover { color: var(--accent); }
.toc-lv3 { margin-left: 16px; }

.tabs { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0 0 2em; }
.tab-list { display: flex; flex-wrap: wrap; gap: 0; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.tab-btn {
  appearance: none; border: none; background: transparent; cursor: pointer;
  padding: 13px 18px; font: inherit; font-weight: 600; font-size: 15px; color: var(--ink-soft);
  border-bottom: 3px solid transparent;
}
.tab-btn:hover { color: var(--accent); }
.tab-btn[aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); background: #fff; }
.tab-panel { padding: 20px 22px 22px; }
.tab-panel[hidden] { display: none; }

figure.wide { margin: 0 0 1.5em; }
figure.wide img { border-radius: var(--radius); border: 1px solid var(--line); }
figure.wide.video-block video { border-radius: var(--radius); border: 1px solid var(--line); background: #0b1b24; }
figure.wide figcaption { font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; }

.faq-a p { margin: 0 0 .9em; }
.faq-a p:last-child { margin-bottom: 0; }

/* contact form ----------------------------------------------------------- */
.contact-form-wrap {
  max-width: 820px;
  margin: 2em 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-soft);
  padding: 28px 30px 30px;
}
.contact-form-title { margin: 0 0 18px; font-size: 22px; }
.contact-form { margin: 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.req { color: var(--accent); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}
.field textarea { resize: vertical; line-height: 1.55; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(15, 106, 180, .22);
  border-color: var(--accent);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #b3261e;
}
.consent { display: flex; align-items: flex-start; gap: 10px; padding-top: 2px; font-weight: 500; }
.consent input { width: 18px; height: 18px; min-height: 18px; margin: 3px 0 0; accent-color: var(--accent); }
.consent span { font-size: 14px; line-height: 1.5; color: var(--ink-soft); }
.consent a { display: inline-flex; align-items: center; min-height: 24px; }
.field-error { margin: 2px 0 0; font-size: 13px; color: #b3261e; }
.form-note { margin: 14px 0 0; font-size: 13px; color: var(--ink-soft); }
.form-note a { display: inline-flex; align-items: center; min-height: 24px; }
.form-feedback { margin: 16px 0 0; padding: 13px 15px; border-radius: 8px; background: #eaf6ef;
  border: 1px solid #bde4cf; color: #17633d; font-size: 14px; }
.form-feedback.is-error { background: #fceeee; border-color: #efc0c0; color: #8f2424; }

@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 22px 18px 24px; }
}

/* Inquiry modal ------------------------------------------------------------ */
.inquiry-modal { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 24px; }
.inquiry-modal.is-open { display: flex; }
.inquiry-modal .modal-backdrop { position: absolute; inset: 0; background: rgba(10, 20, 30, .68); }
.inquiry-modal .modal-panel { position: relative; width: min(560px, 100%); max-height: calc(100vh - 48px); overflow: auto; background: #fff; border-radius: 10px; padding: 28px; box-shadow: 0 24px 70px rgba(0, 0, 0, .35); }
.inquiry-modal .modal-close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: 1px solid #d7dee5; background: #fff; border-radius: 8px; cursor: pointer; font-size: 22px; line-height: 1; }
.inquiry-modal h2 { margin: 0 0 6px; font-size: 24px; }
.inquiry-modal .modal-intro { color: var(--ink-soft); margin: 0 0 18px; }
.inquiry-modal .form-row { display: grid; gap: 14px; margin-bottom: 14px; }
@media (min-width: 600px) { .inquiry-modal .form-row { grid-template-columns: 1fr 1fr; } }
.inquiry-modal label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.inquiry-modal input, .inquiry-modal select, .inquiry-modal textarea { width: 100%; box-sizing: border-box; border: 1px solid #cbd5de; border-radius: 8px; padding: 10px 11px; font: inherit; background: #fff; }
.inquiry-modal textarea { min-height: 110px; resize: vertical; }
.inquiry-modal .form-feedback { margin: 0 0 12px; padding: 10px 12px; border-radius: 8px; background: #eef7f0; color: #17633a; }
.inquiry-modal .form-feedback.is-error { background: #fdf0f0; color: #9b2c2c; }
.inquiry-modal .privacy-line { display: flex; gap: 9px; align-items: flex-start; margin: 4px 0 16px; }
.inquiry-modal .privacy-line input { width: 18px; height: 18px; margin-top: 2px; }
.inquiry-modal .privacy-line label { font-weight: 500; font-size: 13px; line-height: 1.45; }
.inquiry-modal .btn-primary { width: 100%; }
