:root {
  /* TMH-Familie: Navy #071323, TMH-Rot #dd3832, Logo-Blau #324c96 */
  --ink: #071323;
  --ink-2: #0e1c30;
  --steel: #324c96;
  --steel-light: #dfe5f2;
  --concrete: #f2f0ea;
  --paper: #fbfaf7;
  --line: rgba(7, 19, 35, 0.14);
  --muted: #66717c;
  --amber: #dd3832;
  --green: #6f8b73;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(7, 19, 35, 0.18);
  --radius: 8px;
  --container: min(1180px, calc(100vw - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Rubik', Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

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

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

.brand-strip {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
}

.strip-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.strip-inner a {
  color: var(--white);
  font-weight: 700;
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  height: 48px;
  width: auto;
}

.brand-copy {
  display: grid;
}

.brand-copy strong {
  font-size: 17px;
}

.brand-copy span {
  color: var(--muted);
  font-size: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--steel-light);
}

.site-nav .nav-cta {
  background: var(--ink);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 116px);
  padding: 74px 0 34px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(17, 24, 32, 0.96) 0%, rgba(17, 24, 32, 0.88) 48%, rgba(47, 95, 127, 0.66) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 88px);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(0deg, rgba(17, 24, 32, 0.32), transparent);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
  gap: 58px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 15px;
  color: var(--amber);
  text-transform: uppercase;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(42px, 4.8vw, 68px);
  line-height: 0.98;
  letter-spacing: 0.01em;
}

h2 {
  margin-bottom: 18px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(34px, 4.5vw, 64px);
  line-height: 1;
  letter-spacing: 0.01em;
}

h3 {
  margin-bottom: 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.15;
}

.lead {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 900;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--amber);
  color: var(--white);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.contact-section .button.secondary {
  border-color: var(--line);
  color: var(--ink);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 700;
}

.media-stack {
  position: relative;
  margin: 0;
  min-height: 470px;
}

.media-stack img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center bottom;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  filter: saturate(0.94) contrast(1.03) brightness(1.18);
}

.media-stack figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 14px 16px;
  background: rgba(17, 24, 32, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
}

.floating-card {
  position: absolute;
  width: min(250px, 62%);
  padding: 16px;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 16px 54px rgba(0, 0, 0, 0.24);
}

.floating-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--steel);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.floating-card strong {
  display: block;
  line-height: 1.2;
}

.card-top {
  top: 24px;
  right: -22px;
}

.card-bottom {
  left: -26px;
  bottom: 92px;
}

.metric-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.metric-row article {
  min-height: 128px;
  padding: 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.metric-row article:last-child {
  border-right: 0;
}

.metric-row strong {
  display: block;
  margin-bottom: 8px;
  color: var(--amber);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
}

.metric-row span {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.section {
  padding: 96px 0;
}

.intro-band {
  background: var(--concrete);
}

.intro-grid,
.split,
.knowledge-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.intro-grid p:last-child,
.split-copy p,
.knowledge-grid p,
.contact-grid p {
  color: var(--muted);
  font-size: 18px;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 38px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  min-height: 278px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.46);
  transition: background 180ms ease, transform 180ms ease;
}

.service-card:hover {
  background: var(--white);
  transform: translateY(-4px);
}

.service-card span {
  display: inline-block;
  margin-bottom: 48px;
  color: var(--steel);
  font-weight: 900;
}

.service-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.dark-section {
  background: var(--ink);
  color: var(--white);
}

.dark-section .split-copy p,
.dark-section .check-list {
  color: rgba(255, 255, 255, 0.76);
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 12px;
  background: var(--amber);
  clip-path: polygon(0 45%, 38% 100%, 100% 0, 86% 0, 38% 62%, 12% 32%);
}

.image-panel {
  min-height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.08) contrast(1.05);
}

.norm-grid {
  display: grid;
  grid-template-columns: 0.9fr repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.norm-grid .section-heading {
  margin: 0;
}

.norm-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--amber);
  border-radius: var(--radius);
  overflow: hidden;
}

.norm-num {
  display: inline-block;
  padding: 22px 22px 0;
  color: var(--steel);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.norm-card div {
  padding: 16px 22px 22px;
}

.norm-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.knowledge {
  background:
    linear-gradient(135deg, rgba(47, 95, 127, 0.14), transparent 48%),
    var(--concrete);
}

.knowledge-list {
  display: grid;
  gap: 10px;
}

.knowledge-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  min-height: 84px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.knowledge-list span {
  color: var(--steel);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.knowledge-cta {
  justify-self: start;
  margin-top: 6px;
}

.knowledge-list strong {
  line-height: 1.25;
}

.contact-section {
  background: var(--paper);
}

.contact-card {
  padding: 30px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-card dl {
  display: grid;
  gap: 18px;
  margin: 28px 0 0;
}

.contact-card dt {
  color: var(--amber);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.site-footer {
  padding: 42px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.footer-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
}

.footer-grid p {
  margin-bottom: 0;
}

.footer-grid nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-grid a {
  color: var(--white);
  font-weight: 700;
}

.image-credits {
  grid-column: 1 / -1;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .brand-strip {
    display: none;
  }

  .header-inner {
    min-height: 72px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 72px 0 auto;
    display: none;
    padding: 18px var(--container);
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(17, 24, 32, 0.14);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 0;
    padding-top: 54px;
  }

  .hero-grid,
  .intro-grid,
  .split,
  .knowledge-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 42px;
  }

  .media-stack,
  .image-panel {
    min-height: auto;
  }

  .media-stack img,
  .image-panel img {
    height: min(560px, 78vh);
  }

  .metric-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-row article:nth-child(2) {
    border-right: 0;
  }

  .metric-row article:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .service-grid,
  .norm-grid {
    grid-template-columns: 1fr 1fr;
  }

  .norm-grid .section-heading {
    grid-column: 1 / -1;
  }

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

@media (max-width: 640px) {
  :root {
    --container: min(100vw - 28px, 1180px);
  }

  .brand-logo {
    height: 40px;
  }

  .brand-copy strong {
    font-size: 15px;
  }

  .brand-copy span {
    font-size: 12px;
  }

  .hero {
    padding-top: 40px;
  }

  h1 {
    font-size: clamp(40px, 13vw, 64px);
  }

  h2 {
    font-size: clamp(30px, 10vw, 46px);
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .floating-card {
    position: static;
    width: auto;
    margin-top: 10px;
  }

  .media-stack figcaption {
    position: static;
    margin-top: 10px;
  }

  .metric-row,
  .service-grid,
  .norm-grid {
    grid-template-columns: 1fr;
  }

  .metric-row article {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .metric-row article:last-child {
    border-bottom: 0;
  }

  .service-card {
    min-height: 0;
  }

  .service-card span {
    margin-bottom: 28px;
  }

  .section {
    padding: 72px 0;
  }

  .knowledge-item {
    grid-template-columns: 42px 1fr;
  }
}
