/* Holzbau Loos — Design Tokens (Light + Dark via prefers-color-scheme / [data-theme]) */

:root,
[data-theme="light"] {
  --bg: oklch(0.975 0.008 80);
  --bg-alt: oklch(0.945 0.012 75);
  --bg-deep: oklch(0.92 0.015 70);
  --ink: oklch(0.20 0.012 60);
  --ink-dim: oklch(0.38 0.01 60);
  --ink-mute: oklch(0.48 0.008 60);
  --rule: oklch(0.85 0.01 70);
  --rule-strong: oklch(0.70 0.015 65);
  --accent: #d97848;          /* brand graphics, buttons, borders, large text */
  --accent-text: #9a4a1c;     /* darker variant for small-text uses (AA compliant) */
  --accent-ink: oklch(0.20 0.012 60);  /* button label: dark ink on orange button */
  --placeholder: oklch(0.88 0.01 75);
  --placeholder-stripe: oklch(0.83 0.015 70);
}

[data-theme="dark"] {
  --bg: oklch(0.175 0.008 60);
  --bg-alt: oklch(0.215 0.01 60);
  --bg-deep: oklch(0.145 0.008 55);
  --ink: oklch(0.94 0.01 80);
  --ink-dim: oklch(0.78 0.01 75);
  --ink-mute: oklch(0.66 0.012 65);
  --rule: oklch(0.30 0.012 60);
  --rule-strong: oklch(0.42 0.015 60);
  --accent: #e28a5b;
  --accent-text: #e28a5b;     /* already ~5:1 on dark bg */
  --accent-ink: oklch(0.175 0.008 60);
  --placeholder: oklch(0.26 0.012 60);
  --placeholder-stripe: oklch(0.22 0.012 55);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: oklch(0.175 0.008 60);
    --bg-alt: oklch(0.215 0.01 60);
    --bg-deep: oklch(0.145 0.008 55);
    --ink: oklch(0.94 0.01 80);
    --ink-dim: oklch(0.78 0.01 75);
    --ink-mute: oklch(0.66 0.012 65);
    --rule: oklch(0.30 0.012 60);
    --rule-strong: oklch(0.42 0.015 60);
    --accent: #e28a5b;
    --accent-text: #e28a5b;
    --accent-ink: oklch(0.175 0.008 60);
    --placeholder: oklch(0.26 0.012 60);
    --placeholder-stripe: oklch(0.22 0.012 55);
  }
}

/* Reset + base */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }

/* ------- Accessibility ------- */
.skip-link {
  position: absolute;
  left: 8px;
  top: -9999px;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 14px;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
}
.skip-link:focus { top: 8px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

/* Screenreader-only text (for aria-live announcements, etc.) */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Footer links: min 24px target height (WCAG 2.5.8) */
.foot-col a, .foot-col > div {
  line-height: 2;
}

/* Respect user preference to reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.2s ease, color 0.2s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }

.display { font-family: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif; }
.mono { font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace; }

/* ------- Topbar ------- */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}
.topbar-inner {
  display: flex; align-items: center; gap: 40px;
  padding: 18px 40px;
}
.topbar-brand {
  display: flex; align-items: baseline; gap: 10px;
  text-decoration: none; color: var(--ink);
  font-family: "Inter Tight", sans-serif;
}
.topbar-brand .brand-mark { font-weight: 700; font-size: 19px; letter-spacing: -0.4px; }
.topbar-brand .brand-sub {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink-mute); font-weight: 500;
}
.topbar-nav {
  display: flex; gap: 28px; margin-left: auto;
  font-size: 13px; font-weight: 500;
}
.topbar-nav a {
  color: var(--ink-dim);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1.5px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.topbar-nav a:hover { color: var(--ink); }
.topbar-nav a.active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.topbar-phone {
  margin-left: 16px;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid var(--rule-strong);
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.theme-toggle {
  background: transparent;
  border: 1px solid var(--rule-strong);
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 10px;
  cursor: pointer;
  margin-left: 8px;
}
.theme-toggle:hover { border-color: var(--accent-text); color: var(--accent-text); }
.mobile-toggle {
  display: none;
  margin-left: auto;
  background: transparent; border: 1px solid var(--rule-strong);
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px; letter-spacing: 1px;
  padding: 8px 12px; cursor: pointer;
}

/* ------- Section heads ------- */
.eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent-text);
  font-weight: 500;
}
.section-head { max-width: 760px; }
.section-head .eyebrow { margin-bottom: 16px; display: block; }
.section-head h2 {
  font-family: "Inter Tight", sans-serif;
  font-size: 48px; line-height: 1.05;
  font-weight: 600; letter-spacing: -1.2px;
  color: var(--ink); margin: 0;
  text-wrap: balance;
}
.section-head p {
  font-size: 17px; line-height: 1.55;
  color: var(--ink-dim); margin-top: 20px; max-width: 620px;
  text-wrap: pretty;
}

