/* =========================================================
   tremendous4 Films – Startseite
   Basis, Header, Intro, Menü, Footer und Projektgalerie
   ========================================================= */


/* =========================================================
   Variablen
   ========================================================= */

:root {
  --color-background: #ffffff;
  --font-light: "Jost-300-Light", sans-serif;
  --font-book: "Jost-400-Book", sans-serif;
  --font-medium: "Jost-500-Medium", sans-serif;
  --color-text: #707070;
  --color-text-dark: #404040;
  --color-border: #b8b8b8;
  --color-border-light: #ececec;
  --color-hover: #fafafa;

  --color-status-realisiert: #707070;
  --color-status-vorbereitung: #95805b;
  --color-status-entwicklung: #c3c3c3;

  --content-width: 1200px;
}


/* =========================================================
   Schriften
   ========================================================= */

@font-face {
  font-family: "Jost-300-Light";
  src:
    url("../fonts/Jost-300-Light.ttf") format("truetype"),
    url("../fonts/Jost-300-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jost-400-Book";
  src:
    url("../fonts/Jost-400-Book.ttf") format("truetype"),
    url("../fonts/Jost-400-Book.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Jost-500-Medium";
  src:
    url("../fonts/Jost-500-Medium.ttf") format("truetype"),
    url("../fonts/Jost-500-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}


/* =========================================================
   Reset und Grundlayout
   ========================================================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;

  /*
   * "proximity" ist weniger aggressiv als "mandatory".
   * Dadurch lässt sich die lange Projektgalerie normal scrollen.
   */
  scroll-snap-type: y proximity;

  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  margin: 0;

  overflow-x: hidden;

  background-color: var(--color-background);
  color: var(--color-text);

  font-family: "Jost-300-Light", sans-serif;
  font-size: 0.9rem;
  font-weight: normal;
  line-height: 1.44rem;
  letter-spacing: 0;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

[hidden] {
  display: none !important;
}


/* =========================================================
   Barrierefreie Hilfsklassen
   ========================================================= */

.visually-hidden {
  position: absolute !important;

  width: 1px !important;
  height: 1px !important;

  margin: -1px !important;
  padding: 0 !important;

  overflow: hidden !important;

  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;

  white-space: nowrap !important;
  border: 0 !important;
}

.gtm-noscript {
  display: none;
  visibility: hidden;

  width: 0;
  height: 0;

  border: 0;
}


/* =========================================================
   Allgemeine Typografie und Links
   ========================================================= */

a {
  display: inline-block;

  color: inherit;

  font-family: "Jost-300-Light", sans-serif;
  text-decoration: none;
}

a:hover {
  cursor: pointer;
}

p a {
  color: #000000;
}

h2 {
  font-family: var(--font-book);
  font-size: 1.5rem;
  font-weight: normal;
  letter-spacing: 1.27px;
}

h2 + p,
p + p {
  margin-top: 20px;
}

@media screen and (min-width: 48em) {
  h2 + p,
  p + p {
    margin-top: 24px;
  }
}


/* =========================================================
   Allgemeine Seitenbreite
   ========================================================= */

.wrapper {
  width: 93%;
  max-width: 100%;

  margin: 0 auto;
  padding: 0 20px;
}

main {
  display: block;
  padding-top: 64px;
}

@media screen and (min-width: 48em) {
  .wrapper {
    width: 82%;
  }

  main {
    padding-top: 129px;
  }
}


/* =========================================================
   Menüschalter

   Nicht mit display:none ausblenden, damit er für
   Tastatur und Screenreader erreichbar bleibt.
   ========================================================= */

#menu-switch {
  position: absolute;

  width: 1px;
  height: 1px;

  margin: -1px;
  padding: 0;

  overflow: hidden;

  opacity: 0;
  clip-path: inset(50%);

  white-space: nowrap;
  border: 0;
}


/* =========================================================
   Header

   Es wird ausschließlich das .visible-System verwendet,
   passend zum JavaScript der aktuellen Startseite.
   ========================================================= */

header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;

  width: 100%;

  background-color: rgba(255, 255, 255, 0.95);

  will-change: transform, opacity;
}

/*
 * Ohne JavaScript bleibt der Header sichtbar.
 * Nur bei vorhandener .js-Klasse wird er zunächst versteckt.
 */

.js header {
  transform: translateY(-100%);

  opacity: 0;
  pointer-events: none;

  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

.js header.visible {
  transform: translateY(0);

  opacity: 1;
  pointer-events: auto;
}

header .wrapper {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-flow: row wrap;
}

header .wrapper .logo {
  max-width: 215px;
  padding: 30px 0;
}

header .wrapper .logo img {
  display: block;
}

@media screen and (min-width: 48em) {
  header .wrapper .logo {
    max-width: 343px;
    padding: 50px 0;
  }
}


/* =========================================================
   Elemente beim Einblenden des Headers
   ========================================================= */

.js header .logo,
.js header label[for="menu-switch"] {
  transform: translateY(-20px);

  opacity: 0;

  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.js header.visible .logo {
  transform: translateY(0);

  opacity: 1;

  transition-delay: 0.1s;
}

.js header.visible label[for="menu-switch"] {
  transform: translateY(0);

  opacity: 1;

  transition-delay: 0.2s;
}


/* =========================================================
   Vollbild-Menü
   ========================================================= */

header nav {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;

  visibility: hidden;

  width: 100%;
  height: 100vh;
  height: 100dvh;

  overflow-y: auto;
  overflow-x: hidden;

  background-color: #ffffff;

  opacity: 0;

  transition:
    opacity 0.25s ease,
    visibility 0s linear 0.25s;
}

#menu-switch:checked + header nav {
  visibility: visible;

  opacity: 1;

  transition:
    opacity 0.5s ease,
    visibility 0s linear 0s;
}

header nav ul {
  margin: 0;
  padding: 11px 0 0;

  list-style: none;
}

@media screen and (min-width: 48em) {
  header nav ul {
    padding-top: 21px;
  }
}


/* =========================================================
   Menü-Icon
   ========================================================= */

label[for="menu-switch"] {
  position: relative;

  display: block;

  width: 32px;
  height: 32px;

  overflow: hidden;

  cursor: pointer;
  text-indent: 100%;
  white-space: nowrap;
}

label[for="menu-switch"] span,
label[for="menu-switch"] span::before,
label[for="menu-switch"] span::after {
  position: absolute;

  display: block;

  width: 4px;
  height: 4px;

  border-radius: 50%;
  background-color: #000000;
}

label[for="menu-switch"] span {
  top: 50%;
  left: 50%;

  transform: translate(-50%, -50%);

  transition:
    width 0.35s ease,
    height 0.35s ease,
    border-radius 0.35s ease;
}

label[for="menu-switch"] span::before,
label[for="menu-switch"] span::after {
  content: "";

  top: 50%;

  opacity: 1;

  transition:
    transform 0.25s ease,
    opacity 0.1s ease;
}

label[for="menu-switch"] span::before {
  transform: translate(-8px, -50%);
}

label[for="menu-switch"] span::after {
  transform: translate(8px, -50%);
}

#menu-switch:checked + header .wrapper label {
  position: absolute;
  right: 20px;
  z-index: 11;
}

#menu-switch:checked + header .wrapper label span {
  width: 16px;
  height: 16px;

  border-radius: 50%;
}

#menu-switch:checked + header .wrapper label span::before {
  transform: translate(-20px, -50%);

  opacity: 0;
}

