/* Produkt-Mockups der Villa-Hartmann-Projektseite, 1:1 aus der Case Study.
   Reine CSS-Nachbauten der Kundenoberflaeche — sie bleiben bewusst dunkel,
   auch wenn luukri hell ist: sie zeigen das Produkt, nicht unsere Seite.
   Alles haengt unter .mk, damit .bar/.stage/.card nicht mit den
   gleichnamigen Klassen der Website kollidieren. */

.mk {
  --vh-bg: #0c131c;
  --vh-ink: #ece7dc;
  --vh-gold: #c4a980;
  --vh-line: #232c37;
  --vh-muted: #8993a0;
  --vh-serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --vh-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --facade: url("/static/projects/villa-hartmann/fassade.png");

  border: 1px solid #223047; border-radius: 16px; overflow: hidden;
  background: linear-gradient(160deg, #141d2c, #0c1420);
  box-shadow: 0 34px 64px -32px rgba(11, 19, 33, .45);
  aspect-ratio: 16 / 11;
}
.mk * { box-sizing: border-box; }

/* Schmale Spalte: 16/11 laesst dem Kalender zu wenig Hoehe, die letzte
   Wochenzeile wuerde unter overflow:hidden verschwinden. */
@media (max-width: 560px) { .mk { aspect-ratio: 5 / 4; } }

/* ---- Browser-Rahmen ---- */
.mk .chrome { width: 100%; height: 100%; background: var(--vh-bg); display: flex; flex-direction: column; }
.mk .bar {
  flex: none; display: flex; align-items: center; gap: 6px; padding: 10px 14px;
  border-bottom: 1px solid var(--vh-line); background: #0a0f16;
}
.mk .bar i { width: 7px; height: 7px; border-radius: 50%; background: #2a3341; }
.mk .bar .url {
  margin-left: 8px; font-size: 10px; color: var(--vh-muted); background: #0c131c;
  border: 1px solid var(--vh-line); border-radius: 8px; padding: 3px 11px; font-family: var(--vh-sans);
}
.mk .stage { flex: 1; position: relative; min-height: 0; background: #0c131c; }

/* ---- Intro: Fassade oeffnet sich (3 Frames) ---- */
.mk .film { display: flex; gap: 2%; width: 100%; height: 100%; padding: 3%; }
.mk .ffr {
  flex: 1; background: radial-gradient(120% 90% at 50% 30%, #16202c 0%, #0c131c 60%, #080c12 100%);
  border: 1px solid var(--vh-line); border-radius: 4px; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.mk .ffr .fs { flex: 1; position: relative; }
.mk .ffr .half {
  position: absolute; top: 12%; height: 62%; width: 52%;
  background-image: var(--facade); background-repeat: no-repeat;
  background-size: contain; background-position: center;
}
.mk .ffr .half.l { left: 8%; clip-path: inset(0 50% 0 0); }
.mk .ffr .half.r { right: 8%; clip-path: inset(0 0 0 50%); }
.mk .ffr.f2 .half.l { transform: translateX(-18%) scale(1.08); opacity: .85; }
.mk .ffr.f2 .half.r { transform: translateX(18%) scale(1.08); opacity: .85; }
.mk .ffr.f3 .half { opacity: 0; }
.mk .ffr .txt {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 8%; opacity: 0;
}
.mk .ffr.f3 .txt { opacity: 1; }
.mk .ffr .txt span { font-family: var(--vh-serif); color: var(--vh-ink); font-size: clamp(9px, 1.3vw, 12px); line-height: 1.3; }
.mk .ffr .cap {
  flex: none; text-align: center; padding: 6px 0 8px; font-family: var(--vh-sans);
  font-size: 8px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--vh-muted); border-top: 1px solid var(--vh-line);
}

/* ---- Buchung: Kalender + Preisspalte ---- */
.mk .booking { width: 100%; height: 100%; display: grid; grid-template-columns: 1.15fr .85fr; gap: 12px; padding: 4%; }
.mk .cal { background: #0a0f16; border: 1px solid var(--vh-line); border-radius: 4px; padding: 12px; }
.mk .cal .mt {
  text-align: center; font-family: var(--vh-sans); font-size: 9px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--vh-gold); margin-bottom: 9px;
}
.mk .cal .wd { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; margin-bottom: 4px; }
.mk .cal .wd div { text-align: center; font-size: 7px; color: var(--vh-muted); font-family: var(--vh-sans); }
.mk .cal .days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.mk .cal .days div {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 8px; color: #cfd4db; border: 1px solid var(--vh-line);
  border-radius: 2px; font-family: var(--vh-sans);
}
.mk .cal .days div.mut { color: transparent; border-color: transparent; }
.mk .cal .days div.rng { background: rgba(196, 169, 128, .16); color: #f1ede4; border-color: rgba(196, 169, 128, .4); }
.mk .cal .days div.edge { background: var(--vh-gold); color: #10151c; border-color: var(--vh-gold); font-weight: 600; }
.mk .bookside { display: flex; flex-direction: column; gap: 9px; justify-content: center; }
.mk .stat2 { border: 1px solid var(--vh-line); background: #0a0f16; padding: 8px 11px; border-radius: 3px; }
.mk .stat2 .l {
  font-family: var(--vh-sans); font-size: 7px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--vh-muted); margin-bottom: 3px;
}
.mk .stat2 .v { font-family: var(--vh-serif); font-size: 13px; color: var(--vh-ink); }
.mk .price2 { border-top: 1px solid var(--vh-line); padding-top: 8px; display: flex; justify-content: space-between; align-items: baseline; }
.mk .price2 .l { font-family: var(--vh-sans); font-size: 7.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--vh-gold); }
.mk .price2 .v { font-family: var(--vh-serif); font-size: 17px; color: var(--vh-ink); }
.mk .paym2 { display: flex; gap: 5px; flex-wrap: wrap; }
.mk .paym2 span {
  font-family: var(--vh-sans); font-size: 7.5px; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 2px; border: 1px solid var(--vh-line); color: var(--vh-muted);
}
.mk .paym2 span.on { border-color: var(--vh-gold); color: #10151c; background: var(--vh-gold); font-weight: 600; }

/* ---- Galerie: Filter + Raster ---- */
.mk .gal2 { width: 100%; height: 100%; display: flex; flex-direction: column; gap: 8px; padding: 4%; }
.mk .gal2 .glang { display: flex; justify-content: flex-end; gap: 5px; font-family: var(--vh-sans); font-size: 9px; color: var(--vh-muted); flex: none; }
.mk .gal2 .glang b { color: var(--vh-ink); }
.mk .gal2 .gf { display: flex; gap: 5px; flex-wrap: wrap; flex: none; }
.mk .gal2 .gf span {
  font-family: var(--vh-sans); font-size: 7px; letter-spacing: .1em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 2px; border: 1px solid var(--vh-line); color: var(--vh-muted);
}
.mk .gal2 .gf span.on { border-color: var(--vh-gold); color: #f1ede4; background: rgba(196, 169, 128, .12); }
.mk .gal2 .gg { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 7px; min-height: 0; }
.mk .gal2 .gi {
  border: 1.4px dashed rgba(196, 169, 128, .3); border-radius: 3px;
  display: flex; align-items: center; justify-content: center; color: #4d5563;
}
.mk .gal2 .gi span { font-family: var(--vh-sans); font-size: 6.5px; letter-spacing: .08em; text-transform: uppercase; }

/* ---- Responsive: drei Geraete ---- */
.mk .devices { display: flex; align-items: flex-end; justify-content: center; gap: 5%; width: 100%; height: 100%; padding: 5%; }
.mk .dev {
  background: var(--vh-bg); border: 1px solid var(--vh-line); border-radius: 6px; overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .4); display: flex; flex-direction: column;
}
.mk .dev.desktop { width: 52%; height: 80%; }
.mk .dev.tablet { width: 26%; height: 62%; }
.mk .dev.phone { width: 15%; height: 46%; }
.mk .dev .topbar { flex: none; padding: 8%; border-bottom: 1px solid var(--vh-line); display: flex; flex-direction: column; align-items: center; gap: 6%; }
.mk .dev .wordmark { font-family: var(--vh-serif); letter-spacing: .3em; color: var(--vh-ink); font-size: 7px; text-align: center; }
.mk .dev .navrow { display: flex; gap: 6%; }
.mk .dev .navrow i { display: block; width: 12px; height: 2.5px; background: #3a4452; border-radius: 2px; }
.mk .dev .content { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10%; padding: 10%; }
.mk .dev .rule { width: 22%; height: 1.5px; background: var(--vh-gold); }
.mk .dev .lbar { width: 70%; height: 5%; background: #1b2432; border-radius: 2px; }
.mk .dev .lbar.s { width: 46%; }
