:root {
  --bg: #ffffff;
  --ink: #0a0a0a;
  --grey: #6f6f6f;
  --grey-light: #a3a3a3;
  --line: #e8e8e8;
  --green: #1a7a1a;
  --font: "Inter", -apple-system, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); overflow-x: hidden; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
img { display: block; max-width: 100%; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
::selection { background: var(--ink); color: var(--bg); }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--ink); }

/* ── Header ── */
.site-header {
  align-items: center;
  background: rgba(255, 255, 255, .65);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  display: flex;
  height: 68px;
  justify-content: space-between;
  left: 0;
  padding: 0 max(24px, 4vw);
  position: fixed;
  right: 0;
  top: 0;
  transition: border-color .3s;
  z-index: 50;
}
.site-header.stuck { border-bottom-color: var(--line); }
.header-left { align-items: center; display: flex; gap: 18px; }
.brand img { height: 30px; transition: filter .3s; width: auto; }
.header-right { align-items: center; display: flex; gap: 18px; }
.status { align-items: center; color: var(--grey); display: flex; font-size: 12.5px; font-weight: 500; gap: 7px; }
.status i { background: var(--green); border-radius: 50%; display: block; height: 7px; position: relative; width: 7px; }
.status i::after { animation: ping 2.4s ease-out infinite; background: var(--green); border-radius: 50%; content: ""; inset: 0; position: absolute; }
.status.closed i { background: var(--grey-light); }
.status.closed i::after { display: none; }
@keyframes ping { 0% { opacity: .6; transform: scale(1); } 100% { opacity: 0; transform: scale(3.2); } }
.call-button { background: var(--ink); border-radius: 100px; color: var(--bg); font-size: 13px; font-weight: 600; padding: 10px 20px; text-decoration: none; transition: opacity .2s, background .3s, color .3s; }
.call-button:hover { opacity: .78; }

/* ── Menü-Button (drei Striche) ── */
.menu-button { background: none; border: 0; cursor: pointer; display: grid; gap: 5px; height: 34px; padding: 0; place-content: center; width: 34px; }
.menu-button span { background: var(--ink); display: block; height: 2px; transition: transform .35s var(--ease), opacity .25s, background .3s; width: 22px; }
body.menu-open .menu-button span { background: var(--bg); }
body.menu-open .menu-button span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-button span:nth-child(2) { opacity: 0; }
body.menu-open .menu-button span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.menu-open { overflow: hidden; }
body.menu-open .site-header { backdrop-filter: none; background: transparent; border-bottom-color: transparent; }
body.menu-open .brand img { filter: brightness(0) invert(1); }
body.menu-open .status { opacity: 0; pointer-events: none; }
body.menu-open .call-button { background: var(--bg); color: var(--ink); }

