:root {
  --color-bg: #0f0f0f;
  --color-surface: #161616;
  --color-surface-2: #232323;
  --color-text: #f4f4f4;
  --color-muted: #a7a7a7;
  --color-red: #f51414;
  --color-red-dark: #cc0000;
  --color-action: #d81717;
  --color-action-dark: #b80000;
  --color-blue: #5473ac;
  --color-blue-bright: #8fb2ef;
  --color-border: #303030;
  --color-paper: #ffffff;
  --color-paper-soft: #f7f7f5;
  --color-ink: #151515;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--color-red);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(15, 15, 15, 0.94);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.5rem;
  width: min(100% - 2rem, var(--max-width));
  min-height: 76px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font-weight: 700;
}

.brand img {
  width: 206px;
  max-width: 42vw;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  color: var(--color-muted);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.language-switch a {
  padding: 0.38rem 0.45rem;
  border-radius: 6px;
  color: var(--color-muted);
  text-decoration: none;
}

.language-switch a:hover,
.language-switch a[aria-current="true"] {
  background: var(--color-surface-2);
  color: var(--color-text);
}

.language-switch span {
  color: #5b5b5b;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.2rem;
}

.site-nav a {
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  color: var(--color-muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: var(--color-surface-2);
  color: var(--color-text);
}

.site-nav .nav-cta {
  margin-left: 0.4rem;
  background: var(--color-action);
  color: var(--color-paper);
  font-weight: 700;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta[aria-current="page"] {
  background: var(--color-action-dark);
}

.hero {
  position: relative;
  min-height: clamp(500px, calc(100svh - 155px), 560px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--color-surface);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(15, 15, 15, 0.96) 0%, rgba(15, 15, 15, 0.86) 42%, rgba(15, 15, 15, 0.45) 100%),
    url("../img/hamburg-skyline.jpg") center / cover no-repeat;
}

.hero-inner {
  position: relative;
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 4.8rem 0 3.8rem;
}

.hero-signature {
  display: inline-grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.7rem;
}

.hero-mark {
  width: 76px;
}

.signature-kicker,
.signature-name {
  display: block;
  line-height: 1;
}

.signature-kicker {
  margin-bottom: 0.32rem;
  color: #d8d8d8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.signature-name {
  color: var(--color-text);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--color-red);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
.button {
  overflow-wrap: break-word;
}

h1 {
  max-width: 820px;
  margin-bottom: 1.1rem;
  font-size: 3.7rem;
  line-height: 1.05;
}

h2 {
  font-size: 2.1rem;
  line-height: 1.2;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.25;
}

.lede {
  max-width: 700px;
  color: #dddddd;
  font-size: 1.18rem;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
  margin-bottom: 2rem;
}

.hero .hero-actions {
  margin-bottom: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.72rem 1.05rem;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  background: var(--color-action);
  color: var(--color-paper);
}

.button-primary:hover {
  background: var(--color-action-dark);
}

.button-secondary {
  border-color: var(--color-border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text);
}

.button-secondary:hover {
  border-color: var(--color-blue);
}

.trust-band {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid var(--color-border);
  background: #101010;
}

.trust-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.trust-list li {
  padding: 1.05rem 1.25rem;
  border-left: 1px solid var(--color-border);
}

.trust-list li:last-child {
  border-right: 1px solid var(--color-border);
}

.trust-list strong,
.trust-list span {
  display: block;
}

.trust-list strong {
  margin-bottom: 0.18rem;
  color: var(--color-text);
  font-size: 1.05rem;
  line-height: 1.25;
}

.trust-list span {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.35;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--color-paper) 0%, var(--color-paper-soft) 100%);
  color: var(--color-ink);
}

.section-muted {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--color-surface);
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.section-head p {
  max-width: 610px;
  color: var(--color-muted);
}

.section-alt .section-head p,
.section-alt .muted {
  color: #555555;
}

.grid {
  counter-reset: card;
  display: grid;
  gap: 1.2rem;
}

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

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

.service-card,
.work-card,
.note-card {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
  box-shadow: var(--shadow);
}

.section-alt .service-card,
.section-alt .work-card,
.section-alt .note-card {
  border-color: #dfdfdf;
  background: var(--color-paper);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.service-card,
.note-card {
  padding: 1.5rem;
}

.service-card {
  counter-increment: card;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-red), var(--color-blue));
}

.service-card::before {
  content: counter(card, decimal-leading-zero);
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--color-red);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
}

.service-card p,
.work-card p,
.note-card p {
  color: var(--color-muted);
}

.service-card h2,
.work-card h2,
.note-card h2,
.profile-card h2 {
  font-size: 1.2rem;
  line-height: 1.25;
}

.note-card h2:not(:first-child) {
  margin-top: 1.4rem;
}

.section-alt .service-card p,
.section-alt .work-card p,
.section-alt .note-card p {
  color: #555555;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.tag-list li {
  padding: 0.28rem 0.55rem;
  border-radius: 6px;
  background: rgba(84, 115, 172, 0.16);
  color: #d9e4ff;
  font-size: 0.82rem;
}

.section-alt .tag-list li {
  background: #ecf1fb;
  color: #29466f;
}

.work-card {
  overflow: hidden;
}

.work-card-media {
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
  background: #e9e9e7;
}

