:root {
  --bg: #ffffff; /* white background */
  --card: #ffffff; /* card/panel: white */
  --text: #0b1722; /* dark text */
  --accent: #0b6fb6; /* medium blue accent */
  --accent-rgb: 11,111,182;
  --radius: 1rem;
  --space: 1.5rem;
  --poppins: 'Poppins', system-ui, sans-serif;
  --muted: rgba(11,17,34,0.6);
  /* menu tokens */
  --menu-radius: 0.75rem;
  --menu-blur: 6px;
  --menu-border: rgba(11,111,182,0.08);
  --footer-height: 72px;
} 
@font-face {
  font-family: 'GamePaused';
  src: url('fonts/gamepaused.otf') format('opentype');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Satoshi';
  src: url('fonts/Satoshi-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
html {
  scroll-behavior: smooth;
}
/* anchor offset to account for sticky nav */
section[id] { scroll-margin-top: 5rem; }
.features {
  display: grid;
  gap: var(--space);
  padding: 4rem 1rem;
  max-width: 1100px;
  margin: auto;
}

.feature {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.2s ease;
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
}

.feature h3 {
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.feature:hover {
  transform: translateY(-6px);
} 
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, sans-serif;
}

html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /* keep a comfortable bottom spacing for tall viewports */
  padding-bottom: 4rem;
  background-color: var(--bg);
  /* very subtle accent wash for depth */
  background-image: linear-gradient(180deg, rgba(var(--accent-rgb),0.02), rgba(255,255,255,0));
  color: var(--text);
  background-attachment: scroll;
  background-repeat: repeat;
  background-size: auto;
} 


.hero {
  min-height: 20vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  padding: 3.5rem 1rem;
  background: transparent;
  border-bottom: 1px solid rgba(11,17,34,0.06);
  font-family: 'GamePaused', var(--poppins);
} 

.hero h1 {
  font-size: clamp(2.2rem, 8vw, 4rem);
  font-family: 'GamePaused', var(--poppins);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.4px;
  margin-bottom: 0.25rem;
  display: inline-block;
  position: relative;
  padding-bottom: 0.35rem;
}
.hero h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin: 0.45rem auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(var(--accent-rgb),0.85));
}

.hero p {
  font-family: var(--poppins);
  font-weight: 300;
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 720px;
  margin: 0;
  line-height: 1.4;
}

/* Menu layout - Island style (centered, sticky floating pill) */
.menu {
  position: sticky;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 0.65rem;
  justify-content: center;
  margin: 0.5rem auto 1rem;
  padding: 0.55rem 0.65rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(var(--menu-blur));
  -webkit-backdrop-filter: blur(var(--menu-blur));
  border: 1px solid var(--menu-border);
  box-shadow: 0 8px 20px rgba(11,17,34,0.06);
  padding-left: 1rem;
  padding-right: 1rem;
  z-index: 1000;
  transition: box-shadow 200ms ease; /* do not animate transform to avoid sliding */
  width: fit-content;
} 

/* stuck state: stronger elevation */
.menu.is-stuck {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 28px 60px rgba(3,18,40,0.6), 0 8px 28px rgba(var(--accent-rgb),0.12) inset;
  z-index: 2000; /* keep above other elements */
  /* keep horizontal centering; avoid transform shifts to remove slide effect */
}

/* Force menu pinned on pages with body.always-stuck (e.g., standalone gallery/contact pages) */
.always-stuck .menu {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1200;
}

/* Menu links - compact pill buttons */
.menu a,
.menu button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0.45rem 0.9rem;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  position: relative;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: transform 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.menu a:hover,
.menu button:hover,
.menu a:focus,
.menu button:focus {
  background: linear-gradient(90deg, rgba(var(--accent-rgb),0.98), rgba(var(--accent-rgb),0.85));
  color: var(--card);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 12px 30px rgba(var(--accent-rgb),0.14);
}