#menu-switch:checked + header .wrapper label span::after {
  transform: translate(28px, -50%);

  opacity: 0;
}

#menu-switch:focus-visible + header label[for="menu-switch"] {
  outline: 2px solid #707070;
  outline-offset: 4px;
}


/* =========================================================
   Menülinks
   ========================================================= */

.menu {
  display: flex;
  flex-direction: column;
  align-items: center;

  margin-bottom: 25px;
  padding: 150px 0;
}

.menu > a {
  position: relative;

  width: fit-content;

  margin: 5px 0;
  padding: 20px 0;

  color: var(--color-text);

  font-size: 1.5rem;
  font-weight: normal;
  letter-spacing: 1.27px;
  text-align: center;
}

.menu > a::after {
  content: "";

  position: absolute;
  bottom: 12px;
  left: 50%;

  display: block;

  width: 0;
  height: 1px;

  background-color: #000000;

  transition:
    width 0.3s ease,
    left 0.3s ease;
}

.menu > a:hover::after {
  left: 0;
  width: 100%;
}


/* =========================================================
   Menü-Einblendanimation
   ========================================================= */

#menu-switch:checked + header .menu > a,
#menu-switch:checked
  + header
  .menu
  .language-switcher-language-url,
#menu-switch:checked + header .menu .icony {
  animation: menu-in 0.65s both;
}

#menu-switch:checked + header .menu > a:nth-child(1) {
  animation-delay: 0.1s;
}

#menu-switch:checked + header .menu > a:nth-child(2) {
  animation-delay: 0.2s;
}

#menu-switch:checked + header .menu > a:nth-child(3) {
  animation-delay: 0.3s;
}

#menu-switch:checked
  + header
  .menu
  .language-switcher-language-url {
  animation-delay: 0.4s;
}

