@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700|Lora:400,700,400italic|Montserrat:700&display=swap');

:root {
  --ink: #2a2e31;
  --muted: #777b7e;
  --paper: #ffffff;
  --rule: #e9e7e2;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 4px;
}

.nav {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  height: 60vh;
  min-height: 380px;
  max-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #111;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  opacity: 0.92;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.30));
}

.hero h1 {
  position: relative;
  z-index: 1;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: #ffffff;
  font-size: clamp(42px, 9vw, 110px);
  letter-spacing: 2px;
  text-align: center;
  margin: 0;
  padding: 0 16px;
  text-shadow: 0 2px 18px rgba(0,0,0,0.25);
}

/* Tile grid */
.tiles {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 32px 96px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px 48px;
}

.tile {
  display: block;
}

.tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.tile .tile-title {
  display: block;
  margin-top: 20px;
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 22px;
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.tile:hover .tile-title {
  border-color: var(--ink);
}

/* Content pages */
.page {
  max-width: 640px;
  margin: 0 auto;
  padding: 72px 32px 96px;
  min-height: 46vh;
}

.page h1 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin: 0 0 32px;
}

.page h4 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 36px 0 12px;
}

.page p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 20px;
}

.page a.email {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 16px;
  border-bottom: 1px solid var(--ink);
}

.kontakt-card {
  font-size: 16px;
  line-height: 2;
}

.kontakt-card .company {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 20px;
  display: block;
  margin-bottom: 10px;
}

.kontakt-card .label {
  color: var(--muted);
  display: inline-block;
  width: 84px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 28px 32px 40px;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

/* Mobile */
@media (max-width: 760px) {
  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    z-index: 50;
    background: var(--paper);
    flex-direction: column;
    align-items: center;
    gap: 22px;
    padding: 28px 0;
    border-bottom: 1px solid var(--rule);
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .site-header {
    position: relative;
    padding: 24px 20px;
  }

  .tiles {
    grid-template-columns: 1fr;
    padding: 48px 20px 72px;
    gap: 44px;
  }

  .page {
    padding: 48px 20px 72px;
  }

  .hero h1 {
    font-size: clamp(34px, 12vw, 64px);
  }
}