/* Menu icons */
.menu a .icon { display: inline-flex; width: 18px; height: 18px; margin-right: 0.5rem; vertical-align: middle; }
.menu a .icon svg { width: 100%; height: 100%; display: block; }
.menu a .label { vertical-align: middle; }

@media (max-width: 480px) {
  /* compact: show icons and hide labels on very small screens */
  .menu a .label { display: none; }
}


/* Make active anchor style work when aria-current is set dynamically */
.menu a[aria-current="page"] {
  background: linear-gradient(90deg, rgba(var(--accent-rgb),0.95), rgba(var(--accent-rgb),0.8));
  color: var(--card);
  box-shadow: 0 10px 26px rgba(var(--accent-rgb),0.16), inset 0 -4px 18px rgba(0,0,0,0.12);
  transform: translateY(-0.5px);
}

/* Active (current page) nav link */
.menu a[aria-current="page"] {
  background: linear-gradient(90deg, rgba(var(--accent-rgb),0.95), rgba(var(--accent-rgb),0.8));
  color: var(--card);
  box-shadow: 0 10px 26px rgba(var(--accent-rgb),0.16), inset 0 -4px 18px rgba(0,0,0,0.12);
  transform: translateY(-0.5px);
  position: relative;
}

.menu a:focus-visible,
.menu button:focus-visible {
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb),0.18);
  outline: none;
}

/* Responsive: stack/scroll on small viewports */
@media (max-width: 640px) {
  .menu { display: flex; gap: 0.5rem; margin: 0.75rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .menu a, .menu button { flex: 0 0 auto; }
} 


/* Content cards */
.content {
  padding: 3rem 1rem;
  max-width: 1100px;
  margin: auto;
}

.container {
  display: grid;
  gap: 1.25rem;
  
}

.card {
  background: var(--card);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(11,17,34,0.06);
  border: 1px solid rgba(11,17,34,0.04);
  transition: transform 0.18s ease;
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
} 

.card img,
.card svg,
.svg-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 0.75rem;
}

/* Inline SVGs inherit color via currentColor */
.svg-img { color: var(--accent); }

/* Larger portrait */
.about-photo svg,
.about-photo .svg-img { height: 420px; object-fit: cover; }

/* Lightbox: support inline SVG markup */
.lightbox .lightbox-media { display: none; align-items: center; justify-content: center; }
.lightbox.open .lightbox-media { display: flex; }
.lightbox-media svg { max-width: 90%; max-height: 70%; border-radius: 8px; box-shadow: 0 18px 40px rgba(0,0,0,0.6); }




.svg-placeholder text {
  font-family: var(--poppins);
  font-weight: 600;
  fill: #ffffff;
}

.card-body {
  padding: 1rem;
}

.card h3 {
  margin: 0 0 0.6rem 0;
  color: var(--accent);
  font-size: clamp(1.1rem, 2.8vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.2px;
  text-shadow: 0 1px 0 rgba(255,255,255,0.02), 0 2px 6px rgba(0,0,0,0.06);
  display: inline-block;
  position: relative;
}
.card h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 0.5rem;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(var(--accent-rgb),0.8));
}
/* Make the About section heading match the card H3 styling */
.about h2 {
  margin: 0 0 0.6rem 0;
  color: var(--accent);
  font-size: clamp(1.1rem, 2.8vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.2px;
  text-shadow: 0 1px 0 rgba(255,255,255,0.02), 0 2px 6px rgba(0,0,0,0.06);
  display: inline-block;
  position: relative;
}
.about h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 0.5rem;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(var(--accent-rgb),0.8));
}

.card p {
  margin: 0;
  color: var(--text);
  opacity: 0.9;
}

/* Improve contrast for map text: small shadow for headings and paragraphs */
section#kontakt .card .card-body h3,
section#kontakt .card .card-body p {
  /* subtle contrast handled via overlay/background; no text-shadow */
} 
p {
  font-family: 'Satoshi', var(--poppins), system-ui, sans-serif;
}

.card .credit {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.card .credit a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.35);
} 

