:root {
  --color-bg: #F7F6F3;
  --color-surface: #FFFFFF;
  --color-muted-surface: #E8E3DA;
  --color-text: #1F1F1F;
  --color-muted: #6B6B6B;
  --color-accent: #A67C52;
  --color-overlay: rgba(31, 31, 31, 0.92);
  --radius: 28px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
}

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

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

button {
  font: inherit;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

/* HEADER */

.topbar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(247, 246, 243, 0.92);
  backdrop-filter: blur(14px);
  z-index: 1000;
}

.topbar__brand {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* HAMBURGER */

.topbar__toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
}

.topbar__toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--color-text);
  border-radius: 999px;
}

/* FULLSCREEN MENU */

.topbar__nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-overlay);
  color: white;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 4rem 2rem 2rem;
  z-index: 1100;
}

.topbar__nav.is-open {
  display: flex;
}

.topbar__nav a {
  color: white;
  font-size: clamp(1.75rem, 4vw, 2.2rem);
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.02em;
}

.topbar__close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 2.4rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

body.menu-open {
  overflow: hidden;
}

/* HERO */

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding-top: 5rem;
}

.hero__image-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.82) saturate(1.05);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(247,246,243,0.14), rgba(31,31,31,0.24));
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 6rem 1rem 4rem;
  max-width: 720px;
  color: white;
}

.eyebrow,
.label {
  display: inline-flex;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--color-bg);
  background: rgba(31, 31, 31, 0.5);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero h1 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 7vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.hero__text {
  margin: 1.4rem 0 2rem;
  max-width: 42rem;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.92);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.7rem;
  background: rgba(166, 124, 82, 0.95);
  color: #f7f6f3;
  border: none;
  cursor: pointer;
}

/* SECTIONS */

.section {
  padding: 4rem 0;
}

.section--soft {
  background: #f7f6f3;
}

.section--card {
  background: rgba(232, 227, 218, 0.85);
}

.section__intro,
.section__header {
  max-width: 680px;
  margin-bottom: 2rem;
}

.section__header h2,
.section__intro h2 {
  margin: 0.6rem 0 0.9rem;
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
}

.section__header p,
.section__intro p {
  color: #6b6b6b;
}

/* GRID */

.grid {
  display: grid;
  gap: 1.5rem;
}

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

/* CARDS */

.card,
.project-card {
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(31, 31, 31, 0.08);
}

.card__text {
  padding: 1.6rem;
}

.card__eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a67c52;
  margin-bottom: 0.75rem;
}

.card h3 {
  margin-bottom: 0.85rem;
}

.card p {
  color: #6b6b6b;
}

/* BEFORE / AFTER FADE */

.before-after-wrapper,
.before-after-fade {
  position: relative;
  width: 100%;
  height: 360px;
  overflow: hidden;
  background: #ddd;
}

.before-after-wrapper img,
.before-after-fade img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-img {
  z-index: 1;
}

.after-img {
  z-index: 2;
  opacity: 0;
  animation: fadeBeforeAfter 6s ease-in-out infinite;
}

.before-after-label {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 16px;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(31, 31, 31, 0.65);
  color: #fff;
}

.label-after {
  opacity: 0;
  animation: fadeLabelAfter 6s ease-in-out infinite;
}

.label-before {
  animation: fadeLabelBefore 6s ease-in-out infinite;
}

@keyframes fadeBeforeAfter {
  0%, 30% {
    opacity: 0;
  }

  45%, 85% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes fadeLabelAfter {
  0%, 30% {
    opacity: 0;
  }

  45%, 85% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

@keyframes fadeLabelBefore {
  0%, 30% {
    opacity: 1;
  }

  45%, 85% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

/* RESPONSIVE */

@media (min-width: 720px) {
  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* FOOTER — bewusst leer; sorgt nur für ruhigen Abstand zum unteren Rand */
.footer {
  padding: 2.5rem 0 4.5rem;
}