.work-card-frame {
  overflow: hidden;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  background: var(--color-paper);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

.work-card-frame::before {
  content: "";
  display: block;
  height: 18px;
  border-bottom: 1px solid #dddddd;
  background: linear-gradient(180deg, #fafafa, #ededed);
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 0.75rem;
  background: var(--color-paper);
}

.work-card-body {
  padding: 1.15rem;
}

.work-card-meta {
  margin-bottom: 0.45rem;
  color: var(--color-blue-bright);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.section-alt .work-card-meta {
  color: var(--color-blue);
}

.featured-work-grid {
  gap: 1.6rem;
}

.work-gallery {
  gap: 2rem;
}

.work-gallery .work-card:first-child {
  grid-column: 1 / -1;
}

.work-gallery .work-card:first-child img {
  aspect-ratio: 16 / 8;
}

.work-gallery .work-card-body {
  padding: 1.35rem 1.45rem 1.55rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.72fr);
  gap: 3rem;
  align-items: center;
}

.profile-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid #dfdfdf;
  border-radius: 8px;
  background: var(--color-paper);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.profile-card h2,
.profile-card h3 {
  margin-bottom: 0.4rem;
}

.profile-card p:last-child {
  margin-bottom: 0;
  color: #555555;
}

.profile-photo {
  width: 116px;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 8px;
  border: 1px solid #dfdfdf;
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.2rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-surface);
}

.section-alt .steps li {
  border-color: #dfdfdf;
  background: var(--color-paper);
  color: var(--color-ink);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.section-alt .steps p {
  color: #555555;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-action);
  color: var(--color-paper);
  font-weight: 700;
}

.callout {
  border-left: 6px solid var(--color-red);
  padding: 1.35rem;
  background: var(--color-surface-2);
  color: var(--color-text);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 2rem;
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.contact-list a {
  color: var(--color-blue-bright);
  font-weight: 700;
}

.section-alt .contact-list a,
.legal-copy a {
  color: #29466f;
}

.contact-steps {
  counter-reset: contact-step;
}

.contact-steps li {
  counter-increment: contact-step;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
}

.contact-steps li::before {
  content: counter(contact-step);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--color-action);
  color: var(--color-paper);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

.legal-copy {
  max-width: 820px;
}

.legal-copy h2 {
  margin-top: 2rem;
}

.site-footer {
  border-top: 1px solid var(--color-border);
  background: #090909;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding: 2rem 0;
  color: var(--color-muted);
  font-size: 0.94rem;
}

.footer-inner a {
  color: var(--color-text);
}

@media (max-width: 1120px) {
  .nav-shell {
    gap: 1rem;
  }

  .brand img {
    width: 186px;
    max-width: 36vw;
  }

  .language-switch {
    gap: 0.2rem;
    font-size: 0.82rem;
  }

  .site-nav {
    gap: 0.15rem;
  }

  .site-nav a {
    padding: 0.58rem 0.68rem;
    font-size: 0.9rem;
  }

  h1 {
    font-size: 3.1rem;
  }

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

  .trust-list li:nth-child(odd) {
    border-left: 1px solid var(--color-border);
  }

  .trust-list li:nth-child(even) {
    border-right: 1px solid var(--color-border);
  }

  .trust-list li:nth-child(n + 3) {
    border-top: 1px solid var(--color-border);
  }

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

  .work-gallery .work-card:first-child img {
    aspect-ratio: 4 / 3;
  }

  .split {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    display: none;
    flex-direction: column;
    align-items: stretch;
    margin-left: 0;
    padding: 0.75rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .site-nav .nav-cta {
    margin-left: 0;
  }

  .site-nav a {
    padding: 0.8rem 0.9rem;
    font-size: 1rem;
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero {
    min-height: 455px;
  }

  .hero-inner {
    padding: 3rem 0 2.5rem;
  }

  .hero-signature {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0.85rem;
    margin-bottom: 1.25rem;
  }

  .hero-mark {
    width: 64px;
  }

  .signature-name {
    font-size: 2.55rem;
  }

  .section-head,
  .split,
  .contact-panel,
  .footer-inner {
    display: block;
  }

  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .profile-photo {
    width: 108px;
  }

  .work-card img,
  .work-gallery .work-card:first-child img {
    aspect-ratio: 16 / 11;
  }

  .footer-inner p + p {
    margin-top: 1rem;
  }
}

@media (max-width: 540px) {
  .nav-shell {
    min-height: 68px;
  }

  .brand img {
    width: 168px;
    max-width: 62vw;
  }

  .language-switch {
    font-size: 0.8rem;
  }

  .language-switch a {
    padding: 0.32rem 0.38rem;
  }

  h1 {
    font-size: 2.15rem;
  }

  .hero {
    min-height: 475px;
  }

  .hero-inner {
    padding: 3.4rem 0 2.6rem;
  }

  .hero-signature {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.35rem;
  }

  .hero-mark {
    width: 58px;
  }

  .signature-name {
    font-size: 2.25rem;
  }

  .trust-list {
    grid-template-columns: 1fr;
  }

  .trust-list li,
  .trust-list li:nth-child(even),
  .trust-list li:last-child {
    border-right: 1px solid var(--color-border);
  }

  .trust-list li + li {
    border-top: 1px solid var(--color-border);
  }

  .section {
    padding: 3.5rem 0;
  }

  .steps li {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .profile-card {
    grid-template-columns: 92px minmax(0, 1fr);
    padding: 0.8rem;
  }

  .profile-photo {
    width: 92px;
  }
}

@media (max-width: 380px) {
  .brand img {
    width: 148px;
  }

  h1 {
    font-size: 1.92rem;
  }

  .lede {
    font-size: 1.05rem;
  }

  .signature-name {
    font-size: 2rem;
  }

  .work-card img,
  .work-gallery .work-card:first-child img {
    padding: 0.65rem;
  }
}
