/* IBM Plex, self-hosted. Sans is the variable file (weights 100-700); Serif is static per weight. */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-var-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-serif-400-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-serif-400-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-serif-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ibm-plex-serif-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Serif";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/ibm-plex-serif-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Serif";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/ibm-plex-serif-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* BCB-IC (bcb-ic.de)
   One hue (charcoal), seven tokens. Headings IBM Plex Sans 500/600, body IBM Plex Serif. */

:root {
  --dark:    #161616;
  --primary: #2e2e2e;
  --tint:    #efefef;
  --text:    #1a1a1a;
  --body:    #4a4a4a;
  --border:  #d4d4d4;
  --off:     #f7f7f7;

  --sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "IBM Plex Serif", Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--body);
  background: #fff;
}

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

h1, h2, h3, h4 {
  font-family: var(--sans);
  color: var(--dark);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 1rem;
}
h2 { font-size: 2.5rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }

p { margin: 0 0 1.25rem; max-width: 65ch; }
p:last-child { margin-bottom: 0; }
.lead { font-size: 1.5rem; line-height: 1.5; }

a { color: var(--primary); text-decoration: underline; text-underline-offset: 0.15em; transition: color 200ms; }
a:hover { color: var(--dark); }

strong { color: var(--text); font-weight: 600; }

.container { max-width: 90rem; margin: 0 auto; padding: 0 2rem; }
.narrow { max-width: 45rem; margin-left: auto; margin-right: auto; }