@media (min-width: 640px) {
  .container { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .container { grid-template-columns: repeat(3, 1fr); }
}

/* Forms */
.form-row { margin-bottom: 0.75rem; }
.form-row label { display: block; font-size: 0.9rem; margin-bottom: 0.25rem; color: var(--muted); }
.form-row input,
.form-row textarea { width: 100%; padding: 0.6rem 0.75rem; border-radius: 0.5rem; border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.02); color: var(--text); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  background: linear-gradient(180deg, rgba(var(--accent-rgb),0.08), transparent);
  color: var(--accent);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

.btn:hover,
.btn:focus {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 22px rgba(0,0,0,0.18);
  border-color: var(--accent);
}

.btn:focus-visible {
  box-shadow: 0 0 0 4px var(--accent);
  border-color: var(--accent);
}  
.form-success { margin-top: 0.5rem; color: #9ae6b4; }

/* Gallery */
.gallery-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.gallery-item { background: var(--card); padding: 0; border-radius: 0.75rem; overflow: hidden; box-shadow: 0 10px 22px rgba(0,0,0,0.18); }
.gallery-item img,
.gallery-item svg {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.18s ease;
  cursor: zoom-in;
}
.gallery-item img:hover,
.gallery-item svg:hover { transform: scale(1.03); }
.gallery-item figcaption { padding: 0.85rem; }

/* make gallery items show zoom cursor */
.gallery-item img,
.gallery-item svg { cursor: zoom-in; }

/* Lightbox: make media centered and scalable */
.lightbox .lightbox-img,
.lightbox .lightbox-media svg {
  transition: transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1);
  transform-origin: center center;
  transform-box: fill-box;
  will-change: transform;
  cursor: zoom-in;
}
.lightbox.zoomed .lightbox-img,
.lightbox.zoomed .lightbox-media svg {
  cursor: zoom-out;
}
/* small hint inside lightbox */
.lightbox-hint {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: rgba(0,0,0,0.45);
  color: #fff;
  padding: 0.35rem 0.6rem;
  border-radius: 6px;
  font-size: 0.85rem;
  opacity: 0.9;
  pointer-events: none;
}

/* prev / next buttons */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: none;
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  z-index: 1201;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev[hidden], .lightbox-next[hidden] { display: none; }
.lightbox .lightbox-media,
.lightbox .lightbox-img { display: flex; align-items: center; justify-content: center; }
.lightbox .lightbox-media svg { max-width: 90%; max-height: 80%; }
.lightbox-img { max-width: 90%; max-height: 80%; border-radius: 8px; }

/* About */
.about { 
  padding: 2rem 1rem; max-width: 1100px; margin: auto; }
.about-grid {
   display: grid; gap: 1.25rem; align-items: center; grid-template-columns: 1fr; }
.about-photo img {
   width: 100%; height: 420px; object-fit: cover; display: block; border-radius: 0.75rem; border: 3px solid rgba(var(--accent-rgb),0.5); box-shadow: 0 10px 30px rgba(var(--accent-rgb),0.12); }
.about-text h2 { 
  margin-top: 0; color: var(--accent); 
}
.about-text p {
   color: var(--muted); margin-bottom: 0.75rem;
   }

@media (min-width: 720px) { .about-grid { grid-template-columns: 320px 1fr; } .about-photo img { height: 420px; } }/* Lightbox overlay with fade + scale animation */
.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  background-color: rgba(0,0,0,0);
  pointer-events: none;
  transition: opacity 220ms ease, background-color 220ms ease, visibility 220ms ease;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
  background-color: rgba(0,0,0,0.75);
  pointer-events: auto;
}

