:root {
  --bg: #000;
  --fg: #fff;
  --muted: rgba(255, 255, 255, .84);
  --muted2: rgba(255, 255, 255, .58);
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans";
  user-select: none;
  -webkit-user-select: none;
  overflow-x: hidden;

    /* Cursor: mac-style PNG, globally forced */
  cursor: url("../cursor/cursor-1108.png") 1 1, auto;


}

/* Cursor wird global erzwungen (keine Pointer/Text Cursor) */
img {
  -webkit-user-drag: none;
  user-select: none;
}

/* Cursor global erzwingen (auch auf Buttons/Inputs) */
html, body, * {
  cursor: url("../cursor/cursor-1108.png") 1 1, auto;
}

/* Scrollbar komplett verstecken */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

html,
body {
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* old Edge/IE */
}

/* FORCE HIDE SCROLLBAR GLOBALLY */
::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
  background: transparent !important;
}

html,
body,
* {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
  border: 0;
  background: transparent
}

* {
  -webkit-tap-highlight-color: transparent
}

/* ===== background video crossfade ===== */
.bgVideo {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
}

.bgVideo.fade {
  transition: opacity 900ms ease;
}

#bgVideoA {
  opacity: 1
}

/* ===== Overlay (bei Bedarf auskommentieren / deaktivieren) ===== */
/*
  Wenn du Overlay "weg" willst:
  -> diesen gesamten Block auskommentieren (oder display:none setzen)
*/
#darkOverlay {
  position: fixed;
  inset: 0;
  background: #000;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
  will-change: opacity;
  transition: none;
}

/* right vertical logo (start state) */
#logoRight {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  width: min(54vh, 520px);
  opacity: 1;
  cursor: inherit;
z-index: 3;
  pointer-events: auto;
}

/* mobile: closer to edge */
@media (max-width: 680px) {
  #logoRight {
    right: 8px;
  }
}

/* layout */
main {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 75vh;
  /* Start bleibt clean, Info kommt früh genug */
}

.section {
  padding: 56px 0 22px;
}

/* Info block: opacity via JS */
.info {
  opacity: 0;
  transform: none;
  transition: none;
  padding-top: 20px;
  will-change: opacity;
}

.info.visible {
  opacity: 1;
}

.info-layout {
  display: grid;
  grid-template-columns: minmax(280px, 460px) 1fr;
  gap: 64px;
  align-items: start;
}

@media (max-width: 940px) {
  .info-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

.info-logo {
  position: sticky;
  top: 110px;
}

.info-logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* infotext white */
.p {
  margin: 0 0 18px;
  font-size: clamp(18px, 2.0vw, 24px);
  line-height: 1.75;
  color: #fff;
  max-width: 70ch;
}

/* CTA: white, bigger, width like text */
.cta {
  display: block;
  width: 100%;
  max-width: 70ch;
  margin-top: 22px;

  padding: 20px 24px;
  background: #fff;
  color: #000;

  text-transform: uppercase;
  letter-spacing: .10em;
  font-size: 15px;
  font-weight: 600;

  text-align: center;

  transition: transform .22s ease, filter .22s ease;
  will-change: transform;
}

.zoompress:hover {
  transform: scale(1.01);
}

.zoompress:active {
  transform: scale(0.985);
}

/* Kontakt-CTA: keine Hover/Active-Scale Animation */
#contactOpen.zoompress {
  transition: none !important;
}
#contactOpen.zoompress:hover,
#contactOpen.zoompress:active {
  transform: none !important;
}

/* modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal.open {
  display: flex
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: .72;
}

.modal-panel {
  position: relative;
  width: min(1200px, calc(100% - 32px));
  max-height: 92vh;
  background: #050505;
  padding: 22px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}


.modal-panel.light {
  background: #f6f6f6;
  color: #0c0c0c;
  border: 1px solid rgba(0,0,0,.12);
}

.modal-panel.light .modal-title {
  color: #0c0c0c;
}

.modal-panel.light .modal-close {
  background: rgba(0,0,0,.06);
  color: #0c0c0c;
  border: 1px solid rgba(0,0,0,.12);
}

.modal-panel.light .field .label {
  color: rgba(0,0,0,.62);
}

.modal-panel.light .field input,
.modal-panel.light .field textarea {
  background: #fff;
  color: #0c0c0c;
  border: 1px solid rgba(0,0,0,.22);
}

.modal-panel.light .field input:focus,
.modal-panel.light .field textarea:focus {
  border-color: rgba(0,0,0,.55);
}

.modal-panel.light .form-error {
  color: #b00020;
}

.legal-body {
  margin-top: 10px;
  max-height: min(64vh, 560px);
  overflow: auto;
  padding-right: 6px;
}

.legal-body h2 {
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 16px 0 8px;
}

.legal-body p, .legal-body li {
  font-size: 14px;
  line-height: 1.6;
}

.legal-body a { color: inherit; text-decoration: underline; }

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
}

.modal-title {
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--muted2);
}

.modal-close {
  padding: 10px 12px;
  background: #0b0b0b;
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.formgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

@media (max-width:720px) {
  .formgrid {
    grid-template-columns: 1fr;
  }
}

.field .label {
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--muted2);
  margin: 6px 0 8px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 12px;
  background: #101010;
  border: 1px solid rgba(255,255,255,.18);
  color: var(--fg);
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(255,255,255,.55);
}

.field textarea {
  min-height: 180px;
  resize: none
}

.send {
  margin-top: 12px;
  padding: 14px 18px;
  background: #fff;
  color: #000;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
  float: right;
}

.form-error {
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255,255,255,.72);
}

.verify {
  clear: both;
  margin-top: 14px;
}

.verify-text {
  font-size: 12px;
  color: rgba(255,255,255,.72);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.verify-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: stretch;
}

.verify-code {
  padding: 14px 12px;
  background: #101010;
  border: 1px solid rgba(255,255,255,.22);
  color: #fff;
  letter-spacing: .22em;
  font-size: 14px;
}

.verify-code:focus {
  outline: none;
  border-color: rgba(255,255,255,.55);
}

.verify-btn {
  padding: 14px 18px;
  background: #0b0b0b;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 13px;
}

/* gallery */
.gallery-title {
  margin: 0 0 14px;
  color: var(--muted2);
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding-bottom: 80px;
}

