:root {
  --bg: #050814;
  --navy: #0a1424;
  --gold: #d4af37;
  --gold-light: #f0d78c;
  --gold-dim: #9a7b22;
  --blue: #2eb7ef;
  --blue-deep: #1488c4;
  --text: #f4f7fb;
  --muted: #b8c4d4;
  --dim: #8a97a8;
  --card: rgba(8, 16, 32, 0.78);
  --border: rgba(212, 175, 55, 0.28);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --max: 1180px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.65;
  background-color: var(--bg);
  background-image:
    linear-gradient(180deg, rgba(5, 8, 20, 0.55) 0%, rgba(5, 8, 20, 0.78) 100%),
    url("/static/img/bg.png");
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-light); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3 {
  font-family: "Cormorant", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6rem;
  color: var(--gold-light);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 80;
  background: var(--gold);
  color: #111;
  padding: 8px 12px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* Nav */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.45rem 1.1rem 0.45rem 0.9rem;
  background: rgba(5, 10, 22, 0.92);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--text);
  flex: 0 0 auto;
}
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--gold);
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}
.brand-text strong {
  font-family: "Cormorant", Georgia, serif;
  font-size: 1.12rem;
  letter-spacing: 0.05em;
  color: var(--gold-light);
}
.brand-text span {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
}
.nav-panel {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  margin-left: auto;
}
.nav-links {
  display: flex;
  gap: 0.15rem;
  align-items: center;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.42rem 0.55rem;
  border-radius: 2px;
}
.nav-links a:hover {
  color: var(--gold-light);
  background: rgba(212, 175, 55, 0.08);
}
.nav-social {
  display: flex;
  align-items: center;
  gap: 0.08rem;
  padding: 0.18rem 0.32rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(8, 14, 28, 0.65);
}
.nav-social a {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--gold-light);
  border-radius: 50%;
}
.nav-social a:hover {
  color: #fff;
  background: rgba(46, 183, 239, 0.18);
}
.nav-social svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  display: block;
}
.nav-cta {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: #1a1404 !important;
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border-radius: 2px;
  white-space: nowrap;
}
.nav-cta:hover { filter: brightness(1.08); color: #1a1404 !important; }
.nav-toggle { display: none; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.2rem;
  align-items: center;
  padding: 3.2rem 0 3.8rem;
  min-height: min(82vh, 780px);
}
.kicker {
  color: var(--blue);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 4.1rem);
  color: #fff;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.hero .lead {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 38rem;
}
.gold-line {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.1rem 0;
}
.checks {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 1.8rem;
}
.checks li {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  margin: 0.45rem 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.86rem;
  color: var(--text);
}
.tick {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 2px solid var(--blue);
  border-radius: 50%;
}
.tick::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
  transform: rotate(40deg);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 2px;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
}
.btn-gold {
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dim));
  color: #14100a !important;
}
.btn-ghost {
  border-color: var(--gold);
  color: var(--gold-light) !important;
}
.hero-photo {
  position: relative;
  border: 1px solid var(--border);
  box-shadow: var(--shadow), 0 0 80px rgba(46, 183, 239, 0.12);
  overflow: hidden;
  min-height: 420px;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 420px;
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(5, 8, 20, 0.35), transparent 40%);
  box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.25);
}

/* Sections */
section { padding: 4.2rem 0; }
.section-alt {
  background: rgba(4, 8, 18, 0.55);
  border-top: 1px solid rgba(46, 183, 239, 0.12);
  border-bottom: 1px solid rgba(46, 183, 239, 0.12);
}
.section-label {
  color: var(--blue);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
}
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.intro {
  color: var(--muted);
  max-width: 46rem;
  margin-bottom: 2rem;
}

.grid-4,
.grid-2 {
  display: grid;
  gap: 1.2rem;
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; gap: 1.6rem; align-items: start; }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.35rem 1.25rem 1.5rem;
  box-shadow: var(--shadow);
}
.card h3 {
  font-size: 1.35rem;
  margin-top: 0.4rem;
}
.card p { color: var(--muted); margin: 0; }
.card img {
  width: 100%;
  height: 168px;
  object-fit: cover;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(46, 183, 239, 0.2);
}