/* media inside the lightbox animates (fade + scale) */
.lightbox .lightbox-media,
.lightbox .lightbox-img {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 240ms ease, transform 240ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.lightbox.open .lightbox-media,
.lightbox.open .lightbox-img {
  opacity: 1;
  transform: scale(1);
  transition-delay: 40ms;
}

.lightbox .lightbox-media svg { max-width: 90%; max-height: 80%; border-radius: 8px; box-shadow: 0 18px 40px rgba(0,0,0,0.6); }
.lightbox-img { max-width: 90%; max-height: 80%; border-radius: 8px; box-shadow: 0 18px 40px rgba(0,0,0,0.6); }

.lightbox-caption { color: #fff; margin-top: 0.75rem; text-align: center; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; background: transparent; color: #fff; font-size: 1.25rem; border: none; cursor: pointer; }

@media (min-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Price list */
.price-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.price-card { background: var(--card); padding: 1rem; border-radius: 0.75rem;
box-shadow: 0 6px 12px rgba(0,0,0,0.18); }
.price-card h3 {
  margin: 0 0 0.6rem 0;
  color: var(--accent);
  font-size: clamp(1.1rem, 2.8vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.2px;
  text-shadow: 0 1px 0 rgba(255,255,255,0.02), 0 2px 6px rgba(0,0,0,0.06);
  display: inline-block;
  position: relative;
}
.price-card h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 0.5rem;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(var(--accent-rgb),0.8));
}
.price { margin-top: 0.5rem; color: var(--accent); font-weight: 600; }

@media (min-width: 720px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }

/* Footer */
.site-footer { padding: 2.25rem 1rem; color: var(--muted); border-top: 1px solid rgba(11,17,34,0.04); margin-top: 2rem; background: linear-gradient(180deg, rgba(255,255,255,1), rgba(247,250,252,1)); } 
.footer-inner { max-width: 1100px; margin: auto; font-size: 0.95rem; }
.footer-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; align-items: start; margin-bottom: 1rem; }
.footer-col h4 { margin: 0 0 0.5rem 0; color: var(--accent); }
.footer-col p, .footer-col a { color: var(--muted); }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 0.4rem; }xca
.footer-col ul li a { color: var(--muted); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.03); padding-top: 0.75rem; text-align: center; }
.footer-bottom p { margin: 0; }

/* Accessible utility (screen-reader only) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Social icons */
.social-list { display: flex; gap: 0.5rem; align-items: center; padding: 0; margin: 0; }
.social-list li { list-style: none; }
.social-link { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 8px; color: var(--muted); text-decoration: none; background: transparent; transition: background 160ms ease, color 160ms ease, transform 120ms ease; }
.social-link svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6px; }
.social-link:hover, .social-link:focus { color: var(--card); background: linear-gradient(180deg, rgba(var(--accent-rgb),0.98), rgba(var(--accent-rgb),0.9)); transform: translateY(-3px); }

/* Back-to-top button */
.back-to-top { position: fixed; right: 1rem; bottom: 1.25rem; width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(180deg, rgba(var(--accent-rgb),0.98), rgba(var(--accent-rgb),0.8)); color: var(--card); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; transform: translateY(8px); opacity: 0; pointer-events: none; transition: opacity 180ms ease, transform 180ms ease; box-shadow: 0 12px 28px rgba(var(--accent-rgb),0.14); }
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }

@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .footer-grid { text-align: center; } .social-list { justify-content: center; } }

/* Force Kontakt section wider: ensure this rule is specific and loaded after other container rules */
@media (min-width: 720px) {
  section#kontakt > .container { grid-template-columns: 2fr 1fr !important; gap: 1.25rem; align-items: start; }
  section#kontakt > .container > .card:first-child { grid-column: 1; }
  section#kontakt > .container > .card:last-child { grid-column: 2; }
}
@media (min-width: 1024px) {
  /* Large screens: use a 3-column parent and let the form span 2 columns => visually 2/3 */
  section#kontakt > .container { grid-template-columns: repeat(3, 1fr) !important; }
  section#kontakt > .container > .card:first-child { grid-column: 1 / span 2 !important; }
  section#kontakt > .container > .card:last-child { grid-column: 3 !important; }
}

@media (min-width: 768px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero h1 {
    font-size: 4rem;
  }
}

