:root {
  --cream: #f4f1e8;
  --blue: #151e3f;
  --gold: #b38e36;
  --gold-light: #bea761;
  --kato-gray-blue: #b1b2b3;
  --kato-gray-cream: #6e6e6e;
  --gray: var(--kato-gray-cream);
  --text-gray: var(--kato-gray-cream);
  --max: 1400px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  color: var(--blue);
  background: var(--cream);
  font: 400 clamp(1rem, .25vw + .96rem, 1.125rem)/1.65 Inter, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; }
button,
.text-link,
.back-to-top {
  text-shadow: none;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  letter-spacing: -.035em;
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}
h1 {
  font-size: clamp(3.2rem, 7vw, 7.5rem);
  font-weight: 500;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
h2 { font-size: clamp(2.35rem, 4.5vw, 4.8rem); font-weight: 500; max-width: 16ch; }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 500; }
.container { width: min(100%, calc(var(--max) + 2 * var(--gutter))); margin: auto; padding-inline: var(--gutter); }
.grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.grid > *,
.mandate > *,
.process-list article > *,
.example-grid > *,
.site-footer > * {
  min-width: 0;
}
.section {
  padding-block: clamp(5.25rem, 7vw, 7.5rem);
  scroll-margin-top: 6.25rem;
}
.dark {
  --text-gray: var(--kato-gray-blue);
  color: var(--cream);
  background: var(--blue);
}
.dark p:not(.eyebrow) { color: var(--cream); }
.text-gray { color: var(--text-gray) !important; }
.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.3;
}
.eyebrow.light { color: var(--gold-light); }
.section .eyebrow { color: var(--gold); }
.section.dark .eyebrow { color: var(--gold-light); }
.hero .eyebrow { color: var(--cream); }
.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1.2rem;
  border-bottom: 1px solid var(--gold);
  padding-bottom: .32rem;
  color: var(--blue);
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
}
.text-link::after {
  content: "";
  display: inline-block;
  width: .8em;
  height: .8em;
  margin-left: .5rem;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1 9 9 1M3 1h6v6' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1 9 9 1M3 1h6v6' fill='none' stroke='black' stroke-width='1.35' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.text-link.light { color: var(--cream); border-color: var(--gold-light); }
.text-link:hover, .text-link:focus-visible { border-bottom-width: 3px; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 20; background: white; padding: .75rem; }
.skip-link:focus { top: 1rem; }
.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font-size: inherit;
  font-weight: inherit;
  text-decoration: none;
}
.back-to-top-label {
  width: 0;
  overflow: hidden;
  opacity: 0;
  white-space: nowrap;
  transition: width 180ms ease, opacity 180ms ease, margin-right 180ms ease;
}
.back-to-top:hover .back-to-top-label,
.back-to-top:focus-visible .back-to-top-label {
  width: 5.5rem;
  margin-right: .65rem;
  opacity: 1;
}
.back-to-top-arrow {
  flex: 0 0 auto;
  font-size: 1rem;
  line-height: 1;
}
.back-to-top:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 6rem;
  border-bottom: 1px solid rgba(190,167,97,.55);
  padding-inline: var(--gutter);
  color: var(--cream);
}
.brand { display: block; width: 7.2rem; margin-right: auto; }
.brand img { width: 100%; filter: brightness(0) invert(1); }
.main-nav {
  position: fixed;
  inset: 0;
  z-index: -1;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding: 6rem var(--gutter);
  background: var(--blue);
  font-size: 1.7rem;
}
.main-nav.open { display: flex; }
.main-nav a { text-decoration: none; overflow-wrap: break-word; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--gold-light); }
.main-nav a[aria-current="page"],
.main-nav a[aria-current="location"] { color: var(--gold); }
.menu-toggle, .language-toggle {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.menu-toggle { z-index: 2; margin-right: 1rem; }
.language-toggle { z-index: 2; border-left: 1px solid var(--gold-light); padding-left: 1rem; }
.media-page .site-header { position: relative; color: var(--blue); }
.media-page .brand img { filter: none; }
.media-page .site-header, .media-page .main-nav { background: var(--cream); }

.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--cream); overflow: hidden; }
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: 55% center; }
.hero-shade { background: rgba(10,15,30,.48); }
.hero-content { position: relative; z-index: 1; padding-top: 10rem; padding-bottom: clamp(3rem, 8vw, 7rem); }
.hero h1 { margin: 1.5rem 0 2rem; max-width: 9ch; }
.hero-copy { max-width: 38rem; }
.hero-copy p { margin-bottom: .35rem; font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.5; }

