/* Maus & Partner – Stylesheet (Nachbau der Framer-Seite + neue Unterseiten) */
@font-face {
  font-family: "Aspekta";
  src: url("fonts/aspekta.woff2") format("woff2");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #f8f7f0;
  --white: #f2f2f2;
  --ink: #0f0f0f;
  --gray: #71706b;
  --line: #e3e2da;
  --forest: #01191c;
  --forest-2: #031f21;
  --sage: #7b8a6f;
  --copper: #b07655;
  --blue: #5462bf;
  --sans: "Aspekta", system-ui, sans-serif;
  --serif: "Times New Roman", Times, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-variation-settings: "wght" 450;
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h5 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 0.95; letter-spacing: -0.04em; }
p { margin: 0; }
button { font: inherit; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; }

/* Eyebrow: kleine Pille + Text */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; line-height: 1.2; font-variation-settings: "wght" 450; letter-spacing: -0.01em;
}
.eyebrow::before { content: ""; width: 8px; height: 16px; border-radius: 100px; background: currentColor; }
.eyebrow--sage { color: var(--sage); }
.eyebrow--copper { color: var(--copper); }
.eyebrow--blue { color: var(--blue); }
.eyebrow--light { color: var(--white); }

/* Buttons */
.btn { display: inline-flex; align-items: center; height: 52px; padding: 0 36px; border-radius: 100px; background: var(--forest-2); color: var(--white); font-size: 14px; font-variation-settings: "wght" 500; transition: background .2s; }
.btn:hover { background: #000; }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: #fff; }

/* Navigation */
.nav {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: calc(100% - 48px); max-width: 1200px; height: 82px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(16, 16, 16, 0.5);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-radius: 4px; color: var(--white);
}
.nav__logo img { width: 160px; height: 20px; object-fit: contain; }
.nav__links { position: absolute; left: 31px; top: 50%; transform: translateY(-50%); display: flex; gap: 26px; }
.nav__links a { font-size: 13px; font-variation-settings: "wght" 500; color: rgba(242, 242, 242, 0.75); transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current] { color: #fff; }
/* Rechte Gruppe: Login, Sprache, Kontakt-Button */
.nav__right { position: absolute; right: 31px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 14px; }
.nav__btn {
  height: 42px; padding: 0 44px; display: flex; align-items: center;
  background: var(--white); color: var(--ink); border-radius: 100px;
  font-size: 12px; font-variation-settings: "wght" 500;
  transition: background .2s; white-space: nowrap;
}
.nav__btn:hover { background: #fff; }
/* Login: der Haupt-Button oben rechts */
.nav__login {
  height: 42px; padding: 0 30px 0 26px; display: flex; align-items: center; gap: 9px;
  background: var(--white); color: var(--ink); border-radius: 100px;
  font-size: 13px; font-variation-settings: "wght" 500; white-space: nowrap;
  transition: background .2s, transform .2s;
}
.nav__login:hover { background: #fff; transform: translateY(-1px); }
.nav__login[aria-current] { background: var(--copper); color: #fff; }
.nav__login svg { width: 15px; height: 15px; }
.nav__links .nav__links-login { display: none; }
.nav__lang { display: flex; align-items: center; gap: 2px; font-size: 12px; font-variation-settings: "wght" 500; }
.nav__lang a, .nav__lang span { padding: 6px 8px; border-radius: 100px; }
.nav__lang a { color: rgba(242, 242, 242, 0.6); transition: color .2s; }
.nav__lang a:hover { color: #fff; }
.nav__lang span { color: var(--ink); background: rgba(242, 242, 242, 0.9); }
.nav__burger { display: none; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: none; border: 0; color: var(--white); cursor: pointer; }
.nav__burger span { display: block; width: 22px; height: 1.5px; margin: 6px auto; background: currentColor; transition: transform .3s; }
.nav.open .nav__burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav.open .nav__burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* Hero (Startseite) */
.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; color: var(--white); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__content {
  position: relative; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 0 48px 142px; text-align: center;
}
.badge { display: flex; align-items: center; gap: 14px; font-size: 20px; line-height: 1.4; color: #fff; letter-spacing: -0.01em; }
.badge__icon { width: 36px; height: 36px; border-radius: 100px; background: #fff; display: grid; place-items: center; }
.badge__icon img { width: 18px; height: 18px; }
.hero h1 { margin-top: 28px; font-size: 83px; color: var(--white); }
.hero p { margin-top: 31px; max-width: 500px; color: var(--white); }

/* Kennzahlen */
.stats { background: var(--forest); color: var(--white); padding: 32px 0 33px; }
.stats .container { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.stat { text-align: center; }
.stat__num { font-size: 44px; line-height: 1.1; font-variation-settings: normal; letter-spacing: 0; }
.stat__label { margin-top: 10px; font-size: 13px; line-height: 1.4; font-variation-settings: normal; letter-spacing: 0; }

/* Unser Ansatz */
.approach { padding: 100px 24px; border-bottom: 1px solid var(--line); }
.approach__head { display: flex; flex-direction: column; align-items: center; gap: 15px; text-align: center; }
.approach h2 { font-size: 56px; max-width: 512px; }
.approach__grid { max-width: 1100px; margin: 100px auto 0; display: grid; grid-template-columns: repeat(3, 308px); justify-content: center; column-gap: 62px; }
.approach__item { text-align: center; }
.approach__item img { width: 80px; height: 80px; margin: 0 auto 32px; object-fit: contain; }
.approach__item h3 { font-family: var(--sans); font-size: 18px; line-height: 1.4; letter-spacing: -0.01em; font-variation-settings: "wght" 450; }
.approach__item p { margin-top: 7px; color: var(--gray); }

/* Erfolge */
.deals { padding: 100px 24px 140px; scroll-margin-top: 0; }
.deals__head { max-width: 1225px; margin: 0 auto; }
.deals__head h2 { margin-top: 16px; font-size: 39px; }
.deals__head p:last-child { margin-top: 16px; max-width: 878px; color: var(--gray); }
.deals__grid { margin-top: 74px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.deals__grid a { display: block; position: relative; overflow: hidden; }
.deals__grid img { width: 100%; aspect-ratio: 337 / 450; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.deals__grid a:hover img { transform: scale(1.03); }
.deals__more { position: absolute; left: 50%; bottom: 50%; transform: translate(-50%, 50%) scale(.9); padding: 12px 22px; border-radius: 100px; background: var(--white); color: var(--ink); font-size: 13px; font-variation-settings: "wght" 500; opacity: 0; transition: opacity .3s, transform .3s; white-space: nowrap; }
.deals__grid a:hover .deals__more, .deals__grid a:focus-visible .deals__more { opacity: 1; transform: translate(-50%, 50%) scale(1); }

/* Netzwerk */
.network { background: #000; color: var(--white); padding: 100px 24px; }
.network h5 { font-size: 30px; max-width: 738px; margin: 0 auto; text-align: center; }
.network__grid { max-width: 1225px; margin: 56px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.net {
  min-height: 324px; padding: 16px 16px 18px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  border: 1px solid rgba(242, 242, 242, 0.15); margin: 0 -1px -1px 0;
}
.net h3 { font-family: var(--sans); font-size: 16px; line-height: 1.4; letter-spacing: -0.01em; font-variation-settings: "wght" 500; }
.net p { margin-top: 10px; font-size: 12px; line-height: 1.2; font-variation-settings: "wght" 500; max-width: 274px; }
.net img { height: auto; max-height: 90px; max-width: 160px; object-fit: contain; object-position: left bottom; }

/* Investoren */
.investors { padding: 100px 24px; overflow: hidden; }
.investors__head { display: flex; flex-direction: column; align-items: center; gap: 15px; text-align: center; }
.investors h2 { font-size: 39px; }
.investors__grid { max-width: 1200px; margin: 55px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.investors__grid div { height: 160px; display: grid; place-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.investors__grid img { width: 224px; height: 60px; object-fit: contain; }
.marquee {
  max-width: 1200px; margin: 56px auto 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; gap: 24px; width: max-content; animation: marquee 30s linear infinite; }
.marquee__track span { white-space: nowrap; }
@keyframes marquee { to { transform: translateX(calc(-50% - 12px)); } }

/* Über uns (Karte) */
.about { background: var(--forest-2); color: var(--white); padding: 100px 24px; }
.about__head { display: flex; flex-direction: column; align-items: center; gap: 15px; text-align: center; }
.about__head h2 { font-size: 56px; max-width: 800px; }
.about__card {
  max-width: 1200px; margin: 80px auto 0; padding: 20px 20px 20px 44px;
  background: var(--cream); color: var(--ink); border-radius: 4px;
  display: grid; grid-template-columns: 1fr 510px; gap: 40px;
}
.about__text { display: flex; flex-direction: column; justify-content: space-between; padding: 24px 0 24px; max-width: 546px; }
.about__text h1 { font-size: 50px; }
.about__text h3 { font-size: 26px; margin-bottom: 10px; }
.about__text p { max-width: 500px; }
.about__text .word { opacity: 0.25; transition: opacity .25s; }
.about__text .word.on { opacity: 1; }
.about__sig { margin-top: 10px; font-family: var(--serif); font-size: 16px; line-height: 0.95; letter-spacing: -0.04em; color: var(--sage); }
.about__bar { margin-top: 24px; height: 1px; background: var(--line); max-width: 546px; }
.about__bar span { display: block; height: 1px; width: 0; background: var(--ink); }
.about__img { width: 510px; height: 580px; object-fit: cover; }
.about__more { margin-top: 18px; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

/* CTA mit Bäumen */
.cta { position: relative; background: var(--forest-2); color: var(--white); height: 500px; border-top: 1px solid rgba(242, 242, 242, 0.2); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; text-align: center; }
.cta__tree { position: absolute; top: 50%; width: 339px; height: 492px; pointer-events: none; transform: translateY(-50%) scale(0); transition: transform 1.1s cubic-bezier(.34, 1.3, .5, 1); }
.cta__tree img { width: 100%; height: 100%; object-fit: cover; }
.cta__tree--left { left: 0; transform-origin: 0% 83%; }
.cta__tree--right { right: 0; transform-origin: 100% 83%; transition-delay: .12s; }
.cta.grown .cta__tree { transform: translateY(-50%) scale(1); }
.cta h2 { position: relative; font-size: 56px; max-width: 600px; }
.cta__btn { position: relative; height: 62px; padding: 0 60px; display: flex; align-items: center; background: var(--white); color: var(--ink); border-radius: 100px; transition: background .2s; }
.cta__btn:hover { background: #fff; }

/* Footer */
.footer { background: var(--forest); color: var(--white); border-top: 1px solid rgba(242, 242, 242, 0.2); overflow: hidden; }
.footer__strip { width: 1048px; max-width: none; height: 56px; margin: 0 auto; object-fit: cover; }
.footer__grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid rgba(242, 242, 242, 0.08); }
.footer__col { min-height: 300px; padding: 56px 28px 28px; border-right: 1px solid rgba(242, 242, 242, 0.08); }
.footer__col:last-child { border-right: 0; }
.footer__col h4 { margin: 0 0 25px; font-size: 18px; font-weight: 400; font-variation-settings: "wght" 500; }
.footer__col a { display: block; margin-bottom: 24px; color: rgba(242, 242, 242, 0.5); transition: color .2s; }
.footer__col a:hover { color: var(--white); }
.footer__addr { margin: 0 0 24px; font-size: 14px; line-height: 1.6; color: rgba(242, 242, 242, 0.7); }

/* ===== Unterseiten ===== */
/* Kopfbereich: dunkel, wie die Über-uns-Sektion */
.phero { background: var(--forest-2); color: var(--white); padding: 200px 24px 100px; text-align: center; }
.phero__inner { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.phero h1 { font-size: 72px; }
.phero p { max-width: 560px; color: rgba(242, 242, 242, 0.75); }
.phero--img { position: relative; overflow: hidden; min-height: 620px; display: flex; align-items: flex-end; padding-bottom: 80px; }
.phero--img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.phero--img .phero__inner { position: relative; }

.section { padding: 100px 24px; }
.section--line { border-bottom: 1px solid var(--line); }
.section--dark { background: var(--forest-2); color: var(--white); }
.section--black { background: #000; color: var(--white); }
.head { display: flex; flex-direction: column; gap: 15px; margin-bottom: 64px; }
.head--center { align-items: center; text-align: center; }
.head h2 { font-size: 56px; max-width: 760px; }
.head h2.sm { font-size: 39px; }
.head p { max-width: 640px; color: var(--gray); }
.section--dark .head p, .section--black .head p { color: rgba(242, 242, 242, 0.7); }

/* Zwei Spalten */
.split { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.split p + p { margin-top: 16px; }
.lead { font-size: 18px; line-height: 1.45; }
.muted { color: var(--gray); }

/* Raster-Karten (wie Investoren-Raster) */
.grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.cell { padding: 32px 28px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cell__n { font-family: var(--serif); font-size: 16px; color: var(--copper); margin-bottom: 48px; }
.cell h3 { font-family: var(--sans); font-size: 18px; line-height: 1.4; letter-spacing: -0.01em; font-variation-settings: "wght" 500; margin-bottom: 8px; }
.cell p { color: var(--gray); }
.section--dark .grid, .section--dark .cell, .section--black .grid, .section--black .cell { border-color: rgba(242, 242, 242, 0.15); }
.section--dark .cell p, .section--black .cell p { color: rgba(242, 242, 242, 0.65); }

/* Zeitleiste */
.timeline { max-width: 1200px; margin: 0 auto; }
.tl { display: grid; grid-template-columns: 200px 1fr 1fr; gap: 40px; padding: 36px 0; border-top: 1px solid rgba(242, 242, 242, 0.15); }
.tl:last-child { border-bottom: 1px solid rgba(242, 242, 242, 0.15); }
.tl__year { font-family: var(--serif); font-size: 56px; line-height: .95; letter-spacing: -0.04em; }
.tl h3 { font-family: var(--sans); font-size: 18px; letter-spacing: -0.01em; line-height: 1.4; font-variation-settings: "wght" 500; }
.tl p { color: rgba(242, 242, 242, 0.7); }

/* Team */
.team { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.person { background: var(--white); border-radius: 4px; overflow: hidden; }
.person__img { aspect-ratio: 4 / 4.4; overflow: hidden; }
.person__img img { width: 200%; max-width: none; height: 100%; object-fit: cover; object-position: 50% 12%; }
.person__img img.right { margin-left: -100%; }
.person__body { padding: 28px 28px 32px; }
.person__role { font-family: var(--serif); font-size: 16px; color: var(--sage); letter-spacing: -0.04em; margin-bottom: 10px; }
.person h3 { font-size: 39px; margin-bottom: 14px; }
.person p { color: var(--gray); }

/* Deal-Detailseiten */
.kpis { background: var(--forest); color: var(--white); padding: 32px 24px 33px; }
.kpis .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.kpis .stat__num { font-size: 40px; }
.deal { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 420px; gap: 80px; align-items: start; }
.deal__body h2 { font-size: 39px; margin: 56px 0 16px; }
.deal__body h2:first-child { margin-top: 0; }
.deal__body p { color: #3d3d3a; }
.deal__body p + p { margin-top: 14px; }
.deal__body ul { margin: 16px 0 0; padding-left: 20px; color: #3d3d3a; }
.deal__body li { margin-bottom: 8px; }
.deal__side { position: sticky; top: 130px; }
.deal__side img { width: 100%; aspect-ratio: 337 / 450; object-fit: cover; }
.facts { margin-top: 20px; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts dt, .facts span:first-child { color: var(--gray); }
.deal-nav { max-width: 1200px; margin: 80px auto 0; display: flex; justify-content: space-between; gap: 20px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; }
.deal-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.note { margin-top: 24px; padding: 14px 18px; border-radius: 4px; background: #fff3e6; color: #7a4d24; font-size: 13px; }

/* Jobs */
.jobs { max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--line); }
.job { border-bottom: 1px solid var(--line); }
.job summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto 40px; gap: 24px; align-items: center; padding: 32px 0; }
.job summary::-webkit-details-marker { display: none; }
.job h3 { font-size: 39px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-size: 12px; padding: 6px 12px; border-radius: 100px; border: 1px solid var(--line); font-variation-settings: "wght" 500; }
.plus { width: 40px; height: 40px; border-radius: 100px; border: 1px solid var(--line); position: relative; transition: background .3s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.job[open] .plus { background: var(--forest-2); border-color: var(--forest-2); }
.job[open] .plus::before, .job[open] .plus::after { background: var(--white); }
.job[open] .plus::after { transform: translate(-50%, -50%) rotate(0); }
.job__body { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; padding: 0 0 40px; }
.job__body h4 { margin: 0 0 12px; font-size: 14px; font-weight: 400; font-variation-settings: "wght" 500; }
.job__body ul { margin: 0; padding-left: 18px; color: var(--gray); }
.job__body li { margin-bottom: 6px; }

/* Impressum, Datenschutz */
.page { min-height: 100vh; padding: 190px 24px 100px; }
.page h1 { margin-top: 14px; font-size: 56px; }
.page p { margin-top: 16px; font-size: 14px; color: #3d3d3a; line-height: 1.5; }
.page p a { color: var(--blue); text-decoration: underline; }
.legal { max-width: 760px; margin-top: 32px; }
.legal h3 { margin: 40px 0 0; font-family: var(--sans); font-size: 18px; line-height: 1.4; letter-spacing: -0.01em; font-variation-settings: "wght" 500; }
.legal p, .legal li { font-size: 15px; color: #3d3d3a; line-height: 1.6; }
.legal p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 20px; }
.legal li { margin-bottom: 4px; }
.legal a { color: var(--blue); text-decoration: underline; }

@media (max-width: 999px) {
  .nav__login { padding: 0 14px; }
  .nav__login span { display: none; }
}
@media (max-width: 400px) {
  .nav__logo img { width: 128px; }
}
@media (max-width: 340px) {
  .nav { padding-left: 14px !important; }
  .nav__logo img { width: 96px; }
  .nav__lang a, .nav__lang span { padding: 6px 6px; }
}

/* Newsletter (oben im Footer, auf allen Seiten) */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.newsletter { max-width: 1200px; margin: 0 auto; padding: 80px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.newsletter__text h2 { margin-top: 15px; font-size: 39px; }
.newsletter__text p:last-child { margin-top: 14px; max-width: 440px; color: rgba(242, 242, 242, 0.65); }
.newsletter__row { display: flex; gap: 10px; }
.newsletter__row input { flex: 1; min-width: 0; height: 52px; padding: 0 20px; border: 1px solid rgba(242, 242, 242, 0.25); border-radius: 100px; background: rgba(255, 255, 255, 0.06); color: var(--white); font: inherit; transition: border-color .2s; }
.newsletter__row input::placeholder { color: rgba(242, 242, 242, 0.45); }
.newsletter__row input:focus { outline: none; border-color: rgba(242, 242, 242, 0.7); }
.newsletter__row input[aria-invalid="true"] { border-color: #e8867f; }
.newsletter__row .btn { border: 0; cursor: pointer; white-space: nowrap; }
.newsletter__consent { margin-top: 14px; display: flex; gap: 10px; align-items: flex-start; font-size: 12px; line-height: 1.5; color: rgba(242, 242, 242, 0.6); cursor: pointer; }
.newsletter__consent input { margin-top: 2px; accent-color: var(--copper); }
.newsletter__consent a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
.newsletter__status { display: none; margin-top: 14px; padding: 12px 16px; border-radius: 4px; font-size: 13px; line-height: 1.5; }
.newsletter__status.show { display: block; }
.newsletter__status.info { background: rgba(123, 138, 111, 0.25); color: #dfe6d8; }
.newsletter__status.error { background: rgba(179, 38, 30, 0.25); color: #f6c9c5; }
.newsletter__status.ok { background: rgba(70, 140, 90, 0.25); color: #cfe9d6; }
@media (max-width: 809px) {
  .newsletter { grid-template-columns: 1fr; gap: 28px; padding: 56px 20px; }
  .newsletter__text h2 { font-size: 30px; }
  .newsletter__row { flex-direction: column; }
}

/* Mandantenportal: Anmeldeseite */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; }
.auth__side { position: relative; overflow: hidden; background: var(--forest-2); color: var(--white); padding: 190px 64px 64px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.auth__side > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.auth__side > * { position: relative; }
.auth__side h1 { margin-top: 18px; font-size: 64px; }
.auth__side p { margin-top: 20px; max-width: 420px; color: rgba(242, 242, 242, 0.75); }
.auth__points { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: rgba(242, 242, 242, 0.85); }
.auth__points li { display: flex; gap: 12px; align-items: center; }
.auth__points svg { width: 18px; height: 18px; flex: none; color: var(--copper); }
.auth__main { display: flex; align-items: center; justify-content: center; padding: 190px 24px 64px; }
.auth__box { width: 100%; max-width: 400px; }
.auth__box h2 { font-size: 39px; }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 32px; border-radius: 100px; background: var(--cream-2, #efede3); border: 1px solid var(--line); }
.roles button { height: 40px; border: 0; border-radius: 100px; background: transparent; color: var(--gray); font-size: 13px; font-variation-settings: "wght" 500; cursor: pointer; transition: background .2s, color .2s; }
.roles button[aria-selected="true"] { background: var(--forest-2); color: var(--white); }
[data-role-panel][hidden] { display: none !important; }
.auth__box > p { margin-top: 12px; color: var(--gray); }
.auth__form { margin-top: 32px; display: grid; gap: 16px; }
.field label { display: block; margin-bottom: 8px; font-size: 13px; font-variation-settings: "wght" 500; }
.field input { width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 4px; background: #fff; font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field input:focus { outline: none; border-color: var(--forest-2); box-shadow: 0 0 0 3px rgba(3, 31, 33, 0.12); }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.auth__form .btn { justify-content: center; height: 52px; width: 100%; border: 0; cursor: pointer; }
.auth__form .btn[disabled] { opacity: .6; cursor: default; }
.auth__status { display: none; padding: 14px 16px; border-radius: 4px; font-size: 14px; line-height: 1.5; }
.auth__status.show { display: block; }
.auth__status.info { background: #eef1ea; color: #3c4a33; }
.auth__status.error { background: #fbeceb; color: #8c1d18; }
.auth__status.ok { background: #eaf3ec; color: #1f5130; }
.auth__note { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--gray); }
.auth__note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.auth__secure { margin-top: 16px; display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--gray); }
.auth__secure svg { width: 14px; height: 14px; }
@media (max-width: 1199px) { .auth__side { padding: 170px 40px 48px; } .auth__side h1 { font-size: 52px; } }
@media (max-width: 809px) {
  .auth { grid-template-columns: 1fr; }
  .auth__side { padding: 130px 20px 40px; gap: 32px; }
  .auth__side h1 { font-size: 42px; }
  .auth__main { padding: 48px 20px 64px; }
}

/* Einblenden beim Scrollen */
.fade { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.fade.in { opacity: 1; transform: none; }

/* ===== Tablet ===== */
@media (max-width: 1199px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__right { right: 72px; }
  .nav.open .nav__links { display: flex; position: absolute; top: calc(100% + 8px); left: 0; right: 0; transform: none; flex-direction: column; gap: 0; padding: 12px; border-radius: 4px; background: rgba(1, 25, 28, 0.97); }
  .nav.open .nav__links a { padding: 14px 12px; font-size: 16px; }
  .hero h1 { font-size: 64px; }
  .approach__grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
  .deals__grid { grid-template-columns: repeat(2, 1fr); }
  .network__grid { grid-template-columns: repeat(2, 1fr); }
  .about__card { grid-template-columns: 1fr; padding: 20px; }
  .about__text { padding: 24px; max-width: none; }
  .about__text h1 { margin-bottom: 60px; }
  .about__img { width: 100%; height: auto; aspect-ratio: 510 / 580; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .deal { grid-template-columns: 1fr 320px; gap: 48px; }
  .kpis .container { grid-template-columns: repeat(2, 1fr); }
  .job__body { grid-template-columns: 1fr 1fr; }
}

/* ===== Smartphone ===== */
@media (max-width: 809px) {
  .nav { justify-content: flex-start; padding-left: 24px; width: 100%; top: 0; height: 80px; border-radius: 0; }
  .nav__right { right: 64px; gap: 8px; }
  .nav__login { height: 38px; padding: 0 14px; }
  .nav__login span { display: none; }
  .nav.open .nav__links .nav__links-login { display: block; }
  .nav.open .nav__links { top: 100%; border-radius: 0; }
  .nav.open .nav__links::after { content: ""; }
  .hero { height: 760px; min-height: 0; }
  .hero__content { justify-content: flex-start; padding: 181px 20px 0; }
  .badge { font-size: 18px; gap: 16px; }
  .badge__icon { width: 24px; height: 24px; }
  .badge__icon img { width: 12px; height: 12px; }
  .hero h1 { margin-top: 24px; font-size: 45px; }
  .hero p { margin-top: 24px; }
  .stats { padding: 24px 20px; }
  .stats .container { grid-template-columns: 1fr; gap: 24px; }
  .stat__num { font-size: 36px; }
  .stat__label { margin-top: 9px; }
  .approach { padding: 60px 20px; }
  .approach h2 { font-size: 34px; }
  .approach__grid { grid-template-columns: 1fr; gap: 48px; margin-top: 50px; justify-items: center; }
  .approach__item { max-width: 308px; }
  .approach__item img { margin-bottom: 16px; }
  .deals { padding: 60px 24px; }
  .deals__head h2 { font-size: 30px; }
  .deals__grid { margin-top: 43px; grid-template-columns: 1fr; gap: 64px; }
  .deals__more { opacity: 1; bottom: 24px; transform: translate(-50%, 0); }
  .deals__grid a:hover .deals__more { transform: translate(-50%, 0); }
  .network { padding: 60px 20px; }
  .network h5 { font-size: 26px; }
  .network__grid { grid-template-columns: 1fr; margin-top: 48px; }
  .net { min-height: 368px; }
  .investors { padding: 60px 20px; }
  .investors h2 { font-size: 30px; }
  .investors__grid { grid-template-columns: 1fr; margin-top: 60px; max-width: 350px; }
  .investors__grid div { height: 140px; }
  .marquee { margin-top: 32px; }
  .about { padding: 60px 20px; }
  .about__head h2 { font-size: 34px; }
  .about__card { margin-top: 60px; }
  .about__text { padding: 0; }
  .about__text h1 { margin-bottom: 160px; }
  .cta h2 { font-size: 34px; }
  .cta__tree { width: 170px; height: 247px; top: auto; bottom: -20px; transform: scale(0); }
  .cta.grown .cta__tree { transform: scale(1); }
  .cta__btn { height: 52px; padding: 0 40px; }
  .footer__strip { margin-left: 50%; transform: translateX(-50%); }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__col { min-height: 230px; padding: 56px 28px 40px; border-right: 0; border-bottom: 1px solid rgba(242, 242, 242, 0.08); }
  .footer__col:last-child { border-bottom: 0; }

  .phero { padding: 150px 20px 60px; }
  .phero h1 { font-size: 45px; }
  .phero--img { min-height: 520px; padding-bottom: 50px; }
  .section { padding: 60px 20px; }
  .head { margin-bottom: 40px; }
  .head h2 { font-size: 34px; }
  .head h2.sm { font-size: 30px; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .grid, .grid--4, .grid--2 { grid-template-columns: 1fr; }
  .tl { grid-template-columns: 1fr; gap: 10px; }
  .tl__year { font-size: 44px; }
  .team { grid-template-columns: 1fr; }
  .kpis { padding: 24px 20px; }
  .kpis .stat__num { font-size: 32px; }
  .deal { grid-template-columns: 1fr; gap: 40px; }
  .deal__side { position: static; order: -1; }
  .deal__body h2 { font-size: 30px; }
  .job summary { grid-template-columns: 1fr 40px; }
  .job .tags { grid-column: 1 / -1; grid-row: 2; }
  .job h3 { font-size: 30px; }
  .job__body { grid-template-columns: 1fr; gap: 24px; }
  .deal-nav { flex-direction: column; }
  .page { padding: 140px 20px 60px; }
  .page h1 { font-size: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .about__text .word { opacity: 1; }
  .cta__tree { transition: none; }
}
