/* MOBAU Design 1.3.0 – eine Quelle für Theme und Widgets. Wird nur auf Seiten mit MOBAU-Widgets geladen (bzw. sitewide, wenn das Child-Theme aktiv ist).
   Aufbau: 0 Tokens · 1 Reset · 1b Härtung · 2 Elementor neutralisieren · 3 Design (aus dem abgenommenen Mockup v6, gehärtet mit harden2.py). */

/* ==========================================================================
   0. Design-Tokens
   ========================================================================== */
:root {
  --ink: #11110f;
  --paper: #f2f0ea;
  --signal: #ee3b24;
  --line: #11110f33;
  --paper-2: #e8e6e0;
  --line-dark: #ffffff2e;
  --muted: #4a4945;
  --muted-dark: #aaa9a3;
  /* Abstands-Skala (8er-Raster) */
  --s2: 16px; --s3: 24px; --s4: 32px; --s6: 48px; --s8: 64px; --s10: 80px; --s12: 96px;
  --gx: 3.2vw;          /* seitlicher Rand */
  --sy: var(--s12);     /* Sektion oben/unten */
  --header-h: 76px;
  --mobau-gutter: var(--gx);
}

html { scroll-behavior: smooth; }

body.mobau-site {
  background: var(--paper);
  color: var(--ink);
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  /* Hello Biz / Hello+ reservieren oben Platz für ihren eigenen Header – weg damit */
  --ehp-body-padding-top: 0;
  padding-top: 0 !important;
}
/* Elementor-Canvas-Seiten (Vorschau ohne Theme): Theme-Offsets ebenfalls entfernen */
body.elementor-template-canvas {
  --ehp-body-padding-top: 0;
  padding-top: 0 !important;
  margin: 0;
  background: var(--paper);
}
/* Altes Customizer-CSS der Live-Seite setzt body:not(.home) [data-elementor-type="wp-page"] { padding-top:181px !important }
   (Platz für den alten fixierten Header). Auf Canvas-Seiten gibt es den nicht → höhere Spezifität gewinnt. */
