/* =====================================================
   MARKUS GRIMM – USER.CSS
   Cassiopeia / Joomla

   ===================================================== */

/* =====================================================
   GRUNDLAGE
   ===================================================== */

:root {
  --mg-bg: #ece9e4;
  --mg-bg-light: #f1eee9;
  --mg-bg-soft: #f6f3ee;
  --mg-text: #111111;
  --mg-text-soft: rgba(0,0,0,0.68);
  --mg-text-muted: rgba(0,0,0,0.52);
  --mg-line: rgba(0,0,0,0.10);
}

html,
body {
  background: var(--mg-bg);
  color: var(--mg-text);
}

body {
  font-family: Helvetica, Arial, sans-serif;
}

.com-content-article,
.com-content-article .article-info,
.item-page {
  margin: 0;
  padding: 0;
}

.com-content-article > div,
.item-page > div {
  margin-top: 0;
}


/* =====================================================
   HERO
   ===================================================== */

.mg-hero {
  position: relative;
  height: 95vh;
  min-height: 620px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: -72px;
  padding-top: 72px;
  background-image:
    linear-gradient(
      to right,
      rgba(0,0,0,0.56),
      rgba(0,0,0,0.14)
    ),
    url('../../../../../images/startseite/hero-front.jpg');
  background-size: cover;
  background-position: 62% 4%;
  display: flex;
  align-items: center;
}

.mg-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding-left: 7.2vw;
  padding-right: 8vw;
  color: white;
  transform: translateY(-4vh);
}

.mg-hero h1 {
  font-family: Georgia, serif;
  font-size: clamp(3rem, 4.5vw, 4.7rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.025em;
  margin-bottom: 1.9rem;
  white-space: nowrap;
}

.mg-claim {
  font-family: Helvetica, Arial, sans-serif;
  font-size: clamp(1.55rem, 2.25vw, 2.65rem);
  font-weight: 300;
  letter-spacing: 0.065em;
  line-height: 1.15;
  opacity: 0.92;
  margin-bottom: 1.25rem;
}

.mg-subclaim {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  opacity: 0.76;
}

@media (max-height: 800px) {
  .mg-hero {
    height: 90vh;
    min-height: 560px;
  }

  .mg-hero-content {
    transform: translateY(-2vh);
  }
}

/* =====================================================
   HERO-LOGO STATT TEXT-H1 – display: none
   ===================================================== */

/* ursprüngliche H1 ausblenden */

/*.mg-hero h1 {
  display: none;
}*/

/* Logo-Container */
/*.mg-hero-logo {
  width: min(560px, 82vw);
  margin-bottom: 2.2rem;
}*/

/* PNG */
/*.mg-hero-logo img {
  display: block;
  width: min(560px, 82vw);
  height: auto;
}*/


/* optional: etwas kleiner auf kleineren Displays */
@media (max-width: 900px) {
  .mg-hero-logo {
    width: min(360px, 70vw);
    margin-bottom: 1.8rem;
  }
}

/* =====================================================
   SIGNATUR / LOGO IM INTROBEREICH
   ===================================================== */

.mg-signatur {
  text-align: center;
  margin: -1.2rem auto 4.2rem auto;
  padding-left: 6vw;
  padding-right: 6vw;
}

.mg-signatur img {
  display: inline-block;
  width: min(300px, 52vw);
  height: auto;
  opacity: 0.82;
}

/* =====================================================
   HEADER / NAVIGATION
   ===================================================== */

.container-header,
.container-header .container-nav,
.container-header .grid-child,
.container-header .navbar,
.container-header nav,
.container-header .mod-menu {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: none !important;
}

.container-header {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  min-height: 0 !important;
}

.container-header .container-nav {
  justify-content: center;
  padding-top: 1.35rem;
  padding-bottom: 0;
}

.navbar-brand {
  display: none !important;
}

.mod-menu {
  gap: 2.05rem;
}

.container-header .mod-menu > li > a {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-bottom: none !important;
  transition:
    color 0.22s ease,
    text-decoration-color 0.22s ease;
}

/* Startseite: hell auf dunklem Hero */

.mg-startseite .container-header .mod-menu > li > a {
  color: rgba(255,255,255,0.78) !important;
}

.mg-startseite .container-header .mod-menu > li > a:hover,
.mg-startseite .container-header .mod-menu > li.active > a,
.mg-startseite .container-header .mod-menu > li.current > a {
  color: rgba(255,255,255,1) !important;
  text-decoration-line: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 0.38rem !important;
  text-decoration-color: rgba(255,255,255,0.78) !important;
}

/* Unterseiten: dunkel auf hellem Grund */

.mg-unterseite .container-header .mod-menu > li > a {
  color: rgba(0,0,0,0.48) !important;
  text-decoration-line: underline !important;
  text-decoration-thickness: 1px !important;
  text-underline-offset: 0.38rem !important;
  text-decoration-color: transparent !important;
}

.mg-unterseite .container-header .mod-menu > li > a:hover,
.mg-unterseite .container-header .mod-menu > li.active > a,
.mg-unterseite .container-header .mod-menu > li.current > a {
  color: rgba(0,0,0,0.92) !important;
  text-decoration-color: rgba(0,0,0,0.62) !important;
}


/* =====================================================
   INTROBEREICH STARTSEITE
   ===================================================== */

.mg-intro {
  width: 100vw !important;

  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;

  padding-left: 0 !important;
  padding-right: 0 !important;

  background: var(--mg-bg-light);
  color: var(--mg-text);

  padding-top: 3.6rem;
  padding-bottom: 3.8rem;
}

.mg-intro-text {
  max-width: 1080px;
  margin: 0 auto 4.2rem auto;

  padding-left: 6vw;
  padding-right: 6vw;

  text-align: center;
}

.mg-intro-text p {
  font-family: Georgia, serif;
  font-size: clamp(1.2rem, 1.65vw, 1.75rem);
  color: rgba(0,0,0,0.64);
  line-height: 1.72;
  font-weight: 400;
}


/* Drei Bereiche */

.mg-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4.6rem;

  max-width: 1320px;
  margin: 0 auto;

  padding-left: 6vw;
  padding-right: 6vw;
}

