@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --bg: #f2f3ee;
  --surface: #ffffff;
  --ink: #111612;
  --muted: #69716a;
  --green: #1f5c3b;
  --green-deep: #123b28;
  --lime: #c9f36a;
  --line: rgba(17, 22, 18, 0.12);
  --radius: 28px;
  --shadow: 0 24px 80px rgba(20, 36, 25, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.lightbox-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.hero {
  width: min(1440px, calc(100% - 56px));
  min-height: calc(100vh - 112px);
  margin: 0 auto 28px;
  padding: 86px 72px 52px;
  border-radius: 38px;
  background: linear-gradient(120deg, rgba(255,255,255,.94) 0%, rgba(235,241,232,.92) 52%, rgba(211,228,211,.86) 100%);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  grid-template-rows: 1fr auto;
  gap: 40px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(18,59,40,.08) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: linear-gradient(to right, transparent 15%, black 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  opacity: .85;
}

.hero-glow-one {
  width: 360px;
  height: 360px;
  right: 3%;
  top: 8%;
  background: rgba(201,243,106,.34);
}

.hero-glow-two {
  width: 280px;
  height: 280px;
  right: 30%;
  bottom: -10%;
  background: rgba(37,119,72,.11);
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
}

.hero h1,
.section-heading h2,
.intro h2,
.contact h2 {
  font-family: "Manrope", sans-serif;
  letter-spacing: -.055em;
  font-weight: 500;
}

.hero h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(54px, 6.5vw, 108px);
  line-height: .94;
}

.hero h1 span {
  color: var(--green);
}

.hero-text {
  max-width: 680px;
  margin: 34px 0 0;
  font-size: clamp(16px, 1.25vw, 20px);
  line-height: 1.65;
  color: #4f5b52;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}

.button {
  min-height: 48px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: .25s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--green);
  color: white;
}

.button-primary:hover {
  background: var(--green-deep);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.65);
}

.hero-card {
  position: relative;
  z-index: 3;
  align-self: center;
  min-height: 470px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
  background: #d8ded8;
}

.hero-card-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(10,25,17,.42), transparent 55%),
    url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1200&q=88") center/cover;
}

.hero-card-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  color: white;
}

.hero-card-overlay strong {
  display: block;
  margin-top: 4px;
  font-family: "Manrope", sans-serif;
  font-size: 20px;
}

.card-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .15em;
  opacity: .7;
}

.arrow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.hero-stats {
  grid-column: 1 / -1;
  display: flex;
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(17,22,18,.12);
  padding-top: 28px;
  gap: 56px;
}

.hero-stats div {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.hero-stats strong {
  font-family: "Manrope", sans-serif;
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -.04em;
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
}

.section-shell {
  width: min(1328px, calc(100% - 80px));
  margin-left: auto;
  margin-right: auto;
}

.intro {
  padding: 128px 0 72px;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 60px;
  align-items: end;
}

.intro h2 {
  margin: 0;
  font-size: clamp(46px, 5vw, 76px);
  line-height: 1;
  max-width: 840px;
}

.intro-copy {
  margin: 0 0 5px;
  max-width: 490px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 17px;
}

.project-list {
  padding-bottom: 64px;
  border-top: 1px solid var(--line);
}

.project {
  padding: 90px 0 110px;
  border-bottom: 1px solid var(--line);
}

.project-head {
  display: grid;
  grid-template-columns: 130px minmax(0, 1.15fr) minmax(280px, .7fr);
  gap: 32px;
  margin-bottom: 54px;
  align-items: start;
}

.project-index {
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  color: var(--green);
  padding-top: 11px;
}

.project-title-wrap h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(36px, 4vw, 62px);
  line-height: 1.05;
  letter-spacing: -.045em;
  font-weight: 500;
}

.project-subtitle {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
}

.project-description {
  margin: 7px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: #4e574f;
}

.project-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.keyword {
  padding: 8px 12px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
  font-size: 12px;
  color: #4c584f;
}