/* ------- Placeholder (striped tile) ------- */
.ph {
  width: 100%; height: 100%;
  background-image: repeating-linear-gradient(135deg,
    var(--placeholder) 0 14px,
    var(--placeholder-stripe) 14px 15px);
  display: flex; align-items: flex-end; justify-content: flex-start;
  padding: 14px;
  color: var(--ink-dim);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.3px;
  text-transform: uppercase;
  position: relative; overflow: hidden;
}
.ph .ph-label {
  background: var(--bg);
  padding: 3px 7px;
  border: 1px solid var(--rule);
}
.ph.ratio-16-9 { aspect-ratio: 16/9; height: auto; }
.ph.ratio-4-5  { aspect-ratio: 4/5;  height: auto; }
.ph.ratio-4-3  { aspect-ratio: 4/3;  height: auto; }
.ph.ratio-2-1  { aspect-ratio: 2/1;  height: auto; }

/* ------- Photo (real image) ------- */
.photo {
  width: 100%; height: 100%;
  overflow: hidden;
  position: relative;
  background: var(--placeholder);
}
.photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.photo.ratio-16-9 { aspect-ratio: 16/9; height: auto; }
.photo.ratio-4-5  { aspect-ratio: 4/5;  height: auto; }
.photo.ratio-4-3  { aspect-ratio: 4/3;  height: auto; }
.photo.ratio-2-1  { aspect-ratio: 2/1;  height: auto; }

/* ------- Home: Hero ------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
  border-bottom: 1px solid var(--rule);
}
.hero-img { position: relative; overflow: hidden; }
.hero-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: var(--bg);
  padding: 10px 14px;
  border: 1px solid var(--rule);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--ink-dim);
}
.hero-body {
  padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--bg-alt);
}
.hero-body .eyebrow { margin-bottom: 28px; display: block; }
.hero-body h1 {
  font-family: "Inter Tight", sans-serif;
  font-size: 68px; line-height: 0.98;
  font-weight: 600; letter-spacing: -2.2px;
  color: var(--ink); margin: 0; text-wrap: balance;
}
.hero-body .lead {
  font-size: 18px; line-height: 1.55;
  color: var(--ink-dim); margin-top: 28px; max-width: 500px;
  text-wrap: pretty;
}
.hero-ctas {
  display: flex; gap: 16px; align-items: center; margin-top: 48px;
}
.btn-primary {
  background: var(--accent); color: var(--accent-ink);
  padding: 16px 28px;
  font-size: 14px; font-weight: 500; letter-spacing: 0.2px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform 0.15s;
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-primary .mono { font-family: "JetBrains Mono", monospace; }
.btn-inline {
  color: var(--ink);
  padding: 16px 20px;
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  border-bottom: 1.5px solid var(--rule-strong);
}
.btn-inline:hover { border-bottom-color: var(--accent); }

/* ------- Home: Meta ------- */
.meta-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--rule);
}
.meta-cell { padding: 40px 32px; border-right: 1px solid var(--rule); }
.meta-cell:last-child { border-right: none; }
.meta-cell .num {
  font-family: "Inter Tight", sans-serif;
  font-size: 48px; font-weight: 600; color: var(--ink);
  letter-spacing: -1.5px; line-height: 1;
}
.meta-cell .lbl {
  font-size: 13px; color: var(--ink-dim); margin-top: 12px; line-height: 1.4;
}

/* ------- Home: About / Timeline ------- */
.section { padding: 120px 64px; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--rule); }
.section-deep { background: var(--bg-deep); border-top: 1px solid var(--rule); }

