* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  height: 100vh;
  overflow: hidden;
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  background: #ffffff;
}

/* Ma-Seite ist inhaltlich hoeher als 100vh und muss scrollen koennen */
body.ma-body {
  height: auto;
  min-height: 100vh;
  overflow-y: auto;
}

/* ── Hamburger Button ── */
.menu-btn {
  position: fixed;
  top: 32px;
  right: 32px;
  width: 28px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 30;
}

.menu-btn span {
  display: block;
  height: 2px;
  background: #000;
}

/* ── Menu Overlay ── */
.menu-overlay {
  position: fixed;
  top: 68px;
  right: 20px;
  width: 200px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  padding: 24px 28px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 20;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.menu-close {
  display: none;
}

.menu-list {
  list-style: none;
}

.menu-list li {
  margin-bottom: 14px;
}

.menu-list a {
  text-decoration: none;
  color: #000;
  font-size: 15px;
  font-weight: 400;
  transition: opacity 0.2s ease;
}

.menu-list a:hover {
  opacity: 0.5;
}

/* ── Scroll-Fade oben ── */
.fade-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, #fff 0%, #fff 35%, rgba(255, 255, 255, 0) 100%);
  z-index: 9;
  pointer-events: none;
}

/* ── Logo ── */
.logo-small {
  position: fixed;
  top: 32px;
  left: 32px;
  font-size: 22px;
  font-weight: 500;
  text-decoration: none;
  color: #000;
  z-index: 10;
}

/* ── Startseite ── */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.zone {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #000;
  padding: 60px 4px;
}

.zone span {
  font-size: clamp(72px, 11vw, 160px);
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform 0.3s ease;
  display: inline-block;
}

.zone-left span {
  transform-origin: right center;
}

.zone-right span {
  transform-origin: left center;
}

.zone:hover span {
  transform: scale(1.08);
}

/* ── Über mich ── */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh;
  padding: 80px 120px;
  gap: 80px;
  direction: rtl;
  align-items: center;
}

.about > * {
  direction: ltr;
}

.about-heading {
  font-size: clamp(16px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #111;
  margin-bottom: 24px;
}

.about-image {
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.about-image img {
  height: 80vh;
  width: auto;
  object-fit: cover;
  object-position: center top;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-text p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.75;
  color: #111;
}

/* ── Seitennavigation ── */
.page-content {
  padding: 140px 60px 60px;
}

/* -- Rechtstexte (Datenschutz, Impressum) -- */
.legal-content {
  max-width: 760px;
}

.legal-content h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #111;
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 21px;
  font-weight: 600;
  color: #111;
  margin: 48px 0 16px;
}

.legal-content h3 {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  margin: 32px 0 12px;
}

.legal-content h4 {
  font-size: 14px;
  font-weight: 600;
  color: #111;
  margin: 20px 0 6px;
}

.legal-content p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  color: #333;
  margin-bottom: 14px;
}

.legal-content ul {
  margin: 0 0 14px 20px;
}

.legal-content li {
  font-size: 14px;
  line-height: 1.75;
  color: #333;
  margin-bottom: 8px;
}

.legal-content a {
  color: inherit;
  word-break: break-word;
}

.legal-content .legal-notice {
  font-size: 12px;
  line-height: 1.7;
  color: #555;
}

@media (max-width: 720px) {
  .page-content {
    padding: 120px 24px 60px;
  }
}

.page-nav {
  position: fixed;
  bottom: 32px;
  right: 60px;
  z-index: 10;
}

.page-nav a {
  text-decoration: none;
  color: #000;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.page-nav a:hover {
  opacity: 1;
}

/* ── Projekte ── */
.projekte-frei {
  position: relative;
  height: 100vh;
  width: 100%;
}

.projekt-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #000;
}

.projekt-ma {
  left: 25%;
  top: 28%;
  transform: translate(-50%, -50%);
}

.projekt-ma:hover .projekt-icon {
  transform: scale(1.12);
}

