:root {
  --bg: #ffffff;
  --ink: #1d2228;
  --accent: #b1806a;
  --accent-2: #23475f;
  --card: #fffdf8;
  --border: #dfd7c8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
}

.container {
  width: min(1400px, 97.2vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 75%, #ffffff 25%);
  background: color-mix(in srgb, #ffffff 70%, var(--bg) 30%);
  backdrop-filter: blur(10px);
}

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

.site-brand,
.site-brand:visited {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  text-decoration: none;
  font-size: clamp(2rem, 3vw, 2.35rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 400;
}

.site-brand:hover,
.site-brand:focus-visible {
  color: var(--ink);
  text-decoration: none;
}

.site-brand span {
  display: block;
}

.primary-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.primary-nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.primary-nav a {
  position: relative;
  display: inline-block;
  padding: 0.2rem 0;
  text-decoration: none;
  color: var(--ink);
  transition: color 180ms ease;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.16rem;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--accent);
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current-menu-ancestor > a::after,
.primary-nav .current_page_item > a::after,
.primary-nav .current-page-ancestor > a::after {
  opacity: 1;
  transform: scaleX(1);
}

.primary-nav .current-menu-item > a,
.primary-nav .current-menu-ancestor > a,
.primary-nav .current_page_item > a,
.primary-nav .current-page-ancestor > a {
  color: var(--accent);
}

.kh-lang-switcher ul {
  display: flex;
  gap: 0.9rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav .kh-lang-switcher a::after {
  display: none;
}

.kh-lang-switcher .kh-lang-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}

.kh-lang-switcher .kh-lang-pill .kh-lang-flag-group,
.kh-lang-switcher .kh-lang-pill .kh-lang-flag {
  cursor: pointer;
}

.kh-lang-switcher .kh-lang-flag-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.36rem;
  height: 1.36rem;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 70%, #ffffff 30%);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.kh-lang-switcher .kh-lang-flag {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.kh-lang-switcher .kh-lang-flag-group-english .kh-lang-flag {
  width: 1.04rem;
  height: 1.04rem;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--border) 64%, #ffffff 36%);
}

.kh-lang-switcher .kh-lang-flag-group-english .kh-lang-flag:only-child {
  width: 100%;
}

.kh-lang-switcher .kh-lang-flag-group-english {
  width: auto;
  height: auto;
  gap: 0.12rem;
  padding: 0.08rem 0.14rem;
  border-radius: 999px;
  overflow: visible;
}

.kh-lang-switcher .kh-lang-text-fallback {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.kh-lang-switcher .kh-lang-pill[aria-current="true"] .kh-lang-flag-group {
  border-color: color-mix(in srgb, var(--accent) 60%, var(--border) 40%);
}

.kh-lang-switcher .kh-lang-pill:hover .kh-lang-flag-group,
.kh-lang-switcher .kh-lang-pill:focus-visible .kh-lang-flag-group {
  border-color: color-mix(in srgb, var(--accent) 70%, #ffffff 30%);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 26%, transparent 74%);
}

.kh-lang-switcher .kh-lang-pill:hover .kh-lang-flag-group-english,
.kh-lang-switcher .kh-lang-pill:focus-visible .kh-lang-flag-group-english {
  border-color: color-mix(in srgb, var(--accent) 80%, #ffffff 20%);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 34%, transparent 66%);
}

.nav-toggle {
  display: none;
}

.hero,
.about,
.interviews,
.gallery-preview,
.contact-cta {
  padding: 5.5rem 0;
}

.contact-cta {
  padding-top: clamp(4.5rem, 8vw, 7.2rem);
  padding-bottom: clamp(5rem, 8.5vw, 8rem);
}

.contact-cta .container {
  text-align: center;
  max-width: min(920px, 94vw);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.1rem, 3.5vw, 2rem);
  border: 1px solid color-mix(in srgb, var(--border) 75%, #ffffff 25%);
  background:
    radial-gradient(140% 110% at 82% -24%, rgba(177, 128, 106, 0.18) 0%, rgba(177, 128, 106, 0) 62%),
    linear-gradient(145deg, color-mix(in srgb, #f8fbff 86%, var(--accent) 14%) 0%, color-mix(in srgb, #fffdf8 90%, #ffffff 10%) 48%, color-mix(in srgb, #fff8ec 82%, var(--accent) 18%) 100%);
}

.contact-cta h2 {
  margin: 0;
  letter-spacing: -0.035em;
  font-size: clamp(2.5rem, 8vw, 6.2rem);
  line-height: 0.9;
  font-weight: 400;
}

.contact-cta p {
  margin: clamp(0.8rem, 2.2vw, 1.5rem) auto 0;
  max-width: 34rem;
  font-size: clamp(1rem, 2.1vw, 1.4rem);
  line-height: 1.35;
  color: color-mix(in srgb, var(--ink) 78%, #ffffff 22%);
}

.contact-cta .button {
  margin-top: clamp(1.25rem, 3.2vw, 2rem);
  padding: 0.82rem 2.15rem;
}

.intro-sticky-wrap {
  min-height: 22rem;
  padding: 0;
}

.intro-sticky-wrap .container {
  position: relative;
}

.intro-text-fixed {
  position: sticky;
  top: 25%;
  margin: 0;
  max-width: 910px;
  letter-spacing: -0.05em;
  font-size: clamp(1.6rem, 5vw, 3.35rem);
  line-height: 1.18;
  color: var(--ink);
}

.page-hero {
  padding: 4.5rem 0 2.5rem;
}

.page-title {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  margin: 0.2rem 0 0.8rem;
}

.kh-gallery-route .page-hero h1 {
  font-size: clamp(4.8rem, 10vw, 8.8rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin: 0.15rem 0 1.1rem;
}

.kh-gallery-route .gallery-chapter h2 {
  font-size: clamp(2.7rem, 4.9vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.kh-gallery-route .gallery-heading-two-lines span {
  display: block;
}

.kh-gallery-route .gallery-heading-two-lines span + span {
  margin-top: 0.08em;
}

.kh-gallery-route .gallery-chapter + .gallery-chapter {
  margin-top: clamp(6.5rem, 15vw, 12rem);
}

.kh-gallery-route h1,
.kh-gallery-route h2,
.kh-gallery-route h3,
.kh-gallery-route h4,
.kh-gallery-route h5,
.kh-gallery-route h6 {
  text-align: center;
}

.kh-interviews-route .page-hero {
  padding: clamp(3.8rem, 8vw, 6rem) 0 clamp(1.4rem, 3.5vw, 2.2rem);
  text-align: center;
}

.kh-interviews-route .page-hero h1 {
  margin: 0;
  letter-spacing: -0.04em;
  font-size: clamp(3rem, 10vw, 7.8rem);
  line-height: 0.88;
}

.kh-interviews-route .section-block {
  padding-top: 0;
}

.kh-contact-route {
  --kh-contact-accent: var(--accent);
  --kh-contact-ink: var(--ink);
  --kh-contact-panel: color-mix(in srgb, #ffffff 82%, var(--card) 18%);
  --kh-contact-panel-border: color-mix(in srgb, var(--border) 76%, #ffffff 24%);
}

.kh-impressum-route .page-hero .container,
.kh-impressum-route .section-block > .container {
  max-width: min(760px, 100%);
}

.kh-contact-section {
  min-height: calc(100vh - 11.5rem);
  padding: clamp(3.8rem, 8vw, 6.5rem) 0 clamp(4rem, 10vw, 7rem);
  display: flex;
  align-items: center;
}

.kh-contact-shell {
  width: min(1120px, 92vw);
}

.kh-contact-form-wrap {
  max-width: 940px;
  padding: clamp(1.4rem, 3vw, 2.6rem);
  border: 1px solid var(--kh-contact-panel-border);
  background: var(--kh-contact-panel);
  box-shadow: 0 18px 44px rgba(24, 28, 33, 0.08);
  backdrop-filter: blur(8px);
}

.kh-contact-heading {
  margin: 0 0 1rem;
  color: var(--kh-contact-accent);
  font-size: 0.95rem;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.kh-contact-title {
  margin: 0;
  color: var(--kh-contact-ink);
  font-size: clamp(3rem, 8vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-weight: 400;
}

.kh-contact-flash {
  width: min(720px, 100%);
  margin: 1.4rem 0 0;
  padding: 0.95rem 1.15rem;
  border-radius: 14px;
  font-size: 1rem;
  line-height: 1.45;
}

.kh-contact-success {
  color: #3f3212;
  background: rgba(240, 207, 89, 0.22);
  border: 1px solid rgba(177, 128, 106, 0.28);
}

.kh-contact-error {
  color: #6a1f1f;
  background: rgba(214, 101, 101, 0.12);
  border: 1px solid rgba(170, 61, 61, 0.24);
}

.kh-contact-form {
  margin-top: 2rem;
}

.kh-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.15rem;
}

.kh-contact-field {
  min-width: 0;
}

.kh-contact-field + .kh-contact-field-message,
.kh-contact-field-message {
  margin-top: 1rem;
}

.kh-contact-form input,
.kh-contact-form textarea {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--border) 75%, #ffffff 25%);
  border-radius: 0;
  background: transparent;
  color: var(--kh-contact-ink);
  padding: 0.98rem 0;
  font: inherit;
  font-size: 1.08rem;
  line-height: 1.4;
  outline: none;
}

.kh-contact-form input {
  border-left: 0;
  border-right: 0;
  border-top: 0;
}

.kh-contact-form textarea {
  min-height: 12rem;
  resize: vertical;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}

.kh-contact-form input::placeholder,
.kh-contact-form textarea::placeholder {
  color: color-mix(in srgb, var(--ink) 62%, transparent 38%);
}

.kh-contact-form input:focus,
.kh-contact-form textarea:focus {
  border-bottom-color: var(--kh-contact-accent);
}

.kh-contact-form input[aria-invalid="true"],
.kh-contact-form textarea[aria-invalid="true"] {
  border-bottom-color: #ffcbcb;
}

.kh-contact-field-error {
  margin: 0.45rem 0 0;
  color: #8b2f2f;
  font-size: 0.92rem;
}

.kh-contact-submit {
  margin-top: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.5rem;
  padding: 0.9rem 2rem;
  border: 1px solid var(--kh-contact-accent);
  border-radius: 999px;
  background: transparent;
  color: var(--kh-contact-ink);
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.kh-contact-submit:hover,
.kh-contact-submit:focus-visible {
  background: var(--kh-contact-accent);
  color: #ffffff;
}

.kh-contact-page-content {
  margin-top: 2rem;
  max-width: 760px;
  padding: clamp(1.2rem, 2.8vw, 2rem);
  border: 1px solid var(--kh-contact-panel-border);
  background: var(--kh-contact-panel);
  box-shadow: 0 16px 36px rgba(24, 28, 33, 0.06);
  backdrop-filter: blur(8px);
}

.kh-contact-trap {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  pointer-events: none;
}

.section-block {
  padding: 1rem 0 4rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}

.panel {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 16px;
  padding: 1.2rem;
}

.clean-list {
  margin: 0;
  padding-left: 1.1rem;
}

.intro-copy {
  padding-bottom: 1rem;
}

.interview-card a {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.interview-card .card-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: 1rem 1.1rem 1.15rem;
}

.interview-card .card-copy h2,
.interview-card .card-copy p {
  position: relative;
  z-index: 2;
  color: #fff;
}

.interview-card .meta {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #e5d7bf;
}

.interview-card .card-copy p {
  margin: 0.35rem 0 0;
}

.link-page-copy a {
  color: var(--accent-2);
}

.quote-wall {
  border-left: 4px solid var(--accent);
  padding-left: 1.4rem;
}

.kh-mottos-shell.quote-wall {
  padding-left: clamp(1rem, 2.8vw, 1.8rem);
}

.legal-section {
  background: color-mix(in srgb, var(--bg) 90%, #ffffff 10%);
}

.legal-prose {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  padding: 1.2rem;
}

.contact-panel {
  position: sticky;
  top: 92px;
}

.page-content-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 8rem;
  padding: 1.5rem 1rem;
  text-align: center;
  color: var(--muted, #6b7280);
}

.page-content-shell {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 0 3rem;
}

.page-content-shell > h1,
.page-content-shell > .entry-title,
.page-content-shell h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 0 0 1.2rem;
  font-weight: 400;
}

.page-content-shell > p,
.page-content-shell > .entry-content,
.page-content-shell .entry-content {
  width: min(720px, 100%);
  margin: 0 auto;
  text-align: center;
}

.gallery-chapter h2 {
  margin-bottom: 1rem;
}
.gallery-preview .hero-mosaic {
  display: block;
  column-count: 2;
  column-gap: 0.55rem;
}
.gallery-preview .hero-mosaic-item {
  break-inside: avoid;
  margin-bottom: 0.55rem;
  height: auto;
}

.gallery-preview .hero-mosaic-item-cta {
  break-inside: avoid;
  margin: 0.95rem 0 0.15rem;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
}

.gallery-preview .hero-mosaic-item-cta .button {
  display: inline-flex;
}
.gallery-preview .hero-mosaic-item img,
.gallery-preview .hero-mosaic-item-main img,
.gallery-preview .hero-mosaic-item-side img {
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin: 0.2em 0;
}

.hero-home {
  padding: 1.2rem 0 3.2rem;
}

.hero-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 0.86fr);
  gap: clamp(1.5rem, 3.2vw, 3.2rem);
  align-items: start;
}

.hero-home-left,
.hero-home-right {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.hero-home-left {
  gap: 0.35rem;
  position: relative;
}

.hero-home-right {
  grid-template-columns: 1fr;
  grid-auto-rows: max-content;
}

.hero-home .hero-greeting {
  min-height: 200px;
  margin: 0;
  display: grid;
  place-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-home .hero-greeting-item {
  left: 50%;
  top: 50%;
  transform: translate(-50%, calc(-50% + 6px));
}

.hero-home .hero-greeting-item.is-active {
  transform: translate(-50%, -50%);
}

.hero-home-image {
  margin: 0;
  background: #f4f5f8;
  overflow: hidden;
}

.hero-home-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 1;
  animation: heroImageReveal 1080ms cubic-bezier(0.18, 0.84, 0.22, 1) both;
}

.hero-home-image-1 img {
  transition-delay: 0ms;
  animation-delay: 0ms;
}

.hero-home-image-2 img {
  transition-delay: 180ms;
  animation-delay: 180ms;
}

.hero-home-image-3 img {
  transition-delay: 360ms;
  animation-delay: 360ms;
}

@keyframes heroImageReveal {
  0% {
    opacity: 0.38;
    transform: translateY(14px) scale(1.012);
    filter: saturate(92%);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: saturate(100%);
  }
}

.hero-home-image-1 {
  margin-top: 0;
}

.hero-home-image-1 img {
  aspect-ratio: auto;
}

.hero-home-image-2 img {
  aspect-ratio: auto;
}

.hero-home-image-3 {
  width: 100%;
  justify-self: stretch;
  margin-top: 0;
  transform: translateY(var(--hero-image-3-shift, 100px));
  will-change: transform;
}

.hero-home-image-3 img {
  aspect-ratio: auto;
}

.hero-intro-text {
  margin: clamp(4rem, 8.4vw, 10rem) 0;
  max-width: none;
  letter-spacing: -0.03em;
  font-size: clamp(1.75rem, 3vw, 3rem);
  line-height: 1.08;
  transform: translate3d(0, var(--hero-intro-shift, 0px), 0);
  opacity: var(--hero-intro-opacity, 1);
  will-change: transform, opacity;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1.4rem;
  align-items: stretch;
}

.hero-copy {
  min-width: 0;
}

.hero-greeting {
  min-height: 2.2rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.hero-greeting-item {
  margin: 0;
  font-size: clamp(1.8rem, 3.6vw, 3.1rem);
  color: #111111;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6), 0 8px 18px rgba(7, 23, 35, 0.18);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.82, 0.22, 1);
  position: absolute;
  left: 0;
  top: 0;
}

.hero-greeting-item.is-active {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero-home-image img,
  .hero-home-image-1 img,
  .hero-home-image-2 img,
  .hero-home-image-3 img {
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
    transition: none;
  }
}

.hero-mosaic {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.hero-top-mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  min-height: 30rem;
}

.hero-top-main,
.hero-top-side {
  display: grid;
  gap: 0.45rem;
}

.hero-top-main {
  grid-template-rows: 1fr;
}

.hero-top-side {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.hero-mosaic-item {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 75%, #fff 25%);
  background: #e8e1d3;
  height: 100%;
}

.hero-mosaic-item img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-mosaic-item-main img {
  aspect-ratio: 4 / 5;
}

.hero-mosaic-item-side img {
  aspect-ratio: 16 / 10;
}

.hero-lower-collage {
  padding: 2.2rem 0 1.2rem;
}

.hero-lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr) minmax(0, 1fr);
  gap: clamp(0.55rem, 1.3vw, 1.4rem);
  align-items: start;
}

.hero-lower-item {
  margin: 0;
  border: 0;
  background: #f4f5f8;
  overflow: hidden;
  border-radius: 0;
  opacity: 0;
  transform: perspective(1100px) rotateX(-14deg) translateY(30px);
  transform-origin: top center;
  filter: saturate(90%);
  backface-visibility: hidden;
  transition: transform 1220ms cubic-bezier(0.18, 0.84, 0.22, 1), opacity 860ms ease, filter 1220ms ease;
}

.hero-lower-collage.is-inview .hero-lower-item.is-visible {
  opacity: 1;
  transform: perspective(1100px) rotateX(0deg) translateY(0);
  filter: saturate(100%);
}

.hero-lower-item img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-lower-item-a {
  margin-top: 10.75rem;
  transition-delay: 80ms;
}

.hero-lower-item-a img {
  aspect-ratio: auto;
}

.hero-lower-item-b img {
  aspect-ratio: auto;
}

.hero-lower-stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.hero-lower-item-c img,
.hero-lower-item-d img {
  aspect-ratio: auto;
}

.hero-lower-item-b {
  transition-delay: 220ms;
}

.hero-lower-item-c {
  transition-delay: 360ms;
}

.hero-lower-item-d {
  transition-delay: 500ms;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--accent-2);
}

.cards {
  display: grid;
  gap: 0.35rem;
  grid-template-columns: 2fr 3fr;
  width: 100%;
  max-width: 100%;
}

.card {
  background: #0f1d28;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  min-height: 340px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.card a {
  display: block;
  color: #fff;
  text-decoration: none;
  position: relative;
  min-height: 340px;
  height: 100%;
  width: 100%;
  max-width: 100%;
}

.card a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(7, 14, 20, 0) 40%, rgba(7, 14, 20, 0.86) 92%);
}

.card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.card h3 {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.1rem;
  z-index: 2;
  padding: 0;
  margin: 0;
  line-height: 1.05;
  font-size: clamp(1.3rem, 3vw, 2rem);
}

.card-headline {
  margin: 0;
  color: #fff;
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  z-index: 2;
}

.card-headline {
  bottom: 4.15rem;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  color: #e5d7bf;
}

.interview-card a {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 1.2rem 1.1rem;
}

.interview-card .card-headline,
.interview-card h3 {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 2;
}

.interview-card .card-headline {
  margin: 0 0 0.45rem;
  line-height: 1.2;
}

.interview-card h3 {
  margin: 0;
  line-height: 1.06;
}

.card:nth-child(2),
.card:nth-child(3) {
  min-height: 470px;
}

.card:nth-child(2) a,
.card:nth-child(3) a,
.card:nth-child(2) img,
.card:nth-child(3) img {
  min-height: 470px;
}

.interviews-cta {
  margin-top: 1.1rem;
  text-align: right;
}

.button {
  display: inline-block;
  padding: 0.7rem 1.9rem;
  border-radius: 999px;
  text-decoration: none;
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
  transition: all 0.24s ease;
}

.button:hover {
  background: var(--accent);
  color: #fff;
}

.prose {
  padding: 2rem 0 4rem;
}

.kh-impressum-prose {
  max-width: min(760px, 100%);
  margin-inline: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.3rem;
  align-items: center;
}

.about-copy {
  min-width: 0;
  grid-column: 2;
  align-self: center;
}

.about h2,
.interviews h2,
.gallery-preview h2 {
  text-align: center;
  letter-spacing: -0.03em;
  margin: 0 0 2rem;
  font-size: clamp(3.3rem, 11.25vw, 8.55rem);
  line-height: 0.9;
  font-weight: 400;
}

.about-copy h3 {
  margin-top: 0.2rem;
  margin-bottom: 1.15rem;
  font-size: clamp(1.2rem, 2.3vw, 1.8rem);
  font-weight: 500;
}

.about-copy p {
  margin: 0 0 0.95rem;
  color: #33343a;
  font-size: 1.08rem;
  line-height: 1.5;
}

.home-vita-text p {
  margin: 0 0 0.95rem;
  color: #33343a;
  font-size: 1.08rem;
  line-height: 1.5;
}

.home-vita-text p:last-child {
  margin-bottom: 0;
}

.about-image-wrap {
  margin: 0;
  grid-column: 1;
  grid-row: 1;
  border-radius: 500px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 80%, #fff 20%);
  background: var(--card);
}

.about-image-wrap .intro-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.site-footer > .container > ul {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem 1.7rem;
}

.site-footer > .container > ul > li {
  min-width: 0;
}

.site-footer > .container > ul > li > a {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.site-footer > .container > ul > li > a[href="#"] {
  pointer-events: none;
  cursor: default;
}

.site-footer > .container > ul > li > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.42rem;
}

.site-footer > .container > ul > li > ul > li > a {
  text-decoration: none;
}

.site-footer a {
  position: relative;
  display: inline-block;
  color: var(--ink);
  transition: color 180ms ease;
}

.site-footer a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.16rem;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
}

.site-footer a:hover::after,
.site-footer a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.site-footer > .container > ul > li > a[href="#"]::after {
  display: none;
}

.kh-mottos-route .site-footer a:hover,
.kh-mottos-route .site-footer a:focus-visible {
  color: #ffe45a;
}

@media (max-width: 900px) {
  .site-footer > .container {
    width: min(100%, calc(100vw - 3.2rem));
  }

  .site-footer > .container > ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.2rem;
  }
}

@media (max-width: 520px) {
  .site-footer > .container {
    width: min(100%, calc(100vw - 2.4rem));
  }

  .site-footer > .container > ul {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }
}

@media (max-width: 900px) {
  .site-header > .container {
    width: min(100%, calc(100vw - 2.8rem));
  }

  .site-header-inner {
    padding-inline: clamp(0.15rem, 1vw, 0.35rem);
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    padding: 0;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, var(--border) 80%, #ffffff 20%);
    background: color-mix(in srgb, #ffffff 84%, var(--bg) 16%);
    color: var(--ink);
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease;
  }

  .nav-toggle:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
  }

  .nav-toggle__icon {
    display: inline-flex;
    flex-direction: column;
    gap: 0.28rem;
  }

  .nav-toggle__bar {
    display: block;
    width: 1.15rem;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform-origin: center;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-toggle.is-open .nav-toggle__bar:nth-child(1) {
    transform: translateY(0.4rem) rotate(45deg);
  }

  .nav-toggle.is-open .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open .nav-toggle__bar:nth-child(3) {
    transform: translateY(-0.4rem) rotate(-45deg);
  }

  .primary-nav {
    display: none;
    position: absolute;
    top: calc(100% + 0.45rem);
    left: clamp(0.7rem, 3vw, 1.15rem);
    right: clamp(0.7rem, 3vw, 1.15rem);
    background: color-mix(in srgb, #ffffff 92%, var(--bg) 8%);
    border: 1px solid color-mix(in srgb, var(--border) 82%, #ffffff 18%);
    border-radius: 16px;
    box-shadow: 0 14px 36px rgba(13, 24, 35, 0.16);
    backdrop-filter: blur(8px);
    padding: 0.78rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    z-index: 20;
  }

  .primary-nav.open {
    display: flex;
  }

  .primary-nav ul {
    width: 100%;
    flex-direction: column;
    gap: 0.35rem;
  }

  .primary-nav li {
    width: 100%;
  }

  .primary-nav a {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    line-height: 1.2;
    background: color-mix(in srgb, #ffffff 80%, var(--card) 20%);
  }

  .primary-nav a::after {
    display: none;
  }

  .primary-nav a:hover,
  .primary-nav a:focus-visible,
  .primary-nav .current-menu-item > a,
  .primary-nav .current-menu-ancestor > a,
  .primary-nav .current_page_item > a,
  .primary-nav .current-page-ancestor > a {
    background: color-mix(in srgb, var(--accent) 14%, #ffffff 86%);
  }

  .primary-nav .kh-lang-switcher {
    width: 100%;
    margin-top: 0.15rem;
    padding-top: 0.65rem;
    border-top: 1px solid color-mix(in srgb, var(--border) 82%, #ffffff 18%);
    display: flex;
    justify-content: flex-end;
  }

  .primary-nav .kh-lang-switcher ul {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.5rem;
    justify-content: flex-end;
  }

  .primary-nav .kh-lang-switcher li {
    width: auto;
  }

  .primary-nav .kh-lang-switcher a,
  .primary-nav .kh-lang-switcher .kh-lang-pill {
    width: 2.5rem;
    min-width: 2.5rem;
    height: 2.5rem;
    justify-content: center;
    padding: 0;
    border-radius: 999px;
  }

  .primary-nav .kh-lang-switcher .kh-lang-pill {
    background: color-mix(in srgb, #ffffff 80%, var(--card) 20%);
  }

  .primary-nav .kh-lang-switcher .kh-lang-flag-group {
    width: 1.55rem;
    height: 1.55rem;
  }

  .primary-nav .kh-lang-switcher .kh-lang-flag-group-english {
    gap: 0.14rem;
    padding: 0.09rem 0.16rem;
    width: auto;
    min-width: 2.35rem;
    height: auto;
    min-height: 1.7rem;
    border-radius: 999px;
    overflow: hidden;
  }

  .primary-nav .kh-lang-switcher .kh-lang-flag-group-english .kh-lang-flag {
    width: 1.16rem;
    height: 1.16rem;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--border) 64%, #ffffff 36%);
  }

  .kh-mottos-route .primary-nav {
    background: rgba(11, 24, 45, 0.94);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 16px 38px rgba(4, 9, 20, 0.45);
  }

  .kh-mottos-route .primary-nav .kh-lang-switcher {
    border-top-color: rgba(255, 255, 255, 0.16);
  }

  .kh-mottos-route .primary-nav a {
    background: rgba(255, 255, 255, 0.08);
  }

  .kh-mottos-route .primary-nav a:hover,
  .kh-mottos-route .primary-nav a:focus-visible,
  .kh-mottos-route .primary-nav .current-menu-item > a,
  .kh-mottos-route .primary-nav .current-menu-ancestor > a,
  .kh-mottos-route .primary-nav .current_page_item > a,
  .kh-mottos-route .primary-nav .current-page-ancestor > a {
    background: rgba(255, 228, 90, 0.2);
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .kh-contact-section {
    min-height: auto;
    padding-top: 4rem;
    padding-bottom: 5.2rem;
    align-items: flex-start;
    background-attachment: scroll !important;
    background-position: center center !important;
  }

  .kh-contact-shell {
    width: min(100%, calc(100vw - 3rem));
  }

  .kh-contact-form {
    margin-top: 2.2rem;
  }

  .kh-contact-grid {
    gap: 1.15rem 1.25rem;
  }

  .kh-contact-field + .kh-contact-field-message,
  .kh-contact-field-message {
    margin-top: 1.2rem;
  }

  .home .hero-home > .container,
  .home .about > .container,
  .home .interviews > .container,
  .home .gallery-preview > .container,
  .home .contact-cta > .container {
    width: min(100%, calc(100vw - 4rem));
  }

  .home .about,
  .home .interviews,
  .home .gallery-preview,
  .home .contact-cta {
    padding-top: 4.8rem;
    padding-bottom: 4.8rem;
  }

  .home .hero-home {
    padding-top: 2.5rem;
    padding-bottom: 3.2rem;
  }

  .home .hero-home-grid {
    gap: 0.8rem;
  }

  .home .hero-intro-text {
    margin: clamp(2.4rem, 8.2vw, 3.4rem) 0 clamp(1.8rem, 6.8vw, 2.6rem);
    padding-inline: clamp(0.9rem, 4.8vw, 1.3rem);
    line-height: 1.18;
  }

  .home .about-grid {
    gap: 1.8rem;
  }

  .home .cards {
    gap: 1rem;
  }

  .home .interviews-cta {
    margin-top: 1.45rem;
  }

  .home .gallery-live-preview {
    margin-top: 1.4rem;
  }

  .kh-impressum-route .page-hero {
    padding-top: 4rem;
    padding-bottom: 2rem;
  }

  .kh-impressum-route .section-block {
    padding-top: 1.6rem;
    padding-bottom: 5rem;
  }

  .kh-impressum-route .page-hero .container,
  .kh-impressum-route .section-block > .container {
    width: min(100%, calc(100vw - 3rem));
  }

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

  .hero-home {
    padding: 2rem 0 1.5rem;
  }

  .hero-home-grid {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .hero-home-left,
  .hero-home-right {
    gap: 0.45rem;
  }

  .hero-home .hero-greeting {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    left: auto;
    z-index: 3;
    min-height: 2.9rem;
    margin: 0;
    padding: 0.35rem 0.75rem;
    width: max-content;
    min-width: 8.4ch;
    max-width: calc(100% - 1.8rem);
    display: block;
    text-align: left;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 0.35rem;
    overflow: visible;
    box-shadow: 0 12px 24px rgba(12, 24, 33, 0.12);
  }

  .hero-home .hero-greeting-item {
    position: static;
    display: none;
    left: auto;
    top: auto;
    color: #111111;
    white-space: nowrap;
    opacity: 1;
    transform: none;
  }

  .hero-home .hero-greeting-item.is-active {
    display: block;
    transform: none;
  }

  .hero-home-image-1 img,
  .hero-home-image-2 img,
  .hero-home-image-3 img {
    aspect-ratio: auto;
  }

  .hero-home-image-2 img {
    aspect-ratio: auto;
  }

  .hero-home-image-3 img {
    aspect-ratio: auto;
  }

  .hero-home-image-3 {
    width: 100%;
    margin-top: 0;
    transform: none;
  }

  .hero-intro-text {
    margin: clamp(1.25rem, 5vw, 2rem) 0 clamp(0.7rem, 3.8vw, 1.2rem);
    max-width: none;
    padding-inline: clamp(0.65rem, 4vw, 1rem);
    font-size: clamp(1.72rem, 6vw, 2.45rem);
    line-height: 1.18;
  }

  .hero-top-mosaic {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-top-side {
    grid-template-rows: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .about-image-wrap {
    grid-column: auto;
    grid-row: auto;
    order: 1;
    margin-bottom: 0.2rem;
  }

  .about-copy {
    grid-column: auto;
    order: 2;
    padding-inline: clamp(0.6rem, 3.8vw, 1.1rem);
  }

  .about-copy h3,
  .about-copy p {
    max-width: 34rem;
  }

  .gallery-live-masonry {
    column-count: 2;
    column-gap: 0.55rem;
  }

  .gallery-live-item {
    margin-bottom: 0.75rem;
  }

  .gallery-live-cta {
    margin-bottom: 0.75rem;
    padding-top: 0.35rem;
  }

  .hero-lower-grid,
  .hero-lower-stack {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .hero-lower-item-a img,
  .hero-lower-item-b img,
  .hero-lower-item-c img,
  .hero-lower-item-d img {
    aspect-ratio: auto;
  }

  .hero-mosaic-item-main img,
  .hero-mosaic-item-side img {
    aspect-ratio: 4 / 3;
  }

  .intro-sticky-wrap {
    min-height: 10.5rem;
  }

  .intro-text-fixed {
    top: 96px;
  }

  .contact-panel {
    position: static;
  }

  .contact-cta .container {
    padding: clamp(1.6rem, 6.2vw, 2.2rem) clamp(0.9rem, 3.8vw, 1.2rem);
  }

  .contact-cta h2 {
    font-size: clamp(2.1rem, 11vw, 3.6rem);
  }

  .contact-cta p {
    font-size: clamp(0.96rem, 4.8vw, 1.2rem);
  }
}

@media (max-width: 700px) {
  .home .hero-home > .container,
  .home .about > .container,
  .home .interviews > .container,
  .home .gallery-preview > .container,
  .home .contact-cta > .container {
    width: min(100%, calc(100vw - 4rem));
  }
  .gallery-preview .hero-mosaic {
    column-count: 1;
    column-gap: 0;
  }

  .gallery-preview .hero-mosaic-item-cta {
    margin-top: 1.05rem;
    margin-bottom: 0;
  }

  .home .about,
  .home .interviews,
  .home .gallery-preview,
  .home .contact-cta {
    padding-top: 4.3rem;
    padding-bottom: 4.3rem;
  }

  .home .hero-home {
    padding-top: 2.35rem;
    padding-bottom: 1.85rem;
  }

  .home .hero-intro-text {
    margin: 1.5rem 0 1.2rem;
    padding-inline: 1rem;
  }

  .kh-contact-section {
    padding-top: 3.4rem;
    padding-bottom: 4.8rem;
    background-attachment: scroll !important;
    background-position: center center !important;
  }

  .kh-contact-shell {
    width: min(100%, calc(100vw - 2.8rem));
  }

  .kh-contact-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .kh-contact-form {
    margin-top: 2rem;
  }

  .kh-impressum-route .page-hero {
    padding-top: 3.5rem;
    padding-bottom: 1.7rem;
  }

  .kh-impressum-route .section-block {
    padding-top: 1.2rem;
    padding-bottom: 4.2rem;
  }

  .kh-impressum-route .page-hero .container,
  .kh-impressum-route .section-block > .container {
    width: min(100%, calc(100vw - 2.8rem));
  }

  .kh-contact-title {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .kh-mottos-route .page-hero {
    padding-top: 4.4rem;
    padding-bottom: 2rem;
  }

  .kh-mottos-route .page-hero .container,
  .kh-mottos-route .kh-mottos-content-block .container {
    width: min(100%, calc(100vw - 3.6rem));
  }

  .kh-mottos-page {
    background-attachment: scroll;
    background-position: center center;
  }

  .kh-mottos-content-block {
    padding-top: 1.1rem;
    padding-bottom: 1.4rem;
  }

  .kh-mottos-shell {
    padding: 1.7rem 1.65rem 1.95rem;
    border-radius: 20px;
  }

  .kh-gallery-route .page-hero {
    padding: 4rem 0 2.2rem;
  }

  .kh-gallery-route .page-hero .container,
  .kh-gallery-route .section-block > .container {
    width: min(100%, calc(100vw - 3.6rem));
  }

  .kh-gallery-route .section-block {
    padding-top: 1.8rem;
    padding-bottom: 5rem;
  }

  .kh-gallery-route .intro-copy {
    padding-bottom: 1.8rem;
  }

  .kh-gallery-route .gallery-live-masonry {
    gap: 0.72rem;
  }

  .kh-gallery-route .gallery-live-item {
    margin-bottom: 0;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .card,
  .card a,
  .card img,
  .card:nth-child(2),
  .card:nth-child(3),
  .card:nth-child(2) a,
  .card:nth-child(3) a,
  .card:nth-child(2) img,
  .card:nth-child(3) img {
    min-height: 300px;
  }

  .card h3 {
    bottom: 1.1rem;
    font-size: 1.55rem;
  }

  .card-headline {
    bottom: 4.25rem;
    font-size: 0.82rem;
  }

  .interview-card .card-headline {
    margin: 0 0 0.98rem;
  }

  .gallery-modal-dialog {
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    border: 0;
    padding: 0.55rem 0.48rem 0.72rem;
  }

  .gallery-modal-topbar {
    gap: 0.38rem;
    justify-content: center;
  }

  .gallery-modal-action {
    padding: 0.42rem 0.75rem;
    font-size: 0.9rem;
  }

  .gallery-modal-action[data-mobile-icon] {
    min-width: 3.15rem;
    min-height: 3.15rem;
    padding: 0;
    font-size: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-indent: -9999px;
    white-space: nowrap;
  }

  .gallery-modal-action[data-mobile-icon]::before {
    content: attr(data-mobile-icon);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 1.42rem;
    line-height: 1;
    text-indent: 0;
  }

  .gallery-modal-action[data-mobile-icon="◻◻◻"]::before {
    content: '◻◻◻';
    font-size: 1.02rem;
    letter-spacing: -0.08em;
    font-weight: 700;
  }

  .gallery-modal-action[data-mobile-icon="[i]"]::before {
    content: '[ ]';
    font-size: 1.12rem;
    letter-spacing: 0.08em;
    font-weight: 700;
  }

  .gallery-modal-action[data-mobile-icon="[i]"]::after {
    content: 'i';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.84rem;
    line-height: 1;
    font-weight: 700;
    text-indent: 0;
  }

  .gallery-modal-action[data-mobile-icon="✕"]::before,
  .gallery-modal-action[data-mobile-icon="⛶"]::before,
  .gallery-modal-action[data-mobile-icon="⤢"]::before {
    font-size: 1.46rem;
    font-weight: 700;
  }

  .gallery-modal-stage {
    min-height: 0;
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .gallery-modal-image {
    max-height: 66vh;
  }

  .gallery-modal-nav {
    width: 2.25rem;
    height: 2.25rem;
  }

  .gallery-modal-caption {
    margin-top: 0.95rem;
    padding-inline: 0.35rem;
    font-size: 0.96rem;
  }

  .gallery-modal-thumbs {
    padding-inline: 2.1rem;
  }

  .gallery-modal-thumb {
    width: clamp(62px, 14vw, 82px);
  }

  .gallery-modal:fullscreen .gallery-modal-stage,
  .gallery-modal:-webkit-full-screen .gallery-modal-stage,
  .gallery-modal.is-fullscreen-active .gallery-modal-stage {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: minmax(0, 1fr) auto auto !important;
    grid-template-areas:
      "media media"
      "prev next"
      "caption caption" !important;
    align-items: center;
    justify-items: center;
    gap: 1rem 0.8rem;
    padding: 0 0 9.25rem;
  }

  .gallery-modal:fullscreen .gallery-modal-media-wrap,
  .gallery-modal:-webkit-full-screen .gallery-modal-media-wrap,
  .gallery-modal.is-fullscreen-active .gallery-modal-media-wrap {
    display: contents;
  }

  .gallery-modal:fullscreen .gallery-modal-prev,
  .gallery-modal:-webkit-full-screen .gallery-modal-prev,
  .gallery-modal.is-fullscreen-active .gallery-modal-prev {
    grid-area: prev !important;
    justify-self: end;
  }

  .gallery-modal:fullscreen .gallery-modal-next,
  .gallery-modal:-webkit-full-screen .gallery-modal-next,
  .gallery-modal.is-fullscreen-active .gallery-modal-next {
    grid-area: next !important;
    justify-self: start;
  }

  .gallery-modal:fullscreen .gallery-modal-image,
  .gallery-modal:-webkit-full-screen .gallery-modal-image,
  .gallery-modal.is-fullscreen-active .gallery-modal-image {
    grid-area: media !important;
    grid-row: 1 !important;
    grid-column: 1 / -1 !important;
    height: auto !important;
    max-height: calc(100vh - 13rem) !important;
    justify-self: center;
  }

  .gallery-modal:fullscreen .gallery-modal-caption,
  .gallery-modal:-webkit-full-screen .gallery-modal-caption,
  .gallery-modal.is-fullscreen-active .gallery-modal-caption {
    grid-area: caption !important;
    grid-row: 3 !important;
    grid-column: 1 / -1 !important;
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    width: min(84vw, 26rem);
    margin: 0.35rem 0 0;
    padding: 0.45rem 0.7rem;
    font-size: 0.82rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    justify-self: center;
    align-self: start;
  }

  .gallery-modal:fullscreen .gallery-modal-thumbs-wrap,
  .gallery-modal:-webkit-full-screen .gallery-modal-thumbs-wrap,
  .gallery-modal.is-fullscreen-active .gallery-modal-thumbs-wrap {
    width: 96vw;
    bottom: 0.35rem;
  }

  .gallery-modal-thumbs {
    gap: 0.34rem;
  }
}