.about-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 96px;
}
.timeline { padding-top: 8px; }
.timeline-row {
  display: grid; grid-template-columns: 120px 1fr;
  gap: 32px; padding: 22px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.timeline-row:last-child { border-bottom: 1px solid var(--rule); }
.timeline-year {
  font-family: "JetBrains Mono", monospace; font-size: 13px;
  color: var(--accent-text); letter-spacing: 1px; font-weight: 500;
}
.timeline-text {
  font-family: "Inter Tight", sans-serif; font-size: 20px;
  color: var(--ink); line-height: 1.4; font-weight: 500;
  letter-spacing: -0.3px;
}

/* ------- Home: Editorial service list ------- */
.section-head-row {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 64px;
}
.idx-counter {
  font-family: "JetBrains Mono", monospace; font-size: 12px;
  color: var(--ink-mute); letter-spacing: 1px;
}
.svc-list { border-top: 1px solid var(--rule); }
.svc-row {
  display: grid;
  grid-template-columns: 64px 1fr 200px 140px 32px;
  align-items: center; gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none; color: inherit;
  transition: padding-left 0.2s ease;
}
.svc-row:hover { padding-left: 12px; }
.svc-idx {
  font-family: "JetBrains Mono", monospace; font-size: 12px;
  color: var(--ink-mute); letter-spacing: 0.5px;
}
.svc-title {
  font-family: "Inter Tight", sans-serif; font-size: 26px;
  font-weight: 500; color: var(--ink); letter-spacing: -0.5px;
}
.svc-desc { font-size: 14px; color: var(--ink-dim); line-height: 1.5; }
.svc-thumb { height: 64px; }
.svc-arrow {
  font-family: "JetBrains Mono", monospace; font-size: 16px;
  color: var(--ink-dim);
  transition: transform 0.2s, color 0.2s;
}
.svc-row:hover .svc-arrow { color: var(--accent-text); transform: translateX(6px); }

/* ------- Home: References grid ------- */
.ref-head-row {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 48px;
}
.ref-all {
  font-size: 14px; color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--accent);
  padding-bottom: 4px;
}
.ref-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.ref-cell {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 20px; background: var(--bg);
}
.ref-cell[data-span="4"] { grid-column: span 4; }
.ref-cell[data-span="3"] { grid-column: span 3; }
.ref-cell[data-span="2"] { grid-column: span 2; }
.ref-cell .ph { width: 100%; }
.ref-caption {
  display: flex; justify-content: space-between;
  margin-top: 14px; align-items: baseline;
}
.ref-caption .ttl {
  font-family: "Inter Tight", sans-serif; font-size: 15px;
  color: var(--ink); font-weight: 500; letter-spacing: -0.2px;
}
.ref-caption .tag {
  font-family: "JetBrains Mono", monospace; font-size: 10px;
  color: var(--ink-mute); letter-spacing: 1px;
  text-transform: uppercase; white-space: nowrap; margin-left: 12px;
}

/* ------- Home: Contact CTA ------- */
.cta-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 80px; align-items: center;
}
.cta-grid h2 {
  font-family: "Inter Tight", sans-serif;
  font-size: 56px; line-height: 1;
  font-weight: 600; letter-spacing: -1.8px;
  color: var(--ink); margin: 0; text-wrap: balance;
}
.cta-grid h2 .accent { color: var(--accent-text); }
.cta-info { color: var(--ink-dim); font-size: 15px; line-height: 1.7; }
.cta-info .eyebrow { display: block; margin-bottom: 16px; }
.cta-name {
  color: var(--ink); font-size: 20px;
  font-family: "Inter Tight", sans-serif; font-weight: 500; margin-bottom: 4px;
}
.cta-contacts { margin-top: 20px; display: flex; gap: 32px; flex-wrap: wrap; }
.cta-contacts .k {
  font-size: 11px; color: var(--ink-mute);
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 1px; text-transform: uppercase;
}
.cta-contacts .v { color: var(--ink); font-size: 16px; }
.cta-contacts a { color: inherit; text-decoration: none; }
.cta-contacts a:hover { color: var(--accent-text); }

