	html{ border-top-color: rgb(255, 255, 12); }
@media (max-width: 768px)  { 
	html{ border-top-color: rgb(255, 255, 6); }
} 
	.layout { gap: 4%;	 }	
	.zeroTwelfths { 
		flex: 0 0 -4%; 
		width: -4%; display:none;
	} 
	.oneTwelfth { 
		flex: 0 0 4.6666666666667%; 
		width: 4.6666666666667%; 
	} 
	.twoTwelfths { 
		flex: 0 0 13.333333333333%; 
		width: 13.333333333333%; 
	} 
	.threeTwelfths { 
		flex: 0 0 22%; 
		width: 22%; 
	} 
	.fourTwelfths { 
		flex: 0 0 30.666666666667%; 
		width: 30.666666666667%; 
	} 
	.fiveTwelfths { 
		flex: 0 0 39.333333333333%; 
		width: 39.333333333333%; 
	} 
	.sixTwelfths { 
		flex: 0 0 48%; 
		width: 48%; 
	} 
	.sevenTwelfths { 
		flex: 0 0 56.666666666667%; 
		width: 56.666666666667%; 
	} 
	.eightTwelfths { 
		flex: 0 0 65.333333333333%; 
		width: 65.333333333333%; 
	} 
	.nineTwelfths { 
		flex: 0 0 74%; 
		width: 74%; 
	} 
	.tenTwelfths { 
		flex: 0 0 82.666666666667%; 
		width: 82.666666666667%; 
	} 
	.elevenTwelfths { 
		flex: 0 0 91.333333333333%; 
		width: 91.333333333333%; 
	} 
	.twelveTwelfths { 
		flex: 0 0 100%; 
		width: 100%; 
	} 
@media (max-width: 768px)  { 
	.zeroTwelfths { 
		flex: 0 0 -4%; 
		width: -4%; display:none;
	} 
	.oneTwelfth { 
		flex: 0 0 48%; 
		width: 48%; 
	} 
	.twoTwelfths { 
		flex: 0 0 48%; 
		width: 48%; 
	} 
	.threeTwelfths { 
		flex: 0 0 48%; 
		width: 48%; 
	} 
	.fourTwelfths { 
		flex: 0 0 65.333333333333%; 
		width: 65.333333333333%; 
	} 
	.fiveTwelfths { 
		flex: 0 0 65.333333333333%; 
		width: 65.333333333333%; 
	} 
	.sixTwelfths { 
		flex: 0 0 100%; 
		width: 100%; 
	} 
	.sevenTwelfths { 
		flex: 0 0 100%; 
		width: 100%; 
	} 
	.eightTwelfths { 
		flex: 0 0 100%; 
		width: 100%; 
	} 
	.nineTwelfths { 
		flex: 0 0 100%; 
		width: 100%; 
	} 
	.tenTwelfths { 
		flex: 0 0 100%; 
		width: 100%; 
	} 
	.elevenTwelfths { 
		flex: 0 0 100%; 
		width: 100%; 
	} 
	.twelveTwelfths { 
		flex: 0 0 100%; 
		width: 100%; 
	} 
	.zeroSixths { 
		flex: 0 0 -4%; 
		width: -4%; display:none;
	} 
	.oneSixth { 
		flex: 0 0 13.333333333333%; 
		width: 13.333333333333%; 
	} 
	.twoSixths { 
		flex: 0 0 30.666666666667%; 
		width: 30.666666666667%; 
	} 
	.threeSixths { 
		flex: 0 0 48%; 
		width: 48%; 
	} 
	.fourSixths { 
		flex: 0 0 65.333333333333%; 
		width: 65.333333333333%; 
	} 
	.fiveSixths { 
		flex: 0 0 82.666666666667%; 
		width: 82.666666666667%; 
	} 
	.sixSixths { 
		flex: 0 0 100%; 
		width: 100%; 
	} 

} 
	html { font-size: 22.135416666667px; } 
	@media (max-width: 2482.1px) { 
		html { font-size: 22px; } 
	} 

	@media (max-width: 2363.9px) { 
		html { font-size: 20.9px; } 
	} 

	@media (max-width: 2251.4px) { 
		html { font-size: 19.9px; } 
	} 

	@media (max-width: 2144.2px) { 
		html { font-size: 19px; } 
	} 

	@media (max-width: 2042.1px) { 
		html { font-size: 18.1px; } 
	} 

	@media (max-width: 1944.8px) { 
		html { font-size: 17.2px; } 
	} 

	@media (max-width: 1852.2px) { 
		html { font-size: 16.4px; } 
	} 

	@media (max-width: 1764px) { 
		html { font-size: 15.6px; } 
	} 

	@media (max-width: 1680px) { 
		html { font-size: 14.9px; } 
	} 

	@media (max-width: 1600px) { 
		html { font-size: 14.2px; } 
	} 

	@media (max-width: 768px) { 
		html { font-size: 16px; } 
	} 
