:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-alt: #f3f6f8;
  --surface: #ffffff;
  --border: #dde3e8;
  --grid: #e3e8ec;
  --text: #0f2230;
  --text-2: #4a5b68;
  --text-3: #6f7e89;
  --navy: #0c2c40;
  --accent: #1d6a80;
  --accent-soft: #e6f1f4;
  --on-accent: #ffffff;
  --clinical: #2a78d6;
  --operational: #eb6834;
  --logistical: #1baf7a;
  --radar-fill: rgba(29, 106, 128, 0.18);
  --radar-line: #1d6a80;
  --band-light: #e7f3ec;
  --band-moderate: #fdf3dc;
  --band-heavy: #fde6d8;
  --band-veryHeavy: #f9dada;
  --shadow: 0 1px 2px rgba(15, 34, 48, 0.06), 0 4px 16px rgba(15, 34, 48, 0.05);
  --radius: 12px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0e1820;
    --bg-alt: #121f29;
    --surface: #172631;
    --border: #2a3b48;
    --grid: #2a3b48;
    --text: #e8eef2;
    --text-2: #b3c1cb;
    --text-3: #8e9ea9;
    --navy: #07161f;
    --accent: #5fb3c9;
    --accent-soft: #19323d;
    --on-accent: #07161f;
    --clinical: #3987e5;
    --operational: #d95926;
    --logistical: #199e70;
    --radar-fill: rgba(95, 179, 201, 0.2);
    --radar-line: #5fb3c9;
    --band-light: #173327;
    --band-moderate: #3a3017;
    --band-heavy: #3f2619;
    --band-veryHeavy: #402020;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e1820;
  --bg-alt: #121f29;
  --surface: #172631;
  --border: #2a3b48;
  --grid: #2a3b48;
  --text: #e8eef2;
  --text-2: #b3c1cb;
  --text-3: #8e9ea9;
  --navy: #07161f;
  --accent: #5fb3c9;
  --accent-soft: #19323d;
  --on-accent: #07161f;
  --clinical: #3987e5;
  --operational: #d95926;
  --logistical: #199e70;
  --radar-fill: rgba(95, 179, 201, 0.2);
  --radar-line: #5fb3c9;
  --band-light: #173327;
  --band-moderate: #3a3017;
  --band-heavy: #3f2619;
  --band-veryHeavy: #402020;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  /* Never split or hyphenate words: lines wrap only between whole words, in every language */
  -webkit-hyphens: manual;
  hyphens: manual;
  word-break: normal;
  overflow-wrap: normal;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