/* ------- Service page ------- */
.svc-hero {
  padding: 48px 64px 88px;
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
}
.breadcrumb {
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 48px;
}
.breadcrumb a { color: var(--ink-mute); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { margin: 0 10px; }
.breadcrumb .here { color: var(--ink); }

.svc-hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: end;
}
.svc-hero h1 {
  font-family: "Inter Tight", sans-serif;
  font-size: 84px; line-height: 0.98;
  font-weight: 600; letter-spacing: -2.6px;
  color: var(--ink); margin: 0; text-wrap: balance;
}
.svc-hero .eyebrow { display: block; margin-bottom: 20px; }
.svc-hero .intro {
  font-size: 18px; line-height: 1.55;
  color: var(--ink-dim); max-width: 480px; margin: 0;
  text-wrap: pretty;
}

.svc-big-img { height: 400px; }

.svc-two {
  padding: 96px 64px; background: var(--bg-alt);
}
.svc-two-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 96px;
  max-width: 1400px;
}
.svc-two .eyebrow-mute {
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 20px; display: block;
}
.svc-two h2 {
  font-family: "Inter Tight", sans-serif;
  font-size: 36px; line-height: 1.1;
  font-weight: 500; letter-spacing: -0.8px;
  color: var(--ink); margin: 0; text-wrap: balance;
}
.svc-two .body {
  font-size: 16px; line-height: 1.7;
  color: var(--ink-dim); padding-top: 8px;
}
.svc-two .body p:first-child { margin-top: 0; }
.check-list { margin-top: 32px; }
.check-row {
  display: grid; grid-template-columns: 32px 1fr;
  padding: 14px 0;
  border-top: 1px solid var(--rule);
  align-items: baseline;
}
.check-row:last-child { border-bottom: 1px solid var(--rule); }
.check-idx {
  color: var(--accent-text);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
}
.check-text { color: var(--ink); font-size: 15px; }

.svc-projects {
  padding: 96px 64px; background: var(--bg);
}
.svc-proj-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.svc-proj-cap {
  display: flex; justify-content: space-between;
  margin-top: 16px; align-items: baseline;
}
.svc-proj-cap .ttl {
  font-family: "Inter Tight", sans-serif; font-size: 18px;
  color: var(--ink); font-weight: 500; letter-spacing: -0.3px;
}
.svc-proj-cap .place {
  font-size: 13px; color: var(--ink-dim); margin-top: 4px;
}
.svc-proj-cap .yr {
  font-family: "JetBrains Mono", monospace; font-size: 10px;
  color: var(--ink-mute); letter-spacing: 1px;
  text-transform: uppercase;
}

.svc-next {
  padding: 80px 64px;
  border-top: 1px solid var(--rule);
  background: var(--bg-deep);
}
.svc-next-row {
  display: flex; justify-content: space-between; align-items: center; gap: 32px;
  flex-wrap: wrap;
}
.svc-next-link {
  font-family: "Inter Tight", sans-serif; font-size: 44px;
  color: var(--ink); text-decoration: none;
  letter-spacing: -1.2px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 20px;
}
.svc-next-link .arrow {
  color: var(--accent); font-family: "JetBrains Mono", monospace; font-size: 28px;
  transition: transform 0.2s;
}
.svc-next-link:hover .arrow { transform: translateX(6px); }

/* ------- Impressum ------- */
.impressum {
  padding: 48px 64px 120px; background: var(--bg);
}
.impressum h1 {
  font-family: "Inter Tight", sans-serif;
  font-size: 84px; line-height: 0.98;
  font-weight: 600; letter-spacing: -2.6px;
  color: var(--ink); margin: 0;
}
.impressum-grid {
  display: grid; grid-template-columns: 260px 1fr;
  gap: 80px; margin-top: 72px; max-width: 1100px;
  font-size: 15px; line-height: 1.7; color: var(--ink-dim);
}
.impressum-grid .key {
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent-text); padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.impressum-grid .val {
  padding-top: 24px; border-top: 1px solid var(--rule);
}
.impressum-grid .val .name { color: var(--ink); }

/* ------- Footer ------- */
.footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--rule);
  padding: 64px 40px 32px;
  color: var(--ink-dim); font-size: 13px; line-height: 1.7;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}
