:root {
  --bg: #111215;
  --surface: #17181c;
  --surface-2: #141519;
  --card: #16181c;
  --text: #f6f2ea;
  --muted: #bdb2a1;
  --line: rgba(255, 255, 255, 0.11);
  --accent: #c5ab7e;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

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

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

button,
input {
  font: inherit;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cookie-slot:empty {
  display: none;
}

.objekt-page {
  width: min(1760px, calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: 24px;
}

.objekt-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 12;
  transform: translateX(-50%);
  width: min(1760px, calc(100% - 48px));
  min-height: 88px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  padding: 0 28px;
  background: rgba(16, 17, 20, 0.78);
  backdrop-filter: blur(10px);
}

.objekt-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 2px solid rgba(255, 255, 255, 0.76);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.objekt-nav,
.objekt-icons,
.objekt-footer__links,
.objekt-footer__bottom,
.objekt-service-grid,
.objekt-studio,
.objekt-project-grid {
  display: grid;
}

.objekt-nav {
  grid-auto-flow: column;
  justify-content: center;
  gap: 34px;
}

.objekt-nav a,
.objekt-mobile-nav a {
  color: #f2eee6;
  font-size: 0.96rem;
  font-weight: 700;
}

.objekt-nav a.is-active {
  color: var(--accent);
}

.objekt-nav a.is-active::before {
  content: "[";
  margin-right: 8px;
}

.objekt-nav a.is-active::after {
  content: "]";
  margin-left: 8px;
}

.objekt-icons {
  grid-auto-flow: column;
  gap: 16px;
  align-items: center;
}

.objekt-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #fff;
}

.objekt-icons svg {
  width: 22px;
  height: 22px;
}

.objekt-icons span {
  font-size: 0.9rem;
  font-weight: 700;
}

.objekt-toggle {
  display: none;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

.objekt-mobile-nav {
  display: none;
}

.objekt-hero {
  position: relative;
  min-height: 1120px;
  background: url("../img/objektundraum-hero-bedroom.png") center center / cover no-repeat;
  box-shadow: var(--shadow);
}

.objekt-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 12, 14, 0.68) 0%, rgba(11, 12, 14, 0.28) 46%, rgba(11, 12, 14, 0.22) 100%),
    linear-gradient(180deg, rgba(8, 8, 10, 0.16) 0%, rgba(8, 8, 10, 0.5) 100%);
}

.objekt-gridlines {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.objekt-gridlines span {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.objekt-gridlines span:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.objekt-side-label {
  position: absolute;
  left: 16px;
  top: 54%;
  z-index: 2;
  transform: translateY(-50%) rotate(-180deg);
  writing-mode: vertical-rl;
  color: #f3efe8;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.objekt-side-label::after {
  content: "";
  display: block;
  width: 2px;
  height: 120px;
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.6);
}

.objekt-social-rail {
  position: absolute;
  right: 18px;
  top: 58%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  transform: translateY(-50%);
}

.objekt-social-rail a {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.objekt-social-rail::before,
.objekt-social-rail::after {
  content: "";
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.56);
}

.objekt-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1360px;
  padding: 264px 88px 0;
}

.objekt-hero h1 {
  margin: 0;
  line-height: 0.88;
  letter-spacing: -0.05em;
}

.objekt-hero__gold,
.objekt-hero__white {
  display: block;
  white-space: nowrap;
}

.objekt-hero__gold {
  color: var(--accent);
  font-size: clamp(4.8rem, 9vw, 9.2rem);
  font-weight: 800;
}

.objekt-hero__white {
  color: #fff;
  font-size: clamp(4.8rem, 8vw, 8.4rem);
  font-weight: 800;
}

.objekt-hero p {
  max-width: 640px;
  margin: 28px 0 0 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.14rem;
  line-height: 1.72;
}

.objekt-cta,
.objekt-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 0 34px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.objekt-cta {
  margin-top: 36px;
  margin-left: 12px;
}

.objekt-outline {
  border-color: rgba(197, 171, 126, 0.7);
  color: #f4e5ca;
}

.objekt-slider {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  transform: translateX(-50%);
  color: #d6d1c8;
  font-size: 0.96rem;
}

.objekt-slider em {
  width: 84px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, rgba(255,255,255,0.55) 100%);
}