body.elementor-template-canvas.elementor-page [data-elementor-type="wp-page"] {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
/* Seiten mit MOBAU-Header (auch ohne Canvas-Template): allgemeinen Theme-Header (Hello+) ausblenden,
   bis er ans neue Design angepasst ist – samt dem 181px-Platzhalter aus dem alten Customizer-CSS. */
body:has(.mobau-header.mobau-section) [data-elementor-type="ehp-header"],
body:has(.mobau-header.mobau-section) .ehp-header {
  display: none !important;
}
body:has(.mobau-header.mobau-section) [data-elementor-type="wp-page"] {
  padding-top: 0 !important;
}
/* Seiten mit MOBAU-Footer: allgemeinen Theme-Footer (Hello+) ausblenden, bis er ans neue Design angepasst ist. */
body:has(.mobau-footer.mobau-section) [data-elementor-type="ehp-footer"],
body:has(.mobau-footer.mobau-section) .ehp-flex-footer {
  display: none !important;
}

/* ==========================================================================
   1. Scoped Reset – nur innerhalb der MOBAU-Sektionen, damit Elementor-Widgets
      auf Unterseiten (Text-Editor, Heading …) ihre normalen Abstände behalten.
      Spezifität bewusst niedrig (0,0,1), damit die Sektions-Regeln unten gewinnen.
   ========================================================================== */
.mobau-section.mobau-section {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: var(--ink) !important;
  background: var(--paper);
}

:where(.mobau-section) *,
:where(.mobau-section) *::before,
:where(.mobau-section) *::after { box-sizing: border-box; }

:where(.mobau-section) :is(h1, h2, h3, h4, p, figure, figcaption, ol, ul, li, blockquote) {
  margin: 0;
  padding: 0;
}
:where(.mobau-section) :is(h1, h2, h3, h4) {
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  color: inherit;
}
:where(.mobau-section) :is(ol, ul) { list-style: none; }
.mobau-section.mobau-section a { color: inherit !important; text-decoration: none; }
.film-intro.mobau-section { color: #fff !important; text-decoration: none; }
:where(.mobau-section) img,
:where(.mobau-section) video {
  display: block;
  max-width: 100%;
  height: auto;
}
:where(.mobau-section) :is(b, strong) { font-weight: 700; }

/* ==========================================================================
   1b. Härtung gegen fremdes !important-CSS
       Das alte Customizer-CSS der Live-Seite setzt h1-h6/p/a/span/div/li auf font-weight:400,
       line-height:2.2, letter-spacing:0 (alles !important); das Elementor-Kit setzt h1-h3/a auf
       eigene Schrift, Größe und Farbe. Deshalb: alle Typo-Eigenschaften in MOBAU-Sektionen sind
       !important und jeder Selektor trägt .mobau-section (Spezifität ≥ 0,2,0). Dieser Reset (0,2,0)
       steht VOR den Sektionsregeln, damit die bei gleicher Spezifität gewinnen. Neue Regeln also
       immer nach diesem Block einfügen und Typo-Werte mit !important schreiben.
   ========================================================================== */
.mobau-section.mobau-section * {
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  font-style: inherit !important; /* Hello Biz setzt figcaption kursiv */
  color: inherit !important;
}
.mobau-section.mobau-section :is(b, strong) { font-weight: 700 !important; }

/* ==========================================================================
   2. Elementor neutralisieren, wo MOBAU-Sektionen liegen
      (Container-Padding, Inhaltsbreite, Widget-Abstände)
   ========================================================================== */
.e-con:has(.elementor-widget[class*="elementor-widget-mobau-"]) {
  --width: 100%;
  --content-width: 100%;
  --padding-top: 0; --padding-right: 0; --padding-bottom: 0; --padding-left: 0;
  --padding-block-start: 0; --padding-block-end: 0;
  --padding-inline-start: 0; --padding-inline-end: 0;
  --margin-top: 0; --margin-bottom: 0;
  --gap: 0; --row-gap: 0; --column-gap: 0;
  max-width: 100%;
}
.e-con:has(.elementor-widget[class*="elementor-widget-mobau-"]) > .e-con-inner {
  max-width: 100%;
  padding: 0;
}
/* Legacy Section/Column-Layout, falls jemand noch damit baut */
.elementor-section:has(.elementor-widget[class*="elementor-widget-mobau-"]) > .elementor-container {
  max-width: 100%;
}
.elementor-column:has(.elementor-widget[class*="elementor-widget-mobau-"]) > .elementor-element-populated {
  padding: 0;
}
.elementor-widget[class*="elementor-widget-mobau-"] {
  margin-block-end: 0 !important;
}

/* ==========================================================================
   3. Design – Sektionen (Reihenfolge wie auf der Startseite)
   ========================================================================== */
.mobau-section.mobau-section a { color: inherit !important; text-decoration: none; transition: color .18s, border-color .18s, opacity .18s; }
.mobau-section.mobau-section a:focus-visible, .mobau-section.mobau-section button:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }




/* --- Typo-Bausteine --------------------------------------------------- */
.mobau-section.mobau-section .eyebrow, .mobau-section.mobau-section .section-index, .mobau-section.mobau-section .label {
  text-transform: uppercase;
  letter-spacing: .14em !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}
.mobau-section.mobau-section .eyebrow::before, .mobau-section.mobau-section .section-index::before {
  content: "";
  display: inline-block;
  width: 22px; height: 3px;
  background: var(--signal);
  margin: 0 10px 3px 0;
}
.mobau-section.mobau-section h2 {
  letter-spacing: -.03em !important;
  font-size: clamp(36px, 4.6vw, 68px) !important;
  line-height: .98 !important;
  font-weight: 400 !important;
  text-wrap: balance;
}
.mobau-section.mobau-section .button {
  display: inline-flex; align-items: center; gap: 16px;
  text-transform: uppercase; letter-spacing: .1em !important;
  padding: 15px 20px;
  font-size: 10px !important; font-weight: 700 !important;
  white-space: nowrap;
}
.mobau-section.mobau-section .button:hover { opacity: .88; }
.mobau-section.mobau-section .button span { color: var(--signal) !important; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.mobau-section.mobau-section .button:hover span { transform: translate(3px, -3px); }
.mobau-section.mobau-section .button-down:hover span { transform: translateY(3px); }
.mobau-section.mobau-section .button-dark { background: var(--ink); color: #fff !important; }
.mobau-section.mobau-section .team-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s4); }
.mobau-section.mobau-section .text-link {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  text-transform: uppercase; letter-spacing: .1em !important;
  padding: 9px 0;
  font-size: 10px !important; font-weight: 700 !important;
}
.mobau-section.mobau-section .text-link span { color: var(--signal) !important; margin-left: 8px; display: inline-block; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.mobau-section.mobau-section .text-link:hover span { transform: translateX(4px); }
/* Hover-Regel: alles Klickbare außer Buttons wird rot (Signal) */
.mobau-section.mobau-section .text-link:hover, .mobau-header.mobau-section .mobau-nav a:hover, .mobau-section.mobau-section .header-tel:hover, .mobau-section.mobau-section .service a:hover, .mobau-section.mobau-section .all-projects:hover,
.mobau-section.mobau-section .footer-col a:hover, .mobau-section.mobau-section .footer-bottom a:hover { color: var(--signal) !important; }

/* --- Reveal beim Scrollen (nur mit JS, nicht bei reduzierter Bewegung) --- */
html.js .mobau-section .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
html.js .mobau-section .reveal.is-in { opacity: 1; transform: none; }
html.js .mobau-section .project.reveal { transform: translateY(24px); }
html.js .mobau-section .project.reveal.is-in { transform: none; }

/* --- Film-Intro -------------------------------------------------------- */
.film-intro.mobau-section { position: relative; height: 100svh; min-height: 520px; overflow: hidden; background: #151515; color: #fff !important; }
.mobau-section.mobau-section .film-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #151515; }
/* Abdunkelung: --film-shade (0–.9) kommt aus dem Widget-Control; unten immer ein leichter Verlauf für den Pfeil */
.mobau-section.mobau-section .film-shade { position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, var(--film-shade, .25)), rgba(0, 0, 0, var(--film-shade, .25))), linear-gradient(transparent 60%, #00000080); }
.film-intro.mobau-section::after, .projects-section.mobau-section::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%22160%22%20height=%22160%22%3E%3Cfilter%20id=%22n%22%3E%3CfeTurbulence%20type=%22fractalNoise%22%20baseFrequency=%22.9%22%20numOctaves=%222%22%20stitchTiles=%22stitch%22/%3E%3CfeColorMatrix%20values=%220%200%200%200%201%200%200%200%200%201%200%200%200%200%201%200%200%200%20.5%200%22/%3E%3C/filter%3E%3Crect%20width=%22160%22%20height=%22160%22%20filter=%22url%28#n%29%22/%3E%3C/svg%3E"); }
.mobau-section.mobau-section .film-logo { position: absolute; z-index: 1; top: 50%; left: 50%; width: clamp(115px, 12vw, 190px); height: auto; transform: translate(-50%, -55%); }
.mobau-section.mobau-section .film-scroll { position: absolute; z-index: 1; left: 50%; bottom: 28px; width: 64px; height: 64px; transform: translateX(-50%); display: grid; place-items: center; }
.mobau-section.mobau-section .film-scroll span { width: 24px; height: 24px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); animation: film-scroll 2s ease-in-out infinite; }
.mobau-section.mobau-section .film-scroll:hover span { border-color: var(--signal); }
@keyframes film-scroll { 0%, 100% { transform: translateY(-4px) rotate(45deg); opacity: .7; } 50% { transform: translateY(4px) rotate(45deg); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .mobau-section.mobau-section .film-scroll span { animation: none; } .mobau-section.mobau-section .project-image img, .mobau-section.mobau-section .project-image video { transition: none; } }

/* --- Header ------------------------------------------------------------ */
.mobau-header.mobau-section {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--header-h);
  padding: 0 var(--gx);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  transition: height .25s ease, background-color .25s ease;
  text-transform: uppercase; letter-spacing: .08em !important;
  font-size: 11px !important; font-weight: 700 !important;
}
.mobau-section.mobau-section .brand { display: block; line-height: 0 !important; }
.mobau-section.mobau-section .brand-word { display: inline-block; line-height: 1 !important; font-size: 26px !important; font-weight: 900 !important; letter-spacing: -.07em !important; }
.mobau-section.mobau-section .brand-mark { height: 44px; width: auto; transition: height .25s ease; }
.mobau-header.mobau-section.is-scrolled { --header-h: 64px; background: #f2f0eae8; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.mobau-header.mobau-section.is-scrolled .brand-mark { height: 38px; }
.mobau-header.mobau-section .mobau-nav { display: flex; gap: 28px; }
.mobau-header.mobau-section .mobau-nav a { position: relative; padding: 6px 0; }
.mobau-header.mobau-section .mobau-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.mobau-header.mobau-section .mobau-nav a:hover::after { transform: scaleX(1); }
.mobau-section.mobau-section .header-contact { justify-self: end; display: flex; align-items: center; gap: 26px; }
.mobau-section.mobau-section .header-tel { letter-spacing: .06em !important; }
.mobau-section.mobau-section .nav-toggle {
  display: none; position: relative; width: 44px; height: 44px; margin: 0; padding: 0;
  background: none; border: 0; cursor: pointer;
}
.mobau-section.mobau-section .nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); }
.mobau-section.mobau-section .nav-toggle span:nth-child(1) { top: 14px; } .mobau-section.mobau-section .nav-toggle span:nth-child(2) { top: 21px; } .mobau-section.mobau-section .nav-toggle span:nth-child(3) { top: 28px; }
.mobau-section.mobau-section .nav-toggle i { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* --- Hero -------------------------------------------------------------- */
.hero.mobau-section {
  display: grid; grid-template-columns: 52% 48%;
  border-bottom: 1px solid var(--line);
}
.mobau-section.mobau-section .hero-copy { display: flex; flex-direction: column; align-items: flex-start; padding: var(--s8) var(--gx); }
.mobau-section.mobau-section .hero-copy .eyebrow { margin-bottom: var(--s4); }
.mobau-section.mobau-section h1 {
  letter-spacing: -.02em !important; text-transform: uppercase;
  font-size: clamp(54px, 6.6vw, 108px) !important; font-weight: 900 !important; line-height: .98 !important;
}
.mobau-section.mobau-section h1 span { color: transparent !important; -webkit-text-stroke: 1.5px var(--ink); paint-order: stroke; }
.mobau-section.mobau-section .hero-intro { letter-spacing: -.02em !important; max-width: 510px; margin: var(--s4) 0; font-size: clamp(17px, 1.4vw, 24px) !important; line-height: 1.38 !important; }
.mobau-section.mobau-section .hero-actions { display: flex; align-items: center; gap: var(--s4); }
.mobau-section.mobau-section .hero-image { position: relative; overflow: hidden; background: #777; min-height: 460px; }
.mobau-section.mobau-section .hero-image img, .mobau-section.mobau-section .hero-image video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.65) contrast(1.05); }
.mobau-section.mobau-section .hero-image::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(transparent 55%, #000000a6); }
.mobau-section.mobau-section .hero-image figcaption { position: absolute; left: var(--s4); right: var(--s4); bottom: var(--s3); z-index: 1; color: #fff !important; display: flex; justify-content: space-between; align-items: end; gap: 20px; }
.mobau-section.mobau-section .hero-image figcaption span { text-transform: uppercase; letter-spacing: .12em !important; font-size: 10px !important; font-weight: 700 !important; }
.mobau-section.mobau-section .hero-image figcaption strong { font-size: 15px !important; text-align: right; }

/* --- Kompetenz: Index über allem, darunter Headline | Text ------------- */
.positioning.mobau-section {
  display: grid; grid-template-columns: 1.15fr 1fr; column-gap: 5vw; row-gap: var(--s3); align-items: start;
  padding: var(--sy) var(--gx);
}
.positioning.mobau-section .section-index { grid-column: 1 / -1; }
.positioning.mobau-section > p:last-child, .mobau-section.mobau-section .section-head > p:not(.section-index), .mobau-section.mobau-section .process-copy > p:not(.section-index), .mobau-section.mobau-section .company-copy > p { font-size: clamp(18px, 1.5vw, 24px) !important; line-height: 1.4 !important; letter-spacing: -.015em !important; max-width: none; }

/* --- Leistungen -------------------------------------------------------- */
.services.mobau-section {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.mobau-section.mobau-section .service {
  display: flex; flex-direction: column;
  min-height: 240px;
  padding: var(--s4);
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.mobau-section.mobau-section .service > span { color: var(--signal) !important; font-size: 10px !important; font-weight: 700 !important; }
.mobau-section.mobau-section .service h3 { letter-spacing: -.04em !important; margin: var(--s3) 0 var(--s2); font-size: 26px !important; font-weight: 400 !important; line-height: 1.1 !important; }
.mobau-section.mobau-section .service p { color: var(--muted) !important; max-width: 400px; font-size: 14px !important; line-height: 1.55 !important; }

/* --- Bild-Break -------------------------------------------------------- */
.image-break.mobau-section { position: relative; overflow: hidden; background: #222; height: min(55vw, 640px); }
.image-break.mobau-section img, .image-break.mobau-section video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.03); }
.image-break.mobau-section::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 65%, #00000094); }
.image-break.mobau-section figcaption { position: absolute; left: var(--gx); bottom: var(--s4); z-index: 1; color: #fff !important; text-transform: uppercase; letter-spacing: .12em !important; font-size: 10px !important; font-weight: 700 !important; }

/* --- Projekte (dunkel, Karten klickbar, mittlere Spalte leicht versetzt) */
.projects-section.mobau-section { position: relative; background: var(--ink); color: #fff !important; padding: var(--sy) var(--gx); }
.projects-section.mobau-section > * { position: relative; }
.mobau-section.mobau-section .section-head { display: grid; grid-template-columns: 1.15fr 1fr; column-gap: 5vw; row-gap: var(--s3); align-items: start; margin-bottom: var(--s6); }
.mobau-section.mobau-section .section-head .section-index { grid-column: 1 / -1; }
.mobau-section.mobau-section .section-head > p:not(.section-index) { color: #d3d1ca !important; }
/* Zwei Reihen, jede seitlich scrollbar; die Slots behalten ihre Breite (5/4/3 bzw. 3/4/5 Zwölftel) */
.mobau-section.mobau-section .project-rows { display: grid; gap: var(--s2); }
.mobau-section.mobau-section .project-row + .row-nav { margin-top: var(--s2); }
.mobau-section.mobau-section .project-row { --track: 90%; display: flex; gap: var(--s3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(-1 * var(--gx)); padding-right: var(--gx); }
.mobau-section.mobau-section .project-row::-webkit-scrollbar { display: none; }
.mobau-section.mobau-section .project { flex: 0 0 auto; scroll-snap-align: start; display: block; }
.mobau-section.mobau-section .row-a .project:nth-child(3n/**/+1), .mobau-section.mobau-section .row-b .project:nth-child(3n) { width: calc((var(--track) - 2 * var(--s3)) * 5 / 12); }
.mobau-section.mobau-section .row-a .project:nth-child(3n/**/+2), .mobau-section.mobau-section .row-b .project:nth-child(3n/**/+2) { width: calc((var(--track) - 2 * var(--s3)) * 4 / 12); }
.mobau-section.mobau-section .row-a .project:nth-child(3n), .mobau-section.mobau-section .row-b .project:nth-child(3n/**/+1) { width: calc((var(--track) - 2 * var(--s3)) * 3 / 12); }
.mobau-section.mobau-section .row-nav { display: flex; justify-content: flex-end; gap: 8px; }
.mobau-section.mobau-section .row-nav button { width: 36px; height: 36px; border: 1px solid var(--line-dark); background: none; color: #fff !important; font: inherit !important; font-size: 15px !important; cursor: pointer; transition: border-color .18s, color .18s; }
.mobau-section.mobau-section .row-nav button:hover { border-color: var(--signal); color: var(--signal) !important; }
.mobau-section.mobau-section .project-image { position: relative; overflow: hidden; background: #333; height: clamp(220px, 24vw, 380px); }
.mobau-section.mobau-section .project-image img, .mobau-section.mobau-section .project-image video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.65); transition: transform .5s; }
.mobau-section.mobau-section .project:hover img, .mobau-section.mobau-section .project:hover video { transform: scale(1.025); }
.mobau-section.mobau-section .project-image span { position: absolute; top: var(--s2); left: var(--s2); background: var(--signal); padding: 6px 8px; font-size: 10px !important; font-weight: 700 !important; }
.mobau-section.mobau-section .project-meta { position: relative; margin-top: var(--s2); padding-right: 28px; }
.mobau-section.mobau-section .project-meta h3 { letter-spacing: -.03em !important; margin-bottom: 5px; font-size: 21px !important; font-weight: 400 !important; transition: color .18s; }
.mobau-section.mobau-section .project-meta p { color: #92918c !important; text-transform: uppercase; letter-spacing: .08em !important; font-size: 11px !important; line-height: 1.4 !important; }
.mobau-section.mobau-section .project-meta b { position: absolute; top: 2px; right: 0; color: var(--signal) !important; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.mobau-section.mobau-section .project:hover .project-meta b { transform: translate(3px, -3px); }
.mobau-section.mobau-section .project:hover h3 { color: var(--signal) !important; }
.mobau-section.mobau-section .all-projects { display: block; width: max-content; margin: var(--s6) auto 0; padding-bottom: 8px; border-bottom: 1px solid currentColor; text-transform: uppercase; letter-spacing: .1em !important; font-size: 10px !important; font-weight: 700 !important; }
.mobau-section.mobau-section .all-projects span { color: var(--signal) !important; margin-left: 24px; }

/* --- Planung & Arbeitsvorbereitung (Bild | Text) ---------------------- */
.process.mobau-section { display: grid; grid-template-columns: 1fr 1fr; }
.mobau-section.mobau-section .process-image { position: relative; overflow: hidden; background: #c6c5be; }
.mobau-section.mobau-section .process-image img, .mobau-section.mobau-section .process-image video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.mobau-section.mobau-section .process-image span { position: absolute; left: var(--s4); bottom: var(--s4); background: var(--paper); padding: 9px 12px; letter-spacing: .12em !important; font-size: 10px !important; font-weight: 700 !important; }
.mobau-section.mobau-section .process-copy { background: var(--paper-2); padding: var(--sy) 5vw; }
.mobau-section.mobau-section .process-copy .section-index { margin-bottom: var(--s3); }
.mobau-section.mobau-section .process-copy > p:not(.section-index) { margin: var(--s4) 0 var(--s6); }
.mobau-section.mobau-section .process-copy ol { border-top: 1px solid var(--line); }
.mobau-section.mobau-section .process-copy li { display: flex; align-items: baseline; border-bottom: 1px solid var(--line); padding: var(--s2) 0; text-transform: uppercase; letter-spacing: .06em !important; font-size: 13px !important; font-weight: 700 !important; }
.mobau-section.mobau-section .process-copy li span { color: var(--signal) !important; width: 52px; flex: none; font-size: 10px !important; }
/* Optionale Ansprechpartner unter den Schritten (z. B. CAD-Planung) */
.mobau-section.mobau-section .process-persons { margin-top: var(--s6); }
.mobau-section.mobau-section .process-persons .label { display: block; margin-bottom: var(--s3); }
.mobau-section.mobau-section .process-persons-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); max-width: 520px; }

/* --- Unternehmen: Zeile 1 = Index | Logo rechts, Zeile 2 = Headline | Text ---- */
.company.mobau-section {
  display: grid; grid-template-columns: 1.15fr 1fr; column-gap: 6vw; row-gap: var(--s3); align-items: start;
  padding: var(--sy) var(--gx) var(--s6);
}
.company.mobau-section > .section-index { grid-column: 1; grid-row: 1; align-self: start; }
.mobau-section.mobau-section .wordmark { grid-column: 2; grid-row: 1; justify-self: end; align-self: start; font-size: 28px !important; font-weight: 900 !important; letter-spacing: -.07em !important; line-height: .8 !important; }
.company.mobau-section > h2 { grid-column: 1; grid-row: 2; }
.mobau-section.mobau-section .company-copy { grid-column: 2; grid-row: 2; }

.facts-band.mobau-section { padding: var(--s6) var(--gx); background: var(--paper); border-bottom: 1px solid var(--line); }
.mobau-section.mobau-section .facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s3); }
.mobau-section.mobau-section .facts strong { display: block; letter-spacing: -.05em !important; font-size: 40px !important; font-weight: 700 !important; line-height: 1 !important; font-variant-numeric: tabular-nums; }
.mobau-section.mobau-section .facts span { display: block; margin-top: 8px; text-transform: uppercase; letter-spacing: .08em !important; font-size: 10px !important; line-height: 1.4 !important; }
.team.mobau-section { padding: 0 var(--gx) var(--sy); }
.team.mobau-section::before { content: ""; display: block; border-top: 1px solid var(--line); margin-bottom: var(--s6); }
/* Kacheln: pro Reihe genau --team-cols Stück über die volle Inhaltsbreite, Geschäftsführung in gleicher Größe */
.team.mobau-section { --team-cols: 6; --team-gap: var(--s4); }
.team.mobau-section .section-index { margin-bottom: var(--s4); }
.team.mobau-section .row-nav button { border-color: var(--line); color: var(--ink) !important; }
.mobau-section.mobau-section .team-lead { display: flex; gap: var(--team-gap); margin-bottom: var(--s8); }
.mobau-section.mobau-section .team-rows { display: grid; gap: var(--s3); margin-bottom: var(--s8); }
.mobau-section.mobau-section .team-row { display: flex; gap: var(--team-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(-1 * var(--gx)); padding-right: var(--gx); }
.mobau-section.mobau-section .team-row::-webkit-scrollbar { display: none; }
.mobau-section.mobau-section .team-lead .person, .mobau-section.mobau-section .team-row .person { flex: 0 0 calc((100% - (var(--team-cols) - 1) * var(--team-gap)) / var(--team-cols)); scroll-snap-align: start; }
/* Porträt: quadratisch, Ausschnitt nah am Gesicht (Studiofotos haben viel Luft über dem Kopf → leicht gezoomt) */
.mobau-section.mobau-section .person { min-width: 0; }
.mobau-section.mobau-section .person-img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--paper-2); }
.mobau-section.mobau-section .person-img img, .mobau-section.mobau-section .person-img video { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 12%; transform: scale(1.32); transform-origin: 50% 24%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.mobau-section.mobau-section .person:hover .person-img img, .mobau-section.mobau-section .person:hover .person-img video { transform: scale(1.38); }
.mobau-section.mobau-section .person strong { display: block; margin-top: 14px; font-size: 15px !important; letter-spacing: -.01em !important; line-height: 1.3 !important; }
.mobau-section.mobau-section .person figcaption > span { display: block; color: var(--muted) !important; font-size: 12px !important; line-height: 1.4 !important; margin-top: 3px; }

/* --- Fragen & Antworten ------------------------------------------------- */
.faq.mobau-section { display: grid; grid-template-columns: 1.15fr 1fr; column-gap: 5vw; row-gap: var(--s3); align-items: start; padding: var(--sy) var(--gx); background: var(--paper-2); }
.faq.mobau-section .section-index { grid-column: 1 / -1; }
.mobau-section.mobau-section .faq-list { border-top: 1px solid var(--line); }
.mobau-section.mobau-section .faq-item { border-bottom: 1px solid var(--line); }
.mobau-section.mobau-section .faq-item summary { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s3); padding: var(--s3) 0; cursor: pointer; list-style: none; }
.mobau-section.mobau-section .faq-item summary::-webkit-details-marker { display: none; }
.mobau-section.mobau-section .faq-item h3 { font-size: clamp(18px, 1.5vw, 22px) !important; font-weight: 400 !important; letter-spacing: -.02em !important; line-height: 1.3 !important; }
.mobau-section.mobau-section .faq-item summary b { flex: none; color: var(--signal) !important; font-size: 22px !important; font-weight: 400 !important; line-height: 1 !important; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.mobau-section.mobau-section .faq-item[open] summary b { transform: rotate(45deg); }
.mobau-section.mobau-section .faq-item summary:hover h3 { color: var(--signal) !important; }
.mobau-section.mobau-section .faq-answer { padding: 0 0 var(--s3); max-width: 60ch; color: var(--muted) !important; font-size: 16px !important; line-height: 1.55 !important; }

/* --- Karriere-Band ----------------------------------------------------- */
.career.mobau-section {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: var(--s4);
  padding: var(--s6) var(--gx);
  background: var(--paper-2);
}
.career.mobau-section h3 { letter-spacing: -.04em !important; font-size: 28px !important; font-weight: 400 !important; margin-bottom: 6px; }
.career.mobau-section p { color: var(--muted) !important; font-size: 14px !important; max-width: 560px; }

/* --- Kontakt (hell): Headline, Ansprechpartner klein, Button „E-Mail schreiben“, Details, Folgen-Band --- */
.contact.mobau-section { padding: var(--sy) var(--gx); background: var(--paper); }
.contact.mobau-section .section-index { margin-bottom: var(--s3); }
.contact.mobau-section h2 { max-width: 20ch; }
.contact.mobau-section h2 span { color: transparent !important; -webkit-text-stroke: 1px var(--ink); paint-order: stroke; }
.mobau-section.mobau-section .contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; column-gap: 5vw; row-gap: var(--s6); align-items: start; }
.mobau-section.mobau-section .contact-persons { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.mobau-section.mobau-section .contact-cta { display: grid; justify-items: start; gap: var(--s3); margin-top: var(--s6); }
.mobau-section.mobau-section .button-lg { padding: 19px 26px; font-size: 11px !important; }
/* E-Mail, Telefon und Folgen-Links teilen sich eine Größe (.big) */
.mobau-section.mobau-section .contact-cta p { font-size: 15px !important; line-height: 1.45 !important; }
.mobau-section.mobau-section .contact-cta p a { display: inline-block; font-size: clamp(18px, 1.5vw, 22px) !important; font-weight: 700 !important; letter-spacing: -.02em !important; line-height: 1.2 !important; overflow-wrap: anywhere; }
.mobau-section.mobau-section .contact-cta p a:hover { color: var(--signal) !important; }
.mobau-section.mobau-section .contact-cta p span { display: block; color: var(--muted) !important; font-size: 13px !important; margin-top: 4px; }
.mobau-section.mobau-section .contact-details { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s8); padding-top: var(--s4); border-top: 1px solid var(--ink); }
.mobau-section.mobau-section .contact-details b { display: block; text-transform: uppercase; letter-spacing: .1em !important; font-size: 10px !important; margin-bottom: 8px; }
.mobau-section.mobau-section .contact-details p { font-size: 15px !important; line-height: 1.5 !important; }
.mobau-section.mobau-section .contact-details p.big { font-size: clamp(18px, 1.5vw, 22px) !important; font-weight: 700 !important; letter-spacing: -.02em !important; line-height: 1.2 !important; overflow-wrap: anywhere; }
.mobau-section.mobau-section .contact-details p a:hover { color: var(--signal) !important; }
.mobau-section.mobau-section .contact-details .text-link { margin-top: var(--s2); }
/* Folgen: vierte Spalte, Links in derselben Größe wie die Telefonnummer */
.mobau-section.mobau-section .contact-social p.big a { display: inline-block; }
.mobau-section.mobau-section .contact-social a span { display: inline-block; color: var(--signal) !important; margin-left: 8px; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.mobau-section.mobau-section .contact-social a:hover span { transform: translate(3px, -3px); }

/* --- Footer (dunkel): vier Spalten + Zeile mit Rechtlichem ------------- */
.mobau-footer.mobau-section { background: var(--ink); color: #fff !important; padding: var(--s8) var(--gx) var(--s3); }
.mobau-section.mobau-section .footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1fr; gap: var(--s6); padding-bottom: var(--s6); border-bottom: 1px solid var(--line-dark); }
.mobau-footer.mobau-section .brand-mark { height: 64px; }
.mobau-section.mobau-section .footer-brand p { color: var(--muted-dark) !important; font-size: 12px !important; margin-top: var(--s2); max-width: 220px; line-height: 1.5 !important; }
.mobau-section.mobau-section .footer-col { display: flex; flex-direction: column; gap: 10px; font-size: 12px !important; }
.mobau-section.mobau-section .footer-col b { text-transform: uppercase; letter-spacing: .12em !important; font-size: 10px !important; font-weight: 700 !important; color: var(--muted-dark) !important; margin-bottom: 6px; }
.mobau-section.mobau-section .footer-col span { color: var(--muted-dark) !important; }
.mobau-section.mobau-section .partner-logos { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); }
.mobau-section.mobau-section .partner-logos .partner { display: grid; place-items: center; min-width: 100px; max-width: 140px; min-height: 48px; color: var(--muted-dark) !important; text-align: center; font-size: 10px !important; text-transform: uppercase; letter-spacing: .08em !important; line-height: 1.3 !important; }
.mobau-section.mobau-section .partner-logos .partner:has(img) { min-width: 0; max-width: none; min-height: 0; justify-items: start; }
.mobau-section.mobau-section .partner-logos .partner img { width: auto; height: auto; max-width: 150px; max-height: 64px; opacity: 1; }
.mobau-section.mobau-section .partner-logos .partner span { border: 1px dashed #ffffff40; padding: 8px; }
.mobau-section.mobau-section .footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--s2) var(--s3); padding-top: var(--s3); text-transform: uppercase; letter-spacing: .08em !important; font-size: 10px !important; font-weight: 700 !important; }
.mobau-section.mobau-section .footer-bottom p { color: var(--muted-dark) !important; font-weight: 400 !important; }
.mobau-section.mobau-section .footer-bottom div { display: flex; flex-wrap: wrap; gap: 22px; }
.mobau-section.mobau-section .footer-bottom span { color: var(--signal) !important; margin-left: 6px; }

/* --- Responsive -------------------------------------------------------- */
@media (max-width: 1180px) {
  .mobau-section.mobau-section .header-tel { display: none; }
  .mobau-header.mobau-section .mobau-nav { gap: 20px; }
}
@media (max-width: 1000px) {
  .mobau-header.mobau-section { grid-template-columns: 1fr auto; }
  .mobau-header.mobau-section .mobau-nav { display: none; }
  .mobau-header.mobau-section.is-open .mobau-nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; left: 0; right: 0; top: var(--header-h);
    background: var(--paper); border-bottom: 1px solid var(--line);
  }
  .mobau-header.mobau-section.is-open .mobau-nav a { padding: 16px var(--gx); border-top: 1px solid var(--line); font-size: 13px !important; }
  /* Logo mobil größer, damit der Schriftzug lesbar bleibt (nur Header; Footer behält 64px) */
  .mobau-header.mobau-section .brand-mark, .mobau-header.mobau-section.is-scrolled .brand-mark { height: 48px; }
  .mobau-section.mobau-section .header-contact { gap: 12px; }
  .mobau-section.mobau-section .header-contact .button { padding: 12px 14px; }
  .mobau-section.mobau-section .nav-toggle { display: block; }
  .mobau-header.mobau-section.is-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
  .mobau-header.mobau-section.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .mobau-header.mobau-section.is-open .nav-toggle span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
  .services.mobau-section { grid-template-columns: repeat(2, 1fr); }
  .mobau-section.mobau-section .project-row { --track: 150%; gap: var(--s2); }
  .mobau-section.mobau-section .project-image { height: clamp(200px, 30vw, 320px); }
  .mobau-section.mobau-section .footer-top { grid-template-columns: 1fr 1fr; }
  .team.mobau-section { --team-cols: 4; --team-gap: var(--s3); }
  .mobau-section.mobau-section .contact-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  :root { --gx: 20px; --header-h: 64px; --s6: 40px; --s8: 48px; --s10: 56px; --s12: 64px; }
  .hero.mobau-section { grid-template-columns: 1fr; min-height: 0; }
  .mobau-section.mobau-section .hero-copy { padding: var(--s8) var(--gx); }
  .mobau-section.mobau-section h1 { font-size: clamp(54px, 15vw, 96px) !important; }
  .mobau-section.mobau-section .hero-image { min-height: 0; aspect-ratio: 4 / 3; }
  .mobau-section.mobau-section .hero-image figcaption { left: 20px; right: 20px; bottom: 18px; }
  .positioning.mobau-section { grid-template-columns: 1fr; }
  .mobau-section.mobau-section .section-head { grid-template-columns: 1fr; gap: var(--s3); margin-bottom: var(--s6); }
  .process.mobau-section { grid-template-columns: 1fr; }
  .mobau-section.mobau-section .process-image { aspect-ratio: 16 / 10; }
  .mobau-section.mobau-section .process-copy { padding: var(--sy) var(--gx); }
  .company.mobau-section { grid-template-columns: 1fr; }
  .company.mobau-section > .section-index, .mobau-section.mobau-section .wordmark, .company.mobau-section > h2, .mobau-section.mobau-section .company-copy { grid-column: 1; grid-row: auto; }
  .mobau-section.mobau-section .wordmark { justify-self: start; }
  .mobau-section.mobau-section .facts { grid-template-columns: repeat(2, 1fr); }
  .mobau-section.mobau-section .leadership { grid-template-columns: 1fr; row-gap: 20px; }
  .mobau-section.mobau-section .leadership .text-link { justify-self: start; }
  .career.mobau-section { grid-template-columns: 1fr; gap: var(--s3); justify-items: start; }
  .contact.mobau-section h2 { max-width: none; }
  .mobau-section.mobau-section .contact-grid { grid-template-columns: 1fr; }
  .team.mobau-section { --team-cols: 2.5; --team-gap: var(--s2); }
  .faq.mobau-section { grid-template-columns: 1fr; }
  .mobau-section.mobau-section .footer-top { grid-template-columns: 1fr; gap: var(--s4); }
  .mobau-section.mobau-section .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .services.mobau-section { grid-template-columns: 1fr; }
  .mobau-section.mobau-section .project-row .project:nth-child(n) { width: 78vw; }
  .mobau-section.mobau-section .project-image { height: clamp(180px, 56vw, 260px); }
  .mobau-section.mobau-section .contact-persons { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); max-width: 340px; }
  .mobau-section.mobau-section .contact-cta .button { width: 100%; justify-content: space-between; }
  .mobau-section.mobau-section .contact-details { grid-template-columns: 1fr; }
  .mobau-section.mobau-section .hero-actions { flex-wrap: wrap; gap: 16px; }
  .mobau-section.mobau-section .facts strong { font-size: 32px !important; }
}

/* Sticky-Header im Elementor-Kontext: das Widget selbst muss kleben, nicht nur der <header> darin
   (ein sticky Element klebt nur innerhalb seines Elternelements). Voraussetzung: alle Sektionen in EINEM Container. */
.elementor-widget.elementor-widget-mobau-header,
.elementor-widget.elementor-widget-mobau-header > .elementor-widget-container {
  position: sticky !important;
  top: 0;
  z-index: 20;
}

/* WordPress-Menü (ul/li) im Header und Footer wie die Link-Liste behandeln */
.mobau-header.mobau-section .mobau-nav :is(ul, li),
.mobau-footer.mobau-section .footer-col :is(ul, li) { display: contents; }

/* ==========================================================================
   1.5.4/1.5.5 – Raster bei genau 5 Elementen.
   Leistungen: oben 3, die unteren 2 teilen sich die volle Zeilenbreite (je 50 %);
   Inhalt der breiten Kacheln als Block mittig, Text linksbündig. Bei 6 bleibt 3 + 3.
   Kontakt-Personen: immer gleich groß – Desktop 5 in einer Reihe, Tablet/Handy 3 + 2 (unten mittig).
   Mobil gelten weiter die 1- bzw. 2-Spalten-Regeln oben.
   ========================================================================== */
@media (min-width: 1001px) {
  .services.mobau-section:has(> .service:nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .services.mobau-section:has(> .service:nth-child(5):last-child) > .service { grid-column: span 2; }
  .services.mobau-section:has(> .service:nth-child(5):last-child) > .service:nth-child(n+4) { grid-column: span 3; }
  .services.mobau-section:has(> .service:nth-child(5):last-child) > .service:nth-child(n+4) > * { align-self: center; width: min(100%, 400px); }
}
@media (min-width: 1001px), (min-width: 561px) and (max-width: 760px) {
  .mobau-section.mobau-section .contact-persons:has(> .person:nth-child(5):last-child) { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s2); }
}
/* Handy + Tablet: gleich große Kacheln zu 3 + 2, die unteren zwei mittig (kein Einzelner allein in der Zeile) */
@media (max-width: 560px), (min-width: 761px) and (max-width: 1000px) {
  .mobau-section.mobau-section .contact-persons:has(> .person:nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: none; }
  .mobau-section.mobau-section .contact-persons:has(> .person:nth-child(5):last-child) > .person { grid-column: span 2; }
  .mobau-section.mobau-section .contact-persons:has(> .person:nth-child(5):last-child) > .person:nth-child(4) { grid-column: 2 / span 2; }
  .mobau-section.mobau-section .contact-persons:has(> .person:nth-child(5):last-child) > .person:nth-child(5) { grid-column: 4 / span 2; }
}

/* --- 1.5.8 Aktuelles: ruhiges helles Band (z. B. 10 Jahre MOBAU), sitzt unten vor dem Footer --- */
.news.mobau-section {
  display: grid; grid-template-columns: 1.15fr 1fr; column-gap: 5vw; row-gap: var(--s4); align-items: start;
  padding: var(--s8) var(--gx);
  background: var(--paper-2);
}
.news.mobau-section .section-index { margin-bottom: var(--s2); }
.news.mobau-section h2 { font-size: clamp(28px, 2.8vw, 44px) !important; }
.mobau-section.mobau-section .news-text { margin-top: var(--s3); color: var(--muted) !important; font-size: 15px !important; line-height: 1.55 !important; max-width: 560px; }
.mobau-section.mobau-section .news-side { display: grid; justify-items: start; gap: var(--s4); }
.mobau-section.mobau-section .news-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3); width: 100%; margin: 0; padding-top: var(--s3); border-top: 1px solid var(--ink); }
.mobau-section.mobau-section .news-facts dt { text-transform: uppercase; letter-spacing: .1em !important; font-size: 10px !important; font-weight: 700 !important; margin-bottom: 6px; }
.mobau-section.mobau-section .news-facts dd { margin: 0; font-size: 15px !important; font-weight: 700 !important; line-height: 1.4 !important; }
/* Ohne Eckdaten: Text links, Link rechts unten */
.news.mobau-section.news-compact { grid-template-columns: 1fr auto; align-items: end; }
@media (max-width: 760px) {
  .news.mobau-section, .news.mobau-section.news-compact { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .mobau-section.mobau-section .news-facts { grid-template-columns: 1fr; }
}

/* --- 1.5.9 Stellen: Kopf (Index, Headline | Intro), darunter Liste Titel | Text | Link --- */
.jobs.mobau-section { padding: var(--sy) var(--gx); background: var(--paper); }
.mobau-section.mobau-section .jobs-head { display: grid; grid-template-columns: 1.15fr 1fr; column-gap: 5vw; row-gap: var(--s3); align-items: start; margin-bottom: var(--s6); }
.mobau-section.mobau-section .jobs-head .section-index { grid-column: 1 / -1; }
.mobau-section.mobau-section .jobs-intro { font-size: clamp(18px, 1.5vw, 24px) !important; line-height: 1.4 !important; letter-spacing: -.015em !important; }
.mobau-section.mobau-section .job-list { border-top: 1px solid var(--ink); }
.mobau-section.mobau-section .job { display: grid; grid-template-columns: 1.15fr 1.4fr auto; column-gap: 5vw; row-gap: var(--s2); align-items: baseline; padding: var(--s3) 0; border-bottom: 1px solid var(--line); }
.mobau-section.mobau-section .job h3 { font-size: clamp(22px, 2vw, 30px) !important; font-weight: 400 !important; letter-spacing: -.03em !important; line-height: 1.15 !important; }
.mobau-section.mobau-section .job-title span { display: block; margin-top: 6px; text-transform: uppercase; letter-spacing: .1em !important; font-size: 10px !important; font-weight: 700 !important; color: var(--muted) !important; }
.mobau-section.mobau-section .job-text { color: var(--muted) !important; font-size: 15px !important; line-height: 1.55 !important; max-width: 520px; }
.mobau-section.mobau-section .job .text-link { justify-self: end; white-space: nowrap; }

/* --- 1.5.9 Bewerbungsformular: Text links, Formular rechts (hell, Linien statt Kästen) --- */
.application.mobau-section { display: grid; grid-template-columns: 1fr 1.15fr; column-gap: 5vw; row-gap: var(--s6); align-items: start; padding: var(--sy) var(--gx); background: var(--paper-2); }
.mobau-section.mobau-section .application-copy .section-index { margin-bottom: var(--s3); }
.mobau-section.mobau-section .application-text { margin-top: var(--s4); font-size: clamp(17px, 1.3vw, 20px) !important; line-height: 1.45 !important; letter-spacing: -.01em !important; max-width: 460px; }
.mobau-section.mobau-section .application-direct { display: grid; gap: 4px; margin-top: var(--s6); padding-top: var(--s3); border-top: 1px solid var(--ink); max-width: 460px; }
.mobau-section.mobau-section .application-direct span { text-transform: uppercase; letter-spacing: .1em !important; font-size: 10px !important; font-weight: 700 !important; }
.mobau-section.mobau-section .application-direct a { font-size: clamp(18px, 1.5vw, 22px) !important; font-weight: 700 !important; letter-spacing: -.02em !important; line-height: 1.3 !important; }
.mobau-section.mobau-section .application-direct a:hover { color: var(--signal) !important; }
.mobau-section.mobau-section .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--s4); }
.mobau-section.mobau-section .form-grid .field-full { grid-column: 1 / -1; }
.mobau-section.mobau-section .field { display: grid; gap: 8px; min-width: 0; }
.mobau-section.mobau-section .field > label { text-transform: uppercase; letter-spacing: .1em !important; font-size: 10px !important; font-weight: 700 !important; }
.mobau-section.mobau-section .mobau-form :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea) {
  display: block; width: 100%; max-width: 100%; margin: 0;
  padding: 10px 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0;
  background: transparent; box-shadow: none; outline: 0;
  font-size: 17px !important; line-height: 1.4 !important; color: var(--ink) !important;
  -webkit-appearance: none; appearance: none;
}
.mobau-section.mobau-section .mobau-form textarea { resize: vertical; min-height: 120px; }
.mobau-section.mobau-section .mobau-form select { padding-right: 28px; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%); background-size: 6px 6px; background-position: right 10px center, right 4px center; background-repeat: no-repeat; }
.mobau-section.mobau-section .mobau-form :is(input, select, textarea):focus { border-bottom-color: var(--signal); box-shadow: 0 1px 0 var(--signal); }
.mobau-section.mobau-section .mobau-form ::placeholder { color: #8a8983 !important; opacity: 1; }
.mobau-section.mobau-section .field-hint, .mobau-section.mobau-section .field-note { color: var(--muted) !important; font-size: 13px !important; line-height: 1.45 !important; }
.mobau-section.mobau-section .field-hint { margin-top: calc(-1 * var(--s2)); }
.mobau-section.mobau-section .field-file input[type="file"] { display: block; width: 100%; max-width: 100%; padding: 14px; border: 1px dashed var(--ink); background: transparent; font-size: 14px !important; cursor: pointer; }
.mobau-section.mobau-section .field-file input[type="file"]::file-selector-button { margin-right: 14px; padding: 9px 12px; border: 0; background: var(--ink); color: #fff; text-transform: uppercase; letter-spacing: .1em; font: 700 10px Arial, Helvetica, sans-serif; cursor: pointer; }
.mobau-section.mobau-section .field-check > label { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; text-transform: none; letter-spacing: 0 !important; font-size: 14px !important; font-weight: 400 !important; line-height: 1.5 !important; cursor: pointer; }
.mobau-section.mobau-section .field-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); }
.mobau-section.mobau-section .field-check a { text-decoration: underline; }
.mobau-section.mobau-section .field-check a:hover { color: var(--signal) !important; }
.mobau-section.mobau-section .mobau-form .button { margin-top: var(--s4); border: 0; cursor: pointer; }
.mobau-section.mobau-section .mobau-form .button[disabled] { opacity: .5; cursor: wait; }
.mobau-section.mobau-section .form-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mobau-section.mobau-section .form-status:empty { display: none; }
.mobau-section.mobau-section .form-status { margin-top: var(--s3); padding: 14px 16px; border-left: 3px solid var(--signal); background: var(--paper); font-size: 15px !important; line-height: 1.5 !important; }
.mobau-section.mobau-section .form-status.is-ok { margin-top: 0; border-left-color: var(--ink); font-size: clamp(18px, 1.5vw, 22px) !important; letter-spacing: -.015em !important; }
.mobau-section.mobau-section .field.has-error > label { color: var(--signal) !important; }
.mobau-section.mobau-section .field.has-error :is(input, select, textarea) { border-bottom-color: var(--signal); }