.collage {
  display: grid;
  grid-template-columns: 1.45fr .75fr .75fr;
  grid-template-rows: 260px 260px;
  gap: 12px;
}

.gallery-item {
  border: 0;
  padding: 0;
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 20px;
  background: #dfe3df;
  position: relative;
}

.gallery-item:first-child {
  grid-row: 1 / span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}

.gallery-item::after {
  content: "↗";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,255,255,.86);
  color: var(--ink);
  opacity: 0;
  transform: translateY(6px);
  transition: .25s ease;
}

.gallery-item:hover img {
  transform: scale(1.035);
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.about {
  padding: 20px 0 140px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  margin-bottom: 62px;
}

.section-heading .eyebrow {
  align-self: start;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(46px, 5vw, 74px);
  line-height: 1;
}

.advisor-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.advisor-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(17,22,18,.04);
}

.advisor-image {
  min-height: 480px;
  background-size: cover;
  background-position: center;
  filter: saturate(.82);
}

.advisor-one {
  background-image:
    linear-gradient(to top, rgba(16,30,21,.18), transparent 40%),
    url("images/portrait.png");
}

.advisor-two {
  background-image:
    linear-gradient(to top, rgba(16,30,21,.18), transparent 40%),
    url("images/portrait.png");
}

.advisor-body {
  padding: 30px 32px 34px;
}

.advisor-topline {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.advisor-role {
  margin: 0 0 6px;
  text-transform: uppercase;
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--green);
  font-weight: 600;
}

.advisor-card h3 {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 28px;
  letter-spacing: -.03em;
  font-weight: 500;
}

.advisor-number {
  color: #a2aaa3;
  font-size: 12px;
}

.advisor-body > p {
  margin: 23px 0;
  max-width: 590px;
  color: var(--muted);
  line-height: 1.65;
}

.tag-row {
  margin: 23px 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag-row span {
  font-size: 11px;
  padding: 7px 10px;
  border-radius: 999px;
  background: #f2f4ef;
}

.contact {
  margin-bottom: 40px;
  padding: 80px;
  background: var(--green-deep);
  color: white;
  border-radius: 34px;
  position: relative;
  overflow: hidden;
}

.contact::after {
  content: "";
  width: 440px;
  height: 440px;
  position: absolute;
  right: -80px;
  top: -150px;
  border-radius: 50%;
  background: rgba(201,243,106,.12);
}

.contact .eyebrow {
  color: var(--lime);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 60px;
  align-items: end;
}

.contact h2 {
  margin: 0;
  font-size: clamp(46px, 5vw, 78px);
  line-height: .98;
}

.contact-side {
  position: relative;
  z-index: 2;
}

.contact-side p {
  color: rgba(255,255,255,.72);
  max-width: 440px;
  line-height: 1.65;
  margin: 0 0 25px;
}

.button-light {
  background: var(--lime);
  color: #13271b;
}

.site-footer {
  width: min(1328px, calc(100% - 80px));
  min-height: 90px;
  margin: auto;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 13, 10, .94);
  backdrop-filter: blur(18px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  width: min(1120px, calc(100% - 170px));
  height: min(82vh, 800px);
  display: flex;
  flex-direction: column;
}

.lightbox-content img {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-meta {
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  color: white;
  background: rgba(255,255,255,.1);
  cursor: pointer;
  transition: .2s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255,255,255,.18);
}

.lightbox-close {
  top: 24px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 19px;
}

.lightbox-prev {
  left: 28px;
}

.lightbox-next {
  right: 28px;
}

@media (max-width: 1050px) {
  .hero {
    padding: 70px 42px 42px;
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 390px;
    transform: none;
  }

  .intro,
  .project-head,
  .section-heading,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .project-head {
    gap: 18px;
  }

  .project-index {
    padding: 0;
  }

  .project-description {
    max-width: 720px;
  }

  .collage {
    grid-template-columns: 1.3fr 1fr;
    grid-template-rows: 280px 220px 220px;
  }

  .gallery-item:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .advisor-image {
    min-height: 380px;
  }
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 32px);
    height: 72px;
  }

  .main-nav a:not(.nav-cta) {
    display: none;
  }

  .brand {
    font-size: 14px;
  }

  .hero {
    width: calc(100% - 24px);
    min-height: auto;
    padding: 64px 22px 28px;
    border-radius: 28px;
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 72px);
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-card {
    min-height: 330px;
  }

  .hero-stats {
    gap: 18px;
    justify-content: space-between;
  }

  .hero-stats div {
    display: block;
  }

  .hero-stats strong,
  .hero-stats span {
    display: block;
  }

  .section-shell,
  .site-footer {
    width: calc(100% - 36px);
  }

  .intro {
    padding: 90px 0 48px;
    gap: 22px;
  }

  .intro h2,
  .section-heading h2,
  .contact h2 {
    font-size: 45px;
  }

  .project {
    padding: 65px 0 80px;
  }

  .project-head {
    margin-bottom: 34px;
  }

  .collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 300px 180px;
  }

  .gallery-item:first-child {
    grid-column: 1 / -1;
  }

  .gallery-item:nth-child(n+4) {
    display: none;
  }

  .advisor-grid {
    grid-template-columns: 1fr;
  }

  .about {
    padding: 90px 0;
  }

  .section-heading {
    gap: 16px;
    margin-bottom: 40px;
  }

  .advisor-image {
    min-height: 360px;
  }

  .contact {
    padding: 52px 26px;
    border-radius: 28px;
  }

  .contact-inner {
    gap: 28px;
  }

  .site-footer {
    padding: 28px 0;
    min-height: 0;
    align-items: flex-start;
    gap: 15px;
    flex-direction: column;
  }

  .lightbox-content {
    width: calc(100% - 32px);
    height: 74vh;
  }

  .lightbox-nav {
    top: auto;
    bottom: 18px;
  }

  .lightbox-prev {
    left: calc(50% - 64px);
  }

  .lightbox-next {
    right: calc(50% - 64px);
  }
}