/* ── Vollbild-Menü ── */
.menu {
  background: var(--ink); color: var(--bg); inset: 0; opacity: 0; overflow-y: auto;
  padding: 132px max(24px, 4vw) 48px; pointer-events: none; position: fixed;
  transition: opacity .4s var(--ease), visibility .4s; visibility: hidden; z-index: 45;
}
body.menu-open .menu { opacity: 1; pointer-events: auto; visibility: visible; }
.menu-list { list-style: none; }
.menu-list li { overflow: hidden; }
.menu-list a {
  align-items: baseline; border-bottom: 1px solid #242424; color: var(--bg); display: flex; gap: 20px;
  font-size: clamp(32px, 5.6vw, 72px); font-weight: 800; letter-spacing: -.042em; line-height: 1.1;
  padding: 18px 0; text-decoration: none; transform: translateY(105%);
  transition: transform .65s var(--ease), color .25s;
}
body.menu-open .menu-list a { transform: none; }
.menu-list li:nth-child(1) a { transition-delay: .06s; }
.menu-list li:nth-child(2) a { transition-delay: .12s; }
.menu-list li:nth-child(3) a { transition-delay: .18s; }
.menu-list li:nth-child(4) a { transition-delay: .24s; }
.menu-list li:nth-child(5) a { transition-delay: .30s; }
.menu-list a small { color: #6f6f6f; font-size: 13px; font-weight: 600; letter-spacing: 0; }
.menu-list a:hover { color: #7ddb7d; }
.menu-foot { display: flex; flex-wrap: wrap; gap: 16px 54px; margin-top: 52px; opacity: 0; transition: opacity .5s var(--ease) .38s; }
.menu-foot small { color: #6f6f6f; display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.menu-foot a, .menu-foot span { display: inline-block; font-size: 15px; font-weight: 600; margin-top: 5px; text-decoration: none; }
.menu-foot a:hover { color: #7ddb7d; }
body.menu-open .menu-foot { opacity: 1; }

/* ── Hero ── */
.hero { padding: 148px max(24px, 4vw) 0; }
.hero-kicker { align-items: center; color: var(--grey); display: flex; font-size: 13px; font-weight: 500; gap: 10px; }
.hero-kicker b { color: var(--ink); font-weight: 600; }
.hero-kicker em { background: var(--line); font-style: normal; height: 1px; width: 40px; }
.hero h1 { font-size: clamp(44px, 7.6vw, 116px); font-weight: 800; letter-spacing: -.05em; line-height: .94; margin: 20px 0 0; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .12em; }
.hero h1 .line > span { display: block; }
.stroke {
  -webkit-text-stroke: clamp(1.75px, .18vw, 3.4px) var(--ink);
  color: var(--bg);
  paint-order: stroke fill;
}
.hero-row { align-items: flex-end; display: flex; gap: 40px; justify-content: space-between; margin-top: 30px; }
.hero-copy { max-width: 590px; }
.hero-copy strong { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.02em; line-height: 1.3; }
.hero-copy p { color: var(--grey); font-size: 15.5px; line-height: 1.65; margin-top: 10px; }
.hero-process-link { align-items: center; color: var(--green); display: inline-flex; font-size: 14px; font-weight: 600; gap: 6px; margin-top: 12px; text-decoration: none; transition: color .2s; }
.hero-process-link i { display: inline-block; font-style: normal; transition: transform .3s var(--ease); }
.hero-process-link:hover { color: var(--ink); }
.hero-process-link:hover i { transform: translateX(4px); }
.hero-ctas { display: flex; flex: none; gap: 12px; }
.button-solid { align-items: center; background: var(--ink); border: 1px solid var(--ink); border-radius: 100px; color: var(--bg); display: inline-flex; font-size: 14px; font-weight: 600; gap: 10px; padding: 15px 26px; text-decoration: none; transition: opacity .2s; }
.button-solid:hover { opacity: .8; }
.button-solid i { display: inline-block; font-style: normal; transition: transform .35s var(--ease); }
.button-solid:hover i { transform: translateX(5px); }
.button-ghost { align-items: center; background: transparent; border: 1px solid var(--line); border-radius: 100px; color: var(--ink); display: inline-flex; font-size: 14px; font-weight: 600; padding: 15px 26px; text-decoration: none; transition: border-color .25s; }
.button-ghost:hover { border-color: var(--ink); }
    /* Google Rating Badge */
    .hero-rating { align-items: center; display: flex; gap: 10px; margin-top: 20px; font-size: 13.5px; }
    .hero-rating .stars { color: #f59e0b; font-size: 15px; letter-spacing: 2px; }
    .hero-rating .rating-text { color: var(--grey); }
    .hero-rating .rating-text strong { color: var(--ink); font-weight: 700; }
/* Hero-Bild mit Parallax + Statleiste */
.hero-visual { height: 66vh; margin-top: 44px; min-height: 380px; overflow: hidden; position: relative; }
.hero-visual img { height: 128%; left: 0; object-fit: cover; object-position: 60% 42%; position: absolute; top: -14%; width: 100%; will-change: transform; }
.hero-stats {
  backdrop-filter: blur(16px); background: rgba(255, 255, 255, .9); bottom: 0; display: grid;
  grid-template-columns: repeat(3, 1fr); left: 0; position: absolute; right: 0;
}
.hero-stat { border-right: 1px solid var(--line); padding: 22px 26px; }
.hero-stat:last-child { border-right: 0; }
.hero-stat strong { display: block; font-size: clamp(26px, 2.8vw, 40px); font-weight: 800; letter-spacing: -.035em; line-height: 1; }
.hero-stat span { color: var(--grey); display: block; font-size: 12.5px; margin-top: 6px; }

/* ── Sections ── */
.section { padding: 130px max(24px, 4vw) 0; }
.section-head { margin-bottom: 46px; max-width: 720px; }
.section-label { color: var(--green); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.section-title { font-size: clamp(34px, 4.6vw, 64px); font-weight: 800; letter-spacing: -.038em; line-height: 1.02; margin-top: 14px; }
.section-sub { color: var(--grey); font-size: 16px; line-height: 1.65; margin-top: 16px; max-width: 520px; }

/* ── Vorher / Nachher ── */
.case-bar { align-items: flex-end; border-bottom: 1px solid var(--line); display: flex; gap: 26px; margin-bottom: 26px; padding-bottom: 14px; }
.case-tab { background: none; border: 0; color: var(--grey-light); cursor: pointer; font-size: 14px; font-weight: 600; padding: 6px 0; position: relative; transition: color .25s; }
.case-tab::after { background: var(--ink); bottom: -15px; content: ""; height: 2px; left: 0; position: absolute; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); width: 100%; }
.case-tab.active { color: var(--ink); }
.case-tab.active::after { transform: scaleX(1); }
.case-tab small { color: var(--grey-light); font-size: 11px; font-weight: 600; margin-right: 8px; }

.compare-showcase { margin-inline: auto; width: min(82vw, 820px); }
.compare { aspect-ratio: 2 / 1; cursor: ew-resize; overflow: hidden; position: relative; touch-action: pan-y; user-select: none; }
.compare img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.compare-before { clip-path: inset(0 50% 0 0); inset: 0; position: absolute; }
.compare-line { background: var(--bg); bottom: 0; left: 50%; position: absolute; top: 0; width: 2px; z-index: 4; }
.compare-handle {
  align-items: center; background: var(--bg); border-radius: 50%; box-shadow: 0 3px 18px rgba(0,0,0,.25);
  color: var(--ink); display: flex; font-size: 14px; height: 48px; justify-content: center; left: 50%;
  position: absolute; top: 50%; transform: translate(-50%, -50%); transition: transform .25s var(--ease); width: 48px;
}
.compare:hover .compare-handle { transform: translate(-50%, -50%) scale(1.08); }
.compare-tag { background: var(--bg); font-size: 11px; font-weight: 600; letter-spacing: .06em; padding: 7px 11px; position: absolute; text-transform: uppercase; top: 16px; z-index: 3; }
.compare-tag.before { left: 16px; }
.compare-tag.after { right: 16px; }
.compare-meta { border-bottom: 1px solid var(--line); display: grid; gap: 8px 34px; grid-template-columns: repeat(2, 1fr); padding: 20px 0; }
.compare-meta span { color: var(--grey); display: block; font-size: 12px; }
.compare-meta strong { display: block; font-size: 14px; font-weight: 600; margin-top: 4px; }

/* ── Leistungen ── */
.service-list { border-top: 1px solid var(--ink); }
.service-row { border-bottom: 1px solid var(--line); }
.service-button { align-items: baseline; background: none; border: 0; color: var(--ink); cursor: pointer; display: grid; gap: 24px; grid-template-columns: 64px 1fr auto; padding: 28px 0; text-align: left; width: 100%; }
.service-index { color: var(--grey-light); font-size: 13px; font-weight: 600; }
.service-name { font-size: clamp(22px, 2.8vw, 38px); font-weight: 700; letter-spacing: -.028em; line-height: 1.05; transition: transform .35s var(--ease); }
.service-button:hover .service-name { transform: translateX(10px); }
.service-toggle { color: var(--grey-light); font-size: 24px; font-weight: 300; transition: transform .3s var(--ease), color .3s; }
.service-row.open .service-toggle { color: var(--ink); transform: rotate(45deg); }
.service-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.service-row.open .service-detail { grid-template-rows: 1fr; }
.service-detail > div { overflow: hidden; }
.service-detail p { color: var(--grey); font-size: 15px; line-height: 1.7; margin: 0 0 30px 88px; max-width: 560px; }

/* ── Meisterbetrieb ── */
.owner { display: grid; gap: 0; grid-template-columns: 1.05fr .95fr; align-items: center; }
.owner-photo { overflow: hidden; position: relative; }
.owner-photo img { aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 55% center; transform: scale(1.06); width: 100%; will-change: transform; }
.owner-copy { background: var(--bg); margin-left: -70px; padding: 62px 0 62px 62px; position: relative; z-index: 2; }
.owner-quote { font-size: clamp(24px, 2.9vw, 40px); font-weight: 700; letter-spacing: -.03em; line-height: 1.14; margin-top: 16px; }
.owner-copy p { color: var(--grey); font-size: 16px; line-height: 1.75; margin-top: 22px; max-width: 440px; }

/* ── Ablauf / Prozess ── */
.process-timeline {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 10px;
}
.process-step {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 24px;
  position: relative;
  transition: border-color .35s, transform .35s var(--ease), box-shadow .35s;
}
.process-step::before {
  background: var(--ink);
  border-radius: 3px 3px 0 0;
  content: "";
  height: 3px;
  left: 24px;
  opacity: 0;
  position: absolute;
  right: 24px;
  top: -1px;
  transition: opacity .35s;
}
.process-step:hover {
  border-color: var(--ink);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .06);
  transform: translateY(-5px);
}
.process-step:hover::before {
  opacity: 1;
}
.process-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
}
.process-num {
  color: var(--green);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1;
}
.process-dot {
  background: var(--green);
  border-radius: 50%;
  height: 8px;
  width: 8px;
}
.process-step h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.25;
  margin-bottom: 10px;
}
.process-step p {
  color: var(--grey);
  font-size: 14px;
  line-height: 1.6;
}

/* ── Kontakt ── */
.contact { background: var(--ink); color: var(--bg); margin-top: 130px; padding: 120px max(24px, 4vw); }
.contact .section-label { color: #7ddb7d; }
.contact .section-title { color: var(--bg); }
.contact-grid { display: grid; gap: 70px; grid-template-columns: .85fr 1.15fr; }
.contact-fact { border-bottom: 1px solid #2a2a2a; padding: 20px 0; }
.contact-fact small { color: #8a8a8a; display: block; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.contact-fact a, .contact-fact strong { display: inline-block; font-size: 19px; font-weight: 600; letter-spacing: -.01em; margin-top: 5px; text-decoration: none; }
.contact-fact a:hover { color: #7ddb7d; }

.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.wide { grid-column: 1 / -1; }
.field label { color: #8a8a8a; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.field input, .field select, .field textarea { background: transparent; border: 0; border-bottom: 1px solid #3a3a3a; border-radius: 0; color: var(--bg); min-height: 44px; outline: none; padding: 8px 0; transition: border-color .25s; }
.field textarea { min-height: 90px; resize: vertical; }
.field select option { color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--bg); }
.submit { background: var(--bg); border: 0; border-radius: 100px; color: var(--ink); cursor: pointer; font-size: 14px; font-weight: 600; grid-column: 1 / -1; justify-self: start; margin-top: 10px; padding: 15px 32px; transition: opacity .2s; }
.submit:hover { opacity: .82; }

/* ── Footer ── */
footer { background: var(--ink); border-top: 1px solid #2a2a2a; color: #8a8a8a; font-size: 12.5px; padding: 30px max(24px, 4vw); }
.footer-inner { align-items: center; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; }
.footer-inner img { filter: brightness(0) invert(1); height: 24px; opacity: .9; width: auto; }
.footer-links a { margin-left: 22px; text-decoration: none; }
.footer-links a:hover { color: var(--bg); }

/* ── Rechtliche Unterseiten & Galerie ── */
.subpage-container {
  margin: 0 auto;
  max-width: 820px;
  padding: 140px max(24px, 4vw) 100px;
}
.subpage-container .section-head {
  margin-bottom: 46px;
}
.subpage-container .section-label {
  margin-bottom: 18px;
}
.subpage-title {
  font-size: clamp(36px, 5.2vw, 60px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.legal-block {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 20px;
  padding: 28px 32px;
  transition: border-color .25s, box-shadow .25s;
}
.legal-block:hover {
  border-color: var(--grey-light);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .03);
}
.legal-block h3 {
  color: var(--green);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 12px;
}
.legal-block p {
  color: var(--grey);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 8px;
}
.legal-block p:last-child {
  margin-bottom: 0;
}
.legal-block p strong {
  color: var(--ink);
  font-weight: 600;
}
.legal-block a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-block a:hover {
  color: var(--green);
}
.legal-block ul {
  color: var(--grey);
  font-size: 15px;
  line-height: 1.65;
  margin: 10px 0 10px 20px;
}

/* ── Galerie-Seite ── */
.gallery-container {
  max-width: 1080px;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin-top: 36px;
  margin-bottom: 60px;
}

.compare-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), border-color .35s, box-shadow .4s var(--ease);
}

.compare-card:hover {
  transform: scale(1.03) translateY(-6px);
  border-color: var(--ink);
  box-shadow: 0 20px 48px rgba(0,0,0,.1);
  z-index: 5;
}

.compare-card .compare {
  aspect-ratio: 16 / 10;
}

.compare-thumbs {
  display: flex;
  gap: 10px;
  padding: 14px 28px 14px;
  background: var(--bg);
}

.thumb-btn {
  align-items: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  overflow: hidden;
  padding: 4px 10px 4px 4px;
  transition: border-color .25s, background .25s;
}

.thumb-btn img {
  border-radius: 4px;
  height: 28px;
  object-fit: cover;
  width: 36px;
}

.thumb-btn span {
  color: var(--grey);
  font-size: 12px;
  font-weight: 600;
}

.thumb-btn:hover {
  border-color: var(--grey-light);
}

.thumb-btn.active {
  background: var(--ink);
  border-color: var(--ink);
}

.thumb-btn.active span {
  color: var(--bg);
}

.view-label-text {
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}

.compare-card-info {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  flex-grow: 1;
}

.compare-card-info .card-cat {
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}

.compare-card-info h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--ink);
}

.compare-card-info p {
  color: var(--grey);
  font-size: 14px;
  line-height: 1.6;
}

.gallery-cta-box {
  background: var(--ink);
  color: var(--bg);
  border-radius: 20px;
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 40px;
}
.gallery-cta-box h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -.03em;
  margin-bottom: 8px;
}
.gallery-cta-box p {
  color: #a3a3a3;
  font-size: 15px;
}
.gallery-cta-box .button-solid {
  background: var(--bg);
  color: var(--ink);
  border-color: var(--bg);
  white-space: nowrap;
}

@media (max-width: 800px) {
  .compare-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  }
  .gallery-hero-info {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .gallery-cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
  }
}
.subpage-title {
  font-size: clamp(36px, 5.2vw, 60px);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1.05;
  margin-bottom: 36px;
}
.legal-block {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 20px;
  padding: 28px 32px;
  transition: border-color .25s, box-shadow .25s;
}
.legal-block:hover {
  border-color: var(--grey-light);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .03);
}
.legal-block h3 {
  color: var(--green);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: 12px;
}
.legal-block p {
  color: var(--grey);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 8px;
}
.legal-block p:last-child {
  margin-bottom: 0;
}
.legal-block p strong {
  color: var(--ink);
  font-weight: 600;
}
.legal-block a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-block a:hover {
  color: var(--green);
}
.legal-block ul {
  color: var(--grey);
  font-size: 15px;
  line-height: 1.65;
  margin: 10px 0 10px 20px;
}

/* ── Animationen ── */
.rise > * { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rise.visible > * { opacity: 1; transform: none; }
.rise.visible > *:nth-child(2) { transition-delay: .07s; }
.rise.visible > *:nth-child(3) { transition-delay: .14s; }
.rise.visible > *:nth-child(4) { transition-delay: .21s; }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

.hero h1 .line > span { transform: translateY(100%); transition: transform 1s var(--ease); }
.hero.ready h1 .line > span { transform: none; }
.hero.ready h1 .line:nth-child(2) > span { transition-delay: .1s; }
.hero.ready h1 .line:nth-child(3) > span { transition-delay: .2s; }
.hero-fade { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.hero.ready .hero-fade { opacity: 1; transform: none; }
.hero.ready .hero-row { transition-delay: .25s; }
.hero.ready .hero-visual { transition-delay: .35s; }

@media (max-width: 900px) {
  .status { display: none; }
  .owner { grid-template-columns: 1fr; }
  .owner-copy { margin-left: 0; padding: 40px 0 0; }
  .owner-photo img { aspect-ratio: 4 / 3.4; }
  .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 640px) {
  .hero { padding-top: 122px; }
  .hero-row { align-items: flex-start; flex-direction: column; gap: 24px; }
  .hero-visual { height: 62vh; margin-top: 34px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stat:nth-child(3) { display: none; }
  .hero-stat { padding: 16px 18px; }
  .section { padding-top: 90px; }
  .compare-showcase { width: 100%; }
  .compare { aspect-ratio: 4 / 3; }
  .compare-meta { grid-template-columns: 1fr; }
  .case-bar { gap: 18px; overflow-x: auto; }
  .case-tab { flex: none; }
  .service-button { gap: 14px; grid-template-columns: 40px 1fr auto; padding: 22px 0; }
  .service-detail p { margin-left: 54px; }
  .process-timeline { grid-template-columns: 1fr; gap: 16px; }
  .contact { margin-top: 90px; padding: 80px 24px; }
  .menu { padding-top: 108px; }
  .menu-foot { flex-direction: column; gap: 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.wide, .submit { grid-column: auto; }
  .submit { width: 100%; }
  .footer-links a { margin: 0 18px 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .rise > *, .hero-fade { opacity: 1; transform: none; transition: none; }
  .hero h1 .line > span { transform: none; transition: none; }
  .menu-list a { transform: none; transition: color .25s; }
  .status i::after { animation: none; }
}
