:root {
  --bg: #f6f3ee;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-solid: #ffffff;
  --surface-soft: #f1ece6;
  --surface-dark: #1b1a18;
  --line: rgba(35, 30, 24, 0.1);
  --text: #1f1c19;
  --muted: #645d57;
  --muted-dark: rgba(255,255,255,0.75);
  --red: #a1181a;
  --red-dark: #7f1013;
  --shadow: 0 24px 60px rgba(23, 19, 15, 0.12);
  --shadow-soft: 0 16px 38px rgba(23, 19, 15, 0.08);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1240px;
  --header-height: 88px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(var(--container), calc(100% - 48px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.site-header-light { background: rgba(255,255,255,0.92); }
.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand img { width: auto; height: 54px; }
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 15px;
  font-weight: 600;
  color: #3e3a36;
}
.desktop-nav a,
.mobile-nav a,
.footer-links a,
.imprint-card a { transition: color .18s ease, opacity .18s ease; }
.desktop-nav a:hover,
.mobile-nav a:hover,
.footer-links a:hover,
.imprint-card a:hover { color: var(--red); }
.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  background: rgba(255,255,255,0.9);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #2e2a27;
}
.mobile-nav {
  display: none;
  padding: 0 24px 22px;
  background: rgba(255,255,255,0.96);
  border-top: 1px solid rgba(0,0,0,0.05);
}
.mobile-nav.is-open { display: grid; }
.mobile-nav a {
  padding: 12px 4px;
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.mobile-nav a:last-child { border-bottom: 0; }

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #201d1b;
}
.hero-media,
.hero-overlay,
.contact-overlay,
.city-bg { position: absolute; inset: 0; }
.hero-media {
  background: url('city-fade-bg.png') center center / cover no-repeat;
  transform: scale(1.04);
}
.hero-overlay {
  background: linear-gradient(180deg, rgba(17, 15, 13, 0.48) 0%, rgba(17, 15, 13, 0.56) 42%, rgba(17, 15, 13, 0.68) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 110px 0 120px;
  color: #fff;
}
.hero-kicker,
.eyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.hero-kicker { color: rgba(255,255,255,0.8); }
.eyebrow { color: var(--red); }
.hero h1,
.intro-card h2,
.section-head h2,
.services-copy h2,
.value-card h2,
.contact-card h2,
.imprint-section h2,
.legal-hero h1,
.legal-card h2 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero h1 {
  max-width: 1040px;
  font-size: clamp(44px, 6.4vw, 88px);
}
.hero-text,
.section-head p,
.intro-card p,
.services-copy > p,
.service-card p,
.project-card p,
.value-card li,
.contact-card p,
.imprint-card,
.legal-hero p,
.legal-card p { color: var(--muted); }
.hero-text {
  max-width: 860px;
  margin: 28px auto 0;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.72;
  color: rgba(255,255,255,0.84);
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 34px;
}
.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}
.button-primary {
  border: 0;
  background: var(--red);
  color: #fff;
  box-shadow: 0 14px 34px rgba(161, 24, 26, 0.28);
  cursor: pointer;
}
.button-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.button-secondary {
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.button-secondary:hover { transform: translateY(-1px); background: rgba(255,255,255,0.14); }
.button-full { width: 100%; }

.intro-band {
  position: relative;
  margin-top: -72px;
  z-index: 5;
}
.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}
.intro-card,
.gallery-card,
.service-card,
.project-card,
.value-card,
.contact-card,
.imprint-card,
.legal-card,
.quote-card,
.portrait-card { border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.intro-card { padding: 34px; }
.intro-card-accent { background: linear-gradient(135deg, #9b1518 0%, #6f1012 100%); color: #fff; }
.intro-card-accent .eyebrow { color: rgba(255,255,255,0.72); }
.intro-card-accent p { color: rgba(255,255,255,0.82); }
.intro-card-plain {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
}
.intro-card h2,
.section-head h2,
.services-copy h2,
.value-card h2,
.contact-card h2,
.imprint-section h2,
.legal-hero h1 { font-size: clamp(34px, 4vw, 58px); }
.intro-card p,
.section-head p,
.services-copy > p,
.service-card p,
.project-card p,
.value-card li,
.contact-card p,
.legal-card p,
.legal-hero p {
  font-size: 18px;
  line-height: 1.72;
}

.gallery-section,
.services-section,
.focus-section,
.imprint-section,
.legal-content { padding: 90px 0; }
.gallery-section { background: var(--surface-soft); }
.section-head { max-width: 920px; margin-bottom: 34px; }
.split-head {
  max-width: none;
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 28px;
  align-items: end;
}
.gallery-grid-large {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 18px;
}
.gallery-card { overflow: hidden; background: var(--surface-solid); }
.gallery-card-large { grid-row: span 2; }
.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.services-section { background: linear-gradient(180deg, #ffffff 0%, #f4efe9 100%); }
.services-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.75fr);
  gap: 34px;
  align-items: start;
}
.service-list { display: grid; gap: 16px; margin-top: 30px; }
.service-card,
.project-card,
.value-card,
.contact-card,
.imprint-card,
.legal-card,
.quote-card {
  background: rgba(255,255,255,0.95);
  padding: 28px;
}
.service-card h3,
.project-card h3 {
  margin: 0;
  font-size: 24px;
  line-height: 1.22;
}
.service-card p,
.project-card p { margin: 14px 0 0; }
.portrait-panel { display: grid; gap: 18px; }
.portrait-card {
  padding: 12px;
  background: rgba(255,255,255,0.96);
}
.portrait-card img {
  width: 100%;
  height: 720px;
  object-fit: cover;
  border-radius: 18px;
}
.quote-card p:last-child {
  margin: 0;
  font-size: 20px;
  line-height: 1.7;
  color: #372f2a;
}

.focus-section {
  background: #1e1b18;
  color: #fff;
}
.focus-section .section-head {
  text-align: center;
  margin-inline: auto;
}
.focus-section .section-head p { color: var(--muted-dark); }
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.project-card {
  min-height: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
}
.project-card h3 { color: #fff; }
.project-card p { color: rgba(255,255,255,0.72); }

.contact-section {
  position: relative;
  overflow: hidden;
  background: #d9d2ca;
}
.city-bg {
  background: url('city-fade-bg.png') center center / cover no-repeat;
  opacity: 0.34;
}
.contact-overlay {
  background: linear-gradient(180deg, rgba(246,243,238,0.75) 0%, rgba(246,243,238,0.94) 100%);
}
.contact-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 96px 0;
}
.value-card ul {
  margin: 26px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 14px;
}
.contact-form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}
.contact-form label { display: grid; gap: 6px; }
.contact-form span {
  font-size: 13px;
  font-weight: 700;
  color: #433d38;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 14px;
  padding: 15px 16px;
  background: #faf8f5;
  color: var(--text);
}
.contact-form textarea { min-height: 148px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
  background: #fff;
}

.imprint-section {
  background: #fff;
  border-top: 1px solid rgba(0,0,0,0.05);
}
.imprint-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
}
.imprint-card {
  display: grid;
  gap: 14px;
  font-size: 17px;
  color: #433d38;
}

.legal-body { background: #f4efe9; }
.legal-page { padding-bottom: 96px; }
.legal-hero {
  padding: 96px 0 34px;
  background: linear-gradient(180deg, #ffffff 0%, #f3ece4 100%);
}
.legal-hero-inner { max-width: 860px; }
.legal-card h2 {
  margin: 0 0 8px;
  font-size: 28px;
}
.legal-card p + h2 { margin-top: 30px; }
.legal-actions { margin-top: 34px; }

.site-footer {
  background: #11100f;
  color: rgba(255,255,255,0.78);
  padding: 24px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 14px;
}
.footer-links {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

@media (max-width: 1180px) {
  .split-head,
  .services-grid,
  .intro-grid,
  .contact-grid,
  .imprint-grid,
  .project-grid { grid-template-columns: 1fr; }
  .gallery-grid-large { grid-template-columns: repeat(2, 1fr); }
  .gallery-card-large { grid-row: span 1; }
  .portrait-card img { height: 620px; }
}

@media (max-width: 900px) {
  :root { --header-height: 78px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero { min-height: auto; }
  .hero-content {
    align-items: flex-start;
    text-align: left;
    padding: 80px 0 94px;
  }
  .hero-actions { justify-content: flex-start; }
  .hero h1,
  .hero-text { max-width: 740px; }
  .gallery-grid-large { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
}

@media (max-width: 640px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  .brand img { height: 46px; }
  .intro-band { margin-top: -36px; }
  .intro-card,
  .service-card,
  .project-card,
  .value-card,
  .contact-card,
  .imprint-card,
  .legal-card,
  .quote-card { padding: 22px; }
  .gallery-section,
  .services-section,
  .focus-section,
  .imprint-section,
  .legal-content { padding: 64px 0; }
  .hero-content { padding: 64px 0 76px; }
  .hero h1 { font-size: clamp(38px, 11vw, 56px); }
  .hero-text,
  .intro-card p,
  .section-head p,
  .services-copy > p,
  .service-card p,
  .project-card p,
  .value-card li,
  .contact-card p,
  .legal-card p,
  .legal-hero p { font-size: 16px; }
  .hero-actions,
  .hero-actions a { width: 100%; }
  .button-primary,
  .button-secondary { width: 100%; }
  .portrait-card img { height: 520px; }
  .legal-hero { padding: 72px 0 24px; }
}
