:root {
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.82);
  --line: rgba(255, 255, 255, 0.28);
  --overlay: rgba(0, 0, 0, 0.52);
  --box: rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: #111;
}

body {
  min-height: 100vh;
  background-image:
    linear-gradient(var(--overlay), var(--overlay)),
    url("kontakt.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 6vw, 80px) 20px;
}

.content {
  width: min(100%, 760px);
  padding: clamp(28px, 5vw, 56px);
  background: var(--box);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line);
}

.content.wide {
  width: min(100%, 980px);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: clamp(14px, 1.7vw, 17px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0 0 28px;
  font-size: clamp(34px, 6vw, 68px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.legal h1 {
  font-size: clamp(36px, 5vw, 58px);
}

h2 {
  margin: 38px 0 14px;
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.2;
  font-weight: 500;
  letter-spacing: -0.02em;
}

h3 {
  margin: 26px 0 10px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.3;
  font-weight: 600;
}

p {
  margin: 0 0 16px;
}

.intro {
  margin: 0 0 34px;
  max-width: 600px;
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.45;
  color: var(--muted);
}

.contact, .legal-text {
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.55;
}

.contact {
  display: grid;
  gap: 18px;
}

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

.legal-text strong,
.contact strong {
  color: var(--text);
  font-weight: 600;
}

.address-block {
  margin: 0 0 22px;
}

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

a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.2s ease, color 0.2s ease;
}

a:hover { border-color: var(--text); }

.nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.nav-links a {
  font-size: 15px;
  color: var(--muted);
}

footer {
  padding: 18px 20px 24px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

footer a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  margin: 0 8px;
}

footer a:hover {
  color: var(--text);
  border-color: var(--text);
}

@media (max-width: 640px) {
  body {
    background-position: center;
    background-attachment: scroll;
  }

  main {
    align-items: flex-start;
    padding: 24px 16px 32px;
  }

  .content {
    padding: 28px 22px;
  }

  h1 { margin-bottom: 22px; }
  .intro { margin-bottom: 28px; }
}