.foot-head {
  font-family: "JetBrains Mono", monospace; font-size: 10px;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--ink-mute); margin-bottom: 14px; font-weight: 500;
}
.foot-brand .f-name {
  font-family: "Inter Tight", sans-serif; font-size: 22px; font-weight: 700;
  letter-spacing: -0.5px; color: var(--ink); margin-bottom: 6px;
}
.foot-brand .f-sub {
  font-family: "JetBrains Mono", monospace; font-size: 11px;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 20px;
}
.foot-col a {
  color: var(--ink-dim); text-decoration: none;
  transition: color 0.15s;
}
.foot-col a:hover { color: var(--accent-text); }
.foot-meta {
  margin-top: 16px; font-size: 11px; line-height: 1.6; color: var(--ink-mute);
}
.footer-bottom {
  display: flex; justify-content: space-between;
  padding-top: 20px; font-size: 11px;
  font-family: "JetBrains Mono", monospace; color: var(--ink-mute);
  letter-spacing: 0.3px;
}

/* ------- Responsive ------- */
@media (max-width: 1100px) {
  .hero-body h1 { font-size: 54px; }
  .svc-hero h1, .impressum h1 { font-size: 64px; letter-spacing: -2px; }
  .cta-grid h2 { font-size: 44px; letter-spacing: -1.4px; }
  .section { padding: 96px 48px; }
  .svc-hero { padding: 48px 48px 72px; }
  .svc-two, .svc-projects { padding: 72px 48px; }
  .svc-next { padding: 64px 48px; }
  .impressum { padding: 48px 48px 96px; }
  .topbar-inner { padding: 18px 24px; }
  .hero-body { padding: 56px 48px; }
  .footer { padding: 56px 24px 28px; }
}

@media (max-width: 860px) {
  .topbar-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: var(--bg); border-top: 1px solid var(--rule);
    padding: 8px 24px 16px;
  }
  .topbar-nav.is-open { display: flex; }
  .topbar-nav a {
    padding: 14px 0; border-bottom: 1px solid var(--rule);
  }
  .topbar-nav a:last-child { border-bottom: none; }
  .topbar-phone { display: none; }
  .mobile-toggle { display: inline-block; }
  .theme-toggle { margin-left: 0; }

  .hero, .about-grid, .meta-row,
  .svc-hero-grid, .svc-two-grid, .svc-proj-grid,
  .cta-grid, .impressum-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero { min-height: 0; }
  .hero-img { min-height: 320px; }
  .hero-body { padding: 48px 24px; }
  .hero-body h1 { font-size: 42px; letter-spacing: -1.4px; }
  .svc-hero h1, .impressum h1 { font-size: 48px; letter-spacing: -1.6px; }
  .cta-grid h2 { font-size: 34px; letter-spacing: -1px; }
  .section, .svc-two, .svc-projects, .svc-next, .svc-hero, .impressum {
    padding-left: 24px; padding-right: 24px;
  }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .about-grid, .svc-hero-grid, .svc-two-grid { gap: 48px; }
  .meta-cell { border-right: none; border-bottom: 1px solid var(--rule); }
  .meta-cell:last-child { border-bottom: none; }
  .meta-cell .num { font-size: 36px; }
  .svc-big-img { height: 320px; }

  .section-head h2 { font-size: 36px; letter-spacing: -0.8px; }
  .section-head-row, .ref-head-row { margin-bottom: 32px; }

  .svc-row {
    grid-template-columns: 48px 1fr 32px;
    gap: 16px; padding: 20px 0;
  }
  .svc-row .svc-desc, .svc-row .svc-thumb { display: none; }
  .svc-title { font-size: 20px; }

  .ref-grid { grid-template-columns: repeat(2, 1fr); }
  .ref-cell[data-span] { grid-column: span 2; }

  .svc-proj-grid { gap: 24px; }
  .impressum-grid { gap: 12px; }
  .impressum-grid .key { padding-top: 28px; }
  .impressum-grid .val { padding-top: 0; border-top: none; }

  .svc-next-link { font-size: 28px; letter-spacing: -0.8px; }
  .svc-next-link .arrow { font-size: 22px; }

  .footer-grid { gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