@media (max-width:980px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width:680px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* tiles: no black border/background */
.tile {
  outline: none;
  width: 100%;
  aspect-ratio: 1/1;
  background: transparent;
  overflow: hidden;
  border: 0;
  padding: 0;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  display: block;
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .92);
}

.lightbox.open {
  display: flex
}

.lightbox img {
  max-width: min(92vw, 1600px);
  max-height: 88vh;
  object-fit: contain;
}

.lb-close {
  position: fixed;
  top: 18px;
  right: 18px;
  padding: 10px 12px;
  background: #0b0b0b;
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
}

footer {
  padding: 22px 0 50px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--muted2);
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
}

footer a {
  opacity: .85
}

.footer-btn {
  background: transparent;
  border: 0;
  color: var(--muted2);
  opacity: .85;
  text-transform: uppercase;
  letter-spacing: .10em;
  font-size: 12px;
  padding: 0;
}

.footer-btn:hover { opacity: 1; }

.legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
  overflow: auto;
}

@media (max-width:720px) {
  .legal-grid { grid-template-columns: 1fr; }
}

.legal-card {
  background: #0b0b0b;
  border: 1px solid rgba(255,255,255,.10);
  padding: 14px;
}

.legal-h {
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-bottom: 10px;
}

.legal-ul {
  margin: 0 0 12px;
  padding-left: 18px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  line-height: 1.6;
}

.legal-link {
  display: inline-block;
  padding: 10px 12px;
  background: #050505;
  border: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fff;

.legal-view {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  flex: 1;
}

.legal-view-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  margin-bottom: 10px;
}

.legal-back {
  padding: 10px 12px;
  background: #050505;
  border: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.legal-view-title {
  font-size: 12px;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: var(--muted2);
}

.legal-view-body {
  background: #0b0b0b;
  border: 1px solid rgba(255,255,255,.10);
  padding: 16px;
  flex: 1;
  min-height: 0;
  overflow: auto;
  line-height: 1.65;
  color: rgba(255,255,255,.88);
}

/* ensure scrollbar stays hidden but content scrolls */
.legal-view-body::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
}
}

footer a:hover {
  opacity: 1
}


/* progressive image swap fade */
#photoGrid img {
  transition: opacity .25s ease, filter .25s ease, transform .25s ease;
  will-change: opacity, filter, transform;
}

#photoGrid img.is-low {
  filter: none;
  transform: none;
}

#photoGrid img.is-high {
  filter: blur(0);
  transform: scale(1);
}

#lightboxImg {
  transition: opacity .25s ease, filter .25s ease, transform .25s ease;
}

#lightboxImg.is-low {
  filter: none;
  transform: none;
}

#lightboxImg.is-high {
  filter: blur(0);
  transform: scale(1);
}

/* ===== Perf OSD (debug) ===== */
.perf-osd{
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  width: 220px;
  font: 12px/1.25 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: rgba(255,255,255,0.92);
  background: rgba(0,0,0,0.72);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 10px 10px 8px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
  transform: translateY(-6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.perf-osd.is-open{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.perf-osd__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
}

.perf-osd__title{
  font-weight: 650;
  letter-spacing: 0.2px;
}

.perf-osd__close{
  width: 28px;
  height: 24px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.9);
  border-radius: 8px;
  cursor: inherit;
}

.perf-osd__close:hover{
  background: rgba(255,255,255,0.12);
}

.perf-osd__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 4px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.perf-osd__row:first-of-type{
  border-top: none;
}

.perf-osd__hint{
  margin-top: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.65);
}


/* Force custom cursor everywhere (hotspot offset: x=0, y=5) */
html, body, body * {
}

/* Auto-Verify UX */
.verify-btn{ display:none; }
.verify-row{ grid-template-columns: 1fr; }