.intro-main h2 { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.rich-text { max-width: 44rem; }
.rich-text ol { margin: 2rem 0; padding: 0; list-style: none; counter-reset: question; }
.rich-text li { position: relative; counter-increment: question; border-top: 1px solid var(--gold); padding: 1rem 0 1rem 2.8rem; }
.rich-text li::before { content: "0" counter(question); position: absolute; left: 0; color: var(--gold); font-size: .75rem; }
.section-heading { margin-bottom: clamp(3rem, 5vw, 4.5rem); }
.section-heading h2 { margin: 0; }
.mandates { border-top: 1px solid var(--gold-light); }
.mandate { display: grid; gap: 1rem; border-bottom: 1px solid rgba(190,167,97,.7); padding: 2.3rem 0; }
.mandate .number, .process-list article > span, .example-grid article > span { color: var(--gold-light); font-size: .72rem; letter-spacing: .12em; }
.mandate h3 { margin: 0; }
.mandate > p, .goal p { max-width: 34rem; margin: 0; color: rgba(244,241,232,.78); }
.goal span { display: block; margin-bottom: .45rem; color: var(--gold-light); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; }

.process-list { border-top: 1px solid var(--gold); }
.process-list article { display: grid; gap: 1.25rem; border-bottom: 1px solid var(--gold); padding-block: 2rem; }
.process-list h3 { margin: 0 0 .45rem; }
.process-list article > p { max-width: 35rem; margin: 0; color: var(--blue); }
.process-list .subtitle { margin: 0; color: var(--gold); font-size: .84rem; }
.media-teaser { padding-top: 0; }
.media-image { min-height: 25rem; }
.media-image img { width: 100%; height: 100%; object-fit: cover; }
.media-copy { padding-top: 2rem; max-width: 43rem; }
.media-copy h2 { margin: 1.2rem 0 2.5rem; }
.final-cta h2 { margin-bottom: 2rem; }
.final-cta h2 + p { max-width: 42rem; }

.site-footer {
  display: grid;
  gap: 1.5rem;
  padding: 4rem var(--gutter);
  color: var(--cream);
  background: var(--blue);
  border-top: 1px solid rgba(190,167,97,.55);
  font-size: .82rem;
}
.site-footer img { width: 7rem; }
.site-footer p { margin: 0; color: var(--gold-light); }
.site-footer div { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover,
.site-footer a:focus-visible { color: var(--gold-light); }
.site-footer a[aria-current="page"] { color: var(--gold-light); }

.legal-page .legal-section {
  min-height: calc(100svh - 7rem);
}
.legal-page .legal-header {
  max-width: 52rem;
  margin-bottom: clamp(3.5rem, 6vw, 5.5rem);
}
.legal-page .legal-header .eyebrow {
  margin-bottom: 1.5rem;
}
.legal-page .legal-header h1 {
  margin-bottom: 0;
  color: var(--blue);
  font-size: clamp(3rem, 6vw, 6rem);
}
.legal-page .legal-content {
  max-width: 52rem;
  margin-left: auto;
}
.legal-page .legal-block {
  border-top: 1px solid rgba(179, 142, 54, .5);
  padding-block: clamp(1.75rem, 3vw, 2.5rem);
}
.legal-page .legal-block:last-child {
  padding-bottom: 0;
}
.legal-page .legal-block h2 {
  max-width: none;
  margin-bottom: 1.25rem;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 600;
}
.legal-page .legal-block p {
  margin-bottom: 1rem;
}
.legal-page .legal-block p:last-child {
  margin-bottom: 0;
}
.legal-page .legal-block a {
  text-underline-offset: .2em;
}

.subhero { padding-top: clamp(4rem, 7vw, 6.5rem); }
.subhero .grid { align-items: end; row-gap: clamp(3rem, 8vw, 5rem); }
.subhero h1 { max-width: none; margin: 1.4rem 0 2.5rem; font-size: clamp(2.8rem, 4vw, 4.3rem); }
.subhero-copy > p:not(.eyebrow) { max-width: 40rem; }
.subhero img {
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.qualities h2 { max-width: 12ch; }
.qualities .rich-text { color: rgba(244,241,232,.8); }
.example-grid { display: grid; border-top: 1px solid var(--gold); }
.example-grid article { border-bottom: 1px solid var(--gold); padding: 2rem 0; }
.example-grid h3 { margin: 1.4rem 0; }
.example-grid .use-case { min-height: 5rem; color: var(--gold); font-size: .9rem; font-weight: 500; }

@media (min-width: 768px) {
  .grid { grid-template-columns: repeat(12, 1fr); gap: 1.5rem; }
  .grid > .eyebrow { grid-column: 1 / 4; }
  .intro-main, .section-heading h2, .final-cta .grid > div { grid-column: 5 / 13; }
  .mandate { grid-template-columns: 3rem minmax(13rem, 1fr) minmax(16rem, 1.1fr); column-gap: 2rem; }
  .goal { grid-column: 3; }
  .process-list article { grid-template-columns: 3rem 1fr 1.2fr; gap: 2rem; }
  .media-image { grid-column: 1 / 7; }
  .media-copy { grid-column: 8 / 13; padding-top: 0; }
  .site-footer { grid-template-columns: 1fr 1fr auto; align-items: end; }
  .subhero-copy { grid-column: 1 / 7; }
  .subhero img { grid-column: 7 / 13; height: 40rem; aspect-ratio: auto; }
  .qualities h2 { grid-column: 1 / 6; }
  .qualities .rich-text { grid-column: 7 / 13; }
  .example-grid { grid-template-columns: repeat(3, 1fr); }
  .example-grid article { padding: 2rem; border-right: 1px solid var(--gold); }
  .example-grid article:first-child { padding-left: 0; }
  .example-grid article:last-child { border-right: 0; padding-right: 0; }
}

@media (min-width: 768px) and (max-width: 1049px) {
  .subhero-copy,
  .subhero img,
  .qualities h2,
  .qualities .rich-text {
    grid-column: 1 / -1;
  }
  .subhero h1 {
    max-width: 13ch;
    font-size: clamp(3.5rem, 7vw, 4.6rem);
  }
  .subhero img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .qualities .grid {
    row-gap: clamp(3.5rem, 7vw, 5rem);
  }
}

@media (min-width: 1050px) {
  .site-header { min-height: 7rem; }
  .menu-toggle { display: none; }
  .main-nav { position: static; z-index: auto; display: flex; flex-direction: row; gap: clamp(1rem, 2.4vw, 2.8rem); padding: 0; background: transparent !important; font-size: .8rem; }
  .language-toggle { margin-left: clamp(1rem, 2vw, 2rem); }
  .hero-content { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem; }
  .hero-content .eyebrow { grid-column: 1 / 4; }
  .hero h1 { grid-column: 1 / 9; margin-top: 2rem; }
  .hero-copy { grid-column: 8 / 13; }
  .media-page main { padding-top: 7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Startseite – verfeinert nach dem gelieferten Scroll-Entwurf */
.home-page .site-header {
  position: fixed;
  min-height: 6.25rem;
  color: var(--cream);
  background: transparent;
  border-bottom: 0;
  transition:
    color 420ms cubic-bezier(.22, 1, .36, 1),
    background-color 420ms cubic-bezier(.22, 1, .36, 1),
    border-color 420ms cubic-bezier(.22, 1, .36, 1);
}
.home-page .site-header.scrolled {
  color: var(--blue);
  background: var(--cream);
  border-bottom: 1px solid rgba(190, 167, 97, .45);
  text-shadow: none;
}
.home-page .site-header:not(.scrolled) .main-nav a[aria-current="page"],
.home-page .site-header:not(.scrolled) .main-nav a[aria-current="location"] {
  color: var(--gold-light);
}
.home-page .brand img {
  filter: brightness(0) invert(1);
  transition: filter 420ms cubic-bezier(.22, 1, .36, 1);
}
.home-page .site-header.scrolled .brand img {
  filter: none;
}
.home-page.menu-open .site-header {
  color: var(--blue);
  background: var(--cream);
}
.home-page.menu-open .brand img {
  filter: none;
}
.home-page .hero-content {
  text-shadow: 0 1px 2px rgba(0, 0, 0, .18);
}
.home-page .brand {
  display: flex;
  align-items: center;
  width: 7.25rem;
}
.home-page .brand img {
  width: 100%;
  height: auto;
}
.home-page .main-nav,
.home-page .menu-toggle,
.home-page .language-toggle { font-size: 1rem; }
.home-page .hero {
  min-height: 100svh;
  align-items: center;
}
.home-page .hero-image { object-position: 32% center; }
.home-page .hero-shade { background: rgba(21, 30, 63, .2); }
.home-page .hero .eyebrow { color: var(--cream); }
.home-page .hero-content {
  display: block;
  padding-top: 9rem;
  padding-bottom: 5rem;
}
.home-page .hero-content > * { max-width: 28rem; }
.home-page .hero h1 {
  max-width: 8.5ch;
  margin: 2rem 0 1.25rem;
  font-size: clamp(3.1rem, 5vw, 5rem);
}
.home-page .hero-copy p {
  max-width: 27rem;
  font-size: clamp(1rem, 1.25vw, 1.2rem);
}
.home-page .hero-copy p:nth-child(2) {
  margin-top: 1.5rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .045em;
  text-transform: uppercase;
}
.home-page .eyebrow::after {
  content: "";
  display: inline-block;
  width: 4.5rem;
  height: 1px;
  margin-left: 1rem;
  background: currentColor;
  vertical-align: middle;
}
.home-page .text-link {
  border: 0;
  border-radius: 999px;
  padding: .75rem 1.15rem;
  background: var(--cream);
  color: var(--blue);
}
.home-page .text-link::after { margin-left: .5rem; }
.home-page .text-link:hover,
.home-page .text-link:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.home-page .intro .eyebrow { margin-bottom: clamp(2rem, 3vw, 3rem); }
.home-page .intro-lead h2 {
  max-width: 23ch;
  margin-bottom: 2rem;
  font-size: clamp(2.25rem, 4vw, 4.2rem);
}
.home-page .intro-lead > p {
  max-width: 62rem;
  color: var(--blue);
}
.home-page .intro-transition {
  max-width: 44rem;
  margin-top: clamp(2rem, 3vw, 3rem);
  color: var(--blue);
  font-weight: 500;
}
.home-page .question-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: clamp(3.5rem, 5vw, 5.5rem) 0;
  padding: 0;
  list-style: none;
  counter-reset: question;
}
.home-page .question-grid li {
  position: relative;
  counter-increment: question;
  min-height: 8rem;
  border-top: 1px solid rgba(179, 142, 54, .65);
  padding-top: 3.2rem;
  line-height: 1.35;
}
.home-page .question-grid li::before {
  content: "0" counter(question);
  position: absolute;
  top: .9rem;
  left: 0;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 600;
}
.home-page .intro-conclusion {
  max-width: 46rem;
  margin-left: auto;
}
.home-page .intro-conclusion p:first-child {
  margin-bottom: 1.5rem;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.25;
}
.home-page .intro-conclusion p:last-child {
  max-width: 40rem;
  color: var(--blue);
}

.home-page .mandates-section {
  color: var(--blue);
  background: var(--cream);
  border-top: 0;
  border-bottom: 0;
  padding-bottom: clamp(4.75rem, 6vw, 6.25rem);
}
.home-page .mandates-section .section-heading {
  display: block;
  margin-bottom: 2.5rem;
}
.home-page .mandates-section .section-heading .eyebrow { margin-bottom: 2.25rem; }
.home-page .mandates-section .section-heading h2 {
  max-width: none;
  font-size: clamp(2.25rem, 4vw, 4rem);
}
.home-page .mandates { border-color: rgba(179, 142, 54, .5); }
.home-page .mandate {
  border-color: rgba(179, 142, 54, .42);
  padding-block: clamp(2rem, 3vw, 3rem);
}
.home-page .mandate .number,
.home-page .process-list article > span { color: var(--gold); }
.home-page .mandate h3 {
  font-size: clamp(1.25rem, 1.6vw, 1.55rem);
  font-weight: 600;
}
.home-page .mandate > p {
  color: var(--blue);
}
.home-page .goal p {
  color: var(--blue);
  font-weight: 500;
}
.home-page .goal span { color: var(--gold); }

.home-page .process .section-heading {
  display: block;
  margin-bottom: 3.25rem;
}
.home-page .process {
  padding-top: clamp(4.75rem, 6vw, 6.25rem);
}
.home-page .process .section-heading .eyebrow { margin-bottom: 2.25rem; }
.home-page .process .section-heading .eyebrow::after { display: none; }
.home-page .process .section-heading h2 {
  max-width: none;
  font-size: clamp(2.25rem, 4vw, 4rem);
}
.home-page .process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  border-top: 0;
}
.home-page .process-list article {
  display: block;
  border-top: 1px solid rgba(179, 142, 54, .65);
  border-bottom: 0;
  padding: 1.5rem 0 0;
}
.home-page .process-list article > span { display: block; margin-bottom: 1.3rem; }
.home-page .process-list h3 {
  min-height: auto;
  margin-bottom: .6rem;
  font-size: 1.15rem;
  font-weight: 600;
}
.home-page .process-list .subtitle {
  min-height: auto;
  margin-bottom: 2rem;
}
.home-page .process-list article > p {
  color: var(--blue);
  font-size: .95rem;
  line-height: 1.55;
}

.home-page .media-teaser {
  padding-block: clamp(5.5rem, 8vw, 8rem);
}
.home-page .media-copy {
  max-width: 62rem;
  padding-top: 0;
}
.home-page .media-copy h2 {
  max-width: none;
  margin: 3.5rem 0 2.5rem;
  font-size: clamp(2.3rem, 4vw, 4.2rem);
}
.home-page .media-copy p {
  max-width: 58rem;
  color: var(--cream);
}
.home-page .media-copy .text-link { margin-top: 2rem; }

.home-page .final-cta {
  color: var(--blue);
  background: var(--cream);
}
.home-page .final-cta-content {
  max-width: 58rem;
}
.home-page .final-cta h2 {
  max-width: 18ch;
  font-size: clamp(2.5rem, 5vw, 5rem);
}
.home-page .gold-text {
  display: block;
  color: var(--gold);
}
.home-page .final-cta h2 + p {
  max-width: 44rem;
  margin: 2.5rem 0 1rem;
  color: var(--blue);
}
.home-page .dark-button {
  background: var(--blue);
  color: var(--cream);
}
.home-page .site-footer {
  color: var(--cream);
  background: var(--blue);
  border-color: rgba(179, 142, 54, .45);
}
.home-page .site-footer p { color: var(--gold-light); }

.media-page .site-header {
  position: fixed;
  min-height: 6.25rem;
  background: var(--cream);
}
.media-page .brand {
  display: flex;
  align-items: center;
  width: 7.25rem;
}
.media-page .main-nav,
.media-page .menu-toggle,
.media-page .language-toggle {
  font-size: 1rem;
}
.media-page main { padding-top: 6.25rem; }

@media (min-width: 768px) {
  .home-page .intro > .container {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 1.5rem;
  }
  .home-page .intro > .container > .eyebrow,
  .home-page .intro-lead,
  .home-page .question-grid {
    grid-column: 1 / -1;
  }
  .home-page .intro-conclusion {
    grid-column: 4 / 10;
    max-width: none;
    margin-inline: 0;
  }
  .home-page .question-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; }
  .home-page .mandate {
    grid-template-columns: 3rem minmax(12rem, .9fr) minmax(14rem, 1.2fr) minmax(17rem, 1.5fr);
    gap: 2rem;
    align-items: baseline;
  }
  .home-page .goal { grid-column: auto; }
  .home-page .process-list { grid-template-columns: repeat(2, 1fr); }
  .home-page .process-list h3 { min-height: 3.2rem; }
  .home-page .process-list .subtitle { min-height: 2.8rem; }
}

@media (min-width: 1050px) {
  .section { scroll-margin-top: 7.25rem; }
  .media-page .site-header { min-height: 7.25rem; }
  .media-page .brand { width: 8.25rem; }
  .media-page .main-nav { font-size: 1rem; }
  .media-page main { padding-top: 7.25rem; }
  .home-page .site-header { min-height: 7.25rem; }
  .home-page .brand { width: 8.25rem; }
  .home-page .main-nav { font-size: 1rem; }
  .home-page .hero-content {
    display: block;
    padding-top: 11rem;
  }
  .home-page .process-list { grid-template-columns: repeat(4, 1fr); gap: 3rem; }
}

@media (max-width: 767px) {
  .subhero h1 {
    max-width: 100%;
    font-size: clamp(2.15rem, 9vw, 2.75rem);
  }
  .subhero img {
    aspect-ratio: 4 / 5;
  }
  .example-grid article {
    padding-block: 2.5rem;
  }
  .example-grid .use-case {
    min-height: 0;
    margin-bottom: 1.5rem;
  }
  .home-page .hero {
    min-height: 47rem;
    align-items: flex-end;
  }
  .home-page .hero-image { object-position: 15% center; }
  .home-page .hero-shade { background: rgba(21, 30, 63, .38); }
  .home-page .hero-content { padding-top: 8rem; }
  .home-page .mandate { padding-block: 2rem; }
  .home-page .goal { margin-top: .5rem; }
}

@media (max-width: 1049px) {
  .home-page .main-nav {
    color: var(--blue);
    background: var(--cream);
  }
}

/* Unterseite Eigene Mediensysteme */
.media-page .media-hero {
  min-height: calc(100svh - 6.25rem);
  align-items: center;
}
.media-page .media-hero .hero-image {
  object-position: 52% 42%;
  filter: saturate(.86) contrast(.94);
}
.media-page .media-hero .hero-shade {
  background: linear-gradient(
    90deg,
    rgba(21, 30, 63, .90) 0%,
    rgba(21, 30, 63, .76) 38%,
    rgba(21, 30, 63, .34) 68%,
    rgba(21, 30, 63, .18) 100%
  );
}
.media-page .media-hero-content {
  display: block;
  padding-top: clamp(5rem, 8vw, 7rem);
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}
.media-page .media-hero h1 {
  max-width: 20ch;
  margin: 1.5rem 0 2rem;
  font-size: clamp(3rem, 5vw, 5.5rem);
}
.media-page .media-hero-lead {
  max-width: 38rem;
  margin-bottom: 0;
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
  line-height: 1.5;
}
.media-page .media-hero .text-link,
.media-page .final-cta .text-link {
  border: 0;
  border-radius: 999px;
  padding: .75rem 1.15rem;
  background: var(--cream);
  color: var(--blue);
}
.media-page .media-hero .text-link:hover,
.media-page .media-hero .text-link:focus-visible,
.media-page .final-cta .text-link:hover,
.media-page .final-cta .text-link:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.media-page .media-intro-copy {
  max-width: 52rem;
}
.media-page .media-intro-label {
  margin: 0 0 1.5rem;
}
.media-page .media-intro-title {
  max-width: 18ch;
  margin-bottom: 2rem;
  font-size: clamp(2.1rem, 4vw, 4rem);
}
.media-page .media-intro-primary {
  margin-bottom: 2rem;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem);
  font-weight: 500;
  line-height: 1.3;
}
.media-page .media-intro-copy p:last-child {
  max-width: 44rem;
  margin-bottom: 0;
}

.media-page .qualities .rich-text p:last-child {
  margin-bottom: 0;
}

.media-page .example-grid {
  display: block;
}
.media-page .example-grid article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  border-right: 0;
  padding: clamp(2.25rem, 3.5vw, 3.25rem) 0;
}
.media-page .example-grid article:first-child,
.media-page .example-grid article:last-child {
  padding-inline: 0;
}
.media-page .example-grid h3 {
  margin: 0;
}
.media-page .example-grid .use-case {
  min-height: 0;
  margin: 0;
  color: var(--gold);
}
.media-page .example-grid article > p:last-child {
  max-width: 38rem;
  margin: 0;
}