/************************** RESPONSIVE OVERRIDES ***********************/
.desktop {
  display: block;
}

.desktop.inline {
  display: inline;
}

.mobile {
  display: none;
}

@media (max-width: 960px) {
  .workAreas__head {
    flex-direction: column;
    align-items: stretch;
    gap: 1.85rem;
    margin-bottom: 2.5rem;
  }

  .workAreas__intro {
    width: 100%;
  }

  .workAreas__nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.9rem 1.4rem;
    flex: 1 1 auto;
    max-width: none;
    width: 100%;
    white-space: normal;
  }

  .workAreas__link {
    font-size: 0.88rem;
  }

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

  .homeAbout__cta::before {
    left: var(--page-gutter);
    right: var(--page-gutter);
    top: 0;
    bottom: auto;
    width: auto;
    height: 1px;
  }

  .homeAbout__about {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
    column-gap: 1.65rem;
    align-items: start;
  }
}

@media (max-width: 900px) {
  :root {
    --page-gutter: clamp(1.6rem, 5.5vw, 2.35rem);
    --gap: 1.45rem;
    --logo-clearance: calc(5.75rem + 2 * var(--page-gutter) + 0.75rem);
  }

  .work > .sectionHeader {
    padding-top: clamp(14.5rem, 38vw, 18rem);
    padding-bottom: 2.5rem;
  }

  .work > .sectionHeader > [class*="Twelfths"] {
    width: 100%;
    max-width: 100%;
  }



  article.textOnly {
    padding-top: clamp(14.5rem, 38vw, 18rem);
    padding-bottom: clamp(4rem, 10vw, 6rem);
  }

  .textOnly__content > [class*="Twelfth"],
  .textOnly__inner > [class*="Twelfth"] {
    width: 100%;
    max-width: 100%;
  }

  main.project {
    padding-bottom: 4.5rem;
  }

  main.project:not(.project--hasHeader):not(:has(> .project__header)) {
    padding-top: 7rem;
  }

  /* Mit Hero: klar unter Logo inkl. Tropfen */
  main.project.project--hasHeader,
  main.project:has(> .project__header) {
    padding-top: 10.5rem !important;
  }

  main.project.project--hasHeader .project__tags,
  main.project:has(> .project__header) .project__tags,
  main.project.project--hasHeader .project__intro,
  main.project:has(> .project__header) .project__intro {
    margin-top: 4.5rem;
  }

  main.project .project__tags + .project__intro,
  main.project.project--hasHeader .project__tags + .project__intro,
  main.project:has(> .project__header) .project__tags + .project__intro {
    margin-top: 0.85rem;
  }

  main.project .project__tags {
    margin-bottom: 0;
    gap: 0.5rem 1rem;
  }

  main.project .project__intro {
    margin-bottom: 2.25rem;
  }

  main.project .project__title,
  main.project .project__title * {
    font-size: 2.35rem;
  }

  main.project .project__cols {
    margin-bottom: 0;
    row-gap: 2rem;
  }

  main.project,
  main.project.project--portrait {
    display: flex;
    flex-direction: column;
  }

  main.project .project__copy {
    display: flex;
    flex-direction: column;
  }

  main.project .project__header {
    width: min(calc(100% - 2 * var(--page-gutter)), calc(75dvh * var(--header-ar)));
    max-width: calc(100% - 2 * var(--page-gutter));
  }

  main.project .project__text,
  main.project .project__aside {
    padding-left: var(--page-gutter);
    padding-right: var(--page-gutter);
  }

  main.project .project__cols > [class*="Twelfth"] {
    width: 100%;
    max-width: 100%;
    flex: 1 1 100%;
  }

  main.project .project__text,
  main.project .project__aside {
    font-size: 1.05rem;
  }

  main.project .project__gallery {
    --project-gallery-gap: 8px;
    margin-top: 4.5rem; /* wie Tags→Hero mobil */
  }

  /* Fallback ohne JS: 50% — JS entscheidet 50% vs 100% */
  main.project .project__galleryItem {
    width: calc(50% - var(--project-gallery-gap) * 0.5);
  }

  .extVideo__overlay {
    justify-content: safe center;
    align-items: stretch;
    padding: 0.85rem 0.9rem;
    pointer-events: auto;
  }

  .extVideo__brand {
    display: block;
    width: 2.35rem;
    height: 2.35rem;
    margin: 0 0 0.55rem;
  }

  .extVideo__copy {
    max-width: none;
    width: 100%;
  }

  .extVideo__hint {
    font-size: 1.05rem;
    line-height: 1.5;
  }

  main.project .project__galleryItem:nth-child(4n) {
    margin-right: var(--project-gallery-gap);
  }

  main.project .project__galleryItem:nth-child(2n) {
    margin-right: 0;
  }

  main.project .project__header .plyr__video-wrapper,
  main.project .project__header .plyr__video-wrapper--fixed-ratio,
  main.project .project__headerMedia--image,
  main.project .project__header .plyr__video-wrapper video,
  main.project .project__headerMedia--video {
    max-height: 75dvh;
  }

  /* Home: 2 Spalten. Arbeiten: siehe workGrid__cycle */
  .workAreas__grid {
    --cols: 2;
    --gap: 10px;
  }

  .mosaic {
    --cols: 2;
    --gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: auto;
    grid-auto-flow: row dense;
  }

  .mosaic .tile {
    --cs: var(--colspan, 1);
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 16 / 9;
  }

  /* Home Arbeitsbereiche: Desktop-Spans → 1|2 */
  .workAreas .mosaic .tile.tile--span-fill,
  .workAreas .mosaic .tile[data-colspan="2"],
  .workAreas .mosaic .tile[data-colspan="3"],
  .workAreas .mosaic .tile[data-colspan="4"],
  .workAreas .mosaic .tile[data-colspan="5"] {
    grid-column: span 2;
  }

  .mosaic .tile[data-m-colspan] {
    grid-column: span var(--m-colspan) !important;
  }

  .mosaic .tile[data-m-rowspan] {
    grid-row: span var(--m-rowspan) !important;
  }

  /* Arbeiten mobil: 2 Spalten, CMS-/Filter-Reihenfolge. Text + 3/3 = 100%, 1/1 + 2/2 = 50% (allein in der Reihe 100%). */
  .workGrid {
    --cols: 2;
    --gap: 10px;
  }

  .workGrid__stack {
    gap: 5rem;
  }

  .workGrid__stack--filtered,
  .workGrid__cat {
    gap: var(--gap);
  }

  .workGrid__cat,
  .workGrid__cycle {
    direction: ltr !important;
  }

  .workGrid__cycle {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: auto;
    grid-auto-flow: row;
  }

  .workGrid .tile {
    aspect-ratio: 16 / 9;
  }

  .workGrid__cycle > * {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .workGrid__cycle > .tile[data-colspan="1"],
  .workGrid__cycle > .tile[data-colspan="2"]:not(.tile--text) {
    grid-column: span 1 !important;
  }

  .workGrid__cycle > .tile.tile--text,
  .workGrid__cycle > .tile[data-colspan="3"],
  .workGrid__cycle > .tile[data-colspan="1"].tile--mobile-full,
  .workGrid__cycle > .tile[data-colspan="2"].tile--mobile-full {
    grid-column: 1 / -1 !important;
  }

  /* Filter, < 4 Projekte (Textkachel zählt nicht): 100, 100, 50/50, 100 */
  .workGrid__cycle--few > .tile:nth-child(1),
  .workGrid__cycle--few > .tile:nth-child(2),
  .workGrid__cycle--few > .tile:nth-child(n + 5) {
    grid-column: 1 / -1 !important;
  }

  .workGrid__cycle--few > .tile:nth-child(3),
  .workGrid__cycle--few > .tile:nth-child(4) {
    grid-column: span 1 !important;
  }

  .workGrid__cycle--few > .tile.tile--mobile-full {
    grid-column: 1 / -1 !important;
  }

  .grid--tiles .tile {
    flex: 1 1 calc(50% - 0.5rem);
  }

  .tagFilter {
    padding: 1rem var(--page-gutter) 3.25rem;
  }

  .work .tagFilter {
    margin-left: 0;
    padding: 0 var(--page-gutter) 0.15rem;
    margin-bottom: 2.5rem;
  }

  .tagFilter__groups {
    align-items: flex-end;
    gap: 1.55rem;
  }

  .tagFilter__row {
    justify-content: flex-end;
  }

  .tagFilter__tags {
    justify-content: flex-end;
    gap: 0.4rem 1rem;
  }

  .tagFilter .tag,
  .tagFilter a.tag {
    font-size: 0.92rem;
    letter-spacing: 0.12em;
    padding: 0.4rem 0;
  }

  .sectionHeader .eyebrow,
  .sectionHeader p.eyebrow,
  p.eyebrow,
  .eyebrow {
    font-size: 0.9rem;
    letter-spacing: 0.15em;
  }

  .sectionHeader h1,
  .sectionHeader h2 {
    font-size: 2.65rem;
  }

  .intro .slashReveal__track {
    font-size: clamp(2.35rem, 8.2vw, 4.25rem);
  }

  .intro .slashReveal__slash {
    font-size: clamp(2.5rem, 8.6vw, 4.5rem);
  }
}

@media (max-width: 768px) {
  :root {
    --page-gutter: clamp(1.7rem, 6.5vw, 2.15rem);
    --gap: 1.6rem;
  }

  .mobile {
    display: block;
  }

  .mobile.inline {
    display: inline;
  }

  .desktop {
    display: none;
  }

  nav.mainNav ul.mainNavi {
    gap: 1.05rem;
  }

  nav.mainNav ul.mainNavi li:first-child {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }

  body.is-logo-away nav.mainNav ul.mainNavi li:first-child {
    opacity: 1;
    pointer-events: auto;
  }

  nav.mainNav ul.mainNavi a {
    font-size: 0.9rem;
    letter-spacing: 0.14em;
    padding: 0.5rem 0;
  }

  a.logo {
    padding: 1.15rem var(--page-gutter);
  }

  .intro .heroRoles {
    margin-top: 1.85rem;
    max-width: 100%;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
  }

  .intro .heroCopy {
    max-width: 100%;
    margin-top: 1vh;
  }

  .intro .slashReveal {
    gap: 0.45rem;
  }

  .intro .slashReveal__track {
    font-size: clamp(1.85rem, 9vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  .intro .slashReveal__slash {
    font-size: clamp(2rem, 9.5vw, 3.2rem);
  }

  a.logo svg {
    width: 5.75rem;
  }

  .workAreas {
    padding: clamp(3.5rem, 11vw, 5.5rem) 0;
  }

  .workAreas__head {
    padding-inline: var(--page-gutter);
    gap: 1.65rem;
    margin-bottom: 2.25rem;
  }

  .workAreas__nav {
    gap: 0.85rem 1.3rem;
    row-gap: 0.95rem;
  }

  .workAreas__grid {
    padding-inline: var(--page-gutter);
    --gap: 12px;
  }

  section.skills {
    padding-bottom: 4rem;
  }

  .skills > .sectionHeader {
    padding-top: clamp(14.5rem, 38vw, 18rem);
    padding-bottom: 2.5rem;
  }

  .skills__head {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.35rem;
    padding-bottom: 2.5rem;
  }

  .skills__copy {
    padding-left: 0;
    max-width: none;
    font-size: 1.05rem !important;
  }

  .skills__copy,
  .skills__copy * {
    max-width: none;
    font-size: 1.05rem !important;
  }

  .skill,
  .skill--flip {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }

  .skill--flip .skill__text,
  .skill--flip .skill__grid {
    order: unset;
  }

  .skill__copy,
  .skill__copy * {
    max-width: none;
    font-size: 1.05rem !important;
  }

  .skill__copy {
    margin-bottom: 0;
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    line-clamp: unset;
  }

  .skill__text,
  .skill__grid {
    height: auto;
  }

  .skill__text {
    aspect-ratio: auto;
    min-height: 0;
    max-height: none;
  }

  .skill__body {
    flex: 0 0 auto;
  }

  .skill__foot {
    margin-top: 2.25rem;
    padding-top: 0;
  }

  .skill__title {
    font-size: 1.55rem;
  }

  .skill__all {
    font-size: 0.82rem;
  }

  .skill__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: dense;
    grid-auto-rows: auto;
    overflow: visible;
    gap: var(--grid-gap, 6px);
    width: 100%;
    margin: 0;
    padding: 0;
    min-height: 0;
    aspect-ratio: auto;
    scroll-snap-type: none;
  }

  .skill__grid .tile {
    --skill-m-col: min(2, max(1, var(--m-colspan, var(--colspan, 1))));
    --skill-m-row: max(1, var(--m-rowspan, var(--rowspan, 1)));
    grid-column: span var(--skill-m-col) !important;
    grid-row: span var(--skill-m-row) !important;
    aspect-ratio: calc(var(--skill-m-col) * 16 / (var(--skill-m-row) * 9));
    height: auto;
    min-height: 0;
  }

  .skill__grid .tile--hover .tile__meta {
    padding: 0.4rem 0.45rem 0.5rem;
    gap: 0.18rem;
    align-items: center;
    justify-content: center;
    text-align: left;
  }

  .skill__grid .tile--hover .tile__metaInner {
    align-items: flex-start;
    text-align: left;
  }

  .skill__grid .tile--hover .tile__title,
  .skill__grid .tile--hover h3.tile__title {
    font-size: 0.82rem;
    line-height: 1.2;
  }

  .mosaic {
    --gap: 12px;
  }

  .homeAbout__about {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "portrait"
      "copy";
    column-gap: 0;
    row-gap: 2rem;
    padding: clamp(3rem, 9vw, 4.5rem) var(--page-gutter);
  }

  .homeAbout__portrait {
    width: 70%;
    max-width: 17rem;
    aspect-ratio: 1 / 1;
  }

  .homeAbout__copy .homeAbout__body,
  .homeAbout__copy .homeAbout__body * {
    margin-top: 0;
  }

  .homeAbout__cta {
    padding: clamp(3rem, 9vw, 4.5rem) var(--page-gutter);
  }

  .homeAbout__cta::before {
    left: var(--page-gutter);
    right: var(--page-gutter);
  }

  .homeAbout h2 {
    font-size: 2.3rem;
  }

  .homeAbout__body,
  .homeAbout__body * {
    margin-top: 1.15rem;
    font-size: 1.02rem !important;
    line-height: 1.65;
  }

  .homeAbout__link,
  .homeAbout__link * {
    margin-top: 1.65rem;
    font-size: 0.86rem !important;
  }

  .about__intro {
    row-gap: 2rem;
  }

  .about__bio {
    padding-top: 0.75rem;
  }

  .about__lead {
    gap: 1.75rem;
  }

  .about__portrait {
    width: 74%;
    max-width: 19rem;
    aspect-ratio: 4 / 5;
  }

  .about__lead h1 {
    font-size: 2.35rem;
  }

  .about__body p {
    font-size: 1.1rem;
    line-height: 1.65;
  }

  .about__facts,
  .about__stations,
  .about__links {
    margin-top: clamp(3.25rem, 11vw, 4.5rem);
  }

  .about__facts p,
  .about__fact {
    font-size: 1.55rem;
  }

  .about__contact {
    margin-top: 2.75rem;
    padding-top: 1.75rem;
  }

  .about__contactGrid {
    flex-direction: column;
    gap: 1.85rem;
  }

  .about__contactLabel {
    font-size: 0.86rem;
  }

  .about__contactValue,
  .about__contactValue a {
    font-size: 1rem;
  }

  .about__stations h2,
  .about__stations .eyebrow {
    font-size: 0.86rem;
    margin-bottom: 1rem;
  }

  .about__linkRow,
  .about__linkRow * {
    font-size: 0.86rem;
    line-height: 2.1;
  }

  .about__linkRow a {
    display: inline-block;
    margin-right: 1.45rem;
    margin-bottom: 0.45rem;
  }

  .tile--hover .tile__title,
  .tile--hover h3.tile__title {
    font-size: 1.15rem;
  }

  .tile--hover .tile__teaser {
    font-size: 0.86rem;
  }

  .tile--text__eyebrow,
  .tile--text__eyebrow * {
    font-size: 0.86rem !important;
  }

  .tile--text__body,
  .tile--text__body * {
    font-size: 1.55rem !important;
  }

  footer {
    padding: 1.85rem var(--page-gutter) 2.25rem;
  }

  footer .footerBar {
    grid-template-columns: 1fr;
    justify-items: start;
    text-align: left;
    gap: 1.15rem;
  }

  footer .footerCopy,
  footer ul.footerNavi,
  footer ul.footerSocial {
    justify-self: start;
    justify-content: flex-start;
    text-align: left;
  }

  footer ul.footerSocial {
    flex-wrap: wrap;
    gap: 0.75rem 1.35rem;
  }

  footer .footerCopy,
  footer ul.footerSocial a,
  footer ul.footerNavi a {
    font-size: 0.84rem;
  }
}

@media (max-width: 720px) {
  /* Footer bleibt linksbündig (kein Zentrieren) */
  footer .footerBar {
    grid-template-columns: 1fr;
    justify-items: start;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .workAreas__grid {
    --cols: 2;
    --gap: 8px;
    padding-inline: var(--page-gutter);
  }

  .mosaic {
    --cols: 2;
    --gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

	.mosaic .tile {
		--cs: var(--colspan, 1);
		grid-column: span 1;
		grid-row: span 1;
		aspect-ratio: 16 / 9;
	}

	.workAreas .mosaic .tile.tile--span-fill,
	.workAreas .mosaic .tile[data-colspan="2"],
	.workAreas .mosaic .tile[data-colspan="3"],
	.workAreas .mosaic .tile[data-colspan="4"],
	.workAreas .mosaic .tile[data-colspan="5"] {
		grid-column: span 2;
	}

	.mosaic .tile[data-m-colspan] {
		grid-column: span var(--m-colspan) !important;
	}

	.mosaic .tile[data-m-rowspan] {
		grid-row: span var(--m-rowspan) !important;
	}

  .grid--tiles .tile {
    flex: 1 1 calc(50% - 0.4rem);
  }

  .homeAbout__portrait {
    width: 64%;
    max-width: 15rem;
  }

  .about__portrait {
    width: 72%;
    max-width: 17rem;
  }


body.about article,
body.text_only article{
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
}

}

/* CMS-Preview: Grid-Breakpoints an der Preview-Breite, nicht am Viewport */
@container cms-preview (max-width: 960px) {
  .homeAbout {
    grid-template-columns: 1fr;
  }

  .homeAbout__about {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
    column-gap: 1.65rem;
    align-items: start;
  }

  .skill,
  .skill--flip {
    grid-template-columns: 1fr;
  }

  .skill__text,
  .skill__grid {
    height: auto;
  }

  .skill__text {
    aspect-ratio: auto;
    min-height: 0;
    max-height: none;
  }

  .skill__body {
    flex: 0 0 auto;
  }

  .skill__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-flow: dense;
    grid-auto-rows: auto;
    aspect-ratio: auto;
  }

  .skill__grid .tile {
    --skill-m-col: min(2, max(1, var(--m-colspan, var(--colspan, 1))));
    --skill-m-row: max(1, var(--m-rowspan, var(--rowspan, 1)));
    grid-column: span var(--skill-m-col) !important;
    grid-row: span var(--skill-m-row) !important;
    aspect-ratio: calc(var(--skill-m-col) * 16 / (var(--skill-m-row) * 9));
    height: auto;
    min-height: 0;
  }

  .skill__grid .tile--hover .tile__meta {
    padding: 0.4rem 0.45rem 0.5rem;
    gap: 0.18rem;
    align-items: center;
    justify-content: center;
    text-align: left;
  }

  .skill__grid .tile--hover .tile__metaInner {
    align-items: flex-start;
    text-align: left;
  }

  .skill__grid .tile--hover .tile__title,
  .skill__grid .tile--hover h3.tile__title {
    font-size: 0.82rem;
    line-height: 1.2;
  }
}

@container cms-preview (max-width: 900px) {
  .work > .sectionHeader > [class*="Twelfths"],
  .textOnly__content > [class*="Twelfth"],
  .textOnly__inner > [class*="Twelfth"] {
    width: 100%;
    max-width: 100%;
  }

  .workAreas__grid {
    --cols: 2;
    --gap: 10px;
  }

  .mosaic {
    --cols: 2;
    --gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: auto;
    grid-auto-flow: row dense;
  }

  .mosaic .tile {
    --cs: var(--colspan, 1);
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 16 / 9;
  }

  .workAreas .mosaic .tile.tile--span-fill,
  .workAreas .mosaic .tile[data-colspan="2"],
  .workAreas .mosaic .tile[data-colspan="3"],
  .workAreas .mosaic .tile[data-colspan="4"],
  .workAreas .mosaic .tile[data-colspan="5"] {
    grid-column: span 2;
  }

  .mosaic .tile[data-m-colspan] {
    grid-column: span var(--m-colspan) !important;
  }

  .mosaic .tile[data-m-rowspan] {
    grid-row: span var(--m-rowspan) !important;
  }

  .workGrid {
    --cols: 2;
    --gap: 10px;
  }

  .workGrid__cycle {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: auto;
    grid-auto-flow: row;
  }

  .workGrid .tile {
    aspect-ratio: 16 / 9;
  }

  .workGrid__cycle > * {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .workGrid__cycle > .tile[data-colspan="1"],
  .workGrid__cycle > .tile[data-colspan="2"]:not(.tile--text) {
    grid-column: span 1 !important;
  }

  .workGrid__cycle > .tile.tile--text,
  .workGrid__cycle > .tile[data-colspan="3"],
  .workGrid__cycle > .tile[data-colspan="1"].tile--mobile-full,
  .workGrid__cycle > .tile[data-colspan="2"].tile--mobile-full {
    grid-column: 1 / -1 !important;
  }

  .workGrid__cycle--few > .tile:nth-child(1),
  .workGrid__cycle--few > .tile:nth-child(2),
  .workGrid__cycle--few > .tile:nth-child(n + 5) {
    grid-column: 1 / -1 !important;
  }

  .workGrid__cycle--few > .tile:nth-child(3),
  .workGrid__cycle--few > .tile:nth-child(4) {
    grid-column: span 1 !important;
  }

  .workGrid__cycle--few > .tile.tile--mobile-full {
    grid-column: 1 / -1 !important;
  }

  .grid--tiles .tile {
    flex: 1 1 calc(50% - 0.5rem);
  }
}

/* Grid-eigene Breite (CMS-Preview und schmale Collection) */
@container work-grid (max-width: 900px) {
  .workGrid__cycle {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: auto;
    grid-auto-flow: row;
  }

  .workGrid .tile {
    aspect-ratio: 16 / 9;
  }

  .workGrid__cycle > * {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .workGrid__cycle > .tile[data-colspan="1"],
  .workGrid__cycle > .tile[data-colspan="2"]:not(.tile--text) {
    grid-column: span 1 !important;
  }

  .workGrid__cycle > .tile.tile--text,
  .workGrid__cycle > .tile[data-colspan="3"],
  .workGrid__cycle > .tile[data-colspan="1"].tile--mobile-full,
  .workGrid__cycle > .tile[data-colspan="2"].tile--mobile-full {
    grid-column: 1 / -1 !important;
  }

  .workGrid__cycle--few > .tile:nth-child(1),
  .workGrid__cycle--few > .tile:nth-child(2),
  .workGrid__cycle--few > .tile:nth-child(n + 5) {
    grid-column: 1 / -1 !important;
  }

  .workGrid__cycle--few > .tile:nth-child(3),
  .workGrid__cycle--few > .tile:nth-child(4) {
    grid-column: span 1 !important;
  }

  .workGrid__cycle--few > .tile.tile--mobile-full {
    grid-column: 1 / -1 !important;
  }
}

@container work-areas (max-width: 900px) {
  .mosaic {
    --cols: 2;
    --gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: auto;
    grid-auto-flow: row dense;
  }

  .mosaic .tile {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 16 / 9;
  }

  .workAreas .mosaic .tile.tile--span-fill,
  .workAreas .mosaic .tile[data-colspan="2"],
  .workAreas .mosaic .tile[data-colspan="3"],
  .workAreas .mosaic .tile[data-colspan="4"],
  .workAreas .mosaic .tile[data-colspan="5"] {
    grid-column: span 2;
  }

  .mosaic .tile[data-m-colspan] {
    grid-column: span var(--m-colspan) !important;
  }

  .mosaic .tile[data-m-rowspan] {
    grid-row: span var(--m-rowspan) !important;
  }
}

@container cms-preview (max-width: 768px) {
  .homeAbout__about {
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "portrait"
      "copy";
    column-gap: 0;
    row-gap: 2rem;
  }

  .about__contactGrid {
    flex-direction: column;
  }
}

@container cms-preview (max-width: 560px) {
  .workAreas__grid,
  .mosaic {
    --cols: 2;
    --gap: 8px;
  }

  .mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mosaic .tile {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 16 / 9;
  }

  .workAreas .mosaic .tile.tile--span-fill,
  .workAreas .mosaic .tile[data-colspan="2"],
  .workAreas .mosaic .tile[data-colspan="3"],
  .workAreas .mosaic .tile[data-colspan="4"],
  .workAreas .mosaic .tile[data-colspan="5"] {
    grid-column: span 2;
  }

  .mosaic .tile[data-m-colspan] {
    grid-column: span var(--m-colspan) !important;
  }

  .mosaic .tile[data-m-rowspan] {
    grid-row: span var(--m-rowspan) !important;
  }
}

@media (max-width: 960px) {
  .skillLightbox {
    --lb-gutter-x: 2.5rem;
    padding: 3.5rem var(--lb-gutter-x) 1.5rem;
  }

  .skillLightbox__nav::before {
    width: 1.15rem;
    height: 1.15rem;
  }

  .workGrid__cycle > .tile[data-colspan="1"]:not(.tile--text):not(.tile--mobile-full) .tile__meta,
  .workGrid__cycle > .tile[data-colspan="2"]:not(.tile--text):not(.tile--mobile-full) .tile__meta,
  .workAreas .mosaic > .tile:not(.tile--span-fill):not([data-colspan="2"]):not([data-colspan="3"]):not([data-colspan="4"]):not([data-colspan="5"]) .tile__meta {
    padding: 0.4rem 0.45rem 0.5rem;
    gap: 0.16rem;
    align-items: center;
    justify-content: center;
    text-align: left;
  }

  .workGrid__cycle > .tile[data-colspan="1"]:not(.tile--text):not(.tile--mobile-full) .tile__metaInner,
  .workGrid__cycle > .tile[data-colspan="2"]:not(.tile--text):not(.tile--mobile-full) .tile__metaInner,
  .workAreas .mosaic > .tile:not(.tile--span-fill):not([data-colspan="2"]):not([data-colspan="3"]):not([data-colspan="4"]):not([data-colspan="5"]) .tile__metaInner {
    align-items: flex-start;
    text-align: left;
  }

  .workGrid__cycle > .tile[data-colspan="1"]:not(.tile--text):not(.tile--mobile-full) .tile__title,
  .workGrid__cycle > .tile[data-colspan="2"]:not(.tile--text):not(.tile--mobile-full) .tile__title,
  .workAreas .mosaic > .tile:not(.tile--span-fill):not([data-colspan="2"]):not([data-colspan="3"]):not([data-colspan="4"]):not([data-colspan="5"]) .tile__title {
    font-size: 0.82rem;
    line-height: 1.2;
    display: block;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
  }

  .workGrid__cycle > .tile[data-colspan="1"]:not(.tile--text):not(.tile--mobile-full) .tile__teaser,
  .workGrid__cycle > .tile[data-colspan="2"]:not(.tile--text):not(.tile--mobile-full) .tile__teaser,
  .workAreas .mosaic > .tile:not(.tile--span-fill):not([data-colspan="2"]):not([data-colspan="3"]):not([data-colspan="4"]):not([data-colspan="5"]) .tile__teaser {
    font-size: 0.56rem;
    letter-spacing: 0.1em;
  }

  .workGrid__cycle > .tile[data-colspan="1"]:not(.tile--text):not(.tile--mobile-full) .tile__cta,
  .workGrid__cycle > .tile[data-colspan="2"]:not(.tile--text):not(.tile--mobile-full) .tile__cta,
  .workAreas .mosaic > .tile:not(.tile--span-fill):not([data-colspan="2"]):not([data-colspan="3"]):not([data-colspan="4"]):not([data-colspan="5"]) .tile__cta {
    font-size: 0.62rem;
    letter-spacing: 0.1em;
  }

  .workGrid__cycle > .tile[data-colspan="1"]:not(.tile--text):not(.tile--mobile-full):hover::after,
  .workGrid__cycle > .tile[data-colspan="1"]:not(.tile--text):not(.tile--mobile-full).is-active::after,
  .workGrid__cycle > .tile[data-colspan="2"]:not(.tile--text):not(.tile--mobile-full):hover::after,
  .workGrid__cycle > .tile[data-colspan="2"]:not(.tile--text):not(.tile--mobile-full).is-active::after,
  .workAreas .mosaic > .tile:not(.tile--span-fill):not([data-colspan="2"]):not([data-colspan="3"]):not([data-colspan="4"]):not([data-colspan="5"]).is-playing::after,
  .workAreas .mosaic > .tile:not(.tile--span-fill):not([data-colspan="2"]):not([data-colspan="3"]):not([data-colspan="4"]):not([data-colspan="5"]).is-hoverplay::after,
  .workAreas .mosaic > .tile:not(.tile--span-fill):not([data-colspan="2"]):not([data-colspan="3"]):not([data-colspan="4"]):not([data-colspan="5"]):hover::after {
    background: color-mix(in srgb, var(--primary) 78%, transparent);
  }
}
