:root {
  --brand: #215F9A;
  --brand-strong: #123D73;
  --brand-soft: #EAF3FB;
  --brand-pale: #F5F9FD;
  --ink: #172433;
  --muted: #5E6C7B;
  --line: #C8DAEC;
  --white: #FFFFFF;
  --shadow: 0 20px 60px rgba(22, 63, 103, 0.10);
  --shell: 1180px;
  --reading: 820px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.67;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-strong);
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.reading-width {
  width: min(100%, var(--reading));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.wordmark {
  color: var(--brand-strong);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.91rem;
  font-weight: 700;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--brand);
}

.site-footer {
  margin-top: 88px;
  background: var(--brand-pale);
  border-top: 1px solid var(--line);
}

.site-footer__inner {
  padding-block: 42px;
  display: flex;
  justify-content: space-between;
  gap: 48px;
}

.site-footer strong {
  color: var(--brand-strong);
  font-size: 1.2rem;
}

.site-footer p {
  max-width: 520px;
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.site-footer__meta {
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 5px;
  color: var(--muted);
  font-size: 0.84rem;
}

.home-hero {
  padding: 54px 0 64px;
  background:
    radial-gradient(circle at 85% 10%, rgba(33, 95, 154, 0.10), transparent 28%),
    linear-gradient(180deg, var(--brand-pale), var(--white));
  border-bottom: 1px solid var(--line);
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--brand-strong);
  line-height: 1.13;
  letter-spacing: -0.03em;
}

h1 {
  margin: 0;
  font-size: clamp(2.45rem, 5.5vw, 4.9rem);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(1.75rem, 3.5vw, 2.65rem);
}

h3 {
  margin: 0 0 9px;
  font-size: 1.18rem;
}

.lead {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.58;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 19px;
  border: 1px solid var(--brand);
  border-radius: 6px;
  background: var(--brand);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  background: var(--brand-strong);
  color: var(--white);
}

.button--secondary {
  background: var(--white);
  color: var(--brand);
}

.button--secondary:hover {
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.hero-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: auto;
}

.section {
  padding: 76px 0;
}

.section--soft {
  background: var(--brand-pale);
  border-block: 1px solid var(--line);
}

.section-intro {
  max-width: 760px;
  color: var(--muted);
}

.principle {
  margin-top: 34px;
  padding: 30px;
  border-left: 5px solid var(--brand);
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.36;
}

.review-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 34px;
  align-items: center;
  margin-top: 32px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: 0 14px 44px rgba(22, 63, 103, 0.07);
}

.review-card + .review-card {
  margin-top: 40px;
}