.media-page .final-cta h2 {
  max-width: 19ch;
}
.media-page .final-cta h2 + p {
  max-width: 44rem;
  margin: 2rem 0 .5rem;
}

@media (min-width: 768px) {
  .media-page .media-intro-copy {
    grid-column: 4 / 11;
  }
}

@media (min-width: 1050px) {
  .media-page .media-hero {
    min-height: calc(100svh - 7.25rem);
  }
  .media-page .example-grid article {
    grid-template-columns: 3rem minmax(12rem, .9fr) minmax(15rem, 1.15fr) minmax(18rem, 1.45fr);
    gap: 2rem;
    align-items: baseline;
  }
}

@media (max-width: 767px) {
  .media-page .media-hero {
    min-height: 43rem;
    align-items: flex-end;
  }
  .media-page .media-hero .hero-image {
    object-position: 48% 42%;
  }
  .media-page .media-hero .hero-shade {
    background: linear-gradient(
      180deg,
      rgba(21, 30, 63, .16) 0%,
      rgba(21, 30, 63, .38) 44%,
      rgba(21, 30, 63, .90) 100%
    );
  }
  .media-page .media-hero h1 {
    max-width: 100%;
    font-size: clamp(1.65rem, 8.2vw, 2.8rem);
  }
  .media-page .media-hero-content {
    padding-top: 7rem;
    padding-bottom: 3.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .site-header,
  .home-page .brand img {
    transition: none;
  }
}