#menu-switch:checked + header .menu .icony {
  animation-delay: 0.5s;
}

@keyframes menu-in {
  from {
    transform: translateX(-1em);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}


/* =========================================================
   Sprachauswahl
   ========================================================= */

.switcher {
  display: flex;
  justify-content: center;

  margin: 0;
  padding: 40px 0 15px;

  text-transform: uppercase;
}

.switcher__item {
  position: relative;
  list-style: none;
}

/*
 * Nicht global .is-active blockieren.
 * Der EN-Link innerhalb des aktiven Listeneintrags muss
 * weiterhin anklickbar bleiben.
 */

.switcher .is-active {
  cursor: default;
  text-decoration: none;
}

.switcher .is-active a {
  pointer-events: auto;
  cursor: pointer;
}

.links a {
  position: relative;
}

.links a::after {
  content: "";

  position: absolute;
  bottom: -4px;
  left: 50%;

  display: block;

  width: 0;
  height: 1px;

  background-color: #000000;

  transition:
    width 0.3s ease,
    left 0.3s ease;
}

.links a:hover::after {
  left: 0;
  width: 100%;
}


/* =========================================================
   Social-Media-Icon
   ========================================================= */

.icony__item {
  padding: 27px 10px;
  vertical-align: top;
}


/* =========================================================
   Intro

   Keine globale section-Regel. Dadurch wird der
   Projektbereich nicht als 100vw-Flexbox behandelt.
   ========================================================= */

#intro {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  width: 100%;
  min-height: 100vh;
  min-height: 100svh;

  scroll-snap-align: start;

  background-color: #000000;
  color: #ffffff;

  text-align: center;

  pointer-events: none;

  transition:
    opacity 0.4s ease-out,
    transform 0.4s ease-out;
}

.logo-start img {
  width: min(72vw, 700px);
  max-width: 700px;
}

.logo-start {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}


/* =========================================================
   Intro-Pfeil
   ========================================================= */

.scroll-arrow-container {
  position: absolute;
  bottom: 40px;
  z-index: 10000;

  display: flex;
  align-items: center;
  justify-content: center;

  color: inherit;

  cursor: pointer;
  pointer-events: auto;

  text-decoration: none;

  animation: bounce 1.5s infinite;
}

.scroll-arrow-container:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 8px;
}

.scroll-arrow {
  width: 22px;
  height: 22px;
  opacity: 0.9;

  border-right: 3px solid #ffffff;
  border-bottom: 3px solid #ffffff;

  transform: rotate(45deg);
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(10px);
  }

  60% {
    transform: translateY(5px);
  }
}

@media screen and (max-width: 768px) {
  #intro .logo-start img {
    max-width: 80%;
  }
}

@media screen and (max-width: 480px) {
  #intro .logo-start img {
    max-width: 90%;
  }
}


/* =========================================================
   Footer
   ========================================================= */

.sheet__footer {
  position: relative;

  margin: 105px 0 5px;
  padding: 80px 0;

  text-align: center;
}

.footie > a,
.footie > span,
.footie-mobile > a,
.footie-mobile > span {
  margin: 28px 4px;
  color: inherit;
}

.footie > a,
.footie-mobile > a {
  position: relative;

  font-weight: normal;
}

.footie > a::after,
.footie-mobile > a::after {
  content: "";

  position: absolute;
  bottom: 0;
  left: 50%;

  display: block;

  width: 0;
  height: 1px;

  background-color: #000000;

  transition:
    width 0.3s ease,
    left 0.3s ease;
}

.footie > a:hover::after,
.footie-mobile > a:hover::after {
  left: 0;
  width: 100%;
}

.contact p,
.footie a,
.footie-mobile a {
  line-height: 1.8rem;
}

.contact-logo {
  display: block;

  width: 50px;

  margin: 0 auto;
  padding: 0 0 14px;
}

.contact-logo img {
  width: 100%;
}

@media screen and (min-width: 48em) {
  .footie-mobile {
    display: none;
  }
}

@media screen and (max-width: 47.999em) {
  .footie {
    display: none;
  }
}

@media screen and (max-width: 1023px) {
  .contact-logo-wrap {
    flex-basis: 100%;
    max-width: 100%;
  }
}


/* =========================================================
   Hauptbereich und Einblendeanimation
   ========================================================= */

#main {
  display: block;

  width: 100%;

  scroll-margin-top: 90px;
  scroll-snap-align: start;

  padding:
    clamp(35px, 6vw, 70px)
    0
    clamp(80px, 10vw, 130px);
}

.sheet__content {
  opacity: 1;
  transform: none;
}