.projekt-noema {
  left: 78%;
  top: 43%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.projekt-noema:hover {
  transform: translate(-50%, -50%) scale(1.04);
}

.projekt-more5 {
  left: 46%;
  top: 77%;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease;
}

.projekt-more5:hover {
  transform: translate(-50%, -50%) scale(1.04);
}

.more5-tile-imgwrap {
  position: relative;
  display: inline-block;
  height: 130px;
}

.more5-tile-img {
  height: 130px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.22));
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.more5-tile-img--hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: scale(1);
}

.projekt-more5:hover .more5-tile-img--default {
  opacity: 0;
}

.projekt-more5:hover .more5-tile-img--hover {
  opacity: 1;
  transform: scale(1.18);
}

/* Ma App Icon */
.projekt-icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.18),
    0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.projekt-icon span {
  font-size: 64px;
  line-height: 1;
  background: linear-gradient(
    135deg,
    #e94f37 0%,
    #e94f37 25%,
    #2d7dd2 50%,
    #97cc04 80%,
    #97cc04 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Noema Bilder */
.noema-wrap {
  position: relative;
  height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.noema-img,
.noema-video {
  height: 320px;
  width: auto;
  object-fit: contain;
}

/* ── Ma Seite ── */
.ma-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  padding: 140px 24px 100px;
  gap: 48px;
}

.ma-text {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ma-titel,
.noema-titel {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #111;
  line-height: 1;
}

.noema-titel sup {
  font-size: 0.42em;
  vertical-align: baseline;
  position: relative;
  top: -0.55em;
  margin-left: 2px;
}

.ma-beschr,
.noema-beschr {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: #444;
}

.ma-meta,
.noema-meta {
  font-size: 12px;
  font-weight: 400;
  color: #bbb;
  letter-spacing: 0.04em;
}

.ma-mockup-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ab hier: Desktop/Laptop-Ansicht der Ma-Seite -- an das Layout der
   "Ueber mich"-Seite angelehnt (.about): Grid mit 2 Spalten, Text
   links, Mockup rechts, gleiche Abstaende/Paddings. */
@media (min-width: 721px) {
  /* Text fliesst normal untereinander (wie .about-text); das Mockup
     wird bewusst per position:absolute daneben platziert, statt in
     eine Grid-Zeile gezwaengt zu werden -- sonst zieht seine Groesse
     die beiden Absaetze auseinander. */
  .ma-page {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100vh;
    padding: 0 0 0 120px;
    gap: 20px;
    max-width: none;
    width: 100%;
    margin: 0;
  }

  .ma-text-1,
  .ma-text-2 {
    max-width: 480px;
  }

  .ma-mockup-wrap {
    position: absolute;
    top: 50%;
    right: 200px;
    width: auto;
    transform: translateY(-50%);
  }

  /* Das Mockup soll auf dem Desktop in der gleichen "Design-Breite"
     erscheinen wie die App im mobilen Vollbild (dort fuellt der Screen
     die tatsaechliche Geraetebreite, ca. 390px) -- vorher war das Mockup
     hier per Hoehe (640px) begrenzt, was bei diesem Bildschirmformat nur
     ca. 320px Breite ergab. Dadurch wirkte die (in festen Pixeln
     gestaltete) App-UI im Mockup deutlich groesser/gedrungener als im
     echten Vollbild auf dem Handy. min() aus px/vw/vh statt Breite+Hoehe
     einzeln zu begrenzen, damit aspect-ratio konfliktfrei bleibt. */
  .ma-page .iphone-mockup-container {
    width: min(390px, 42vw, 40vh);
    height: auto;
  }

  /* Auf dem Desktop ist die App direkt in ihrem Rahmen bedienbar --
     kein Klick-Overlay, kein Vollbild-Modus. */
  .ma-try-overlay,
  .ma-fullscreen-close {
    display: none !important;
  }
}

.iphone-mockup-container {
  position: relative;
  width: min(320px, 78vw);
  aspect-ratio: 1806 / 3607;
  display: block;
}
.iphone-mockup-img {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

.app-iframe-overlay {
  /* Werte aus dem iphone-mockup.png selbst vermessen: Alpha-Kanal-Scan der
     transparenten Bildschirm-Aussparung (Konturerkennung + Kreis-Fit an die
     vier Ecken, Radius ca. 271px bei 1806x3607px Originalbild), damit der
     App-Inhalt exakt bis in die abgerundeten Ecken des Gehaeuses reicht --
     vorher gab es dort kleine weisse Luecken, weil der Eckradius zu groß
     angesetzt war. */
  position: absolute;
  top: 1.86%;
  left: 5.87%;
  width: 89.09%;
  height: 95.68%;
  border: none;
  z-index: 1;
  border-radius: 16.84% / 7.85%;
}

.ma-try-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ma-try-overlay span {
  background: rgba(255, 255, 255, 0.88);
  color: #999;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 9px 18px;
  border-radius: 999px;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.ma-fullscreen-close {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1002;
}

.iphone-mockup-container.is-fullscreen {
  /* inset:0 auf einem position:fixed-Element haengt sich direkt an die
     tatsaechliche sichtbare Viewport-Flaeche, die der Browser laufend
     nachfuehrt -- anders als 100vh/100dvh, die auf iOS Safari innerhalb
     von fixed/iframe-Kontexten manchmal falsch oder verzoegert berechnet
     werden. Das war vermutlich die Ursache dafuer, dass der App-Inhalt
     (Einflussfaktoren) im Vollbild abgeschnitten war und sich nicht
     wegscrollen liess: Der Rahmen selbst war zu hoch/falsch positioniert,
     nicht das Scrollen innerhalb der App. */
  position: fixed;
  inset: 0;
  /* explizit noetig: die Basis-Regel .iphone-mockup-container setzt
     width:min(320px,78vw); ohne width/height:auto hier wuerde diese
     schmale Breite bei einem fixed-Element mit inset:0 nicht gestreckt,
     sondern einfach beibehalten (das Vollbild waere dann nur 320px breit
     statt den ganzen Bildschirm zu fuellen). */
  width: auto;
  height: auto;
  aspect-ratio: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  z-index: 1000;
  overflow: hidden;
}

.iphone-mockup-container.is-fullscreen .iphone-mockup-img {
  display: none;
}

.iphone-mockup-container.is-fullscreen .ma-try-overlay {
  display: none;
}

/* Vollbild soll wirklich Vollbild sein (kein schwarzer Rand) -- die
   Groessen-/Zoom-Angleichung an das Desktop-Mockup passiert stattdessen
   ueber den responsiven Skalierungsfaktor in ma-app.html selbst
   (--app-scale, reagiert auf die tatsaechliche iframe-Breite). */
.iphone-mockup-container.is-fullscreen .app-iframe-overlay {
  position: relative;
  inset: auto;
  transform: none;
  width: 100%;
  height: 100%;
  max-width: 480px;
  border-radius: 0;
}

.iphone-mockup-container.is-fullscreen .ma-fullscreen-close {
  display: flex;
}

body.ma-fullscreen-active,
html.ma-fullscreen-active {
  overflow: hidden;
  width: 100%;
  height: 100%;
}

/* ── Noema Seite ── */
.noema-content {
  display: flex;
  flex-direction: column;
}

.noema-page {
  display: flex;
  align-items: center;
  height: 100vh;
  padding: 0 10% 0 2%;
  gap: 0;
}

.noema-grid-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 10%;
}

.noema-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  row-gap: 60px;
  align-items: center;
  width: 100%;
}

.noema-grid-img {
  display: block;
  width: 100%;
  height: auto;
}

.noema-produkttext-titel {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 4px;
}

/* ── Noema Split-Diashow ── */
.noema-stack-section {
  display: flex;
  flex-direction: column;
}

.noema-stack-row {
  display: flex;
  align-items: center;
  min-height: 100vh;
  gap: 60px;
  padding: 100px 10%;
}

.noema-stack-row .noema-text {
  flex: 1 1 0%;
}

.noema-carousel {
  width: 100%;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.noema-carousel--portrait {
  max-width: 480px;
}

.noema-split-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
}

.noema-split-visual--portrait {
  aspect-ratio: 3 / 4;
}

.img-placeholder {
  width: 100%;
  height: 100%;
  border: 2px dashed rgba(0, 0, 0, 0.15);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(0, 0, 0, 0.3);
  font-size: 13px;
  text-align: center;
}

.noema-split-photo {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.noema-split-photo.active {
  opacity: 1;
}

.noema-split-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: #111;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: background 0.2s ease;
}

.carousel-arrow:hover {
  background: #fff;
}

.carousel-arrow--prev { left: 12px; }
.carousel-arrow--next { right: 12px; }

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  border: none;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-dot.active {
  background: #111;
  transform: scale(1.3);
}

.noema-visual-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
}

.noema-visual {
  position: relative;
  width: 85%;
  max-width: 720px;
  aspect-ratio: 3840 / 2717;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.noema-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: translateX(100%);
  animation: noemaSlide 19.5s linear infinite;
}

.noema-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.noema-label {
  position: absolute;
  left: 20px;
  bottom: 16px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.55);
}

.noema-photo:nth-child(1) { animation-delay: 0s; }
.noema-photo:nth-child(2) { animation-delay: 6.5s; }
.noema-photo:nth-child(3) { animation-delay: 13s; }

@keyframes noemaSlide {
  0%      { transform: translateX(0%); }
  30.769% { transform: translateX(0%); }
  33.333% { transform: translateX(-100%); }
  97.436% { transform: translateX(-100%); }
  97.536% { transform: translateX(100%); }
  100%    { transform: translateX(0%); }
}

.noema-text {
  flex: 0 0 380px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}


/* ── MO:RE5 Seite ── */
.more5-photo-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.more5-photo {
  position: relative;
  width: 85%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.more5-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text und Bild oben (an gleicher Hoehe) ausrichten statt zentriert */
.more5-align-top {
  align-items: flex-start;
}

.more5-align-top .more5-photo-wrap {
  height: auto;
  align-items: flex-start;
  padding-top: 160px;
}

.more5-align-top .noema-text {
  padding-top: 160px;
}

/* Repairset-Abschnitt: Text links, Bild rechts -> Innenabstaende spiegeln */
.more5-reverse {
  padding: 0 2% 0 10%;
}

.more5-flow {
  position: relative;
}

.more5-flow-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #fff;
}

.more5-flow-sticky video,
.more5-flow-sticky img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.more5-flow-sticky video.active,
.more5-flow-sticky img.active {
  opacity: 1;
}

.more5-flow-caption {
  position: absolute;
  top: 160px;
  left: 0;
  width: 240px;
  max-width: 240px;
  margin: 0;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.more5-flow-caption.active {
  opacity: 1;
}

@media (max-width: 720px) {
  .more5-flow-caption {
    top: 140px;
    width: 200px;
    max-width: 200px;
    font-size: 13px;
  }

  /* Noema & MO:RE5: Bild+Text-Sektionen sind fuer nebeneinander (Desktop)
     gebaut -- die feste 380px-Textspalte (.noema-text) drueckte das
     Bild in der schmalen Flex-Row auf Breite 0 zusammen. Auf dem Handy
     werden Bild und Text stattdessen gestapelt, im gleichen Stil wie
     die mobile Ma-Seite (.ma-page: zentrierte Spalte, 140px Top-Padding
     fuer den fixen Header). */
  .noema-page {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    padding: 140px 24px 80px;
    gap: 32px;
  }

  .noema-visual-wrap,
  .more5-photo-wrap {
    flex: none;
    width: 100%;
    height: auto;
  }

  .noema-visual,
  .more5-photo {
    width: 100%;
    max-width: none;
  }

  .more5-align-top .more5-photo-wrap,
  .more5-align-top .noema-text {
    padding-top: 0;
  }

  .noema-text {
    flex: none;
    width: 100%;
  }

  .noema-grid-section {
    min-height: auto;
    padding: 80px 24px;
  }

  .noema-grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .noema-stack-row {
    flex-direction: column;
    min-height: auto;
    padding: 80px 24px;
    gap: 32px;
  }

  .noema-carousel,
  .noema-carousel--portrait {
    max-width: 100%;
  }

  /* Umsetzung/Light+Building: Text immer ueber den Bildern, nicht darunter. */
  .noema-stack-row .noema-text {
    order: -1;
  }

  /* MO:RE5-Scroll-Fluss: Video an die (hochkantige) Bildschirmgroesse
     anpassen statt es zuzuschneiden -- vorher fuellte object-fit:cover
     das 16:9-Video randabschneidend in die hochkant-Box, sodass beim
     Hineinzoomen der Platine Teile ueber den Bildschirmrand hinausliefen. */
  .more5-flow-sticky video,
  .more5-flow-sticky img {
    object-fit: contain;
  }

  /* Projekte-Uebersicht: auch auf dem Handy bleiben die Kacheln frei und
     leicht asymmetrisch platziert (Ma links oben, Noema rechts in der
     Mitte, Maus links unten) -- nur kleiner, damit nichts ueber den
     Bildschirmrand hinausragt. */
  .projekte-frei {
    position: relative;
    height: 100vh;
    height: 100svh;
    min-height: 520px;
    padding: 0;
  }

  .projekt-ma {
    left: 22%;
    top: 34%;
  }

  .projekt-noema {
    left: 72%;
    top: 55%;
  }

  .projekt-more5 {
    left: 44%;
    top: 85%;
  }

  .projekt-icon {
    width: 96px;
    height: 96px;
    border-radius: 23px;
  }

  .projekt-icon span {
    font-size: 52px;
  }

  .noema-wrap,
  .noema-img,
  .noema-video {
    height: 160px;
  }

  .more5-tile-imgwrap,
  .more5-tile-img {
    height: 84px;
  }
}


/* ── Kontaktformular ── */
/* Der Inhalt (Ueberschrift + Formular + Statusmeldung) kann auf kleinen
   Bildschirmen die volle Viewport-Hoehe ueberschreiten -- ohne diese Klasse
   wuerde der globale body{overflow:hidden} Teile davon abschneiden, genau
   wie bei body.ma-body auf der Ma-Seite. */
body.kontakt-body {
  height: auto;
  min-height: 100vh;
  overflow-y: auto;
}

.contact-content {
  max-width: 560px;
}

.contact-intro {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.75;
  color: #444;
  margin-bottom: 40px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-field label {
  font-size: 13px;
  font-weight: 500;
  color: #333;
}

.contact-field input,
.contact-field textarea {
  font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  color: #111;
  background: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #bbb;
}

.contact-field input:focus,
.contact-field textarea:focus {
  border-color: rgba(0, 0, 0, 0.3);
  background: #fff;
}

.contact-field textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.6;
  font-family: inherit;
}

.contact-submit {
  align-self: flex-start;
  margin-top: 4px;
  padding: 13px 28px;
  border: none;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.contact-submit:hover {
  background: #333;
}

.contact-submit:active {
  transform: scale(0.97);
}

.contact-submit:disabled {
  opacity: 0.6;
  cursor: default;
}

.contact-status {
  font-size: 13px;
  color: #999;
  min-height: 18px;
}

.contact-status.is-success {
  color: #5c8a00;
}

.contact-status.is-error {
  color: #c0392b;
}

@media (max-width: 720px) {
  .contact-content {
    max-width: 100%;
  }
}
