:root {
  --hm-bg: #fbfaf7;
  --hm-surface: #ffffff;
  --hm-soft: #f1eee8;
  --hm-text: #252321;
  --hm-muted: #706a62;
  --hm-line: #ded8cf;
  --hm-accent: #9a5d46;
  --hm-accent-dark: #72412f;
  --hm-dark: #2d2925;
  --hm-radius: 2px;
  --hm-shadow: 0 24px 70px rgba(50, 42, 34, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--hm-text);
  background: var(--hm-bg);
  font-family: "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

.craft-container {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.craft-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(37, 35, 33, 0.08);
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(16px);
}

.craft-nav {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.craft-brand {
  display: inline-grid;
  gap: 0;
  color: var(--hm-text);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
}

.craft-brand span {
  font-size: 1.14rem;
}

.craft-brand small {
  margin-top: 4px;
  color: var(--hm-muted);
  font-size: 0.76rem;
  font-weight: 700;
}

.craft-nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
}

.craft-nav-links a,
.craft-nav-cta {
  color: var(--hm-muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.18s ease;
}

.craft-nav-links a:hover,
.craft-nav-links a:focus-visible {
  color: var(--hm-text);
}

.craft-nav-cta {
  padding: 10px 16px;
  color: var(--hm-surface);
  background: var(--hm-dark);
}

.craft-nav-cta:hover,
.craft-nav-cta:focus-visible {
  color: var(--hm-surface);
  background: var(--hm-accent-dark);
}

.craft-nav-toggle {
  display: none;
}

.craft-hero {
  position: relative;
  min-height: calc(100vh - 120px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.craft-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(36, 32, 28, 0.74), rgba(36, 32, 28, 0.24) 48%, rgba(251, 250, 247, 0.02)),
    url("assets/hartmann-hero.jpg") center / cover no-repeat;
}

.craft-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  z-index: -1;
  background: linear-gradient(180deg, rgba(251, 250, 247, 0), var(--hm-bg));
}

.craft-hero-content {
  padding: 120px 0 130px;
  color: #ffffff;
}

.craft-ai-label {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 5px 8px;
  border-radius: 4px;
  color: #ffffff;
  background: rgba(33, 30, 27, 0.72);
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.craft-ai-label-hero {
  bottom: 22px;
}

.craft-eyebrow {
  margin: 0 0 18px;
  color: var(--hm-accent);
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.35;
  text-transform: uppercase;
}

.craft-hero .craft-eyebrow {
  color: #e8d7ca;
}

.craft-hero h1,
.craft-editorial h2,
.craft-section-head h2,
.craft-about h2,
.craft-before-after h2,
.craft-principles h2,
.craft-cta h2,
.craft-contact h2 {
  margin: 0;
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

.craft-hero h1 {
  max-width: 760px;
  font-size: clamp(4rem, 10vw, 9.5rem);
}

.craft-hero p:not(.craft-eyebrow) {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.36rem);
}

.craft-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.craft-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--hm-radius);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.craft-btn:hover,
.craft-btn:focus-visible {
  transform: translateY(-1px);
}

.craft-btn-primary {
  color: #ffffff;
  background: var(--hm-accent);
}

.craft-btn-primary:hover,
.craft-btn-primary:focus-visible {
  background: var(--hm-accent-dark);
}

.craft-btn-secondary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.10);
}

.craft-btn-secondary-dark {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
}

.craft-section {
  padding: clamp(84px, 9vw, 150px) 0;
}

.craft-editorial {
  max-width: 1000px;
}

.craft-editorial h2,
.craft-section-head h2,
.craft-about h2,
.craft-before-after h2,
.craft-principles h2,
.craft-cta h2,
.craft-contact h2 {
  max-width: 860px;
  font-size: clamp(2.5rem, 5.5vw, 5.6rem);
}

.craft-section-head h2 {
  max-width: 920px;
  font-size: clamp(3.2rem, 4.2vw, 4.9rem);
  line-height: 1;
}

.craft-editorial p:not(.craft-eyebrow),
.craft-section-head p,
.craft-about p,
.craft-before-after p,
.craft-cta p,
.craft-contact p {
  max-width: 720px;
  margin: 26px 0 0;
  color: var(--hm-muted);
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
}

.craft-services,
.craft-before-after,
.craft-process {
  background: var(--hm-soft);
}

.craft-section-head {
  max-width: 920px;
  margin-bottom: 58px;
}

.craft-section-head-wide {
  max-width: 920px;
}

.craft-service-list {
  border-top: 1px solid var(--hm-line);
}

.craft-service-list article {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 30px 0;
  border-bottom: 1px solid var(--hm-line);
}

