:root {
  color-scheme: light;
  --bg: #f7f9fd;
  --surface: #ffffff;
  --surface-2: #eef4ff;
  --text: #0c1830;
  --muted: #65718a;
  --line: #dce4f1;
  --primary: #1265f4;
  --primary-strong: #084fbf;
  --primary-soft: #e7f1ff;
  --sky: #46b5ff;
  --green: #119b67;
  --orange: #e98220;
  --red: #e04855;
  --shadow-sm: 0 10px 30px rgba(21, 48, 94, 0.08);
  --shadow-lg: 0 26px 70px rgba(21, 48, 94, 0.15);
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --container: 1180px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #080d18;
  --surface: #101827;
  --surface-2: #162239;
  --text: #f4f7fd;
  --muted: #a4afc2;
  --line: #26344d;
  --primary: #67a3ff;
  --primary-strong: #92bdff;
  --primary-soft: #172d58;
  --sky: #55c2ff;
  --green: #45d39b;
  --orange: #ffad5c;
  --red: #ff7580;
  --shadow-sm: 0 10px 30px rgba(0, 0, 0, 0.22);
  --shadow-lg: 0 26px 70px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 180ms ease, color 180ms ease;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--primary) 55%, transparent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--text);
  color: var(--surface);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.section.compact {
  padding: 64px 0;
}

.section-tint {
  background: var(--surface-2);
  border-block: 1px solid var(--line);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow,
.status-pill,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  padding: 8px 12px;
  background: var(--primary-soft);
  color: var(--primary);
}

.eyebrow::before,
.status-pill::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--text);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 6vw, 5.7rem);
  font-weight: 850;
}

h2 {
  margin: 16px 0 14px;
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 820;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.34rem;
  font-weight: 780;
}

.lead {
  max-width: 670px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.24rem);
}

.gradient-text {
  background: linear-gradient(115deg, var(--primary), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted {
  color: var(--muted);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 82%, transparent);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto minmax(220px, 1fr);
  align-items: center;
  min-height: 78px;
  gap: 28px;
}

.nav-wrap > .brand {
  justify-self: start;
}

.site-header .brand {
  padding: 0;
  background: transparent;
}

.header-logo {
  display: block;
  width: 180px;
  height: 60px;
  object-fit: contain;
}

.nav-wrap > nav {
  grid-column: 2;
  justify-self: center;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0;
  font-size: 1.36rem;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--primary), var(--sky));
  box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 32%, transparent);
  color: white;
  font-size: 0.92rem;
  letter-spacing: -0.06em;
}

.brand span:last-child span {
  color: var(--primary);
}

.brand > span {
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-related {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.seo-related a {
  display: inline-flex;
}

.desktop-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  background: var(--primary-soft);
  color: var(--primary);
}

.nav-actions {
  display: flex;
  grid-column: 3;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.icon-button,
.menu-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.menu-button {
  display: none;
}

.theme-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #46b5ff);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--primary) 28%, transparent);
  color: white;
}

.btn-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
}

.btn-small {
  min-height: 42px;
  padding: 10px 15px;
  font-size: 0.9rem;
}

.btn-block {
  width: 100%;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 70px;
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: -240px;
  right: -210px;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 18%, transparent), transparent 68%);
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(36px, 7vw, 90px);
}

.hero-copy .eyebrow {
  margin-bottom: 18px;
}

