/* ==========================================================================
   BalkanMechaniker.de — Design System
   CRM-Workspace-Look: helle Oberfläche, linke Sidebar, Status-Semantik
   ========================================================================== */

:root {
  /* Palette */
  --navy: #0A2342;
  --blue: #1259C3;
  --electric: #1769E8;
  --orange: #FF5A1F;
  --yellow: #F6C344;
  --green: #1F9D68;
  --red: #D64545;
  --bg: #F7F9FC;
  --white: #FFFFFF;

  /* Derived */
  --navy-90: #12315C;
  --blue-soft: #E8F0FC;
  --blue-border: #D3E0F2;
  --text: #1C2B3A;
  --text-muted: #66758A;
  --shadow-sm: 0 1px 2px rgba(10, 35, 66, 0.06);
  --shadow-md: 0 4px 16px rgba(10, 35, 66, 0.08);
  --shadow-lg: 0 12px 32px rgba(10, 35, 66, 0.12);
  --radius: 12px;
  --radius-lg: 18px;

  /* Layout */
  --sidebar-w: 252px;
  --sidebar-w-collapsed: 76px;
  --rail-w: 60px;
  --content-max: 1180px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--electric); }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.25; margin: 0 0 0.6em; }
h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ==========================================================================
   Layout: Sidebar + Content
   ========================================================================== */

.layout { display: flex; min-height: 100vh; }

.sidebar {
  position: fixed; inset: 0 auto 0 0; z-index: 100;
  width: var(--sidebar-w);
  background: var(--white);
  border-right: 1px solid var(--blue-border);
  display: flex; flex-direction: column;
  transition: width 0.2s ease, transform 0.25s ease;
  overflow-y: auto; overflow-x: hidden;
  scrollbar-width: thin;
}

.sidebar__brand {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 16px 14px;
  border-bottom: 1px solid var(--blue-border);
  min-height: 64px;
}
.sidebar__brand-mark {
  flex: 0 0 auto; width: 36px; height: 36px; border-radius: 9px;
  display: block; object-fit: contain;
  font-weight: 800; font-size: 0.85rem; letter-spacing: 0.02em;
}
.sidebar__brand-text { line-height: 1.15; white-space: nowrap; }
.sidebar__brand-text strong { display: block; color: var(--navy); font-size: 0.95rem; }
.sidebar__brand-text span { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; }

.sidebar__nav { flex: 1; padding: 10px 10px 4px; }
.sidebar__group-label {
  font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); padding: 14px 10px 4px; white-space: nowrap;
}

.nav-item {
  display: flex; align-items: center; gap: 12px;
  padding: 9px 10px; margin: 2px 0;
  border-radius: 9px; color: var(--text);
  font-size: 0.92rem; font-weight: 500;
  position: relative; white-space: nowrap;
}
.nav-item:hover { background: var(--blue-soft); color: var(--navy); }
.nav-item svg { flex: 0 0 auto; width: 20px; height: 20px; stroke: currentColor; }
.nav-item[aria-current="page"],
.nav-item.is-active {
  background: var(--blue-soft); color: var(--blue); font-weight: 600;
}
.nav-item[aria-current="page"]::before,
.nav-item.is-active::before {
  content: ""; position: absolute; left: -10px; top: 8px; bottom: 8px;
  width: 3px; border-radius: 0 3px 3px 0; background: var(--orange);
}

.sidebar__footer { padding: 10px; border-top: 1px solid var(--blue-border); }
.sidebar__choose {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--orange); color: #fff; font-weight: 700; font-size: 0.88rem;
  border-radius: 9px; padding: 10px 12px; white-space: nowrap;
}
.sidebar__choose:hover { background: #E64D15; color: #fff; }
.sidebar__collapse {
  display: flex; align-items: center; gap: 12px; width: 100%;
  margin-top: 8px; padding: 8px 10px;
  background: none; border: 0; border-radius: 9px;
  color: var(--text-muted); font: inherit; font-size: 0.85rem; cursor: pointer;
  white-space: nowrap;
}
.sidebar__collapse:hover { background: var(--blue-soft); color: var(--navy); }
.sidebar__collapse svg { width: 20px; height: 20px; flex: 0 0 auto; }

/* Collapsed state (desktop) */
body.sidebar-collapsed .sidebar { width: var(--sidebar-w-collapsed); }
body.sidebar-collapsed .sidebar__brand-text,
body.sidebar-collapsed .sidebar__group-label,
body.sidebar-collapsed .nav-item span,
body.sidebar-collapsed .sidebar__choose span,
body.sidebar-collapsed .sidebar__collapse span { display: none; }
body.sidebar-collapsed .nav-item,
body.sidebar-collapsed .sidebar__choose,
body.sidebar-collapsed .sidebar__collapse { justify-content: center; }
body.sidebar-collapsed .sidebar__collapse svg { transform: rotate(180deg); }
body.sidebar-collapsed .main { margin-left: var(--sidebar-w-collapsed); }

.main {
  flex: 1; margin-left: var(--sidebar-w);
  transition: margin-left 0.2s ease;
  min-width: 0;
}

.content {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 28px clamp(16px, 4vw, 44px) 60px;
}

/* Mobile topbar + rail */
.topbar {
  display: none;
  position: sticky; top: 0; z-index: 90;
  background: var(--white); border-bottom: 1px solid var(--blue-border);
  align-items: center; gap: 12px; padding: 10px 14px;
}
.topbar__menu {
  background: none; border: 1px solid var(--blue-border); border-radius: 8px;
  width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer;
  color: var(--navy);
}
.topbar__brand { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); font-size: 0.95rem; }

.drawer-overlay {
  display: none; position: fixed; inset: 0; z-index: 99;
  background: rgba(10, 35, 66, 0.45);
}
body.drawer-open .drawer-overlay { display: block; }

@media (max-width: 1100px) {
  .sidebar { transform: translateX(-100%); box-shadow: var(--shadow-lg); }
  body.drawer-open .sidebar { transform: translateX(0); }
  body.sidebar-collapsed .sidebar { width: var(--sidebar-w); }
  body.sidebar-collapsed .sidebar__brand-text,
  body.sidebar-collapsed .sidebar__group-label,
  body.sidebar-collapsed .nav-item span,
  body.sidebar-collapsed .sidebar__choose span { display: inline; }
  body.sidebar-collapsed .nav-item, body.sidebar-collapsed .sidebar__choose { justify-content: flex-start; }
  .sidebar__collapse { display: none; }
  .main, body.sidebar-collapsed .main { margin-left: 0; }
  .topbar { display: flex; }
}

/* ==========================================================================
   Buttons & CTA
   ========================================================================== */

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 10px;
  font-weight: 700; font-size: 0.95rem; line-height: 1.2;
  border: 2px solid transparent; cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn img { height: 20px; width: auto; }