.mg-column {
  padding: 0 2.6rem 0 0;
  border-right: 1px solid var(--mg-line);
}

.mg-column + .mg-column {
  padding-left: 2.6rem;
}

.mg-column:last-child {
  border-right: none;
}

.mg-column h2 {
  font-family: Georgia, serif;
  font-size: clamp(2.35rem, 3.1vw, 3.15rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 2rem;
}

.mg-column p {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1.02rem;
  line-height: 1.85;
  color: rgba(0,0,0,0.84);
  margin-bottom: 3rem;
}

.mg-column a {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(0,0,0,0.76);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.30);
  padding-bottom: 0.35rem;
  transition:
    color 0.22s ease,
    border-color 0.22s ease;
}

.mg-column a:hover {
  color: #000;
  border-bottom-color: rgba(0,0,0,0.72);
}


/* Zitat */

.mg-quote {
  margin-top: 2.4rem;
  text-align: center;
  padding-left: 6vw;
  padding-right: 6vw;
}

.mg-quote p {
  font-family: Georgia, serif;
  font-size: clamp(1.45rem, 1.9vw, 2.2rem);
  font-style: italic;
  color: rgba(0,0,0,0.56);
  opacity: 0.92;
}


/* =====================================================
   UNTERSEITEN
   ===================================================== */

.mg-page {
  background: var(--mg-bg-light);
  color: var(--mg-text);
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-top: 10rem;
  padding-bottom: 6.5rem;
}

.mg-unterseite .mg-page {
  margin-top: -48px;
  padding-top: 10.5rem;
}

/* Header */