.hero-copy p {
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.trust-row span::before {
  margin-right: 7px;
  color: var(--green);
  content: "✓";
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.visual-main {
  position: absolute;
  inset: 30px 16px 40px 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.visual-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-main.contain img {
  padding: 24px;
  object-fit: contain;
}

.visual-main.generated-showcase {
  background: linear-gradient(145deg, #eef5ff, #ffffff);
}

.visual-main.generated-showcase img {
  padding: 10px;
  object-fit: contain;
}

.visual-main.ai-marked img {
  position: relative;
  z-index: 1;
}

.ai-disclosure {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(6, 19, 40, 0.82);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

html[data-theme="dark"] .visual-main.generated-showcase {
  background: linear-gradient(145deg, #112346, #101827);
}

.visual-main.logo-stage {
  background: #ffffff;
}

.visual-main.logo-stage img {
  padding: clamp(34px, 7vw, 76px);
}

.browser-stage {
  display: grid;
  place-items: center;
  padding: clamp(22px, 5vw, 48px);
  background: linear-gradient(145deg, var(--primary-soft), var(--surface));
}

.browser-demo {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.browser-bar {
  display: flex;
  gap: 6px;
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.browser-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
}

.browser-body {
  padding: clamp(28px, 5vw, 58px) clamp(24px, 5vw, 52px);
}

.demo-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.browser-body strong {
  display: block;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.browser-body strong em {
  color: var(--primary);
  font-style: normal;
}

.browser-body p {
  max-width: 360px;
  margin: 18px 0 24px;
  color: var(--muted);
}

.demo-button {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 11px;
  background: var(--primary);
  color: white;
  font-size: 0.82rem;
  font-weight: 850;
}

.visual-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  font-size: 0.9rem;
  font-weight: 760;
}

.visual-card.top {
  top: 0;
  right: 0;
}

.visual-card.bottom {
  bottom: 0;
  left: 0;
}

.visual-card .mini-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  background: var(--primary-soft);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.stat {
  padding: 24px;
  text-align: center;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat strong {
  display: block;
  margin-bottom: 3px;
  font-size: 1.12rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

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

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

.card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.card.interactive {
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.card.interactive:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--primary) 45%, var(--line));
  box-shadow: var(--shadow-lg);
}

.service-icon {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.35rem;
}

.card p {
  color: var(--muted);
}

.concept-card {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(145deg, var(--surface), var(--primary-soft));
}

.concept-card h3 {
  margin: 24px 0 30px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.concept-stack {
  display: grid;
  gap: 10px;
}

.concept-stack span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  font-weight: 750;
}

.concept-stack b {
  color: var(--primary);
  font-size: 0.78rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  color: var(--primary);
  font-weight: 800;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.project-card {
  grid-column: span 6;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.project-card.featured {
  grid-column: span 7;
}

.project-card.slim {
  grid-column: span 5;
}

.project-card.full {
  grid-column: 1 / -1;
}

.project-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-2);
}

.project-media.tall {
  aspect-ratio: 1 / 0.84;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.project-media.contain img {
  padding: 16px;
  object-fit: contain;
}

.project-media.rechpro-frame {
  background: #07101f;
}

.project-media.rechpro-frame img {
  padding: clamp(22px, 4vw, 54px);
  object-fit: contain;
}

.project-card:hover .project-media.rechpro-frame img,
.project-card:hover .project-media.contain img {
  transform: none;
}

.project-card:hover .project-media img {
  transform: scale(1.025);
}

.project-body {
  padding: 22px 24px 25px;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.status-pill {
  padding: 6px 10px;
  background: color-mix(in srgb, var(--green) 13%, var(--surface));
  color: var(--green);
  font-size: 0.68rem;
}

.status-pill.dev {
  background: color-mix(in srgb, var(--orange) 14%, var(--surface));
  color: var(--orange);
}

.project-type {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  padding: 6px 10px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.68rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 8vw, 100px);
}

.feature-list,
.check-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 10px;
}

.check-list li::before {
  flex: 0 0 auto;
  color: var(--green);
  font-weight: 900;
  content: "✓";
}

.feature-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
}

.feature-row .number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 900;
}

.feature-row p {
  margin: 3px 0 0;
  color: var(--muted);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
  padding: clamp(32px, 6vw, 58px);
  border-radius: var(--radius-lg);
  background: linear-gradient(130deg, #075ddc, #46b5ff);
  box-shadow: var(--shadow-lg);
  color: white;
}

.cta-panel::after {
  position: absolute;
  top: -140px;
  right: -110px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
}

.cta-panel h2 {
  margin-top: 0;
  color: white;
}

.cta-panel p {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta-panel .btn {
  position: relative;
  z-index: 1;
  background: white;
  color: #154ab7;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 66px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(145deg, var(--bg), var(--surface-2));
}

.breadcrumbs {
  padding-block: 18px 14px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
  list-style: none;
}

.breadcrumbs li + li::before {
  margin-right: 8px;
  color: color-mix(in srgb, var(--muted) 65%, transparent);
  content: "/";
}

.breadcrumbs a {
  color: var(--primary);
}

.breadcrumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-hero .hero-grid {
  min-height: 390px;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 5vw, 5rem);
}

.page-hero .hero-visual {
  min-height: 410px;
}

.page-hero .visual-main {
  inset: 18px 0 25px 35px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.price-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 880px;
  margin-inline: auto;
}

.price-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.price-card.popular {
  border-color: var(--primary);
  box-shadow: 0 22px 58px color-mix(in srgb, var(--primary) 16%, transparent);
}

.price-card .label {
  align-self: flex-start;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card .price {
  margin: 18px 0;
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.price-card .price small {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 650;
  letter-spacing: 0;
}

.price-card .check-list {
  margin-bottom: 26px;
}

.price-card .btn {
  margin-top: auto;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.process-step {
  padding: 24px;
  border-top: 3px solid var(--primary);
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--surface);
}

.process-step span {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 900;
}

.process-step h3 {
  margin: 10px 0 8px;
}

.process-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: start;
  gap: 24px;
}

.form-card,
.summary-card,
.legal-card {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.summary-card {
  position: sticky;
  top: 100px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.field-label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.9rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  padding: 13px 14px;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.field .file-input {
  cursor: pointer;
  padding: 10px;
  background: var(--surface-2);
}

.file-input::file-selector-button {
  margin-right: 12px;
  padding: 9px 13px;
  border: 0;
  border-radius: 9px;
  background: var(--primary);
  color: #ffffff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.damage-preview {
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
}

.damage-preview[hidden] {
  display: none;
}

.damage-preview img {
  width: 88px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--surface);
}

.damage-preview strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-button {
  margin-top: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--primary);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.choice-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.choice-card {
  position: relative;
  min-height: 118px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--bg);
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.choice-card:hover {
  border-color: var(--primary);
}

.choice-card.active {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: inset 0 0 0 1px var(--primary);
}

.choice-card .choice-title {
  display: block;
  margin-bottom: 4px;
  font-weight: 850;
}

.choice-card .choice-copy {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.choice-card .choice-price {
  display: block;
  margin-top: 9px;
  color: var(--primary);
  font-weight: 900;
}

.choice-card .recommended {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 850;
}

.radio-card {
  display: grid;
  grid-template-columns: auto 1fr;
  min-height: 96px;
  align-items: start;
  gap: 10px;
}

.radio-card input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.radio-card:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-soft);
  box-shadow: inset 0 0 0 1px var(--primary);
}

.radio-card .choice-title,
.radio-card .choice-copy {
  grid-column: 2;
}

.onsite-service-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  border: 1px solid color-mix(in srgb, var(--primary) 45%, var(--line));
  border-radius: 16px;
  background: var(--primary-soft);
}

.onsite-service-card .mini-icon {
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 12px;
  background: var(--primary);
  color: #ffffff;
  font-size: 1.15rem;
}

.onsite-service-card strong {
  display: block;
  margin-bottom: 3px;
  font-size: 1.02rem;
}

.onsite-service-card p,
.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-note {
  margin-top: 10px;
  text-align: center;
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 30px 0 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.form-section-title:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.step-badge {
  display: grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 0.83rem;
  font-weight: 900;
}

.form-section-title h2 {
  margin: 0;
  font-size: 1.35rem;
}

.summary-list {
  display: grid;
  gap: 0;
  margin: 20px 0;
}

.summary-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.summary-row span {
  color: var(--muted);
}

.summary-row strong {
  text-align: right;
}

.summary-price {
  padding: 18px;
  border-radius: 15px;
  background: var(--primary-soft);
}

.summary-price small {
  display: block;
  color: var(--muted);
}

.summary-price strong {
  display: block;
  margin-top: 3px;
  color: var(--primary);
  font-size: 1.7rem;
}

.notice {
  padding: 16px 18px;
  border: 1px solid color-mix(in srgb, var(--primary) 35%, var(--line));
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--muted);
  font-size: 0.9rem;
}

.notice strong {
  color: var(--text);
}

.notice.warning {
  border-color: color-mix(in srgb, var(--orange) 45%, var(--line));
  background: color-mix(in srgb, var(--orange) 10%, var(--surface));
}

.privacy-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  margin: 22px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.privacy-check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--primary);
}

.privacy-check a,
.legal-card a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-success {
  display: none;
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--green) 12%, var(--surface));
  color: var(--green);
  font-weight: 750;
}

.form-success.show {
  display: block;
}

.statutory-warranty-section {
  background: var(--surface);
}

.statutory-warranty-notice {
  width: min(100%, 780px);
  margin: 28px auto 0;
  padding: 0;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.statutory-warranty-notice img {
  width: 100%;
  height: auto;
}

.statutory-warranty-notice figcaption {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.statutory-warranty-notice a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  align-items: start;
  gap: 32px;
}

.legal-nav {
  position: sticky;
  top: 105px;
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.legal-nav a {
  padding: 9px 10px;
  border-radius: 9px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.legal-nav a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.legal-card section + section {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.legal-card h2 {
  font-size: 1.75rem;
}

.legal-card h3 {
  margin-top: 24px;
  font-size: 1.1rem;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
}

.footer {
  margin-top: 80px;
  padding: 68px 0 24px;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.footer .footer-brand {
  padding: 0;
  background: transparent;
}

.footer-logo {
  display: block;
  width: 180px;
  height: 60px;
  object-fit: contain;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.15fr;
  gap: 36px;
}

.footer h3,
.footer h4 {
  margin: 0 0 15px;
}

.footer p,
.footer a {
  color: var(--muted);
}

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

.footer-links a:hover {
  color: var(--primary);
}

.footer-links a.footer-withdrawal-link {
  width: fit-content;
  margin-top: 6px;
  padding: 10px 13px;
  border: 1px solid var(--primary-strong);
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-weight: 800;
}

.footer-links a.footer-withdrawal-link:hover {
  background: var(--primary);
  color: #ffffff;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 5px;
}

.footer .social-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
}

.footer .social-button:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}

.footer .social-button.whatsapp::before,
.footer .social-button.instagram::before {
  width: 17px;
  height: 17px;
  margin-right: 6px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  flex: 0 0 17px;
}

.footer .social-button.whatsapp::before {
  background-image: url("../img/whatsapp.svg");
}

.footer .social-button.instagram::before {
  background-image: url("../img/instagram.svg");
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.cookie-notice {
  position: fixed;
  z-index: 300;
  right: 20px;
  bottom: 20px;
  display: none;
  width: min(440px, calc(100% - 40px));
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.cookie-notice.show {
  display: block;
}

.cookie-notice h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.cookie-notice p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 0.88rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

@media (max-width: 1020px) {
  .nav-wrap {
    display: flex;
  }

  .desktop-nav,
  .nav-actions .nav-cta {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
  }

  .menu-button {
    display: inline-grid;
  }

  .desktop-nav.open {
    position: fixed;
    inset: 78px 0 auto;
    display: grid;
    gap: 5px;
    padding: 18px 20px 24px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
  }

  .desktop-nav.open a {
    padding: 13px 14px;
  }

  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-visual {
    min-height: 480px;
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-layout {
    grid-template-columns: 1fr;
  }

  .summary-card {
    position: static;
  }

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

@media (max-width: 480px) {
  .header-logo,
  .footer-logo {
    width: 144px;
    height: 48px;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 70px 0;
  }

  .hero,
  .page-hero {
    padding: 58px 0 46px;
  }

  .hero-visual,
  .page-hero .hero-visual {
    min-height: 350px;
  }

  .visual-main,
  .page-hero .visual-main {
    inset: 20px 0 24px 14px;
  }

  .visual-card {
    padding: 10px 12px;
    font-size: 0.78rem;
  }

  .stats-strip {
    grid-template-columns: 1fr 1fr;
  }

  .stat:nth-child(3) {
    border-left: 0;
  }

  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .card-grid,
  .card-grid.three,
  .card-grid.two,
  .price-grid.two,
  .price-grid,
  .process-grid,
  .field-grid,
  .choice-grid,
  .choice-grid.four,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .project-card,
  .project-card.featured,
  .project-card.slim {
    grid-column: 1 / -1;
  }

  .project-media,
  .project-media.tall {
    aspect-ratio: 16 / 11;
  }

  .cta-panel {
    grid-template-columns: 1fr;
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-nav {
    position: static;
  }

  .footer {
    margin-top: 55px;
  }

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

  .cookie-notice {
    right: 12px;
    bottom: 12px;
    width: calc(100% - 24px);
  }
}

@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;
  }
}

/* Ergänzungen für echte Arbeitsbeispiele und kurze Wege auf Mobilgeräten. */
.photo-showcase { background: #0c2548; }
.repair-hero-photo img { object-position: center 51%; }
.flyer-showcase img { object-fit: cover; object-position: 78% center; transform: scale(1.08); }
.website-device-hero { background: #f8f7f4; }
.website-device-hero img { object-fit: cover; object-position: center 54%; }
.app-hero .hero-grid { grid-template-columns: minmax(0, 900px); }
.app-hero .hero-copy { max-width: 900px; }
.repair-gallery { width: min(100%, 1100px); margin-inline: auto; }
.repair-gallery-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.repair-gallery-card { min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.repair-gallery-card img { width: 100%; height: clamp(300px, 34vw, 430px); border-radius: calc(var(--radius) - 8px); object-fit: cover; object-position: center; }
.repair-gallery-controls { display: none; }
.repair-gallery-button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); font: inherit; font-size: 2rem; line-height: 1; cursor: pointer; }
.repair-gallery-button:hover { border-color: var(--primary); color: var(--primary); }
.repair-gallery-button:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.related-inline { margin: 0; color: var(--muted); line-height: 1.7; }
.related-inline a, .card p a { color: var(--primary); font-weight: 700; }
.form-section-title, .field, #repairGrid { scroll-margin-top: 96px; }

@media (max-width: 720px) {
  .home-hero { padding: 34px 0 0; }
  .home-hero .hero-visual, .home-hero .stats-strip { display: none; }
  .home-hero + .section { padding-top: 42px; }
  .home-hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  .choice-grid, .choice-grid.four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .choice-card { min-height: 94px; padding: 12px; }
  .choice-card .recommended { position: static; display: block; margin-bottom: 3px; }
  .repair-gallery-track { display: flex; gap: 12px; overflow-x: auto; padding: 4px 4px 14px; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .repair-gallery-track::-webkit-scrollbar { display: none; }
  .repair-gallery-card { flex: 0 0 min(78vw, 330px); scroll-snap-align: start; }
  .repair-gallery-card img { height: clamp(320px, 95vw, 400px); }
  .repair-gallery-controls { display: flex; justify-content: center; gap: 14px; margin-top: 10px; }
  .flyer-showcase img { object-position: 72% center; transform: scale(1.04); }
}

/* Klickbare Arbeitsbeispiele auf der App-Entwicklungsseite. */
.app-demo-section { scroll-margin-top: 88px; }
.app-demo-layout { display: grid; grid-template-columns: 255px minmax(0, 1fr); gap: 24px; align-items: start; }
.app-demo-nav { display: grid; gap: 12px; }
.app-demo-tab { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 92px; padding: 15px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); text-align: left; cursor: pointer; transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease; }
.app-demo-tab:hover { border-color: var(--primary); transform: translateY(-2px); }
.app-demo-tab[aria-selected="true"] { border-color: transparent; background: linear-gradient(135deg, #1265f4, #348bff); color: #fff; box-shadow: 0 16px 32px rgba(18,101,244,.18); }
.app-demo-tab > span:nth-child(2) { display: grid; min-width: 0; gap: 2px; }
.app-demo-tab strong { font-size: 1rem; line-height: 1.25; }
.app-demo-tab small { color: var(--muted); font-size: .82rem; line-height: 1.35; }
.app-demo-tab[aria-selected="true"] small { color: rgba(255,255,255,.82); }
.app-demo-tab-icon { flex: 0 0 42px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--primary-soft); color: var(--primary); font-size: 1.55rem; font-weight: 700; line-height: 1; }
.app-demo-tab[aria-selected="true"] .app-demo-tab-icon { background: #fff; color: #1265f4; }
.app-demo-tab-arrow { margin-left: auto; font-size: 1.6rem; line-height: 1; }
.app-demo-panels, .app-demo-panel { min-width: 0; }
.app-demo-panel[hidden], .klyro-demo-view[hidden] { display: none; }
.app-demo-intro { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.app-demo-intro h3 { margin: 3px 0 4px; font-size: clamp(1.45rem, 2vw, 1.85rem); line-height: 1.2; }
.app-demo-intro p { max-width: 590px; margin: 0; color: var(--muted); line-height: 1.55; }
.demo-kicker { color: var(--primary); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.demo-request-link { flex: 0 0 auto; color: var(--primary); font-size: .88rem; font-weight: 750; white-space: nowrap; }
.demo-request-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.demo-window { overflow: hidden; border: 1px solid #d6e2f5; border-radius: 24px; background: #fff; color: #0c1830; box-shadow: 0 18px 42px rgba(21,48,94,.11); }
.demo-window-bar { display: flex; align-items: center; gap: 14px; min-height: 42px; padding: 9px 18px; border-bottom: 1px solid #e2e9f4; background: #f5f8fd; color: #697895; font-size: .75rem; font-weight: 650; }
.demo-window-dots { display: inline-flex; gap: 5px; }
.demo-window-dots i { width: 8px; height: 8px; border-radius: 50%; background: #b6c8e7; }
.demo-field-note { margin: 10px 0 0; color: #71809b; font-size: .72rem; line-height: 1.45; }
.app-demo-disclaimer { max-width: 830px; margin: 21px auto 0; color: var(--muted); font-size: .82rem; line-height: 1.55; text-align: center; }

.invoice-demo-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 0; min-height: 380px; }
.invoice-demo-editor { display: grid; align-content: start; gap: 12px; padding: 24px; border-right: 1px solid #e2e9f4; }
.invoice-demo-switch { display: flex; gap: 6px; margin-bottom: 5px; padding: 4px; border-radius: 11px; background: #eef4ff; }
.invoice-demo-switch button { flex: 1; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: #65718a; font-size: .8rem; font-weight: 700; cursor: pointer; }
.invoice-demo-switch button[aria-pressed="true"] { background: #fff; color: #1265f4; box-shadow: 0 2px 8px rgba(21,48,94,.1); }
.invoice-demo-editor label { display: grid; gap: 4px; color: #4e5e79; font-size: .76rem; font-weight: 700; }
.invoice-demo-editor input { width: 100%; min-width: 0; padding: 9px 11px; border: 1px solid #d9e3f2; border-radius: 9px; background: #fff; color: #0c1830; font-size: .88rem; }
.invoice-demo-editor input:focus { border-color: #1265f4; outline: 2px solid rgba(18,101,244,.15); }
.invoice-demo-paper { display: flex; flex-direction: column; margin: 20px; padding: 25px; border: 1px solid #e2e9f4; border-radius: 12px; background: #fff; box-shadow: 0 7px 25px rgba(21,48,94,.07); }
.invoice-demo-paper-top { display: flex; justify-content: space-between; align-items: start; gap: 8px; margin-bottom: 20px; }
.invoice-demo-brand { color: #1265f4; font-size: 1.2rem; font-weight: 900; letter-spacing: -.07em; }
.invoice-demo-brand b { letter-spacing: -.04em; }
.invoice-demo-stamp { padding: 3px 6px; border: 1px solid #a7c6ff; border-radius: 5px; color: #1265f4; font-size: .65rem; font-weight: 800; letter-spacing: .1em; }
.invoice-demo-title { font-size: 1.35rem; line-height: 1.15; }
.invoice-demo-number { margin-top: 2px; color: #71809b; font-size: .74rem; }
.invoice-demo-to { display: grid; gap: 3px; margin-top: 24px; font-size: .82rem; }
.invoice-demo-to small { color: #71809b; font-size: .66rem; font-weight: 800; letter-spacing: .1em; }
.invoice-demo-line { display: flex; justify-content: space-between; gap: 12px; margin-top: 25px; padding: 11px 0; border-top: 1px solid #e2e9f4; border-bottom: 1px solid #e2e9f4; font-size: .77rem; }
.invoice-demo-total { display: flex; justify-content: space-between; gap: 12px; margin-top: 15px; color: #1265f4; font-size: .85rem; font-weight: 800; }
.invoice-demo-paper-note { margin-top: auto; padding-top: 24px; color: #8996ad; font-size: .66rem; }

.sima-demo-body { padding: 24px; }
.sima-demo-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; }
.sima-demo-heading h4 { margin: 2px 0 0; font-size: 1.5rem; line-height: 1.2; }
.sima-demo-logo { color: #4b3df0; font-size: 1.1rem; font-weight: 900; white-space: nowrap; }
.sima-demo-logo span { color: #0c1830; }
.sima-demo-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; }
.sima-demo-stats > div { display: grid; gap: 2px; padding: 12px 14px; border-radius: 12px; background: #f1f3ff; }
.sima-demo-stats small { color: #6b7294; font-size: .7rem; }
.sima-demo-stats strong { color: #3426b9; font-size: 1.45rem; line-height: 1.2; }
.sima-demo-list { display: grid; gap: 8px; }
.sima-demo-shift { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px; border: 1px solid #e2e9f4; border-radius: 12px; }
.sima-demo-day { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 9px; background: #e9edff; color: #4b3df0; font-size: .76rem; font-weight: 900; }
.sima-demo-shift > span:nth-child(2) { display: grid; gap: 2px; min-width: 0; }
.sima-demo-shift strong { font-size: .8rem; line-height: 1.2; }
.sima-demo-shift small { color: #71809b; font-size: .69rem; line-height: 1.3; }
.sima-demo-shift button { min-width: 75px; padding: 6px 10px; border: 1px solid #ffcf8c; border-radius: 8px; background: #fff8ec; color: #a15b00; font-size: .72rem; font-weight: 800; cursor: pointer; }
.sima-demo-shift button[aria-pressed="true"] { border-color: #a9e2c8; background: #ebfbf3; color: #08784c; }

.klyro-demo-body { padding: 24px; }
.klyro-demo-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.klyro-demo-heading strong { color: #1265f4; font-size: 1.3rem; letter-spacing: -.04em; }
.klyro-demo-heading span { color: #71809b; font-size: .72rem; }
.klyro-demo-nav { display: flex; flex-wrap: wrap; gap: 7px; margin: 17px 0; }
.klyro-demo-nav button { padding: 8px 11px; border: 1px solid #d9e3f2; border-radius: 9px; background: #fff; color: #4e5e79; font-size: .75rem; font-weight: 750; cursor: pointer; }
.klyro-demo-nav button[aria-pressed="true"] { border-color: #1265f4; background: #1265f4; color: #fff; }
.klyro-demo-view { min-height: 266px; }
.klyro-demo-welcome { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 173px; padding: 23px; border-radius: 18px; background: linear-gradient(135deg, #2b76f4, #1455d0); color: #fff; }
.klyro-demo-welcome small { color: #c7dcff; font-size: .68rem; font-weight: 800; letter-spacing: .1em; }
.klyro-demo-welcome h4 { margin: 6px 0 3px; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.2; }
.klyro-demo-welcome p { margin: 0; color: #dce9ff; font-size: .8rem; }
.klyro-demo-ring { flex: 0 0 80px; display: grid; place-items: center; width: 80px; height: 80px; border: 9px solid #dce9ff; border-left-color: #6fa7ff; border-radius: 50%; color: #fff; font-size: 1.25rem; font-weight: 900; }
.klyro-demo-mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 10px; }
.klyro-demo-mini-grid > div { display: grid; gap: 3px; padding: 12px; border-radius: 12px; background: #eef4ff; }
.klyro-demo-mini-grid small { color: #647895; font-size: .68rem; }
.klyro-demo-mini-grid strong { font-size: .75rem; }
.klyro-demo-prompt { margin: 0 0 12px; color: #65718a; font-size: .8rem; }
.klyro-demo-flashcard { display: grid; align-content: space-between; width: 100%; min-height: 220px; padding: 22px; border: 1px solid #b8d1ff; border-radius: 17px; background: #eef4ff; color: #0c1830; text-align: left; cursor: pointer; }
.klyro-demo-flashcard small { color: #1265f4; font-size: .68rem; font-weight: 800; letter-spacing: .1em; }
.klyro-demo-flashcard strong { font-size: 1.35rem; line-height: 1.3; }
.klyro-demo-flashcard > span { color: #65718a; font-size: .73rem; }
.klyro-demo-task { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; padding: 13px; border: 1px solid #dfe7f5; border-radius: 11px; font-size: .82rem; cursor: pointer; }
.klyro-demo-task input { width: 18px; height: 18px; accent-color: #1265f4; }
.klyro-demo-task:has(input:checked) span { color: #71809b; text-decoration: line-through; }

@media (max-width: 1000px) {
  .app-demo-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 18px; }
  .app-demo-tab { min-height: 83px; padding: 12px; }
  .app-demo-intro { align-items: start; flex-direction: column; gap: 8px; }
  .invoice-demo-layout { grid-template-columns: 1fr; }
  .invoice-demo-editor { border-right: 0; border-bottom: 1px solid #e2e9f4; }
}

@media (max-width: 720px) {
  .app-demo-layout { grid-template-columns: minmax(0, 1fr); }
  .app-demo-nav { display: flex; gap: 9px; overflow-x: auto; padding: 3px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .app-demo-nav::-webkit-scrollbar { display: none; }
  .app-demo-tab { flex: 0 0 204px; min-height: 76px; scroll-snap-align: start; }
  .app-demo-tab-icon { flex-basis: 36px; width: 36px; height: 36px; font-size: 1.35rem; }
  .app-demo-tab-arrow { display: none; }
  .app-demo-intro h3 { font-size: 1.5rem; }
  .demo-request-link { white-space: normal; }
  .invoice-demo-editor, .sima-demo-body, .klyro-demo-body { padding: 17px; }
  .invoice-demo-paper { min-height: 315px; margin: 14px; padding: 20px; }
  .sima-demo-shift { grid-template-columns: 34px minmax(0, 1fr) auto; gap: 6px; padding: 8px; }
  .sima-demo-day { width: 32px; height: 32px; font-size: .67rem; }
  .sima-demo-shift button { min-width: 62px; padding: 6px; font-size: .68rem; }
  .klyro-demo-welcome { padding: 17px; }
  .klyro-demo-ring { flex-basis: 60px; width: 60px; height: 60px; border-width: 7px; font-size: 1rem; }
}

@media (max-width: 1020px) {
  .home-hero .hero-visual,
  .home-hero .stats-strip { display: none; }
}

/* Kurze Reparaturanfrage */
.btn-whatsapp,
.footer .social-button.whatsapp {
  border-color: #14803d;
  background: #14803d;
  color: #fff;
  box-shadow: 0 10px 24px rgba(20, 128, 61, .22);
}
.btn-whatsapp:hover,
.footer .social-button.whatsapp:hover {
  border-color: #116b36;
  background: #116b36;
  color: #fff;
}
.repair-request-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, .8fr); gap: 24px; align-items: stretch; }
.repair-request-form { min-width: 0; }
.repair-request-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.repair-request-actions .btn { flex: 1 1 205px; }
.repair-request-form .form-note { margin-bottom: 0; }
.repair-request-form .form-note a { color: var(--primary); text-decoration: underline; }
.repair-request-aside { padding: clamp(24px, 4vw, 36px); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, var(--surface), var(--primary-soft)); box-shadow: var(--shadow-sm); }
.repair-request-aside h3 { margin: 16px 0; font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.2; }
.repair-request-aside p { color: var(--muted); }
.repair-request-aside p strong { color: var(--text); }
.repair-contact-line { display: flex; flex-direction: column; gap: 1px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.repair-contact-line span { color: var(--muted); font-size: .85rem; }
.repair-contact-line a { color: var(--primary); font-weight: 800; overflow-wrap: anywhere; }

/* Gleichberechtigte, leicht glänzende Markenkarten */
.scroll-anchor { display: block; position: relative; top: -105px; visibility: hidden; }
.brand-price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.brand-price-card { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, color-mix(in srgb, var(--primary) 7%, var(--surface)), var(--surface) 42%); box-shadow: var(--shadow-sm); }
.brand-price-card::before { position: absolute; top: -80px; right: -55px; width: 220px; height: 170px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--sky) 14%, transparent), transparent 68%); content: ""; pointer-events: none; }
.brand-price-head { position: relative; min-height: 110px; }
.brand-price-kicker { color: var(--primary); font-size: .71rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.brand-price-card h3 { margin: 9px 0 4px; font-size: 1.25rem; line-height: 1.2; }
.brand-price-head p { margin: 0; color: var(--muted); font-size: .88rem; }
.brand-price-card ul { position: relative; display: grid; gap: 0; margin: auto 0 0; padding: 0; list-style: none; }
.brand-price-card li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: .94rem; }
.brand-price-card li strong { flex: 0 0 auto; color: var(--primary); white-space: nowrap; }
.repair-price-disclaimer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 24px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.repair-price-disclaimer p { max-width: 800px; margin: 0; color: var(--muted); }
.accessory-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.accessory-card { display: flex; align-items: flex-start; gap: 18px; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); }
.accessory-symbol { display: grid; width: 50px; height: 50px; flex: 0 0 50px; place-items: center; border-radius: 14px; background: var(--primary-soft); color: var(--primary); font-size: 1.35rem; }
.accessory-card h3 { margin: 0 0 3px; }
.accessory-card p { margin: 0; color: var(--muted); }
.accessory-card > strong { margin-left: auto; color: var(--primary); white-space: nowrap; font-size: 1.12rem; }
.accessory-note { max-width: 820px; margin: 22px auto 0; color: var(--muted); text-align: center; font-size: .92rem; }

/* Flyer: gleiche Ober- und Unterkante, Klick führt durch alle drei Motive */
.flyer-tile-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.flyer-tile { display: flex; min-width: 0; height: 100%; flex-direction: column; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); text-align: left; cursor: pointer; transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease; }
.flyer-tile:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: var(--shadow-lg); }
.flyer-tile:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.flyer-tile-art { display: grid; width: 100%; height: clamp(330px, 37vw, 425px); flex: 0 0 auto; place-items: center; overflow: hidden; border-radius: calc(var(--radius) - 8px); background: linear-gradient(145deg, #f5f9ff, #dfeeff); }
.flyer-tile-art img { width: 100%; height: 100%; object-fit: contain; }
.flyer-tile--first .flyer-tile-art img { object-fit: cover; object-position: 82% center; }
.flyer-tile-caption { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 14px; min-height: 78px; padding: 13px 10px 5px; }
.flyer-tile-caption > span:first-child { display: grid; gap: 1px; }
.flyer-tile-caption strong { font-size: 1rem; }
.flyer-tile-caption small { color: var(--muted); font-size: .82rem; }
.flyer-tile-arrow { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; border-radius: 10px; background: var(--primary-soft); color: var(--primary); font-weight: 800; }
.flyer-dialog { width: min(94vw, 880px); max-width: none; max-height: 92vh; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: 0 30px 90px rgba(0, 0, 0, .3); }
.flyer-dialog::backdrop { background: rgba(5, 13, 30, .8); backdrop-filter: blur(6px); }
.flyer-dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 13px 18px; }
.flyer-dialog-bar > div { display: flex; align-items: baseline; gap: 12px; }
.flyer-dialog-bar span { color: var(--muted); font-size: .85rem; }
.flyer-dialog-close { display: grid; width: 38px; height: 38px; place-items: center; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); color: var(--text); font: inherit; font-size: 1.6rem; cursor: pointer; }
.flyer-dialog-stage { display: grid; height: min(68vh, 700px); place-items: center; overflow: hidden; background: linear-gradient(145deg, #f5f9ff, #dfeeff); }
.flyer-dialog-stage img { width: 100%; height: 100%; object-fit: contain; }
.flyer-dialog-controls { display: flex; justify-content: space-between; gap: 12px; padding: 12px 18px; }
.flyer-dialog-controls button { min-height: 42px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.flyer-dialog-controls button:hover, .flyer-dialog-close:hover { border-color: var(--primary); color: var(--primary); }
@media (max-width: 900px) { .repair-request-layout { grid-template-columns: 1fr; } .brand-price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .flyer-tile-grid { grid-template-columns: 1fr; } .flyer-tile-art { height: min(108vw, 490px); } .flyer-tile--first .flyer-tile-art { height: 335px; } .accessory-grid { grid-template-columns: 1fr; } .flyer-dialog-stage { height: 67vh; } }
@media (max-width: 570px) { .brand-price-grid { grid-template-columns: 1fr; } .brand-price-head { min-height: 0; margin-bottom: 17px; } .repair-request-actions .btn { flex-basis: 100%; } .accessory-card { flex-wrap: wrap; } .accessory-card > strong { margin-left: 68px; } }

/* Vom Betreiber bereitgestellte Werbe- und Webdesign-Beispiele. */
.page-hero .flyer-showcase {
  inset: 18px 0 25px;
  border-color: #c7def7;
  background: linear-gradient(145deg, #f0f8ff 0%, #dceeff 100%);
}
.flyer-showcase img {
  object-fit: cover;
  object-position: right center;
  transform: none;
}
.flyer-tile:not(.flyer-tile--first) .flyer-tile-art img {
  object-fit: contain;
  object-position: center;
  transform: translate(-2.3%, -3.2%);
  transform-origin: center;
}
.flyer-tile:not(.flyer-tile--first) .flyer-tile-art { box-sizing: border-box; padding: 12px 14px; }
.flyer-dialog-stage img.flyer-dialog-portrait { object-fit: contain; transform: translate(-2.3%, -3.2%); }
.footer .social-button.whatsapp {
  border-color: var(--line);
  background: var(--surface-2);
  color: var(--text);
  box-shadow: none;
}
.footer .social-button.whatsapp:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}
.project-showcase-section { scroll-margin-top: 90px; }
.project-showcase-grid {
  display: grid;
  width: min(100%, 1050px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-inline: auto;
}
.project-shot {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.project-shot:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow-lg); }
.project-shot:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.project-shot-art { display: block; width: 100%; aspect-ratio: 4 / 5; overflow: hidden; border-radius: calc(var(--radius) - 8px); background: #f8f7f4; }
.project-shot-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.project-shot-caption { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 76px; padding: 13px 10px 5px; }
.project-shot-caption > span:first-child { display: grid; gap: 1px; }
.project-shot-caption strong { font-size: 1rem; }
.project-shot-caption small { color: var(--muted); font-size: .82rem; }
.project-showcase-link { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 25px; color: var(--muted); }
.project-showcase-link strong { color: var(--text); }
@media (max-width: 720px) {
  .page-hero .flyer-showcase { inset: 14px 0 22px; }
  .flyer-showcase img { object-position: right center; transform: none; }
  .flyer-tile:not(.flyer-tile--first) .flyer-tile-art img { transform: translate(-2.3%, -3.2%); }
  .project-showcase-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* Projektgalerie: pro Projekt ein Einblick zur Zeit, mit Platz für weitere Projekte. */
.project-gallery-card {
  width: min(100%, 860px);
  margin-inline: auto;
  padding: clamp(16px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.project-gallery-heading { display: flex; align-items: start; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.project-gallery-heading h3 { margin: 5px 0 4px; font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
.project-gallery-heading p { margin: 0; color: var(--muted); }
.project-gallery-tag { padding: 7px 11px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: .78rem; font-weight: 800; }
.project-carousel-viewport { display: grid; height: clamp(430px, 55vw, 640px); place-items: center; overflow: hidden; padding: 18px; border-radius: var(--radius); background: linear-gradient(145deg, #f1f8ff, #dfedff); }
.project-carousel-slide { display: grid; width: 100%; height: 100%; place-items: center; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.project-carousel-slide[hidden] { display: none; }
.project-carousel-slide:focus-visible { outline: 3px solid var(--primary); outline-offset: -3px; }
.project-carousel-slide img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.project-carousel-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 20px; }
.project-carousel-status { display: grid; gap: 1px; }
.project-carousel-status strong { font-size: 1.08rem; }
.project-carousel-status span { color: var(--muted); font-size: .84rem; }
.project-carousel-controls { display: flex; flex-wrap: wrap; gap: 9px; }
.project-carousel-controls button { min-height: 42px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.project-carousel-controls button:hover { border-color: var(--primary); color: var(--primary); }
.project-carousel-controls button:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
@media (max-width: 720px) {
  .project-carousel-viewport { height: min(120vw, 520px); min-height: 365px; padding: 14px; }
  .project-gallery-heading { align-items: start; }
  .project-carousel-toolbar { align-items: start; }
  .project-carousel-controls { width: 100%; justify-content: space-between; }
}

/* Bilder strikt im Rahmen halten: intrinsische Rastergrößen dürfen ihn nicht aufziehen. */
.project-gallery-card { width: min(100%, 720px); }
.project-carousel-viewport,
.flyer-dialog-stage {
  position: relative;
  display: block;
  padding: 0;
}
.project-carousel-slide {
  position: absolute;
  inset: 18px;
  display: block;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
.project-carousel-slide[hidden] { display: none; }
.project-carousel-slide img,
.flyer-dialog-stage img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
}
@media (max-width: 720px) {
  .project-carousel-slide { inset: 14px; }
}

/* Dezentes Cremeweiß hebt die Webdesign-Mockups vom weißen Seitenhintergrund ab. */
.website-device-hero,
.project-showcase-section .project-carousel-viewport,
.project-showcase-section .flyer-dialog-stage {
  background: #f8f7f4;
}

/* Startseite: echte Arbeitsbeispiele und eine ruhigere, redaktionelle Gestaltung. */
.home-hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.home-hero::before { display: none; }
.home-hero .hero-grid { grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr); gap: clamp(34px, 5vw, 70px); }
.home-hero h1 { max-width: 760px; font-size: clamp(2.9rem, 5.4vw, 5.5rem); line-height: 1.04; letter-spacing: -.055em; }
.home-hero h1 span { color: var(--primary); }
.home-hero .lead { max-width: 620px; }
.home-personal-note { margin: 25px 0 0 !important; color: var(--muted); font-size: .9rem; }
.home-hero-photo { min-width: 0; height: min(590px, 48vw); margin: 0; overflow: hidden; border-radius: 12px; background: #111; }
.home-hero-photo img { width: 100%; height: calc(100% - 75px); object-fit: cover; object-position: center 44%; }
.home-hero-photo figcaption { display: grid; gap: 2px; min-height: 75px; padding: 12px 18px; background: #111a2a; color: #fff; }
.home-hero-photo figcaption span { color: #9eb6d8; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.home-hero-photo figcaption strong { font-size: 1rem; font-weight: 700; }
.home-services .section-heading, .home-work .section-heading { max-width: 760px; }
.home-services .section-heading h2, .home-work h2 { max-width: 800px; line-height: 1.12; }
.home-services .card { display: flex; min-height: 270px; flex-direction: column; border-radius: 12px; box-shadow: none; }
.home-services .card.interactive:hover { transform: none; box-shadow: var(--shadow-sm); }
.home-services .card h3 { margin: 25px 0 10px; }
.home-services .card p { margin: 0 0 15px; }
.home-services .card-link { margin-top: auto; }
.service-index { color: var(--primary); font-size: .76rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.home-work { border-top: 1px solid var(--line); background: var(--surface); }
.home-work-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 36px; }
.home-work-heading p { margin: 14px 0 0; }
.home-work-all { flex: 0 0 auto; padding-bottom: 6px; border-bottom: 1px solid var(--primary); color: var(--primary); font-weight: 750; }
.home-work-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 290px)); gap: 18px; }
.home-work-item { display: flex; min-width: 0; min-height: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color 160ms ease; }
.home-work-item:hover { border-color: var(--primary); }
.home-work-item--repair { grid-row: span 2; }
.home-work-image { display: block; min-width: 0; min-height: 0; flex: 1 1 auto; overflow: hidden; background: #f8f7f4; }
.home-work-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-work-item--repair img { object-position: center 47%; }
.home-work-item--web img { object-fit: cover; object-position: center 48%; }
.home-work-item--print .home-work-image { background: #eaf2ff; }
.home-work-item--print img { object-fit: contain; }
.home-work-caption { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; min-height: 74px; padding: 12px 17px; }
.home-work-caption small { grid-column: 1 / 2; color: var(--muted); font-size: .74rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.home-work-caption strong { grid-column: 1 / 2; font-size: 1.08rem; line-height: 1.25; }
.home-work-caption > span { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--primary); font-size: 1.3rem; }
@media (max-width: 1020px) {
  .home-hero .hero-grid { grid-template-columns: 1fr; }
  .home-hero-photo { width: min(100%, 720px); height: 500px; }
}
@media (max-width: 720px) {
  .home-hero h1 { font-size: clamp(2.65rem, 10vw, 4.4rem); }
  .home-hero-photo { height: 420px; }
  .home-work-heading { display: block; }
  .home-work-all { display: inline-block; margin-top: 18px; }
  .home-work-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .home-work-item--repair { grid-row: auto; }
  .home-work-image { flex: none; height: 260px; }
  .home-work-item--repair .home-work-image { height: 320px; }
}

/* v12: calm typography, real work samples and direct navigation */
:root {
  --bg: #f7f9fc;
  --surface-2: #f0f4fa;
  --line: #d9e2ed;
  --primary: #075fd5;
  --primary-strong: #064ca9;
  --primary-soft: #e8f1fc;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 5px 18px rgba(16, 42, 79, .045);
  --shadow-lg: 0 16px 42px rgba(16, 42, 79, .12);
}
html[data-theme="dark"] {
  --bg: #0b1220;
  --surface-2: #162239;
  --line: #2b3a50;
  --primary: #75aaff;
  --primary-strong: #9bc2ff;
  --primary-soft: #1a3050;
}
h1 { font-size: clamp(2.45rem, 4.7vw, 4.15rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.65rem); letter-spacing: -.035em; }
.lead { font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.62; }
.section { padding: 76px 0; }
.section.compact { padding: 54px 0; }
.gradient-text { background: none; color: var(--primary); -webkit-text-fill-color: var(--primary); }
.eyebrow { padding: 0; border-radius: 0; background: transparent; font-size: .73rem; letter-spacing: .085em; }
.eyebrow::before { width: 14px; height: 2px; border-radius: 0; }
.btn-primary { background: var(--primary); box-shadow: none; }
.btn-primary:hover { background: var(--primary-strong); }
.btn:hover { transform: none; }
.card, .price-card, .process-step { box-shadow: none; }
.card.interactive:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.page-hero { padding: 62px 0 54px; background: var(--surface); }
.page-hero .hero-grid { min-height: 330px; }
.page-hero h1 { font-size: clamp(2.25rem, 4vw, 3.85rem); }
.page-hero .hero-visual { min-height: 340px; }
.page-hero .visual-main { inset: 12px 0 18px 25px; }
.hero-actions { align-items: center; gap: 10px 12px; }
.hero-text-link, .home-reference-link {
  display: inline-flex;
  min-height: 45px;
  align-items: center;
  gap: 7px;
  padding: 8px 3px;
  color: var(--primary);
  font-size: .94rem;
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.hero-text-link:hover, .home-reference-link:hover { color: var(--text); }

.header-instagram, .header-phone {
  display: inline-grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--primary);
  transition: border-color .2s ease, background .2s ease;
}
.header-instagram::before {
  display: block;
  width: 21px;
  height: 21px;
  background: url("../img/instagram.svg") center / contain no-repeat;
  content: "";
}
.header-instagram:hover, .header-phone:hover,
.header-instagram:focus-visible, .header-phone:focus-visible {
  border-color: var(--primary);
  background: var(--primary-soft);
}
.nav-actions { gap: 8px; }

.home-hero { padding: 58px 0 62px; background: var(--surface); }
.home-hero::before { display: none; }
.home-hero .hero-grid { grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr); gap: clamp(28px, 4vw, 54px); }
.home-kicker, .home-section-label {
  display: block;
  margin: 0 0 16px !important;
  color: var(--primary);
  font-size: .75rem;
  font-weight: 830;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.home-hero h1 { max-width: 700px; margin-bottom: 20px; font-size: clamp(2.65rem, 4.25vw, 4.05rem); line-height: 1.08; letter-spacing: -.045em; }
.home-hero h1 span { color: var(--primary); }
.home-hero .lead { max-width: 580px; margin-bottom: 24px; }
.home-personal-note { margin: 20px 0 0 !important; color: var(--muted); font-size: .87rem; }
.home-hero-photo { min-width: 0; height: min(410px, 36vw); margin: 0; overflow: hidden; border-radius: 12px; background: #162039; }
.home-hero-photo img { width: 100%; height: calc(100% - 56px); object-fit: cover; object-position: center 47%; }
.home-hero-photo figcaption { display: grid; gap: 1px; min-height: 56px; padding: 8px 15px; background: #102343; color: white; }
.home-hero-photo figcaption span { color: #aac5f5; font-size: .65rem; font-weight: 780; letter-spacing: .09em; text-transform: uppercase; }
.home-hero-photo figcaption strong { font-size: .88rem; font-weight: 650; }

.home-work { border-top: 1px solid var(--line); background: var(--bg); }
.home-work-heading { display: block; margin-bottom: 28px; }
.home-work-heading h2 { margin: 0 0 8px; }
.home-work-heading p { margin: 0; }
.home-work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto; gap: 16px; }
.home-work-item { display: flex; min-width: 0; min-height: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .2s ease, transform .2s ease; }
.home-work-item:hover { border-color: var(--primary); transform: translateY(-2px); }
.home-work-item--repair { grid-row: auto; }
.home-work-image { display: block; min-width: 0; height: 290px; flex: none; overflow: hidden; background: #f1f3f7; }
.home-work-image > img { width: 100%; height: 100%; object-fit: cover; }
.home-work-item--repair img { object-position: center 48%; }
.home-work-item--web .home-work-image { background: #f8f7f4; }
.home-work-item--web img { object-fit: contain; object-position: center; }
.home-work-caption { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; min-height: 70px; padding: 12px 17px; }
.home-work-caption small { grid-column: 1; color: var(--muted); font-size: .72rem; font-weight: 780; letter-spacing: .055em; text-transform: uppercase; }
.home-work-caption strong { grid-column: 1; font-size: 1.06rem; font-weight: 760; }
.home-work-caption > span { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--primary); font-size: 1.25rem; }
.home-work-item--print { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(230px, .65fr); min-height: 292px; }
.home-work-item--print .home-work-caption { align-content: center; padding: 25px; }
.home-flyer-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; height: 100%; min-height: 290px; padding: 16px; background: #eaf1fb; }
.home-flyer-sheet { display: grid; min-width: 0; min-height: 0; place-items: center; overflow: hidden; border: 1px solid #d7e2f0; border-radius: 5px; background: #fff; }
.home-flyer-sheet img { width: 100%; height: 100%; object-fit: contain; }
.home-flyer-sheet:first-child img { object-fit: cover; object-position: 82% center; }
.home-services { background: var(--surface); }
.home-services .section-heading { margin-bottom: 28px; }
.home-services .section-heading h2 { margin-bottom: 6px; }
.home-services .card { min-height: 220px; padding: 22px; border-radius: 12px; box-shadow: none; }
.home-services .card h3 { margin: 17px 0 9px; font-size: 1.16rem; }
.home-services .card p { margin: 0 0 16px; font-size: .92rem; line-height: 1.55; }
.home-services .card-link { margin-top: auto; }
.service-index { color: var(--primary); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.website-device-hero { background: #f8f7f4; }
.website-device-hero img { object-fit: contain; object-position: center; }
.project-hero-caption { position: absolute; right: 12px; bottom: 12px; padding: 7px 10px; border-radius: 6px; background: #102343; color: #fff; font-size: .73rem; font-weight: 700; }

@media (max-width: 1220px) {
  .nav-wrap { display: flex; }
  .desktop-nav, .nav-actions .nav-cta { display: none; }
  .nav-actions { margin-left: auto; }
  .menu-button { display: inline-grid; }
  .desktop-nav.open { position: fixed; inset: 78px 0 auto; display: grid; gap: 5px; padding: 18px 20px 24px; border-bottom: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-lg); }
  .desktop-nav.open a { padding: 13px 14px; }
}
@media (max-width: 1020px) {
  .home-hero .hero-grid { grid-template-columns: 1fr; }
  .home-hero-photo { width: min(100%, 700px); height: 340px; }
}
@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .section.compact { padding: 44px 0; }
  .page-hero { padding: 44px 0 42px; }
  .page-hero h1 { font-size: clamp(2rem, 7.6vw, 2.8rem); }
  .home-hero { padding: 38px 0 48px; }
  .home-hero h1 { font-size: clamp(2.2rem, 8.1vw, 3.25rem); }
  .home-hero-photo { width: 100%; height: 285px; }
  .home-work-grid { grid-template-columns: 1fr; }
  .home-work-image { height: 230px; }
  .home-work-item--print { grid-column: auto; display: flex; flex-direction: column; min-height: 0; }
  .home-flyer-gallery { height: 225px; min-height: 0; padding: 8px; gap: 6px; }
  .home-work-item--print .home-work-caption { padding: 12px 17px; }
  .home-services .card { min-height: 0; }
  .nav-wrap { gap: 8px; }
  .header-logo { width: 130px; height: 47px; }
  .nav-actions { gap: 5px; }
  .header-instagram, .header-phone, .icon-button, .menu-button { width: 38px; height: 38px; flex-basis: 38px; border-radius: 10px; }
}
@media (max-width: 350px) {
  .header-logo { width: 104px; height: 39px; }
  .nav-actions { gap: 4px; }
  .header-instagram, .header-phone, .icon-button, .menu-button { width: 34px; height: 34px; flex-basis: 34px; }
  .header-instagram::before { width: 18px; height: 18px; }
  .header-phone svg { width: 18px; height: 18px; }
}
/* Let the project itself fill its portfolio thumbnail. */
.home-work-item--web img { object-fit: cover; object-position: center 23%; }

@media (min-width: 1221px) {
  .nav-wrap { grid-template-columns: 180px minmax(0, 1fr) auto; gap: 16px; }
  .desktop-nav { gap: 3px; }
  .desktop-nav a { padding-inline: 8px; font-size: .88rem; }
}
.home-hero h1 { font-size: clamp(2.55rem, 3.45vw, 3.3rem); }
.page-hero h1 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
@media (max-width: 720px) {
  .home-hero h1 { font-size: clamp(2.08rem, 7.2vw, 2.7rem); }
  .page-hero h1 { font-size: clamp(2rem, 7.4vw, 2.55rem); }
}

/* v13: centered brand mark returns to the homepage. */
.home-hero-logo { display: grid; width: 100%; height: 350px; place-items: center; margin: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.home-hero-logo img { display: block; width: min(62%, 275px); height: auto; object-fit: contain; }
html[data-theme="dark"] .home-hero-logo { background: #fff; }
@media (max-width: 1020px) { .home-hero-logo { display: none; } }

/* Keep the complete flyer series in the dedicated gallery; preview the group image here. */
.home-flyer-preview { display: grid; place-items: center; overflow: hidden; background: #eaf1fb; }
.home-flyer-preview img { display: block; width: 100%; height: 100%; object-fit: contain; transform: translateX(-12%); }
@media (max-width: 720px) { .home-flyer-preview img { transform: translateX(-18%); } }

/* Four equally sized work previews. Keep the complete portrait and flyer images visible. */
.home-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
.home-work-item--print { grid-column: auto; display: flex; flex-direction: column; min-height: 0; }
.home-work-image,
.home-work-item--print .home-work-image { display: grid; place-items: center; width: 100%; height: 360px; min-height: 0; flex: none; }
.home-work-item--print .home-work-caption { align-content: initial; min-height: 70px; padding: 12px 17px; }
.home-work-item--web .home-work-image { background: #f8f7f4; }
.home-work-item--web .home-work-image img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; transform: none; }
.home-work-item--display .home-work-image { background: #eaf1fb; }
.home-work-item--display .home-work-image img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.home-flyer-preview { padding: 14px 0; background: #eaf1fb; }
.home-flyer-preview img { width: 100%; height: 100%; object-fit: contain; object-position: center; transform: translateX(-18%); }

@media (max-width: 720px) {
  .home-work-grid { grid-template-columns: 1fr; }
  .home-work-image,
  .home-work-item--repair .home-work-image,
  .home-work-item--print .home-work-image { height: 260px; }
  .home-flyer-preview img { transform: translateX(-18%); }
}

/* A fixed image frame prevents portrait previews from growing beyond their cards. */
.home-work-image,
.home-work-item--print .home-work-image { position: relative; display: block; }
.home-work-image > img,
.home-work-item--web .home-work-image img,
.home-work-item--display .home-work-image img,
.home-flyer-preview img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-position: center;
}
.home-work-item--repair .home-work-image img { object-fit: cover; object-position: center 48%; }
.home-work-item--web .home-work-image img { object-fit: contain; }
.home-work-item--display .home-work-image img { object-fit: contain; }
.home-flyer-preview img { inset: 14px 0; height: calc(100% - 28px); object-fit: contain; transform: translateX(-18%); }

/* Direct WhatsApp contact in every page header. */
.site-header .nav-wrap { width: min(calc(100% - 40px), 1460px); }
.header-whatsapp {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid #087f3f;
  border-radius: 12px;
  background: #087f3f;
  color: #fff;
  font-size: .8rem;
  font-weight: 750;
  line-height: 1.25;
  white-space: nowrap;
}
.header-whatsapp::before {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  background: url("../img/whatsapp.svg") center / contain no-repeat;
  filter: brightness(0) invert(1);
  content: "";
}
.header-whatsapp:hover { border-color: #066b35; background: #066b35; color: #fff; }
.header-whatsapp:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }

@media (max-width: 1439px) {
  .nav-wrap { display: flex; }
  .desktop-nav, .nav-actions .nav-cta { display: none; }
  .nav-actions { margin-left: auto; }
  .menu-button { display: inline-grid; }
  .desktop-nav.open { position: fixed; inset: 78px 0 auto; display: grid; gap: 5px; padding: 18px 20px 24px; border-bottom: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-lg); }
  .desktop-nav.open a { padding: 13px 14px; }
}
@media (max-width: 720px) {
  .site-header .nav-wrap { width: min(calc(100% - 28px), 1460px); }
  .header-whatsapp { width: 38px; min-height: 38px; height: 38px; flex-basis: 38px; padding: 0; border-radius: 10px; }
  .header-whatsapp span { display: none; }
}
@media (max-width: 380px) {
  .header-logo { width: 104px; height: 39px; }
  .nav-actions { gap: 4px; }
  .header-whatsapp, .header-instagram, .header-phone, .icon-button, .menu-button { width: 34px; min-height: 34px; height: 34px; flex-basis: 34px; }
}
@media (max-width: 350px) { .header-logo { width: 92px; } }


/* The new app example leads the homepage work gallery. */
.home-work-item--app { grid-column: 1 / -1; }
.home-work-item--app .home-work-image { background: #eaf1fb; }
.home-work-item--app .home-work-image img { object-fit: contain; object-position: center; }
.review-demo-frame { display: block; width: 100%; height: 900px; min-height: 480px; border: 0; background: #f4f7fd; }
@media (max-width: 720px) { .home-work-item--app .home-work-image { height: 230px; } }


/* Real project photo beside the app introduction. */
.app-hero .hero-grid {
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 5vw, 64px);
}
.app-work-photo {
  width: 100%;
  max-width: 440px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #eaf1fb;
  justify-self: center;
}
.app-work-photo img {
  display: block;
  width: 100%;
  height: clamp(340px, 36vw, 450px);
  max-height: none;
  border-radius: calc(var(--radius) - 8px);
  object-fit: contain;
  object-position: center;
}


/* A project can be explored and requested from the same homepage card. */
.home-work-open { display: block; min-width: 0; color: inherit; }
.home-work-open:focus-visible { outline: 3px solid var(--primary); outline-offset: -3px; }
.home-work-actions { display: flex; justify-content: flex-end; margin-top: auto; padding: 0 17px 17px; }

/* Each repair case contains its device and workbench photos. */
.repair-pairs { display: grid; gap: 24px; width: min(100%, 1100px); margin-inline: auto; }
.repair-pair { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.repair-pair-heading { padding: 18px 22px; }
.repair-pair-heading h3 { margin: 0; font-size: 1.16rem; line-height: 1.35; }
.repair-pair-track { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.repair-pair-track:focus-visible { outline: 3px solid var(--primary); outline-offset: -3px; }
.repair-pair-photo { min-width: 0; margin: 0; padding: 18px 20px 14px; background: #eaf1fb; }
.repair-pair-photo img { display: block; width: 100%; height: 350px; max-height: none; border-radius: 10px; object-fit: contain; object-position: center; }

.repair-pair-controls { display: none; }
.repair-pair-controls button { min-height: 42px; padding: 9px 20px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--muted); font: inherit; font-size: .88rem; font-weight: 700; cursor: pointer; }
.repair-pair-controls button[aria-pressed="true"] { border-color: var(--primary); background: var(--primary); color: #fff; }
.repair-pair-controls button:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
@media (max-width: 1020px) {
  .app-hero .hero-grid { grid-template-columns: 1fr; }
  .app-work-photo { max-width: 520px; }
  .app-work-photo img { height: 420px; }
  .app-hero .hero-copy { max-width: 760px; }
}
@media (max-width: 720px) {
  .app-work-photo { padding: 10px; }
  .app-work-photo img { height: clamp(300px, 90vw, 410px); }
  .home-work-actions { justify-content: flex-start; }
  .repair-pairs { gap: 20px; }
  .repair-pair-heading { padding: 16px 18px; }
  .repair-pair-track { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .repair-pair-track::-webkit-scrollbar { display: none; }
  .repair-pair-photo { flex: 0 0 100%; scroll-snap-align: start; padding: 14px; }
  .repair-pair-photo img { height: clamp(280px, 85vw, 390px); }
  
  .repair-pair-controls { display: flex; justify-content: center; gap: 10px; padding: 14px; }
}

/* A direct return to the request form from every repair example. */
.repair-pair-actions { display: flex; justify-content: flex-end; padding: 10px 20px; border-top: 1px solid var(--line); }
.repair-pair-actions .card-link { display: inline-flex; min-height: 40px; align-items: center; gap: 8px; margin-top: 0; font-size: .88rem; }


/* Clear image and content areas, with the round preview arrow from the reference. */
.home-work-item { border-radius: 16px; }
.home-work-caption {
  min-height: 108px;
  padding: 22px 24px 18px;
  gap: 8px 18px;
  border-top: 1px solid var(--line);
}
.home-work-caption small {
  color: var(--primary);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .08em;
}
.home-work-caption strong {
  font-size: clamp(1.12rem, 1.7vw, 1.35rem);
  line-height: 1.35;
}
.home-work-caption > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--primary);
  border-radius: 50%;
  color: var(--primary);
  font-size: 1.5rem;
  line-height: 1;
}
.home-work-open:hover .home-work-caption > span,
.home-work-open:focus-visible .home-work-caption > span { background: var(--primary-soft); }
.home-work-actions { justify-content: flex-start; padding: 0 24px 22px; }
.home-work-item--print .home-work-caption { min-height: 108px; padding: 22px 24px 18px; }
.repair-pair-photo { padding: 18px 20px; }
@media (max-width: 720px) {
  .home-work-caption,
  .home-work-item--print .home-work-caption { min-height: 100px; padding: 18px 18px 16px; gap: 6px 12px; }
  .home-work-caption small { font-size: .67rem; letter-spacing: .055em; }
  .home-work-caption strong { font-size: 1.12rem; }
  .home-work-caption > span { width: 40px; height: 40px; font-size: 1.35rem; }
  .home-work-actions { padding: 0 18px 18px; }
  .repair-pair-photo { padding: 14px; }
}


/* Image frames use the actual image proportions, without empty padding. */
.home-work-grid { align-items: start; }
.home-work-image,
.home-work-item--repair .home-work-image,
.home-work-item--web .home-work-image,
.home-work-item--display .home-work-image,
.home-work-item--app .home-work-image {
  display: block;
  height: auto;
  min-height: 0;
  background: transparent;
}
.home-work-image > img,
.home-work-item--repair .home-work-image img,
.home-work-item--web .home-work-image img,
.home-work-item--display .home-work-image img,
.home-work-item--app .home-work-image img {
  position: static;
  inset: auto;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  object-fit: initial;
  transform: none;
}
.home-work-caption,
.home-work-item--print .home-work-caption { min-height: 0; padding: 16px 18px; gap: 5px 12px; }
.home-work-caption strong { font-size: 1.12rem; }
.home-work-caption > span { width: 38px; height: 38px; font-size: 1.3rem; }
.home-work-actions { margin-top: 0; padding: 0 18px 16px; }
.app-work-photo { max-width: 360px; padding: 0; overflow: hidden; background: transparent; }
.app-work-photo img { height: auto; border-radius: 0; object-fit: initial; }
.project-carousel-viewport { width: min(100%, 420px); height: auto; min-height: 0; margin-inline: auto; padding: 0; background: transparent; }
.project-carousel-slide { position: static; inset: auto; display: block; width: 100%; height: auto; }
.project-carousel-slide[hidden] { display: none; }
.project-carousel-slide img { position: static; inset: auto; width: 100%; height: auto; object-fit: initial; }

/* Compact photo posts: native swipe plus one arrow inside the image. */
.repair-pairs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); align-items: start; gap: 20px; }
.repair-pair-heading { padding: 13px 16px; }
.repair-pair-heading h3 { font-size: 1rem; }
.repair-pair-media { position: relative; }
.repair-pair-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  height: auto;
  aspect-ratio: var(--repair-ratio);
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0;
  background: transparent;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.repair-pair-track::-webkit-scrollbar { display: none; }
.repair-pair-photo { flex: 0 0 100%; min-width: 0; margin: 0; padding: 0; background: transparent; scroll-snap-align: start; }
.repair-pair-photo img { width: 100%; height: auto; max-height: none; border-radius: 0; object-fit: initial; }
.repair-pair-next {
  position: absolute;
  top: 50%;
  right: 10px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 50%;
  background: rgba(10, 28, 53, .82);
  color: #fff;
  cursor: pointer;
}
.repair-pair-next:hover { background: #102748; }
.repair-pair-next:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.repair-pair-dots { position: absolute; left: 50%; bottom: 10px; display: flex; gap: 6px; padding: 6px 8px; transform: translateX(-50%); border-radius: 20px; background: rgba(10, 28, 53, .5); pointer-events: none; }
.repair-pair-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .4); }
.repair-pair-dots i.is-active { background: #fff; }
.repair-pair-actions { padding: 7px 14px; }

/* The flyer mockups keep a smaller dark blue presentation background. */
.home-work-item--print .home-flyer-preview,
.flyer-tile-art,
.page-hero .flyer-showcase,
.flyer-insights .flyer-dialog-stage { background: #102748; }
.home-work-item--print .home-flyer-preview { position: relative; height: 270px; padding: 0; }
.home-work-item--print .home-flyer-preview img { position: absolute; inset: 14px 0; width: 100%; height: calc(100% - 28px); max-width: none; object-fit: contain; transform: translateX(-18%); }
.flyer-tile-art { position: relative; display: block; height: 300px; padding: 0; }
.flyer-tile:not(.flyer-tile--first) .flyer-tile-art { padding: 0; }
.flyer-tile-art img { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; }
.flyer-tile--first .flyer-tile-art img { inset: 14px 0; width: 100%; object-fit: contain; transform: translateX(-18%); }
.page-hero .hero-visual.flyer-hero-visual { min-height: 0; }
.page-hero .flyer-showcase { position: relative; inset: auto; height: 270px; border-color: #19385c; }
.flyer-showcase img { object-fit: contain; transform: translateX(-18%); }
@media (max-width: 720px) {
  .repair-pairs { grid-template-columns: 1fr; width: min(100%, 420px); }
  .home-work-item--print .home-flyer-preview { height: 230px; }
  .flyer-tile-art { height: 320px; }
  .flyer-tile--first .flyer-tile-art { height: 250px; }
  .page-hero .flyer-showcase { height: 240px; }
}

/* v23: fewer decorative elements and compact, responsive work examples. */
.accessory-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
.accessory-card > strong { margin: 0; }
.request-hero .hero-grid { grid-template-columns: minmax(0, 780px); min-height: 0; }
.request-hero .hero-copy { max-width: 780px; }

@media (min-width: 721px) {
  .home-work-grid--packed {
    grid-template-rows: none;
    grid-auto-rows: 1px;
    grid-auto-flow: dense;
    row-gap: 0;
  }
  .home-work-grid--packed > .home-work-item { height: max-content; align-self: start; }
}
@media (max-width: 720px) {
  .repair-hero .hero-visual, .webdesign-hero .hero-visual { display: none; }
  .repair-hero .hero-grid, .webdesign-hero .hero-grid { min-height: 0; }
}
@media (max-width: 1020px) {
  .app-hero .hero-copy { grid-row: 1; }
  .app-hero .app-work-photo { grid-row: 2; }
}

/* Both laptop views keep the same frame; the operating device stays in focus. */
.repair-pair-track[data-fixed-ratio] { aspect-ratio: 5 / 4; align-items: stretch; }
.repair-pair-track[data-fixed-ratio] .repair-pair-photo { height: 100%; }
.repair-pair-track[data-fixed-ratio] .repair-pair-photo img { height: 100%; object-fit: cover; object-position: center; }
.repair-pair-track[data-fixed-ratio] .repair-pair-photo:nth-child(2) img { object-position: center 80%; }

/* Website views scroll like a photo gallery, without back/next text buttons. */
.project-carousel-viewport {
  display: flex;
  align-items: flex-start;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  aspect-ratio: 1122 / 1402;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.project-carousel-viewport::-webkit-scrollbar { display: none; }
.project-carousel-viewport.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
.project-carousel-slide { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
.project-carousel-slide img { user-select: none; }
.project-carousel-indicators { display: flex; gap: 2px; }
.project-carousel-dot { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.project-carousel-dot::before { width: 8px; height: 8px; border-radius: 50%; background: var(--line); content: ""; }
.project-carousel-dot[aria-pressed="true"]::before { background: var(--primary); }
.project-carousel-dot:focus-visible { outline: 2px solid var(--primary); outline-offset: -2px; border-radius: 50%; }
.flyer-dialog-stage { touch-action: pan-y pinch-zoom; cursor: grab; }
.project-swipe-hint { margin: 14px 0 0; text-align: center; color: var(--muted); font-size: .84rem; }


/* v24: the introduction images are reserved for wide desktop layouts. */
.request-hero-logo {
  display: none;
  width: 100%;
  height: 310px;
  margin: 0;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.request-hero-logo img { width: min(64%, 240px); height: auto; object-fit: contain; }
@media (min-width: 1021px) {
  .request-hero .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 54px); }
  .request-hero-logo { display: grid; }
}
@media (max-width: 1020px) {
  .print-hero .hero-visual, .app-hero .app-work-photo { display: none; }
  .print-hero .hero-grid, .app-hero .hero-grid { grid-template-columns: 1fr; min-height: 0; }
}