.btn--cf { background: var(--blue); color: #fff; }
.btn--cf:hover { background: var(--electric); color: #fff; box-shadow: var(--shadow-md); }

.btn--br { background: var(--orange); color: #fff; }
.btn--br:hover { background: #E64D15; color: #fff; box-shadow: var(--shadow-md); }

.btn--outline { background: var(--white); color: var(--navy); border-color: var(--blue-border); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }

.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { box-shadow: var(--shadow-md); color: var(--blue); }

.btn__logo { background: var(--white); border-radius: 5px; padding: 2px 5px; display: inline-flex; }
.btn__logo img { height: 16px; }

/* ==========================================================================
   Cards, badges & status
   ========================================================================== */

.card {
  background: var(--white); border: 1px solid var(--blue-border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  padding: 22px;
}
.card:hover { box-shadow: var(--shadow-md); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em;
  padding: 4px 10px; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue);
}
.badge--green { background: #E4F5EC; color: var(--green); }
.badge--yellow { background: #FDF3D7; color: #8A6B10; }
.badge--red { background: #FBE7E7; color: var(--red); }
.badge--orange { background: #FFEBE2; color: var(--orange); }
.badge--navy { background: var(--navy); color: #fff; }

.status-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.status-dot--green { background: var(--green); }
.status-dot--yellow { background: var(--yellow); }
.status-dot--red { background: var(--red); }
.status-dot--blue { background: var(--blue); }

/* ==========================================================================
   Sections & common blocks
   ========================================================================== */

.section { margin: 56px 0; }
.section__head { max-width: 720px; margin-bottom: 28px; }
.section__kicker {
  display: inline-block; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 8px;
}
.section__lead { color: var(--text-muted); font-size: 1.05rem; }

.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* Breadcrumbs */
.breadcrumbs { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 18px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--blue-border); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--blue); }
.breadcrumbs [aria-current] { color: var(--navy); font-weight: 600; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; margin: 16px 0 56px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.hero__lead { font-size: 1.1rem; color: var(--text-muted); max-width: 54ch; }
.hero__media { position: relative; }
.hero__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.hero__note { margin-top: 14px; font-size: 0.85rem; color: var(--text-muted); }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; } }

/* Floating CRM chips on hero */
.hero__chip {
  position: absolute; background: var(--white); border-radius: 10px;
  box-shadow: var(--shadow-md); border: 1px solid var(--blue-border);
  padding: 10px 14px; font-size: 0.8rem; font-weight: 600;
  display: flex; align-items: center; gap: 8px;
}
.hero__chip--tl { top: 14px; left: -14px; }
.hero__chip--br { bottom: 16px; right: -10px; }
@media (max-width: 900px) {
  .hero__chip--tl { left: 8px; }
  .hero__chip--br { right: 8px; }
}

/* Metrics strip */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.metric { background: var(--white); border: 1px solid var(--blue-border); border-radius: var(--radius); padding: 20px; }
.metric__value { font-size: 1.7rem; font-weight: 800; color: var(--navy); line-height: 1.1; }
.metric__label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }
.metrics__note { grid-column: 1 / -1; font-size: 0.78rem; color: var(--text-muted); margin: 4px 0 0; }
@media (max-width: 900px) { .metrics { grid-template-columns: repeat(2, 1fr); } }

/* Cluster / module cards */
.module-card { display: flex; flex-direction: column; gap: 10px; color: var(--text); }
.module-card:hover { color: var(--text); }
.module-card__icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center;
}
.module-card__icon svg { width: 24px; height: 24px; }
.module-card__meta { font-size: 0.8rem; color: var(--text-muted); }
.module-card__list { margin: 0; padding: 0; list-style: none; font-size: 0.88rem; color: var(--text-muted); }
.module-card__list li { padding: 3px 0; }
.module-card__more { font-size: 0.88rem; font-weight: 600; color: var(--blue); margin-top: auto; }

/* ==========================================================================
   Comparison "Zwei Wege"
   ========================================================================== */

.compare { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare__col { padding: 28px; border-radius: var(--radius-lg); }
.compare__col--cf { background: var(--white); border: 2px solid var(--blue-border); }
.compare__col--br { background: var(--navy); color: #E6EDF7; }
.compare__col--br h3, .compare__col--br h4 { color: #fff; }
.compare__logo { height: 30px; width: auto; margin-bottom: 14px; }
.compare__logo--br { background: #fff; padding: 5px 10px; border-radius: 8px; height: 40px; }
.compare__list { list-style: none; margin: 16px 0 22px; padding: 0; }
.compare__list li { padding: 7px 0 7px 28px; position: relative; font-size: 0.94rem; }
.compare__list li::before {
  content: "✓"; position: absolute; left: 0; top: 6px;
  width: 19px; height: 19px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.7rem; font-weight: 800;
}
.compare__col--cf .compare__list li::before { background: var(--blue-soft); color: var(--blue); }
.compare__col--br .compare__list li::before { background: rgba(255, 90, 31, 0.2); color: var(--orange); }
.compare__oder {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--blue-border);
  display: grid; place-items: center;
  font-weight: 800; font-size: 0.85rem; color: var(--navy);
  box-shadow: var(--shadow-md);
}
@media (max-width: 900px) {
  .compare { grid-template-columns: 1fr; }
  .compare__oder { position: static; transform: none; margin: -6px auto; }
}

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--blue-border); border-radius: var(--radius); background: var(--white); }
table.compare-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 640px; }
.compare-table th, .compare-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--blue-border); vertical-align: top; }
.compare-table thead th { background: var(--bg); color: var(--navy); font-size: 0.85rem; }
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table td:first-child { font-weight: 600; color: var(--navy); white-space: nowrap; }

/* ==========================================================================
   Advertisement blocks
   ========================================================================== */

.ad { border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-columns: 1.1fr 0.9fr; }
.ad__body { padding: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.ad__media img { width: 100%; height: 100%; object-fit: cover; }
.ad__label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.ad__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.ad h2, .ad h3 { margin: 0; }
.ad p { margin: 0; }

.ad--cf { background: var(--blue-soft); border: 1px solid var(--blue-border); }
.ad--cf .ad__label { color: var(--blue); }
.ad--cf p { color: var(--text-muted); }

.ad--br { background: var(--navy); color: #E6EDF7; }
.ad--br h2, .ad--br h3 { color: #fff; }
.ad--br .ad__label { color: var(--orange); }
.ad--br .badge { background: rgba(255, 255, 255, 0.12); color: #fff; }

.ad__partner { display: flex; align-items: center; gap: 12px; margin-top: 6px; font-size: 0.78rem; color: #9FB2CC; }
.ad__partner img { height: 22px; width: auto; background: #fff; border-radius: 5px; padding: 3px 7px; }

@media (max-width: 800px) {
  .ad { grid-template-columns: 1fr; }
  .ad__media { order: -1; max-height: 220px; }
}

/* ==========================================================================
   Dark section (Assessment Center)
   ========================================================================== */

.dark-section {
  background: var(--navy); color: #DCE6F5;
  border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 52px);
}
.dark-section h2, .dark-section h3 { color: #fff; }
.dark-section .section__kicker { color: var(--yellow); }
.dark-section .metric { background: var(--navy-90); border-color: rgba(255, 255, 255, 0.12); }
.dark-section .metric__value { color: var(--yellow); }
.dark-section .metric__label { color: #B7C6DD; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { background: var(--navy-90); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: var(--radius); padding: 22px; }
.step__num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--yellow); color: var(--navy);
  display: grid; place-items: center; font-weight: 800; margin-bottom: 12px;
}
.step h3 { font-size: 1.02rem; }
.step p { font-size: 0.9rem; color: #B7C6DD; margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* ==========================================================================
   Video facade (privacy-enhanced YouTube)
   ========================================================================== */

.video-facade {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 16 / 9; background: var(--navy); cursor: pointer; border: 0; padding: 0;
  display: block; width: 100%;
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.video-facade__play {
  position: absolute; inset: 0; display: grid; place-items: center;
}
.video-facade__play span {
  width: 68px; height: 68px; border-radius: 50%;
  background: var(--orange); display: grid; place-items: center;
  box-shadow: var(--shadow-lg); transition: transform 0.15s ease;
}
.video-facade:hover .video-facade__play span { transform: scale(1.08); }
.video-facade__play svg { width: 26px; height: 26px; fill: #fff; margin-left: 4px; }
.video-facade__consent {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: rgba(10, 35, 66, 0.85); color: #C9D6E8;
  font-size: 0.72rem; padding: 8px 14px; text-align: center;
}
.video-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq details {
  background: var(--white); border: 1px solid var(--blue-border);
  border-radius: var(--radius); margin-bottom: 12px; overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 16px 20px; font-weight: 600; color: var(--navy);
  list-style: none; position: relative; padding-right: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 1.3rem; color: var(--blue); font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 20px 16px; color: var(--text-muted); font-size: 0.95rem; }

/* ==========================================================================
   Checklist & tag lists
   ========================================================================== */

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { padding: 8px 0 8px 30px; position: relative; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 8px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #E4F5EC; color: var(--green);
  display: grid; place-items: center; font-size: 0.72rem; font-weight: 800;
}

.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tag-list li {
  background: var(--white); border: 1px solid var(--blue-border);
  border-radius: 999px; padding: 5px 14px; font-size: 0.85rem; color: var(--text);
}

/* Partner strip */
.partner-strip {
  display: flex; align-items: center; flex-wrap: wrap; gap: 18px;
  background: var(--white); border: 1px solid var(--blue-border);
  border-radius: var(--radius); padding: 16px 22px;
}
.partner-strip img { height: 30px; width: auto; }
.partner-strip__label { font-size: 0.8rem; color: var(--text-muted); }

.barmer-card {
  background: var(--navy); color: #DCE6F5;
  border-radius: var(--radius); padding: 20px 24px;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.barmer-card img { height: 34px; width: auto; background: #fff; border-radius: 8px; padding: 6px 10px; }
.barmer-card strong { color: #fff; display: block; }
.barmer-card span { font-size: 0.85rem; color: #B7C6DD; }

/* Case study card */
.case-card { display: flex; flex-direction: column; gap: 14px; }
.case-card__result { font-size: 1.5rem; font-weight: 800; color: var(--green); }
.case-card dl { margin: 0; font-size: 0.9rem; }
.case-card dt { font-weight: 700; color: var(--navy); margin-top: 10px; }
.case-card dd { margin: 2px 0 0; color: var(--text-muted); }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer { background: var(--navy); color: #B7C6DD; margin-top: 40px; }
.footer__inner {
  max-width: var(--content-max); margin: 0 auto;
  padding: 48px clamp(16px, 4vw, 44px) 28px;
}
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 32px; }
.footer h4 { color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { padding: 4px 0; }
.footer a { color: #B7C6DD; font-size: 0.92rem; }
.footer a:hover { color: #fff; }
.footer__brand p { font-size: 0.88rem; }
.footer__partners { display: flex; flex-direction: column; gap: 14px; }
.footer__partner-row { display: flex; align-items: center; gap: 12px; font-size: 0.8rem; }
.footer__partner-row img { height: 26px; width: auto; background: #fff; border-radius: 6px; padding: 4px 8px; }
.footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 36px; padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  font-size: 0.8rem;
}
.footer__legal-links { display: flex; gap: 18px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Page-specific helpers
   ========================================================================== */

.prose { max-width: 760px; }
.prose h2 { margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 4px 0; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

.contact-box { font-size: 0.95rem; }
.contact-box dt { font-weight: 700; color: var(--navy); margin-top: 14px; }
.contact-box dd { margin: 2px 0 0; }

.related-pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.related-pills a {
  display: inline-block; background: var(--white); border: 1px solid var(--blue-border);
  border-radius: 999px; padding: 8px 18px; font-size: 0.9rem; font-weight: 600; color: var(--navy);
}
.related-pills a:hover { border-color: var(--blue); color: var(--blue); }

.error-page { text-align: center; padding: 80px 20px; }
.error-page .error-code { font-size: 5rem; font-weight: 800; color: var(--blue-border); line-height: 1; }

/* ==========================================================================
   V2: Utility bar (CRM-style, inside content area)
   ========================================================================== */

.utilbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--white); border: 1px solid var(--blue-border);
  border-radius: 10px; padding: 8px 14px; margin-bottom: 24px;
}
.utilbar .breadcrumbs { margin-bottom: 0; }
.utilbar__actions { display: flex; gap: 8px; flex: 0 0 auto; }
.utilbar__shortcut {
  display: inline-flex; align-items: center;
  border: 1px solid var(--blue-border); border-radius: 8px;
  padding: 5px 10px; background: var(--white);
}
.utilbar__shortcut img { height: 16px; width: auto; }
.utilbar__shortcut--cf:hover { border-color: var(--blue); }
.utilbar__shortcut--br:hover { border-color: var(--orange); }
@media (max-width: 620px) { .utilbar__actions { display: none; } }

/* ==========================================================================
   V2: Mobile icon rail (56px)
   ========================================================================== */

.rail {
  display: none;
  position: fixed; left: 0; top: 0; bottom: 0; z-index: 95;
  width: 56px; background: var(--white);
  border-right: 1px solid var(--blue-border);
  flex-direction: column; align-items: center; gap: 4px;
  padding: 12px 0;
}
.rail__item {
  width: 42px; height: 42px; border-radius: 10px;
  display: grid; place-items: center;
  color: var(--text-muted); background: none; border: 0; cursor: pointer;
  position: relative;
}
.rail__item svg { width: 22px; height: 22px; stroke: currentColor; }
.rail__item:hover { background: var(--blue-soft); color: var(--navy); }
.rail__item.is-active { background: var(--blue-soft); color: var(--blue); }
.rail__item.is-active::before {
  content: ""; position: absolute; left: -7px; top: 9px; bottom: 9px;
  width: 3px; border-radius: 0 3px 3px 0; background: var(--orange);
}
.rail__menu { margin-top: auto; color: var(--navy); border: 1px solid var(--blue-border); }

/* Rail visible on mid-size mobile; drawer-only on very narrow screens */
@media (max-width: 1100px) and (min-width: 481px) {
  .rail { display: flex; }
  .main, body.sidebar-collapsed .main { margin-left: 56px; }
  .topbar { padding-left: 70px; }
  .topbar__menu { display: none; }
}

/* ==========================================================================
   V2: Advertisement eyebrow
   ========================================================================== */

.ad__eyebrow {
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
}
.ad__eyebrow--cf { color: var(--blue); }
.ad__eyebrow--br { color: var(--yellow); }
.ad--cf .ad__label { color: var(--text-muted); }
.ad--br .ad__label { color: #9FB2CC; }

/* ==========================================================================
   V2: Comparison facts
   ========================================================================== */

.compare__facts { margin: 0 0 20px; font-size: 0.86rem; display: grid; gap: 10px; }
.compare__facts dt { font-weight: 700; }
.compare__facts dd { margin: 1px 0 0; }
.compare__col--cf .compare__facts dt { color: var(--navy); }
.compare__col--cf .compare__facts dd { color: var(--text-muted); }
.compare__col--br .compare__facts dt { color: #fff; }
.compare__col--br .compare__facts dd { color: #B7C6DD; }

/* ==========================================================================
   V2: CRM assessment panel
   ========================================================================== */

.apanel {
  background: var(--white); border: 1px solid var(--blue-border);
  border-radius: var(--radius); overflow: hidden;
}
.apanel__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; border-bottom: 1px solid var(--blue-border);
  background: var(--bg);
}
.apanel__head h3 { margin: 0; font-size: 1.02rem; }
.apanel__list { list-style: none; margin: 0; padding: 8px 0; }
.apanel__row {
  display: flex; align-items: baseline; gap: 12px;
  padding: 8px 20px; font-size: 0.93rem;
}
.apanel__row .status-dot { flex: 0 0 auto; transform: translateY(-1px); }
.apanel__row + .apanel__row { border-top: 1px solid #EFF3F9; }

/* ==========================================================================
   V2: Final choice module
   ========================================================================== */

.final-choice {
  background: var(--white); border: 1px solid var(--blue-border);
  border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 40px);
}
.final-choice__head { text-align: center; max-width: 60ch; margin: 0 auto 26px; }
.final-choice__head p { color: var(--text-muted); margin: 0; }
.final-choice__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.final-choice__opt {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  border-radius: var(--radius); padding: 24px;
  border: 2px solid transparent; transition: transform 0.12s ease, box-shadow 0.15s ease;
}
.final-choice__opt:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.final-choice__opt strong { font-size: 1.08rem; }
.final-choice__opt span { font-size: 0.88rem; }
.final-choice__opt img { height: 26px; width: auto; }
.final-choice__opt--cf { background: var(--blue-soft); border-color: var(--blue-border); }
.final-choice__opt--cf strong { color: var(--navy); }
.final-choice__opt--cf span { color: var(--text-muted); }
.final-choice__opt--br { background: var(--navy); }
.final-choice__opt--br img { background: #fff; border-radius: 6px; padding: 4px 8px; }
.final-choice__opt--br strong { color: #fff; }
.final-choice__opt--br span { color: #B7C6DD; }
@media (max-width: 720px) { .final-choice__cols { grid-template-columns: 1fr; } }

/* ==========================================================================
   V2: Footer additions
   ========================================================================== */

.footer__quicklinks { display: flex; gap: 16px; margin-top: 12px !important; }
.footer__quicklinks li { padding: 0; }
.footer__quicklinks a { font-weight: 600; color: #fff; }
.barmer-card--footer { padding: 16px 18px; gap: 12px; border: 1px solid rgba(255,255,255,0.14); }
.barmer-card--footer img { height: 26px; }
.barmer-card--footer strong { font-size: 0.88rem; }
.barmer-card--footer span { font-size: 0.78rem; }

/* ==========================================================================
   V2: Guide (Ratgeber article) layout
   ========================================================================== */

.guide-meta {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  font-size: 0.8rem; color: var(--text-muted); margin: 10px 0 24px;
}
.guide-meta span { display: inline-flex; align-items: center; gap: 6px; }
.toc {
  background: var(--white); border: 1px solid var(--blue-border);
  border-radius: var(--radius); padding: 18px 22px; margin: 24px 0;
  max-width: 560px;
}
.toc h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.2em; font-size: 0.92rem; }
.toc li { padding: 3px 0; }
.answer-box {
  background: var(--blue-soft); border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px; margin: 20px 0; font-size: 1.02rem;
}
.sources { font-size: 0.85rem; color: var(--text-muted); }
.sources ul { padding-left: 1.2em; }

/* ==========================================================================
   V2: Test cards (Testzentrum profiles)
   ========================================================================== */

.test-card { display: flex; flex-direction: column; gap: 10px; }
.test-card__tasks { margin: 0; padding: 0; list-style: none; font-size: 0.88rem; color: var(--text-muted); }
.test-card__tasks li { padding: 4px 0 4px 24px; position: relative; }
.test-card__tasks li::before {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--yellow);
}

/* ==========================================================================
   V3: DESIGN MODERNIZATION
   ========================================================================== */

/* ---- Global fixes ------------------------------------------------------ */

/* Brand logo legibility: CF logo is white → always on navy chip; BR logo on white chip */
img[src*="candidate-force-logo"] {
  background: var(--navy); border-radius: 7px; padding: 4px 7px;
  box-sizing: content-box;
}
img[src*="balkan-recruiters-logo"] {
  background: var(--white); border-radius: 7px; padding: 4px 7px;
  box-sizing: content-box;
}
.btn__logo { background: none; border-radius: 0; padding: 0; }
.btn__logo img { height: 18px; width: auto; }
.compare__logo, .compare__logo--br { height: auto; }
.utilbar__shortcut { padding: 4px 6px; }
.utilbar__shortcut img { height: 20px; width: auto; }

/* Buttons: bigger option, arrow, shine */
.btn { position: relative; overflow: hidden; }
.btn--lg { padding: 15px 28px; font-size: 1.02rem; width: auto; }
.btn__arrow { display: inline-flex; }
.btn__arrow svg { width: 18px; height: 18px; stroke: currentColor; transition: transform 0.2s ease; }
.btn:hover .btn__arrow svg { transform: translateX(4px); }
.btn--cf::after, .btn--br::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -80%;
  width: 40%; transform: skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.5s ease;
}
.btn--cf:hover::after, .btn--br:hover::after { left: 130%; }

/* Textures */
.dark-section, .adx--br, .cmpx__col--br, .final-choice__opt--br {
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  background-color: var(--navy);
}
.bg-dots {
  background-image: radial-gradient(rgba(18,89,195,0.10) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
}

/* ---- Full-bleed hero --------------------------------------------------- */

.hero-full {
  position: relative; width: 100%;
  min-height: clamp(480px, 72vh, 760px);
  display: flex; align-items: center;
  overflow: hidden; isolation: isolate;
  --hero-base-scale: 1.06;
  --hero-scroll-scale: 0;
  --hero-scroll-y: 0px;
}
.hero-full--tall { min-height: clamp(560px, 86vh, 900px); }
.hero-full--plain {
  min-height: clamp(340px, 44vh, 460px);
  background:
    radial-gradient(ellipse 80% 90% at 85% 10%, rgba(23,105,232,0.28), transparent 60%),
    radial-gradient(ellipse 60% 80% at 10% 90%, rgba(255,90,31,0.12), transparent 55%),
    var(--navy);
}
.hero-full__bg { position: absolute; inset: 0; z-index: -2; }
.hero-full__bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(calc(var(--hero-base-scale) + var(--hero-scroll-scale))) translate3d(0, var(--hero-scroll-y), 0);
  will-change: transform;
}
.hero-full__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(96deg,
    rgba(7, 24, 46, 0.95) 0%,
    rgba(9, 31, 59, 0.86) 34%,
    rgba(10, 35, 66, 0.55) 62%,
    rgba(10, 35, 66, 0.18) 100%);
}
.hero-full__grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 65%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 65%);
}
.hero-full__content {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--content-max);
  margin: 0 auto;
  padding: clamp(40px, 7vh, 90px) clamp(16px, 4vw, 44px);
}
.hero-full__content h1 {
  color: #fff; max-width: 17ch;
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  letter-spacing: -0.02em; line-height: 1.08;
  text-wrap: balance;
}
.hero-full__kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--yellow); margin-bottom: 16px;
}
.hero-full__kicker::before { content: ""; width: 34px; height: 2px; background: var(--yellow); }
.badge--hero {
  background: rgba(255,255,255,0.1); color: #DCE6F5;
  backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.18);
  margin-bottom: 18px;
}
.hero-full__lead {
  color: #C9D6E8; font-size: clamp(1rem, 1.4vw, 1.18rem);
  max-width: 56ch; margin: 18px 0 28px;
}
.hero-full__note { margin-top: 16px; font-size: 0.84rem; color: #8FA5C4; }
.hero-full__chip {
  position: absolute; z-index: 3;
  background: rgba(255,255,255,0.96); border-radius: 12px;
  box-shadow: var(--shadow-lg);
  padding: 12px 18px; font-size: 0.84rem; font-weight: 700; color: var(--navy);
  display: flex; align-items: center; gap: 9px;
  animation: chip-float 5s ease-in-out infinite;
}
.hero-full__chip--1 { top: 18%; right: clamp(24px, 8vw, 130px); }
.hero-full__chip--2 { bottom: 22%; right: clamp(60px, 14vw, 240px); animation-delay: -2.5s; }
.hero-full--results {
  min-height: clamp(500px, 66vh, 680px);
}
.hero-full--results .hero-full__bg img {
  --hero-base-scale: 1.01;
  object-position: center right;
}
.hero-full--results .hero-full__overlay {
  background: linear-gradient(90deg,
    rgba(4, 15, 31, 0.985) 0%,
    rgba(5, 19, 39, 0.955) 37%,
    rgba(6, 22, 44, 0.73) 58%,
    rgba(6, 22, 44, 0.20) 100%);
}
.hero-full--results .hero-full__grid {
  opacity: 0.32;
  mask-image: linear-gradient(90deg, #000 0%, transparent 57%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 57%);
}
.hero-full--videos,
.hero-full--guides,
.hero-full--professions {
  min-height: clamp(500px, 66vh, 680px);
}
.hero-full--videos .hero-full__bg img,
.hero-full--guides .hero-full__bg img,
.hero-full--professions .hero-full__bg img {
  --hero-base-scale: 1.01;
  object-position: center right;
}
.hero-full--videos .hero-full__overlay,
.hero-full--guides .hero-full__overlay,
.hero-full--professions .hero-full__overlay {
  background: linear-gradient(90deg,
    rgba(3, 14, 29, 0.985) 0%,
    rgba(4, 18, 37, 0.95) 38%,
    rgba(6, 23, 46, 0.68) 59%,
    rgba(6, 23, 46, 0.14) 100%);
}
.hero-full--videos .hero-full__grid,
.hero-full--guides .hero-full__grid,
.hero-full--professions .hero-full__grid {
  opacity: 0.30;
  mask-image: linear-gradient(90deg, #000 0%, transparent 58%);
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 58%);
}
.hero-full__agency-cube {
  position: absolute; z-index: 1;
  right: clamp(28px, 6vw, 108px); bottom: clamp(24px, 7vh, 62px);
  width: 236px; padding: 11px;
  display: grid; gap: 11px;
  color: #fff; border: 1px solid rgba(203, 222, 246, 0.32); border-radius: 16px;
  background: linear-gradient(145deg, rgba(19, 55, 97, 0.98), rgba(3, 16, 33, 0.98));
  box-shadow: -14px 20px 38px rgba(0,0,0,0.34), inset 0 1px 0 rgba(255,255,255,0.16);
  backdrop-filter: blur(10px);
  transform: perspective(760px) rotateY(-9deg) rotateX(3deg);
  transform-origin: right bottom;
}
.hero-full__agency-cube::before {
  content: ""; position: absolute; z-index: -1;
  top: 12px; right: -9px; bottom: 12px; width: 12px;
  border-radius: 0 8px 8px 0;
  background: linear-gradient(180deg, #0D3261, #031226);
  transform: skewY(-34deg);
}
.hero-full__agency-cube::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(125deg, rgba(255,255,255,0.16), transparent 26%, transparent 72%, rgba(42,116,224,0.18));
}
.agency-cube__brand {
  position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 8px; border-radius: 10px; background: #fff;
  box-shadow: inset 0 -2px 0 rgba(7,26,51,0.10);
}
.agency-cube__brand img {
  display: block; width: 154px; height: 31px; object-fit: contain;
  background: transparent; border-radius: 0; padding: 0;
}
.agency-cube__claim {
  position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; column-gap: 7px; align-items: center;
}
.agency-cube__claim > span {
  align-self: end; margin-bottom: 9px; color: var(--yellow);
  font-size: 0.63rem; font-weight: 900; letter-spacing: 0.13em;
}
.agency-cube__claim strong {
  color: var(--yellow); font-size: 3.1rem; line-height: 0.86; letter-spacing: -0.08em;
  text-shadow: 0 8px 20px rgba(0,0,0,0.28);
}
.agency-cube__claim p {
  grid-column: 1 / -1; margin: 6px 0 0; color: #fff;
  font-size: 0.75rem; font-weight: 800; line-height: 1.25; letter-spacing: 0.055em; text-transform: uppercase;
}
.agency-cube__claim em { display: block; color: #BFD3EF; font-style: normal; }
@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@media (max-width: 900px) {
  .hero-full__chip { display: none; }
  .hero-full__agency-cube { right: 18px; bottom: 18px; transform: perspective(760px) rotateY(-7deg) rotateX(2deg) scale(0.86); transform-origin: bottom right; }
  .hero-full__overlay { background: linear-gradient(180deg, rgba(8,27,52,0.92) 0%, rgba(10,35,66,0.72) 100%); }
}

/* ---- Ad blocks V3 (banner style) --------------------------------------- */

.adx {
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 56px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
}
.adx--cf { background: var(--bg); border: 1px solid var(--blue-border); }
.adx--cf.adx { background-image: radial-gradient(rgba(18,89,195,0.07) 1.4px, transparent 1.4px); background-size: 26px 26px; }
.adx--br { color: #DCE6F5; }
.adx__label {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--blue-border); border-radius: 999px; padding: 5px 12px;
  color: var(--text-muted); background: var(--white);
}
.adx--br .adx__label { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); color: #B7C6DD; }
.adx__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.76rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
}
.adx__eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; }
.adx--cf .adx__eyebrow { color: var(--blue); }
.adx--br .adx__eyebrow { color: var(--orange); }
.adx__title {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.12; letter-spacing: -0.015em;
  margin: 0; max-width: 22ch;
}
.adx--br .adx__title { color: #fff; }
.adx__banner { width: 100%; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); margin: 10px 0; }
.adx__banner img { width: 100%; height: auto; display: block; transition: transform 0.5s ease; }
.adx:hover .adx__banner img { transform: scale(1.015); }
.adx__intro { font-weight: 700; margin: 0; max-width: 68ch; }
.adx--cf .adx__intro { color: var(--navy); }
.adx--br .adx__intro { color: #fff; }
.adx__text { margin: 0; max-width: 72ch; color: var(--text-muted); }
.adx--br .adx__text { color: #B7C6DD; }
.adx__pills { list-style: none; margin: 6px 0 10px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.adx__pills li {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 8px 16px; font-size: 0.86rem; font-weight: 600;
}
.adx__pills svg { width: 15px; height: 15px; }
.adx--cf .adx__pills li { background: var(--white); border: 1px solid var(--blue-border); color: var(--navy); }
.adx--cf .adx__pills svg { stroke: var(--blue); }
.adx--br .adx__pills li { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.14); color: #E6EDF7; }
.adx--br .adx__pills svg { stroke: var(--orange); }
.adx .ad__partner { margin-top: 4px; }

/* ---- Comparison V3 (reference card style) ------------------------------ */

.cmpx { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.cmpx__col {
  border-radius: 18px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cmpx__col:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cmpx__col--cf { background: var(--white); border: 1px solid var(--blue-border); }
.cmpx__col--br { color: #DCE6F5; }
.cmpx__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.cmpx__media img { width: 100%; height: 100%; object-fit: cover; }
/* CF promo image has a large logo on the left half — show the dashboard (right) part */
.cmpx__col--cf .cmpx__media > img { width: 175%; max-width: none; margin-left: -75%; }
.cmpx__logochip {
  position: absolute; top: 14px; left: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 10px; padding: 7px 13px;
  font-size: 0.86rem; font-weight: 600; box-shadow: var(--shadow-md);
}
.cmpx__logochip b { font-weight: 800; }
.cmpx__logochip img { padding: 2px 4px; border-radius: 5px; }
.cmpx__logochip--cf { background: var(--navy); color: #fff; }
.cmpx__logochip--br { background: var(--white); color: var(--navy); }
.cmpx__num {
  position: absolute; right: 18px; bottom: 6px;
  font-size: clamp(2.6rem, 4vw, 3.6rem); font-weight: 800; color: #fff;
  opacity: 0.85; letter-spacing: 0.02em; line-height: 1;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.cmpx__body { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.cmpx__eyebrow {
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
}
.cmpx__col--cf .cmpx__eyebrow { color: var(--blue); }
.cmpx__col--br .cmpx__eyebrow { color: var(--orange); }
.cmpx__body h3 { font-size: clamp(1.4rem, 2.2vw, 1.85rem); letter-spacing: -0.01em; margin: 0; }
.cmpx__col--br .cmpx__body h3 { color: #fff; }
.cmpx__body > p { margin: 0; font-size: 0.95rem; }
.cmpx__col--cf .cmpx__body > p { color: var(--text-muted); }
.cmpx__col--br .cmpx__body > p { color: #B7C6DD; }
.cmpx__pills { list-style: none; margin: 4px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cmpx__pills li {
  display: flex; align-items: flex-start; gap: 8px;
  border-radius: 10px; padding: 11px 13px; font-size: 0.82rem; font-weight: 600; line-height: 1.35;
}
.cmpx__pills svg { width: 15px; height: 15px; flex: 0 0 auto; margin-top: 1px; }
.cmpx__col--cf .cmpx__pills li { background: var(--bg); border: 1px solid var(--blue-border); color: var(--navy); }
.cmpx__col--cf .cmpx__pills svg { stroke: var(--blue); }
.cmpx__col--br .cmpx__pills li { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.13); color: #E6EDF7; }
.cmpx__col--br .cmpx__pills svg { stroke: var(--orange); }
.cmpx__ideal {
  font-size: 0.84rem; padding: 11px 14px; border-radius: 8px;
}
.cmpx__col--cf .cmpx__ideal { background: var(--blue-soft); border-left: 3px solid var(--blue); color: var(--text); }
.cmpx__col--br .cmpx__ideal { background: rgba(255,255,255,0.06); border-left: 3px solid var(--orange); color: #C9D6E8; }
.cmpx__ideal strong { font-weight: 800; }
.cmpx__col--cf .cmpx__ideal strong { color: var(--navy); }
.cmpx__col--br .cmpx__ideal strong { color: #fff; }
.cmpx__cta { margin-top: auto; justify-content: center; width: 100%; }
.cmpx__oder {
  position: absolute; left: 50%; top: clamp(120px, 16vw, 220px); transform: translateX(-50%); z-index: 4;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--navy); color: #fff; border: 3px solid var(--white);
  display: grid; place-items: center;
  font-weight: 800; font-size: 0.78rem; letter-spacing: 0.04em;
  box-shadow: var(--shadow-lg);
}
@media (max-width: 900px) {
  .cmpx { grid-template-columns: 1fr; }
  .cmpx__oder { position: static; transform: none; margin: -10px auto; }
}

/* ---- Footer partner strip ---------------------------------------------- */

.footer__partnerstrip {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 36px; padding-top: 22px;
  font-size: 0.85rem; color: #B7C6DD;
}
.footer__partnerstrip img { height: 28px; width: auto; background: #fff; border-radius: 6px; padding: 4px 9px; }
.footer__partnerstrip span { flex: 1; min-width: 260px; }

/* ---- Scroll-reveal & motion ------------------------------------------- */

html.js .rv { opacity: 0; transform: translateY(26px); }
html.js .rv.on {
  opacity: 1; transform: none;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--rv-delay, 0s);
}
html.js .rv.cluster-card,
html.js .rv.module-card--visual,
html.js .rv.cmpx__col,
html.js .rv.case-card,
html.js .rv.final-choice__opt { transform: translateY(28px) scale(0.985); }
html.js .rv.on.cluster-card,
html.js .rv.on.module-card--visual,
html.js .rv.on.cmpx__col,
html.js .rv.on.case-card,
html.js .rv.on.final-choice__opt { transform: translateY(0) scale(1); }
html.js .rv.on.card:hover { transform: translateY(-3px); }
html.js .rv.on.cluster-card:hover,
html.js .rv.on.cmpx__col:hover { transform: translateY(-4px); }
html.js .hero-full.motion-intro .hero-full__content > * {
  opacity: 0; transform: translateY(18px);
}
html.js .hero-full.motion-intro.motion-in .hero-full__content > * {
  animation: hero-copy-enter 0.78s cubic-bezier(0.16, 1, 0.3, 1) var(--hero-intro-delay, 0s) forwards;
}
html.js .hero-full.motion-intro .hero-full__bg { opacity: 0.82; }
html.js .hero-full.motion-intro.motion-in .hero-full__bg {
  opacity: 1; transition: opacity 0.9s ease-out;
}
@keyframes hero-copy-enter {
  to { opacity: 1; transform: translateY(0); }
}
.status-dot--green, .status-dot--yellow { animation: dot-pulse 2.4s ease-in-out infinite; }
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(31,157,104,0.35); }
  50% { box-shadow: 0 0 0 5px rgba(31,157,104,0); }
}
.card, .module-card { transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease; }
.card:hover { transform: translateY(-3px); border-color: #B9CCEA; }
.module-card__icon { transition: transform 0.22s ease; }
a.module-card:hover .module-card__icon { transform: scale(1.1) rotate(-4deg); }

/* Marquee (homepage profession strip) */
.marquee {
  overflow: hidden; padding: 18px 0; position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; gap: 12px; width: max-content;
  animation: marquee-scroll 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track a {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: var(--white); border: 1px solid var(--blue-border); border-radius: 999px;
  padding: 9px 20px; font-size: 0.9rem; font-weight: 600; color: var(--navy);
}
.marquee__track a:hover { border-color: var(--blue); color: var(--blue); }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Reduced motion: kill all decoration animation */
@media (prefers-reduced-motion: reduce) {
  html.js .rv { opacity: 1; transform: none; }
  .hero-full__chip, .status-dot--green, .status-dot--yellow { animation: none; }
  .marquee__track { animation: none; flex-wrap: wrap; }
  .hero-full__bg img { transform: none !important; }
  * { transition-duration: 0.01ms !important; }
}

/* Workflow / process cards on industry pages */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: flow; }
.flow__step {
  background: var(--white); border: 1px solid var(--blue-border);
  border-radius: var(--radius); padding: 16px; font-size: 0.88rem;
  counter-increment: flow; position: relative;
}
.flow__step::before {
  content: counter(flow, decimal-leading-zero);
  display: block; font-weight: 800; color: var(--blue); font-size: 0.8rem; margin-bottom: 6px;
}
.flow__step strong { display: block; color: var(--navy); margin-bottom: 4px; }
.flow__step span { color: var(--text-muted); }
@media (max-width: 900px) { .flow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .flow { grid-template-columns: 1fr; } }

/* ========================================================================
   V4 — Automotive Operations Console foundation
   Shared shell and homepage reference treatment.
   ======================================================================== */

:root {
  --ink: #071A33;
  --ink-2: #102B50;
  --canvas: #F4F7FB;
  --line: #DCE6F3;
  --blue: #2167D8;
  --blue-soft: #EAF1FC;
  --orange: #FF5A1F;
  --yellow: #F6C344;
  --sidebar-w-collapsed: 82px;
  --content-max: 1320px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(7, 26, 51, .05);
  --shadow-md: 0 10px 32px rgba(7, 26, 51, .08);
  --shadow-lg: 0 24px 64px rgba(7, 26, 51, .16);
}

body {
  font-family: "Segoe UI Variable", "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--canvas);
  letter-spacing: -0.006em;
}

h1, h2, h3, h4 { letter-spacing: -0.028em; }
h1, h2 { text-wrap: balance; }

/* Command rail */
.sidebar { background: rgba(255, 255, 255, .94); backdrop-filter: blur(18px); border-right-color: var(--line); }
.sidebar__brand { min-height: 76px; padding: 18px 16px; border-bottom-color: var(--line); }
.sidebar__brand-mark { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 8px 18px rgba(7, 26, 51, .18); }
.sidebar__brand-text strong { font-size: 1rem; }
.sidebar__nav { padding: 18px 12px 8px; }
.sidebar__group-label { margin-bottom: 6px; }
.nav-item { min-height: 44px; padding: 10px 12px; border-radius: 11px; color: #53647A; }
.nav-item:hover { background: #F0F5FD; color: var(--ink); }
.nav-item[aria-current="page"], .nav-item.is-active { background: var(--blue-soft); color: var(--blue); }
.nav-item[aria-current="page"]::before, .nav-item.is-active::before { left: -12px; top: 10px; bottom: 10px; background: var(--orange); }
.sidebar__footer { border-top-color: var(--line); padding: 12px; }
.sidebar__choose { min-height: 44px; border-radius: 11px; box-shadow: 0 8px 16px rgba(255, 90, 31, .18); }
.sidebar__collapse { min-height: 42px; }
body.sidebar-collapsed .sidebar__brand { justify-content: center; padding-inline: 0; }
body.sidebar-collapsed .sidebar__nav { padding-inline: 14px; }
body.sidebar-collapsed .nav-item { width: 52px; height: 52px; min-height: 52px; padding: 0; margin: 8px auto; border-radius: 14px; }
body.sidebar-collapsed .nav-item[aria-current="page"]::before, body.sidebar-collapsed .nav-item.is-active::before { left: -14px; top: 13px; bottom: 13px; }
body.sidebar-collapsed .sidebar__choose, body.sidebar-collapsed .sidebar__collapse { width: 52px; min-height: 52px; margin-inline: auto; border-radius: 14px; padding: 0; }
.topbar { min-height: 64px; background: rgba(255,255,255,.94); backdrop-filter: blur(18px); border-bottom-color: var(--line); }
.topbar__brand { font-size: 1rem; }

/* Shared content rhythm */
.content { padding-block: 40px 84px; }
.section { margin-block: 88px; }
.section__head { max-width: 760px; margin-bottom: 34px; }
.section__kicker { color: var(--blue); font-size: .7rem; letter-spacing: .15em; }
.section__lead { font-size: 1.08rem; line-height: 1.65; }
.btn { min-height: 46px; border-radius: 12px; padding: 12px 18px; box-shadow: none; }
.btn--lg { min-height: 54px; padding: 15px 22px; }
.btn--cf { background: var(--blue); }
.btn--cf:hover { background: #1559C6; box-shadow: 0 12px 24px rgba(33,103,216,.22); }
.btn--br { box-shadow: 0 12px 24px rgba(255,90,31,.20); }
.btn--ghost-light { color: #fff; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.34); }
.btn--ghost-light:hover { color: #fff; background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.62); }

/* Homepage hero */
.hero-full--home { min-height: clamp(550px, 67vh, 720px); border-bottom: 1px solid rgba(255,255,255,.1); }
.hero-full--home .hero-full__bg img {
  --hero-base-scale: 1;
  object-position: right top;
  transform-origin: top right;
}
.hero-full--home .hero-full__overlay { background: linear-gradient(90deg, rgba(7,26,51,.97) 0%, rgba(7,26,51,.92) 37%, rgba(7,26,51,.58) 61%, rgba(7,26,51,.10) 100%); }
.hero-full--home .hero-full__grid { opacity: .38; background-size: 64px 64px; mask-image: linear-gradient(90deg, #000 0%, transparent 54%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 54%); }
.hero-full--home .hero-full__content { padding-top: 72px; padding-bottom: 72px; }
.hero-full--home .hero-full__content h1 { max-width: 15.5ch; font-size: clamp(2.65rem, 4.4vw, 4.2rem); line-height: 1.01; }
.hero-full--home .hero-full__lead { max-width: 55ch; font-size: clamp(1.02rem, 1.35vw, 1.16rem); line-height: 1.62; margin-block: 22px 30px; }
.hero-full--home .badge--hero { background: rgba(31,157,104,.16); color: #E9FFF4; border-color: rgba(152,230,190,.32); padding: 7px 12px; }
.hero-full--home .hero-full__note { max-width: 62ch; color: #B7C6DD; }
.hero-full--choice { min-height: clamp(460px, 58vh, 620px); }
.hero-full--choice .hero-full__bg img { --hero-base-scale: 1.03; object-position: center right; }
.hero-full--choice .hero-full__overlay { background: linear-gradient(90deg, rgba(7,26,51,.98) 0%, rgba(7,26,51,.95) 36%, rgba(7,26,51,.70) 57%, rgba(7,26,51,.20) 100%); }
.hero-full--choice .hero-full__grid { opacity: .3; mask-image: linear-gradient(90deg, #000 0%, transparent 58%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 58%); }
.hero-full--industries { min-height: clamp(500px, 66vh, 680px); }
.hero-full--industries .hero-full__bg img { --hero-base-scale: 1.01; object-position: center right; }
.hero-full--industries .hero-full__overlay { background: linear-gradient(90deg, rgba(5,18,37,.98) 0%, rgba(6,22,43,.94) 33%, rgba(7,26,51,.65) 58%, rgba(7,26,51,.14) 100%); }
.hero-full--industries .hero-full__grid { opacity: .28; mask-image: linear-gradient(90deg, #000 0%, transparent 57%); -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 57%); }
.marquee { display: none; }

/* Homepage proof strip */
.proof-section { margin: -34px 0 0; position: relative; z-index: 4; }
.proof-section__inner.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-md); background: rgba(255,255,255,.97); }
.proof-section .metric { border: 0; border-radius: 0; padding: 24px 26px; box-shadow: none; position: relative; }
.proof-section .metric + .metric::before { content: ""; position: absolute; inset: 22px auto 22px 0; width: 1px; background: var(--line); }
.proof-section .metric__value { font-size: clamp(1.65rem, 2.7vw, 2.25rem); color: var(--ink); letter-spacing: -.045em; }
.proof-section .metric__label { margin-top: 6px; line-height: 1.35; }
.proof-section .metrics__note { grid-column: 1 / -1; margin: 0; padding: 13px 26px; background: #F8FAFE; border-top: 1px solid var(--line); font-size: .78rem; }

/* Homepage cluster cards */
.section--clusters { margin-top: 98px; }
.cluster-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.cluster-card { min-height: 255px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: #fff; display: flex; flex-direction: column; gap: 9px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.cluster-card:hover { transform: translateY(-4px); border-color: #B4CEF3; box-shadow: var(--shadow-md); }
.cluster-card h3 { margin: 3px 0 0; font-size: 1.06rem; }
.cluster-card .module-card__icon { width: 42px; height: 42px; border-radius: 12px; background: #F0F5FD; }
.cluster-card .module-card__meta { display: flex; align-items: center; gap: 6px; font-size: .77rem; }
.cluster-card .module-card__list { margin-top: 4px; font-size: .82rem; line-height: 1.45; }
.cluster-card .module-card__more { margin-top: auto; padding-top: 8px; }

/* Homepage evidence and editorial modules */
.section--evidence { margin-block: 98px; }
.evidence-panel { position: relative; overflow: hidden; isolation: isolate; padding: clamp(32px, 5vw, 60px); border-radius: 24px; color: #DCE6F5; background: linear-gradient(90deg, rgba(7,26,51,.98) 0%, rgba(7,26,51,.91) 49%, rgba(7,26,51,.48) 100%), url('/assets/images/testzentrum/testzentrum-hero.webp') center/cover; box-shadow: var(--shadow-lg); }
.evidence-panel::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(90deg, #000, transparent 62%); -webkit-mask-image: linear-gradient(90deg, #000, transparent 62%); }
.evidence-panel h2 { max-width: 15ch; color: #fff; font-size: clamp(2rem, 3.5vw, 3.15rem); line-height: 1.03; }
.evidence-panel__lead { max-width: 62ch; color: #C8D7EC; font-size: 1.04rem; line-height: 1.65; }
.evidence-panel__steps { margin: 34px 0; gap: 12px; }
.evidence-panel .step { padding: 20px; border-color: rgba(255,255,255,.14); background: rgba(16,43,80,.68); backdrop-filter: blur(8px); }
.evidence-panel .step__num { width: 38px; height: 38px; background: var(--yellow); color: var(--ink); font-size: .78rem; }
.evidence-panel .step h3 { color: #fff; }

.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.case-card { min-height: 310px; padding: 32px; border-radius: 20px; border: 1px solid var(--line); background: #fff; display: flex; flex-direction: column; align-items: flex-start; box-shadow: var(--shadow-sm); }
.case-card--140 { background: linear-gradient(135deg, #FFFFFF 0%, #EDF4FF 100%); }
.case-card--tuzla { background: linear-gradient(135deg, #FFFFFF 0%, #FFF3EC 100%); }
.case-card h3 { margin-top: 18px; font-size: 1.35rem; max-width: 22ch; }
.case-card__result { margin: 10px 0 14px; color: var(--ink); font-size: clamp(2rem, 3.3vw, 3rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.case-card--tuzla .case-card__result { color: #D94B17; }
.case-card .module-card__more { margin-top: auto; padding-top: 18px; }

.credibility-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.credibility-grid .partner-strip, .credibility-grid .barmer-card { min-height: 122px; margin: 0; border-radius: 16px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide-grid .module-card { min-height: 260px; border-radius: 16px; padding: 24px; }
.guide-grid .module-card h3 { line-height: 1.2; }

@media (max-width: 1280px) { .cluster-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1100px) {
  .rail { display: none !important; }
  .main, body.sidebar-collapsed .main { margin-left: 0; }
  .topbar { padding-left: 16px; }
  .topbar__menu { display: grid; }
  .content { padding-inline: clamp(18px, 4vw, 36px); }
  .proof-section { margin-top: 0; }
  .hero-full--home .hero-full__content { padding-top: 64px; padding-bottom: 64px; }
}
@media (max-width: 900px) {
  .section { margin-block: 64px; }
  .hero-full--home { min-height: 620px; }
  .hero-full--home .hero-full__overlay { background: linear-gradient(180deg, rgba(7,26,51,.94) 0%, rgba(7,26,51,.78) 58%, rgba(7,26,51,.64) 100%); }
  .hero-full--home .hero-full__content h1 { max-width: 14ch; }
  .proof-section__inner.metrics { grid-template-columns: repeat(2, 1fr); }
  .proof-section .metric:nth-child(3)::before { display: none; }
  .proof-section .metric:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .cluster-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid, .credibility-grid, .guide-grid { grid-template-columns: 1fr; }
  .evidence-panel { padding: 32px 24px; }
}
@media (max-width: 560px) {
  .topbar { padding: 10px 16px; }
  .content { padding: 28px 16px 64px; }
  /* The first mobile viewport is a complete cinematic entry point, not a
     compressed desktop hero. Keep the mechanic visible and the copy crisp. */
  .hero-full--home {
    min-height: max(620px, calc(100svh - 64px));
    align-items: center;
    background: #04172F;
  }
  .hero-full--home .hero-full__bg img {
    --hero-base-scale: 1.06;
    object-position: 78% top;
    transform-origin: 78% top;
  }
  .hero-full--home .hero-full__overlay {
    background:
      radial-gradient(ellipse 64% 52% at 88% 24%, rgba(18, 83, 151, 0.04) 0%, rgba(4, 23, 47, 0.36) 72%),
      linear-gradient(180deg, rgba(3, 16, 34, 0.88) 0%, rgba(4, 20, 42, 0.66) 41%, rgba(3, 16, 34, 0.88) 100%),
      linear-gradient(90deg, rgba(3, 16, 34, 0.76) 0%, rgba(3, 16, 34, 0.26) 100%);
  }
  .hero-full--home .hero-full__grid {
    opacity: .24; background-size: 34px 34px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 78%);
  }
  .hero-full--home .hero-full__content { padding: 52px 22px 32px; }
  .hero-full--home .badge--hero {
    font-size: .65rem; letter-spacing: .01em; padding: 8px 11px;
    background: rgba(8, 47, 73, .78); box-shadow: 0 10px 24px rgba(0,0,0,.16);
  }
  .hero-full--home .hero-full__content h1 {
    margin-top: 16px; font-size: clamp(2.25rem, 11.3vw, 3.15rem);
    max-width: 10.9ch; line-height: .98; letter-spacing: -.045em;
    hyphens: auto; overflow-wrap: break-word;
    text-shadow: 0 8px 26px rgba(0,0,0,.22);
  }
  .hero-full--home .hero-full__lead {
    max-width: 33ch; margin: 20px 0 24px; color: #D6E3F4;
    font-size: .94rem; line-height: 1.56;
  }
  .hero-full--home .hero__ctas { display: grid; grid-template-columns: 1fr; width: 100%; gap: 9px; }
  .hero-full--home .btn {
    width: 100%; min-height: 52px; justify-content: center; border-radius: 12px;
    font-size: .91rem; box-shadow: 0 12px 26px rgba(0,0,0,.20);
  }
  .hero-full--home .btn--ghost-light { background: rgba(5, 29, 59, .62); backdrop-filter: blur(10px); }
  .hero-full--home .hero-full__note {
    max-width: 37ch; margin-top: 14px; color: #B9CAE1; font-size: .72rem; line-height: 1.48;
  }
  .proof-section__inner.metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 16px; }
  .proof-section .metric + .metric::before { display: none; }
  .proof-section .metric { padding: 17px 14px; }
  .proof-section .metric:nth-child(even) { border-left: 1px solid var(--line); }
  .proof-section .metric:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .proof-section .metric__value { font-size: 1.55rem; }
  .proof-section .metric__label { font-size: .69rem; line-height: 1.3; }
  .proof-section .metrics__note { padding: 12px 14px; font-size: .68rem; line-height: 1.4; }
  .cluster-grid { grid-template-columns: 1fr; }
  .cluster-card { min-height: 0; }
  .case-card { min-height: 280px; padding: 26px; }
  .evidence-panel h2 { max-width: 100%; }
}
@media (max-width: 360px) {
  .hero-full--home .hero-full__content { padding-inline: 18px; }
  .hero-full--home .hero-full__content h1 { font-size: 2.2rem; }
  .hero-full--home .hero-full__lead { font-size: .89rem; }
  .hero-full--home .hero-full__note { font-size: .68rem; }
}

/* V4.1 — visual media cards and compact brand controls */
.btn__logo img { width: auto; max-width: 22px; height: 18px; max-height: 18px; padding: 0; }
body.sidebar-collapsed .sidebar__choose {
  width: 44px; min-height: 44px; background: #fff; color: var(--orange);
  border: 1px solid #FFD5C4; box-shadow: none;
}
body.sidebar-collapsed .sidebar__choose:hover { background: #FFF1EB; }
body.sidebar-collapsed .sidebar__choose svg { width: 22px; height: 22px; }

/* Keep the two comparison cards tied to their own original campaign photos. */
.cmpx__logochip { z-index: 2; top: 14px; left: 14px; padding: 6px 10px; gap: 7px; font-size: .78rem; box-shadow: 0 8px 20px rgba(7,26,51,.16); }
.cmpx__logochip img { width: 20px !important; height: 20px !important; max-width: 20px !important; max-height: 20px !important; padding: 2px 3px; box-sizing: content-box; }
.cmpx__num { z-index: 2; right: 14px; bottom: 10px; font-size: 2rem; opacity: .72; }

/* The generated CF-vs-BR visual belongs in the sidebar decision CTA. */
body:not(.sidebar-collapsed) .sidebar__choose { position: relative; height: 132px; min-height: 132px; padding: 0; overflow: hidden; align-items: stretch; justify-content: stretch; isolation: isolate; background: var(--white); box-shadow: none; }
body:not(.sidebar-collapsed) .sidebar__choose > svg { display: none; }
.sidebar__choose-media { display: block; flex: 1 1 auto; align-self: stretch; width: 100%; min-height: 0; height: 100%; object-fit: cover; object-position: center; }
body.sidebar-collapsed .sidebar__choose-media { display: none; }

.cluster-card { padding: 0 0 20px; gap: 9px; overflow: hidden; }
.cluster-card__media { aspect-ratio: 16 / 8.5; overflow: hidden; background: var(--ink); }
.cluster-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cluster-card:hover .cluster-card__media img { transform: scale(1.045); }
.cluster-card > :not(.cluster-card__media) { margin-inline: 20px; }
.cluster-card .module-card__icon { display: none; }
.cluster-card .module-card__more { margin-top: auto; }

/* Browseable collection cards get photographic context. Checklists, forms and
   operational cards stay deliberately quiet so photo is never visual noise. */
.module-card--visual { padding: 0 0 20px; gap: 9px; overflow: hidden; }
.module-card--visual .module-card__media { display: block; width: 100%; aspect-ratio: 16 / 8.5; overflow: hidden; background: var(--ink); }
.module-card--visual .module-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.module-card--visual:hover .module-card__media img { transform: scale(1.045); }
.module-card--visual > :not(.module-card__media) { margin-inline: 20px; }
.module-card--visual .module-card__icon { display: none; }

/* Hero choice controls: the real CF / BR marks sit in clear, tactile tiles. */
.hero-full .btn__logo {
  width: 30px; height: 30px; flex: 0 0 30px;
  display: grid; place-items: center; padding: 4px;
  border-radius: 8px; border: 1px solid rgba(255,255,255,.24);
  background: rgba(3, 20, 42, .38);
}
.hero-full .btn__logo img {
  display: block; width: 22px; max-width: none; height: 22px; max-height: none;
  object-fit: contain; padding: 0; background: transparent; border-radius: 0;
}
.hero-full .btn--white .btn__logo,
.hero-full .btn--ghost-light .btn__logo { background: rgba(255,255,255,.96); border-color: rgba(255,255,255,.60); }
.hero-full .btn--white .btn__logo img,
.hero-full .btn--ghost-light .btn__logo img { width: 22px; height: 22px; }
.hero-full--home .hero__ctas .btn {
  position: relative; isolation: isolate;
}
@media (max-width: 560px) {
  .hero-full--home .btn__logo { width: 34px; height: 34px; flex-basis: 34px; border-radius: 9px; padding: 5px; }
  .hero-full--home .btn__logo img { width: 24px; height: 24px; }
}
.module-card--visual .module-card__more { margin-top: auto; }

/* The profession explorer has 26 links but only five distinct occupational
   systems. A system image makes scanning faster without repeating arbitrary
   stock photography inside every data card. */
#werkstatt-und-diagnose .module-card,
#karosserie-und-lack .module-card,
#pruefung-und-bewertung .module-card,
#aufbereitung-und-pflege .module-card,
#glas-reifen-spezialservice .module-card { background-color: #fff; background-repeat: no-repeat; background-position: top center; background-size: 100% 128px; padding-top: 148px; }
#werkstatt-und-diagnose .module-card { background-image: url('/assets/images/professions/beruf-kfz-mechatroniker.webp'); }
#karosserie-und-lack .module-card { background-image: url('/assets/images/professions/beruf-karosseriebauer.webp'); }
#pruefung-und-bewertung .module-card { background-image: url('/assets/images/professions/beruf-fahrzeugpruefer.webp'); }
#aufbereitung-und-pflege .module-card { background-image: url('/assets/images/professions/beruf-fahrzeugaufbereiter.webp'); }
#glas-reifen-spezialservice .module-card { background-image: url('/assets/images/professions/beruf-autoglaser.webp'); }

@media (max-width: 900px) {
  body.sidebar-collapsed .sidebar__choose-media { display: none; }
}
