:root {
  --bg: #1a1a1a;
  --surface: #222;
  --fg: #f4f4f4;
  --muted: #d0d0d0;
  --moss: #8fbf4a;
  --rose: #e8a0b0;
  --gold: #f4e27a;
  --nav-active: #111;
  --form: #4a7aa8;
  --line: #9a9a9a;
  --primary: #7eb6e8;
  --yt: #cc1f1f;
  --font-display: "Great Vibes", cursive;
  --font-body: "Cormorant Garamond", Georgia, serif;
  --motion: 280ms;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg) url("../images/bg.jpg") center / cover fixed;
  color: var(--fg);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }

.wrap {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0.5rem 1.25rem 4rem;
}

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.75rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}
.brand img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border: 1px solid var(--line);
}
.brand-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--moss);
  line-height: 1;
  font-weight: 400;
}
.brand-title span {
  font-size: 0.45em;
  color: var(--rose);
}

.burger, .menu-toggle {
  display: none;
  align-items: center;
  gap: 0.4rem;
  background: var(--nav-active);
  color: #fff;
  border: 0;
  padding: 0.85rem 1.3rem;
  margin-bottom: 0.5rem;
  min-height: 56px;
  font-size: 1.5rem;
  font-weight: 600;
}

nav.main {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  border-top: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}
nav.main a {
  padding: 0.85rem 1.25rem;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  font-style: normal;
  font-weight: 600;
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  line-height: 1.2;
  color: #fff;
  letter-spacing: 0.01em;
}
nav.main a:hover,
nav.main a.active,
nav.main a.is-active { background: var(--nav-active); }

.display, .script { font-family: var(--font-display); font-weight: 400; }
.display-xl { font-family: var(--font-display); font-size: 3rem; text-align: center; margin: 2rem 0 0; }
.display-lg { font-family: var(--font-display); font-size: 2.25rem; text-align: center; margin: 0; }
.rose { color: var(--rose); }
.gold { color: var(--gold); }
.moss { color: var(--moss); }
.muted { color: var(--muted); }
.center { text-align: center; }
.shadow { box-shadow: 0 10px 24px rgba(0,0,0,.35); }

.hero {
  margin-top: 1.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  align-items: start;
}
.hero-mid, .mid { text-align: center; padding: 0 0.5rem; }
.hero-mid img { margin: 1rem auto 0; max-width: 20rem; width: 100%; }
.tech, .techniques {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  align-items: center;
}
.tech a, .techniques a {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--gold);
  text-align: center;
}
.tech a:hover, .techniques a:hover { opacity: 0.8; }
.tech-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.25rem;
}
.tech-side p { margin: 0; }
.display-xl { margin: 0; }

.two, .two-col {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.contact-grid, .contact {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.about img { width: 100%; max-width: 28rem; }
.about p { margin: 0 0 0.9rem; }
.about-list {
  margin: 0 0 0.9rem;
  padding-left: 1.2rem;
}
.about-list li { margin: 0 0 0.7rem; }
.prose { margin: 1.5rem auto 0; max-width: 48rem; font-size: 1.1rem; }
.prose a { color: var(--primary); text-decoration: underline; }
.max { max-width: 36rem; margin: 1rem auto 0; }
.mt-3 { margin-top: 0.75rem; }
.mt-8 { margin-top: 2rem; }

form { display: grid; gap: 0.75rem; }
input, textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 0;
  background: #fff;
  color: #111;
  font: inherit;
  min-height: 44px;
}
textarea { min-height: 8rem; resize: vertical; }
.form-actions { display: flex; justify-content: flex-end; }
.btn, .send {
  background: var(--form);
  color: #fff;
  border: 0;
  padding: 0.55rem 1.1rem;
  min-height: 44px;
  letter-spacing: 0.04em;
}
.btn:hover, .send:hover { filter: brightness(1.08); }
form .send { justify-self: end; }

footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}
.socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.ig, .yt {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 6px;
  overflow: hidden;
  flex: none;
}
.ig { background: #e1306c; }
.yt { background: var(--yt); }
.ig svg, .yt svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}