@media (max-width: 1000px) {
  .mobau-section.mobau-section .job { grid-template-columns: 1fr 1.4fr; }
  .mobau-section.mobau-section .job .text-link { grid-column: 2; justify-self: start; }
  .application.mobau-section { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .mobau-section.mobau-section .jobs-head { grid-template-columns: 1fr; }
  .mobau-section.mobau-section .job { grid-template-columns: 1fr; row-gap: 10px; }
  .mobau-section.mobau-section .job .text-link { grid-column: 1; white-space: normal; }
  .mobau-section.mobau-section .form-grid { grid-template-columns: 1fr; }
  .mobau-section.mobau-section .mobau-form .button { width: 100%; justify-content: space-between; }
}

/* --- 1.6.1 Textseite (Impressum, Datenschutz): Kopf, links Inhalt, rechts nummerierte Abschnitte --- */
.legal.mobau-section { padding: var(--sy) var(--gx); background: var(--paper); border-bottom: 1px solid var(--line); }
.legal.mobau-section + .legal.mobau-section { background: var(--paper-2); }
.mobau-section.mobau-section .legal-head { display: grid; gap: var(--s3); max-width: 900px; margin-bottom: var(--s8); }
.mobau-section.mobau-section .legal-title { text-transform: none; letter-spacing: -.03em !important; font-size: clamp(40px, 5vw, 76px) !important; line-height: .98 !important; font-weight: 400 !important; }
.mobau-section.mobau-section .legal-intro { font-size: clamp(17px, 1.4vw, 21px) !important; line-height: 1.45 !important; letter-spacing: -.01em !important; max-width: 720px; }
.mobau-section.mobau-section .legal-body { display: grid; grid-template-columns: minmax(220px, 1fr) 2.4fr; column-gap: 5vw; align-items: start; }
.mobau-section.mobau-section .legal-body.no-toc .legal-content { grid-column: 2; }
.mobau-section.mobau-section .legal-toc { position: sticky; top: calc(var(--header-h) + var(--s3)); padding-top: var(--s2); border-top: 1px solid var(--ink); }
.mobau-section.mobau-section .legal-toc b { display: block; margin-bottom: var(--s2); text-transform: uppercase; letter-spacing: .12em !important; font-size: 10px !important; font-weight: 700 !important; }
.mobau-section.mobau-section .legal-toc li { border-bottom: 1px solid var(--line); }
.mobau-section.mobau-section .legal-toc a { display: flex; gap: 12px; padding: 9px 0; font-size: 13px !important; line-height: 1.35 !important; }
.mobau-section.mobau-section .legal-toc a span { flex: none; width: 22px; color: var(--signal) !important; font-size: 10px !important; font-weight: 700 !important; line-height: 1.9 !important; }
.mobau-section.mobau-section .legal-toc a:hover { color: var(--signal) !important; }
.mobau-section.mobau-section .legal-content { max-width: 760px; border-top: 1px solid var(--ink); }
.mobau-section.mobau-section .legal-block { padding: var(--s4) 0; border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + var(--s3)); }
.mobau-section.mobau-section .legal-block h3 { display: flex; gap: 14px; align-items: baseline; margin-bottom: var(--s2); font-size: clamp(20px, 1.7vw, 26px) !important; font-weight: 400 !important; letter-spacing: -.02em !important; line-height: 1.2 !important; }
.mobau-section.mobau-section .legal-block h3 span { flex: none; color: var(--signal) !important; font-size: 10px !important; font-weight: 700 !important; letter-spacing: .1em !important; }
.mobau-section.mobau-section .legal-text { color: #2c2b28 !important; font-size: 15.5px !important; line-height: 1.65 !important; overflow-wrap: anywhere; }
.mobau-section.mobau-section .legal-text > * + * { margin-top: 14px; }
.mobau-section.mobau-section .legal-text h4 { margin-top: var(--s3); text-transform: uppercase; letter-spacing: .1em !important; font-size: 11px !important; font-weight: 700 !important; color: var(--ink) !important; }
.mobau-section.mobau-section .legal-text :is(strong, b) { font-weight: 700 !important; color: var(--ink) !important; }
.mobau-section.mobau-section .legal-text ul { list-style: none; padding: 0; }
.mobau-section.mobau-section .legal-text ul li { position: relative; padding-left: 20px; }
.mobau-section.mobau-section .legal-text ul li + li { margin-top: 6px; }
.mobau-section.mobau-section .legal-text ul li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 2px; background: var(--signal); }
.mobau-section.mobau-section .legal-text a { text-decoration: underline; text-underline-offset: 3px; }
.mobau-section.mobau-section .legal-text a:hover { color: var(--signal) !important; }
.mobau-section.mobau-section .legal-text blockquote { margin: var(--s3) 0 0; padding: var(--s3); border-left: 3px solid var(--signal); background: #11110f0a; }
.mobau-section.mobau-section .legal-stand { padding-top: var(--s3); color: var(--muted) !important; font-size: 13px !important; }
@media (max-width: 900px) {
  .mobau-section.mobau-section .legal-body { grid-template-columns: 1fr; row-gap: var(--s6); }
  .mobau-section.mobau-section .legal-toc { position: static; }
  .mobau-section.mobau-section .legal-body.no-toc .legal-content { grid-column: 1; }
  .mobau-section.mobau-section .legal-head { margin-bottom: var(--s6); }
}

/* --- 1.6.2 Hero ohne Bild (Seitenkopf auf Unterseiten) --------------- */
.hero.mobau-section.hero-noimg { grid-template-columns: 1fr; }
.hero.mobau-section.hero-noimg .hero-copy { padding-top: var(--s10); padding-bottom: var(--s8); }
.hero.mobau-section.hero-noimg .hero-intro { max-width: 720px; }

/* --- 1.6.2 Team als Raster (Team-Seite) ------------------------------ */
.mobau-section.mobau-section .team-grid { display: grid; grid-template-columns: repeat(var(--team-cols), minmax(0, 1fr)); gap: var(--s4) var(--team-gap); margin-bottom: var(--s8); }
.mobau-section.mobau-section .team-grid:last-child { margin-bottom: 0; }

/* --- 1.6.2 Projekte als Raster (Projekte-Seite) ---------------------- */
.mobau-section.mobau-section .project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6) var(--s3); }
.mobau-section.mobau-section .project-grid .project-image { height: auto; aspect-ratio: 4 / 3; }