.about-copy p { color: var(--muted); }
.about-photo {
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-photo img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.about-photos figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
}
.about-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}
.gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  aspect-ratio: 4 / 3;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.7rem 0.9rem;
  background: linear-gradient(transparent, rgba(5, 8, 20, 0.9));
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
}
#videos {
  padding-top: 2.4rem;
  padding-bottom: 2.6rem;
}
.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.video-grid figure {
  margin: 0;
  border: 1px solid var(--border);
  background: #000;
  overflow: hidden;
}
.video-grid video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-grid figcaption {
  padding: 0.65rem 0.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(8, 14, 28, 0.95);
}
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.7rem 0.9rem;
  background: linear-gradient(transparent, rgba(5, 8, 20, 0.9));
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light);
}

#kontakt {
  padding: 2.6rem 0 2rem;
}
#kontakt h2 { font-size: 1.75rem; }
#kontakt .intro { margin-bottom: 1.2rem; font-size: 0.95rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
  max-width: 860px;
}
.contact-card,
.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1rem 1.1rem 1.15rem;
  box-shadow: var(--shadow);
}
.contact-card h3,
.contact-form h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}
.contact-card p { color: var(--muted); }
.contact-card a { color: var(--gold-light); }
.contact-card dt {
  color: var(--blue);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.7rem;
}
.contact-card dt:first-of-type { margin-top: 0.35rem; }
.contact-card dd {
  margin: 0.1rem 0 0;
  color: var(--text);
  font-size: 0.95rem;
}
.contact-form label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  margin: 0.55rem 0 0.2rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  background: rgba(5, 10, 22, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--text);
  padding: 0.45rem 0.6rem;
  font: inherit;
  font-size: 0.92rem;
  border-radius: 2px;
}
.contact-form textarea { min-height: 72px; resize: vertical; }
.contact-form .btn {
  margin-top: 0.85rem;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  cursor: pointer;
}

.page-close {
  background: #000;
}

.end-banner {
  margin: 0;
  padding: 0;
  line-height: 0;
  background: #000;
  overflow: hidden;
}
.end-banner img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: fill;
}

.site-footer {
  background: #000;
  border-top: 0;
  padding: 1.6rem 0 2.2rem;
  color: var(--dim);
  font-size: 0.9rem;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer a { color: var(--muted); }

.legal {
  padding: 3rem 0 4rem;
  max-width: 760px;
}
.legal h1 { font-size: 2.4rem; }
.legal h2 { font-size: 1.4rem; margin-top: 1.8rem; color: var(--gold); }
.legal p, .legal li { color: var(--muted); }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav-panel {
    display: none;
    position: absolute;
    top: 62px;
    right: 10px;
    left: 10px;
    background: rgba(8, 14, 28, 0.97);
    border: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.9rem;
    gap: 0.85rem;
    box-shadow: var(--shadow);
  }
  .nav-toggle:checked + .nav-panel { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-links a { padding: 0.55rem 0.4rem; font-size: 0.82rem; }
  .nav-social { justify-content: center; }
  .nav-cta { text-align: center; }
  .nav-toggle {
    appearance: none;
    width: 42px;
    height: 36px;
    border: 1px solid var(--gold);
    background:
      linear-gradient(var(--gold), var(--gold)) center 11px / 18px 2px no-repeat,
      linear-gradient(var(--gold), var(--gold)) center / 18px 2px no-repeat,
      linear-gradient(var(--gold), var(--gold)) center 25px / 18px 2px no-repeat;
    cursor: pointer;
    flex: 0 0 auto;
  }
}

@media (max-width: 980px) {
  .hero, .grid-4, .grid-2, .contact-grid, .video-grid {
    grid-template-columns: 1fr;
  }
  body { background-attachment: scroll; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