.gallery { margin: 2rem 0; }
.gallery h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--rose);
  margin: 0 0 1rem;
  font-weight: 400;
}
.gallery-row {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.gallery-btn {
  flex: none;
  background: transparent;
  border: 0;
  color: #f4f4f4;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
}
.gallery-btn:hover { background: var(--nav-active); }
.gallery-btn svg {
  width: 36px;
  height: 36px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gallery-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  flex: 1;
  padding-bottom: 0.5rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  touch-action: pan-x;
  -webkit-overflow-scrolling: touch;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track button {
  flex: none;
  padding: 0;
  border: 0;
  background: transparent;
  scroll-snap-align: start;
  touch-action: pan-x;
  -webkit-user-drag: none;
}
.gallery-track img {
  height: 176px;
  width: auto;
  max-width: none;
  object-fit: cover;
  background: var(--surface);
  box-shadow: 0 8px 18px rgba(0,0,0,.35);
}
.gallery-track.tall img { height: 208px; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(0,0,0,.82);
  display: grid;
  place-items: center;
  padding: 2rem 1rem 3rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 280ms var(--ease), visibility 280ms;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.lightbox.open.closing {
  opacity: 0;
  visibility: hidden;
}
.lightbox-inner { width: min(92vw, 1100px); position: relative; }
.lb-enter { animation: lb-zoom-in 360ms var(--ease) both; }
@keyframes lb-zoom-in {
  from { opacity: 0; transform: scale(0.84); }
  to { opacity: 1; transform: scale(1); }
}
.lightbox .stage {
  position: relative;
  overflow: hidden;
  touch-action: none;
}
.lightbox img.slide {
  max-height: 78vh;
  width: 100%;
  object-fit: contain;
  margin: 0 auto;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}
.lb-swipe {
  position: absolute;
  inset: 0;
  z-index: 2;
  touch-action: none;
}
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: color-mix(in srgb, var(--nav-active) 70%, transparent);
  border: 0;
  color: #f4f4f4;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  z-index: 3;
}
.lightbox .ghost {
  position: absolute;
  inset: 0;
  margin: auto;
  max-height: 78vh;
  width: 100%;
  object-fit: contain;
  pointer-events: none;
}
.lightbox-title {
  margin: 0.75rem 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  color: var(--rose);
}
.lb-nav svg {
  width: 34px;
  height: 34px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lb-nav.prev { left: 0; }
.lb-nav.next { right: 0; }
.lb-close {
  position: absolute;
  top: -2.4rem;
  right: 0;
  background: transparent;
  border: 0;
  color: var(--fg);
  font-size: 1.8rem;
  line-height: 1;
  width: 44px;
  height: 44px;
}

.slide-in { animation: gallery-in var(--motion) var(--ease) both; }
.slide-out { animation: gallery-out var(--motion) var(--ease) forwards; }
@keyframes gallery-out {
  to { opacity: 0; transform: translateX(calc(var(--slide-dir, 1) * -36px)); }
}
@keyframes gallery-in {
  from { opacity: 0; transform: translateX(calc(var(--slide-dir, 1) * 36px)); }
  to { opacity: 1; transform: translateX(0); }
}

.impressum { max-width: 40rem; margin: 2rem auto 0; font-size: 0.95rem; }
.impressum h1 { font-family: var(--font-display); font-size: 2.25rem; color: var(--rose); font-weight: 400; }
.impressum h2 { margin: 1.5rem 0 0.5rem; font-size: 1.1rem; }
.impressum a { color: var(--primary); text-decoration: underline; }

@media (max-width: 800px) {
  .burger, .menu-toggle { display: inline-flex; }
  nav.main { display: none; flex-direction: column; }
  nav.main.open { display: flex; }
  .hero, .tech, .techniques, .two, .two-col, .contact-grid, .contact { grid-template-columns: 1fr; }
  .gallery-track img { height: 140px; }
  .gallery-track.tall img { height: 160px; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-track { scroll-behavior: auto; }
  .slide-in, .slide-out, .lb-enter { animation: none; }
}

.ku-copy { font-size: 140%; }
.ku-copy .display-xl { font-size: 3em; }
.ku-copy .display-lg { font-size: 2.25em; }
.ku-copy .prose { font-size: 1.1em; }
.ku-copy .gallery h2 { font-size: 1.9em; }
.ku-copy .lightbox-title { font-size: 1.9em; }