.mg-page-header,
.mg-page-text {
  width: min(1100px, calc(100% - 3rem));
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

.mg-page-header {
  margin-bottom: 2rem;
}

.mg-page-kicker {
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: inherit;
  font-weight: 400;
  color: #7d7872;
  margin-bottom: 2rem;
}

.mg-page-header h1 {
  font-family: Georgia, serif;
  font-size: clamp(2.5rem, 3.8vw, 4.3rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.005em;
  max-width: 1180px;
  margin-bottom: 2.2rem;
}

.mg-page-intro,
.mg-page-lead {
  font-family: Georgia, serif;
  font-size: clamp(1.18rem, 1.42vw, 1.52rem);
  line-height: 1.78;
  color: rgba(0,0,0,0.66);
  max-width: 980px;
}

.mg-page-text {
/*  max-width: 980px;*/'
  margin-bottom: 5rem;
  position: relative;
  z-index: 1;
}

.mg-page-text p {
  margin-bottom: 0.45rem;
  line-height: 1.85;
}

/* =====================================================
   PROJEKTE AUF UNTERSEITEN
   ===================================================== */

.mg-project {
  display: grid;
  grid-template-columns: 0.68fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1380px;
  margin: 0 auto 4.5rem auto;
  padding-left: 8vw;
  padding-right: 8vw;
}

/* =====================================================
   PROJEKTBILDER – EINHEITLICHER RAHMEN
   ===================================================== */


.mg-project-image {
  aspect-ratio: 4 / 5;
  max-width: 340px;
  overflow: hidden;
  background: rgba(0,0,0,0.04);
}

.mg-project-image img {
  width: 100%;
  height: 100%;
  max-width: 480px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.mg-project-category {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.44);
  margin-bottom: 1.55rem;
}

.mg-project-text h2 {
  font-family: Georgia, serif;
  font-size: clamp(2rem, 2.85vw, 3.45rem);
  font-weight: 400;
  line-height: 1.08;
  margin-bottom: 2rem;
}

.mg-project-text p {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 1.03rem;
  line-height: 1.86;
  color: rgba(0,0,0,0.80);
  max-width: 680px;
  margin-bottom: 2rem;
}

.mg-project-text a {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(0,0,0,0.48);
  transition:
    color 0.22s ease,
    text-decoration-color 0.22s ease;
}

.mg-project-text a:hover {
  color: rgba(0,0,0,0.94);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.30rem;
  text-decoration-color: rgba(0,0,0,0.70);
}


/* =====================================================
   SCHLUSSZITAT / CLOSING
   ===================================================== */

.mg-page-closing {
  margin-top: 3.5rem;
  padding-left: 8vw;
  padding-right: 8vw;
  text-align: center;
}

.mg-page-closing p {
  font-family: Georgia, serif;
  font-size: clamp(1.28rem, 1.72vw, 1.9rem);
  font-style: italic;
  color: rgba(0,0,0,0.56);
}


/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 900px) {

  .container-header .container-nav {
    justify-content: flex-start;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .mod-menu {
    gap: 1.2rem;
  }

  .container-header .mod-menu > li > a {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
  }

  .mg-hero {
    min-height: 560px;
    background-position: 68% 5%;
  }

  .mg-hero-content {
    padding-left: 7vw;
    padding-right: 7vw;
  }

  .mg-hero h1 {
    white-space: normal;
  }

  .mg-columns {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .mg-column,
  .mg-column + .mg-column {
    padding-left: 0;
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid var(--mg-line);
    padding-bottom: 3rem;
  }

  .mg-column:last-child {
    border-bottom: none;
  }

  .mg-project {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .mg-page-header {
    margin-bottom: 5rem;
  }
}

/* =====================================================
   BÜCHER / VERÖFFENTLICHUNGEN
   ===================================================== */

.mg-books {
  max-width: 1380px;
  margin: 2.6rem auto 0 auto;
  padding-left: 8vw;
  padding-right: 8vw;
}

.mg-books-kicker {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.44);
  margin-bottom: 1.55rem;
}

.mg-books h2 {
  font-family: Georgia, serif;
  font-size: clamp(2.2rem, 3vw, 3.6rem);
  font-weight: 400;
  line-height: 1.08;
  margin-bottom: 4rem;
}

.mg-book-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4.4rem 3rem;
}

.mg-book-card {
  display: block;
  text-decoration: none !important;
  color: inherit;
}

.mg-book-card img {
  display: block;
  width: 100%;
  max-width: 190px;
  height: auto;
  margin: 0 auto;
  filter: grayscale(65%) saturate(70%) contrast(96%);
  opacity: 0.86;
  transition:
    filter 0.35s ease,
    opacity 0.35s ease,
    transform 0.35s ease;
}

.mg-book-card:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-4px);
}