.js .sheet__content {
  transform:
    translate3d(0, 140px, 0)
    scale(0.98);

  transform-origin: center top;
  backface-visibility: hidden;

  opacity: 0;
  will-change: transform, opacity;

  transition:
    transform 1.2s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 1s ease;
}

.js .sheet__content.main-visible {
  transform:
    translate3d(0, 0, 0)
    scale(1);

  opacity: 1;
}


/* =========================================================
   Projektbereich
   ========================================================= */

.projects {
  width: 100%;
  max-width: var(--content-width);

  margin: 0 auto;
  padding: 0 20px;
}


/* =========================================================
   Projektfilter
   ========================================================= */

.projects-filter {
  display: none;
}

.js .projects-filter {
  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 10px;

  width: 100%;

  margin:
    0
    0
    clamp(55px, 8vw, 90px);

  padding: 0;
}

.projects-filter__button {
  appearance: none;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  gap: 8px;

  min-height: 44px;
  padding: 9px 15px;

  border: 1px solid var(--color-border);
  border-radius: 4px;

  background-color: #ffffff;
  color: var(--color-text);

  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;

  box-shadow: none;
  cursor: pointer;
  pointer-events: auto;

  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    color 160ms ease;
}

.projects-filter__button:hover {
  border-color: #777777;
  background-color: var(--color-hover);
  color: var(--color-text-dark);
}

.projects-filter__button.is-active,
.projects-filter__button[aria-pressed="true"] {
  border-color: var(--color-text);
  background-color: var(--color-text);
  color: #ffffff;

  pointer-events: auto;
}

.projects-filter__button:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 3px;
}

.projects-filter__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 auto;

  min-width: 21px;
  height: 21px;
  padding: 0 6px;

  border-radius: 20px;
  background-color: rgba(112, 112, 112, 0.1);

  font-size: 0.72rem;
  line-height: 1;
}

.projects-filter__button.is-active
  .projects-filter__count,
.projects-filter__button[aria-pressed="true"]
  .projects-filter__count {
  background-color: rgba(255, 255, 255, 0.18);
}


/* =========================================================
   Projekt-Grid

   Desktop: drei Projekte pro Reihe
   Tablet: zwei Projekte pro Reihe
   Smartphone: ein Projekt pro Reihe
   ========================================================= */

.projects .category {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  column-gap: clamp(20px, 2.2vw, 32px);
  row-gap: clamp(48px, 6vw, 76px);

  width: 100%;
  max-width: none;

  margin: 0;
  padding: 0;
}


/* =========================================================
   Projektkarte
   ========================================================= */

.projects .project-card {
  min-width: 0;

  margin: 0;
  padding: 0;

  animation: project-card-in 280ms ease both;
}

.projects .project-card__link {
  display: block;

  color: inherit;
  text-decoration: none;
}

.projects .project-card__link:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 5px;
}

.projects .categoryteaser {
  position: relative;

  width: 100%;
  aspect-ratio: 60 / 85;

  overflow: hidden;

  background-color: #f4f4f4;
}

.projects .categoryteaser.border,
.projects .categoryteaser#border,
#border {
  border: 1px solid var(--color-border-light);
}

.projects .project_inner_wrap {
  position: relative;

  width: 100%;
  height: 100%;
}

.projects .project_inner_wrap img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transform: scale(1);

  transition:
    transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.projects .project_inner_wrap::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  background-color: rgba(0, 0, 0, 0);

  transition:
    background-color 300ms ease;
}

.projects
  .project-card__link:hover
  .project_inner_wrap img {
  transform: scale(1.018);
}

.projects
  .project-card__link:hover
  .project_inner_wrap::after {
  background-color: rgba(0, 0, 0, 0.08);
}


/* Keine zusätzliche Statuslinie unter den Bildern */

.projects .project-card .categoryteaser::before {
  content: none;
  display: none;
}


/* =========================================================
   Projekttitel und Status
   ========================================================= */

.projects .project-card__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;

  gap: 15px;

  padding: 13px 1px 0;
}

.projects .project-card__title {
  min-width: 0;
  margin: 0;

  color: #646464;

  font-family: var(--font-book);
  font-size: 0.88rem;
  font-weight: normal;
  line-height: 1.45;
}

.projects .project-card__status {
  display: inline-flex;
  align-items: center;

  flex: 0 0 auto;

  gap: 7px;

  margin: 2px 0 0;

  color: #8b8b8b;

  font-family: var(--font-light);
  font-size: 0.68rem;
  font-weight: normal;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-align: right;
  text-transform: uppercase;
}