/* --- 1.6.2 Projektseite ---------------------------------------------- */
.project-detail.mobau-section { display: block; padding: var(--s10) var(--gx) var(--sy); background: var(--paper); border-bottom: 1px solid var(--line); }
.mobau-section.mobau-section .pd-head { display: grid; justify-items: start; gap: var(--s3); margin-bottom: var(--s6); }
.mobau-section.mobau-section .pd-back span { margin: 0 8px 0 0; }
.mobau-section.mobau-section .pd-back:hover span { transform: translateX(-4px); }
.mobau-section.mobau-section .pd-hero { position: relative; overflow: hidden; background: #777; aspect-ratio: 16 / 8; }
.mobau-section.mobau-section .pd-hero img, .mobau-section.mobau-section .pd-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mobau-section.mobau-section .pd-hero figcaption { position: absolute; left: var(--s4); bottom: var(--s3); z-index: 1; color: #fff !important; text-transform: uppercase; letter-spacing: .12em !important; font-size: 10px !important; font-weight: 700 !important; }
.mobau-section.mobau-section .pd-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(transparent 65%, #0000008c); }
.mobau-section.mobau-section .pd-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-bottom: 1px solid var(--line); margin: 0 0 var(--s8); }
.mobau-section.mobau-section .pd-facts > div { padding: var(--s3) var(--s3) var(--s3) 0; border-right: 1px solid var(--line); }
.mobau-section.mobau-section .pd-facts > div + div { padding-left: var(--s3); }
.mobau-section.mobau-section .pd-facts > div:last-child { border-right: 0; }
.mobau-section.mobau-section .pd-facts dt { margin-bottom: 6px; color: var(--muted) !important; text-transform: uppercase; letter-spacing: .12em !important; font-size: 10px !important; font-weight: 700 !important; }
.mobau-section.mobau-section .pd-facts dd { margin: 0; font-size: 17px !important; line-height: 1.35 !important; letter-spacing: -.01em !important; }
.mobau-section.mobau-section .pd-body { display: grid; grid-template-columns: 1.15fr 1fr; column-gap: 5vw; row-gap: var(--s6); align-items: start; }
.mobau-section.mobau-section .pd-intro { font-size: clamp(19px, 1.6vw, 26px) !important; line-height: 1.4 !important; letter-spacing: -.02em !important; }
.mobau-section.mobau-section .pd-side { display: grid; gap: var(--s6); }
.mobau-section.mobau-section .pd-block .section-index { margin-bottom: var(--s2); }
.mobau-section.mobau-section .pd-services, .mobau-section.mobau-section .pd-points { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.mobau-section.mobau-section .pd-services li, .mobau-section.mobau-section .pd-points li { border-bottom: 1px solid var(--line); font-size: 16px !important; line-height: 1.45 !important; }
.mobau-section.mobau-section .pd-services li { padding: 12px 0; }
.mobau-section.mobau-section .pd-services a { display: flex; justify-content: space-between; gap: 16px; }
.mobau-section.mobau-section .pd-services a span { color: var(--signal) !important; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.mobau-section.mobau-section .pd-services a:hover { color: var(--signal) !important; }
.mobau-section.mobau-section .pd-services a:hover span { transform: translateX(4px); }
.mobau-section.mobau-section .pd-points li { position: relative; padding: 12px 0 12px 22px; }
.mobau-section.mobau-section .pd-points li::before { content: ""; position: absolute; left: 0; top: calc(12px + .72em); width: 10px; height: 2px; background: var(--signal); }
.mobau-section.mobau-section .pd-gallery { margin-top: var(--s10); }
.mobau-section.mobau-section .pd-gallery > .section-index { margin-bottom: var(--s3); }
.mobau-section.mobau-section .pd-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s4) var(--s3); }
.mobau-section.mobau-section .pd-grid figure { margin: 0; min-width: 0; }
.mobau-section.mobau-section .pd-span-3 { grid-column: span 3; }
.mobau-section.mobau-section .pd-span-4 { grid-column: span 4; }
.mobau-section.mobau-section .pd-span-5 { grid-column: span 5; }
.mobau-section.mobau-section .pd-span-7 { grid-column: span 7; }
.mobau-section.mobau-section .pd-span-12 { grid-column: 1 / -1; }
/* Gleiche Höhe je Reihe, unterschiedliche Breiten (wie die Projekt-Kacheln der Startseite); ein Einzelbild wird ein breites Band */
.mobau-section.mobau-section .pd-grid a { position: relative; display: block; overflow: hidden; background: var(--paper-2); height: clamp(220px, 26vw, 440px); }
.mobau-section.mobau-section .pd-span-12 a { height: clamp(240px, 36vw, 620px); }
.mobau-section.mobau-section .pd-grid img, .mobau-section.mobau-section .pd-grid video { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); transition: transform .5s, filter .5s; }
.mobau-section.mobau-section .pd-grid a:hover img, .mobau-section.mobau-section .pd-grid a:hover video { transform: scale(1.03); filter: saturate(1); }
.mobau-section.mobau-section .pd-num { position: absolute; top: var(--s2); left: var(--s2); background: var(--signal); color: #fff !important; padding: 6px 8px; font-size: 10px !important; font-weight: 700 !important; line-height: 1 !important; }
.mobau-section.mobau-section .pd-grid figcaption { margin-top: 8px; color: var(--muted) !important; font-size: 13px !important; line-height: 1.4 !important; }

/* 1.6.3 Bild neben „Konstruktion & Ausführung“: beide Zeilen beginnen oben bündig, das Bild wächst mit der Liste */
.mobau-section.mobau-section .pd-body-split { align-items: stretch; }
.mobau-section.mobau-section .pd-body-split > :nth-child(-n+2) { align-self: start; }
.mobau-section.mobau-section .pd-aside { position: relative; margin: 0; min-height: 320px; overflow: hidden; background: var(--paper-2); }
.mobau-section.mobau-section .pd-aside img, .mobau-section.mobau-section .pd-aside video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1000px) {
  .mobau-section.mobau-section .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mobau-section.mobau-section .pd-grid a { height: clamp(200px, 30vw, 320px); }
}
@media (max-width: 760px) {
  .mobau-section.mobau-section .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--s2); }
  .mobau-section.mobau-section .pd-body { grid-template-columns: 1fr; }
  .mobau-section.mobau-section .pd-aside { min-height: 0; aspect-ratio: 4 / 3; }
  .mobau-section.mobau-section .pd-hero { aspect-ratio: 4 / 3; }
  .mobau-section.mobau-section .pd-facts { grid-template-columns: 1fr 1fr; }
  .mobau-section.mobau-section .pd-facts > div, .mobau-section.mobau-section .pd-facts > div + div { padding: var(--s2) var(--s2) var(--s2) 0; border-right: 0; border-top: 1px solid var(--line); }
  .mobau-section.mobau-section .pd-facts > div:nth-child(even) { padding-left: var(--s2); border-left: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .mobau-section.mobau-section .project-grid { grid-template-columns: 1fr; }
  .mobau-section.mobau-section .pd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s3) var(--s2); }
  .mobau-section.mobau-section .pd-grid figure { grid-column: span 1; }
  .mobau-section.mobau-section .pd-grid figure:nth-child(3n+1) { grid-column: 1 / -1; }
  .mobau-section.mobau-section .pd-grid a { height: 44vw; }
  .mobau-section.mobau-section .pd-grid figure:nth-child(3n+2):last-child { grid-column: 1 / -1; }
  .mobau-section.mobau-section .pd-grid figure:nth-child(3n+1) a, .mobau-section.mobau-section .pd-grid figure:nth-child(3n+2):last-child a { height: 62vw; }
  .mobau-section.mobau-section .pd-head h1 { font-size: 8.4vw !important; overflow-wrap: anywhere; }
}


/* --- 1.7.0 Videos statt Bildern (gleiche Flächen, object-fit: cover) ---- */
.mobau-section.mobau-section video.mobau-video { width: 100%; height: 100%; object-fit: cover; background: #1b1b19; }
.mobau-section.mobau-section .pd-grid .pd-media { position: relative; display: block; overflow: hidden; background: var(--paper-2); height: clamp(220px, 26vw, 440px); }
.mobau-section.mobau-section .pd-span-12 .pd-media { height: clamp(240px, 36vw, 620px); }
@media (max-width: 1000px) {
  .mobau-section.mobau-section .pd-grid .pd-media { height: clamp(200px, 30vw, 320px); }
}
@media (max-width: 560px) {
  .mobau-section.mobau-section .pd-grid .pd-media { height: 44vw; }
  .mobau-section.mobau-section .pd-grid figure:nth-child(3n+1) .pd-media, .mobau-section.mobau-section .pd-grid figure:nth-child(3n+2):last-child .pd-media { height: 62vw; }
}