/* Schnellnavigation */
.quick-nav {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-nav a {
  min-width: 46px;
  height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(17,22,18,.10);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(18,34,24,.08);
  display: flex;
  align-items: center;
  gap: 0;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  transition: .25s ease;
  overflow: hidden;
}

.quick-nav a span {
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  transition: .25s ease;
}

.quick-nav a:hover {
  gap: 8px;
  min-width: 112px;
  justify-content: flex-start;
  background: var(--green-deep);
  color: white;
}

.quick-nav a:hover span {
  max-width: 90px;
  opacity: 1;
}

.advisor-trigger {
  appearance: none;
  border: 0;
  padding: 0;
  width: 100%;
  text-align: left;
  color: inherit;
  font: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}

@media (max-width: 760px) {
  .quick-nav {
    top: auto;
    right: 50%;
    bottom: 14px;
    transform: translateX(50%);
    flex-direction: row;
    padding: 6px;
    border-radius: 999px;
    background: rgba(244,246,241,.88);
    backdrop-filter: blur(18px);
    box-shadow: 0 10px 36px rgba(18,34,24,.14);
  }

  .quick-nav a {
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .quick-nav a:hover {
    width: 42px;
    min-width: 42px;
    gap: 0;
    justify-content: center;
  }

  .quick-nav a span {
    display: none;
  }

  .profile-dialog {
    padding: 30px 24px;
    border-radius: 24px;
  }

  .profile-dialog h3 {
    font-size: 32px;
  }

  .profile-actions {
    flex-direction: column;
  }
}


/* Hinweis auf weitere Projektbilder */
.gallery-item.has-more::before {
  content: attr(data-more-label);
  position: absolute;
  inset: auto 14px 14px auto;
  min-width: 92px;
  height: 36px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(17, 22, 18, 0.72);
  color: white;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
  z-index: 2;
  backdrop-filter: blur(10px);
}

/* Schnellnavigation: nur gehoverter Eintrag wird hervorgehoben */
.quick-nav a {
  transition: .25s ease;
}

.quick-nav.is-expanded a {
  min-width: 46px;
  justify-content: center;
  background: rgba(255,255,255,.82);
  color: inherit;
}

.quick-nav.is-expanded a span {
  max-width: 0;
  opacity: 0;
}

.quick-nav.is-expanded a:hover {
  gap: 8px;
  min-width: 112px;
  justify-content: flex-start;
  background: var(--green-deep);
  color: white;
}

.quick-nav.is-expanded a:hover span {
  max-width: 90px;
  opacity: 1;
}

@media (max-width: 760px) {
  .gallery-item.has-more::before {
    right: 10px;
    bottom: 10px;
    height: 32px;
    min-width: 84px;
    font-size: 11px;
  }
.quick-nav.is-expanded a {
  min-width: 46px;
  justify-content: center;
  background: rgba(255,255,255,.82);
  color: inherit;
}

.quick-nav.is-expanded a span {
  max-width: 0;
  opacity: 0;
}

.quick-nav.is-expanded a:hover {
  gap: 8px;
  min-width: 112px;
  justify-content: flex-start;
  background: var(--green-deep);
  color: white;
}

.quick-nav.is-expanded a:hover span {
  max-width: 90px;
  opacity: 1;
}
}

/* Vereinfachter Titelbereich */
.hero.hero-simple {
  width: min(1440px, calc(100% - 56px));
  min-height: calc(100vh - 48px);
  margin: 24px auto 28px;
  padding: 54px;
  border-radius: 38px;
  background: #ebece6;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: 56px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero.hero-simple::after,
.hero.hero-simple .hero-glow {
  display: none;
}

.hero-simple-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 44px;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  letter-spacing: -.02em;
  font-size: 14px;
}

.hero-logo-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-deep);
  color: white;
}