.mg-book-title {
  display: block;
  margin-top: 1.05rem;

  font-family: Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.35;
  text-align: center;
  color: rgba(0,0,0,0.78);
}

.mg-book-meta {
  display: block;
  margin-top: 0.35rem;

  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(0,0,0,0.46);
}

.mg-book-card:hover .mg-book-title,
.mg-book-card:hover .mg-book-meta {
  color: rgba(0,0,0,0.94);
}


/* Responsive Bücher */

@media (max-width: 1100px) {
  .mg-book-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 760px) {
  .mg-books {
    margin-top: 6rem;
  }

  .mg-book-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3.2rem 1.6rem;
  }

  .mg-book-card img {
    max-width: 150px;
  }
}

@media (max-width: 460px) {
  .mg-book-grid {
    grid-template-columns: 1fr;
  }

  .mg-book-card img {
    max-width: 180px;
  }
}

/* =====================================================
   ROTKEHLCHEN IM QUOTE-/ABSCHLUSSBEREICH
   ===================================================== */

.mg-footer-vogel {

  text-align: center;
  margin-top: 0.4rem;
  margin-bottom: 1.6rem;
  opacity: 0.80;
}

.mg-footer-vogel img {
  width: 60px;
  height: auto;
  display: inline-block;
}

/* Quotebereich etwas luftiger */

.mg-quote {
  padding-bottom: 0.6rem;
}

/* =====================================================
   KLEINES ROTKEHLCHEN RECHTS OBEN AUF UNTERSEITEN
   ===================================================== */

.mg-page-vogel {
  position: absolute;
  top: 2.8rem;
  right: 8vw;
  z-index: 1001;
  pointer-events: none;
}

.mg-page-vogel img {
  width: 55px;      /* gleiche Größe wie unten ggf. anpassen */
  height: auto;
  display: block;
  opacity: 0.78;
}

/* nur auf Unterseiten anzeigen */

.mg-startseite .mg-page-vogel {
  display: none;
}

/* auf kleinen Bildschirmen lieber ausblenden */

@media (max-width: 800px) {
  .mg-page-vogel {
    display: none;
  }
}

/* =====================================================
   REPERTOIRE-GRID
   ===================================================== */

.mg-project-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem 2.8rem;

  max-width: 1380px;
  margin: 2rem auto 0 auto;

  padding-left: 8vw;
  padding-right: 8vw;
}

.mg-project-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

.mg-project-card-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1.18 / 1;
  overflow: hidden;
  margin-bottom: 1.2rem;
  background: rgba(0,0,0,0.04);
}

.mg-project-card-image img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

.mg-project-card:hover img {
  transform: scale(1.02);
  opacity: 0.96;
}

.mg-project-card-category {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.44);

  margin-bottom: 0.8rem;
}

.mg-project-card h3 {
  font-family: Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  line-height: 1.12;

  margin-bottom: 1rem;
}

.mg-project-card p {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(0,0,0,0.78);
}

/* Responsive */

@media (max-width: 1100px) {
  .mg-project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .mg-project-grid {
    grid-template-columns: 1fr;
  }
}

/* Repertoire-Bilder: einheitliche Bildhöhe */

.mg-project-grid {
  align-items: start;
}

.mg-project-grid .mg-project-card {
  display: block;
  width: 100%;
}

