@import url("fonts.css");

/* Offer and enquiry flow shared by the German and English pages. */
.hero.hero-offer::before { background: linear-gradient(90deg, rgba(0,0,0,.73), rgba(0,0,0,.35)); }
.hero-offer .hero-content { width: min(100%, 1168px); text-align: left; padding-top: 90px; padding-bottom: 70px; }
.eyebrow { margin: 0 0 20px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.offer-title { max-width: 900px; font-size: clamp(32px, 4.6vw, 64px); font-weight: 500; line-height: 1.15; letter-spacing: -.025em; margin: 0 0 24px; }
.hero-intro { max-width: 640px; font-size: 18px; line-height: 1.7; }
.action-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 12px 22px; border: 1px solid transparent; font-size: 14px; font-weight: 600; text-align: center; transition: background .2s, color .2s; }
.button-light { background: #fff; color: #111; }
.button-outline-light { color: #fff; border-color: rgba(255,255,255,.8); }
.button-dark, .site-nav .nav-cta { background: #111; color: #fff; }
.button:hover { background: #dcd8d0; color: #111; }
a:focus-visible { outline: 3px solid #987640; outline-offset: 4px; }
.hero-location { margin: 30px 0 0; font-size: 13px; color: #e4e4e4; }
.section-heading { font-size: clamp(26px, 3vw, 38px); line-height: 1.25; font-weight: 500; letter-spacing: -.025em; margin: 0 0 18px; }
.section-intro { margin: 0 0 36px; max-width: 720px; color: #555; }
.offer-section { border-bottom: 1px solid #e0e0e0; }
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin-top: 32px; }
.offer-grid article { border-top: 1px solid #c9c9c9; padding-top: 22px; }
.offer-grid h3 { font-size: 17px; margin: 0 0 10px; font-weight: 600; }
.offer-grid p { font-size: 15px; margin: 0; color: #555; }
.step-number { display: block; font-size: 12px; letter-spacing: .12em; margin-bottom: 12px; color: #666; }
.service-note { margin: 28px 0 0; font-size: 14px; color: #555; }
.text-link { font-size: 14px; font-weight: 600; }
.contact-section { background: #ece9e3; }
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 70px; align-items: start; }
.contact-grid p { max-width: 540px; }
.contact-grid .button { margin-top: 12px; }
.contact-note { font-size: 12px; color: #555; margin: 10px 0 20px; }
.contact-email { text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; font-size: 14px; }
.contact-phone { margin-top: 28px; font-size: 14px; }
.contact-phone a { display: inline-block; font-size: 20px; margin-top: 6px; }
.brief-card { padding: 30px; background: rgba(255,255,255,.6); }
.brief-card h3 { font-size: 17px; margin: 0 0 20px; }
.brief-card ul { padding-left: 20px; }
.brief-card li { margin-bottom: 16px; }
.brief-card p { font-size: 14px; color: #555; }
.project-cta { text-align: center; }
.project-cta .button { margin-top: 12px; }
.site-nav .nav-cta { padding: 10px 16px; font-size: 12px; letter-spacing: .04em; }
.site-nav .nav-cta:hover { background: #444; }
@media (max-width: 700px) {
  .hero-offer .hero-content { padding-top: 52px; padding-bottom: 44px; }
  .hero-intro { font-size: 16px; }
  .eyebrow { font-size: 10px; letter-spacing: .1em; }
  .offer-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
  .brief-card { padding: 24px; }
  .contact-section .section-heading br { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #6e6e6e;
  --line: #e0e0e0;
  --section-muted: #f5f5f5;
  --hero-overlay: rgba(0, 0, 0, 0.45);
  --max-width: 1120px;
  --gutter: 24px;
  --shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--scroll-offset, 120px);
}

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--gutter);
}

.logo {
  height: 46px;
  width: auto;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-item {
  position: relative;
  padding-bottom: 10px;
}

.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.site-nav .nav-link {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.18em;
  padding-bottom: 4px;
  position: relative;
  display: inline-flex;
}

.site-nav .nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--text);
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
  display: none;
  z-index: 10;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  display: block;
}

.dropdown-link {
  display: block;
  padding: 8px 16px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  color: var(--text);
}

.dropdown-link.is-active {
  background: var(--text);
  color: #ffffff;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.lang-switch a {
  opacity: 0.5;
}

.lang-switch a.is-active {
  opacity: 1;
}

.lang-switch span {
  opacity: 0.4;
}

.hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.section[id] {
  scroll-margin-top: var(--scroll-offset, 120px);
}

.hero-compact {
  min-height: 44vh;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}

.hero-content {
  position: relative;
  padding: 80px var(--gutter);
  width: min(100%, 1100px);
  margin: 0 auto;
  text-align: center;
}

.hero-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}

.hero-subtitle::before,
.hero-subtitle::after {
  content: "";
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
}

.hero-title {
  margin: 18px 0 0;
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
}

body[data-page="about"] .hero-title {
  font-size: clamp(26px, 3.2vw, 52px);
  letter-spacing: 0.12em;
}

.hero-title.hero-title--brand {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.18em 0.28em;
  line-height: 1.15;
}

.hero-title.hero-title--brand .hero-title-word {
  white-space: nowrap;
}

.hero-title.hero-title--brand .hero-title-separator {
  margin: 0 0.1em;
}

.section {
  padding: 70px 0;
}

.section-muted {
  background: var(--section-muted);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 42px;
  align-items: center;
}

.rich-text p {
  margin: 0 0 1.2em;
  font-size: 15px;
}

.rich-text a {
  border-bottom: 1px solid currentColor;
}

.portrait {
  margin: 0;
}

.portrait img {
  border-radius: 4px;
  box-shadow: var(--shadow);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 42px;
}

.split h3 {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 14px;
}

.split h4 {
  margin: 20px 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
}

.split ul {
  padding-left: 18px;
  margin: 12px 0 0;
}

.split li {
  margin-bottom: 6px;
}

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

.work-card {
  position: relative;
  overflow: hidden;
  background: #000000;
  min-height: 220px;
  display: block;
  color: inherit;
  text-decoration: none;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.work-title {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  color: #ffffff;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.work-card:hover img {
  transform: scale(1.05);
}

.work-card:hover::after,
.work-card:hover .work-title {
  opacity: 1;
}

.logo-title {
  margin: 0 0 24px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 14px;
  text-align: center;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 28px;
  align-items: center;
  justify-items: center;
}

.logo-grid img {
  width: 100%;
  max-width: 180px;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.8;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.logo-grid img:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* The square Medivise asset has generous empty space above and below the wordmark. */
.logo-grid .reference-medivise {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 180px;
  height: 80px;
  overflow: hidden;
}

.logo-grid .reference-medivise img {
  flex: 0 0 100%;
  max-height: none;
}

/* Thirty references in five equal desktop rows. */
@media (min-width: 1000px) {
  .logo-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.album-grid {
  display: grid;
  gap: 16px;
}

.album-grid[data-cols="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.album-grid[data-cols="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.album-grid[data-cols="4"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.album-download {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.pdf-button {
  border: 1px solid var(--text);
  background: var(--text);
  color: #ffffff;
  padding: 12px 24px;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.2em;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.pdf-button:hover,
.pdf-button:focus-visible {
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
  outline: none;
}

.album-card {
  position: relative;
  overflow: hidden;
  background: #000000;
  display: block;
}

.album-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.album-card:hover img {
  transform: scale(1.04);
}

.viewer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px var(--gutter);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 200;
}

.viewer.is-active {
  opacity: 1;
  pointer-events: auto;
}

.viewer-frame {
  max-width: min(1200px, 100%);
  max-height: 80vh;
}

.viewer-image {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  display: block;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.viewer-close,
.viewer-prev,
.viewer-next {
  position: absolute;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #ffffff;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.viewer-close svg,
.viewer-prev svg,
.viewer-next svg {
  display: block;
  flex: none;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.viewer-close:hover,
.viewer-prev:hover,
.viewer-next:hover {
  background: #ffffff;
  color: #111111;
  border-color: #ffffff;
}

.viewer-close:focus-visible,
.viewer-prev:focus-visible,
.viewer-next:focus-visible {
  background: #ffffff;
  color: #111111;
  border-color: #ffffff;
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

.viewer-close {
  top: 20px;
  right: 20px;
}

.viewer-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.viewer-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.viewer-count {
  position: absolute;
  bottom: 20px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
}

.viewer button:disabled {
  opacity: 0.35;
  cursor: default;
}

body.viewer-open {
  overflow: hidden;
}

.legal-section {
  padding-top: 50px;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 15px;
}

.legal-content h1,
.legal-content h2,
.legal-content h3,
.legal-content h4 {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 16px;
  margin: 1.8em 0 0.6em;
}

.legal-content p {
  margin: 0 0 1em;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 1em;
  padding-left: 20px;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  font-size: 13px;
}

.legal-content th,
.legal-content td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

body[data-legal="imprint"] .legal-content {
  text-align: center;
}

.site-footer {
  background: #111111;
  color: #f2f2f2;
  padding: 60px 0 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.1fr) minmax(240px, 1fr);
  gap: 36px;
  align-items: start;
}

.footer-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  margin: 0 0 8px;
  opacity: 0.7;
}

.footer-block p,
.footer-block a {
  font-size: 14px;
  line-height: 1.7;
  color: inherit;
}

.footer-block p {
  margin: 0 0 8px;
}

.footer-block p:last-child {
  margin-bottom: 0;
}

.footer-links-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.16em;
}

.footer-divider {
  opacity: 0.4;
}

.footer-socials {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-socials a {
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.footer-socials a:hover {
  background: #ffffff;
  color: #111111;
}

.footer-socials svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-bottom {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo {
  height: 40px;
  width: auto;
}

.footer-copy {
  font-size: 13px;
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .header-inner {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .logo {
    height: 40px;
  }

  .nav-panel {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-left: 0;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: 10px 18px;
  }

  .nav-item {
    padding-bottom: 0;
  }

  .nav-parent {
    justify-content: center;
  }

  .nav-dropdown {
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    min-width: min(88vw, 320px);
    max-height: 50vh;
    overflow-y: auto;
    padding: 10px 0;
    display: none;
    z-index: 20;
  }

  .nav-item:hover .nav-dropdown,
  .nav-item:focus-within .nav-dropdown {
    display: none;
  }

  .nav-item.is-open .nav-dropdown {
    display: block;
  }

  .dropdown-link {
    text-align: center;
    padding: 8px 14px;
  }

  .lang-switch {
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .album-grid {
    grid-template-columns: 1fr;
  }
}

@media (hover: none) and (pointer: coarse) {
  .viewer-close,
  .viewer-prev,
  .viewer-next {
    background: rgba(255, 255, 255, 0.95);
    color: #111111;
    border-color: #ffffff;
  }
}

@media (max-width: 700px) {
  .hero {
    min-height: 50vh;
  }

  .hero-title {
    letter-spacing: 0.1em;
  }

  .hero-title.hero-title--brand {
    flex-direction: column;
    gap: 6px;
    font-size: clamp(22px, 7vw, 32px);
    letter-spacing: 0.08em;
  }

  .hero-title.hero-title--brand .hero-title-word {
    white-space: normal;
  }

  .hero-title.hero-title--brand .hero-title-separator {
    display: none;
  }

  body[data-page="about"] .hero-title {
    white-space: normal;
  }

  .work-title {
    opacity: 1;
  }

  .work-card::after {
    opacity: 0.3;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1100px) {
  body[data-page="about"] .hero-title {
    white-space: nowrap;
  }
}
