/* Simmetric website. One stylesheet for the home page, the legal pages and the study pages.
   Home layout and type scale come from the approved 2026-09-07 homepage; the study and legal
   rules below are the earlier site's, kept and aligned to the same scale. */

:root {
  --ink: #10233e;
  --muted: #596577;
  --blue: #245ae7;
  --paper: #f6f7f9;
  --line: #dce1e8;
  --white: #fff;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --shell: 1120px;
  --header: 93px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; color: inherit; }
h1, h2, h3 { margin: 0 0 0.5em; line-height: 1.15; font-weight: 600; letter-spacing: -0.01em; overflow-wrap: break-word; }
h1 { font-size: clamp(30px, 3.6vw, 46px); }
h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 0.8em; }
h3 { font-size: 19px; }
p { margin: 0 0 1em; }
::selection { background: #cbdcff; color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.shell { width: min(var(--shell), 100% - 40px); margin: 0 auto; }
.button { display: inline-block; background: var(--blue); color: var(--white); padding: 12px 22px; border: 0; border-radius: 6px; font: inherit; font-weight: 600; cursor: pointer; white-space: nowrap; }
.button:hover { background: #1c48be; text-decoration: none; color: var(--white); }
.skip-link { position: fixed; left: 20px; top: -90px; z-index: 99; background: var(--ink); color: var(--white); padding: 12px 20px; border-radius: 0 0 6px 6px; }
.skip-link:focus { top: 0; }

/* Header */
.site-header { position: sticky; top: 0; background: #ffffff; border-bottom: 1px solid var(--line); z-index: 10; }
.header-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 14px 0; }
.brand { display: block; flex-shrink: 0; }
.brand img { height: 64px; width: auto; display: block; }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a { color: var(--ink); font-weight: 500; }
.header-row > .brand { order: 1; }
.header-row > .site-nav { order: 2; }
.header-row > .language-switch { order: 3; }

/* Language selection is functional navigation; no decorative labels. */
.language-switch { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.language-switch a { display: grid; place-items: center; min-width: 32px; min-height: 40px; font-size: 14px; color: var(--muted); text-underline-offset: 5px; }
.language-switch a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
.language-switch a:hover { color: var(--blue); }

/* Hero */
.hero { padding: 72px 0 64px; }
.hero h1 { max-width: 820px; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 52px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-figure { margin: 0; min-width: 0; }
.hero-figure img { width: 100%; border: 1px solid var(--line); border-radius: 8px; }
.hero-figure figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.hero .lede { font-size: 19px; color: var(--muted); max-width: 720px; margin-bottom: 28px; }

/* Sections */
.section { padding: 64px 0; border-top: 1px solid var(--line); }
.section-paper { background: var(--paper); }
.note, .form-note { font-size: 15px; color: var(--muted); }
.section-copy { max-width: 750px; color: var(--muted); }
.result-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 24px; margin-top: 36px; }
.result-strip figure { margin: 0; }
.result-strip img { width: 100%; aspect-ratio: 3 / 2; object-fit: contain; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.result-strip figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.result-strip figcaption span { display: block; color: var(--ink); font-weight: 600; }

/* Services as question rows */
.questions { border-top: 1px solid var(--line); margin-bottom: 20px; }
.q-row { display: grid; grid-template-columns: 1.1fr 2fr; gap: 24px 32px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.q { margin: 0; font-size: 24px; font-weight: 600; letter-spacing: -0.01em; overflow-wrap: break-word; }
.q-offer { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.q-offer strong { font-size: 17px; font-weight: 500; overflow-wrap: break-word; }
.q-offer span { color: var(--muted); font-size: 16px; }
.q-offer span:nth-of-type(1) { color: var(--ink); font-weight: 600; }
.partner-line { max-width: 820px; margin-top: 24px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 8px; }

/* What you get: report description, sample-report lead form and the report's first page */
/* The report cover is a wide slide, so it is shorter than the copy column; centering it keeps
   the two columns balanced instead of leaving a block of empty paper under the image. */
.sample-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.sample-copy > p { color: var(--muted); max-width: 560px; }
.sample-form { display: grid; gap: 14px; max-width: 480px; margin-top: 28px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); }
.sample-form h3 { margin: 0; }
.sample-form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 500; }
.sample-form input[type="email"] { font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); min-width: 0; }
.sample-form .consent { flex-direction: row; align-items: flex-start; gap: 10px; font-size: 15px; font-weight: 400; color: var(--muted); }
.sample-form .consent input { margin-top: 4px; }
.sample-form .consent a { white-space: nowrap; }
.sample-form .button[disabled] { opacity: 0.6; cursor: default; }
.sample-actions .note { margin: 12px 0 0; }
.sample-actions .form-note { margin: 8px 0 0; }
.sample-actions .form-note:empty { margin: 0; }
/* Spam trap: reachable by scripted form fills, never by a visitor or a screen reader. */
.honeypot { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.sample-figure { margin: 0; border: 1px solid var(--line); border-radius: 8px; background: var(--white); overflow: hidden; }
.sample-figure img { width: 100%; }
.sample-figure figcaption { font-size: 15px; padding: 14px 20px; border-top: 1px solid var(--line); color: var(--muted); }

/* Work */
.study-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; margin-bottom: 20px; }
.study-card { color: var(--ink); display: block; }
.study-card:hover { text-decoration: none; }
.study-card:hover h3 { color: var(--blue); }
.study-card img { border: 1px solid var(--line); border-radius: 8px; margin-bottom: 14px; }
.study-card p { color: var(--muted); margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.contact-grid > div p { color: var(--muted); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 500; }
.contact-form .wide { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); color: var(--ink); }
.contact-form textarea { resize: vertical; }
.contact-form .consent { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--muted); }
.contact-form .consent input { margin-top: 4px; }
.form-note { margin: 12px 0 0; }
.form-note.success { color: var(--ink); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 15px; color: var(--muted); }
.footer-row { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.footer-row p { margin: 0; }
.footer-row nav { display: flex; gap: 22px; margin-left: auto; }
.footer-row nav a { color: var(--muted); }

/* Legal pages */
.legal-page { padding: 72px 30px 96px; }
.legal-shell { max-width: 760px; margin: auto; }
.legal-shell h1 { margin-bottom: 24px; }
.legal-shell h2 { font-size: 24px; margin: 38px 0 14px; }
.legal-shell p, .legal-shell li { font-size: 16px; line-height: 1.75; color: var(--muted); }
.legal-shell li { margin-bottom: 4px; }
.legal-note { background: var(--paper); border-left: 2px solid var(--blue); border-radius: 0 6px 6px 0; padding: 18px 20px; }
/* Retention table. Fixed layout plus breakable cell text so the two columns fit a 360 px phone
   without the page scrolling sideways. */
.legal-table { width: 100%; border-collapse: collapse; table-layout: fixed; margin: 6px 0 22px; }
.legal-table th, .legal-table td { font-size: 16px; line-height: 1.6; text-align: left; vertical-align: top; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--line); overflow-wrap: break-word; }
.legal-table th { color: var(--ink); font-weight: 600; }
.legal-table td { color: var(--muted); }
.legal-table th:last-child, .legal-table td:last-child { width: 42%; padding-right: 0; }
html[lang="de"] .legal-shell { hyphens: auto; overflow-wrap: break-word; }

/* Study pages */
.study-page { background: var(--white); }
.study-hero { background: var(--paper); padding: 44px 0 64px; }
.breadcrumb { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--muted); margin-bottom: 40px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }
.study-heading { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: end; }
.study-heading h1 { max-width: 700px; }
.study-heading > div > p { margin: 16px 0 0; max-width: 580px; color: var(--muted); }
.study-facts { border-top: 1px solid var(--line); margin: 0; padding: 0; font-size: 15px; }
.study-facts div { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.study-facts dt { color: var(--muted); }
.study-facts dd { margin: 0; text-align: right; max-width: 70%; }
.study-main-image { margin: 40px 0 0; border: 1px solid var(--line); border-radius: 8px; background: var(--white); overflow: hidden; }
.study-main-image img { width: 100%; max-height: 650px; object-fit: contain; }
.study-main-image figcaption { font-size: 15px; padding: 14px 20px; border-top: 1px solid var(--line); color: var(--muted); }
.study-body { display: grid; grid-template-columns: 220px 1fr; gap: 64px; padding-top: 64px; padding-bottom: 80px; }
.study-sidebar { align-self: start; position: sticky; top: calc(var(--header) + 16px); }
.study-sidebar a { display: block; font-size: 15px; color: var(--muted); border-bottom: 1px solid var(--line); padding: 11px 0; }
.study-sidebar a:hover { color: var(--blue); }
.study-content { min-width: 0; }
.study-chapter { margin-bottom: 56px; scroll-margin-top: calc(var(--header) + 16px); }
.study-chapter > p { max-width: 750px; margin: 0 0 16px; color: var(--muted); }
.study-metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 26px 0; }
.study-metrics > div { padding: 22px 20px 22px 0; }
.study-metrics strong { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.study-metrics small { font-size: 15px; color: var(--muted); }
.study-metrics span { font-size: 15px; color: var(--muted); display: block; margin-top: 6px; }
.study-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.study-gallery figure { border: 1px solid var(--line); border-radius: 8px; background: var(--white); margin: 0; overflow: hidden; }
.study-gallery button { border: 0; padding: 0; background: var(--white); width: 100%; display: block; cursor: zoom-in; }
.study-gallery img { width: 100%; aspect-ratio: 1.6; object-fit: contain; }
.study-gallery figcaption { font-size: 15px; padding: 13px 15px; border-top: 1px solid var(--line); color: var(--muted); }
.study-limitations { background: var(--paper); border-radius: 8px; padding: 26px 30px; font-size: 15px; color: var(--muted); }
.study-limitations h3 { margin-bottom: 12px; color: var(--ink); }
.study-limitations ul { padding-left: 18px; margin: 0; line-height: 1.8; }
.study-cta { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 32px 36px; display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 72px; }
.study-cta h2 { margin-bottom: 0.35em; }
.study-cta p { color: var(--muted); margin: 0; }
.study-cta .button { flex-shrink: 0; }

/* Enlarged result images */
.lightbox { padding: 48px 20px 20px; width: min(1200px, 94vw); max-height: 94vh; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); }
.lightbox::backdrop { background: #081529d9; }
.lightbox img { width: 100%; object-fit: contain; max-height: 75vh; }
.lightbox p { font-size: 15px; margin: 14px 0 0; text-align: center; color: var(--muted); }
.lightbox-close { position: absolute; top: 4px; right: 10px; background: var(--white); border: 0; font-size: 30px; line-height: 1; width: 44px; height: 44px; border-radius: 6px; }

/* Responsive */
@media (max-width: 1000px) {
  :root { --header: 132px; }
  .header-row > .language-switch { order: 2; margin-left: auto; }
  .header-row > .site-nav { order: 4; margin-left: 0; width: 100%; }
  .study-body { grid-template-columns: 180px 1fr; gap: 40px; }
  .study-heading { gap: 40px; }
}
@media (max-width: 1000px) {
  .study-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .study-grid, .contact-grid, .sample-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .result-strip { grid-template-columns: 1fr 1fr; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 48px 0; }
  .q-row { grid-template-columns: 1fr; gap: 10px; }
  .study-heading { grid-template-columns: 1fr; gap: 32px; }
  .study-facts { max-width: 600px; }
  .study-body { grid-template-columns: 1fr; padding-top: 40px; gap: 28px; }
  .study-sidebar { position: static; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
  .study-sidebar a { padding: 6px 0; }
  .study-cta { flex-direction: column; align-items: flex-start; padding: 28px; }
}
@media (max-width: 720px) {
  :root { --header: 129px; }
  /* Two header rows: the brand, then the links and the language switch. */
  .header-row { gap: 6px 20px; padding: 12px 0; }
  .header-row::after { content: ""; width: 100%; height: 0; order: 3; }
  .brand img { height: 52px; }
  .header-row > .site-nav { order: 4; width: auto; gap: 18px; }
  .header-row > .language-switch { order: 5; margin-left: auto; }
  .contact-form { grid-template-columns: 1fr; }
  .sample-form { padding: 20px; }
  .sample-figure figcaption { padding: 13px 15px; }
  .footer-row nav { margin-left: 0; flex-wrap: wrap; gap: 12px 18px; }
  .legal-page { padding: 48px 20px 72px; }
  .study-hero { padding: 28px 0 40px; }
  .breadcrumb { margin-bottom: 28px; }
  .study-main-image { margin-top: 28px; }
  .study-metrics { grid-template-columns: 1fr; }
  .study-metrics > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .study-metrics > div:last-child { border-bottom: 0; }
  .study-metrics span { display: inline-block; margin: 0 0 0 12px; }
  .study-gallery { grid-template-columns: 1fr; }
  .study-limitations { padding: 22px; }
}
@media (max-width: 420px) {
  /* Keep the two header rows intact on the narrowest phones, in every language. */
  .header-row { gap: 6px 14px; }
  .brand img { height: 46px; }
  .header-row > .site-nav { gap: 14px; font-size: 16px; }
  .language-switch a { min-width: 28px; }
  .study-facts dd { max-width: 62%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