.mg-project-grid .mg-project-card-image {
  width: 100% !important;
  height: 190px !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  margin-bottom: 1.2rem;
  background: rgba(0,0,0,0.04);
}

.mg-project-grid .mg-project-card-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center center;
  display: block !important;
}

/* Hover-Effekt für große Leitprojekte */

.mg-project-image {
  overflow: hidden;
}

.mg-project-image img {
  transition:
    transform 0.45s ease,
    opacity 0.45s ease;
}

.mg-project:hover .mg-project-image img {
  transform: scale(1.02);
  opacity: 0.96;
}


.mg-soft-quote {
  margin: 3.2rem 0;
  max-width: 720px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.35;
  font-style: italic;
  font-weight: 400;
  color: rgba(47, 43, 38, 0.55);
}

/* =========================
   FOTOSEITE
========================= */

.mg-foto-page {
  max-width: 1100px;
  margin: 0 auto;
}

.mg-foto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.mg-foto-item {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #f3f3f3;
}

.mg-foto-item a {
  display: block;
}

.mg-foto-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.mg-foto-item:hover img {
  transform: scale(1.03);
}

@media (max-width: 900px) {
  .mg-foto-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}


/* FOTOSEITE */

.mg-foto-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  margin-top: 4rem;
}

.mg-foto-item {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
}

.mg-foto-item a {
  display: block;
}

.mg-foto-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;

  transition: transform 0.5s ease;
}

.mg-foto-item:hover img {
  transform: scale(1.03);
}

/* Mobile */

@media (max-width: 900px) {

  .mg-foto-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

}

.mg-contact-page {
  max-width: 720px;
  padding-top: 1.5rem;
}

.mg-contact-intro {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2.2rem;
  color: #2f3338;
}

.mg-contact-mail,
.mg-contact-phone {
  margin: 0 0 1rem 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.mg-contact-page a {
  color: #20242a;
  text-decoration: none;
  border-bottom: 1px solid rgba(32, 36, 42, 0.35);
  padding-bottom: 0.08em;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.mg-contact-page a:hover {
  color: #5a6070;
  border-bottom-color: rgba(90, 96, 112, 0.7);
}

/* =====================================================
   AKTUELLES PROJEKT AUF DER STARTSEITE
   ===================================================== */

.mg-current-project {
  max-width: 820px;
  margin: -1rem auto 4.8rem auto;
  padding: 3rem 6vw 3.2rem 6vw;
  text-align: center;

  border-top: 1px solid rgba(0,0,0,0.10);
  border-bottom: 1px solid rgba(0,0,0,0.10);
}

.mg-current-kicker {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.46);
  margin-bottom: 1.2rem;
}

/* =====================================================
   AKTUELLES PROJEKT AUF DER STARTSEITE
   ===================================================== */

.mg-current-project {
  max-width: 880px;
  margin: 3rem auto 4.4rem auto;
  padding: 2.1rem 0 2.3rem 0;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.10);
  border-bottom: 1px solid rgba(0,0,0,0.10);
}

.mg-current-kicker {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.46);
  margin-bottom: 1.1rem;
}

.mg-current-project h2 {
  font-family: Georgia, serif;
  font-size: clamp(2.1rem, 3vw, 3rem);
  font-weight: 400;
  line-height: 1.08;
  color: #111;
  margin-bottom: 1.4rem;
}

.mg-current-project p:not(.mg-current-kicker) {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.98rem;
  line-height: 1.8;
  color: rgba(0,0,0,0.72);
  max-width: 760px;
  margin: 0 auto 2rem auto;
}

.mg-current-project a {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.32);
  padding-bottom: 0.35rem;
}

.mg-current-project a:hover {
  color: #000;
  border-bottom-color: rgba(0,0,0,0.75);
}