.hero-kicker {
  max-width: 480px;
  margin: 0 0 26px;
  color: #596158;
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
}

.hero.hero-simple h1 {
  margin: 0;
  max-width: 680px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(58px, 6vw, 96px);
  line-height: .94;
  letter-spacing: -.055em;
  font-weight: 500;
  text-align: center;
}

.hero.hero-simple h1 span {
  color: var(--green);
}

.hero-simple-image {
  margin: 0;
  height: min(72vh, 680px);
  min-height: 500px;
  border-radius: 28px;
  overflow: hidden;
  background: #d5d9d2;
  align-self: center;
}

.hero-simple-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1050px) {
  .hero.hero-simple {
    min-height: calc(100vh - 40px);
    margin-top: 20px;
    grid-template-columns: 1fr;
    padding: 46px;
    align-content: center;
  }

.hero-simple-image {
    min-height: 500px;
  }
}

@media (max-width: 760px) {
  .hero.hero-simple {
    width: calc(100% - 24px);
    min-height: calc(100svh - 32px);
    margin-top: 16px;
    padding: 34px 22px 22px;
    border-radius: 28px;
    gap: 38px;
    align-content: center;
  }

.hero-logo {
    margin-bottom: 32px;
  }

  .hero.hero-simple h1 {
    font-size: clamp(48px, 14vw, 68px);
  }

  .hero-simple-image {
    min-height: 390px;
    border-radius: 22px;
  }
}


/* Direktnavigation im Startbereich */
.hero-section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
  justify-content: center;
}

.hero-section-links a {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(17, 22, 18, .14);
  background: rgba(255,255,255,.58);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 600;
  transition: transform .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}

.hero-section-links a:hover {
  transform: translateY(-2px);
  background: var(--green-deep);
  border-color: var(--green-deep);
  color: white;
}

@media (max-width: 760px) {
  .hero-section-links {
    width: 100%;
    margin-top: 30px;
  }

  .hero-section-links a {
    flex: 1 1 0;
    padding: 0 12px;
  }
}