.review-card__image {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.review-card__meta {
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.review-card p {
  color: var(--muted);
}

.article-hero {
  padding: 36px 0 0;
  background: linear-gradient(180deg, var(--brand-pale), var(--white));
}

.article-visual {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.article-visual picture,
.article-visual img {
  display: block;
  width: 100%;
  height: 100%;
}

.article-visual img {
  object-fit: contain;
  object-position: center;
}

.article-header {
  padding: 48px 0 30px;
}

.article-header h1 {
  font-size: clamp(2.45rem, 5.2vw, 4.4rem);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.9rem;
}

.executive-insight {
  margin: 30px 0 0;
  padding: 23px 26px;
  border-left: 5px solid var(--brand);
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: clamp(1.3rem, 2.8vw, 1.75rem);
  font-weight: 800;
  line-height: 1.38;
}

.article-body {
  padding-bottom: 28px;
}

.article-body h2 {
  margin-top: 52px;
  font-size: 1.72rem;
}

.article-body p {
  margin: 0 0 1.25em;
}

.decision-callout {
  margin: 24px 0;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--brand-pale);
  color: var(--brand-strong);
  font-size: 1.15rem;
  font-weight: 800;
}

.shift {
  margin: 28px 0;
  padding: 23px;
  border: 1px solid var(--brand);
  border-radius: 7px;
  color: var(--brand-strong);
  text-align: center;
  font-size: 1.35rem;
  font-weight: 850;
}

.table-wrap {
  margin: 26px 0 32px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 7px;
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

th,
td {
  padding: 15px 17px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

th {
  background: var(--brand);
  color: var(--white);
}

tr:last-child td {
  border-bottom: 0;
}

.questions {
  padding-left: 1.35em;
}

.questions li {
  margin-bottom: 12px;
  padding-left: 6px;
}

.signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 23px;
}

.signal {
  padding: 20px;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: 7px;
  background: var(--white);
}

.signal p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.bottom-line {
  margin-top: 52px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--brand-soft);
}

.bottom-line h2 {
  margin-top: 0;
}

.closing-line {
  color: var(--brand-strong);
  font-size: 1.22rem;
  font-weight: 850;
}

.references {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.87rem;
}

.references h2 {
  font-size: 1.25rem;
}

.references li {
  margin-bottom: 13px;
}

.archive-hero {
  padding: 68px 0 42px;
  background: linear-gradient(180deg, var(--brand-pale), var(--white));
  border-bottom: 1px solid var(--line);
}

.archive-list {
  padding: 58px 0;
}

@media (max-width: 900px) {
  .home-hero__grid,
  .review-card {
    grid-template-columns: 1fr;
  }

  .home-hero__grid {
    gap: 36px;
  }

  .signals {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 17px;
  }

  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .site-header__inner {
    min-height: auto;
    padding-block: 16px;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .site-header {
    position: static;
  }

  .site-nav {
    width: 100%;
    gap: 18px;
    overflow-x: auto;
    font-size: 0.82rem;
  }

  .home-hero {
    padding-top: 38px;
  }

  .site-footer__inner {
    flex-direction: column;
  }

  .site-footer__meta {
    justify-items: start;
  }

  .article-hero {
    padding-top: 20px;
  }

  .article-header {
    padding-top: 34px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .hero-actions {
    display: none;
  }

  body {
    font-size: 12pt;
  }

  .article-hero {
    padding: 0;
    background: #fff;
  }

  .article-visual {
    box-shadow: none;
  }
}

/* Latest-review cards use dedicated 16:9 desktop and 4:3 mobile artwork.
   Do not place the full square TDR infographic in homepage or archive cards. */
.site-footer--flush {
  margin-top: 0;
}

.latest-reviews-section {
  overflow: hidden;
}

.latest-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 34px;
}

.latest-review-card {
  overflow: hidden;
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: 0 16px 46px rgba(22, 63, 103, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.latest-review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 56px rgba(22, 63, 103, 0.12);
}

.latest-review-card__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.latest-review-card__image picture,
.latest-review-card__image img {
  width: 100%;
  height: 100%;
}

.latest-review-card__image img {
  object-fit: contain;
  object-position: center;
}

.latest-review-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px 25px 25px;
}

.latest-review-card__body h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
}

.latest-review-card__body p:not(.review-card__meta) {
  margin: 0 0 20px;
  color: var(--muted);
}

.text-link {
  margin-top: auto;
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  display: inline-block;
  margin-left: 4px;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(3px);
}

.review-card__image picture,
.review-card__image img {
  width: 100%;
  height: 100%;
}

.review-card__image {
  aspect-ratio: 16 / 9;
  background: var(--white);
}

.review-card__image img {
  object-fit: contain;
  object-position: center;
}


@media (max-width: 900px) {
  .latest-reviews {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin-inline: auto;
  }

  .latest-review-card__image,
  .review-card__image {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 680px) {
  .latest-reviews {
    gap: 22px;
    margin-top: 26px;
  }

  .latest-review-card {
    border-radius: 10px;
  }

  .latest-review-card__body {
    padding: 20px;
  }

  .latest-review-card__body h3 {
    font-size: 1.42rem;
  }

}

/* Legal page */
.skip-link {
  position: fixed;
  top: -100px;
  left: 18px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--brand-strong);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.skip-link:focus {
  top: 16px;
  color: var(--white);
}

.legal-page {
  padding: 64px 0 20px;
  background:
    radial-gradient(circle at 84% 4%, rgba(33, 95, 154, 0.08), transparent 27%),
    linear-gradient(180deg, var(--brand-pale), var(--white) 290px);
}

.legal-page h1 {
  margin-bottom: 44px;
  font-size: clamp(2.7rem, 5.5vw, 4.7rem);
}

.legal-page h2 {
  margin-top: 48px;
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.legal-page h3 {
  margin-top: 32px;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.legal-page p {
  margin: 0 0 1.2em;
}

.legal-page .reading-width > p:last-child {
  margin-top: 34px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 680px) {
  .legal-page {
    padding-top: 40px;
  }

  .legal-page h1 {
    margin-bottom: 32px;
  }

  .legal-page h2 {
    margin-top: 38px;
  }
}

/* Legacy legal-page redirect. Keep this visually aligned with the main site so
   visitors without JavaScript still reach the approved /impressum/ page. */
.legal-redirect {
  min-height: calc(100vh - 74px);
  padding: 74px 0 92px;
  background:
    radial-gradient(circle at 82% 12%, rgba(33, 95, 154, 0.10), transparent 30%),
    linear-gradient(180deg, var(--brand-pale), var(--white));
}

.legal-redirect__card {
  width: min(100%, 820px);
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.legal-redirect__card h1 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.legal-redirect__card p {
  max-width: 680px;
  color: var(--muted);
}

.legal-redirect__card .button {
  margin-top: 10px;
}

@media (max-width: 680px) {
  .legal-redirect {
    min-height: auto;
    padding: 42px 0 58px;
  }

  .legal-redirect__card {
    padding: 26px 22px 28px;
    border-radius: 10px;
  }
}