.mg-word-bg {
  position: fixed;
  top: 12rem;
  left: -3rem;

  font-family: var(--cassiopeia-font-headings, serif);
  font-size: clamp(7rem, 17vw, 17rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;

  color: rgba(0, 0, 0, 0.025);

  pointer-events: none;
  user-select: none;
  z-index: 1;

  white-space: nowrap;
}

/*.mg-text-page {
  position: relative;
  overflow: hidden;
}

.mg-text-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6%;
  width: 18%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.028) 0%,
    rgba(0,0,0,0.012) 45%,
    rgba(0,0,0,0.0) 100%
  );

  pointer-events: none;
  z-index: 0;
}

.mg-page-verstehen .mg-text-page {
  position: relative;
  overflow: hidden;
}

.mg-page-verstehen .mg-text-page::before {
  content: "";
  position: absolute;
  top: 0;
  left: 6%;
  width: 18%;
  height: 100%;

  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.028) 0%,
    rgba(0,0,0,0.012) 45%,
    rgba(0,0,0,0.0) 100%
  );

  pointer-events: none;
  z-index: 0;
}

.mg-page-verstehen .mg-page-text {
  position: relative;
  z-index: 1;
}*/

/* =========================================
   UNTERSEITEN: EINHEITLICHE ACHSE
========================================= */

.mg-page-header,
.mg-project,
.mg-project-grid,
.mg-page-closing {
  max-width: 1180px !important;
  width: calc(100% - 6rem) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.mg-page-content {
  max-width: 1180px !important;
  width: calc(100% - 6rem) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Fließtext innerhalb der gemeinsamen Achse lesbar halten */
.mg-page-text {
  max-width: 980px !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* Projektblock bleibt zweispaltig, aber auf derselben Außenkante */
.mg-project {
  display: grid !important;
  grid-template-columns: 340px minmax(0, 1fr) !important;
  gap: 5rem !important;
  align-items: center !important;
}

/* Bild nicht zusätzlich zentrieren */
.mg-project-image {
  max-width: 340px !important;
  width: 100% !important;
  justify-self: start !important;
}

/* Grid unten auf derselben Achse */
.mg-project-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 4rem 2.8rem !important;
  margin-top: 2rem !important;
}

/* =========================================
   PROJEKTSEITEN: STÄRKERER AUFTAKT
========================================= */

.mg-project-page .mg-project {
  grid-template-columns: 1fr 0.78fr !important;
  gap: 4.5rem !important;
  align-items: end !important;
  margin-top: 1.5rem !important;
  margin-bottom: 5.5rem !important;
}

.mg-project-page .mg-project-image {
  max-width: none !important;
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
}

.mg-project-page .mg-project-image img {
  object-fit: cover !important;
  object-position: center center !important;
}

.mg-project-page .mg-project-text {
  padding-bottom: 0.4rem;
}

.mg-project-page .mg-project-text h2 {
  font-size: clamp(2.4rem, 3.4vw, 4rem);
}

.mg-project-page .mg-project-image {
  position: relative !important;
  overflow: hidden !important;
}

.mg-project-page .mg-project-image img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center 45% !important;
  display: block !important;
}

/* =========================================
   PROJEKTBILDER – INDIVIDUELLE AUSSCHNITTE
========================================= */

/* DAS ATELIER */

.mg-projekt-atelier .mg-project-image img {
  object-position: center 45% !important;
}

/* DAS DORF */

.mg-projekt-dorf .mg-project-image img {
  object-position: center 70% !important;
}

/* =========================================
   WEITERE PROJEKTE
========================================= */

.mg-related-projects {
  margin-top: 3.2rem;
}

.mg-related-kicker {
  width: min(1180px, calc(100% - 6rem));
  margin: 0 auto 2.5rem auto;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.44);
}

/* =========================================
   TERMINE / AUFFÜHRUNGEN
========================================= */

.mg-project-dates {
  width: min(1180px, calc(100% - 6rem));
  margin: 2.2rem auto 5rem auto;
}

.mg-project-date {
  padding: 1.2rem 0;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.mg-project-date:last-child {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.mg-project-date h3 {
  margin-bottom: 0.3rem;
  font-size: 1.25rem;
}

.mg-project-date p {
  margin: 0;
  color: rgba(0,0,0,0.68);
}

.mg-dates-kicker {
  margin: 0 0 2rem 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.44);
}

/* =========================================
   LINKS GLOBAL
========================================= */

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

  border-bottom: 1px solid rgba(0,0,0,0.22);

  transition:
    color 0.22s ease,
    border-color 0.22s ease;
}

a:hover {
  color: rgba(0,0,0,0.62);
  border-bottom-color: rgba(0,0,0,0.55);
}

/* Mehr Luft in Fließtextbereichen der Unterseiten */
.mg-text-page h2 {
  margin-top: 2.6rem;
  margin-bottom: 0.85rem;
}

.mg-text-page h2:first-child {
  margin-top: 0;
}

.mg-text-page p + h2 {
  margin-top: 3rem;
}

/* Startseite: aktuelle Projekte unter Lesen · Erleben · Verstehen */
.mg-home-projects {
  max-width: 880px;
  margin: 4.8rem auto 0;
  padding-top: 2.4rem;
  border-top: 1px solid rgba(0,0,0,0.12);
  text-align: center;
}

.mg-home-projects-kicker {
  margin: 0 0 1.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
}

.mg-home-projects-list {
  display: flex;
  justify-content: center;
  gap: 3.2rem;
  flex-wrap: wrap;
}

.mg-home-project-link {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: baseline;
  gap: 1rem;
}

.mg-home-project-link span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2.4vw, 2.15rem);
  line-height: 1.1;
}