.objekt-services,
.objekt-studio,
.objekt-projects,
.objekt-footer {
  background: linear-gradient(180deg, #17181c 0%, #131418 100%);
}

.objekt-services,
.objekt-projects {
  padding: 68px 34px;
}

.objekt-sectionhead {
  margin-bottom: 34px;
}

.objekt-sectionhead span {
  display: inline-block;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.objekt-sectionhead h2,
.objekt-studio h2 {
  margin: 12px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 4.5vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.objekt-sectionhead--center {
  text-align: center;
}

.objekt-sectionhead--center::after {
  content: "";
  display: block;
  width: 42px;
  height: 2px;
  margin: 14px auto 0;
  background: var(--accent);
}

.objekt-service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.objekt-service {
  padding: 0 34px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.objekt-service:last-child {
  border-right: 0;
}

.objekt-icon {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--accent);
}

.objekt-icon svg {
  width: 58px;
  height: 58px;
}

.objekt-service h3,
.objekt-project-card h3,
.objekt-footer__links h3 {
  margin: 0 0 16px;
}

.objekt-service h3 {
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.objekt-service p,
.objekt-studio__copy p,
.objekt-footer__brand p,
.objekt-footer__links p {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.72;
}

.objekt-service a,
.objekt-project-card p {
  color: var(--accent);
}

.objekt-service a {
  display: inline-flex;
  gap: 10px;
  margin-top: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.objekt-service a::after {
  content: "->";
}

.objekt-studio {
  grid-template-columns: 0.92fr 0.92fr 0.84fr;
  align-items: stretch;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.objekt-studio__copy {
  padding: 70px 34px 54px 44px;
}

.objekt-studio__copy p {
  max-width: 420px;
  margin: 28px 0 34px;
}

.objekt-studio__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.objekt-studio__stats article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 250px;
  padding: 30px 26px;
  border-bottom: 1px solid var(--line);
}

.objekt-studio__stats article:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.objekt-studio__stats article:nth-child(3),
.objekt-studio__stats article:nth-child(4) {
  border-bottom: 0;
}

.objekt-studio__stats strong {
  color: var(--accent);
  font-family: "Cormorant Garamond", serif;
  font-size: 4.4rem;
  font-weight: 600;
  line-height: 0.95;
}

.objekt-studio__stats span {
  margin-top: 12px;
  color: #fff;
  font-size: 1.12rem;
}

.objekt-studio__image img {
  height: 100%;
  object-fit: cover;
}

.objekt-project-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.objekt-project-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.objekt-project-card img {
  aspect-ratio: 1.12 / 0.78;
  object-fit: cover;
}

.objekt-project-card div {
  padding: 18px 18px 16px;
}

.objekt-project-card h3 {
  font-size: 1.08rem;
  font-weight: 600;
}

.objekt-project-card p {
  margin: 0;
  font-size: 0.95rem;
}

.objekt-projects__cta {
  margin-top: 28px;
  text-align: center;
}

.objekt-footer {
  padding: 34px 34px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.objekt-footer__brand a {
  display: inline-block;
  min-height: 54px;
  padding: 0 22px;
  line-height: 50px;
  border: 2px solid rgba(197, 171, 126, 0.7);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
}

.objekt-footer__brand p {
  max-width: 300px;
  margin: 20px 0 18px;
}

.objekt-footer__socials {
  display: flex;
  gap: 14px;
}

.objekt-footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.objekt-footer__links {
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 34px;
  align-items: start;
  margin-top: 28px;
}

.objekt-footer__links h3 {
  color: #f7f2ea;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.objekt-footer__links a,
.objekt-footer__links p {
  display: block;
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.96rem;
}

.objekt-footer__bottom {
  grid-template-columns: 1fr auto;
  gap: 18px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
}

.objekt-footer__bottom div {
  display: flex;
  gap: 22px;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.subpage-shell {
  min-height: 100vh;
  background: #fff;
  color: #111;
}

.container {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
}

.subpage-header,
.subpage-two-col,
.portfolio-grid,
.contact-strip {
  display: flex;
}

.subpage-header {
  align-items: center;
  justify-content: space-between;
  padding: 28px 0;
}

.brand.line-brand,
.brand-copy {
  display: flex;
}

.brand.line-brand {
  align-items: center;
}

.brand-copy {
  flex-direction: column;
  gap: 4px;
}

.brand-copy strong {
  font-size: 1.3rem;
  font-weight: 700;
}

.brand-copy small,
.subpage-copy p,
.portfolio-card p,
.contact-strip p,
.subpage-hero p,
.back-link {
  color: #666;
}

.back-link {
  font-weight: 600;
}

.subpage-hero,
.subpage-section {
  padding: 54px 0;
}

.section-label,
.section-kicker {
  text-transform: uppercase;
}

.subpage-hero h1,
.subpage-title {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.05em;
}

.subpage-hero p,
.subpage-copy p,
.portfolio-card p,
.contact-strip p {
  font-size: 1.02rem;
  line-height: 1.7;
}

.subpage-two-col {
  gap: 56px;
}

.subpage-two-col > * {
  flex: 1 1 0;
}

.portfolio-grid {
  flex-wrap: wrap;
  gap: 22px;
}

.portfolio-card {
  flex: 1 1 calc(33.333% - 16px);
  min-width: 280px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(18, 18, 18, 0.06);
}

.portfolio-card img {
  height: 300px;
  object-fit: cover;
}

.portfolio-card div {
  padding: 18px 18px 22px;
}

.portfolio-card h3 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.contact-strip {
  gap: 18px;
  flex-wrap: wrap;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border: 1px solid rgba(15, 15, 15, 0.18);
  border-radius: 999px;
  background: #fff;
  font-weight: 600;
}

@media (max-width: 1280px) {
  .objekt-header,
  .objekt-page {
    width: min(100%, calc(100% - 28px));
  }

  .objekt-hero {
    min-height: 980px;
  }

  .objekt-hero__content {
    padding: 230px 56px 0;
  }

  .objekt-service-grid,
  .objekt-project-grid,
  .objekt-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .objekt-studio {
    grid-template-columns: 1fr;
  }

  .objekt-studio__stats {
    border-left: 0;
    border-right: 0;
  }
}

@media (max-width: 980px) {
  .objekt-header,
  .objekt-page {
    width: min(100%, calc(100% - 18px));
  }

  .objekt-header {
    grid-template-columns: auto 1fr auto;
    min-height: 76px;
    padding: 0 16px;
  }

  .objekt-nav,
  .objekt-icons {
    display: none;
  }

  .objekt-toggle {
    display: block;
    justify-self: end;
  }

  .objekt-mobile-nav.is-open {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 20px 22px;
    background: rgba(12, 13, 15, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .objekt-hero {
    min-height: 880px;
    background-position: 62% center;
  }

  .objekt-hero__content {
    padding: 204px 24px 0;
  }

  .objekt-side-label,
  .objekt-social-rail,
  .objekt-gridlines {
    display: none;
  }

  .objekt-service-grid,
  .objekt-project-grid,
  .objekt-footer__links,
  .objekt-footer__bottom {
    grid-template-columns: 1fr;
  }

  .objekt-service {
    padding: 0 0 32px;
    margin-bottom: 32px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .objekt-service:last-child {
    margin-bottom: 0;
    border-bottom: 0;
  }

  .objekt-studio__stats {
    grid-template-columns: 1fr;
  }

  .objekt-studio__stats article,
  .objekt-studio__stats article:nth-child(odd) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .objekt-studio__stats article:last-child {
    border-bottom: 0;
  }

  .subpage-two-col {
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .objekt-header,
  .objekt-page {
    width: min(100%, calc(100% - 8px));
  }

  .objekt-brand {
    font-size: 0.96rem;
    min-height: 46px;
    padding: 0 12px;
  }

  .objekt-hero {
    min-height: 760px;
    background-position: 66% center;
  }

  .objekt-hero__content {
    padding: 168px 16px 0;
  }

  .objekt-hero__gold,
  .objekt-hero__white {
    font-size: 3.4rem;
    line-height: 0.92;
    white-space: normal;
  }

  .objekt-hero p {
    margin-left: 0;
    font-size: 1rem;
  }

  .objekt-cta,
  .objekt-outline {
    width: 100%;
    min-height: 60px;
    margin-left: 0;
  }

  .objekt-services,
  .objekt-projects,
  .objekt-studio__copy,
  .objekt-footer {
    padding-inline: 18px;
  }

  .portfolio-card {
    min-width: 100%;
  }
}