.projects .project-card__status::before {
  content: "";

  flex: 0 0 auto;

  width: 6px;
  height: 6px;

  border-radius: 50%;
}

.projects
  .project-card[data-status="realisiert"]
  .project-card__status::before {
  background-color: var(--color-status-realisiert);
}

.projects
  .project-card[data-status="vorbereitung"]
  .project-card__status::before {
  background-color: var(--color-status-vorbereitung);
}

.projects
  .project-card[data-status="entwicklung"]
  .project-card__status::before {
  background-color: var(--color-status-entwicklung);
}

@keyframes project-card-in {
  from {
    transform: translateY(10px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}


/* =========================================================
   Kartenanimation
   ========================================================= */

@keyframes project-card-in {
  from {
    transform: translateY(10px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}


/* =========================================================
   Tablet
   ========================================================= */

@media screen and (max-width: 820px) {
  .projects .category {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }
}


/* =========================================================
   Smartphone
   ========================================================= */

@media screen and (max-width: 560px) {
  #main {
    padding-top: 25px;
  }

  .projects {
    padding-right: 10px;
    padding-left: 10px;
  }

  /* Vier gleich große Buttons im 2×2-Raster */

  .js .projects-filter {
    display: grid;

    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 8px;

    width: 100%;

    margin-bottom: 50px;
    padding: 0;

    overflow: visible;
  }

  .projects-filter__button,
  .projects-filter__button:first-child {
    grid-column: auto;

    width: 100%;
    min-width: 0;
    height: 72px;

    padding: 8px 10px;

    white-space: normal;
  }

  .projects .category {
    grid-template-columns: 1fr;
    row-gap: 44px;
  }

  .projects .project-card__meta {
    padding-top: 12px;
  }

  .js .sheet__content {
    transform:
      translate3d(0, 80px, 0)
      scale(0.99);
  }
}


/* =========================================================
   Sehr schmale Smartphones
   ========================================================= */

@media screen and (max-width: 360px) {
  .projects-filter__button {
    padding-right: 7px;
    padding-left: 7px;

    font-size: 0.78rem;
  }

  .projects-filter__count {
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
  }
}


/* =========================================================
   Reduzierte Bewegung
   ========================================================= */

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

  .js header,
  .js header .logo,
  .js header label[for="menu-switch"],
  header nav,
  label[for="menu-switch"] span,
  label[for="menu-switch"] span::before,
  label[for="menu-switch"] span::after,
  .scroll-arrow-container,
  .js .sheet__content,
  .projects .project-card,
  .projects .project_inner_wrap img,
  .projects .project_inner_wrap::after,
  .projects-filter__button {
    animation: none !important;
    transition: none !important;
  }

  .projects
    .project-card__link:hover
    .project_inner_wrap img {
    transform: none;
  }
}


/* =========================================================
   Scrollbalken ausblenden
   ========================================================= */

html.home-page {
  scrollbar-width: none;      /* Firefox */
  -ms-overflow-style: none;   /* ältere Microsoft-Browser */
}

html.home-page::-webkit-scrollbar,
html.home-page body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;              /* Safari, Chrome */
}


/* =========================================================
   Startseite – einheitlicher mobiler Inhaltsrand

   Nur die Projektübersicht wird angepasst.
   Intro, Header und Desktop bleiben unverändert.
   ========================================================= */

@media screen and (max-width: 700px) {
  html.home-page {
    --home-mobile-content-gutter: 32px;
  }

  /*
   * Der Projektbereich erhält links und rechts
   * jeweils 32px Abstand zum Displayrand.
   *
   * Die Berechnung funktioniert auch dann, wenn
   * .projects in einem bereits eingerückten Element liegt.
   */

  html.home-page .projects {
    width:
      calc(
        100vw
        - var(--home-mobile-content-gutter)
        - var(--home-mobile-content-gutter)
      );

    max-width: none;

    margin-right:
      calc(
        50%
        - 50vw
        + var(--home-mobile-content-gutter)
      );

    margin-left:
      calc(
        50%
        - 50vw
        + var(--home-mobile-content-gutter)
      );

    padding-right: 0;
    padding-left: 0;

    box-sizing: border-box;
  }

  /*
   * Filter und Projekt-Grid nutzen die vollständige
   * Breite des gemeinsamen Projektbereichs.
   */

  html.home-page .projects-filter,
  html.home-page .projects .category {
    width: 100%;
    max-width: none;

    margin-right: 0;
    margin-left: 0;

    padding-right: 0;
    padding-left: 0;
  }

  /*
   * Titel und Status beginnen exakt an der Bildkante.
   */

  html.home-page .projects .project-card__meta {
    padding-right: 0;
    padding-left: 0;
  }
}