.mg-home-project-link em {
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.16rem;
}

.mg-home-project-link:hover em {
  color: rgba(0,0,0,0.36);
}

@media (max-width: 700px) {
  .mg-home-projects {
    margin-top: 3.6rem;
  }

  .mg-home-projects-list {
    display: grid;
    gap: 1.2rem;
  }

  .mg-home-project-link {
    justify-content: center;
  }
}

.mg-home-project-link {
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
}

.mg-home-project-link span {
  border: none;
}

.mg-home-project-link em {
  border-bottom: 1px solid currentColor;
}

.mg-home-project-link em {
  display: inline-block;
  width: auto;
}

.mg-home-project-link em {
  display: inline-block;
  align-self: center;
}

.mg-home-project-link em {
  padding-bottom: 0.12rem;
  border-bottom: 1px solid currentColor;
}

.mg-home-project-link em::after {
  display: none;
}

.mg-home-project-link,
.mg-home-project-link::before,
.mg-home-project-link::after,
.mg-home-project-link em,
.mg-home-project-link em::before,
.mg-home-project-link em::after {
  background-image: none !important;
  box-shadow: none !important;
}

.mg-home-project-link::before,
.mg-home-project-link::after,
.mg-home-project-link em::before,
.mg-home-project-link em::after {
  content: none !important;
  display: none !important;
}

.mg-home-project-link {
  text-decoration: none !important;
}

.mg-home-project-link span {
  text-decoration: none !important;
  border-bottom: none !important;
}

.mg-home-project-link em {
  display: inline-block;
  width: max-content;
  text-decoration: none !important;
  border-bottom: 1px solid currentColor !important;
}

.mg-home-projects *,
.mg-home-projects *::before,
.mg-home-projects *::after {
  border-bottom: none !important;
  text-decoration: none !important;
  box-shadow: none !important;
  background-image: none !important;
}

.mg-columns {
  gap: 4rem;
}

.mg-column {
  padding: 1.5rem 0;
}

.mg-column h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
}

.mg-column p {
  margin-bottom: 2rem;
}

.mg-intro {
  margin-bottom: 4rem;
  line-height: 1.45;
}

/* KORREKTUR: Startseite – Aktuelle Projekte */

.mg-home-project-link span {
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(1.05rem, 1.45vw, 1.35rem) !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  border-bottom: none !important;
  text-decoration: none !important;
}