.craft-service-list span,
.craft-principles-grid span,
.craft-timeline span {
  color: var(--hm-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
}

.craft-service-list h3,
.craft-work-item h3,
.craft-principles-grid h3,
.craft-timeline h3 {
  margin: 0;
  color: var(--hm-text);
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  line-height: 1.15;
}

.craft-service-list p,
.craft-timeline p {
  max-width: 780px;
  margin: 10px 0 0;
  color: var(--hm-muted);
}

.craft-work-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
}

.craft-work-item {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: var(--hm-dark);
}

.craft-work-item-large {
  grid-row: span 2;
  min-height: 720px;
}

.craft-work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.craft-work-item:hover img {
  transform: scale(1.025);
}

.craft-work-item div {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 34px;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(33, 30, 27, 0), rgba(33, 30, 27, 0.74));
}

.craft-work-item div span {
  display: block;
  margin-bottom: 10px;
  color: #ead7c8;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.craft-work-item h3 {
  max-width: 520px;
  color: #ffffff;
}

.craft-before-after-grid,
.craft-about-grid,
.craft-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(360px, 1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: center;
}

.craft-compare {
  display: grid;
  gap: 14px;
}

.craft-compare-stage {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--hm-dark);
  box-shadow: var(--hm-shadow);
}

.craft-compare-layer {
  position: absolute;
  inset: 0;
  background-image: url("assets/hartmann-vorher-nachher.jpg");
  background-repeat: no-repeat;
  background-size: 200% 100%;
}

.craft-compare-before {
  background-position: left center;
}

.craft-compare-after {
  clip-path: inset(0 0 0 var(--split));
  background-position: right center;
}

.craft-compare-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  z-index: 2;
  width: 2px;
  background: #ffffff;
  transform: translateX(-1px);
}

.craft-label {
  position: absolute;
  top: 18px;
  z-index: 3;
  padding: 8px 10px;
  color: #ffffff;
  background: rgba(45, 41, 37, 0.72);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.craft-label-before {
  left: 18px;
}

.craft-label-after {
  right: 18px;
}

.craft-compare-range {
  width: 100%;
  accent-color: var(--hm-accent);
}

.craft-image-frame {
  position: relative;
  overflow: hidden;
}

.craft-about img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  box-shadow: var(--hm-shadow);
}

.craft-about-grid {
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1fr);
}

.craft-principles-head {
  max-width: 920px;
  margin-bottom: 64px;
}

.craft-principles-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--hm-line);
  border-left: 1px solid var(--hm-line);
}

.craft-principles-grid article {
  min-height: 220px;
  display: grid;
  align-content: space-between;
  gap: 28px;
  padding: 30px;
  border-right: 1px solid var(--hm-line);
  border-bottom: 1px solid var(--hm-line);
}

.craft-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
  border-top: 1px solid var(--hm-line);
}

.craft-timeline li {
  position: relative;
  padding: 34px 24px 0 0;
}

.craft-timeline li + li {
  padding-left: 24px;
  border-left: 1px solid var(--hm-line);
}

.craft-cta {
  padding: clamp(76px, 8vw, 126px) 0;
  color: #ffffff;
  background: var(--hm-dark);
}

.craft-cta-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 34px;
}

.craft-cta .craft-eyebrow {
  color: #e7cdbb;
}

.craft-cta p {
  color: rgba(255, 255, 255, 0.74);
}

.craft-contact {
  background: var(--hm-bg);
}

.craft-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 4vw, 42px);
  background: var(--hm-surface);
  border: 1px solid var(--hm-line);
  box-shadow: var(--hm-shadow);
}

.craft-form label {
  display: grid;
  gap: 7px;
  color: var(--hm-text);
  font-size: 0.92rem;
  font-weight: 800;
}

.craft-form label span {
  color: var(--hm-muted);
  font-weight: 650;
}

.craft-form input,
.craft-form select,
.craft-form textarea {
  width: 100%;
  border: 1px solid var(--hm-line);
  border-radius: 0;
  padding: 13px 12px;
  color: var(--hm-text);
  background: #fbfaf7;
  font: inherit;
}

.craft-form input:focus,
.craft-form select:focus,
.craft-form textarea:focus {
  outline: 2px solid rgba(154, 93, 70, 0.28);
  border-color: var(--hm-accent);
}

.craft-form-full {
  grid-column: 1 / -1;
}

.craft-footer {
  padding: 64px 0 30px;
  color: rgba(255, 255, 255, 0.72);
  background: #211e1b;
}

.craft-footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.25fr) minmax(130px, 0.7fr) minmax(190px, 0.9fr) minmax(250px, 1fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
}

.craft-brand-footer {
  color: #ffffff;
}