.two-col > *, .calc-grid > * { min-width: 0; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--accent); }
.container { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.lead { font-size: 1.12rem; color: var(--text-2); max-width: 760px; }
.note { color: var(--text-3); font-size: .95rem; font-style: italic; margin-top: 1.25rem; }
.mt { margin-top: 3.5rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; white-space: nowrap; }
.brand span { overflow: hidden; text-overflow: ellipsis; }
.brand { min-width: 0; }
.brand svg { flex: none; }
.brand svg { width: 28px; height: 28px; }
.brand-bg { fill: var(--navy); }
.brand-mark { fill: none; stroke: #86b6ef; stroke-width: 2.5; stroke-linejoin: round; }
.site-nav { display: flex; gap: 20px; margin-left: auto; }
.site-nav a { color: var(--text-2); text-decoration: none; font-weight: 500; font-size: .95rem; }
.site-nav a:hover { color: var(--text); }
.header-tools { display: flex; align-items: center; gap: 8px; }
.nav-cta { margin-left: 4px; white-space: nowrap; }
.nav-cta .cta-short { display: none; }
@media (max-width: 1180px) and (min-width: 961px) {
  .site-nav { gap: 14px; }
  .site-nav a { font-size: .9rem; }
}
@media (max-width: 620px), (min-width: 961px) and (max-width: 1080px) {
  .nav-cta .cta-full { display: none; }
  .nav-cta .cta-short { display: inline; }
}
.lang-switch { display: flex; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.lang-switch button { border: 0; background: transparent; color: var(--text-2); padding: 6px 8px; font: 600 .8rem Inter, sans-serif; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.icon-btn { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 8px; background: transparent; cursor: pointer; }
.icon-btn svg { width: 18px; height: 18px; fill: var(--text-2); }

/* Buttons */
.btn { display: inline-block; padding: 12px 20px; border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-size: .98rem; font-family: inherit; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-small { padding: 6px 12px; font-size: .85rem; }

/* Hero */
.hero { padding: 72px 0 56px; background: linear-gradient(180deg, var(--accent-soft), var(--bg)); }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 600; color: var(--accent); }
.hero-quote { font-style: italic; color: var(--text-2); font-size: 1.05rem; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
/* Photo hero: the OR image with a dark overlay on the text side, same in light and dark mode */
.hero-photo {
  position: relative; display: flex; align-items: center;
  min-height: clamp(520px, 82vh, 760px); padding: 96px 0 80px;
  background:
    linear-gradient(90deg, rgba(7, 22, 31, .94) 0%, rgba(7, 22, 31, .86) 38%, rgba(7, 22, 31, .45) 68%, rgba(7, 22, 31, .15) 100%),
    #07161f url("../img/OT.jpeg") 70% center / cover no-repeat;
  color: #e8eef2;
}
.hero-photo .container { width: 100%; }
.hero-copy { max-width: 640px; }
.hero-photo h1 { color: #ffffff; }
.hero-photo .eyebrow { color: #7cc4d6; }
.hero-photo .lead { color: #d2dde4; }
.hero-photo .hero-quote { color: #b3c1cb; }
.hero-photo .btn-primary { background: #5fb3c9; color: #07161f; }
.btn-onphoto { color: #ffffff; border-color: rgba(255, 255, 255, .55); background: rgba(7, 22, 31, .35); }
.btn-onphoto:hover { border-color: #ffffff; background: rgba(7, 22, 31, .55); }
@media (max-width: 960px) {
  .hero-photo {
    background:
      linear-gradient(180deg, rgba(7, 22, 31, .80) 0%, rgba(7, 22, 31, .88) 55%, rgba(7, 22, 31, .94) 100%),
      #07161f url("../img/OT-1200.jpg") 64% center / cover no-repeat;
  }
}

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.callout {
  margin: 0; padding: 24px 28px; border-left: 4px solid var(--accent);
  background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.15rem; font-style: italic; color: var(--text); box-shadow: var(--shadow);
}
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.muted-card { opacity: .9; }
.compare { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.compare.two { grid-template-columns: repeat(2, 1fr); }
.bar-old { height: 34px; border-radius: 8px; background: repeating-linear-gradient(135deg, var(--grid) 0 8px, var(--border) 8px 16px); margin-bottom: 14px; }
.bar-new { display: flex; gap: 2px; height: 34px; margin-bottom: 14px; }
.bar-new .seg { flex: 1; }
.seg { display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .9rem; border-radius: 4px; }
.seg-clinical { background: var(--clinical); }
.seg-operational { background: var(--operational); }
.seg-logistical { background: var(--logistical); }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--text-2); }
.check-list li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.toggle { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--text-2); cursor: pointer; margin-bottom: 16px; }
.dim-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dim-card { border-top: 4px solid var(--dim-color); }
.dim-card header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.dim-card .max { font-weight: 700; color: var(--text); white-space: nowrap; }
.dim-card .sub { color: var(--text-3); font-size: .88rem; margin-bottom: 12px; }
.param-list { list-style: none; padding: 0; margin: 0; }
.param-list li { padding: 8px 0; border-top: 1px solid var(--grid); font-size: .95rem; }
.param-list .pts { display: none; color: var(--text-3); font-size: .82rem; }
.show-points .param-list .pts { display: block; }
.swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--dim-color); margin-right: 6px; }

/* Profiles */
.profile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.profile-card { display: flex; flex-direction: column; }
.profile-card .radar-wrap { max-width: 220px; margin: 0 auto 8px; }
.profile-card p { color: var(--text-2); font-size: .95rem; flex: 1; }
.profile-card button { align-self: flex-start; }

/* Radar */
.radar-wrap svg { width: 100%; height: auto; display: block; overflow: visible; }
.radar-ring { fill: none; stroke: var(--grid); stroke-width: 1; }
.radar-axis { stroke: var(--grid); stroke-width: 1; }
.radar-shape { fill: var(--radar-fill); stroke: var(--radar-line); stroke-width: 2; stroke-linejoin: round; transition: all .3s ease; }
.radar-dot { stroke: var(--surface); stroke-width: 2; }
.radar-label { fill: var(--text-2); font-size: 12px; font-weight: 600; }
.radar-ring-label { fill: var(--text-3); font-size: 9px; }

/* Calculator */
.example-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 20px 0 24px; color: var(--text-2); font-size: .92rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 999px; padding: 6px 12px; font: 500 .85rem Inter, sans-serif; cursor: pointer; }
.chip:hover, .chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.calc-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.calc-form fieldset { border: 1px solid var(--border); border-top: 4px solid var(--dim-color); border-radius: var(--radius); background: var(--surface); padding: 16px 20px 8px; margin: 0 0 20px; }
.calc-form legend { font-weight: 700; padding: 0 6px; }
.field { display: grid; grid-template-columns: 1fr 1.1fr; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--grid); }
.field:first-of-type { border-top: 0; }
.field label { font-size: .93rem; font-weight: 500; }
.field .hint { display: block; font-weight: 400; color: var(--text-3); font-size: .8rem; line-height: 1.35; }
.field select {
  width: 100%; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font: inherit; font-size: .9rem;
}
.field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.calc-result { position: sticky; top: 76px; }
.result-card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px; box-shadow: var(--shadow); }
.result-top { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.label { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); font-weight: 600; }
.big { font-size: 3rem; font-weight: 700; line-height: 1.1; }
.big small { font-size: 1rem; color: var(--text-3); font-weight: 500; }
.profile-name { font-size: 1.25rem; font-weight: 700; margin-top: 4px; text-align: right; }
.band-pill { display: inline-block; margin-top: 6px; padding: 2px 10px; border-radius: 999px; font-size: .82rem; font-weight: 600; color: var(--text); background: var(--band-light); }
.band-pill[data-band="moderate"] { background: var(--band-moderate); }
.band-pill[data-band="heavy"] { background: var(--band-heavy); }
.band-pill[data-band="veryHeavy"] { background: var(--band-veryHeavy); }
.dim-bars { display: grid; gap: 10px; margin-top: 8px; }
.dim-bar .row { display: flex; justify-content: space-between; font-size: .88rem; }
.dim-bar .row b { font-variant-numeric: tabular-nums; }
.dim-bar .track { height: 8px; background: var(--grid); border-radius: 4px; overflow: hidden; margin-top: 4px; }
.dim-bar .fill { height: 100%; background: var(--dim-color); border-radius: 4px; transition: width .3s ease; }
.disclaimer { margin: 16px 0 8px; font-size: .82rem; color: var(--text-3); }
.method summary { cursor: pointer; font-size: .88rem; font-weight: 600; color: var(--accent); }
.method p { font-size: .85rem; color: var(--text-2); margin-top: 8px; }

/* Interpretation */
.bands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin: 12px 0 28px; }
.band { padding: 14px 16px; border-radius: 4px; }
.band b { display: block; font-size: 1.05rem; }
.band b::first-letter { text-transform: uppercase; }
.band span { color: var(--text-2); font-size: .9rem; }
.band[data-band="light"] { background: var(--band-light); }
.band[data-band="moderate"] { background: var(--band-moderate); }
.band[data-band="heavy"] { background: var(--band-heavy); }
.band[data-band="veryHeavy"] { background: var(--band-veryHeavy); }
.nuance-list { padding-left: 20px; color: var(--text-2); max-width: 860px; }
.nuance-list li { margin-bottom: 8px; }
.important { margin-top: 24px; padding: 16px 20px; border-radius: var(--radius); background: var(--accent-soft); border: 1px solid var(--border); font-weight: 500; }

/* Staffing flow */
.flow-steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; counter-reset: s; }
.flow-steps li { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 14px 10px; text-align: center; font-weight: 600; font-size: .9rem; }
.flow-steps li:not(:last-child)::after { content: "→"; position: absolute; right: -10px; top: 50%; transform: translateY(-50%); color: var(--accent); font-weight: 700; z-index: 1; }

/* Dashboard */
.demo-flag { display: inline-block; font-size: .85rem; color: var(--text-2); background: var(--bg-alt); border: 1px dashed var(--border); padding: 4px 12px; border-radius: 8px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 20px 0; }
.stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; }
.stat .value { font-size: 1.8rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat .sub { color: var(--text-3); font-size: .85rem; }
.chart-card { margin-bottom: 20px; }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: var(--text-2); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.dash-chart svg { width: 100%; height: auto; display: block; }
.dash-chart .axis-text { fill: var(--text-2); font-size: 12px; }
.dash-chart .value-text { fill: var(--text); font-size: 12px; font-weight: 600; }
.dash-chart .gridline { stroke: var(--grid); }
.dash-chart .hit { fill: transparent; cursor: default; }
.table-view summary { cursor: pointer; font-size: .88rem; color: var(--accent); font-weight: 600; margin-top: 12px; }
.table-scroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .88rem; margin-top: 10px; }
th, td { text-align: left; padding: 6px 10px; border-bottom: 1px solid var(--grid); white-space: nowrap; }
th { color: var(--text-3); font-weight: 600; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
.rooms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 28px; }
.room { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; }
.room h3 { display: flex; justify-content: space-between; font-size: 1rem; }
.room h3 span { color: var(--text-3); font-weight: 500; font-size: .85rem; }
.case { display: grid; grid-template-columns: 1fr auto; gap: 2px 8px; padding: 8px 0; border-top: 1px solid var(--grid); font-size: .85rem; }
.case .time { color: var(--text-3); font-variant-numeric: tabular-nums; }
.case .sc { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.case .prof { grid-column: 1 / -1; display: flex; gap: 6px; align-items: center; color: var(--text-2); }
.mini-bar { display: flex; gap: 1px; height: 6px; grid-column: 1 / -1; }
.mini-bar i { display: block; border-radius: 2px; }
.heavy-flag { font-size: .72rem; font-weight: 700; padding: 1px 6px; border-radius: 4px; background: var(--band-heavy); color: var(--text); }
.heavy-flag[data-band="veryHeavy"] { background: var(--band-veryHeavy); }

/* Founders */
.founder-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 28px; }
.founder { display: flex; gap: 20px; align-items: flex-start; }
.avatar {
  flex: none; width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: #86b6ef; font-weight: 700; font-size: 1.4rem; letter-spacing: .02em;
}
.avatar { position: relative; overflow: hidden; }
.avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder h3 { margin-bottom: 2px; font-size: 1.2rem; }
.founder .role { color: var(--accent); font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
.founder p { color: var(--text-2); font-size: .95rem; }
.founder-links { display: flex; gap: 16px; }
.founder-link { font-size: .9rem; font-weight: 600; }

/* Closing & footer */
.closing { padding: 80px 0; background: var(--navy); color: #fff; text-align: center; }
.closing h2 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.closing p { color: #c7d6df; max-width: 720px; margin: 0 auto 1em; font-size: 1.08rem; }
.closing .steps { color: #86b6ef; font-weight: 600; letter-spacing: .04em; }
.site-footer { padding: 24px 0; border-top: 1px solid var(--border); color: var(--text-3); font-size: .85rem; }
.site-footer p { margin: 0; }
.site-footer .footer-privacy { margin-top: 6px; font-size: .8rem; }

/* Tooltip */
.tooltip {
  position: fixed; z-index: 50; pointer-events: none; background: var(--surface); color: var(--text);
  border: 1px solid var(--border); box-shadow: 0 6px 20px rgba(0,0,0,.15); border-radius: 8px;
  padding: 8px 10px; font-size: .82rem; min-width: 150px;
}
.tooltip .tt-title { font-weight: 700; margin-bottom: 4px; }
.tooltip .tt-row { display: flex; justify-content: space-between; gap: 12px; }
.tooltip .tt-row i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }

/* Responsive */
@media (max-width: 960px) {
  .site-nav { display: none; }
  .header-tools { margin-left: auto; }
  .two-col, .calc-grid { grid-template-columns: 1fr; }
  .compare, .dim-grid, .profile-grid { grid-template-columns: 1fr 1fr; }
  .rooms, .stat-row { grid-template-columns: 1fr 1fr; }
  .calc-result { position: static; }
}
@media (max-width: 620px) {
  .header-inner { gap: 12px; }
  .brand span { display: none; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 52px 0; }
  .compare, .compare.two, .dim-grid, .profile-grid, .rooms, .founder-grid { grid-template-columns: 1fr; }
  .founder { flex-direction: column; gap: 12px; }
  .field { grid-template-columns: 1fr; gap: 6px; }
  .bands { grid-template-columns: 1fr 1fr; }
  .flow-steps { grid-template-columns: 1fr 1fr; }
  .flow-steps li:nth-child(2)::after { content: none; }
  }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .radar-shape, .dim-bar .fill { transition: none; }
}

/* Long compound words (German, French) must wrap inside narrow boxes */
.flow-steps li, .stat, .room, .card, .band, .field label, 
/* Flexibility band */
.flex-band { background: linear-gradient(180deg, var(--bg), var(--accent-soft)); }
.flex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.flex-grid p { color: var(--text-2); margin: 0; }

/* Demo badge, calls to action and feature list */
.badge { display: inline-block; vertical-align: middle; margin-left: 8px; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .02em; background: var(--accent-soft); color: var(--accent); border: 1px solid var(--border); }
.cta-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 28px; font-weight: 600; }
.cta-inline.small { margin-top: 12px; font-size: .88rem; font-weight: 500; }
.cta-row.center { justify-content: center; margin: 8px 0 24px; }
.btn-light { background: #fff; color: #0c2c40; }
.btn-light:hover { filter: brightness(.95); }
.closing .btn-primary { background: #5fb3c9; color: #07161f; }
.closing-cta { font-weight: 600; color: #fff !important; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.feature-list li { background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 10px; padding: 14px 18px; font-weight: 500; }
.important h3 { margin-bottom: 6px; }
.important p:last-child { margin-bottom: 0; }
.dim-card .param-list li { color: var(--text-2); }

@media (max-width: 960px) { .flex-grid { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .bands { grid-template-columns: 1fr 1fr; } }

/* Long words (e.g. German compounds) must fit without being split */
@media (max-width: 620px) {
  h1 { font-size: 1.85rem; }
  h2 { font-size: 1.4rem; }
  .flow-steps { grid-template-columns: 1fr; }
  .flow-steps li::after { content: none !important; }
  }
@media (max-width: 380px) {
  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.25rem; }
}

/* Dimension descriptions and the score-free demo result */
.dim-desc { color: var(--text-2); margin: 0; }
.big-pill { font-size: 1.05rem; padding: 6px 14px; margin-top: 8px; }
.big-pill::first-letter { text-transform: uppercase; }

/* Without word splitting, long compounds need room: smaller German headings, stacked tiles on small phones */
h1 { font-size: clamp(2rem, 4vw, 2.9rem); }
html[lang="de"] h1 { font-size: clamp(1.35rem, 6.4vw, 2.5rem); }
html[lang="de"] h2 { font-size: clamp(1.05rem, 5vw, 2.1rem); }
html[lang="de"] h3 { font-size: clamp(.95rem, 4.2vw, 1.1rem); }
@media (max-width: 420px) {
  .stat-row { grid-template-columns: 1fr; }
  .result-top { flex-wrap: wrap; }
  .profile-name { text-align: left; }
}
.flow-steps { grid-template-columns: repeat(2, 1fr); }
.flow-steps li:nth-child(2)::after { content: none; }
@media (max-width: 1099px) and (min-width: 621px) { .compare:not(.two) { grid-template-columns: 1fr 1fr; } }
html[lang="de"] h3 { font-size: clamp(.85rem, 4vw, 1.1rem); }
html[lang="de"] .compare h3 { font-size: 1rem; }
@media (max-width: 380px) {
  .card { padding: 16px; }
  html[lang="de"] body { font-size: 14.5px; }
  html[lang="de"] .compare h3 { font-size: .85rem; }
}
@media (max-width: 1099px) { .stat-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .flow-steps { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .stat-row { grid-template-columns: 1fr; } }

/* Application section: themes and screenshot gallery */
.app-title { max-width: 900px; }
.app-themes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 32px; }
.app-themes h3 { margin-bottom: 12px; }
.app-themes .check-list li { font-size: .95rem; }
.gallery-title { margin-top: 40px; }
.app-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 16px; align-items: start; }
.app-gallery figure.featured { grid-column: 1 / -1; }
.app-gallery figure.featured figcaption { font-size: 1rem; }
.app-gallery figure { margin: 0; }
.app-gallery img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--border); box-shadow: var(--shadow); background: #fff; }
.app-gallery a:hover img { border-color: var(--accent); }
.app-gallery figcaption { margin-top: 10px; color: var(--text-2); font-size: .92rem; }
@media (max-width: 1099px) { .app-themes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .app-gallery { grid-template-columns: 1fr; } }
@media (max-width: 620px) { .app-themes { grid-template-columns: 1fr; } }
.data-title { margin-top: 48px; }
.data-steps { list-style: none; counter-reset: step; padding: 0; margin: 20px 0 0; max-width: 860px; }
.data-steps li { counter-increment: step; position: relative; padding: 0 0 18px 48px; color: var(--text-2); }
.data-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .95rem; color: var(--on-accent); background: var(--accent); }
.data-steps strong { display: block; color: var(--text); margin-bottom: 2px; }

/* Value message, vision and live-dashboard sections */
.value-band { background: linear-gradient(180deg, var(--bg), var(--bg-alt)); }
.vision-band { background: linear-gradient(180deg, var(--accent-soft), var(--bg)); }
.value-title { font-size: clamp(1.6rem, 3.4vw, 2.5rem); max-width: 980px; }
.value-grid { align-items: start; margin-top: 12px; }
.shift { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow); }
.shift-row p { margin: 4px 0 0; font-size: 1.08rem; font-style: italic; }
.shift-row.from p { color: var(--text-3); }
.shift-row.to p { color: var(--text); font-weight: 600; }
.shift-arrow { color: var(--accent); font-size: 1.6rem; font-weight: 700; margin: 8px 0; }
.mt-sm { margin-top: 36px; }
.question-list { margin-top: 12px; }
.question-list li { color: var(--text); font-size: 1.02rem; }
.vision-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 24px; }
.vision-grid p, .source-grid p { color: var(--text-2); margin: 0; }
.eco { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.eco li { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--accent); background: var(--accent-soft); color: var(--text); font-weight: 600; }
.eco-text { margin-top: 16px; color: var(--text-2); max-width: 860px; }
.live-grid { align-items: start; margin-top: 12px; }
.live-grid .important { margin-top: 0; }
.note-plain { color: var(--text-3); }
.source-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 12px; }
.source-grid h4 { margin: 0 0 6px; font-size: 1rem; }
.source-grid .card { padding: 18px; }
.tagline { color: #86b6ef !important; font-weight: 600; font-size: 1.15rem !important; margin-bottom: 18px !important; }
@media (max-width: 1099px) { .source-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .vision-grid, .source-grid { grid-template-columns: 1fr; } }