.mg-home-project-link em {
  font-family: Helvetica, Arial, sans-serif !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  font-style: normal !important;

  display: inline-block !important;
  width: max-content !important;

  color: rgba(0,0,0,0.55) !important;
  border-bottom: 1px solid rgba(0,0,0,0.35) !important;
  padding-bottom: 0.12rem !important;
}

.mg-home-project-link:hover em {
  color: rgba(0,0,0,0.85) !important;
  border-bottom-color: rgba(0,0,0,0.65) !important;
}

/* Startseite – aktuelle Projekte: Projekttitel wie oben, nur kleiner */

.mg-home-project-link {
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem) !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  color: #111 !important;
}

/* "Mehr erfahren" bleibt serifenlos */
.mg-home-project-link em,
.mg-home-project-link .mg-more {
  font-family: Helvetica, Arial, sans-serif !important;
  font-size: 0.68rem !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  font-style: normal !important;
  color: rgba(0,0,0,0.55) !important;
  border-bottom: 1px solid rgba(0,0,0,0.35) !important;
  padding-bottom: 0.12rem !important;
}

/* =========================================
   QUERBLOCK – subtil entlastet
========================================= */

.mg-project-facts .mg-project-card-category {
  color: rgba(0,0,0,0.42) !important;
}

.mg-project-facts .mg-project-card h3 {
  color: rgba(0,0,0,0.70);
}

.mg-project-facts .mg-project-card p:not(.mg-project-card-category) {
  color: rgba(0,0,0,0.64);
  line-height: 1.78;
}

.mg-page-text h2 {
  font-family: Georgia, serif;
  font-size: clamp(1.55rem, 2vw, 2.15rem);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: 0.003em;

  margin-top: 4rem;
  margin-bottom: 1rem;
}

/* =====================================================
   FEATURED-PROJEKT IM GRID
   ===================================================== */

.mg-project-grid {

  display: grid;

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

  gap: 3.2rem;
}


/* Featured-Karte */

.mg-project-card-featured {

  grid-column: span 2;
}


/* Bild */

.mg-project-card-featured .mg-project-card-image {

  aspect-ratio: 16 / 9;

  overflow: hidden;
}

.mg-project-card-featured .mg-project-card-image img {

  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;
}


/* Typografie */

.mg-project-card-featured h3 {

  font-size: clamp(2rem, 2.6vw, 3rem);

  margin-top: 1.4rem;
}


/* Mobil */

@media (max-width: 900px) {

  .mg-project-card-featured {

    grid-column: span 1;
  }
}

/* =====================================================
   GROSSBERG-BILD SPEZIELL JUSTIEREN
   ===================================================== */

.mg-project-card-grossberg .mg-project-card-image img {

  object-position: center 35%;
}
.mg-project-more {

  font-family: Helvetica, Arial, sans-serif;

  font-size: 0.76rem;

  letter-spacing: 0.2em;

  text-transform: uppercase;

  color: rgba(0,0,0,0.48);

  border-bottom: 1px solid rgba(0,0,0,0.30);

  padding-bottom: 0.35rem;

  display: inline-block;

  margin-top: 1.4rem;
}

.mg-project-more:hover {

  color: rgba(0,0,0,0.94);

  border-bottom-color: rgba(0,0,0,0.70);
}

.mg-project-more {

  font-family: Helvetica, Arial, sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;

  color: rgba(0,0,0,0.48);

  border-bottom: 1px solid rgba(0,0,0,0.30);

  padding-bottom: 0.35rem;

  display: inline-block;

  margin-top: 0.6rem;
  margin-bottom: 0.9rem;   /* NEU */
}

.mg-books {
  max-width: 1180px !important;
  width: calc(100% - 6rem) !important;

  margin-left: auto !important;
  margin-right: auto !important;

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

.mg-project-text a:hover {
  color: rgba(0,0,0,0.94);
  border-bottom-color: rgba(0,0,0,0.70);
  text-decoration: none !important;
}

.mg-project-text a {
  text-decoration: none !important;
  border-bottom: 1px solid rgba(0,0,0,0.30);
  padding-bottom: 0.35rem;
}