section { padding: 88px 0; }
.band-off { background: var(--off); }
.band-tint { background: var(--tint); }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 1rem 1.75rem;
  border: 1px solid var(--dark);
  background: var(--dark);
  color: #fff;
  text-decoration: none;
  border-radius: 2px;
  transition: background 200ms, color 200ms, border-color 200ms;
  cursor: pointer;
}
.btn:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-outline { background: transparent; color: var(--dark); }
.btn-outline:hover { background: var(--dark); color: #fff; }

.link-more { font-family: var(--sans); font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
  font-size: clamp(16px, 10px + 0.5vw, 24px);
}
.nav-bar {
  position: relative;
  height: 4.75em;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5em;
  gap: 2em;
}
.brand { display: flex; align-items: baseline; gap: 0.7em; text-decoration: none; color: var(--dark); }
.brand-mark { font-family: var(--sans); font-weight: 700; font-size: 1.3em; letter-spacing: 0.02em; line-height: 1; }
.brand-sub { font-family: var(--sans); font-size: 0.72em; color: var(--body); letter-spacing: 0.02em; white-space: nowrap; }

.nav-links { display: flex; align-items: center; gap: 2em; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--sans); font-weight: 700; font-size: 1.02em;
  color: var(--dark); text-decoration: none;
  padding: 0.3em 0; border-bottom: 2px solid transparent;
  transition: border-color 200ms;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { border-bottom-color: var(--dark); }

.nav-right { display: flex; align-items: center; gap: 2em; }
.lang { font-family: var(--sans); font-size: 0.85em; font-weight: 600; color: var(--body); white-space: nowrap; }
.lang a { color: var(--body); text-decoration: none; }
.lang a[aria-current="true"] { color: var(--dark); text-decoration: underline; text-underline-offset: 0.2em; }
.lang span { margin: 0 0.35em; }
.nav-btn { font-size: 0.95em; padding: 0.8em 1.6em; }

.nav-toggle {
  display: none;
  width: 2.4em; height: 2.4em; padding: 0;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: center;
  color: #fff;
  padding: 96px 0;
  background: var(--dark);
  overflow: hidden;
}
.hero-img, .cta-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1);
}
.hero::after, .cta::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(22, 22, 22, 0.78);
}
.hero .container, .cta .container { position: relative; z-index: 1; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.75rem, 4.6vw, 7.5rem);
  font-weight: 600;
  line-height: 1.08;
  max-width: 16em;
  margin-bottom: 1.5rem;
  animation: fadeUp 700ms ease-out both;
}
.hero .lead { color: #fff; max-width: 34em; margin-bottom: 2.25rem; animation: fadeUp 700ms ease-out 120ms both; }
.hero .btn { background: #fff; color: var(--dark); border-color: #fff; animation: fadeUp 700ms ease-out 200ms both; }
.hero .btn:hover { background: var(--tint); border-color: var(--tint); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ---------- Inner banner ---------- */
.banner { background: var(--tint); padding: 80px 0; border-bottom: 1px solid var(--border); }
.banner h1 { font-size: 2.5rem; font-weight: 500; }
.banner p { font-size: 1.5rem; line-height: 1.5; max-width: 34em; }
.banner-photo { position: relative; min-height: 40vh; display: flex; align-items: center; color: #fff; padding: 72px 0; background: var(--dark); border-bottom: 0; overflow: hidden; }
.banner-photo::after { content: ""; position: absolute; inset: 0; background: rgba(22,22,22,0.78); }
.banner-photo .container { position: relative; z-index: 1; }
.banner-photo h1, .banner-photo p { color: #fff; }

/* ---------- Compositions ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col.top { align-items: start; }
.two-col.rev > :first-child { order: 2; }

.photo { position: relative; overflow: hidden; background: var(--tint); }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); aspect-ratio: 4 / 3; }
.photo.tall img { aspect-ratio: 3 / 4; }

.section-head { text-align: center; margin-bottom: 48px; }
.section-head p { margin-left: auto; margin-right: auto; }

.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tiles.three { grid-template-columns: repeat(3, 1fr); }
.tiles.two { grid-template-columns: repeat(2, 1fr); }
.tile {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 3 / 2; background: var(--dark);
  text-decoration: none; color: #fff;
}
.tile img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform 400ms ease; }
.tile:hover img { transform: scale(1.03); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(22,22,22,0.85) 0%, rgba(22,22,22,0.35) 45%, rgba(22,22,22,0) 100%);
}
.tile-label {
  position: absolute; left: 24px; right: 24px; bottom: 20px; z-index: 1;
  font-family: var(--sans); font-weight: 700; font-size: 1.5rem; line-height: 1.2; color: #fff;
}

.three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.three-col > div { padding: 0 40px; border-left: 1px solid var(--border); }
.three-col > div:first-child { padding-left: 0; border-left: 0; }
.step-num { font-family: var(--sans); font-weight: 600; font-size: 2.5rem; color: var(--dark); line-height: 1; margin-bottom: 1rem; font-variant-numeric: tabular-nums; }

.ruled { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border); }
.ruled li { display: grid; grid-template-columns: 4rem 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--border); align-items: baseline; }
.ruled li.plain { grid-template-columns: 1fr; }
.ruled .num { font-family: var(--sans); font-weight: 600; font-size: 1.5rem; color: var(--dark); font-variant-numeric: tabular-nums; }
.ruled h3 { margin-bottom: 0.25rem; }
.ruled p { margin: 0; }

.grid-bordered { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-right: 0; border-bottom: 0; }
.grid-bordered > div { padding: 36px 32px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.grid-bordered p { font-size: 1.05rem; }

.list-check { list-style: none; margin: 0; padding: 0; }
.list-check li { position: relative; padding: 8px 0 8px 1.75rem; border-bottom: 1px solid var(--border); }
.list-check li:last-child { border-bottom: 0; }
.list-check li::before {
  content: ""; position: absolute; left: 0.2rem; top: 1.05rem;
  width: 0.55rem; height: 0.3rem; border-left: 2px solid var(--dark); border-bottom: 2px solid var(--dark);
  transform: rotate(-45deg);
}

.panel { background: var(--tint); padding: 36px; }
.panel h3 { margin-bottom: 1rem; }
.panel.bordered { background: #fff; border: 1px solid var(--border); }

.photo-band { display: grid; grid-template-columns: 2fr 1fr; gap: 64px; align-items: center; }
.photo-band .photo img { aspect-ratio: 16 / 9; }

blockquote {
  font-style: italic; font-size: 1.5rem; line-height: 1.5; color: var(--text);
  margin: 0; padding: 0; max-width: 32em;
}
blockquote footer { font-style: normal; font-family: var(--sans); font-size: 1rem; color: var(--body); margin-top: 1rem; }

.meta { display: grid; grid-template-columns: 11rem 1fr; gap: 12px 24px; margin: 0; }
.meta dt { font-family: var(--sans); font-weight: 600; color: var(--dark); }
.meta dd { margin: 0; }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 120px 0; text-align: center; color: #fff; background: var(--dark); overflow: hidden; }
.cta h2 { color: #fff; }
.cta p { color: #fff; margin: 0 auto 2rem; font-size: 1.25rem; }
.cta .btn { background: #fff; color: var(--dark); border-color: #fff; }
.cta .btn:hover { background: var(--tint); border-color: var(--tint); }

.cta-quiet { border-top: 2px solid var(--dark); padding: 56px 0; }
.cta-quiet .container { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.cta-quiet h2 { font-size: 2rem; margin-bottom: 0.5rem; }
.cta-quiet p { margin: 0; }

/* ---------- Forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-family: var(--sans); font-weight: 600; font-size: 0.95rem; color: var(--dark); margin-bottom: 6px; }
.form input, .form textarea, .form select {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 0; background: #fff;
  transition: border-color 150ms;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--dark); outline-offset: 0; border-color: var(--dark); }
.form textarea { min-height: 180px; resize: vertical; }
.form .hint { font-size: 0.95rem; color: var(--body); }
.form .consent { display: flex; align-items: flex-start; gap: 12px; font-size: 0.95rem; font-family: var(--serif); font-weight: 400; color: var(--body); }
.form .consent input { width: 18px; height: 18px; margin-top: 4px; flex: 0 0 auto; }
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #c9c9c9; padding: 72px 0 32px; font-size: 1rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid #3a3a3a; }
.footer-brand .brand-mark { color: #fff; font-size: 1.5rem; }
.footer-brand p { color: #c9c9c9; margin-top: 1rem; max-width: 34ch; }
.site-footer h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: 0.9rem; color: #9a9a9a; }

/* ---------- Legal pages ---------- */
.legal h2 { font-size: 1.75rem; margin-top: 2.5rem; }
.legal h3 { font-size: 1.25rem; margin-top: 1.75rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 968px) {
  section { padding: 64px 0; }
  h2 { font-size: 2rem; }
  .two-col, .photo-band, .form { grid-template-columns: 1fr; gap: 40px; }
  .two-col.rev > :first-child { order: 0; }
  .three-col { grid-template-columns: 1fr; gap: 32px; }
  .three-col > div { padding: 0 0 0 24px; border-left: 1px solid var(--border); }
  .three-col > div:first-child { padding-left: 24px; border-left: 1px solid var(--border); }
  .grid-bordered { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-quiet .container { flex-direction: column; align-items: flex-start; }
  .lead, .banner p { font-size: 1.25rem; }
  .hero { min-height: 70vh; }
  .brand-sub { display: none; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--border);
    padding: 0.5em 1.25em 1em;
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-bottom: 1px solid var(--border); }
  .nav-links li:last-child { border-bottom: 0; }
  .nav-links a { display: block; padding: 0.9em 0; border-bottom: 0; }
  .nav-right { gap: 1.25em; }
  .lang { font-size: 1rem; }
  .lang a { display: inline-block; padding: 0.7em 0.8em; }
  .lang span { margin: 0 0.15em; }
  .nav-btn { display: none; }
  .nav-bar { padding: 0 1.25em; gap: 1em; }
  .tiles, .tiles.three, .tiles.two, .grid-bordered, .footer-grid { grid-template-columns: 1fr; }
  .container { padding: 0 1.25rem; }
  .meta { grid-template-columns: 1fr; gap: 4px; }
  .meta dd { margin-bottom: 12px; }
  .ruled li { grid-template-columns: 3rem 1fr; gap: 16px; }
}

.banner p.lang-note { font-size: 1rem; font-style: italic; margin-top: 1.25rem; max-width: 42em; }