.craft-brand-footer small,
.craft-footer p {
  color: rgba(255, 255, 255, 0.68);
}

.craft-footer-company p {
  margin: 18px 0 0;
  max-width: 280px;
}

.craft-footer-demo {
  padding-top: 12px;
}

.craft-footer-small {
  margin-top: 8px !important;
  font-size: 0.86rem;
}

.craft-footer-links h2 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 850;
  line-height: 1.35;
  text-transform: uppercase;
}

.craft-footer-links {
  display: grid;
  gap: 11px;
}

.craft-footer-cta h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 2vw, 2rem);
  font-weight: 500;
  line-height: 1.08;
}

.craft-footer a,
.craft-footer-bottom span {
  color: #ffffff;
}

.craft-footer a {
  font-weight: 750;
  text-decoration: none;
}

.craft-footer a:hover,
.craft-footer a:focus-visible {
  color: #e7cdbb;
}

.craft-footer-cta p {
  margin: 0;
  max-width: 320px;
}

.craft-footer-cta .craft-btn {
  min-height: 46px;
  margin-top: 24px;
  padding: 12px 17px;
}

.craft-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 54px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.9rem;
}

.craft-footer-bottom p {
  margin: 0;
}

.craft-footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
}

@media (max-width: 980px) {
  .craft-nav {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .craft-nav-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 7px;
    border: 1px solid var(--hm-line);
    background: transparent;
  }

  .craft-nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--hm-text);
  }

  .craft-nav-links {
    position: fixed;
    inset: 120px 0 auto;
    display: none;
    grid-column: 1 / -1;
    padding: 24px;
    border-top: 1px solid var(--hm-line);
    background: var(--hm-bg);
  }

  .nav-open .craft-nav-links {
    display: grid;
    justify-content: stretch;
  }

  .craft-nav-links a {
    padding: 12px 0;
    font-size: 1rem;
  }

  .craft-nav-cta {
    display: none;
  }

  .craft-section-head,
  .craft-section-head-wide,
  .craft-before-after-grid,
  .craft-about-grid,
  .craft-contact-grid {
    grid-template-columns: 1fr;
  }

  .craft-section-head h2 {
    max-width: 760px;
    font-size: clamp(3rem, 8vw, 4.35rem);
  }

  .craft-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .craft-work-grid,
  .craft-principles-grid,
  .craft-timeline {
    grid-template-columns: 1fr 1fr;
  }

  .craft-work-item,
  .craft-work-item-large {
    min-height: 520px;
  }

  .craft-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .craft-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .craft-footer-bottom div {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .craft-container {
    width: min(calc(100% - 28px), 360px);
    margin-right: 0;
    margin-left: 14px;
  }

  .craft-nav {
    min-height: 70px;
  }

  .craft-nav-links {
    inset: 108px 0 auto;
  }

  .craft-hero {
    min-height: 720px;
  }

  .craft-hero-image {
    background-position: 58% center;
  }

  .craft-ai-label {
    right: 12px;
    bottom: 12px;
    font-size: 0.66rem;
  }

  .craft-ai-label-hero {
    bottom: 34px;
  }

  .craft-hero-content {
    padding: 82px 0 98px;
  }

  .craft-hero h1 {
    max-width: 9ch;
    font-size: clamp(3.1rem, 14vw, 4rem);
    line-height: 1.02;
  }

  .craft-editorial h2,
  .craft-about h2,
  .craft-before-after h2,
  .craft-principles h2,
  .craft-cta h2,
  .craft-contact h2 {
    font-size: clamp(1.95rem, 8.8vw, 2.8rem);
    line-height: 1.04;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .craft-section-head h2 {
    max-width: 100%;
    font-size: clamp(2.6rem, 11.5vw, 4rem);
    line-height: 1.02;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .craft-hero p:not(.craft-eyebrow),
  .craft-editorial p:not(.craft-eyebrow),
  .craft-section-head p,
  .craft-about p,
  .craft-before-after p,
  .craft-cta p,
  .craft-contact p,
  .craft-service-list p,
  .craft-timeline p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .craft-actions,
  .craft-btn,
  .craft-form {
    width: 100%;
  }

  .craft-service-list article,
  .craft-work-grid,
  .craft-principles-grid,
  .craft-timeline,
  .craft-footer-grid,
  .craft-form {
    grid-template-columns: 1fr;
  }

  .craft-service-list article {
    gap: 16px;
  }

  .craft-work-item,
  .craft-work-item-large,
  .craft-compare-stage {
    min-height: 420px;
  }

  .craft-timeline li,
  .craft-timeline li + li {
    padding: 28px 0;
    border-left: 0;
    border-bottom: 1px solid var(--hm-line);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
